/* Appearance and language controls */
.header-main
{
    gap: 24px;
}
.search-box
{
    flex: 1;
    width: auto;
}
.header-actions
{
    gap: 18px;
}
.header-preferences
{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.language-switch
{
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #f5f6f0;
}
.language-switch a
{
    display: grid;
    place-items: center;
    min-width: 32px;
    min-height: 27px;
    border-radius: 20px;
    color: #707c68;
    font-size: 10px;
    font-weight: 600;
    transition: background .18s, color .18s;
}
.language-switch a.selected
{
    background: var(--green);
    color: #fff;
    box-shadow: 0 2px 4px #23473118;
}
.theme-switch
{
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 4px;
    width: 68px;
    height: 37px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #f5f6f0;
    isolation: isolate;
}
.theme-switch > span:not(.theme-switch-thumb)
{
    display: grid;
    place-items: center;
    width: 29px;
    height: 27px;
    color: #7f8a72;
}
.theme-switch .icon
{
    width: 15px;
    height: 15px;
}
.theme-switch-thumb
{
    position: absolute;
    z-index: -1;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 27px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px #24473219;
    transition: transform .2s;
}
.theme-switch[aria-checked='true'] .theme-switch-thumb
{
    transform: translateX(29px);
}
.footer-date
{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 11px;
}
.footer-date .icon
{
    width: 15px;
    height: 15px;
}
.footer-date .divider-text
{
    text-transform: capitalize;
}

/* Additional discovery sections */
.brand-focus
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f5f2e8;
    overflow: hidden;
}
.brand-focus-art
{
    position: relative;
    display: grid;
    place-items: center;
    min-height: 430px;
    background: #e8ecdf;
}
.brand-focus-word
{
    position: absolute;
    top: 45px;
    color: #c9d0b7;
    font-size: clamp(36px, 5.6vw, 80px);
    font-weight: 600;
    letter-spacing: -.065em;
}
.brand-focus-art img
{
    position: relative;
    width: 260px;
    height: 325px;
    margin-top: 40px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: rotate(-9deg);
}
.brand-focus-caption
{
    margin-bottom: 27px;
    color: #788969;
    font-size: 8px;
    letter-spacing: .2em;
}
.brand-focus-copy
{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 50px;
}
.brand-focus-copy h2
{
    margin: 20px 0;
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 400;
}
.brand-focus-copy h2 em
{
    color: #7a8967;
}
.brand-focus-copy p
{
    max-width: 365px;
    font-size: 13px;
}
.brand-focus-copy .button
{
    margin: 26px 0 18px;
}
.brand-focus-copy > .small
{
    font-size: 10px;
}
.journal-caption
{
    color: var(--muted);
    font-size: 11px;
}
.journal-grid
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.journal-card
{
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}
.journal-image
{
    position: relative;
    display: grid;
    place-items: center;
    padding: 20px;
}
.journal-green
{
    background: #eff1e6;
}
.journal-peach
{
    background: #f7eee5;
}
.journal-blue
{
    background: #ecf1f1;
}
.journal-image > span
{
    position: absolute;
    top: 20px;
    left: 20px;
    color: #828d75;
    font-size: 8px;
    letter-spacing: .12em;
}
.journal-image img
{
    width: 190px;
    height: 210px;
    margin-top: 15px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.journal-copy
{
    padding: 26px;
}
.journal-copy > .eyebrow
{
    font-size: 8px;
}
.journal-copy h3
{
    margin: 12px 0;
    font-size: 19px;
    line-height: 1.35;
}
.journal-copy p
{
    margin-bottom: 17px;
    font-size: 12px;
}
.journal-copy .text-link
{
    font-size: 11px;
}
.faq-section
{
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-block: 80px;
    padding: 45px 0;
    border-top: 1px solid var(--line);
}
.faq-intro h2
{
    margin: 18px 0;
    font-size: 32px;
    line-height: 1.25;
}
.faq-intro p
{
    margin-bottom: 15px;
    font-size: 12px;
}
.faq-list details
{
    padding: 22px 0;
}
.faq-list details:first-child
{
    border-top: 0;
}
.faq-list details:last-child
{
    border-bottom: 1px solid var(--line);
}
.faq-list summary
{
    font-size: 14px;
    font-weight: 500;
}

/* Sign-in and sign-out */
.login-layout
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1060px;
    margin: 45px auto;
    gap: 70px;
}
.login-story > h1
{
    margin: 22px 0;
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: 400;
}
.login-story h1 em
{
    color: #7a8967;
}
.login-story p
{
    margin-bottom: 26px;
    max-width: 400px;
    font-size: 13px;
}
.login-story img
{
    width: 100%;
    height: 270px;
    border-radius: 12px;
    object-position: 50% 70%;
}
.login-form
{
    padding: 38px;
}
.login-form h2
{
    margin: 15px 0 12px;
    font-size: 30px;
}
.login-form > p
{
    font-size: 12px;
}
.demo-account
{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-block: 27px;
    padding: 17px;
    border-radius: 8px;
    background: #f3f5ec;
}
.demo-account strong, .demo-account small
{
    display: block;
}
.demo-account strong
{
    font-size: 12px;
}
.demo-account small
{
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}
.demo-account .badge
{
    margin-left: auto;
    font-size: 9px;
}
.login-disclosure
{
    margin-bottom: 18px;
    font-size: 12px;
}
.login-form .check-row
{
    align-items: start;
    margin-bottom: 22px;
    font-size: 11px;
}
.login-form .check-row input
{
    margin-top: 2px;
}
.login-form > .text-link
{
    margin: 19px 0;
    font-size: 11px;
}
.login-perks
{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
}
.login-perks .icon
{
    width: 14px;
    height: 14px;
    margin-right: 3px;
}
.auth-notice
{
    margin-top: 20px;
    padding: 13px;
    border-radius: 6px;
    background: #eaf2e5;
    color: #54724b;
    font-size: 12px;
}
.form-error
{
    margin-bottom: 16px;
    color: #a44848;
    font-size: 12px;
}
.account-logout
{
    margin: 0 12px 12px;
    border-top: 1px solid var(--line);
}
.account-logout button
{
    width: 100%;
    color: #976c62;
}
.account-logout-mobile
{
    display: none;
}

