html.mobile-view {
    --mobile-bottom-nav: 78px;
    --mobile-shell-width: 480px;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    overscroll-behavior-y: auto;
    scroll-padding-bottom: calc(var(--mobile-bottom-nav) + env(safe-area-inset-bottom) + 112px);
    touch-action: auto;
    -webkit-text-size-adjust: 100%;
}

html.mobile-view body {
    min-height: 100%;
    height: auto;
    padding-bottom: calc(var(--mobile-bottom-nav) + env(safe-area-inset-bottom) + 12px);
    background: #f7f7f7;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
}

html.mobile-view .skip-link,
html.mobile-view .skip-link:focus,
html.mobile-view .skip-link:focus-visible {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-200vh) !important;
}

html.mobile-view a,
html.mobile-view button,
html.mobile-view input,
html.mobile-view select,
html.mobile-view textarea,
html.mobile-view [role="button"] {
    touch-action: auto;
}

html.mobile-view body.dark-mode {
    background: #151515;
    color: #f3f3f3;
}

html.mobile-view header {
    z-index: 950 !important;
    min-height: 74px;
    padding: 8px 16px;
    justify-content: center;
    box-sizing: border-box;
    background: #000 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

html.mobile-view body:not(.admin-page) header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
}

html.mobile-view body.shop-page:not(.admin-page),
html.mobile-view body.cart-page:not(.admin-page) {
    --mobile-fixed-header-shield: #f4f7fb;
}

html.mobile-view body.shop-page:not(.admin-page)::before,
html.mobile-view body.cart-page:not(.admin-page)::before {
    content: "";
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    z-index: 940;
    height: 28px;
    background: linear-gradient(180deg, var(--mobile-fixed-header-shield) 0%, var(--mobile-fixed-header-shield) 68%, rgba(244, 247, 251, 0) 100%);
    pointer-events: none;
}

html.mobile-view.compact-phone body.shop-page:not(.admin-page)::before,
html.mobile-view.compact-phone body.cart-page:not(.admin-page)::before {
    top: 62px;
}

html.mobile-view header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

html.mobile-view header > a:first-child,
html.mobile-view header > .header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
}

html.mobile-view .header-logo {
    height: 52px;
    max-width: 150px;
    margin-inline: auto;
}

html.mobile-view header > nav,
html.mobile-view header > .nav-right {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(64px, 1fr);
    align-items: center;
    justify-content: start;
    gap: 0;
    min-height: var(--mobile-bottom-nav);
    padding: 8px max(8px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
    box-sizing: border-box;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    background: #000;
    border-top: 1px solid #242424;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
    scrollbar-width: none;
}

html.mobile-view header > nav::-webkit-scrollbar,
html.mobile-view header > .nav-right::-webkit-scrollbar {
    display: none;
}

html.mobile-view header > .nav-right > nav {
    display: contents;
}

html.mobile-view header .nav-item {
    min-width: 64px;
    min-height: 58px;
    padding: 6px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #fff;
    background: transparent !important;
    border: 0 !important;
    border-radius: 10px;
    box-sizing: border-box;
}

html.mobile-view header a.nav-item[href="#reviews"] {
    display: none;
}

html.mobile-view header .nav-item:hover,
html.mobile-view header .nav-item:focus {
    color: #fff;
    background: #1d1d1d !important;
    outline: none;
}

html.mobile-view .nav-icon {
    margin: 0 0 2px;
    font-size: 25px;
    line-height: 1;
}

html.mobile-view .nav-text {
    max-width: 70px;
    font-size: 10.5px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.mobile-view .cart-badge {
    top: 6px;
    right: calc(50% - 24px);
}

html.mobile-view .container,
html.mobile-view main.container {
    width: 100%;
    max-width: var(--mobile-shell-width);
    padding: 18px 12px 28px;
    box-sizing: border-box;
}

html.mobile-view .page-title {
    margin-bottom: 20px;
}

html.mobile-view .shop-toolbar {
    margin: -2px 0 18px;
}

html.mobile-view .search-shell {
    min-height: 50px;
    padding: 0 48px;
    border-radius: 12px;
}

html.mobile-view .search-icon {
    inset-inline-start: 16px;
    font-size: 22px;
}

html.mobile-view .search-input {
    min-height: 48px;
    font-size: 15px;
}

html.mobile-view .search-clear {
    inset-inline-end: 10px;
    width: 34px;
    height: 34px;
}

html.mobile-view .no-search-results {
    margin: -4px 0 18px;
    font-size: 14px;
}

html.mobile-view .page-title h1,
html.mobile-view h1 {
    font-size: 26px;
    line-height: 1.25;
}

html.mobile-view .page-title p,
html.mobile-view .subtitle,
html.mobile-view .about-text {
    font-size: 15px;
    line-height: 1.65;
}

html.mobile-view .hero-section {
    margin: 0 8px 18px;
    padding: 32px 18px 28px;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

html.mobile-view #splash-screen {
    inset: 0;
    width: 100%;
    height: var(--app-viewport-height, 100dvh);
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
}

html.mobile-view .hero-section h1 {
    font-size: 30px;
    line-height: 1.25;
}

html.mobile-view .hero-section p {
    font-size: 16px;
    line-height: 1.6;
}

html.mobile-view .btn-large {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 17px;
}

html.mobile-view .section-box,
html.mobile-view .cart-container,
html.mobile-view .account-card {
    padding: 22px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

html.mobile-view .products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

html.mobile-view .product-card {
    width: auto;
    min-width: 0;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box;
}

html.mobile-view .products-grid > .product-card:last-child:nth-child(odd),
html.mobile-view .products-grid > .product-card.is-last-unpaired {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 10px) / 2);
}

html.mobile-view .product-card:hover {
    transform: none;
}

html.mobile-view .product-card img,
html.mobile-view #productsContainer img {
    height: 112px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff;
    border-radius: 8px !important;
}

html.mobile-view .product-card h3 {
    margin: 8px 0 6px;
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

html.mobile-view .product-card .price {
    margin: 6px 0;
    font-size: 18px;
    line-height: 1.25;
}

html.mobile-view .product-card .old-price {
    font-size: 13px;
}

html.mobile-view .product-card .sale-badge {
    font-size: 10px;
    padding: 2px 5px;
}

html.mobile-view .product-card .info-btn {
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    font-size: 15px;
}

html.mobile-view .product-card .btn,
html.mobile-view .product-card .btn-add {
    min-height: 40px;
    padding: 9px 6px;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
}

html.mobile-view .review-slider-container,
html.mobile-view .review-form-card {
    min-height: 0;
    padding: 18px 14px;
    border-radius: 10px;
}

html.mobile-view .star-rating {
    font-size: 28px;
}

html.mobile-view input,
html.mobile-view select,
html.mobile-view textarea {
    min-height: 48px;
    font-size: 16px;
    border-radius: 8px;
}

html.mobile-view .auth-field {
    margin: 10px 0;
}

html.mobile-view .auth-field span {
    font-size: 13px;
}

html.mobile-view .btn,
html.mobile-view .btn-add,
html.mobile-view .btn-checkout {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    box-sizing: border-box;
}

html.mobile-view .modal-overlay {
    align-items: flex-end;
    padding: 0;
}

html.mobile-view .modal-content {
    width: 100%;
    max-width: var(--mobile-shell-width);
    max-height: 90vh;
    overflow-y: auto;
    padding: 26px 18px;
    border-radius: 18px 18px 0 0;
    box-sizing: border-box;
}

html.mobile-view .settings-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-width: none;
    height: min(82vh, 640px);
    padding: 30px 18px calc(24px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    transform: translateY(105%);
}

html.mobile-view .settings-drawer-overlay.open .settings-drawer {
    transform: translateY(0);
}

html.mobile-view .form-grid {
    grid-template-columns: 1fr;
}

html.mobile-view .actions {
    flex-direction: column;
}

html.mobile-view .actions .btn {
    min-width: 0;
}

html.mobile-view .cart-item {
    align-items: stretch;
    flex-direction: column;
}

html.mobile-view .item-info {
    width: 100%;
    min-width: 0;
}

html.mobile-view .qty-controls {
    width: 100%;
    box-sizing: border-box;
}

html.mobile-view .btn-remove {
    width: 100%;
    min-height: 42px;
}

html.mobile-view .cart-summary {
    text-align: center;
}

html.mobile-view .booking-card {
    align-items: stretch;
    flex-direction: column;
}

html.mobile-view .status-pill {
    width: max-content;
    align-self: flex-start;
}

html.mobile-view footer {
    margin-top: 20px;
    margin-bottom: calc(-1 * (var(--mobile-bottom-nav) + env(safe-area-inset-bottom) + 12px));
    padding: 32px 18px calc(var(--mobile-bottom-nav) + var(--mobile-bottom-nav) + env(safe-area-inset-bottom) + 28px);
}

html.mobile-view .footer-logo {
    height: 42px;
}

html.mobile-view .footer-text {
    line-height: 1.7;
}

html.mobile-view .footer-version-switch {
    display: block;
    margin-top: 10px;
    margin-inline-start: 0;
}

html.mobile-view .product-stock {
    color: #666;
    font-weight: bold;
}

html.mobile-view .product-stock.out-of-stock {
    color: #cc0000;
}

html.mobile-view body.dark-mode .container,
html.mobile-view body.dark-mode main.container {
    background: transparent;
}

html.mobile-view body.dark-mode .page-title h1,
html.mobile-view body.dark-mode h1,
html.mobile-view body.dark-mode h2,
html.mobile-view body.dark-mode h3,
html.mobile-view body.dark-mode .product-card h3,
html.mobile-view body.dark-mode .product-card .price {
    color: #f3f3f3 !important;
}

html.mobile-view body.dark-mode .page-title p,
html.mobile-view body.dark-mode .subtitle,
html.mobile-view body.dark-mode .about-text,
html.mobile-view body.dark-mode .review-slide p,
html.mobile-view body.dark-mode .modal-content p,
html.mobile-view body.dark-mode #productsContainer > p,
html.mobile-view body.dark-mode .product-stock.in-stock {
    color: #d8d8d8 !important;
}

html.mobile-view body.dark-mode .section-box,
html.mobile-view body.dark-mode .cart-container,
html.mobile-view body.dark-mode .account-card,
html.mobile-view body.dark-mode .review-slider-container,
html.mobile-view body.dark-mode .review-form-card,
html.mobile-view body.dark-mode .modal-content,
html.mobile-view body.dark-mode .product-card {
    background: #202020;
    color: #f3f3f3;
    border-color: #343434;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

html.mobile-view body.dark-mode .product-card img,
html.mobile-view body.dark-mode #productsContainer img {
    background: #151515;
    border: 1px solid #343434;
    box-sizing: border-box;
}

html.mobile-view body.dark-mode #infoDesc {
    background: #181818 !important;
    color: #d8d8d8 !important;
    border-color: #343434 !important;
}

html.mobile-view body.dark-mode .appointment-item {
    background: #1d1d1d;
    border-color: #343434;
}

html.mobile-view body.dark-mode .appointment-item span[style*="background"] {
    background: #2a2a2a !important;
    color: #f3f3f3 !important;
}

html.mobile-view body.dark-mode .product-stock.out-of-stock {
    color: #ff8a8a;
}

html.mobile-view body.dark-mode .info-btn {
    background: #2a2a2a;
    color: #f3f3f3;
    border-color: #444;
}

/* Phone comfort pass: keeps desktop unchanged while tightening iPhone and Android layouts. */
html.mobile-view {
    --mobile-bottom-nav: 72px;
    --mobile-shell-width: 500px;
    --mobile-page-gutter: 12px;
    --mobile-card-padding: 16px;
    --mobile-control-height: 46px;
    --mobile-radius: 10px;
}

html.mobile-view.ios-device {
    --mobile-bottom-nav: 76px;
}

html.mobile-view.samsung-device,
html.mobile-view.android-device {
    --mobile-bottom-nav: 70px;
}

html.mobile-view.compact-phone {
    --mobile-page-gutter: 10px;
    --mobile-card-padding: 14px;
    --mobile-control-height: 44px;
}

html.mobile-view body {
    min-width: 0;
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html.mobile-view body:not(.admin-page) {
    padding-top: 66px;
    padding-bottom: calc(var(--mobile-bottom-nav) + env(safe-area-inset-bottom) + 112px);
    overscroll-behavior-y: none;
}

html.mobile-view:not(.desktop-view),
html.mobile-view body:not(.admin-page) {
    overscroll-behavior: none;
}

html.mobile-view.ios-device,
html.mobile-view.ios-device body:not(.admin-page),
html.mobile-view.samsung-device,
html.mobile-view.samsung-device body:not(.admin-page) {
    overscroll-behavior-y: none;
}

html.mobile-view.compact-phone body:not(.admin-page) {
    padding-top: 62px;
}

html.mobile-view header {
    min-height: 66px;
    padding: 7px 12px;
}

html.mobile-view .header-logo {
    height: 46px;
    max-width: min(150px, 54vw);
}

html.mobile-view.compact-phone .header-logo {
    height: 42px;
    max-width: min(132px, 52vw);
}

html.mobile-view header > nav,
html.mobile-view header > .nav-right {
    grid-auto-columns: minmax(56px, 1fr);
    min-height: var(--mobile-bottom-nav);
    padding: 6px max(6px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-right));
}

html.mobile-view header .nav-item {
    min-width: 56px;
    min-height: 54px;
    padding: 5px 3px;
    border-radius: 8px;
}

html.mobile-view .nav-icon {
    font-size: 23px;
}

html.mobile-view .nav-text {
    max-width: 62px;
    font-size: 10px;
    line-height: 1.15;
}

html.mobile-view.compact-phone .nav-text {
    max-width: 56px;
    font-size: 9.5px;
}

html.mobile-view .container,
html.mobile-view main.container,
html.mobile-view body:not(.admin-page) main {
    width: 100%;
    max-width: var(--mobile-shell-width);
    padding: 14px var(--mobile-page-gutter) 24px;
    margin-inline: auto;
    box-sizing: border-box;
}

html.mobile-view .section-box,
html.mobile-view .cart-container,
html.mobile-view .account-card,
html.mobile-view .legal-page,
html.mobile-view .review-slider-container,
html.mobile-view .review-form-card {
    padding: var(--mobile-card-padding);
    border-radius: var(--mobile-radius);
}

html.mobile-view .page-title {
    margin-bottom: 16px;
}

html.mobile-view .page-title h1,
html.mobile-view h1 {
    margin-top: 0;
    font-size: 22px;
    line-height: 1.25;
}

html.mobile-view .page-title p,
html.mobile-view .subtitle,
html.mobile-view .page-subtitle,
html.mobile-view .about-text {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
}

html.mobile-view h2 {
    font-size: 19px;
    line-height: 1.3;
}

html.mobile-view label {
    margin-top: 14px;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.35;
}

html.mobile-view input,
html.mobile-view select,
html.mobile-view textarea {
    min-height: var(--mobile-control-height);
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.35;
    border-radius: 8px;
}

html.mobile-view textarea {
    min-height: 86px;
}

html.mobile-view .service-choice-list {
    gap: 8px;
    margin-top: 6px;
}

html.mobile-view .service-choice {
    min-height: 50px;
    padding: 10px 12px;
    gap: 10px;
    border-width: 1.5px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.35;
}

html.mobile-view .service-choice input[type="checkbox"],
html.mobile-view .service-choice input[type="radio"] {
    flex: 0 0 21px;
    width: 21px;
    min-width: 21px;
    height: 21px;
    min-height: 21px;
}

html.mobile-view .service-choice span {
    min-width: 0;
    overflow-wrap: anywhere;
}

html.mobile-view.compact-phone .service-choice {
    min-height: 46px;
    padding: 9px 10px;
    font-size: 14px;
}

html.mobile-view .time-group {
    gap: 8px;
    align-items: stretch;
}

html.mobile-view .time-group select {
    min-width: 0;
    padding-inline: 8px;
}

html.mobile-view .time-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    font-size: 18px;
}

html.mobile-view .booking-final-panel {
    gap: 8px;
    margin-top: 16px;
}

html.mobile-view .booking-availability,
html.mobile-view .section-box .policy-note,
html.mobile-view .prepayment-panel {
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.55;
}

html.mobile-view .booking-availability strong,
html.mobile-view .prepayment-panel strong {
    font-size: 15px;
}

html.mobile-view .booking-price-summary {
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
}

html.mobile-view .btn,
html.mobile-view .btn-add,
html.mobile-view .btn-checkout,
html.mobile-view .old-bookings-btn {
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 9px;
    font-size: 15px;
    line-height: 1.25;
}

html.mobile-view .auth-actions {
    grid-template-columns: 1fr;
    gap: 10px;
}

html.mobile-view .auth-actions .btn {
    min-height: 48px;
}

html.mobile-view .settings-drawer {
    height: min(78vh, 620px);
    padding: 26px 16px calc(18px + env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
}

html.mobile-view .settings-close,
html.mobile-view .close-modal,
html.mobile-view .mini-close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html.mobile-view .settings-row {
    margin: 14px 0;
}

html.mobile-view .modal-content,
html.mobile-view .mini-modal {
    width: 100%;
    max-width: var(--mobile-shell-width);
    padding: 22px 16px;
}

html.mobile-view .hero-section {
    margin: 0 0 16px;
    padding: 26px 16px 24px;
    border-radius: 12px;
}

html.mobile-view .hero-section h1 {
    font-size: 25px;
}

html.mobile-view .hero-section p {
    font-size: 14px;
}

html.mobile-view .home-service-grid {
    grid-template-columns: 1fr;
    gap: 9px;
}

html.mobile-view .home-service-chip {
    padding: 12px;
}

html.mobile-view .products-grid {
    gap: 9px;
}

html.mobile-view .product-card {
    padding: 9px;
}

html.mobile-view .product-card img,
html.mobile-view #productsContainer img {
    height: 104px !important;
}