/* Products saved for support */
.support-products
{
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}
.support-products-heading
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.support-products h3, .message-products h3
{
    font-size: 14px;
}
.support-product-list
{
    max-height: 280px;
    overflow-y: auto;
}
.support-product
{
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
}
.support-product:last-child
{
    border-bottom: 0;
}
.support-product img
{
    width: 48px;
    height: 56px;
    flex-shrink: 0;
    object-fit: contain;
    padding: 4px;
    background: #f4f5f0;
    border-radius: 6px;
}
.support-product-copy
{
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.support-product a
{
    font-size: 12px;
    font-weight: 600;
}
.support-product small
{
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 3px;
}
.support-product .text-button
{
    font-size: 11px;
    padding: 8px 0;
    flex-shrink: 0;
}
.ticket-products
{
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 18px;
}
.ticket-products legend
{
    padding-inline: 5px;
    font-size: 13px;
    font-weight: 600;
}
.ticket-products input[type='checkbox']
{
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--green);
}
.message-products
{
    padding: 15px;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}
.support-panel .support-products
{
    margin: 0 16px 14px;
    padding: 14px;
}
.support-panel .support-product-list
{
    max-height: 200px;
}
.support-panel .support-ticket-link
{
    width: calc(100% - 32px);
    margin-inline: 16px;
    margin-bottom: 10px;
}
.support-selection-count
{
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding-inline: 5px;
    border-radius: 50%;
    background: #fff;
    color: #254d42;
    font-size: 11px;
}