html.mobile-view .product-card h3 {
    font-size: 13.5px;
}

html.mobile-view .product-card .price {
    font-size: 16px;
}

html.mobile-view .cart-item {
    gap: 10px;
    padding: 12px 0;
}

html.mobile-view .item-info {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

html.mobile-view .item-img {
    width: 54px;
    height: 54px;
}

html.mobile-view .item-details h3 {
    font-size: 15px;
    line-height: 1.3;
}

html.mobile-view .qty-controls {
    min-height: 42px;
}

html.mobile-view .price-breakdown,
html.mobile-view .compliance-panel,
html.mobile-view .terms-consent,
html.mobile-view .status-box,
html.mobile-view .empty-state {
    padding: 12px;
    border-radius: 10px;
}

html.mobile-view .form-grid,
html.mobile-view .phone-edit-row {
    gap: 12px;
}

html.mobile-view .risk-summary,
html.mobile-view .booking-card {
    gap: 10px;
}

html.mobile-view .legal-page h1 {
    font-size: 24px;
}

html.mobile-view .legal-page h2 {
    margin-top: 22px;
    font-size: 19px;
}

html.mobile-view .legal-page p,
html.mobile-view .legal-page li {
    font-size: 14px;
    line-height: 1.7;
}

html.mobile-view.compact-phone .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

html.mobile-view.compact-phone .product-card img,
html.mobile-view.compact-phone #productsContainer img {
    height: 96px !important;
}

html.mobile-view.compact-phone .btn,
html.mobile-view.compact-phone .btn-add,
html.mobile-view.compact-phone .btn-checkout,
html.mobile-view.compact-phone .old-bookings-btn {
    font-size: 14px;
}

html.mobile-view.large-phone {
    --mobile-shell-width: 540px;
}

/* Booking page mobile redesign. */
html.mobile-view {
    --booking-mobile-bg: #f4f6f8;
    --booking-mobile-card: #ffffff;
    --booking-mobile-ink: #121417;
    --booking-mobile-muted: #626a73;
    --booking-mobile-line: #dde2e7;
    --booking-mobile-soft: #f8fafc;
    --booking-mobile-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
}

html.mobile-view body:has(#bookingFormContainer) {
    background:
        linear-gradient(180deg, #ffffff 0, var(--booking-mobile-bg) 180px, var(--booking-mobile-bg) 100%);
}

html.mobile-view body.dark-mode:has(#bookingFormContainer) {
    --booking-mobile-bg: #111111;
    --booking-mobile-card: #1f1f1f;
    --booking-mobile-ink: #f4f4f4;
    --booking-mobile-muted: #c6c6c6;
    --booking-mobile-line: #363636;
    --booking-mobile-soft: #181818;
    --booking-mobile-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
    background: #111111;
}

html.mobile-view body:has(#bookingFormContainer) header {
    min-height: 58px;
    padding: 6px 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

html.mobile-view body:has(#bookingFormContainer) .header-logo {
    height: 40px;
    max-width: min(132px, 48vw);
}

html.mobile-view body:has(#bookingFormContainer) .container {
    max-width: 460px;
    padding-top: 10px;
}

html.mobile-view #bookingFormContainer {
    position: relative;
    margin: 0 auto 14px;
    padding: 18px 14px 16px;
    overflow: hidden;
    border: 1px solid rgba(221, 226, 231, 0.9);
    border-radius: 18px;
    background: var(--booking-mobile-card);
    color: var(--booking-mobile-ink);
    box-shadow: var(--booking-mobile-shadow);
}

html.mobile-view #bookingFormContainer h1 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.18;
    letter-spacing: 0;
    color: var(--booking-mobile-ink) !important;
}

html.mobile-view #bookingFormContainer .subtitle {
    max-width: 320px;
    margin: 0 auto 18px;
    color: var(--booking-mobile-muted) !important;
    font-size: 14px;
    line-height: 1.55;
}

html.mobile-view #bookingFormContainer > label {
    margin: 16px 0 8px;
    color: var(--booking-mobile-ink);
    font-size: 15px;
    line-height: 1.35;
}

html.mobile-view #bookingFormContainer .service-choice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

html.mobile-view #bookingFormContainer .service-choice {
    position: relative;
    min-height: 54px;
    padding: 10px 12px;
    padding-inline-start: 43px;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    border: 1px solid var(--booking-mobile-line);
    border-radius: 14px;
    background: var(--booking-mobile-soft);
    color: var(--booking-mobile-ink);
    box-shadow: none;
    font-size: 14.5px;
    line-height: 1.3;
    text-align: start;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

html.mobile-view #bookingFormContainer .service-choice input {
    position: absolute;
    inset-inline-start: 13px;
    top: 50%;
    width: 23px;
    min-width: 23px;
    height: 23px;
    min-height: 23px;
    margin: 0;
    opacity: 0;
    transform: translateY(-50%);
}

html.mobile-view #bookingFormContainer .service-choice::after {
    content: "";
    position: absolute;
    inset-inline-start: 13px;
    top: 50%;
    width: 23px;
    height: 23px;
    border: 1.5px solid #8c939b;
    border-radius: 8px;
    background: #fff;
    transform: translateY(-50%);
    box-sizing: border-box;
}

html.mobile-view #bookingFormContainer .service-choice::before {
    content: "check";
    position: absolute;
    inset-inline-start: 13px;
    top: 50%;
    z-index: 1;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: "Material Symbols Outlined";
    font-size: 19px;
    line-height: 1;
    opacity: 0;
    transform: translateY(-50%);
}

html.mobile-view #bookingFormContainer .service-choice span {
    display: block;
    min-width: 0;
    font-weight: 800;
    overflow-wrap: anywhere;
}

html.mobile-view #bookingFormContainer .service-choice-list > .service-choice:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

html.mobile-view #bookingFormContainer .service-choice:has(input:checked) {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
    transform: translateY(-1px);
}

html.mobile-view #bookingFormContainer .service-choice:has(input:checked)::after {
    border-color: #111111;
    background: #111111;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

html.mobile-view #bookingFormContainer .service-choice:has(input:checked)::before {
    opacity: 1;
}

html.mobile-view body.dark-mode #bookingFormContainer .service-choice {
    background: #181818;
    border-color: #363636;
}

html.mobile-view body.dark-mode #bookingFormContainer .service-choice::after {
    background: #232323;
    border-color: #686868;
}

html.mobile-view body.dark-mode #bookingFormContainer .service-choice:has(input:checked) {
    background: #f4f4f4;
    border-color: #f4f4f4;
    color: #111111;
}

html.mobile-view body.dark-mode #bookingFormContainer .service-choice:has(input:checked)::after {
    background: #111111;
    border-color: #f4f4f4;
}

html.mobile-view #bookingFormContainer #bookDate,
html.mobile-view #bookingFormContainer .time-group select,
html.mobile-view #bookingFormContainer textarea {
    min-height: 48px;
    border: 1px solid var(--booking-mobile-line);
    border-radius: 13px;
    background: var(--booking-mobile-soft);
    color: var(--booking-mobile-ink);
    box-shadow: none;
}

html.mobile-view #bookingFormContainer #bookDate {
    font-weight: 700;
}

html.mobile-view #bookingFormContainer .time-group {
    gap: 9px;
}

html.mobile-view #bookingFormContainer .time-group select {
    font-weight: 800;
}

html.mobile-view #bookingFormContainer .time-separator {
    min-width: 16px;
    color: var(--booking-mobile-ink);
    font-size: 22px;
}

html.mobile-view #bookingFormContainer textarea {
    min-height: 92px;
    resize: none;
}

html.mobile-view #bookingFormContainer .booking-final-panel {
    margin-top: 14px;
}

html.mobile-view #bookingFormContainer .booking-availability,
html.mobile-view #bookingFormContainer .booking-price-summary,
html.mobile-view #bookingFormContainer .policy-note,
html.mobile-view #bookingFormContainer .prepayment-panel {
    border-radius: 14px;
}

html.mobile-view #bookingFormContainer .booking-availability {
    border-color: #d9e3ec;
    background: #f6f9fc;
}

html.mobile-view body.dark-mode #bookingFormContainer .booking-availability {
    border-color: #343434;
    background: #181818;
}

html.mobile-view #bookingFormContainer #submitBookBtn {
    min-height: 52px;
    margin-top: 13px;
    border-radius: 14px;
    font-size: 16px;
}

html.mobile-view #bookingFormContainer #submitBookBtn:disabled {
    background: #9a9a9a;
    color: #ffffff;
    opacity: 1;
}

html.mobile-view #bookingFormContainer .policy-note {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--booking-mobile-line);
    background: #ffffff;
}

html.mobile-view body.dark-mode #bookingFormContainer .policy-note {
    background: #181818;
    border-color: #343434;
}

html.mobile-view #bookingFormContainer .policy-note p {
    font-size: 14px;
    line-height: 1.6;
}

html.mobile-view #bookingFormContainer .policy-note a {
    display: inline-flex;
    margin-top: 4px;
    font-weight: 900;
    color: inherit;
    text-underline-offset: 4px;
}

html.mobile-view.compact-phone #bookingFormContainer {
    padding: 16px 12px 14px;
    border-radius: 16px;
}

html.mobile-view.compact-phone #bookingFormContainer h1 {
    font-size: 24px;
}

html.mobile-view.compact-phone #bookingFormContainer .service-choice-list {
    gap: 8px;
}

html.mobile-view.compact-phone #bookingFormContainer .service-choice {
    min-height: 50px;
    padding-block: 10px;
    font-size: 13.5px;
}

@media (max-width: 340px) {
    html.mobile-view #bookingFormContainer .service-choice-list {
        grid-template-columns: 1fr;
    }
}

/* Customer pages polish: public salon experience. */
body:not(.admin-page) {
    background:
        radial-gradient(circle at top right, rgba(15, 23, 42, 0.06), transparent 280px),
        linear-gradient(180deg, #f8fafc 0, #ffffff 42%, #f3f6fa 100%);
    color: #111827;
}

body:not(.admin-page) header {
    background: #020202;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.14);
}

body:not(.admin-page) header .header-logo {
    filter: drop-shadow(0 8px 18px rgba(255, 255, 255, 0.08));
}

body:not(.admin-page) header .nav-item {
    position: relative;
}

body:not(.admin-page) header .nav-item::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: -7px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

body:not(.admin-page) header .nav-item:hover::after,
body:not(.admin-page) header .nav-item:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

body:not(.admin-page) .container,
body:not(.admin-page) main.container {
    width: min(1120px, calc(100% - 32px));
}

body:not(.admin-page) .section-box,
body:not(.admin-page) .cart-container,
body:not(.admin-page) .account-card,
body:not(.admin-page) .review-slider-container,
body:not(.admin-page) .review-form-card,
body:not(.admin-page) .product-card,
body:not(.admin-page) .booking-card,
body:not(.admin-page) .empty-state,
body:not(.admin-page) .status-box {
    border: 1px solid #dfe6ee;
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

body:not(.admin-page) .section-box,
body:not(.admin-page) .cart-container,
body:not(.admin-page) .account-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
        #fff;
}

body:not(.admin-page) .hero-section {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background:
        radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.12), transparent 220px),
        linear-gradient(135deg, #020202, #111827);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
}

body:not(.admin-page) .hero-section::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    pointer-events: none;
}

body:not(.admin-page) .hero-section h1,
body:not(.admin-page) .page-title h1,
body:not(.admin-page) h1.page-title,
body:not(.admin-page) .account-card > h1,
body:not(.admin-page) #bookingFormContainer h1 {
    letter-spacing: 0;
    line-height: 1.18;
}

body:not(.admin-page) .hero-section p,
body:not(.admin-page) .page-title p,
body:not(.admin-page) .subtitle,
body:not(.admin-page) .page-subtitle,
body:not(.admin-page) .about-text,
body:not(.admin-page) .records-subtitle {
    color: #64748b !important;
    line-height: 1.75;
}

body:not(.admin-page) .hero-section p {
    color: #d1d5db !important;
}

body:not(.admin-page) .btn,
body:not(.admin-page) .btn-add,
body:not(.admin-page) .btn-checkout,
body:not(.admin-page) .btn-large,
body:not(.admin-page) .old-bookings-btn {
    border-radius: 8px;
    min-height: 46px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

body:not(.admin-page) .btn:hover,
body:not(.admin-page) .btn-add:hover,
body:not(.admin-page) .btn-checkout:hover,
body:not(.admin-page) .btn-large:hover {
    transform: translateY(-1px);
}

body:not(.admin-page) input,
body:not(.admin-page) select,
body:not(.admin-page) textarea,
body:not(.admin-page) .search-shell {
    border-color: #d6dde8;
    border-radius: 8px;
    background-color: #fff;
}

body:not(.admin-page) input:focus,
body:not(.admin-page) select:focus,
body:not(.admin-page) textarea:focus,
body:not(.admin-page) .search-shell:focus-within {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08), 0 14px 30px rgba(15, 23, 42, 0.08);
}

body:not(.admin-page) .service-choice,
body:not(.admin-page) .verification-option,
body:not(.admin-page) .terms-consent,
body:not(.admin-page) .price-breakdown,
body:not(.admin-page) .compliance-panel,
body:not(.admin-page) .booking-availability,
body:not(.admin-page) .booking-price-summary,
body:not(.admin-page) .prepayment-panel,
body:not(.admin-page) .policy-note {
    border-radius: 8px;
}

body:not(.admin-page) #bookingFormContainer .service-choice {
    border-color: #dde5ef;
    background: #fff;
}

body:not(.admin-page) #bookingFormContainer .service-choice:has(input:checked) {
    border-color: #0f172a;
    background: #0f172a;
    color: #fff;
}