/* Floating support */
.support-widget
{
    position: fixed;
    right: 25px;
    bottom: 22px;
    z-index: 30;
}
.support-launcher
{
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 51px;
    padding: 15px 19px;
    border: 1px solid #446955;
    border-radius: 28px;
    background: #254d42;
    color: #fff;
    box-shadow: 0 6px 25px #193e3126;
    font-size: 12px;
}
.support-launcher i
{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #bdd0a6;
}
.support-panel
{
    position: absolute;
    bottom: 66px;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 15px 60px #20332a26;
}
.support-panel > header
{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    border-bottom: 1px solid var(--line);
}
.support-panel h2
{
    font-size: 17px;
}
.support-panel header p
{
    margin-top: 5px;
    font-size: 10px;
}
.support-panel header .icon-button
{
    margin-left: auto;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.support-channels
{
    padding: 9px;
}
.support-channel
{
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 17px 14px;
    border-radius: 8px;
    text-align: left;
}
.support-channel:hover:not(:disabled)
{
    background: var(--sage);
}
.support-channel:disabled
{
    cursor: not-allowed;
    color: var(--muted);
}
.support-chat
{
    padding: 16px;
}
.support-chat-heading
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 12px;
}
.support-chat-form
{
    display: grid;
    gap: 10px;
    margin-block: 14px;
}
.support-chat-form label, .support-chat summary
{
    font-size: 12px;
}
.support-chat-form input, .support-chat-form textarea
{
    width: 100%;
    min-width: 0;
    font-size: 16px;
}
.support-chat-form textarea
{
    resize: vertical;
    min-height: 80px;
    max-height: 160px;
}
.support-chat .support-products
{
    margin: 10px 0 0;
}
.support-chat-messages
{
    max-height: min(270px, 30dvh);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin-block: 12px;
}
.support-chat-message
{
    padding: 12px;
    margin: 8px 0 8px 24px;
    border-radius: 12px 12px 3px 12px;
    background: var(--sage);
    overflow-wrap: anywhere;
    font-size: 13px;
}
.support-chat-answer
{
    margin-inline: 0 24px;
    border: 1px solid var(--line);
    border-radius: 12px 12px 12px 3px;
    background: var(--surface);
}
.support-chat-message p
{
    white-space: pre-wrap;
    margin-block: 5px;
}
.support-chat-message time, .support-chat-message strong
{
    font-size: 10px;
}
.support-chat-message time, .support-chat-hint
{
    color: var(--muted);
}
.support-chat-products p
{
    overflow-wrap: anywhere;
    font-size: 12px;
    margin-block: 8px;
}
.support-channel > .icon
{
    color: #7a9270;
}
.support-channel > .icon:last-child
{
    width: 14px;
    margin-left: auto;
}
.support-channel strong, .support-channel small
{
    display: block;
}
.support-channel strong
{
    font-size: 12px;
    font-weight: 500;
}
.support-channel small
{
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}
.support-disclosure
{
    display: block;
    padding: 12px;
    background: var(--sage);
    color: var(--muted);
    font-size: 9px;
    text-align: center;
}
.live-chat-messages
{
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 330px;
    min-height: 170px;
    overflow-y: auto;
    padding: 8px 0 20px;
}
.live-chat-messages p
{
    max-width: 90%;
    padding: 14px;
    border-radius: 10px;
    overflow-wrap: anywhere;
    font-size: 12px;
}
.chat-system
{
    background: var(--sage);
}
.live-chat-messages .chat-user
{
    align-self: end;
    color: white;
    background: #376451;
}
.live-chat-form
{
    display: flex;
    align-items: end;
    gap: 10px;
}
.live-chat-form textarea
{
    width: 100%;
}