body:not(.admin-page) .product-card {
    overflow: hidden;
    background:
        linear-gradient(180deg, #fff, #f8fafc);
}

body:not(.admin-page) .product-card img,
body:not(.admin-page) #productsContainer img,
body:not(.admin-page) .item-img {
    border-radius: 8px;
    border-color: #edf1f5;
}

body:not(.admin-page) .product-card .price,
body:not(.admin-page) .total-price,
body:not(.admin-page) .price-row.total {
    color: #0f172a;
}

body:not(.admin-page) .info-btn,
body:not(.admin-page) .search-clear,
body:not(.admin-page) .qty-btn {
    border-radius: 8px;
}

body:not(.admin-page) .review-slider-container {
    background:
        linear-gradient(135deg, #fff, #f8fafc);
}

body:not(.admin-page) .review-form-card,
body:not(.admin-page) .appointment-item,
body:not(.admin-page) .booking-card {
    border-right-color: #0f172a;
}

body:not(.admin-page) .history-switch {
    border-radius: 8px;
    background: #eef3f8;
}

body:not(.admin-page) .history-switch button {
    border-radius: 8px;
}

body:not(.admin-page) .modal-overlay {
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(10px);
}

body:not(.admin-page) .modal-content,
body:not(.admin-page) .mini-modal,
body:not(.admin-page) .settings-drawer {
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
}

body:not(.admin-page) .close-modal,
body:not(.admin-page) .mini-close,
body:not(.admin-page) .settings-close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 28px;
    line-height: 1;
}

body:not(.admin-page) .settings-drawer h2,
body:not(.admin-page) .modal-content h2,
body:not(.admin-page) .mini-modal h2 {
    margin-top: 12px;
    color: #0f172a;
}

body:not(.admin-page) footer {
    background: #020202;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body:not(.admin-page) .social-icons a {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

@media (min-width: 821px) {
    body:not(.admin-page) .container,
    body:not(.admin-page) main.container {
        padding-top: 44px;
        padding-bottom: 76px;
    }

    body:not(.admin-page) .section-box,
    body:not(.admin-page) .cart-container,
    body:not(.admin-page) .account-card {
        padding: 42px;
    }

    body:not(.admin-page) .products-grid {
        align-items: stretch;
    }

    body:not(.admin-page) .product-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 410px;
    }

    body:not(.admin-page) .booking-card {
        min-height: 112px;
        padding: 20px 22px;
    }

    body:not(.admin-page) .modal-content,
    body:not(.admin-page) .mini-modal {
        padding: 34px;
    }
}

html.mobile-view body:not(.admin-page) {
    background:
        linear-gradient(180deg, #ffffff 0, #f3f6fa 190px, #f3f6fa 100%);
}

html.mobile-view body:not(.admin-page) header {
    min-height: 66px;
    padding: 7px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.mobile-view body:not(.admin-page) header .header-logo {
    height: 46px;
    max-width: min(156px, 50vw);
}

html.mobile-view body:not(.admin-page) header > nav,
html.mobile-view body:not(.admin-page) header > .nav-right {
    min-height: var(--mobile-bottom-nav);
    padding-top: 7px;
    background: #020202;
}

html.mobile-view body:not(.admin-page) header .nav-item {
    min-height: 56px;
    border-radius: 8px;
}

html.mobile-view body:not(.admin-page) header .nav-item::after {
    display: none;
}

html.mobile-view body:not(.admin-page) .nav-icon {
    font-size: 24px;
}

html.mobile-view body:not(.admin-page) .nav-text {
    max-width: 76px;
    font-size: 10.5px;
}

html.mobile-view body:not(.admin-page) .container,
html.mobile-view body:not(.admin-page) main.container {
    width: 100%;
    max-width: var(--mobile-shell-width);
    padding: 14px var(--mobile-page-gutter, 12px) 28px;
}

html.mobile-view body:not(.admin-page) .section-box,
html.mobile-view body:not(.admin-page) .cart-container,
html.mobile-view body:not(.admin-page) .account-card,
html.mobile-view body:not(.admin-page) .review-slider-container,
html.mobile-view body:not(.admin-page) .review-form-card {
    padding: 18px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

html.mobile-view body:not(.admin-page) .page-title {
    margin: 8px 0 18px;
}

html.mobile-view body:not(.admin-page) .page-title h1,
html.mobile-view body:not(.admin-page) h1 {
    font-size: 25px;
    line-height: 1.2;
}

html.mobile-view body:not(.admin-page) .page-title p,
html.mobile-view body:not(.admin-page) .subtitle,
html.mobile-view body:not(.admin-page) .page-subtitle,
html.mobile-view body:not(.admin-page) .about-text {
    font-size: 14px;
    line-height: 1.62;
}

html.mobile-view body:not(.admin-page) .hero-section {
    margin: 0 0 14px;
    padding: 28px 16px 24px;
    border-radius: 8px;
}

html.mobile-view body:not(.admin-page) .hero-section::before {
    inset: 9px;
}

html.mobile-view body:not(.admin-page) .hero-section h1 {
    font-size: 29px;
}

html.mobile-view body:not(.admin-page) .hero-section p {
    max-width: 340px;
    font-size: 15px;
}

html.mobile-view body:not(.admin-page) .btn,
html.mobile-view body:not(.admin-page) .btn-add,
html.mobile-view body:not(.admin-page) .btn-checkout,
html.mobile-view body:not(.admin-page) .btn-large,
html.mobile-view body:not(.admin-page) .old-bookings-btn {
    min-height: 50px;
    border-radius: 8px;
    font-size: 15px;
}

html.mobile-view body:not(.admin-page) input,
html.mobile-view body:not(.admin-page) select,
html.mobile-view body:not(.admin-page) textarea {
    min-height: 48px;
    border-radius: 8px;
    font-size: 15px;
}

html.mobile-view body:not(.admin-page) .modal-overlay.open,
html.mobile-view body:not(.admin-page) .modal-overlay[style*="flex"] {
    align-items: flex-end;
}

html.mobile-view body:not(.admin-page) .modal-content,
html.mobile-view body:not(.admin-page) .mini-modal {
    width: 100%;
    max-width: var(--mobile-shell-width);
    max-height: calc(100dvh - 28px);
    margin: 0 auto;
    padding: 54px 18px 22px;
    overflow-y: auto;
    border-radius: 18px 18px 0 0;
    text-align: start;
}

html.mobile-view body:not(.admin-page) .modal-content h2,
html.mobile-view body:not(.admin-page) .mini-modal h2 {
    margin: 0 0 14px;
    text-align: center;
    font-size: 24px;
}

html.mobile-view body:not(.admin-page) .modal-content p,
html.mobile-view body:not(.admin-page) .mini-modal p {
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
}

html.mobile-view body:not(.admin-page) .close-modal,
html.mobile-view body:not(.admin-page) .mini-close {
    top: 12px;
    inset-inline-start: 14px;
    inset-inline-end: auto;
    right: auto;
    left: 14px;
    position: absolute;
}

html.mobile-view body:not(.admin-page) .settings-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 28px);
    padding: 54px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    transform: translateY(105%);
}

html.mobile-view body:not(.admin-page) .settings-drawer-overlay.open .settings-drawer {
    transform: translateY(0);
}

html.mobile-view body:not(.admin-page) .settings-close {
    top: 12px;
    inset-inline-start: 14px;
    inset-inline-end: auto;
    right: auto;
    left: 14px;
}

html.mobile-view body:not(.admin-page) .settings-row {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

html.mobile-view body:not(.admin-page) .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

html.mobile-view body:not(.admin-page) .product-card {
    min-height: 248px;
    padding: 10px;
    border-radius: 8px;
}

html.mobile-view body:not(.admin-page) .product-card img,
html.mobile-view body:not(.admin-page) #productsContainer img {
    height: 108px !important;
}

html.mobile-view body:not(.admin-page) .product-card h3 {
    min-height: 36px;
    font-size: 14px;
    line-height: 1.3;
}

html.mobile-view body:not(.admin-page) .product-card .price {
    margin: 8px 0;
    font-size: 17px;
}

html.mobile-view body:not(.admin-page) .cart-item,
html.mobile-view body:not(.admin-page) .booking-card,
html.mobile-view body:not(.admin-page) .appointment-item {
    padding: 14px;
    border: 1px solid #dfe6ee;
    border-right: 4px solid #0f172a;
    border-radius: 8px;
    background: #fff;
}

html.mobile-view body:not(.admin-page) .cart-item {
    display: grid;
    gap: 12px;
}

html.mobile-view body:not(.admin-page) .cart-summary {
    text-align: right;
}

html.mobile-view body:not(.admin-page) .history-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
}

html.mobile-view body:not(.admin-page) .history-switch button {
    min-height: 54px;
    padding: 10px;
}

html.mobile-view body:not(.admin-page) .history-switch-label {
    font-size: 13px;
}

html.mobile-view body:not(.admin-page) .history-switch-count {
    width: 28px;
    min-width: 28px;
    height: 28px;
}

html.mobile-view body:not(.admin-page) footer {
    margin-top: 16px;
    padding-top: 28px;
}

html.mobile-view body:not(.admin-page) .social-icons a {
    width: 44px;
    height: 44px;
}

html.mobile-view.compact-phone body:not(.admin-page) .products-grid {
    gap: 8px;
}

html.mobile-view.compact-phone body:not(.admin-page) .product-card {
    min-height: 236px;
}

html.mobile-view.compact-phone body:not(.admin-page) .history-switch-label {
    gap: 5px;
    font-size: 12px;
}

/* Customer icon fallback: keep late-loading icon fonts from stretching mobile UI. */
body:not(.admin-page) .material-symbols-outlined.nav-icon,
body:not(.admin-page) .bottom-nav .material-symbols-outlined,
body:not(.admin-page) .mobile-bottom-nav .material-symbols-outlined {
    flex: 0 0 auto;
    width: 28px;
    max-width: 28px;
    height: 28px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 26px !important;
    line-height: 28px;
}

body:not(.admin-page) .auth-checking .material-symbols-outlined {
    width: 48px;
    max-width: 48px;
    height: 48px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 999px;
    background: #f8fafc;
    font-size: 30px !important;
    line-height: 48px;
}

/* Customer polish dark mode overrides. */
body.dark-mode:not(.admin-page) {
    background: #0f1115;
    color: #f8fafc;
}

html.mobile-view body.dark-mode:not(.admin-page) {
    background: #0f1115;
    color: #f8fafc;
}

body.dark-mode:not(.admin-page) main.container,
html.mobile-view body.dark-mode:not(.admin-page) main.container {
    background: transparent;
}

body.dark-mode:not(.admin-page) .section-box,
body.dark-mode:not(.admin-page) .cart-container,
body.dark-mode:not(.admin-page) .account-card,
body.dark-mode:not(.admin-page) .review-slider-container,
body.dark-mode:not(.admin-page) .review-form-card,
body.dark-mode:not(.admin-page) .modal-content,
body.dark-mode:not(.admin-page) .mini-modal,
body.dark-mode:not(.admin-page) .settings-drawer,
body.dark-mode:not(.admin-page) .product-card,
body.dark-mode:not(.admin-page) .cart-item,
body.dark-mode:not(.admin-page) .booking-card,
body.dark-mode:not(.admin-page) .appointment-item,
body.dark-mode:not(.admin-page) .status-box {
    background: #171b23;
    color: #f8fafc;
    border-color: #303746;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

body.dark-mode:not(.admin-page) .hero-section {
    background: linear-gradient(145deg, #050505, #171b23);
    color: #fff;
}

body.dark-mode:not(.admin-page) .hero-section::before {
    border-color: rgba(255, 255, 255, 0.14);
}

body.dark-mode:not(.admin-page) .page-title p,
body.dark-mode:not(.admin-page) .subtitle,
body.dark-mode:not(.admin-page) .page-subtitle,
body.dark-mode:not(.admin-page) .about-text,
body.dark-mode:not(.admin-page) .modal-content p,
body.dark-mode:not(.admin-page) .mini-modal p,
body.dark-mode:not(.admin-page) .review-slide p,
body.dark-mode:not(.admin-page) small {
    color: #cbd5e1;
}

body.dark-mode:not(.admin-page) input,
body.dark-mode:not(.admin-page) select,
body.dark-mode:not(.admin-page) textarea,
body.dark-mode:not(.admin-page) .phone-prefix {
    background: #10141b;
    color: #f8fafc;
    border-color: #3a4352;
}

body.dark-mode:not(.admin-page) input:focus,
body.dark-mode:not(.admin-page) select:focus,
body.dark-mode:not(.admin-page) textarea:focus {
    background: #131923;
    border-color: #e7c94b;
    box-shadow: 0 0 0 3px rgba(231, 201, 75, 0.16);
}

body.dark-mode:not(.admin-page) .settings-row,
body.dark-mode:not(.admin-page) .history-switch,
body.dark-mode:not(.admin-page) .cart-total,
body.dark-mode:not(.admin-page) .auth-checking {
    background: #10141b;
    border-color: #303746;
}

body.dark-mode:not(.admin-page) .empty-state,
body.dark-mode:not(.admin-page) #productsContainer > p {
    background: #111827;
    color: #cbd5e1;
    border-color: #303746;
}

body.dark-mode:not(.admin-page) .btn.secondary,
body.dark-mode:not(.admin-page) .info-btn {
    background: #10141b;
    color: #f8fafc;
    border-color: #3a4352;
}

body.dark-mode:not(.admin-page) footer {
    border-color: #262d3a;
}

body.dark-mode:not(.admin-page) .social-icons a,
body.dark-mode:not(.admin-page) .auth-checking .material-symbols-outlined {
    background: #111827;
    border-color: #303746;
}

/* Final customer mobile and dark-mode polish. */
body:not(.admin-page) {
    --tofik-mobile-bg: #f3f6fa;
    --tofik-mobile-surface: #ffffff;
    --tofik-mobile-surface-soft: #f8fafc;
    --tofik-mobile-border: #dbe3ef;
    --tofik-mobile-text: #0f172a;
    --tofik-mobile-muted: #64748b;
    --tofik-mobile-gold: #d4af37;
    --tofik-mobile-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    --tofik-mobile-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body.dark-mode:not(.admin-page) {
    --tofik-mobile-bg: #0b111b;
    --tofik-mobile-surface: #141b27;
    --tofik-mobile-surface-soft: #101722;
    --tofik-mobile-border: #263244;
    --tofik-mobile-text: #f8fafc;
    --tofik-mobile-muted: #aebacf;
    --tofik-mobile-gold: #e6c65a;
    --tofik-mobile-shadow: 0 20px 54px rgba(0, 0, 0, 0.36);
    --tofik-mobile-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.26);
    color-scheme: dark;
    background:
        radial-gradient(circle at 20% -8%, rgba(212, 175, 55, 0.12), transparent 34%),
        linear-gradient(180deg, #0f1724 0, var(--tofik-mobile-bg) 250px, var(--tofik-mobile-bg) 100%);
    color: var(--tofik-mobile-text);
}

html.mobile-view body:not(.admin-page) {
    background:
        linear-gradient(180deg, #ffffff 0, var(--tofik-mobile-bg) 210px, var(--tofik-mobile-bg) 100%);
    color: var(--tofik-mobile-text);
}

html.mobile-view body.dark-mode:not(.admin-page) {
    background:
        radial-gradient(circle at 20% -8%, rgba(212, 175, 55, 0.12), transparent 34%),
        linear-gradient(180deg, #0f1724 0, var(--tofik-mobile-bg) 250px, var(--tofik-mobile-bg) 100%);
}

html.mobile-view body:not(.admin-page) header {
    background:
        linear-gradient(135deg, rgba(3, 7, 18, 0.99), rgba(17, 24, 39, 0.99));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

html.mobile-view body:not(.admin-page) header > nav,
html.mobile-view body:not(.admin-page) header > .nav-right {
    background:
        linear-gradient(135deg, rgba(3, 7, 18, 0.98), rgba(17, 24, 39, 0.98));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html.mobile-view body:not(.admin-page) header .nav-item {
    color: rgba(255, 255, 255, 0.78);
}

html.mobile-view body:not(.admin-page) header .nav-item.active,
html.mobile-view body:not(.admin-page) header .nav-item:hover,
html.mobile-view body:not(.admin-page) header .nav-item:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

html.mobile-view body:not(.admin-page) .section-box,
html.mobile-view body:not(.admin-page) .cart-container,
html.mobile-view body:not(.admin-page) .account-card,
html.mobile-view body:not(.admin-page) .review-slider-container,
html.mobile-view body:not(.admin-page) .review-form-card,
html.mobile-view body:not(.admin-page) .product-card,
html.mobile-view body:not(.admin-page) .cart-item,
html.mobile-view body:not(.admin-page) .booking-card,
html.mobile-view body:not(.admin-page) .appointment-item,
html.mobile-view body:not(.admin-page) .status-box,
html.mobile-view body:not(.admin-page) .prepayment-panel,
html.mobile-view body:not(.admin-page) .booking-availability,
html.mobile-view body:not(.admin-page) .booking-price-summary,
html.mobile-view body:not(.admin-page) .empty-state {
    background: var(--tofik-mobile-surface);
    border: 1px solid var(--tofik-mobile-border);
    color: var(--tofik-mobile-text);
    box-shadow: var(--tofik-mobile-shadow-soft);
}

html.mobile-view body:not(.admin-page) .section-box,
html.mobile-view body:not(.admin-page) .cart-container,
html.mobile-view body:not(.admin-page) .account-card,
html.mobile-view body:not(.admin-page) .review-slider-container,
html.mobile-view body:not(.admin-page) .review-form-card {
    border-radius: 18px;
}

html.mobile-view body:not(.admin-page) .product-card,
html.mobile-view body:not(.admin-page) .cart-item,
html.mobile-view body:not(.admin-page) .booking-card,
html.mobile-view body:not(.admin-page) .appointment-item {
    border-radius: 16px;
}

html.mobile-view body.dark-mode:not(.admin-page) .section-box,
html.mobile-view body.dark-mode:not(.admin-page) .cart-container,
html.mobile-view body.dark-mode:not(.admin-page) .account-card,
html.mobile-view body.dark-mode:not(.admin-page) .review-slider-container,
html.mobile-view body.dark-mode:not(.admin-page) .review-form-card,
html.mobile-view body.dark-mode:not(.admin-page) .product-card,
html.mobile-view body.dark-mode:not(.admin-page) .cart-item,
html.mobile-view body.dark-mode:not(.admin-page) .booking-card,
html.mobile-view body.dark-mode:not(.admin-page) .appointment-item,
html.mobile-view body.dark-mode:not(.admin-page) .status-box,
html.mobile-view body.dark-mode:not(.admin-page) .prepayment-panel,
html.mobile-view body.dark-mode:not(.admin-page) .booking-availability,
html.mobile-view body.dark-mode:not(.admin-page) .booking-price-summary,
html.mobile-view body.dark-mode:not(.admin-page) .empty-state {
    background: var(--tofik-mobile-surface);
    border-color: var(--tofik-mobile-border);
    color: var(--tofik-mobile-text);
    box-shadow: var(--tofik-mobile-shadow-soft);
}

html.mobile-view body.dark-mode:not(.admin-page) .page-title h1,
html.mobile-view body.dark-mode:not(.admin-page) h1,
html.mobile-view body.dark-mode:not(.admin-page) h2,
html.mobile-view body.dark-mode:not(.admin-page) h3,
html.mobile-view body.dark-mode:not(.admin-page) .product-card h3,
html.mobile-view body.dark-mode:not(.admin-page) .product-card .price,
html.mobile-view body.dark-mode:not(.admin-page) .appointment-item strong,
html.mobile-view body.dark-mode:not(.admin-page) .booking-card strong {
    color: var(--tofik-mobile-text);
}

html.mobile-view body.dark-mode:not(.admin-page) .page-title p,
html.mobile-view body.dark-mode:not(.admin-page) .subtitle,
html.mobile-view body.dark-mode:not(.admin-page) .page-subtitle,
html.mobile-view body.dark-mode:not(.admin-page) .about-text,
html.mobile-view body.dark-mode:not(.admin-page) .review-slide p,
html.mobile-view body.dark-mode:not(.admin-page) .modal-content p,
html.mobile-view body.dark-mode:not(.admin-page) .mini-modal p,
html.mobile-view body.dark-mode:not(.admin-page) small,
html.mobile-view body.dark-mode:not(.admin-page) .product-stock.in-stock,
html.mobile-view body.dark-mode:not(.admin-page) .item-info,
html.mobile-view body.dark-mode:not(.admin-page) .appointment-item p,
html.mobile-view body.dark-mode:not(.admin-page) .booking-card p {
    color: var(--tofik-mobile-muted);
}

html.mobile-view body:not(.admin-page) input,
html.mobile-view body:not(.admin-page) select,
html.mobile-view body:not(.admin-page) textarea,
html.mobile-view body:not(.admin-page) .phone-prefix,
html.mobile-view body:not(.admin-page) .search-shell {
    background: var(--tofik-mobile-surface);
    border: 1px solid var(--tofik-mobile-border);
    color: var(--tofik-mobile-text);
    box-shadow: none;
}

html.mobile-view body.dark-mode:not(.admin-page) input,
html.mobile-view body.dark-mode:not(.admin-page) select,
html.mobile-view body.dark-mode:not(.admin-page) textarea,
html.mobile-view body.dark-mode:not(.admin-page) .phone-prefix,
html.mobile-view body.dark-mode:not(.admin-page) .search-shell {
    background: var(--tofik-mobile-surface-soft);
    border-color: var(--tofik-mobile-border);
    color: var(--tofik-mobile-text);
}

html.mobile-view body:not(.admin-page) input:focus,
html.mobile-view body:not(.admin-page) select:focus,
html.mobile-view body:not(.admin-page) textarea:focus {
    border-color: var(--tofik-mobile-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
    outline: none;
}

html.mobile-view body:not(.admin-page) .modal-overlay.open,
html.mobile-view body:not(.admin-page) .modal-overlay[style*="flex"],
html.mobile-view body:not(.admin-page) .settings-drawer-overlay.open {
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(10px);
}

html.mobile-view body:not(.admin-page) .modal-content,
html.mobile-view body:not(.admin-page) .mini-modal,
html.mobile-view body:not(.admin-page) .settings-drawer {
    position: relative;
    background: var(--tofik-mobile-surface);
    border: 1px solid var(--tofik-mobile-border);
    color: var(--tofik-mobile-text);
    box-shadow: 0 -24px 70px rgba(15, 23, 42, 0.28);
}

html.mobile-view body.dark-mode:not(.admin-page) .modal-content,
html.mobile-view body.dark-mode:not(.admin-page) .mini-modal,
html.mobile-view body.dark-mode:not(.admin-page) .settings-drawer {
    background: var(--tofik-mobile-surface);
    border-color: var(--tofik-mobile-border);
    color: var(--tofik-mobile-text);
    box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.45);
}

html.mobile-view body:not(.admin-page) .modal-content::before,
html.mobile-view body:not(.admin-page) .mini-modal::before,
html.mobile-view body:not(.admin-page) .settings-drawer::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.45);
    transform: translateX(-50%);
}

html.mobile-view body:not(.admin-page) .modal-content h2,
html.mobile-view body:not(.admin-page) .mini-modal h2,
html.mobile-view body:not(.admin-page) .settings-drawer h2 {
    color: var(--tofik-mobile-text);
}

html.mobile-view body:not(.admin-page) .close-modal,
html.mobile-view body:not(.admin-page) .mini-close,
html.mobile-view body:not(.admin-page) .settings-close {
    border-color: var(--tofik-mobile-border);
    background: var(--tofik-mobile-surface-soft);
    color: var(--tofik-mobile-text);
}

html.mobile-view body:not(.admin-page) .settings-row,
html.mobile-view body:not(.admin-page) .history-switch,
html.mobile-view body:not(.admin-page) .cart-total,
html.mobile-view body:not(.admin-page) .auth-checking,
html.mobile-view body:not(.admin-page) .service-choice {
    background: var(--tofik-mobile-surface-soft);
    border: 1px solid var(--tofik-mobile-border);
    color: var(--tofik-mobile-text);
}

html.mobile-view body.dark-mode:not(.admin-page) .history-switch button.active,
html.mobile-view body.dark-mode:not(.admin-page) .status-pill,
html.mobile-view body.dark-mode:not(.admin-page) .btn.secondary,
html.mobile-view body.dark-mode:not(.admin-page) .info-btn,
html.mobile-view body.dark-mode:not(.admin-page) .search-clear,
html.mobile-view body.dark-mode:not(.admin-page) .qty-btn {
    background: #182133;
    border-color: var(--tofik-mobile-border);
    color: var(--tofik-mobile-text);
}

html.mobile-view body.dark-mode:not(.admin-page) .product-card img,
html.mobile-view body.dark-mode:not(.admin-page) #productsContainer img {
    background: #0f1622;
    border-color: var(--tofik-mobile-border);
}

html.mobile-view body.dark-mode:not(.admin-page) footer {
    background:
        linear-gradient(180deg, #05070b, #0a0f18);
    border-color: rgba(230, 198, 90, 0.14);
}

html.mobile-view body.dark-mode:not(.admin-page) .social-icons a,
html.mobile-view body.dark-mode:not(.admin-page) .auth-checking .material-symbols-outlined {
    background: var(--tofik-mobile-surface-soft);
    border-color: var(--tofik-mobile-border);
}

/* Customer phone safe-area and next-booking compact polish. */
html.mobile-view {
    background: #05070b;
}

html.mobile-view body:not(.admin-page) {
    background-color: var(--tofik-mobile-bg);
}

html.mobile-view body:not(.admin-page)::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: env(safe-area-inset-top, 0px);
    background: linear-gradient(135deg, #030712, #111827);
    pointer-events: none;
    z-index: 99;
}

html.mobile-view body:not(.admin-page) header {
    padding-top: calc(7px + env(safe-area-inset-top, 0px));
}

@media (max-width: 640px) {
    html.mobile-view body:not(.admin-page) .next-booking-card {
        margin-bottom: 12px;
        padding: 16px 14px;
        border-radius: 18px;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
    }

    html.mobile-view body:not(.admin-page) .next-booking-card::before {
        top: -54px;
        inset-inline-end: -34px;
        width: 120px;
        height: 120px;
    }

    html.mobile-view body:not(.admin-page) .next-booking-label {
        gap: 6px;
        margin-bottom: 9px;
        padding: 5px 9px;
        font-size: 11.5px;
    }

    html.mobile-view body:not(.admin-page) .next-booking-title {
        margin-bottom: 8px;
        font-size: clamp(18px, 5vw, 22px);
        line-height: 1.22;
    }

    html.mobile-view body:not(.admin-page) .next-booking-meta {
        gap: 8px;
        margin-bottom: 12px;
        font-size: 13px;
        line-height: 1.35;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        max-width: none;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown-box {
        min-height: 54px;
        padding: 7px 4px;
        border-radius: 13px;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown-box strong {
        font-size: clamp(18px, 6vw, 24px);
    }

    html.mobile-view body:not(.admin-page) .booking-countdown-box small {
        font-size: 10.5px;
        line-height: 1.1;
    }
}

@media (max-width: 360px) {
    html.mobile-view body:not(.admin-page) .next-booking-card {
        padding: 14px 12px;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown {
        gap: 5px;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown-box {
        min-height: 50px;
        padding: 6px 3px;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown-box small {
        font-size: 9.5px;
    }
}

/* Keep the header/safe-area black while the scroll canvas matches the page. */
html.mobile-view {
    background: #f3f6fa;
}

html.mobile-view:has(body.dark-mode:not(.admin-page)) {
    background: #0b111b;
}

html.mobile-view body:not(.admin-page) {
    --tofik-mobile-bg: #f3f6fa;
    --tofik-mobile-surface: #ffffff;
    --tofik-mobile-surface-soft: #f8fafc;
    --tofik-mobile-border: #dbe3ef;
    --tofik-mobile-text: #0f172a;
    --tofik-mobile-muted: #64748b;
    --tofik-mobile-gold: #d4af37;
    --tofik-mobile-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
    display: block;
    min-height: 100%;
    height: auto;
    background: var(--tofik-mobile-bg) !important;
    color: #0f172a;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-padding-bottom: calc(var(--mobile-bottom-nav) + env(safe-area-inset-bottom) + 112px);
}

html.mobile-view body.dark-mode:not(.admin-page) {
    --tofik-mobile-bg: #0b111b;
    --tofik-mobile-surface: #141b27;
    --tofik-mobile-surface-soft: #101722;
    --tofik-mobile-border: #263244;
    --tofik-mobile-text: #f8fafc;
    --tofik-mobile-muted: #aebacf;
    --tofik-mobile-gold: #e6c65a;
    --tofik-mobile-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.26);
    background: var(--tofik-mobile-bg) !important;
    color: #f8fafc;
}

html.mobile-view body:not(.admin-page) > .container,
html.mobile-view body:not(.admin-page) > main,
html.mobile-view body:not(.admin-page) #mainContent {
    background:
        radial-gradient(circle at top right, rgba(15, 23, 42, 0.06), transparent 280px),
        linear-gradient(180deg, #f8fafc 0, #ffffff 42%, #f3f6fa 100%);
    display: block;
    flex: none;
    max-width: 100vw;
    min-height: 0;
    overflow: visible;
    box-sizing: border-box;
    touch-action: auto;
}

html.mobile-view body.dark-mode:not(.admin-page) > .container,
html.mobile-view body.dark-mode:not(.admin-page) > main,
html.mobile-view body.dark-mode:not(.admin-page) #mainContent {
    background:
        radial-gradient(circle at 20% -8%, rgba(212, 175, 55, 0.12), transparent 34%),
        linear-gradient(180deg, #0f1724 0, #0b111b 250px, #0b111b 100%);
}

html.mobile-view body:not(.admin-page) header,
html.mobile-view body:not(.admin-page) header > nav,
html.mobile-view body:not(.admin-page) header > .nav-right {
    background: #000000;
    border-color: #242424;
}

html.mobile-view body:not(.admin-page) header {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

html.mobile-view body:not(.admin-page)::before {
    height: calc(90px + env(safe-area-inset-top, 0px));
    background: #000000;
    z-index: -1;
}

html.mobile-view body:not(.admin-page) header .nav-item {
    color: #ffffff;
}

html.mobile-view body:not(.admin-page) header .nav-item.active,
html.mobile-view body:not(.admin-page) header .nav-item:hover,
html.mobile-view body:not(.admin-page) header .nav-item:focus {
    background: #1d1d1d !important;
    color: #ffffff;
}

html.mobile-view body:not(.admin-page) .home-page-stack,
html.mobile-view body:not(.admin-page) .builder-custom-section,
html.mobile-view body:not(.admin-page) .hero-section,
html.mobile-view body:not(.admin-page) .section-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: visible;
}

html.mobile-view body:not(.admin-page) #worksPreview {
    overflow: visible !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
    margin-top: 14px !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-grid.works-preview-count-1 {
    grid-template-columns: minmax(0, 118px) !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-grid.works-preview-count-2 {
    grid-template-columns: repeat(2, minmax(0, 118px)) !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-card {
    position: relative !important;
    display: grid !important;
    grid-template-rows: 128px !important;
    min-width: 0 !important;
    min-height: 128px !important;
    height: 128px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #111827 !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12) !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-media,
html.mobile-view body:not(.admin-page) #worksPreview .works-preview-card:nth-child(2n) .works-preview-media,
html.mobile-view body:not(.admin-page) #worksPreview .works-preview-card:nth-child(3n) .works-preview-media {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 118 / 128 !important;
    overflow: hidden !important;
    background: #111827 !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: var(--work-image-x, 50%) var(--work-image-y, 50%) !important;
    transform-origin: var(--work-image-x, 50%) var(--work-image-y, 50%) !important;
    transform: scale(var(--work-image-zoom, 1)) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-media img.works-preview-next-img {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    opacity: 0 !important;
    transform: scale(calc(var(--work-image-zoom, 1) + .025)) !important;
    transition: opacity .34s ease, transform .48s cubic-bezier(.2, .76, .2, 1) !important;
    will-change: opacity, transform !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-media img.works-preview-next-img.is-visible {
    opacity: 1 !important;
    transform: scale(var(--work-image-zoom, 1)) !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-media img.is-fading-out {
    opacity: 1 !important;
    transform: scale(var(--work-image-zoom, 1)) !important;
    transition: none !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-card-flip-in {
    animation: none !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-card-soft-swap {
    animation: worksPreviewMobileCardSwap .58s cubic-bezier(.2, .76, .2, 1) both !important;
    animation-delay: calc(var(--preview-index, 0) * 36ms) !important;
    transform-origin: center center !important;
    will-change: transform, filter !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-card-soft-swap:nth-child(2n) {
    animation-name: worksPreviewMobileCardSwapAlt !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-card-soft-swap::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
    pointer-events: none !important;
    background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, .28) 48%, transparent 74%) !important;
    transform: translateX(-120%) !important;
    animation: worksPreviewMobileGleam .54s ease both !important;
    animation-delay: calc(var(--preview-index, 0) * 36ms + 40ms) !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-card-soft-swap .works-preview-meta {
    animation: worksPreviewMetaSoft .32s ease both !important;
    animation-delay: calc(var(--preview-index, 0) * 24ms) !important;
}

@keyframes worksPreviewMobileCardSwap {
    0% {
        transform: perspective(620px) rotateY(0) translateY(0) scale(1);
        filter: saturate(1) brightness(1);
        box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
    }

    42% {
        transform: perspective(620px) rotateY(-11deg) translateY(-4px) scale(.982);
        filter: saturate(1.08) brightness(1.04);
        box-shadow: 0 16px 30px rgba(15, 23, 42, .18);
    }

    100% {
        transform: perspective(620px) rotateY(0) translateY(0) scale(1);
        filter: saturate(1) brightness(1);
        box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
    }
}

@keyframes worksPreviewMobileCardSwapAlt {
    0% {
        transform: perspective(620px) rotateY(0) translateY(0) scale(1);
        filter: saturate(1) brightness(1);
        box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
    }

    42% {
        transform: perspective(620px) rotateY(11deg) translateY(-4px) scale(.982);
        filter: saturate(1.08) brightness(1.04);
        box-shadow: 0 16px 30px rgba(15, 23, 42, .18);
    }

    100% {
        transform: perspective(620px) rotateY(0) translateY(0) scale(1);
        filter: saturate(1) brightness(1);
        box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
    }
}

@keyframes worksPreviewMobileGleam {
    0% {
        opacity: 0;
        transform: translateX(-120%);
    }

    32% {
        opacity: .34;
    }

    100% {
        opacity: 0;
        transform: translateX(120%);
    }
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-media::after {
    content: "" !important;
    position: absolute !important;
    inset: 38% 0 0 !important;
    z-index: 2 !important;
    background: linear-gradient(to top, rgba(2, 6, 23, .82), rgba(2, 6, 23, .18), transparent) !important;
    pointer-events: none !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-meta {
    position: absolute !important;
    z-index: 3 !important;
    inset-inline: 0 !important;
    bottom: 0 !important;
    display: grid !important;
    gap: 2px !important;
    padding: 26px 8px 8px !important;
    color: #fff !important;
    background: linear-gradient(to top, rgba(2, 6, 23, .86), rgba(2, 6, 23, .22), transparent) !important;
    pointer-events: none !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-meta small {
    color: rgba(255, 255, 255, .78) !important;
    font-size: 10px !important;
}

html.mobile-view body:not(.admin-page) #worksPreview .works-preview-meta strong {
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .44) !important;
}

html.mobile-view body:not(.admin-page) .hero-section h1,
html.mobile-view body:not(.admin-page) .hero-section p,
html.mobile-view body:not(.admin-page) .about-text,
html.mobile-view body:not(.admin-page) .home-editable-text {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

html.mobile-view body:not(.admin-page) .hero-section .btn-large,
html.mobile-view body:not(.admin-page) .home-section-actions,
html.mobile-view body:not(.admin-page) .home-section-actions a {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
}

/* Portfolio cards overflow visually on iOS when the page remains a flex shell. */
html.mobile-view body.works-page:not(.admin-page) {
    display: block;
    min-height: auto;
    height: auto;
}

html.mobile-view body.works-page:not(.admin-page) > .container {
    display: block;
    flex: none;
    min-height: 0;
    overflow: visible;
}

/* Premium mobile appointment card. */
html.mobile-view body:not(.admin-page) #myAppointmentsSection {
    padding: 18px 14px !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 0 0, rgba(212, 175, 55, .13), transparent 34%),
        linear-gradient(180deg, #fffdf8 0%, #f6f9fc 78%) !important;
    border-color: #dce5f0 !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .10) !important;
}

html.mobile-view body:not(.admin-page) #myAppointmentsSection > h2 {
    margin: 0 0 16px !important;
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1.15 !important;
    color: #101828 !important;
    text-align: start !important;
}

html.mobile-view body:not(.admin-page) .next-booking-card {
    margin: 0 0 14px !important;
    padding: 20px 18px 18px !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, .14), transparent 36%),
        linear-gradient(145deg, #050505 0%, #111318 68%, #050505 100%) !important;
    box-shadow: 0 20px 42px rgba(15, 23, 42, .26) !important;
}

html.mobile-view body:not(.admin-page) .next-booking-card::before {
    left: -56px !important;
    top: -62px !important;
    width: 150px !important;
    height: 150px !important;
    inset-inline-end: auto !important;
}

html.mobile-view body:not(.admin-page) .next-booking-card::after {
    background: linear-gradient(120deg, transparent 0 54%, rgba(212, 175, 55, .08)) !important;
}

html.mobile-view body:not(.admin-page) .next-booking-label {
    min-height: 32px !important;
    margin: 0 0 14px !important;
    padding: 7px 14px !important;
    border-radius: 999px !important;
    background: #f8e7af !important;
    color: #111827 !important;
    font-size: 12px !important;
    box-shadow: 0 10px 22px rgba(212, 175, 55, .16) !important;
}

html.mobile-view body:not(.admin-page) .next-booking-title {
    margin: 0 0 9px !important;
    color: #fff !important;
    font-size: clamp(22px, 7.4vw, 29px) !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
}

html.mobile-view body:not(.admin-page) .next-booking-meta {
    margin: 0 0 18px !important;
    gap: 6px 10px !important;
    color: #d8dee8 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

html.mobile-view body:not(.admin-page) .next-booking-date-card {
    display: grid !important;
    justify-self: end !important;
    width: 76px !important;
    height: 84px !important;
    border-radius: 22px !important;
    margin-bottom: 14px !important;
}

html.mobile-view body:not(.admin-page) .booking-countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    max-width: none !important;
    width: 100% !important;
    direction: ltr !important;
}

html.mobile-view body:not(.admin-page) .booking-countdown-box {
    min-height: 62px !important;
    padding: 10px 5px !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, .08) !important;
    border-color: rgba(255, 255, 255, .14) !important;
}

html.mobile-view body:not(.admin-page) .booking-countdown-box strong {
    color: #fff !important;
    font-size: clamp(20px, 7vw, 25px) !important;
}

html.mobile-view body:not(.admin-page) .booking-countdown-box small {
    color: rgba(255, 255, 255, .72) !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
}

html.mobile-view body:not(.admin-page) .appointment-item {
    margin-bottom: 10px !important;
    padding: 16px !important;
    display: grid !important;
    gap: 12px !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    border-right: 5px solid #101828 !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .08) !important;
}

html.mobile-view body:not(.admin-page) .appointment-item > div:first-child {
    display: grid !important;
    gap: 8px !important;
    width: 100% !important;
}

html.mobile-view body:not(.admin-page) .appointment-item > div:last-child {
    justify-self: start !important;
}

html.mobile-view body:not(.admin-page) .appointment-item-main {
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 !important;
}

html.mobile-view body:not(.admin-page) .appointment-item-status {
    justify-self: start !important;
}

html.mobile-view body:not(.admin-page) .appointment-extra-notes {
    display: grid !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    justify-self: stretch !important;
}

html.mobile-view body:not(.admin-page) .appointment-item small:first-of-type {
    line-height: 1.5 !important;
    color: #64748b !important;
    font-weight: 900 !important;
}

html.mobile-view body:not(.admin-page) .appointment-status-pill {
    min-height: 34px !important;
    padding: 7px 13px !important;
    font-size: 12px !important;
}

html.mobile-view body:not(.admin-page) .appointment-admin-note {
    margin-top: 4px !important;
    padding: 11px 13px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #475467 !important;
}

@media (max-width: 360px) {
    html.mobile-view body:not(.admin-page) #myAppointmentsSection {
        padding: 16px 12px !important;
    }

    html.mobile-view body:not(.admin-page) .next-booking-card {
        padding: 18px 14px 16px !important;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown {
        gap: 6px !important;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown-box {
        min-height: 56px !important;
        padding: 8px 4px !important;
    }
}

/* Compact premium mobile appointment card. */
html.mobile-view body:not(.admin-page) #myAppointmentsSection {
    padding: 15px 12px 18px !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 100% 0, rgba(212, 175, 55, .10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08) !important;
    box-sizing: border-box !important;
}

html.mobile-view body:not(.admin-page) #myAppointmentsSection > h2 {
    margin: 0 0 13px !important;
    font-size: clamp(20px, 5.9vw, 24px) !important;
    line-height: 1.16 !important;
}

html.mobile-view body:not(.admin-page) .next-booking-card {
    margin: 0 0 10px !important;
    padding: 13px 12px 12px !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, .10), transparent 32%),
        linear-gradient(145deg, #070809 0%, #101217 62%, #070809 100%) !important;
    box-shadow: 0 16px 30px rgba(15, 23, 42, .20) !important;
    box-sizing: border-box !important;
}

html.mobile-view body:not(.admin-page) .next-booking-card::before {
    left: -42px !important;
    top: -46px !important;
    width: 108px !important;
    height: 108px !important;
    opacity: .74 !important;
}

html.mobile-view body:not(.admin-page) .next-booking-card::after {
    background: linear-gradient(120deg, transparent 0 64%, rgba(212, 175, 55, .07)) !important;
}

html.mobile-view body:not(.admin-page) .next-booking-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
}

html.mobile-view body:not(.admin-page) .next-booking-copy {
    display: grid !important;
    gap: 6px !important;
}

html.mobile-view body:not(.admin-page) .next-booking-label {
    min-height: 26px !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: #f6e4ad !important;
    color: #111827 !important;
    font-size: 10.5px !important;
    line-height: 1.1 !important;
    box-shadow: 0 8px 18px rgba(212, 175, 55, .13) !important;
    box-sizing: border-box !important;
}

html.mobile-view body:not(.admin-page) .next-booking-title {
    margin: 0 !important;
    max-width: 100% !important;
    font-size: clamp(18px, 5.25vw, 21px) !important;
    line-height: 1.16 !important;
    color: #fff !important;
}

html.mobile-view body:not(.admin-page) .next-booking-title br {
    display: none !important;
}

html.mobile-view body:not(.admin-page) .next-booking-meta {
    margin: 0 !important;
    gap: 5px 8px !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    color: rgba(248, 250, 252, .78) !important;
}

html.mobile-view body:not(.admin-page) .next-booking-side {
    display: grid !important;
    gap: 0 !important;
}

html.mobile-view body:not(.admin-page) .next-booking-date-card {
    display: none !important;
}

html.mobile-view body:not(.admin-page) .booking-countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px !important;
    width: 100% !important;
    padding-top: 9px !important;
    border-top: 1px solid rgba(255, 255, 255, .10) !important;
    direction: ltr !important;
}

html.mobile-view body:not(.admin-page) .booking-countdown-box {
    min-height: 46px !important;
    padding: 5px 3px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .075) !important;
    border-color: rgba(255, 255, 255, .12) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important;
    box-sizing: border-box !important;
}

html.mobile-view body:not(.admin-page) .booking-countdown-box strong {
    font-size: clamp(16px, 5.1vw, 20px) !important;
    line-height: 1 !important;
}

html.mobile-view body:not(.admin-page) .booking-countdown-box small {
    font-size: 8.5px !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere !important;
}

html.mobile-view body:not(.admin-page) .appointment-item {
    margin: 0 0 8px !important;
    padding: 12px !important;
    border-radius: 19px !important;
    border: 1px solid #e2e8f0 !important;
    border-inline-end: 4px solid #101828 !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .07) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

html.mobile-view body:not(.admin-page) .appointment-item-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: start !important;
    padding: 0 !important;
}

html.mobile-view body:not(.admin-page) .appointment-service-name {
    font-size: 16px !important;
    line-height: 1.25 !important;
}

html.mobile-view body:not(.admin-page) .appointment-time-line {
    gap: 6px !important;
    font-size: 12px !important;
}

html.mobile-view body:not(.admin-page) .appointment-time-line span {
    padding: 4px 8px !important;
    border-radius: 999px !important;
}

html.mobile-view body:not(.admin-page) .appointment-item-status {
    width: auto !important;
    justify-self: start !important;
    align-self: start !important;
    display: flex !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
}

html.mobile-view body:not(.admin-page) .appointment-status-pill {
    min-height: 30px !important;
    max-width: 100% !important;
    padding: 5px 11px !important;
    font-size: 11.5px !important;
    transform: none !important;
    box-sizing: border-box !important;
}

html.mobile-view body:not(.admin-page) .appointment-extra-notes {
    width: 100% !important;
    margin: 2px 0 0 !important;
    gap: 7px !important;
}

html.mobile-view body:not(.admin-page) .appointment-admin-note {
    margin: 0 !important;
    padding: 8px 10px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

@media (max-width: 380px) {
    html.mobile-view body:not(.admin-page) #myAppointmentsSection {
        padding: 13px 10px 16px !important;
    }

    html.mobile-view body:not(.admin-page) .next-booking-card {
        padding: 14px 12px 13px !important;
        border-radius: 20px !important;
    }

    html.mobile-view body:not(.admin-page) .next-booking-title {
        font-size: clamp(19px, 5.7vw, 22px) !important;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown {
        gap: 5px !important;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown-box {
        min-height: 47px !important;
        padding: 6px 2px !important;
    }

    html.mobile-view body:not(.admin-page) .booking-countdown-box small {
        font-size: 9px !important;
    }
}

/* Booking form professional refresh. */
body:has(#bookingFormContainer) {
    --booking-page-bg: #f3f5f7;
    --booking-card-bg: #ffffff;
    --booking-ink: #111111;
    --booking-muted: #667085;
    --booking-line: #d9e0e8;
    --booking-soft: #f7f9fb;
    --booking-accent: #d4af37;
    --booking-success: #0f766e;
    --booking-danger: #b42318;
    --booking-shadow: 0 22px 56px rgba(17, 24, 39, 0.11);
    background:
        radial-gradient(circle at 14% 8%, rgba(212, 175, 55, 0.11), transparent 260px),
        linear-gradient(180deg, #ffffff 0, var(--booking-page-bg) 46%, #ffffff 100%);
}

body.dark-mode:has(#bookingFormContainer) {
    --booking-page-bg: #111111;
    --booking-card-bg: #1b1b1b;
    --booking-ink: #f7f7f7;
    --booking-muted: #c6c6c6;
    --booking-line: #353535;
    --booking-soft: #242424;
    --booking-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    background: linear-gradient(180deg, #101010 0, #161616 58%, #101010 100%);
}

html.customer-embedded body:has(#bookingFormContainer) {
    background:
        radial-gradient(circle at 12% 0, rgba(212, 175, 55, 0.10), transparent 240px),
        linear-gradient(180deg, #ffffff 0, #f5f7fa 100%);
}

html.customer-embedded body.dark-mode:has(#bookingFormContainer) {
    background: #151515;
}

body:has(#bookingFormContainer) .container {
    width: 100%;
    max-width: 1040px;
    padding: 34px 24px 74px;
}

html.customer-embedded body:has(#bookingFormContainer) .container {
    padding-top: 18px;
    padding-bottom: 42px;
}

#bookingFormContainer {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(217, 224, 232, 0.95);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
        var(--booking-card-bg);
    color: var(--booking-ink);
    box-shadow: var(--booking-shadow);
}

#bookingFormContainer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, #050505, #2a2a2a 44%, var(--booking-accent));
}

#bookingFormContainer.booking-form-ready {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 52px 34px;
    box-sizing: border-box;
}

#bookingFormContainer h1,
#bookingFormContainer .subtitle,
#bookingFormContainer .prepayment-panel,
#bookingFormContainer .booking-field-services,
#bookingFormContainer .booking-schedule-grid,
#bookingFormContainer .booking-field-notes,
#bookingFormContainer .booking-final-panel,
#bookingFormContainer #submitBookBtn,
#bookingFormContainer #loader,
#bookingFormContainer .policy-note {
    grid-column: 1 / -1;
}

#bookingFormContainer h1 {
    margin: 0;
    color: var(--booking-ink) !important;
    font-size: clamp(31px, 3vw, 42px);
    line-height: 1.12;
    text-align: center;
    letter-spacing: 0;
}

#bookingFormContainer .subtitle {
    max-width: 620px;
    margin: -8px auto 8px;
    color: var(--booking-muted) !important;
    font-size: 15.5px;
    line-height: 1.75;
    text-align: center;
}

#bookingFormContainer .prepayment-panel {
    margin: 0;
    padding: 20px;
    border-color: rgba(212, 175, 55, 0.5);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(5, 5, 5, 0.98), rgba(31, 31, 31, 0.96)),
        #111111;
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.16);
}

#bookingFormContainer .prepayment-panel strong {
    color: #ffffff;
}

#bookingFormContainer .prepayment-panel p {
    color: rgba(255, 255, 255, 0.88);
}

#bookingFormContainer .prepayment-panel small {
    color: rgba(255, 255, 255, 0.74);
}

#bookingFormContainer .booking-field {
    display: grid;
    gap: 9px;
    align-content: start;
}

#bookingFormContainer .booking-field label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--booking-ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.4;
}