/* Dark surfaces keep the original product photography intact. */
:root[data-theme='dark']
{
    --ink: #e3e8dd;
    --muted: #a8b2a1;
    --green: #4e785d;
    --green-hover: #608d6b;
    --line: #354237;
    --canvas: #151d18;
    --surface: #1d2820;
    --sage: #29372a;
    color-scheme: dark;
}
[data-theme='dark'] .store-header,
[data-theme='dark'] .account-sidebar,
[data-theme='dark'] .button.secondary,
[data-theme='dark'] .compact-search,
[data-theme='dark'] .account-metrics > a,
[data-theme='dark'] input,
[data-theme='dark'] select,
[data-theme='dark'] textarea,
[data-theme='dark'] .dialog
{
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line);
}
[data-theme='dark'] .search-box,
[data-theme='dark'] .language-switch,
[data-theme='dark'] .theme-switch,
[data-theme='dark'] .filter-note,
[data-theme='dark'] .count-pill,
[data-theme='dark'] .payment-preview,
[data-theme='dark'] .demo-account,
[data-theme='dark'] .size-choice
{
    background: #253126;
    color: #bbc8ad;
    border-color: var(--line);
}
[data-theme='dark'] .theme-switch-thumb
{
    background: #5a7852;
}
[data-theme='dark'] .theme-switch > span:not(.theme-switch-thumb)
{
    color: #d6e0c9;
}
[data-theme='dark'] .search-box input,
[data-theme='dark'] .compact-search input,
[data-theme='dark'] .newsletter-field input
{
    background: transparent;
}
[data-theme='dark'] .hero,
[data-theme='dark'] .account-welcome,
[data-theme='dark'] .newsletter,
[data-theme='dark'] .need-card,
[data-theme='dark'] .ritual-section,
[data-theme='dark'] .brand-focus
{
    background: #263226;
    border-color: var(--line);
}
[data-theme='dark'] .need-card:nth-child(2)
{
    background: #382e29;
}
[data-theme='dark'] .need-card:nth-child(3)
{
    background: #363426;
}
[data-theme='dark'] .hero h1 em,
[data-theme='dark'] .ritual-copy h2 em,
[data-theme='dark'] .brand-focus-copy h2 em,
[data-theme='dark'] .login-story h1 em
{
    color: #b4c59e;
}
[data-theme='dark'] .hero-product
{
    background: #1e2b22ec;
    border-color: #6b7b5c77;
}
[data-theme='dark'] .hero-product strong
{
    color: #e0e7d5;
}
[data-theme='dark'] .brand-focus-art
{
    background: #394b35;
}
[data-theme='dark'] .brand-focus-word
{
    color: #66795a;
}
[data-theme='dark'] .brand-focus-caption
{
    color: #c2d0b1;
}
[data-theme='dark'] .brand-focus-art img,
[data-theme='dark'] .welcome-art img,
[data-theme='dark'] .ritual-steps img
{
    mix-blend-mode: normal;
    border-radius: 12px;
}
[data-theme='dark'] .eyebrow,
[data-theme='dark'] .brand-strip a,
[data-theme='dark'] .hero-copy p,
[data-theme='dark'] .hero-footnote,
[data-theme='dark'] .hero-footnote strong,
[data-theme='dark'] .hero-product small,
[data-theme='dark'] .hero-product span span,
[data-theme='dark'] .product-meta,
[data-theme='dark'] .rating b,
[data-theme='dark'] .product-size,
[data-theme='dark'] .ritual-steps small,
[data-theme='dark'] .check-row,
[data-theme='dark'] .sidebar-link,
[data-theme='dark'] .account-store-link,
[data-theme='dark'] .account-metrics small,
[data-theme='dark'] .user-order-total a,
[data-theme='dark'] .thread-note,
[data-theme='dark'] .footer-top > div > a:not(.brand),
[data-theme='dark'] .footer-top button,
[data-theme='dark'] .footer-bottom,
[data-theme='dark'] .payment-brands,
[data-theme='dark'] .benefits small,
[data-theme='dark'] .brand-strip > span,
[data-theme='dark'] .language-switch a,
[data-theme='dark'] .breadcrumb,
[data-theme='dark'] .detail-perks,
[data-theme='dark'] .newsletter form small,
[data-theme='dark'] .cart-item .text-button,
[data-theme='dark'] .message > span
{
    color: #b2bfa4;
}
[data-theme='dark'] .language-switch a.selected
{
    color: #fff;
}
[data-theme='dark'] .preview-switcher
{
    background: #233026f5;
    border-color: var(--line);
}
[data-theme='dark'] .preview-switcher span,
[data-theme='dark'] .preview-switcher a
{
    color: #bac8af;
}
[data-theme='dark'] .preview-switcher a.active
{
    color: #fff;
}
[data-theme='dark'] .account-help,
[data-theme='dark'] .delivery-option,
[data-theme='dark'] .messages
{
    background: #222f24;
    border-color: var(--line);
}
[data-theme='dark'] .message p,
[data-theme='dark'] .shipping-note,
[data-theme='dark'] .auth-notice,
[data-theme='dark'] .sidebar-link.active,
[data-theme='dark'] .sidebar-link:hover,
[data-theme='dark'] .avatar,
[data-theme='dark'] .green,
[data-theme='dark'] .mint
{
    background: #304531;
    color: #c1d4b2;
}
[data-theme='dark'] .message.outgoing p
{
    background: #3a5036;
    color: #e0e9d7;
}
[data-theme='dark'] .large-avatar,
[data-theme='dark'] .mini-avatars b
{
    border-color: #344130;
}
[data-theme='dark'] .amber
{
    background: #443a25;
    color: #e3ca8d;
}
[data-theme='dark'] .blue
{
    background: #263e47;
    color: #b6d6e3;
}
[data-theme='dark'] .rose
{
    background: #452f38;
    color: #e5bac7;
}
[data-theme='dark'] .ritual-steps > a,
[data-theme='dark'] .product-visual
{
    border-color: var(--line);
}
[data-theme='dark'] .order-progress span
{
    color: #a2ac98;
}
[data-theme='dark'] .order-progress .complete,
[data-theme='dark'] .order-progress .current,
[data-theme='dark'] .stock-note,
[data-theme='dark'] .positive
{
    color: #b9d6a0;
}
[data-theme='dark'] .search-box button
{
    color: #c1d5b1;
}
[data-theme='dark'] .account-logout button,
[data-theme='dark'] .form-error
{
    color: #e3ada0;
}
[data-theme='dark'] input::placeholder,
[data-theme='dark'] textarea::placeholder
{
    color: #8f9b86;
}