#bookingFormContainer .booking-field > label::before {
    content: "edit_calendar";
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #111111;
    color: #ffffff;
    font-family: "Material Symbols Outlined";
    font-size: 18px;
    line-height: 1;
}

#bookingFormContainer .booking-field-services > label::before { content: "content_cut"; }
#bookingFormContainer .booking-field-date > label::before { content: "calendar_month"; }
#bookingFormContainer .booking-field-time > label::before { content: "schedule"; }
#bookingFormContainer .booking-field-notes > label::before { content: "stylus_note"; }

#bookingFormContainer .booking-schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#bookingFormContainer .booking-input-shell {
    position: relative;
    min-width: 0;
}

#bookingFormContainer .booking-input-shell > .material-symbols-outlined {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 15px;
    z-index: 1;
    color: #6b7280;
    font-size: 22px;
    transform: translateY(-50%);
    pointer-events: none;
}

#bookingFormContainer .booking-input-shell input {
    padding-inline-start: 48px;
}

#bookingFormContainer input,
#bookingFormContainer select,
#bookingFormContainer textarea {
    min-height: 54px;
    border: 1px solid var(--booking-line);
    border-radius: 8px;
    background: var(--booking-soft);
    color: var(--booking-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

#bookingFormContainer input:focus,
#bookingFormContainer select:focus,
#bookingFormContainer textarea:focus {
    border-color: #111111;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08), 0 12px 26px rgba(17, 24, 39, 0.08);
}

#bookingFormContainer .time-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    max-width: none;
}

#bookingFormContainer .time-group select {
    text-align: center;
    font-weight: 900;
}

#bookingFormContainer .time-separator {
    min-width: 12px;
    color: var(--booking-ink);
    font-size: 22px;
    line-height: 1;
}

#bookingFormContainer textarea {
    min-height: 112px;
    resize: vertical;
}

#bookingFormContainer .service-choice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 238px), 1fr));
    gap: 12px;
    margin: 0;
}

#bookingFormContainer .service-choice {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 76px;
    padding: 15px;
    border: 1px solid var(--booking-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--booking-ink);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#bookingFormContainer .service-choice:hover {
    transform: translateY(-1px);
    border-color: rgba(17, 17, 17, 0.35);
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.10);
}

#bookingFormContainer .service-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#bookingFormContainer .service-choice-check {
    flex: none;
    min-width: 34px;
    box-sizing: border-box;
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #f8fafc;
    color: transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

#bookingFormContainer .service-choice-check .material-symbols-outlined {
    display: block;
    flex: none;
    font-size: 21px;
    line-height: 1;
}

#bookingFormContainer .service-choice input:focus-visible + .service-choice-check {
    outline: 3px solid rgba(212, 175, 55, 0.32);
    outline-offset: 2px;
}

#bookingFormContainer .service-choice-body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

#bookingFormContainer .service-choice-name {
    color: inherit;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

#bookingFormContainer .service-choice-meta {
    color: var(--booking-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

#bookingFormContainer .service-choice:has(input:checked) {
    border-color: #111111;
    background: linear-gradient(135deg, #050505, #1d1d1d);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.18);
}

#bookingFormContainer .service-choice:has(input:checked) .service-choice-check {
    border-color: rgba(255, 255, 255, 0.24);
    background: var(--booking-accent);
    color: #111111;
}

#bookingFormContainer .service-choice:has(input:checked) .service-choice-meta {
    color: rgba(255, 255, 255, 0.72);
}

#bookingFormContainer .booking-final-panel {
    grid-template-columns: minmax(0, 1.04fr) minmax(260px, 0.96fr);
    gap: 14px;
    margin: 2px 0 0;
}

#bookingFormContainer .booking-availability,
#bookingFormContainer .booking-price-summary {
    min-height: 76px;
    margin: 0;
    border-radius: 8px;
}

#bookingFormContainer .booking-availability {
    display: none;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px;
    background: #ffffff;
    border-color: var(--booking-line);
}

#bookingFormContainer .booking-availability.active {
    display: grid;
}

#bookingFormContainer .booking-availability-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef2f7;
    color: #111111;
    font-size: 21px;
}

#bookingFormContainer .booking-availability strong,
#bookingFormContainer .booking-availability span {
    margin: 0;
}

#bookingFormContainer .booking-availability strong {
    color: var(--booking-ink);
    font-size: 15px;
}

#bookingFormContainer .booking-availability span {
    color: var(--booking-muted);
    font-size: 13px;
    line-height: 1.55;
}

#bookingFormContainer .booking-availability.ready .booking-availability-icon {
    background: #dff7ef;
    color: var(--booking-success);
}

#bookingFormContainer .booking-availability.warning .booking-availability-icon {
    background: #fff4d8;
    color: #9a6700;
}

#bookingFormContainer .booking-availability.blocked .booking-availability-icon {
    background: #fee4e2;
    color: var(--booking-danger);
}

#bookingFormContainer .booking-price-summary {
    display: none;
    align-items: center;
    justify-content: stretch;
    padding: 17px 18px;
    background: linear-gradient(135deg, #050505, #202020);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.15);
}

#bookingFormContainer .booking-price-summary.active {
    display: grid;
}

#bookingFormContainer .booking-price-summary span {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

#bookingFormContainer .booking-price-summary strong {
    color: inherit;
    font-size: 16px;
}

#bookingFormContainer .booking-price-summary small {
    color: rgba(255, 255, 255, 0.72);
}

#bookingFormContainer #submitBookBtn {
    justify-self: center;
    width: min(100%, 430px);
    min-height: 54px;
    margin: 4px 0 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #050505, #1f1f1f);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.18);
}

#bookingFormContainer #submitBookBtn:not(:disabled):hover {
    background: linear-gradient(135deg, #111111, #2b2b2b);
    transform: translateY(-1px);
}