@media (max-width: 1150px)
{
    .header-main
    {
        flex-wrap: wrap;
        height: auto;
        padding-block: 18px;
        gap: 16px 25px;
    }
    .search-box
    {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }
    .header-preferences
    {
        margin-left: auto;
    }
    .header-action > span
    {
        display: inline;
    }
    .login-layout
    {
        gap: 35px;
    }
    .login-form
    {
        padding: 28px;
    }
}
@media (max-width: 850px)
{
    .support-widget
    {
        right: 16px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }
    .support-launcher
    {
        justify-content: center;
        width: 48px;
        min-height: 48px;
        padding: 0;
    }
    .support-launcher > span, .support-launcher > i
    {
        display: none;
    }
    .support-panel
    {
        max-height: calc(100dvh - 96px - env(safe-area-inset-bottom, 0px));
    }
    .floating-actions
    {
        flex-direction: column;
        align-items: flex-end;
    }
    .brand-focus-copy
    {
        padding: 30px;
    }
    .brand-focus-copy h2
    {
        font-size: 31px;
    }
    .journal-grid
    {
        gap: 15px;
    }
    .journal-copy
    {
        padding: 18px;
    }
    .journal-copy h3
    {
        font-size: 17px;
    }
    .faq-section
    {
        gap: 35px;
    }
    .account-logout-desktop
    {
        display: none;
    }
    .account-logout-mobile
    {
        display: block;
        margin: 32px 0 0;
        padding-top: 24px;
    }
    .account-logout-mobile button
    {
        justify-content: center;
        min-height: 48px;
        border: 1px solid var(--line);
        background: var(--surface);
    }
    .login-layout
    {
        grid-template-columns: 1fr;
        max-width: 540px;
    }
    .login-story img
    {
        display: none;
    }
    .login-story h1
    {
        font-size: 42px;
    }
}
@media (max-width: 600px)
{
    [data-theme='dark'] .filters
    {
        background: var(--surface);
    }
    .header-main
    {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 16px 10px;
        padding-block: 18px 12px;
    }
    .header-main > .brand
    {
        grid-column: 1;
        grid-row: 1;
    }
    .header-preferences
    {
        grid-column: 2;
        grid-row: 1;
        justify-content: end;
        gap: 8px;
    }
    .header-actions
    {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: space-between;
        gap: 12px;
    }
    .header-action
    {
        min-height: 32px;
        gap: 7px;
        font-size: 11px;
    }
    .header-action > span
    {
        display: inline;
    }
    .header-action > .icon
    {
        width: 17px;
        height: 17px;
    }
    .search-box
    {
        grid-column: 1 / -1;
        grid-row: 3;
    }
    .brand-focus
    {
        grid-template-columns: 1fr;
    }
    .brand-focus-art
    {
        min-height: 320px;
    }
    .brand-focus-art img
    {
        width: 200px;
        height: 250px;
    }
    .brand-focus-word
    {
        font-size: 50px;
        top: 20px;
    }
    .brand-focus-copy
    {
        padding: 30px 25px;
    }
    .journal-grid
    {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .journal-caption
    {
        display: none;
    }
    .journal-copy
    {
        padding: 23px;
    }
    .journal-copy h3
    {
        font-size: 21px;
    }
    .faq-section
    {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-block: 30px;
        margin-block: 40px;
    }
    .live-chat-form
    {
        flex-direction: column;
        align-items: stretch;
    }
    .login-layout
    {
        margin-block: 30px;
        gap: 20px;
    }
    .login-story h1
    {
        font-size: 38px;
    }
    .login-form
    {
        padding: 25px;
    }
    .demo-account
    {
        padding: 13px;
        gap: 8px;
        flex-wrap: wrap;
    }
}
@media (prefers-reduced-motion: reduce)
{
    .theme-switch-thumb, .language-switch a
    {
        transition: none;
    }
}

/* Shared customer authentication layout */
.login-layout.auth-layout
{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
    margin: 32px auto 64px;
}
.auth-layout .login-story
{
    padding-top: 24px;
    min-width: 0;
}
.auth-layout .login-story h1
{
    margin: 0 0 20px;
    font-size: clamp(36px, 3.8vw, 52px);
    line-height: 1.12;
}
.auth-layout .login-story p
{
    font-size: 14px;
    line-height: 1.7;
}
.auth-layout .login-story img
{
    object-fit: cover;
    height: auto;
    aspect-ratio: 4 / 3;
}
.auth-layout .login-form
{
    min-width: 0;
    padding: clamp(24px, 3vw, 38px);
}
.auth-heading
{
    margin-bottom: 28px;
}
.auth-heading h2
{
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.25;
}
.auth-heading p
{
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.auth-form, .auth-field, .auth-consents
{
    display: grid;
    gap: 18px;
    min-width: 0;
}
.auth-field
{
    gap: 8px;
}
.auth-field > input
{
    width: 100%;
    min-height: 48px;
    font-size: 16px;
}
.auth-field small
{
    font-size: 12px;
    line-height: 1.5;
}
.auth-name-fields
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}
.auth-form .form-error
{
    margin: 0;
    line-height: 1.5;
}
.auth-form .form-error:empty
{
    display: none;
}
.auth-consents
{
    border-top: 1px solid var(--line);
    padding-top: 20px;
    gap: 14px;
}
.auth-consent
{
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    line-height: 1.65;
}
.auth-consent input[type='checkbox']
{
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 2px 0 0;
    accent-color: var(--green);
    cursor: pointer;
}
.auth-consent label
{
    cursor: pointer;
    color: var(--ink);
}
.auth-links
{
    display: grid;
    justify-items: center;
    gap: 14px;
    margin-block: 24px;
    text-align: center;
    font-size: 13px;
}
.auth-layout .login-perks
{
    font-size: 11px;
    gap: 14px;
}
.auth-layout .login-perks span
{
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.auth-layout .auth-notice
{
    margin: 0 0 16px;
}
.auth-form button[type='submit']
{
    min-height: 48px;
}
@media (max-width: 850px)
{
    .login-layout.auth-layout
    {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
        gap: 24px;
    }
    .auth-layout .login-story
    {
        padding-top: 0;
        text-align: center;
    }
    .auth-layout .login-story p
    {
        margin: 0 auto;
    }
}
@media (max-width: 480px)
{
    .auth-layout .login-form
    {
        padding: 24px 20px;
    }
    .auth-name-fields
    {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .auth-layout .login-story h1
    {
        font-size: 34px;
    }
}