#bookingFormContainer #submitBookBtn:disabled {
    background: #a5abb3;
    color: #ffffff;
    opacity: 1;
    box-shadow: none;
}

#bookingFormContainer .policy-note {
    max-width: none;
    margin: 0;
    padding: 15px 16px;
    border: 1px solid #ead7a7;
    border-radius: 8px;
    background: #fffaf0;
    color: #5f4b1f;
    text-align: start;
}

#bookingFormContainer .policy-note strong {
    color: #33250a;
}

body.dark-mode #bookingFormContainer {
    background: linear-gradient(180deg, #1c1c1c, #171717);
    border-color: var(--booking-line);
}

body.dark-mode #bookingFormContainer input,
body.dark-mode #bookingFormContainer select,
body.dark-mode #bookingFormContainer textarea,
body.dark-mode #bookingFormContainer .service-choice,
body.dark-mode #bookingFormContainer .booking-availability {
    background: var(--booking-soft);
    border-color: var(--booking-line);
    color: var(--booking-ink);
}

body.dark-mode #bookingFormContainer input:focus,
body.dark-mode #bookingFormContainer select:focus,
body.dark-mode #bookingFormContainer textarea:focus {
    background: #202020;
    border-color: #f5f5f5;
}

body.dark-mode #bookingFormContainer .service-choice-check {
    background: #181818;
    border-color: #4b4b4b;
}

body.dark-mode #bookingFormContainer .policy-note {
    background: #211e17;
    border-color: #6f5a24;
    color: #ead7a7;
}

body.dark-mode #bookingFormContainer .policy-note strong {
    color: #fff3cf;
}

@media (max-width: 760px) {
    body:has(#bookingFormContainer) .container,
    html.customer-embedded body:has(#bookingFormContainer) .container {
        max-width: 520px;
        padding: 14px 10px 34px;
    }

    #bookingFormContainer.booking-form-ready,
    html.mobile-view #bookingFormContainer.booking-form-ready {
        display: block;
        max-width: 100%;
        padding: 28px 14px 16px;
        border-radius: 8px;
    }

    #bookingFormContainer h1,
    html.mobile-view #bookingFormContainer h1 {
        font-size: clamp(25px, 7vw, 31px);
    }

    #bookingFormContainer .subtitle,
    html.mobile-view #bookingFormContainer .subtitle {
        max-width: 330px;
        margin: 8px auto 20px;
        font-size: 13.5px;
        line-height: 1.55;
    }

    #bookingFormContainer .prepayment-panel,
    #bookingFormContainer .booking-field,
    #bookingFormContainer .booking-schedule-grid,
    #bookingFormContainer .booking-final-panel,
    #bookingFormContainer .policy-note,
    html.mobile-view #bookingFormContainer .prepayment-panel,
    html.mobile-view #bookingFormContainer .booking-field,
    html.mobile-view #bookingFormContainer .booking-schedule-grid,
    html.mobile-view #bookingFormContainer .booking-final-panel,
    html.mobile-view #bookingFormContainer .policy-note {
        margin-top: 14px;
    }

    #bookingFormContainer .booking-schedule-grid,
    html.mobile-view #bookingFormContainer .booking-schedule-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #bookingFormContainer .service-choice-list,
    html.mobile-view #bookingFormContainer .service-choice-list {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    #bookingFormContainer .service-choice,
    html.mobile-view #bookingFormContainer .service-choice {
        min-height: 66px;
        padding: 12px;
        padding-inline-start: 12px;
        border-radius: 8px;
        font-size: 14px;
    }

    html.mobile-view #bookingFormContainer .service-choice::before,
    html.mobile-view #bookingFormContainer .service-choice::after {
        content: none;
        display: none;
    }

    html.mobile-view #bookingFormContainer .service-choice input {
        position: absolute;
        inset: auto;
        width: 1px;
        min-width: 1px;
        height: 1px;
        min-height: 1px;
        opacity: 0;
        transform: none;
    }

    #bookingFormContainer .service-choice-check,
    html.mobile-view #bookingFormContainer .service-choice-check {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    #bookingFormContainer .service-choice-name,
    html.mobile-view #bookingFormContainer .service-choice-name {
        font-size: 15px;
    }

    #bookingFormContainer .service-choice-meta,
    html.mobile-view #bookingFormContainer .service-choice-meta {
        font-size: 11.5px;
    }

    #bookingFormContainer .booking-final-panel,
    html.mobile-view #bookingFormContainer .booking-final-panel {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #bookingFormContainer .booking-availability,
    #bookingFormContainer .booking-price-summary,
    html.mobile-view #bookingFormContainer .booking-availability,
    html.mobile-view #bookingFormContainer .booking-price-summary {
        min-height: auto;
        padding: 14px;
    }

    #bookingFormContainer .time-group,
    html.mobile-view #bookingFormContainer .time-group {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 8px;
    }

    #bookingFormContainer input,
    #bookingFormContainer select,
    #bookingFormContainer textarea,
    html.mobile-view #bookingFormContainer #bookDate,
    html.mobile-view #bookingFormContainer .time-group select,
    html.mobile-view #bookingFormContainer textarea {
        min-height: 50px;
        border-radius: 8px;
    }

    #bookingFormContainer textarea,
    html.mobile-view #bookingFormContainer textarea {
        min-height: 96px;
    }

    #bookingFormContainer #submitBookBtn,
    html.mobile-view #bookingFormContainer #submitBookBtn {
        width: 100%;
        min-height: 52px;
        margin-top: 14px;
        border-radius: 8px;
    }
}

@media (max-width: 360px) {
    #bookingFormContainer.booking-form-ready,
    html.mobile-view #bookingFormContainer.booking-form-ready {
        padding-inline: 11px;
    }

    #bookingFormContainer .booking-field label,
    html.mobile-view #bookingFormContainer .booking-field label {
        font-size: 13px;
    }
}

/* Shop and cart phone refresh. */
@media (max-width: 820px) {
    html.mobile-view.customer-embedded body:not(.admin-page) {
        min-height: auto !important;
        padding-bottom: 14px !important;
    }

    html.mobile-view.customer-embedded body:not(.admin-page) > .container,
    html.mobile-view.customer-embedded body:not(.admin-page) > main.container {
        padding-bottom: 14px !important;
    }

    html.mobile-view body.shop-page:not(.admin-page) {
        --shop-phone-bg: #f4f7fb;
        --shop-phone-card: #ffffff;
        --shop-phone-border: #dbe4ee;
        --shop-phone-text: #0f172a;
        --shop-phone-muted: #667085;
        background:
            radial-gradient(circle at 100% -40px, rgba(15, 118, 110, 0.09), transparent 210px),
            linear-gradient(180deg, #ffffff 0, var(--shop-phone-bg) 220px, var(--shop-phone-bg) 100%) !important;
        color: var(--shop-phone-text);
    }

    html.mobile-view body.shop-page:not(.admin-page) > .container,
    html.mobile-view body.shop-page:not(.admin-page) > main.container {
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        padding: 18px 14px 20px !important;
        background: transparent !important;
        box-sizing: border-box;
    }

    html.mobile-view.customer-embedded body.shop-page:not(.admin-page) > .container,
    html.mobile-view.customer-embedded body.shop-page:not(.admin-page) > main.container {
        padding-top: 18px !important;
        padding-bottom: 10px !important;
    }

    html.mobile-view body.shop-page:not(.admin-page) .page-title {
        margin: 0 0 14px !important;
        text-align: center;
    }

    html.mobile-view body.shop-page:not(.admin-page) .page-title h1 {
        margin: 0 0 8px;
        color: var(--shop-phone-text);
        font-size: 28px;
        line-height: 1.18;
        font-weight: 900;
        letter-spacing: 0;
    }

    html.mobile-view body.shop-page:not(.admin-page) .page-title p {
        max-width: 27em;
        margin: 0 auto;
        color: var(--shop-phone-muted) !important;
        font-size: 14px;
        line-height: 1.55;
        font-weight: 700;
    }

    html.mobile-view body.shop-page:not(.admin-page) .shop-toolbar {
        position: relative;
        z-index: 1;
        width: 100%;
        margin: 0 0 14px !important;
    }

    html.mobile-view body.shop-page:not(.admin-page) .search-shell {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        align-items: center;
        gap: 6px;
        width: 100%;
        min-height: 54px;
        padding: 0 10px !important;
        border: 1px solid var(--shop-phone-border);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
        overflow: hidden;
        transform: none !important;
    }

    html.mobile-view body.shop-page:not(.admin-page) .search-shell:focus-within {
        border-color: #0f172a;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.11);
    }

    html.mobile-view body.shop-page:not(.admin-page) .search-icon,
    html.mobile-view body.shop-page:not(.admin-page) .search-clear {
        position: static;
        inset: auto;
        flex: none;
    }

    html.mobile-view body.shop-page:not(.admin-page) .search-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        color: #050505;
        font-size: 24px;
    }

    html.mobile-view body.shop-page:not(.admin-page) .search-input {
        width: 100% !important;
        min-width: 0;
        height: 52px;
        min-height: 52px;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        appearance: none;
        -webkit-appearance: none;
        font-size: 16px;
        font-weight: 800;
    }

    html.mobile-view body.shop-page:not(.admin-page) .search-clear {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        background: #eef2f7;
        box-shadow: none;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer.products-grid,
    html.mobile-view.compact-phone body.shop-page:not(.admin-page) #productsContainer.products-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100%;
        margin: 0 !important;
        align-items: stretch;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer > p,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer > div:not(.product-card) {
        padding: 18px 14px;
        border: 1px solid var(--shop-phone-border);
        border-radius: 18px;
        background: var(--shop-phone-card);
        color: var(--shop-phone-muted);
        font-weight: 900;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card,
    html.mobile-view.compact-phone body.shop-page:not(.admin-page) #productsContainer .product-card {
        position: relative;
        display: grid !important;
        grid-template-columns: 112px minmax(0, 1fr) !important;
        grid-template-areas:
            "media content"
            "media action";
        gap: 10px 12px;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        padding: 10px !important;
        border: 1px solid var(--shop-phone-border);
        border-radius: 18px;
        background: var(--shop-phone-card);
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
        overflow: hidden;
        box-sizing: border-box;
        transform: none !important;
    }

    html[dir="rtl"].mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card {
        grid-template-columns: minmax(0, 1fr) 112px !important;
        grid-template-areas:
            "content media"
            "action media";
    }

    html.mobile-view body.shop-page:not(.admin-page) .products-grid > .product-card:last-child:nth-child(odd),
    html.mobile-view body.shop-page:not(.admin-page) .products-grid > .product-card.is-last-unpaired {
        grid-column: auto !important;
        justify-self: stretch !important;
        width: 100% !important;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-media {
        grid-area: media;
        align-self: start;
        display: grid;
        place-items: center;
        height: 128px;
        min-height: 128px;
        max-height: 128px;
        aspect-ratio: auto;
        padding: 10px;
        border: 1px solid #eef2f7;
        border-radius: 16px;
        background: linear-gradient(180deg, #ffffff, #f8fafc);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
        overflow: hidden;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card img,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer img,
    html.mobile-view.compact-phone body.shop-page:not(.admin-page) #productsContainer img {
        width: 100% !important;
        height: 96px !important;
        max-height: 96px !important;
        margin: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 12px !important;
        background: transparent !important;
        filter: drop-shadow(0 10px 15px rgba(15, 23, 42, 0.11));
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-content {
        grid-area: content;
        display: grid;
        align-content: start;
        gap: 7px;
        min-width: 0;
        padding: 3px 2px 0;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card h3 {
        min-height: 0 !important;
        margin: 0;
        color: var(--shop-phone-text);
        font-size: 16px !important;
        line-height: 1.28;
        font-weight: 900;
        text-align: start;
        overflow-wrap: break-word;
        word-break: normal;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card .price {
        margin: 0 !important;
        color: #0b1220;
        font-size: 20px !important;
        line-height: 1.15;
        font-weight: 950;
        text-align: start;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-stock {
        margin: 0;
        padding: 5px 9px;
        border-radius: 999px;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 900;
        justify-self: start;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .info-btn {
        top: 8px;
        left: auto !important;
        right: 8px !important;
        inset-inline-start: auto !important;
        inset-inline-end: 8px !important;
        width: 34px;
        height: 34px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid rgba(219, 228, 238, 0.95);
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
        font-size: 17px;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .favorite-btn {
        position: static;
        grid-area: action;
        align-self: end;
        justify-self: start;
        inset: auto !important;
        width: 42px;
        height: 42px;
        margin: 0;
        border-radius: 14px;
        background: #f8fafc;
        border-color: #dbe4ee;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .favorite-btn .material-symbols-outlined {
        font-size: 23px;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .shop-mode-notice {
        justify-self: center;
        width: fit-content;
        max-width: 100%;
        margin: 0 0 2px;
        padding: 8px 13px;
        border: 1px solid #e2e8f0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.9);
        color: var(--shop-phone-muted);
        font-size: 13px;
        line-height: 1.3;
        font-weight: 850;
        text-align: center;
        box-shadow: 0 7px 18px rgba(15, 23, 42, 0.045);
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .btn-add {
        grid-area: action;
        align-self: start;
        width: 100% !important;
        min-height: 44px;
        margin: 0 !important;
        padding: 10px 12px;
        border-radius: 14px;
        background: #050505;
        color: #ffffff;
        font-size: 14px;
        line-height: 1.2;
        font-weight: 950;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
        white-space: normal;
    }

    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .btn-add:disabled {
        background: #cbd5e1 !important;
        color: #475569;
        box-shadow: none;
    }

    html.mobile-view body.shop-page:not(.admin-page) .favorites-toolbar {
        margin: 0 0 12px;
        padding: 12px;
        border-radius: 18px;
    }

    html.mobile-view body.cart-page:not(.admin-page) {
        --cart-phone-bg: #f4f7fb;
        --cart-phone-card: #ffffff;
        --cart-phone-border: #dbe4ee;
        --cart-phone-text: #0f172a;
        --cart-phone-muted: #667085;
        background:
            radial-gradient(circle at 0 -40px, rgba(212, 175, 55, 0.12), transparent 220px),
            linear-gradient(180deg, #ffffff 0, var(--cart-phone-bg) 220px, var(--cart-phone-bg) 100%) !important;
        color: var(--cart-phone-text);
    }

    html.mobile-view body.cart-page:not(.admin-page) > .container {
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        padding: 18px 14px 20px !important;
        background: transparent !important;
        box-sizing: border-box;
    }

    html.mobile-view.customer-embedded body.cart-page:not(.admin-page) > .container {
        padding-top: 18px !important;
        padding-bottom: 10px !important;
    }

    html.mobile-view body.cart-page:not(.admin-page) .page-title {
        margin: 0 0 14px;
    }

    html.mobile-view body.cart-page:not(.admin-page) .page-title h1 {
        margin: 0;
        color: var(--cart-phone-text);
        font-size: 28px;
        line-height: 1.18;
        font-weight: 900;
        letter-spacing: 0;
    }

    html.mobile-view body.cart-page:not(.admin-page) .cart-container {
        padding: 10px;
        border: 1px solid var(--cart-phone-border);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    }

    html.mobile-view body.cart-page:not(.admin-page) .cart-item {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "info info"
            "qty total"
            "remove remove";
        gap: 9px 10px;
        padding: 11px !important;
        margin: 0 0 10px;
        border: 1px solid var(--cart-phone-border) !important;
        border-right: 0 !important;
        border-radius: 16px !important;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
    }

    html.mobile-view body.cart-page:not(.admin-page) .cart-item:last-child {
        margin-bottom: 0;
    }

    html.mobile-view body.cart-page:not(.admin-page) .item-info {
        grid-area: info;
        display: grid;
        grid-template-columns: 62px minmax(0, 1fr) !important;
        gap: 10px;
        align-items: center;
        min-width: 0 !important;
        width: 100%;
    }

    html[dir="rtl"].mobile-view body.cart-page:not(.admin-page) .item-info {
        grid-template-columns: 62px minmax(0, 1fr) !important;
    }

    html.mobile-view body.cart-page:not(.admin-page) .item-img {
        width: 62px;
        height: 62px;
        border-radius: 14px;
        border: 1px solid #eef2f7;
        background: #ffffff;
        box-shadow: 0 7px 16px rgba(15, 23, 42, 0.055);
    }

    html.mobile-view body.cart-page:not(.admin-page) .item-details {
        min-width: 0;
    }

    html.mobile-view body.cart-page:not(.admin-page) .item-details h3 {
        margin: 0 0 4px;
        color: var(--cart-phone-text);
        font-size: 15.5px;
        line-height: 1.25;
        font-weight: 900;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
    }

    html.mobile-view body.cart-page:not(.admin-page) .item-details p {
        margin: 0 0 2px;
        color: #475569;
        font-size: 12.5px;
        font-weight: 900;
    }

    html.mobile-view body.cart-page:not(.admin-page) .item-details small {
        color: var(--cart-phone-muted) !important;
        font-size: 11.5px;
        font-weight: 800;
    }

    html.mobile-view body.cart-page:not(.admin-page) .qty-controls {
        grid-area: qty;
        justify-self: start;
        width: auto;
        min-width: 148px;
        max-width: 172px;
        min-height: 42px;
        flex: none !important;
        gap: 8px;
        padding: 4px;
        border-radius: 14px;
        background: #f8fafc;
        border: 1px solid var(--cart-phone-border);
        box-sizing: border-box;
    }

    html.mobile-view body.cart-page:not(.admin-page) .qty-btn {
        width: 38px;
        height: 34px;
        border-radius: 12px;
        color: #0284c7;
        font-size: 20px;
        box-shadow: 0 6px 12px rgba(15, 23, 42, 0.045);
    }

    html.mobile-view body.cart-page:not(.admin-page) .qty-num {
        min-width: 28px;
        color: var(--cart-phone-text);
        font-size: 18px;
        font-weight: 950;
    }

    html.mobile-view body.cart-page:not(.admin-page) .cart-line-total {
        grid-area: total;
        width: auto !important;
        justify-self: end;
        align-self: center;
        text-align: start !important;
        color: var(--cart-phone-text);
        font-size: 18px;
        line-height: 1.15;
        font-weight: 950;
    }

    html[dir="rtl"].mobile-view body.cart-page:not(.admin-page) .cart-line-total {
        justify-self: start;
    }

    html.mobile-view body.cart-page:not(.admin-page) .btn-remove {
        grid-area: remove;
        width: 100%;
        min-height: 40px;
        padding: 8px 12px;
        border-radius: 13px;
        background: #ff4d4f;
        color: #ffffff;
        font-size: 14px;
        font-weight: 950;
        box-shadow: 0 8px 18px rgba(255, 77, 79, 0.14);
    }

    html.mobile-view body.cart-page:not(.admin-page) .cart-summary {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 0;
        text-align: start;
    }

    html.mobile-view body.cart-page:not(.admin-page) .compliance-panel,
    html.mobile-view body.cart-page:not(.admin-page) .price-breakdown,
    html.mobile-view body.cart-page:not(.admin-page) .fulfillment-box,
    html.mobile-view body.cart-page:not(.admin-page) .terms-consent,
    html.mobile-view body.cart-page:not(.admin-page) .empty-cart,
    html.mobile-view body.cart-page:not(.admin-page) #loginWarning {
        border-radius: 18px !important;
        border: 1px solid var(--cart-phone-border) !important;
        background: #ffffff !important;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    }

    html.mobile-view body.cart-page:not(.admin-page) .compliance-panel {
        padding: 14px !important;
        text-align: start;
    }

    html.mobile-view body.cart-page:not(.admin-page) .compliance-panel strong {
        display: block;
        margin-bottom: 6px;
        color: var(--cart-phone-text);
        font-size: 17px;
        line-height: 1.25;
    }

    html.mobile-view body.cart-page:not(.admin-page) .compliance-panel p {
        margin: 0;
        color: #475569;
        font-size: 13px;
        line-height: 1.5;
        font-weight: 800;
    }

    html.mobile-view body.cart-page:not(.admin-page) .secure-payment-notice {
        margin-top: 12px !important;
        padding: 11px;
        border-radius: 14px;
    }

    html.mobile-view body.cart-page:not(.admin-page) .price-breakdown {
        display: grid;
        gap: 8px;
        margin: 12px 0;
        padding: 14px !important;
    }

    html.mobile-view body.cart-page:not(.admin-page) .price-row {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        color: #475569;
        font-size: 13.5px;
        font-weight: 850;
    }

    html.mobile-view body.cart-page:not(.admin-page) .price-row strong {
        color: var(--cart-phone-text);
        font-size: 16px;
        font-weight: 950;
    }

    html.mobile-view body.cart-page:not(.admin-page) .price-row.total {
        margin-top: 4px;
        padding-top: 12px;
        border-top: 1px solid #e5edf5;
        color: var(--cart-phone-text);
        font-size: 15.5px;
    }

    html.mobile-view body.cart-page:not(.admin-page) .price-breakdown small {
        margin-top: 2px;
        color: #64748b;
        font-size: 11.5px;
        line-height: 1.45;
        font-weight: 750;
        text-align: start;
    }

    html.mobile-view body.cart-page:not(.admin-page) .btn-checkout {
        min-height: 52px;
        border-radius: 16px;
        background: #050505;
        font-size: 16px;
        font-weight: 950;
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
    }

    html.mobile-view body.cart-page:not(.admin-page) .delivery-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    html.mobile-view body.cart-page:not(.admin-page) .delivery-modal {
        width: 100%;
        max-width: 480px;
        max-height: 88vh;
        border-radius: 24px 24px 0 0;
    }

    html.mobile-view body.dark-mode.shop-page:not(.admin-page),
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) {
        --shop-phone-bg: #0b111b;
        --shop-phone-card: #141b27;
        --shop-phone-border: #263244;
        --shop-phone-text: #f8fafc;
        --shop-phone-muted: #aebacf;
        --mobile-fixed-header-shield: #0b111b;
        --cart-phone-bg: #0b111b;
        --cart-phone-card: #141b27;
        --cart-phone-border: #263244;
        --cart-phone-text: #f8fafc;
        --cart-phone-muted: #aebacf;
        background: #0b111b !important;
    }

    html.mobile-view body.dark-mode.shop-page:not(.admin-page) #productsContainer .product-card,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .cart-container,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .cart-item,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .compliance-panel,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .price-breakdown,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .fulfillment-box,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .terms-consent,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .empty-cart,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) #loginWarning {
        background: #141b27 !important;
        border-color: #263244 !important;
        color: #f8fafc;
    }

    html.mobile-view body.dark-mode.shop-page:not(.admin-page) #productsContainer .product-media,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .item-img,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .qty-controls {
        background: #101722;
        border-color: #263244;
    }

    html.mobile-view body.dark-mode.shop-page:not(.admin-page) #productsContainer .product-card .price,
    html.mobile-view body.dark-mode.shop-page:not(.admin-page) #productsContainer .product-card h3,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .item-details h3,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .cart-line-total,
    html.mobile-view body.dark-mode.cart-page:not(.admin-page) .price-row strong {
        color: #f8fafc !important;
    }
}

/* First-paint phone fallback for shop/cart pages before scripts settle. */
@media (max-width: 820px) {
    body.shop-page:not(.admin-page) {
        --shop-phone-card: #ffffff;
        --shop-phone-border: #dbe4ee;
        --shop-phone-text: #0f172a;
        --shop-phone-muted: #667085;
    }

    body.shop-page:not(.admin-page) > .container,
    body.shop-page:not(.admin-page) > main.container,
    html.mobile-view body.shop-page:not(.admin-page) > .container,
    html.mobile-view body.shop-page:not(.admin-page) > main.container {
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    body.shop-page:not(.admin-page) #productsContainer.products-grid,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer.products-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        align-items: stretch;
        width: 100%;
        margin: 0 !important;
    }

    body.shop-page:not(.admin-page) #productsContainer .product-card,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card {
        display: grid !important;
        grid-template-columns: 104px minmax(0, 1fr) !important;
        grid-template-rows: auto auto;
        grid-template-areas:
            "media content"
            "media action";
        align-items: start;
        gap: 8px 12px;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        padding: 10px !important;
        border-radius: 18px;
        overflow: hidden;
        box-sizing: border-box;
        transform: none !important;
    }

    html[dir="rtl"] body.shop-page:not(.admin-page) #productsContainer .product-card,
    html[dir="rtl"].mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card {
        grid-template-columns: minmax(0, 1fr) 104px !important;
        grid-template-areas:
            "content media"
            "action media";
    }

    body.shop-page:not(.admin-page) #productsContainer .product-media,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-media {
        grid-area: media;
        align-self: start !important;
        display: grid;
        place-items: center;
        width: 100%;
        height: 128px !important;
        min-height: 128px !important;
        max-height: 128px !important;
        padding: 9px !important;
        border-radius: 16px;
        box-sizing: border-box;
        aspect-ratio: auto !important;
        overflow: hidden;
    }

    body.shop-page:not(.admin-page) #productsContainer .product-card img,
    body.shop-page:not(.admin-page) #productsContainer img,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card img,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer img {
        width: 100% !important;
        height: 90px !important;
        max-height: 90px !important;
        margin: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    body.shop-page:not(.admin-page) #productsContainer .product-content,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-content {
        grid-area: content;
        display: grid;
        align-content: start !important;
        gap: 6px;
        min-width: 0;
        padding: 2px 0 0 !important;
    }

    body.shop-page:not(.admin-page) #productsContainer .product-card h3,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card h3 {
        margin: 0;
        min-height: 0 !important;
        color: var(--shop-phone-text);
        font-size: 16px !important;
        line-height: 1.26;
        font-weight: 900;
        text-align: start;
        overflow-wrap: break-word;
        word-break: normal;
    }

    body.shop-page:not(.admin-page) #productsContainer .product-card .price,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card .price {
        margin: 0 !important;
        font-size: 19px !important;
        line-height: 1.15;
        text-align: start;
    }

    body.shop-page:not(.admin-page) #productsContainer .product-stock,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-stock {
        margin: 0;
        justify-self: start;
    }

    body.shop-page:not(.admin-page) #productsContainer .btn-add,
    html.mobile-view body.shop-page:not(.admin-page) #productsContainer .btn-add {
        grid-area: action;
        align-self: start !important;
        width: 100% !important;
        min-height: 42px;
        margin: 0 !important;
        padding: 9px 12px;
        border-radius: 14px;
        white-space: normal;
    }

    body.cart-page:not(.admin-page) {
        --cart-phone-card: #ffffff;
        --cart-phone-border: #dbe4ee;
        --cart-phone-text: #0f172a;
        --cart-phone-muted: #667085;
    }

    body.cart-page:not(.admin-page) > .container,
    html.mobile-view body.cart-page:not(.admin-page) > .container {
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    body.cart-page:not(.admin-page) .cart-container,
    html.mobile-view body.cart-page:not(.admin-page) .cart-container {
        padding: 9px !important;
        border-radius: 18px;
        box-sizing: border-box;
    }

    body.cart-page:not(.admin-page) .cart-item,
    html.mobile-view body.cart-page:not(.admin-page) .cart-item {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "info info"
            "qty total"
            "remove remove";
        gap: 8px 10px;
        padding: 10px !important;
        margin: 0 0 10px;
        border: 1px solid var(--cart-phone-border) !important;
        border-radius: 16px !important;
        box-sizing: border-box;
    }

    body.cart-page:not(.admin-page) .item-info,
    html.mobile-view body.cart-page:not(.admin-page) .item-info,
    html[dir="rtl"] body.cart-page:not(.admin-page) .item-info,
    html[dir="rtl"].mobile-view body.cart-page:not(.admin-page) .item-info {
        grid-area: info;
        display: grid !important;
        grid-template-columns: 72px minmax(0, 1fr) !important;
        align-items: start;
        gap: 10px;
        width: 100%;
        min-width: 0 !important;
    }

    body.cart-page:not(.admin-page) .item-img,
    html.mobile-view body.cart-page:not(.admin-page) .item-img {
        width: 72px !important;
        height: 72px !important;
        border-radius: 14px;
        object-fit: contain;
        object-position: center;
        box-sizing: border-box;
    }

    body.cart-page:not(.admin-page) .item-details,
    html.mobile-view body.cart-page:not(.admin-page) .item-details {
        min-width: 0;
        width: 100%;
    }

    body.cart-page:not(.admin-page) .item-details h3,
    html.mobile-view body.cart-page:not(.admin-page) .item-details h3 {
        margin: 0 0 4px;
        font-size: 15.5px;
        line-height: 1.25;
        font-weight: 900;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
    }

    body.cart-page:not(.admin-page) .qty-controls,
    html.mobile-view body.cart-page:not(.admin-page) .qty-controls {
        grid-area: qty;
        justify-self: start;
        width: auto;
        min-width: 144px;
        max-width: 170px;
        flex: none !important;
        box-sizing: border-box;
    }

    body.cart-page:not(.admin-page) .cart-line-total,
    html.mobile-view body.cart-page:not(.admin-page) .cart-line-total {
        grid-area: total;
        width: auto !important;
        justify-self: end;
        align-self: center;
        text-align: start !important;
        font-size: 18px;
        line-height: 1.15;
    }

    html[dir="rtl"] body.cart-page:not(.admin-page) .cart-line-total,
    html[dir="rtl"].mobile-view body.cart-page:not(.admin-page) .cart-line-total {
        justify-self: start;
    }

    body.cart-page:not(.admin-page) .btn-remove,
    html.mobile-view body.cart-page:not(.admin-page) .btn-remove {
        grid-area: remove;
        width: 100%;
        min-height: 40px;
        border-radius: 13px;
    }
}

/* Shop phone title polish. */
@media (max-width: 820px) {
    html.mobile-view body.shop-page:not(.admin-page) .page-title {
        position: relative;
        display: grid;
        gap: 7px;
        margin: 0 0 14px !important;
        padding: 16px 18px 17px !important;
        border: 1px solid rgba(219, 228, 238, 0.95);
        border-radius: 20px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
        text-align: start;
        overflow: hidden;
        isolation: isolate;
        z-index: 0;
    }

    html.mobile-view body.shop-page:not(.admin-page) .page-title::before {
        content: "";
        position: absolute;
        inset-inline-start: 18px;
        bottom: 0;
        width: 74px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(15, 23, 42, 0.28), rgba(15, 118, 110, 0));
        z-index: 0;
    }

    html.mobile-view body.shop-page:not(.admin-page) .page-title::after {
        content: "";
        position: absolute;
        inset-inline-end: -42px;
        top: -52px;
        width: 118px;
        height: 118px;
        border-radius: 999px;
        background: rgba(15, 118, 110, 0.08);
        z-index: 0;
        pointer-events: none;
    }

    html.mobile-view body.shop-page:not(.admin-page) .page-title h1,
    html.mobile-view body.shop-page:not(.admin-page) .page-title p {
        position: relative;
        z-index: 1;
    }

    html.mobile-view body.shop-page:not(.admin-page) .page-title h1 {
        margin: 0 !important;
        color: #0f172a;
        font-size: 25px !important;
        line-height: 1.18;
        font-weight: 950;
        letter-spacing: 0;
    }

    html.mobile-view body.shop-page:not(.admin-page) .page-title p {
        max-width: 30em;
        margin: 0 !important;
        color: #667085 !important;
        font-size: 13px !important;
        line-height: 1.5;
        font-weight: 800;
    }

    html.mobile-view body.dark-mode.shop-page:not(.admin-page) .page-title {
        border-color: #263244;
        background: linear-gradient(145deg, #141b27, #101722);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
    }

    html.mobile-view body.dark-mode.shop-page:not(.admin-page) .page-title h1 {
        color: #f8fafc;
    }

    html.mobile-view body.dark-mode.shop-page:not(.admin-page) .page-title p {
        color: #aebacf !important;
    }
}

/* Booking service selector: count-aware cards with focused option details. */
#bookingFormContainer .service-choice-list {
    --service-card-enter-x: -32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
    margin: 0;
}

html[dir="rtl"] #bookingFormContainer .service-choice-list {
    --service-card-enter-x: 32px;
}

#bookingFormContainer .service-choice-list.service-count-1 {
    grid-template-columns: minmax(0, 1fr);
}

#bookingFormContainer .service-choice-list.service-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#bookingFormContainer .service-choice-list.service-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#bookingFormContainer .service-choice-list.service-count-many {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#bookingFormContainer .service-selection-card,
#bookingFormContainer .service-selection-card.has-options {
    min-width: 0;
    grid-column: auto;
    border-radius: 10px;
    animation: bookingServiceCardEnter 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--service-index, 0) * 55ms);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

#bookingFormContainer .service-count-1 .service-selection-card {
    grid-column: 1 / -1;
}

#bookingFormContainer .service-selection-card.selected {
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14);
}

#bookingFormContainer .service-choice,
#bookingFormContainer .booking-field .service-choice,
html.mobile-view #bookingFormContainer .service-choice {
    isolation: isolate;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 88px;
    padding: 17px;
    overflow: hidden;
    border: 1px solid var(--booking-line);
    border-radius: 10px;
    background: #ffffff;
    color: var(--booking-ink);
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.07);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

#bookingFormContainer .service-choice::before,
html.mobile-view #bookingFormContainer .service-choice::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block: 0;
    inset-inline-start: 0;
    width: 4px;
    background: var(--booking-accent);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

#bookingFormContainer .service-choice::after,
html.mobile-view #bookingFormContainer .service-choice::after {
    content: none;
}

@media (hover: hover) and (pointer: fine) {
    #bookingFormContainer .service-choice:hover {
        transform: translateY(-2px);
        border-color: rgba(17, 17, 17, 0.34);
        box-shadow: 0 18px 36px rgba(17, 24, 39, 0.11);
    }
}

#bookingFormContainer .service-choice input,
html.mobile-view #bookingFormContainer .service-choice input {
    position: absolute;
    inset: auto;
    width: 1px;
    min-width: 1px;
    height: 1px;
    min-height: 1px;
    opacity: 0;
    pointer-events: none;
    transform: none;
}

#bookingFormContainer .service-choice-check,
html.mobile-view #bookingFormContainer .service-choice-check {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #f8fafc;
    color: transparent;
    box-shadow: inset 0 0 0 0 var(--booking-accent);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

#bookingFormContainer .service-choice-heading {
    display: flex;
    align-items: baseline;
    gap: 9px;
    min-width: 0;
}

#bookingFormContainer .service-choice-index {
    flex: none;
    color: #a47d14;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
}

#bookingFormContainer .service-choice-body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

#bookingFormContainer .service-choice-name,
html.mobile-view #bookingFormContainer .service-choice-name {
    flex: 0 1 auto;
    min-width: 0;
    color: inherit;
    font-size: 17px;
    font-weight: 950;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

#bookingFormContainer .service-choice-meta,
html.mobile-view #bookingFormContainer .service-choice-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 14px;
    color: var(--booking-muted);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.3;
}

#bookingFormContainer .service-choice-meta > span {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

#bookingFormContainer .service-choice-meta .material-symbols-outlined {
    font-size: 16px;
    line-height: 1;
}

#bookingFormContainer .service-choice-cue {
    display: grid;
    place-items: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    border: 1px solid var(--booking-line);
    border-radius: 9px;
    background: #f8fafc;
    color: #475569;
    font-size: 22px;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), background 220ms ease, color 220ms ease, border-color 220ms ease;
}

#bookingFormContainer .service-choice:has(input:checked),
body:not(.admin-page) #bookingFormContainer .booking-field .service-choice:has(input:checked),
html.mobile-view #bookingFormContainer .service-choice:has(input:checked) {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.18);
}

#bookingFormContainer .service-choice:has(input:checked)::before,
html.mobile-view #bookingFormContainer .service-choice:has(input:checked)::before {
    transform: scaleY(1);
}

#bookingFormContainer .service-choice:has(input:checked) .service-choice-check,
html.mobile-view #bookingFormContainer .service-choice:has(input:checked) .service-choice-check {
    transform: scale(1.04);
    border-color: var(--booking-accent);
    background: var(--booking-accent);
    color: #111111;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
}

#bookingFormContainer .service-choice:has(input:checked) .service-choice-index {
    color: var(--booking-accent);
}

#bookingFormContainer .service-choice:has(input:checked) .service-choice-meta,
html.mobile-view #bookingFormContainer .service-choice:has(input:checked) .service-choice-meta {
    color: rgba(255, 255, 255, 0.74);
}

#bookingFormContainer .service-choice:has(input:checked) .service-choice-cue {
    transform: rotate(180deg);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

#bookingFormContainer .service-selection-card.has-options.selected .service-choice {
    border-end-start-radius: 0;
    border-end-end-radius: 0;
}

#bookingFormContainer .service-count-1 .service-choice {
    min-height: 100px;
    padding: 20px;
}

#bookingFormContainer .service-count-1 .service-choice-name {
    font-size: 19px;
}

#bookingFormContainer .service-option-expand {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: grid-template-rows 440ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease, transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

#bookingFormContainer .service-selection-card.selected .service-option-expand {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#bookingFormContainer .service-option-groups,
#bookingFormContainer .service-selection-card.selected .service-option-groups {
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0 18px;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    border: 0 solid var(--booking-line);
    border-radius: 0 0 10px 10px;
    background: #ffffff;
    transform: none;
    transition: padding 360ms cubic-bezier(0.22, 1, 0.36, 1), border-width 120ms ease;
}

#bookingFormContainer .service-selection-card.selected .service-option-groups {
    padding: 20px 18px 18px;
    border-width: 0 1px 1px;
}

#bookingFormContainer .service-option-group {
    margin: 0;
    padding: 0 0 18px;
    border: 0;
}

#bookingFormContainer .service-option-group + .service-option-group {
    padding-top: 18px;
    border-top: 1px solid var(--booking-line);
}

#bookingFormContainer .service-option-group legend {
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
}

#bookingFormContainer .service-option-legend-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 14px;
    color: var(--booking-ink);
    font-size: 14px;
    font-weight: 950;
}

#bookingFormContainer .service-option-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#bookingFormContainer .service-option-badge {
    padding: 4px 7px;
    border: 1px solid #e5c860;
    border-radius: 6px;
    background: #fff9e7;
    color: #71560b;
    font-size: 10px;
    font-weight: 900;
}

#bookingFormContainer .service-option-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

#bookingFormContainer .service-option-choice {
    min-height: 66px;
    padding: 12px;
    border: 1px solid var(--booking-line);
    border-radius: 8px;
    background: #f8fafc;
    box-shadow: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    #bookingFormContainer .service-option-choice:hover {
        transform: translateY(-1px);
        border-color: #a47d14;
        background: #ffffff;
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    }
}

#bookingFormContainer .service-option-choice:has(input:checked) {
    border-color: #111111;
    background: #ffffff;
    box-shadow: inset 4px 0 0 var(--booking-accent);
}

html[dir="rtl"] #bookingFormContainer .service-option-choice:has(input:checked) {
    box-shadow: inset -4px 0 0 var(--booking-accent);
}

#bookingFormContainer .service-selection-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 2px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #111111;
    color: #ffffff;
}

#bookingFormContainer .service-selection-total span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
}

#bookingFormContainer .service-selection-total strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
}

body.dark-mode #bookingFormContainer .service-choice,
body.dark-mode #bookingFormContainer .service-option-groups,
body.dark-mode #bookingFormContainer .service-selection-card.selected .service-option-groups {
    border-color: #343434;
    background: #171717;
    color: #f8fafc;
}

body.dark-mode #bookingFormContainer .service-choice-check,
body.dark-mode #bookingFormContainer .service-choice-cue,
body.dark-mode #bookingFormContainer .service-option-choice {
    border-color: #424242;
    background: #202020;
    color: #d7d7d7;
}

body.dark-mode #bookingFormContainer .service-choice-check {
    color: transparent;
}

body.dark-mode #bookingFormContainer .service-choice:has(input:checked) .service-choice-check {
    color: #111111;
}

html.mobile-view body.dark-mode:not(.admin-page) #bookingFormContainer .booking-field .service-choice:has(input:checked) {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

body.dark-mode #bookingFormContainer .service-option-legend-content,
body.dark-mode #bookingFormContainer .service-option-copy strong {
    color: #f8fafc;
}

body.dark-mode #bookingFormContainer .service-option-choice:has(input:checked) {
    border-color: var(--booking-accent);
    background: #262626;
}

body.dark-mode #bookingFormContainer .service-option-group + .service-option-group {
    border-color: #343434;
}

body.dark-mode #bookingFormContainer .service-option-badge {
    border-color: #6f5a24;
    background: #2a2416;
    color: #f0d98e;
}

@keyframes bookingServiceCardEnter {
    from {
        opacity: 0;
        transform: translateX(var(--service-card-enter-x)) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes bookingServiceOptionsRowEnter {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

@media (min-width: 761px) {
    #bookingFormContainer .service-choice-list {
        grid-auto-flow: row dense;
    }

    #bookingFormContainer .service-selection-card,
    #bookingFormContainer .service-selection-card.has-options {
        display: contents;
        animation: none;
    }

    #bookingFormContainer .service-selection-card > .service-choice {
        min-width: 0;
        animation: bookingServiceCardEnter 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: calc(var(--service-index, 0) * 55ms);
    }

    #bookingFormContainer .service-selection-card > .service-option-expand {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
    }

    #bookingFormContainer .service-selection-card.options-active > .service-option-expand {
        display: grid;
        grid-template-rows: 1fr;
        opacity: 1;
        overflow: visible;
        transform: translateY(0);
        pointer-events: auto;
        animation: bookingServiceOptionsRowEnter 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    #bookingFormContainer .service-selection-card.has-options.selected .service-choice {
        border-radius: 10px;
    }

    #bookingFormContainer .service-selection-card.options-active .service-choice {
        border-color: var(--booking-accent);
        box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16), 0 0 0 3px rgba(212, 175, 55, 0.12);
    }

    #bookingFormContainer .service-selection-card.options-active .service-option-groups {
        padding: 22px 20px 20px;
        overflow: visible;
        border: 1px solid var(--booking-line);
        border-top: 3px solid var(--booking-accent);
        border-radius: 10px;
        box-shadow: 0 22px 46px rgba(15, 23, 42, 0.11);
    }

    body.dark-mode #bookingFormContainer .service-selection-card.options-active .service-option-groups {
        border-color: #343434;
        border-top-color: var(--booking-accent);
        box-shadow: 0 22px 46px rgba(0, 0, 0, 0.26);
    }
}

@media (min-width: 761px) and (max-width: 980px) {
    #bookingFormContainer .service-choice-list.service-count-3,
    #bookingFormContainer .service-choice-list.service-count-many {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #bookingFormContainer .service-choice-list.service-count-3 .service-selection-card:last-child > .service-choice {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    #bookingFormContainer .service-choice-list,
    #bookingFormContainer .service-choice-list.service-count-2,
    #bookingFormContainer .service-choice-list.service-count-3,
    #bookingFormContainer .service-choice-list.service-count-many,
    html.mobile-view #bookingFormContainer .service-choice-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row dense;
        gap: 9px;
    }

    #bookingFormContainer .service-choice-list.service-count-1 {
        grid-template-columns: minmax(0, 1fr);
    }

    #bookingFormContainer .service-selection-card,
    #bookingFormContainer .service-selection-card.has-options {
        display: contents;
        animation: none;
    }

    #bookingFormContainer .service-selection-card > .service-choice {
        min-width: 0;
        animation: bookingServiceCardEnter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: calc(var(--service-index, 0) * 45ms);
    }

    #bookingFormContainer .service-count-1 .service-selection-card > .service-choice {
        grid-column: 1 / -1;
    }

    #bookingFormContainer .service-selection-card > .service-option-expand {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
    }

    #bookingFormContainer .service-selection-card.options-active > .service-option-expand {
        display: grid;
        grid-template-rows: 1fr;
        opacity: 1;
        overflow: visible;
        transform: translateY(0);
        pointer-events: auto;
        animation: bookingServiceOptionsRowEnter 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    #bookingFormContainer .service-selection-card.has-options.selected .service-choice {
        border-radius: 9px;
    }

    #bookingFormContainer .service-selection-card.options-active .service-choice {
        border-color: var(--booking-accent);
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.15), 0 0 0 2px rgba(212, 175, 55, 0.12);
    }

    #bookingFormContainer .service-choice,
    #bookingFormContainer .service-count-1 .service-choice,
    html.mobile-view #bookingFormContainer .service-choice.service-choice {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 8px;
        min-width: 0;
        min-height: 116px;
        padding: 11px 9px;
        box-sizing: border-box;
        border-radius: 9px;
    }

    #bookingFormContainer .service-count-1 .service-choice-name,
    #bookingFormContainer .service-choice-name,
    html.mobile-view #bookingFormContainer .service-choice-name {
        font-size: 14px;
        line-height: 1.3;
    }

    #bookingFormContainer .service-choice-heading {
        display: grid;
        justify-items: start;
        gap: 4px;
    }

    #bookingFormContainer .service-choice-body {
        align-content: center;
        gap: 7px;
        text-align: start;
    }

    #bookingFormContainer .service-choice-check,
    html.mobile-view #bookingFormContainer .service-choice-check {
        position: relative;
        display: grid;
        place-items: center;
        place-self: center;
        width: 32px;
        min-width: 32px;
        height: 32px;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border-radius: 8px;
        line-height: 1;
    }

    #bookingFormContainer .service-choice-check .material-symbols-outlined,
    html.mobile-view #bookingFormContainer .service-choice-check .material-symbols-outlined {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 0;
        height: auto;
        margin: 0;
        overflow: visible;
        font-size: 23px;
        font-weight: 500;
        line-height: 1;
        text-align: center;
    }

    #bookingFormContainer .service-choice-cue,
    html.mobile-view #bookingFormContainer .service-choice-cue {
        display: none !important;
    }

    #bookingFormContainer .service-choice:has(input:checked) .service-choice-check,
    html.mobile-view #bookingFormContainer .service-choice:has(input:checked) .service-choice-check {
        transform: none;
    }

    #bookingFormContainer .service-choice-meta,
    html.mobile-view #bookingFormContainer .service-choice-meta {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 4px;
        font-size: 10px;
    }

    #bookingFormContainer .service-choice-meta > span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-width: 0;
        min-height: 0;
        font-weight: 850;
        line-height: 1.2;
        white-space: nowrap;
    }

    #bookingFormContainer .service-choice-meta .material-symbols-outlined {
        display: none !important;
    }

    #bookingFormContainer .service-selection-card.options-active .service-option-groups {
        padding: 17px 12px 13px;
        overflow: visible;
        border: 1px solid var(--booking-line);
        border-top: 3px solid var(--booking-accent);
        border-radius: 9px;
        box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
    }

    body.dark-mode #bookingFormContainer .service-selection-card.options-active .service-option-groups {
        border-color: #343434;
        border-top-color: var(--booking-accent);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
    }

    #bookingFormContainer .service-option-list {
        grid-template-columns: minmax(0, 1fr);
    }

    #bookingFormContainer .service-option-legend-content {
        align-items: flex-start;
        font-size: 13px;
    }

    #bookingFormContainer .service-selection-total {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 7px 12px;
        padding: 12px;
    }
}

/* Keep Android's document scroller in charge until pull-to-refresh is intentional. */
html.mobile-view.android-device:has(body.customer-home-page) {
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
    touch-action: pan-y pinch-zoom;
}

html.mobile-view.android-device body.customer-home-page:not(.customer-shell-open):not(.tofik-pull-refresh-visible) {
    position: static !important;
    width: 100%;
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    overscroll-behavior-y: auto;
    touch-action: pan-y pinch-zoom;
    -webkit-overflow-scrolling: auto;
}

html.mobile-view.android-device body.customer-home-page:not(.tofik-pull-refresh-visible) #home,
html.mobile-view.android-device body.customer-home-page:not(.tofik-pull-refresh-visible) #homePageSections {
    touch-action: pan-y pinch-zoom;
}

@media (prefers-reduced-motion: reduce) {
    #bookingFormContainer .service-selection-card {
        animation: none;
    }

    #bookingFormContainer .service-choice,
    #bookingFormContainer .service-choice-check,
    #bookingFormContainer .service-choice-cue,
    #bookingFormContainer .service-option-expand,
    #bookingFormContainer .service-option-choice {
        transition-duration: 1ms;
    }
}

/* Product filtering is application state; responsive card layouts must not override it. */
body.shop-page:not(.admin-page) #productsContainer .product-card.is-shop-hidden,
body.shop-page:not(.admin-page) #productsContainer .product-card[hidden],
html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card.is-shop-hidden,
html.mobile-view body.shop-page:not(.admin-page) #productsContainer .product-card[hidden] {
    display: none !important;
}

/* Customer signup becomes a short, touch-friendly two-step sheet on phones. */
body:not(.admin-page) .modal-content.auth-card {
    padding: 0;
}

/* Keep the close control above the positioned signup header at every size. */
#authModal #closeModalBtn {
    z-index: 5;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    font-family: inherit;
    touch-action: manipulation;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode {
    width: 100%;
    max-width: var(--mobile-shell-width);
    max-height: min(94svh, 860px);
    padding: 0;
    border-radius: 22px 22px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode::before {
    width: 52px;
    height: 5px;
    margin-top: 8px;
    border-radius: 999px;
    background: #c8ccd3;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode #signupForm {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-header {
    position: relative;
    padding: 0 38px 14px;
    border-bottom: 1px solid #e7e9ee;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-header h2 {
    margin: 0 0 6px;
    font-size: 22px;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .auth-signup-note {
    font-size: 12px;
    line-height: 1.45;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-mobile-progress {
    display: grid;
    gap: 7px;
    margin-top: 13px;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-progress-label {
    color: #475467;
    font-size: 12px;
    font-weight: 900;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-progress-track {
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4e7ec;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-progress-track > span {
    display: block;
    width: 50%;
    height: 100%;
    border-radius: inherit;
    background: #111827;
    transition: width .22s ease;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode #signupForm[data-step="2"] .signup-progress-track > span {
    width: 100%;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode #signupForm[data-step="1"] [data-signup-step="2"],
html.mobile-view body:not(.admin-page) .auth-card.signup-mode #signupForm[data-step="2"] [data-signup-step="1"] {
    display: none;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-section {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-section-heading {
    display: flex;
    margin-bottom: 12px;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-section-number {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-fields > * {
    grid-column: 1 / -1 !important;
    min-width: 0;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-verification {
    grid-column: auto;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .verification-choice.open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .verification-option {
    min-height: 48px;
    padding: 10px 12px;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-feedback-row {
    grid-column: 1 / -1 !important;
    margin: 0;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-actions {
    position: sticky;
    bottom: calc(-18px - env(safe-area-inset-bottom));
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin: 0 -18px;
    padding: 12px 18px calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid #eaecf0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-actions .btn {
    width: 100%;
    margin: 0;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-mobile-button {
    display: block;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode #signupForm[data-step="1"] #signupBackBtn,
html.mobile-view body:not(.admin-page) .auth-card.signup-mode #signupForm[data-step="1"] #signupBtn,
html.mobile-view body:not(.admin-page) .auth-card.signup-mode #signupForm[data-step="2"] #signupNextBtn {
    display: none;
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode #signupForm[data-step="2"] .signup-actions {
    grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr);
}

html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-login-prompt {
    font-size: 13px;
}

html.mobile-view body.dark-mode:not(.admin-page) .auth-card.signup-mode .signup-header,
html.mobile-view body.dark-mode:not(.admin-page) .auth-card.signup-mode .signup-actions {
    border-color: #343434;
}

html.mobile-view body.dark-mode:not(.admin-page) .auth-card.signup-mode .signup-actions {
    background: rgba(25, 25, 25, .96);
}

html.mobile-view body.dark-mode:not(.admin-page) .auth-card.signup-mode .signup-progress-track {
    background: #3a3a3a;
}

html.mobile-view body.dark-mode:not(.admin-page) .auth-card.signup-mode .signup-progress-track > span {
    background: #f5f5f5;
}

@media (prefers-reduced-motion: reduce) {
    html.mobile-view body:not(.admin-page) .auth-card.signup-mode .signup-progress-track > span {
        transition: none;
    }
}
