*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* 3.1 Background */
    --color-bg-main: #FFFDF8;
    --color-bg-milk: #FAF4E8;
    --color-bg-section: #F7EFE1;
    --color-bg-sand: #F3E8D7;
    --color-bg-warm-gray: #F6F3EE;
    --color-bg-dark: #161412;

    /* 3.2 Text */
    --color-text-primary: #161412;
    --color-text-secondary: #7E756B;
    --color-text-muted: #B8AEA2;
    --color-text-inverse: #FFFFFF;
    --color-text-accent-mustard: #8A5D1E;
    --color-text-accent-terracotta: #76231B;
    --color-text-green: #4F5A3D;

    /* 3.4 Accent */
    --color-accent-mustard-light: #FFF3D6;
    --color-accent-mustard: #D7A556;
    --color-accent-mustard-hover: #B9822F;
    --color-accent-terracotta-light: #F8DDD6;
    --color-accent-terracotta: #9C3327;
    --color-accent-terracotta-hover: #76231B;
    --color-accent-sage-light: #EBEADC;
    --color-accent-sage: #A8AD86;
    --color-accent-olive: #7F8561;

    /* 3.5 Border */
    --color-border-light: #E9E3D9;
    --color-border-medium: #D5CCC0;
    --color-border-dark: #B8AEA2;

    --color-overlay: rgba(126, 117, 107, 0.75);
    --overlay-blur: 6px;

    /* 3.6 Buttons */
    --color-btn-primary-bg: #D7A556;
    --color-btn-primary-hover: #B9822F;
    --color-btn-primary-active: #9A6B22;
    --color-btn-primary-loading: #D7A556;
    --color-btn-primary-text: #FFFFFF;

    --color-btn-secondary-bg: #161412;
    --color-btn-secondary-hover: #514940;
    --color-btn-secondary-active: #3D3632;
    --color-btn-secondary-loading: #161412;
    --color-btn-secondary-text: #FFFFFF;

    --color-btn-disabled-opacity: 0.38;

    /* Form status */
    --color-form-error-bg: #FDF2F0;
    --color-form-error-border: #E5A89A;
    --color-form-error-text: #9C3327;
    --color-form-success-bg: #F1F2E9;
    --color-form-success-border: #A8AD86;
    --color-form-success-text: #4F5A3D;
    --color-form-info-bg: #EDF4F9;
    --color-form-info-border: #8DA9C3;
    --color-form-info-text: #3D5A73;

    /* 3.7 Badges */
    --color-badge-credit-bg: #FFF3D6;
    --color-badge-credit-text: #8A5D1E;
    --color-badge-sale-bg: #F8DDD6;
    --color-badge-sale-text: #76231B;
    --color-badge-eco-bg: #E8EADC;
    --color-badge-eco-text: #4F5A3D;
    --color-badge-neutral-bg: #F6F3EE;
    --color-badge-neutral-text: #7E756B;

    /* Legacy aliases (existing styles) */
    --color-primary: var(--color-bg-dark);
    --color-primary-dark: var(--color-bg-dark);
    --color-accent: var(--color-accent-mustard);
    --color-text: var(--color-text-primary);
    --color-bg: var(--color-bg-main);
    --color-white: var(--color-text-inverse);
    --color-border: var(--color-border-light);
    --color-sale: var(--color-accent-terracotta);

    /* Typography — families */
    --font-display: 'Cormorant', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', system-ui, sans-serif;
    --font-serif: var(--font-display);

    /* Typography — desktop */
    --text-hero-size: 62px;
    --text-hero-lh: 64px;
    --text-hero-weight: 500;

    --text-h1-size: 56px;
    --text-h1-lh: 62px;
    --text-h1-weight: 500;

    --text-h2-size: 42px;
    --text-h2-lh: 48px;
    --text-h2-weight: 500;

    --text-h3-size: 32px;
    --text-h3-lh: 38px;
    --text-h3-weight: 500;

    --text-h4-size: 22px;
    --text-h4-lh: 30px;
    --text-h4-weight: 600;

    --text-body-lg-size: 18px;
    --text-body-lg-lh: 30px;
    --text-body-lg-weight: 400;

    --text-body-size: 16px;
    --text-body-lh: 26px;
    --text-body-weight: 400;

    --text-body-sm-size: 15px;
    --text-body-sm-lh: 22px;
    --text-body-sm-weight: 400;

    --text-caption-size: 12px;
    --text-caption-lh: 18px;
    --text-caption-weight: 400;

    --text-menu-size: 14px;
    --text-menu-lh: 18px;
    --text-menu-weight: 500;

    --text-button-size: 15px;
    --text-button-lh: 18px;
    --text-button-weight: 400;

    --text-badge-size: 11px;
    --text-badge-lh: 14px;
    --text-badge-weight: 600;

    --text-price-size: 18px;
    --text-price-lh: 24px;
    --text-price-weight: 600;

    --text-label-size: 12px;
    --text-label-lh: 16px;
    --text-label-weight: 500;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
    --container-width: 1800px;
}

@media (max-width: 1023px) {
    :root {
        --text-hero-size: 44px;
        --text-hero-lh: 48px;

        --text-h1-size: 38px;
        --text-h1-lh: 44px;

        --text-h2-size: 32px;
        --text-h2-lh: 38px;

        --text-h3-size: 26px;
        --text-h3-lh: 32px;

        --text-h4-size: 20px;
        --text-h4-lh: 28px;

        --text-body-lg-size: 16px;
        --text-body-lg-lh: 26px;

        --text-body-size: 15px;
        --text-body-lh: 24px;

        --text-body-sm-size: 13px;
        --text-body-sm-lh: 20px;

        --text-caption-size: 11px;
        --text-caption-lh: 16px;

        --text-menu-size: 14px;
        --text-menu-lh: 20px;

        --text-badge-size: 10px;
        --text-badge-lh: 14px;
    }
}

/* Typography utilities */
.text-hero {
    font-family: var(--font-display);
    font-size: var(--text-hero-size);
    line-height: var(--text-hero-lh);
    font-weight: var(--text-hero-weight);
}

.text-h1 {
    font-family: var(--font-display);
    font-size: var(--text-h1-size);
    line-height: var(--text-h1-lh);
    font-weight: var(--text-h1-weight);
}

.text-h2 {
    font-family: var(--font-display);
    font-size: var(--text-h2-size);
    line-height: var(--text-h2-lh);
    font-weight: var(--text-h2-weight);
}

.text-h3 {
    font-family: var(--font-display);
    font-size: var(--text-h3-size);
    line-height: var(--text-h3-lh);
    font-weight: var(--text-h3-weight);
}

.text-h4 {
    font-family: var(--font-sans);
    font-size: var(--text-h4-size);
    line-height: var(--text-h4-lh);
    font-weight: var(--text-h4-weight);
}

.text-body-lg {
    font-family: var(--font-sans);
    font-size: var(--text-body-lg-size);
    line-height: var(--text-body-lg-lh);
    font-weight: var(--text-body-lg-weight);
}

.text-body {
    font-family: var(--font-sans);
    font-size: var(--text-body-size);
    line-height: var(--text-body-lh);
    font-weight: var(--text-body-weight);
}

.text-body-sm {
    font-family: var(--font-sans);
    font-size: var(--text-body-sm-size);
    line-height: var(--text-body-sm-lh);
    font-weight: var(--text-body-sm-weight);
}

.text-caption {
    font-family: var(--font-sans);
    font-size: var(--text-caption-size);
    line-height: var(--text-caption-lh);
    font-weight: var(--text-caption-weight);
}

.text-menu {
    font-family: var(--font-sans);
    font-size: var(--text-menu-size);
    line-height: var(--text-menu-lh);
    font-weight: var(--text-menu-weight);
}

.text-button {
    font-family: var(--font-sans);
    font-size: var(--text-button-size);
    line-height: var(--text-button-lh);
    font-weight: var(--text-button-weight);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.text-badge {
    font-family: var(--font-sans);
    font-size: var(--text-badge-size);
    line-height: var(--text-badge-lh);
    font-weight: var(--text-badge-weight);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.text-price {
    font-family: var(--font-sans);
    font-size: var(--text-price-size);
    line-height: var(--text-price-lh);
    font-weight: var(--text-price-weight);
}

.text-label {
    font-family: var(--font-sans);
    font-size: var(--text-label-size);
    line-height: var(--text-label-lh);
    font-weight: var(--text-label-weight);
}

body.site-body {
    font-family: var(--font-sans);
    font-size: var(--text-body-size);
    line-height: var(--text-body-lh);
    font-weight: var(--text-body-weight);
    color: var(--color-text);
    background: var(--color-bg-main);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1 0 auto;
}

.page-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

a {
    color: inherit;
}


.primary-button,
.secondary-button,
.accept-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 24px;
    border: none;
    font-family: var(--font-sans);
    font-size: var(--text-button-size);
    line-height: var(--text-button-lh);
    font-weight: var(--text-button-weight);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, opacity .2s;
}

.primary-button {
    background: var(--color-btn-primary-bg);
    color: var(--color-btn-primary-text);
}

.primary-button:hover {
    background: var(--color-btn-primary-hover);
    color: var(--color-btn-primary-text);
    text-decoration: none;
}

.primary-button:active {
    background: var(--color-btn-primary-active);
}

.primary-button:disabled,
.primary-button.is-disabled,
.primary-button[aria-disabled="true"] {
    background: var(--color-btn-primary-bg);
    opacity: var(--color-btn-disabled-opacity);
    cursor: not-allowed;
    pointer-events: none;
}

.primary-button.is-loading {
    background: var(--color-btn-primary-loading);
    cursor: wait;
    pointer-events: none;
}

.secondary-button {
    background: var(--color-btn-secondary-bg);
    color: var(--color-btn-secondary-text);
}

.secondary-button:hover {
    background: var(--color-btn-secondary-hover);
    color: var(--color-btn-secondary-text);
    text-decoration: none;
}

.secondary-button:active {
    background: var(--color-btn-secondary-active);
}

.secondary-button:disabled,
.secondary-button.is-disabled,
.secondary-button[aria-disabled="true"] {
    background: var(--color-btn-secondary-bg);
    opacity: var(--color-btn-disabled-opacity);
    cursor: not-allowed;
    pointer-events: none;
}

.secondary-button.is-loading {
    background: var(--color-btn-secondary-loading);
    cursor: wait;
    pointer-events: none;
}

.accept-button {
    background: var(--color-accent-terracotta);
    color: var(--color-btn-primary-text);
}

.accept-button:hover {
    background: var(--color-accent-terracotta-hover);
    color: var(--color-btn-primary-text);
    text-decoration: none;
}

.accept-button:active {
    background: var(--color-accent-terracotta-light);
}

.accept-button:disabled,
.accept-button.is-disabled,
.accept-button[aria-disabled="true"] {
    background: var(--color-accent-terracotta);
    opacity: var(--color-btn-disabled-opacity);
    cursor: not-allowed;
    pointer-events: none;
}

.accept-button.is-loading {
    background: var(--color-accent-terracotta);
    cursor: wait;
    pointer-events: none;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid var(--color-btn-secondary-bg);
    color: var(--color-btn-secondary-bg);
    background: transparent;
    text-decoration: none;
    transition: all .2s;
    width: fit-content;
    font-size: var(--text-button-size);
    line-height: var(--text-button-lh);
    font-weight: var(--text-button-weight);
}

.outline-button:hover {
    background: rgba(22, 20, 18, 0.1);
    text-decoration: none;
}

.outline-button-light {
    border-color: #fff;
    color: #fff;
}

.outline-button-light:hover {
    background: #fff;
    color: var(--color-text);
}

.no-line-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    color: var(--color-bg-dark);
    background: transparent;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: var(--text-button-size);
    line-height: var(--text-button-lh);
    font-weight: var(--text-button-weight);
    transition: background-color .2s;
    border: 1px solid transparent;
}

.no-line-button:hover {
    border: 1px solid var(--color-btn-secondary-bg);
}

.no-line-button-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    color: var(--color-accent-terracotta)!important;
    background: transparent;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: var(--text-button-size);
    line-height: var(--text-button-lh);
    font-weight: var(--text-button-weight);
    transition: background-color .2s;
    border: 1px solid transparent;
}

.no-line-button:hover {
    border: 1px solid var(--color-accent-terracotta-hover);
}


/* Header */
.site-header {
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-bg-main);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-promo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background-color: var(--color-text-muted);
    padding: 4px 60px;
    margin: 0;
    max-width: 100%;
    max-height: 80px;
    color: #FFFFFF;
    overflow: hidden;
    transform: translateY(0);
    opacity: 1;
    transition: transform .35s ease, max-height .35s ease, padding .35s ease, opacity .25s ease;
}

.site-header.is-scrolled .site-header-promo {
    transform: translateY(-100%);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    pointer-events: none;
}

.site-header-promo__navigation {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: start;
}

.site-header-promo__navigation-item {
    position: relative;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.site-header-promo__navigation-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
}

.site-header-promo__navigation-item:hover::after {
    transform: scaleX(1);
}

.site-header-promo__location {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-self: center;
}

.site-header-promo__location-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
}

.location-icon {
    height: 24px;
    width: 24px;
}

.site-header-promo__socials {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

.site-header-promo__socials-item {
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .25s ease;
}

.site-header-promo__socials-item:hover {
    background-color: #6B6156;
}

.site-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 17px 60px;
    min-height: 72px;
    margin: 0;
    max-width: 100%;
}

.site-header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo {
    text-decoration: none;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 109px;
    height: 64px;
    flex-shrink: 0;
    transition: height .25s ease;
}

.site-logo .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.site-logo .logo-icon svg {
    display: block;
    width: 109px;
    height: 64px;
    transition: width .25s ease, height .25s ease;
}

.site-header.is-scrolled .site-logo {
    height: 48px;
}

.site-header.is-scrolled .site-logo .logo-icon svg {
    width: 82px;
    height: 48px;
}

.site-header.is-scrolled .site-header-inner {
    padding: 12px 60px;
}


.main-navigation {
    display: flex;
    gap: 28px;
}

.main-navigation__item {
    text-decoration: none;
    color: var(--color-text);
    transition: color .2s;
    position: relative;
    text-wrap: wrap;
}

.main-navigation__item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
}

.main-navigation__item:hover::after {
    transform: scaleX(1);
}

.site-header.is-nav-mega-open [data-nav-mega-trigger].is-active::after {
    transform: scaleX(1);
}

.nav-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 120;
    background: var(--color-bg-main);
    border-bottom: 1px solid var(--color-border);
}

.nav-mega::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
    height: 40px;
}

.nav-mega[hidden] {
    display: none;
}

.nav-mega__inner {
    display: grid;
    grid-template-columns: 1fr 650px;
    gap: 0;
    align-items: start;
    padding: 0 60px 60px;
    max-width: 1920px;
    margin: 0 auto;
}

.nav-mega--promotions .nav-mega__inner {
    grid-template-columns: 1fr 650px;
    gap: 0;
}

.nav-mega__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-mega__item {
    margin: 0;
    padding: 12px 0;
}

.nav-mega__link {
    display: inline-block;
    padding: 0;
    color: var(--color-text-primary);
    text-decoration: none;
}

.is-anchor-flash {
    animation: anchor-flash 1.1s ease;
}

@keyframes anchor-flash {
    0% {
        background-color: transparent;
        box-shadow: inset 0 0 0 0 rgba(215, 165, 86, 0);
    }
    20% {
        background-color: rgba(215, 165, 86, 0.12);
        box-shadow: inset 0 0 0 2px rgba(215, 165, 86, 0.35);
    }
    100% {
        background-color: transparent;
        box-shadow: inset 0 0 0 0 rgba(215, 165, 86, 0);
    }
}

.nav-mega__promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.nav-mega__media {
    width: 650px;
    overflow: hidden;
    background: transparent;
}

.nav-mega--services .nav-mega__media {
    background: #2a2a2a;
}

.nav-mega__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.nav-mega--services .nav-mega__image {
    aspect-ratio: 16 / 9;
}

.nav-mega--promotions .nav-mega__image {
    object-fit: contain;
}

.nav-mega__text {
    margin: 0;
    max-width: 420px;
    color: var(--color-text-secondary, #6B6156);
}

.nav-mega__more {
    color: var(--color-accent-terracotta);
    text-decoration: none;
    transition: color .2s;
}

.nav-mega__more:hover {
    color: var(--color-accent-terracotta-hover);
}

.nav-mega-backdrop {
    position: fixed;
    inset: 0;
    top: var(--site-header-offset, 0px);
    z-index: 90;
    background: rgba(126, 117, 107, 0.55);
}

.nav-mega-backdrop[hidden] {
    display: none;
}

@media (max-width: 1439px) {
    .nav-mega__inner {
        grid-template-columns: minmax(240px, 1fr) minmax(280px, 440px);
        gap: 48px;
        padding: 40px 60px 48px;
    }

    .nav-mega--promotions .nav-mega__inner {
        grid-template-columns: minmax(220px, 0.9fr) minmax(400px, 1.4fr);
        gap: 40px;
    }
}

@media (max-width: 1199px) {
    .nav-mega__inner,
    .nav-mega--promotions .nav-mega__inner {
        grid-template-columns: 1fr 1.2fr;
        gap: 32px;
        padding: 32px 40px 40px;
    }
}


.header-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
}

.header-action-button {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--color-text);
    text-decoration: none;
}

.header-action-button:hover svg path {
    stroke: #9C3327;
}

.header-icon {
    display: block;
}

.action-badge {
    position: absolute;
    top: 2px;
    right: -2px;
    background: var(--color-accent-terracotta);
    color: #fff;
    font-size: 10px;
    min-width: 10px;
    height: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.action-badge[hidden] {
    display: none !important;
}

.header-account {
    position: static;
}

.header-account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 120;
    width: min(343px, calc(100vw - 32px));
    background: var(--color-bg-main);
    box-shadow: 0 12px 40px rgba(22, 20, 18, 0.12);
}

.header-account-dropdown[hidden] {
    display: none;
}

.header-account-greeting {
    padding: 12px 24px;
    border-bottom: 1px solid var(--color-border-light);
}

.header-account-hello {
    margin: 0;
    color: var(--color-text-secondary);
}

.header-account-name {
    margin: 4px 0 0;
    color: var(--color-text-primary);
    word-break: break-word;
}

.header-account-nav {
    display: flex;
    flex-direction: column;
    padding: 0 32px;
}

.header-account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 12px 0;
    color: var(--color-text-primary);
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}


.header-account-item-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.header-account-icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--color-text-primary);
    display: inline-flex;
}

.header-account-icon.has-dot::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C94A3A;
    box-shadow: 0 0 0 2px var(--color-bg-main);
}

.header-account-chevron {
    color: var(--color-text-muted);
    display: inline-flex;
    flex-shrink: 0;
}

.header-account-logout {
    margin: 0;
    border-top: 1px solid var(--color-border-light);
    padding: 24px 32px;
}

.header-account-item--logout {
    width: 100%;
    padding: 0;
}

@media (max-width: 768px) {
    .header-account-dropdown {
        right: 16px;
    }
}

/* Profile modal */
.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: start;
    justify-content: end;
    padding: 0;
}

.profile-modal[hidden] {
    display: none;
}

.profile-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 20, 18, 0.55);
}

.profile-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: min(100svh, 1000px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E9E3D9;
    overflow: hidden;
    height: 100svh;
}

.profile-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px 12px;
    flex-shrink: 0;
}

.profile-modal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--color-text-primary);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.profile-modal-back:hover {
    color: var(--color-text-primary);
}

.profile-modal-close {
    border: 0;
    background: transparent;
    padding: 4px;
    color: var(--color-text-muted);
    cursor: pointer;
    display: inline-flex;
}

.profile-modal-close:hover {
    color: var(--color-text-primary);
}

.profile-modal-title {
    margin: 0;
    padding: 12px 24px;
    border-top: 1px solid #E9E3D9;
    border-bottom: 1px solid #E9E3D9;
    color: var(--color-text-primary);
    font-weight: 400;
    flex-shrink: 0;
}

.profile-modal-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.profile-modal-body {
    padding: 0 24px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #B8AEA2 transparent;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.profile-modal-body::-webkit-scrollbar {
    width: 2px;
}

.profile-modal-body::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.profile-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.profile-modal-body::-webkit-scrollbar-thumb {
    background: #B8AEA2;
}

.profile-modal-section {
    padding: 20px 0;
    border-bottom: 1px solid #E9E3D9;
}

.profile-modal-section:last-of-type {
    border-bottom: 0;
}

.profile-modal-section-title {
    margin: 0 0 12px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.profile-modal-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-modal-section-head .profile-modal-section-title {
    margin: 0;
}

.profile-modal-change {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--color-accent-terracotta);
    cursor: pointer;
    font: inherit;
}

.profile-modal-change:hover {
    color: var(--color-accent-terracotta-hover);
}

.profile-modal-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-modal-form .form-field {
    margin: 0;
}

.profile-modal-form .form-field label {
    display: none;
}

.profile-modal-section .profile-modal-privacy {
    align-items: flex-start;
    margin: 0 0 20px;
}

.profile-modal-privacy a {
    color: inherit;
    text-decoration: underline;
}

.profile-modal-switch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 16px;
    cursor: pointer;
}

.profile-modal-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.profile-modal-switch-ui {
    position: relative;
    flex-shrink: 0;
    grid-column: 2;
    grid-row: 1;
    width: 40px;
    height: 22px;
    margin-top: 2px;
    border-radius: 11px;
    background: #fff;
    transition: background .2s ease;
    border: 1.5px solid #D5CCC0;
}

.profile-modal-switch-ui::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #D5CCC0;
    transition: transform .2s ease;
}

.profile-modal-switch input:checked + .profile-modal-switch-ui {
    background: #161412;
}

.profile-modal-switch input:checked + .profile-modal-switch-ui::after {
    transform: translateX(18px);
    background: #fff;
}

.profile-modal-switch-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
}

.profile-modal-switch-hint {
    color: var(--color-text-secondary);
}

.profile-modal-form-error {
    margin: 0 0 16px;
    color: #c62828;
}

.profile-modal-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid #E9E3D9;
    flex-shrink: 0;
}

.profile-modal-submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 0;
    background: var(--color-accent-terracotta);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: var(--text-button-size);
    line-height: var(--text-button-lh);
    font-weight: var(--text-button-weight);
    transition: background .2s ease, opacity .2s ease;
}

.profile-modal-submit:hover:not(:disabled) {
    background: var(--color-accent-terracotta-hover);
}

.profile-modal-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.profile-password-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-password-form .form-field {
    margin: 0;
}

.profile-password-form .form-field label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-sans);
    font-size: var(--text-body-size);
    line-height: var(--text-body-lh);
    font-weight: 600;
    color: var(--color-text-primary);
}

.profile-password-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-password-hint {
    margin: 0;
    color: var(--color-text-secondary);
}

body.profile-modal-open,
body.notifications-modal-open,
body.messages-modal-open,
body.orders-modal-open {
    overflow: hidden;
}

@media (max-width: 560px) {
    .profile-modal {
        padding: 0;
        align-items: stretch;
    }

    .profile-modal-dialog {
        width: 100%;
        max-height: 100%;
        min-height: 100%;
        border: 0;
    }
}

.notifications-modal-status {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 40px;
    padding: 8px 24px 0;
    flex-shrink: 0;
}

.notifications-modal-status[hidden] {
    display: none;
}

.notifications-modal-status-read {
    color: var(--color-text-muted);
}

.notifications-modal-mark {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--color-accent-terracotta);
    cursor: pointer;
    font: inherit;
}

.notifications-modal-mark:hover {
    color: var(--color-accent-terracotta-hover);
}

.notifications-modal-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #B8AEA2 transparent;
    min-height: calc(100svh - 120px);
}

.notifications-modal-body::-webkit-scrollbar {
    width: 2px;
}

.notifications-modal-body::-webkit-scrollbar-button {
    display: none;
}

.notifications-modal-body::-webkit-scrollbar-thumb {
    background: #B8AEA2;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.notifications-list[hidden] {
    display: none;
}

.notifications-group-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 16px 24px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.notifications-group-label::before,
.notifications-group-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border-light);
}

.notifications-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
    color: inherit;
    text-decoration: none;
    background: #fff;
}

.notifications-item:hover {
    text-decoration: none;
}

.notifications-item.is-unread {
    background: var(--color-bg-warm-gray);
}

.notifications-item.is-unread::after {
    content: '';
    position: absolute;
    top: 16px;
    right: 24px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-terracotta);
}

.notifications-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-text-secondary);
    display: inline-flex;
}

.notifications-item-icon svg {
    display: block;
    width: 40px;
    height: 40px;
}

.notifications-item-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
    padding-right: 20px;
}

.notifications-item-time {
    color: var(--color-text-secondary);
}

.notifications-item-title {
    margin: 0;
    color: var(--color-text-primary);
    font-weight: 600;
}

.notifications-item-text {
    color: var(--color-text-primary);
}

.notifications-item-chevron {
    flex-shrink: 0;
    align-self: center;
    color: var(--color-text-muted);
    display: inline-flex;
}

.notifications-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    margin: auto;
    padding: 0;
    max-width: 370px;
}

.notifications-placeholder[hidden] {
    display: none;
}

.notifications-placeholder-icon {
    display: flex;
    margin-bottom: 8px;
    height: 64px;
    width: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background-color: var(--color-bg-section);
}

.notifications-placeholder-title {
    margin: 0;
    font-weight: 600;
    color: var(--color-text-primary);
}

.notifications-placeholder-text {
    margin: 0;
    color: var(--color-text-secondary);
}

.notifications-modal-retry {
    margin-top: 8px;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--color-accent-terracotta);
    cursor: pointer;
    font: inherit;
}

.notifications-modal-retry:hover {
    color: var(--color-accent-terracotta-hover);
}

.messages-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.messages-thread-meta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 24px 0;
}

.messages-thread-meta[hidden] {
    display: none;
}

.messages-seller {
    display: flex;
    align-items: center;
    gap: 12px;
}

.messages-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border-medium);
    background: #fff;
    color: var(--color-text-primary);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.messages-seller-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.messages-seller-name {
    color: var(--color-text-primary);
    font-weight: 600;
}

.messages-seller-place {
    color: var(--color-text-secondary);
}

.messages-order-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--color-border-light);
}

.messages-order-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.messages-order-card-title {
    margin: 0;
    font-weight: 600;
    color: var(--color-text-primary);
}

.messages-order-card-meta {
    margin: 0;
    color: var(--color-text-secondary);
}

.messages-order-card-price {
    margin: 8px 0 0;
    color: var(--color-text-primary);
}

.messages-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 16px;
    border-radius: 15px;
    white-space: nowrap;
}

.messages-status.is-open {
    background: var(--color-accent-sage-light);
    color: var(--color-text-green);
}

.messages-status.is-closed {
    background: var(--color-bg-warm-gray);
    color: var(--color-text-secondary);
}

.messages-status.is-wait {
    background: var(--color-bg-warm-gray);
    color: var(--color-text-secondary);
}

.messages-modal-body {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - 500px);
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #B8AEA2 transparent;
}

.messages-modal-body:has(.messages-thread[hidden]) {
    min-height: calc(100svh - 150px);
}

.messages-modal-body::-webkit-scrollbar {
    width: 2px;
}

.messages-modal-body::-webkit-scrollbar-button {
    display: none;
}

.messages-modal-body::-webkit-scrollbar-thumb {
    background: #B8AEA2;
}

.messages-list {
    display: flex;
    flex-direction: column;
}

.messages-list[hidden],
.messages-thread[hidden],
.messages-composer[hidden] {
    display: none;
}

.messages-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border: 0;
    border-bottom: 1px solid var(--color-border-light);
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.messages-item.is-unread {
    background: var(--color-bg-warm-gray);
}

.messages-item-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.messages-item-name {
    color: var(--color-text-primary);
    font-weight: 600;
}

.messages-item-subject {
    color: var(--color-text-primary);
}

.messages-item-preview {
    color: var(--color-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.messages-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.messages-item-time {
    color: var(--color-text-muted);
}

.messages-item-side-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.messages-unread {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--color-accent-terracotta);
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
}

.messages-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 24px 24px;
}

.messages-day {
    margin: 12px 0;
}

.messages-day .notifications-group-label {
    padding: 0;
}

.messages-row {
    display: flex;
    flex-direction: column;
    max-width: 86%;
}

.messages-row.is-in {
    align-self: flex-start;
    align-items: flex-start;
}

.messages-row.is-out {
    align-self: flex-end;
    align-items: flex-end;
}

.messages-row.is-failed {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    max-width: 100%;
}

.messages-bubble {
    padding: 10px 14px 8px;
    color: var(--color-text-primary);
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 4px;
}

.messages-bubble .messages-bubble-time {
    align-self: end;
}

.messages-row.is-in .messages-bubble {
    background: var(--color-bg-warm-gray);
    border-radius: 16px 16px 16px 4px;
}

.messages-row.is-out .messages-bubble {
    background: var(--color-accent-mustard-light);
    border-radius: 16px 16px 4px 16px;
}

.messages-row.is-failed .messages-bubble {
    background: var(--color-accent-terracotta-light);
}

.messages-bubble-time {
    margin-top: 4px;
    color: var(--color-text-muted);
}

.messages-fail-mark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-accent-terracotta);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.messages-fail-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 0;
}

.messages-fail-text {
    margin: 8px 0 0;
    color: var(--color-accent-terracotta);
}

.messages-fail-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.messages-fail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--color-border-light);
    background: #fff;
    color: var(--color-text-primary);
    cursor: pointer;
    font: inherit;
}

.messages-fail-btn:hover {
    border-color: var(--color-border-dark);
}

.messages-composer {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 24px 24px 24px 32px;
    border-top: 1px solid var(--color-border-light);
    flex-shrink: 0;
}

.messages-composer-field {
    flex: 1;
    min-width: 0;
}

.messages-composer .input-field-control {
    height: 56px;
    border-right: none;
}

.messages-send {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--color-accent-terracotta);
    color: #fff;
    cursor: pointer;
}

.messages-send:hover:not(:disabled) {
    background: var(--color-accent-terracotta-hover);
}

.messages-send:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.orders-tabs {
    display: flex;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--color-border-light);
    flex-shrink: 0;
}

.orders-tabs[hidden] {
    display: none;
}

.orders-tab {
    position: relative;
    border: 0;
    background: transparent;
    padding: 12px 0 12px;
    color: var(--color-text-secondary);
    cursor: pointer;
    font: inherit;
    width: 33.3%;
}

.orders-tab.is-active {
    color: var(--color-text-primary);
    font-weight: 600;
}

.orders-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--color-border-dark);
}

.orders-modal-body {
    padding: 24px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #B8AEA2 transparent;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.orders-modal-body::-webkit-scrollbar {
    width: 2px;
}

.orders-modal-body::-webkit-scrollbar-thumb {
    background: #B8AEA2;
}

.orders-list,
.orders-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.orders-list[hidden],
.orders-detail[hidden] {
    display: none;
}

.orders-card {
    border: 1px solid var(--color-border-light);
    background: #fff;
    padding: 16px;
    cursor: pointer;
}

.orders-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.orders-card-title {
    margin: 0;
    font-weight: 600;
}

.orders-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 16px;
    border-radius: 15px;
    background: var(--color-bg-warm-gray);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.orders-badge.is-completed {
    background: var(--color-accent-sage-light);
    color: var(--color-text-green);
}

.orders-badge.is-cancelled {
    background: var(--color-accent-terracotta-light);
    color: var(--color-text-accent-terracotta);
}

.orders-badge.is-wait {
    background: var(--color-bg-section);
    color: var(--color-text-secondary);
}

.orders-card-date {
    margin: 8px 0 0;
    color: var(--color-text-secondary);
}

.orders-card-previews {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.orders-card-thumbs {
    display: flex;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-light);
    width: 100%;
}

.orders-card-thumbs img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    background: var(--color-bg-warm-gray);
}

.orders-card-more {
    color: var(--color-text-secondary);
}

.orders-card-sellers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.orders-seller-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.orders-seller-name {
    color: var(--color-text-secondary);
}

.orders-seller-status {
    color: var(--color-accent-olive);
}

.orders-seller-status.is-attention {
    color: var(--color-accent-terracotta);
}

.orders-card-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.orders-card-price,
.orders-money {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.orders-byn {
    display: inline-flex;
    color: currentColor;
}

.orders-byn svg {
    display: block;
}

.orders-card-more-link {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--color-accent-terracotta);
    cursor: pointer;
    font: inherit;
}

.orders-banner {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--color-accent-olive);
}

.orders-banner.is-danger {
    align-items: stretch;
}

.orders-banner-body {
    display: flex;
    align-items: start;
    gap: 12px;
    justify-content: space-between;
}

.orders-banner.is-success {
    background: var(--color-accent-sage-light);
}

.orders-banner.is-danger {
    background: var(--color-accent-terracotta-light);
    border-color: var(--color-accent-terracotta-hover);
}

.orders-banner.is-wait {
    background: var(--color-accent-mustard-light);
    border-color: var(--color-accent-mustard-hover);
}

.orders-banner-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.orders-banner-title {
    margin: 0;
    font-weight: 600;
}

.orders-banner-text {
    margin: 6px 0 0;
    color: var(--color-text-secondary);
}

.orders-banner-link {
    display: inline-flex;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--color-accent-terracotta);
    cursor: pointer;
    font: inherit;
    font-family: var(--font-sans);
    font-size: var(--text-body-sm-size);
    line-height: var(--text-body-sm-lh);
    font-weight: var(--text-body-sm-weight);
}

.orders-banner-reason {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    grid-column: 1 / -1;
    color: var(--color-text-primary);
}

.orders-section-title {
    margin: 0;
    font-weight: 600;
}

.orders-shop-card {
    border: 1px solid var(--color-border-light);
    padding: 12px;
}

.orders-shop-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.orders-shop-name {
    margin: 0;
}

.orders-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 8px 0;
}

.orders-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    background: var(--color-bg-warm-gray);
}

.orders-modal .profile-modal-dialog {
    min-height: min(100svh - 48px, 800px);
}

.orders-item-name {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orders-item-qty {
    margin: 4px 0 0;
    color: var(--color-text-secondary);
}

.orders-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.orders-item-price {
    white-space: nowrap;
}

.orders-money {
    font-weight: 600;
}

.orders-item .orders-money .orders-byn svg {
    height: 14px;
    width: 12px;
}

.orders-shop-total .orders-money .orders-byn svg {
    height: 16px;
    width: 14px;
}

.orders-shop-total,
.orders-grand-total,
.orders-installment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
    border: 1px solid var(--color-border-light);
}

.orders-grand-total {
    margin: 0;
}

.orders-finance {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    margin-bottom: 20px;
    background: var(--color-bg-section);
}

.orders-finance-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.orders-finance-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.orders-finance-note {
    margin: 8px 0 0;
    color: var(--color-text-secondary);
}

.orders-history {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 8px 0 8px;
}

.orders-history-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 12px;
    position: relative;
    padding-bottom: 16px;
}

.orders-history-item:last-child {
    padding-bottom: 0;
}

.orders-history-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 20px;
    bottom: 0;
    width: 1px;
    background: var(--color-border-medium);
}

.orders-history-mark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-sage-light);
    color: var(--color-text-green);
}

.orders-history-item.is-wait .orders-history-mark {
    background: var(--color-accent-mustard-light);
    color: var(--color-text-accent-mustard);
}

.orders-history-item.is-cancel .orders-history-mark {
    background: var(--color-accent-terracotta-light);
    color: var(--color-accent-terracotta);
}

.orders-history-time {
    margin: 0;
    color: var(--color-text-secondary);
}

.orders-history-title {
    margin: 0;
}

.orders-modal .profile-modal-footer[hidden] {
    display: none;
}

.orders-modal .profile-modal-submit {
    text-decoration: none;
}

.menu-toggle-button {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    color: var(--color-text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    overflow: hidden;
    clip-path: inset(0 0 5px 0);
}

.menu-toggle-line {
    position: absolute;
    left: 3px;
    right: 3px;
    height: 1.2px;
    border-radius: 999px;
    background: currentColor;
}

.menu-toggle-line--1 {
    top: 7px;
}

.menu-toggle-line--2,
.menu-toggle-line--3 {
    transition: transform .3s ease;
}

.menu-toggle-line--2 {
    top: 12px;
}

.menu-toggle-line--3 {
    top: 17px;
}

.menu-toggle-button:hover .menu-toggle-line--2,
.menu-toggle-button:hover .menu-toggle-line--3 {
    transform: translateY(5px);
}

/* Shared dim + blur for menus / modals */
.catalog-menu-overlay,
.search-overlay,
.nav-mega-backdrop,
.catalog-filters-overlay,
.profile-modal-backdrop,
.favorites-merge-modal__backdrop,
.cart-request-modal-backdrop,
.product-drawer__backdrop,
.product-gallery-modal__backdrop,
.rental-modal-backdrop,
.service-detail-modal-backdrop {
    -webkit-backdrop-filter: blur(var(--overlay-blur, 6px));
    backdrop-filter: blur(var(--overlay-blur, 6px));
}

@media (prefers-reduced-transparency: reduce) {
    .catalog-menu-overlay,
    .search-overlay,
    .nav-mega-backdrop,
    .catalog-filters-overlay,
    .profile-modal-backdrop,
    .favorites-merge-modal__backdrop,
    .cart-request-modal-backdrop,
    .product-drawer__backdrop,
    .product-gallery-modal__backdrop,
    .rental-modal-backdrop,
    .service-detail-modal-backdrop {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* Catalog menu & search — keep from before */
.catalog-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-overlay);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.catalog-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.catalog-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 201;
    transform: translateX(-100%);
    transition: .3s;
    display: flex;
    flex-direction: column;
}

.catalog-menu-panel.is-open {
    transform: translateX(0);
}

.catalog-menu-mobile-bar,
.catalog-menu-root {
    display: none;
}

.catalog-menu-browse {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.catalog-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.catalog-menu-title {
    flex: 1;
}

.catalog-menu-back {
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: var(--color-text-primary);
    text-align: left;
}

.catalog-menu-back.is-hidden,
.catalog-menu-title.is-hidden {
    display: none;
}

.back-btn {
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-menu-tabs {
    display: flex;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.catalog-menu-tabs.is-hidden {
    display: none;
}

.catalog-tab {
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-bottom: 3px solid var(--color-bg-warm-gray);
    cursor: pointer;
    width: 50%;
    color: var(--color-text-secondary);
    position: relative;
    z-index: 0;
    transition: color .25s ease;
}

.catalog-tab.is-active {
    color: var(--color-text-primary);
}

.catalog-menu-tabs__indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 3px;
    background: var(--color-border-dark);
    pointer-events: none;
    z-index: 1;
    transition: transform .3s ease;
    will-change: transform;
}

.catalog-menu-tabs[data-active="rooms"] .catalog-menu-tabs__indicator {
    transform: translateX(100%);
}

.catalog-menu-subhead {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-bottom: 1px solid var(--color-border-light);
    padding: 12px 24px;
    justify-content: space-between;
    flex-shrink: 0;
}

.catalog-menu-subhead.is-hidden {
    display: none;
}

.catalog-menu-view-all,
.catalog-menu-selected-name {
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}

.catalog-menu-view-all {
    gap: 12px;
    text-decoration: none;
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.view-all {
    height: 16px;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-menu-selected-name {
    justify-content: flex-start;
    text-align: left;
    color: var(--color-text-primary);
    min-width: 0;
}

.catalog-menu-close {
    border: none;
    background: none;
    cursor: pointer;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    color: var(--color-text-primary);
}

.catalog-menu-close--desktop .catalog-menu-close__line {
    transform-box: view-box;
    transform-origin: 12px 12px;
    transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.catalog-menu-close--desktop .catalog-menu-close__line--a {
    transform: rotate(45deg);
}

.catalog-menu-close--desktop .catalog-menu-close__line--b {
    transform: rotate(-45deg);
}

.catalog-menu-close--desktop:hover .catalog-menu-close__line--a,
.catalog-menu-close--desktop:hover .catalog-menu-close__line--b,
.catalog-menu-close--desktop:focus-visible .catalog-menu-close__line--a,
.catalog-menu-close--desktop:focus-visible .catalog-menu-close__line--b {
    transform: rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
    .catalog-menu-close--desktop .catalog-menu-close__line {
        transition: none;
    }
}

.catalog-menu-scroll {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.catalog-menu-scroll.is-hidden {
    display: none;
}

.catalog-menu-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 24px 12px 32px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.catalog-menu-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.catalog-menu-scrollbar {
    position: absolute;
    top: 12px;
    right: 6px;
    bottom: 12px;
    width: 3px;
    background: transparent;
}

.catalog-menu-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    min-height: 24px;
    background: #B8AEA2;
    cursor: pointer;
}

.catalog-menu-list {
    list-style: none;
}

.catalog-menu-list.is-hidden {
    display: none;
}

.catalog-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    color: var(--color-text-primary);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.catalog-menu-arrow {
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.catalog-menu-children {
    display: none;
}

.catalog-menu-footer.is-hidden {
    display: none;
}

.catalog-submenu {
    list-style: none;
    padding-left: 20px;
}

.catalog-submenu a {
    display: block;
    padding: 8px 20px;
    color: var(--color-text-muted);
    font-size: 14px;
    text-decoration: none;
}

.catalog-menu-footer {
    padding: 12px 24px 12px 32px;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    align-items: start;
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.catalog-menu-footer a {
    padding: 8px 0;
    text-decoration: none;
    color: var(--color-accent-terracotta);
}

.login-block {
    padding: 24px 24px 24px 32px;
    flex-shrink: 0;
}

.catalog-login-button {
    text-align: center;
    padding: 15px 24px;
    background: var(--color-accent-terracotta);
    color: #fff !important;
    text-decoration: none !important;
    text-transform: none;
}

.catalog-login-button:hover {
    background-color: var(--color-accent-terracotta-hover);
}

@media (max-width: 1023px) {
    .catalog-menu-panel {
        width: 375px;
        max-width: 100vw;
    }

    .catalog-menu-mobile-bar {
        display: grid;
        grid-template-columns: 40px 1fr 96px;
        align-items: center;
        gap: 12px;
        padding: 6px 16px;
        border-bottom: 1px solid var(--color-border-light);
        flex-shrink: 0;
        background: var(--color-bg-main);
    }

    .catalog-menu-logo {
        justify-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        text-decoration: none;
    }


    .catalog-menu-mobile-actions {
        display: flex;
        align-items: center;
        gap: 16px;
        justify-self: end;
    }

    .catalog-menu-action {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: none;
        background: none;
        padding: 0;
        color: var(--color-text-primary);
        text-decoration: none;
        cursor: pointer;
    }

    .catalog-menu-close--desktop {
        display: none;
    }

    .catalog-menu-title {
        display: none !important;
    }

    .catalog-menu-header {
        padding: 12px 16px;
        border-bottom: 1px solid var(--color-border-light);
    }

    .catalog-menu-panel[data-level="root"] .catalog-menu-header,
    .catalog-menu-panel[data-level="root"] .catalog-menu-browse {
        display: none;
    }

    .catalog-menu-panel[data-level="root"] .catalog-menu-root {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }

    .catalog-menu-panel:not([data-level="root"]) .catalog-menu-root {
        display: none;
    }

    .catalog-menu-panel[data-level="catalog"] .catalog-menu-footer,
    .catalog-menu-panel[data-level="catalog"] .login-block,
    .catalog-menu-panel[data-level="drilled"] .catalog-menu-footer,
    .catalog-menu-panel[data-level="drilled"] .login-block {
        display: none;
    }

    .catalog-menu-root-primary {
        display: flex;
        flex-direction: column;
        padding: 12px 16px 0;
    }

    .catalog-menu-root-link {
        display: flex;
        align-items: center;
        width: 100%;
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        text-align: left;
        text-decoration: none;
        color: var(--color-text-primary);
        cursor: pointer;
        font: inherit;
    }

    .catalog-menu-root-link--primary {
        padding: 8px 0;
        text-transform: uppercase;
        border-bottom: 1px solid var(--color-border-light);
        font-family: 'Cormorant';
        font-weight: 500;
        font-size: 26px;
        line-height: 32px;
    }

    .catalog-menu-root-secondary {
        display: flex;
        flex-direction: column;
        padding: 0 16px;
        gap: 4px;
    }

    .catalog-menu-root-link--secondary {
        padding: 12px 0;
    }

    .catalog-menu-root-utility {
        display: flex;
        flex-direction: column;
        padding: 0 16px;
    }

    .catalog-menu-root-link--utility {
        gap: 12px;
        padding: 4px 0;
        border-top: 1px solid var(--color-border-light);
        border-bottom: 1px solid var(--color-border-light);
    }

    .catalog-menu-root-link--utility:last-child {
        border-top: none;
    }

    .catalog-menu-root-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .catalog-menu-root-footer {
        margin-top: auto;
        padding: 24px 24px 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .catalog-menu-root-meta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .catalog-menu-root-meta-item {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--color-text-secondary);
        text-align: center;
    }

    .catalog-menu-root-meta-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .catalog-menu-root-socials {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .catalog-menu-root-social {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--color-border-dark);
        text-decoration: none;
    }

    .catalog-menu-content {
        padding: 12px 16px 12px 24px;
    }

    .catalog-tab {
        padding: 12px 16px;
    }

    .catalog-menu-subhead {
        padding: 12px 16px;
    }
}

.search-overlay {
    position: fixed;
    top: var(--site-header-offset, 0px);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-overlay);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.search-panel {
    position: fixed;
    top: var(--site-header-offset, 0px);
    left: 0;
    right: 0;
    background: var(--color-bg-main);
    z-index: 301;
    padding: 0;
    transform: translateY(calc(-100% - var(--site-header-offset, 0px)));
    transition: transform .3s, top .35s ease, visibility .3s;
    box-shadow: var(--shadow-sm);
    pointer-events: none;
    visibility: hidden;
}

.search-panel.is-open {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.search-panel-inner {
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.search-panel-inner-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.search-empty-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.search-empty-header[hidden] {
    display: none;
}

.search-empty-title {
    margin: 0;
    color: var(--color-text-primary);
}

.search-empty-text {
    margin: 0;
    color: var(--color-text-secondary);
}

.search-form {
    display: flex;
    gap: 9px;
    align-items: center;
    position: relative;
}

.search-input {
    flex: 1;
    width: 570px;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid var(--color-border-medium);
    font-size: 16px;
    font-family: inherit;
}

.search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.search-input:focus, .search-input:focus-visible {
    border: none;
    border-bottom: 1px solid var(--color-border-medium);
    outline: none;
}

.search-input::placeholder {
    color: var(--color-text-secondary);
}

.search-icon {
    height: 30px;
    display: flex;
    align-items: start;
}

.search-clear-button {
    border: none;
    background: transparent;
    width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    right: 0;
}

.search-clear-button[hidden] {
    display: none;
}

.search-close-button {
    border: none;
    background: none;
    font-size: 32px;
    cursor: pointer;
}

.search-suggestions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.search-quick-links,
.search-popular-categories,
.search-live-categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.search-quick-links[hidden],
.search-live-results[hidden],
.search-empty-state[hidden] {
    display: none;
}

.search-section-title {
    color: var(--color-text-primary);
    display: block;
    text-transform: uppercase;
}

.search-quick-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.search-quick-tags a {
    color: var(--color-text-primary);
    text-decoration: none;
}

.search-quick-tags a:hover {
    color: var(--color-text-accent-mustard);
}

.delimiter {
    height: 3px;
    width: 3px;
    border-radius: 50%;
    background-color: var(--color-text-primary);
    flex-shrink: 0;
}

.search-live-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.search-live-products {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 60px;
}

.search-products-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.search-product-card {
    min-width: 0;
}

.search-product-card .product-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-product-card .product-card-price {
    flex-wrap: wrap;
}

.search-live-actions {
    display: flex;
    justify-content: center;
}

.search-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 64px;
    background-color: var(--color-bg-warm-gray);
    padding: 64px 0;
}

.search-empty-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.search-empty-actions .outline-button {
    width: 570px;
}

.search-empty-home {
    color: var(--color-text-primary);
    text-decoration: none;
}


.search-result-item {
    display: block;
    padding: 8px 0;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

@media (max-width: 1200px) {
    .search-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .search-panel {
        padding: 0 20px;
    }

    .search-input {
        width: min(570px, calc(100vw - 80px));
    }

    .search-products-grid {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .search-product-card {
        flex: 0 0 220px;
    }
}

/* Footer */
.site-footer {
    background: #fff;
    margin-top: auto;
    flex-shrink: 0;
}

.site-footer-grid {
    display: flex;
    align-items: start;
    gap: 72px;
    padding: 48px 100px;
    background-color: var(--color-bg-warm-gray);
}

.footer-nav-cluster {
    display: contents;
}

.footer-heading {
    text-transform: uppercase;
    color: #000000;
}

.footer-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.footer-accordion-toggle {
    display: none;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #161412;
}

.footer-accordion-toggle svg {
    display: block;
}

.category-column.is-open .footer-accordion-toggle__vertical {
    opacity: 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 18px;
}

.footer-column a {
    color: var(--color-text-primary);
    text-decoration: none;
    text-wrap: nowrap;
}

.footer-column a:hover {
    color: var(--color-text);
}

.mobile-center-column, .mobile-footer-subscribe {
    display: none;
}

.category-column .footer-items {
    display: block;
    columns: 2;
    column-gap: 0;
    max-height: none;
}

.category-column .footer-items > a {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0 0 12px;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.category-column .footer-items > a:last-child {
    margin-bottom: 0;
}

.footer-contact-line {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.footer-contacts-items {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 12px;
}

.footer-contacts-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contacts-icon {
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contacts-data {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.email-data a, .phone-data a {
    text-decoration: underline;
}

.footer-contacts-label {
    color: var(--color-text-secondary);
}

.footer-contacts-text {
    color: var(--color-text-primary);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-item {
    height: 36px;
    width: 36px;
    background-color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-social-item:hover {
    background-color: #6B6156;
}

.footer-items {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 12px;
}

.footer-subscribe {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
}


.footer-subscribe-text {
    color: var(--color-text-secondary);
}

.footer-subscribe-field {
    margin-bottom: 12px;
}

.footer-subscribe-row {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--color-border-light);
    background: var(--color-text-inverse);
    transition: border-color .2s, background-color .2s;
}

.footer-subscribe-input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--color-text-muted);
    padding: 14px 16px;
    height: 56px;
    color: var(--color-text-primary);
    background: transparent;
    outline: none;
}

.footer-subscribe-input::placeholder {
    color: var(--color-text-secondary);
}

.footer-subscribe-input:active, .footer-subscribe-input:target, .footer-subscribe-input:focus {
    border: 2px solid var(--color-accent-mustard);
}

.footer-subscribe-input.has-error {
    background-color: var(--color-form-error-bg);
    border-color: var(--color-form-error-border);
}

.footer-subscribe-input.success {
    background-color: var(--color-form-success-bg);
    border-color: var(--color-form-success-border);
}

.footer-subscribe-button {
    flex-shrink: 0;
    width: 56px;
    border: none;
    background: var(--color-accent-terracotta);
    color: var(--color-btn-primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s;
}

.footer-subscribe-button:hover {
    background: var(--color-btn-primary-hover);
}

.footer-subscribe-button:active {
    background: var(--color-btn-primary-active);
}

.footer-subscribe-message {
    display: block;
    margin: 8px 0 0;
    font-family: var(--font-sans);
    font-size: var(--text-caption-size);
    line-height: var(--text-caption-lh);
    font-weight: 400;
}

.footer-subscribe-message:empty,
.footer-subscribe-message[hidden] {
    display: none;
}

/* Focus / hover */
.footer-subscribe-field:not(.is-error):not(.is-success):focus-within .footer-subscribe-row,
.footer-subscribe-field:not(.is-error):not(.is-success) .footer-subscribe-row:hover {
    border-color: var(--color-accent-mustard);
}

/* Error */
.footer-subscribe-field.is-error .footer-subscribe-row {
    background: var(--color-form-error-bg);
    border-color: var(--color-form-error-border);
}

.footer-subscribe-field.is-error .footer-subscribe-input {
    background-color: var(--color-form-error-bg);
    border-color: var(--color-form-error-border);
    color: var(--color-form-error-border);
}

.footer-subscribe-field.is-error .footer-subscribe-input::placeholder {
    color: var(--color-form-error-border);
}

.footer-subscribe-field.is-error .footer-subscribe-message {
    color: var(--color-form-error-border);
}

/* Success */
.footer-subscribe-field.is-success .footer-subscribe-row {
    background: var(--color-form-success-bg);
    border-color: var(--color-form-success-border);
}

.footer-subscribe-field.is-success .footer-subscribe-input {
    background-color: var(--color-form-success-bg);
    border-color: var(--color-form-success-border);
    color: var(--color-form-success-border);
}

.footer-subscribe-field.is-success .footer-subscribe-input::placeholder {
    color: var(--color-form-success-border);
}

.footer-subscribe-field.is-success .footer-subscribe-message {
    color: var(--color-form-success-border);
}

.footer-subscribe-field.is-success .footer-subscribe-button {
    opacity: var(--color-btn-disabled-opacity);
    pointer-events: none;
}

.footer-privacy-checkbox {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;
}

.footer-privacy-checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    pointer-events: none;
}

.footer-privacy-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: 1px solid var(--color-border-medium, #B8AEA2);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, border-color .2s ease;
}

.footer-privacy-box svg {
    display: block;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity .15s ease, transform .15s ease;
}

.footer-privacy-checkbox input:checked + .footer-privacy-box {
    background: #161412;
    border-color: #161412;
}

.footer-privacy-checkbox input:checked + .footer-privacy-box svg {
    opacity: 1;
    transform: scale(1);
}

.footer-privacy-checkbox input:focus-visible + .footer-privacy-box {
    outline: 2px solid var(--color-accent-mustard, #D7A556);
    outline-offset: 2px;
}

.footer-privacy-checkbox .text-body-sm {
    color: var(--color-text-primary);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 60px;
    color: var(--color-text-secondary);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-bottom-links {
    flex-wrap: wrap;
    display: flex;
    column-gap: 20px;
    max-width: 870px;
    row-gap: 8px;
    justify-content: center;
}

/* Shared utilities */
.flash-message {
    padding: 12px 24px;
    margin: 16px auto;
    font-size: 14px;
}

.flash-success {
    background: #edf7ed;
    color: #2e7d32;
}

.flash-error {
    background: #fdecea;
    color: #c62828;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    margin: 32px 0 24px;
}

.empty-state {
    text-align: center;
    padding: 64px 20px;
}

.empty-state h2 {
    font-family: var(--font-serif);
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* Favorites */
.favorites-page .page-title {
    margin-bottom: 32px;
}

.favorites-page .products-grid {
    margin-bottom: 16px;
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-family: var(--font-sans);
    font-size: var(--text-label-size);
    line-height: var(--text-label-lh);
    font-weight: var(--text-label-weight);
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

/* Input Field — base control */
.input-field {
    width: 100%;
}

.input-field-control {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--color-border-dark);
    background: var(--color-text-inverse);
    transition: border-color .2s, background-color .2s, opacity .2s;
    outline: none;
}

.input-field-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 0;
    font-family: var(--font-sans);
    font-size: var(--text-body-sm-size);
    line-height: var(--text-body-sm-lh);
    font-weight: 400;
    color: var(--color-text-primary);
}

.input-field-input::placeholder {
    color: var(--color-text-muted);
}

.input-field-icon,
.input-field-toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.input-field-toggle {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: var(--color-text-secondary);
}

.input-field-toggle:hover {
    color: var(--color-text-primary);
}

.input-field-toggle .icon-eye {
    display: none;
}

.input-field-toggle.is-visible .icon-eye {
    display: block;
}

.input-field-toggle.is-visible .icon-eye-off {
    display: none;
}

.input-field-prefix {
    flex-shrink: 0;
    font-family: var(--font-sans);
    font-size: var(--text-body-sm-size);
    line-height: var(--text-body-sm-lh);
    font-weight: 500;
    color: var(--color-text-primary);
}

.input-field-divider {
    flex-shrink: 0;
    width: 1px;
    height: 20px;
    background: var(--color-border-medium);
}

.input-field-message {
    margin: 8px 0 0;
    font-family: var(--font-sans);
    font-size: var(--text-caption-size);
    line-height: var(--text-caption-lh);
    font-weight: 400;
}

.input-field-message:empty,
.input-field-message[hidden] {
    display: none;
}

/* Focused */
.input-field:not(.is-error):not(.is-disabled):focus-within .input-field-control {
    border-color: var(--color-accent-mustard);
}

/* Filled (not focused) */
.input-field.is-filled:not(.is-error):not(.is-disabled):not(:focus-within) .input-field-control {
    border-color: var(--color-border-dark);
}

/* Error */
.input-field.is-error .input-field-control {
    border-color: var(--color-form-error-text);
}

.input-field.is-error .input-field-message {
    color: var(--color-form-error-text);
}

/* Disabled */
.input-field.is-disabled .input-field-control,
.input-field-control:has(.input-field-input:disabled) {
    background: var(--color-bg-warm-gray);
    border-color: var(--color-border-light);
    opacity: 0.5;
    pointer-events: none;
}

.input-field.is-disabled .input-field-input,
.input-field-input:disabled {
    color: var(--color-text-muted);
}

/* Standalone form-input (legacy / simple fields) */
.form-input, .form-textarea, .filter-input, .filter-select, .sort-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: var(--text-body-sm-size);
    line-height: var(--text-body-sm-lh);
    color: var(--color-text-primary);
    background: var(--color-text-inverse);
    outline: none;
    transition: border-color .2s, background-color .2s, opacity .2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

.form-input:focus,
.form-textarea:focus,
.filter-input:focus,
.filter-select:focus,
.sort-select:focus {
    border-color: var(--color-accent-mustard);
}

.form-input.is-filled:not(:focus),
.form-textarea.is-filled:not(:focus) {
    border-color: var(--color-bg-dark);
}

.form-field.is-error .form-input,
.form-field.is-error .form-textarea,
.form-input.is-error,
.form-textarea.is-error {
    border-color: var(--color-form-error-text);
}

.form-input:disabled,
.form-textarea:disabled,
.filter-input:disabled,
.filter-select:disabled {
    background: var(--color-bg-warm-gray);
    color: var(--color-text-muted);
    opacity: 0.5;
    cursor: not-allowed;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.form-error {
    display: block;
    margin-top: 8px;
    color: var(--color-form-error-text);
    font-size: var(--text-caption-size);
    line-height: var(--text-caption-lh);
}

/* Auth pages */
.auth-page {
    padding: 48px 24px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 50vh;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 32px 40px;
    box-shadow: var(--shadow-sm);
}

.auth-card h1 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 28px;
}

.auth-form .primary-button {
    width: 100%;
    margin-top: 8px;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--color-text-muted);
}

.auth-switch a {
    color: var(--color-text);
    text-decoration: underline;
}

/* Product card (catalog pages) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(426px, 1fr));
    gap: 32px;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-card-image-link {
    display: block;
    text-decoration: none;
    color: inherit;

}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    background: #f3f1ee;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.product-img-placeholder,
.product-card-image img.is-placeholder {
    object-fit: contain;
    padding: 24px;
    opacity: 0.85;
}

.product-card-favourites {
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    z-index: 2;
}

.product-card-favourite-button {
    width: 60px;
    height: 60px;
    border: none;
    background: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.product-card-favourite-button:hover {
    color: var(--color-accent-terracotta);
}

.product-card-favourite-button.is-active svg path {
    fill: var(--color-accent-terracotta);
    stroke: var(--color-accent-terracotta);
}

.product-card-badges {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}

.badge {
    padding: 2px 8px;
    border-radius: 15px;
    color: #fff;
    text-transform: unset;
}

.badge-sale {
    background: var(--color-accent-terracotta-light);
    color: var(--color-text-accent-terracotta);
}

.badge-new {
    background: var(--color-badge-credit-bg);
    color: var(--color-badge-credit-text);
}

.badge-stock {
    background: var(--color-badge-eco-bg);
    color: var(--color-badge-eco-text);
}

.product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card-body__mobile {
    display: none;
}

.product-card-shop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--color-text-secondary);
}

.product-card-shop-logo {
    width: 100px;
    height: 32px;
    object-fit: contain;
}

.product-card-pavilion {
    color: var(--color-text-secondary);
}

.product-card-meta {
    display: flex;
    align-items: start;
    gap: 32px;
    width: 100%;
    justify-content: space-between;
}

.product-card-cart {
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-warm-gray);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color .2s;
}

.product-card-cart:hover {
    background-color: var(--color-accent-terracotta);
}

.product-card-cart:hover svg path {
    fill: #FFFFFF;
}

.product-card-cart.is-in-cart {
    background-color: var(--color-accent-terracotta);
}

.product-card-cart.is-in-cart svg path {
    fill: #FFFFFF;
}

.product-card-cart.is-in-cart:hover {
    background-color: var(--color-accent-terracotta-hover);
}

.product-card-title {
    color: var(--color-text-primary);
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
}

.product-card-title a:hover {

}

.product-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 20px;
}

.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.product-card-add-button {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    padding: 8px 12px;
}

.icon-button {
    background: none;
    border: 1px solid var(--color-border);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.icon-button:hover {
    color: var(--color-sale);
    border-color: var(--color-sale);
}

.price-current {
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-old {
    color: var(--color-text-secondary);
    text-decoration: line-through;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-discount {
    padding: 2px 8px;
    border-radius: 15px;
    background-color: var(--color-accent-terracotta-light);
    color: var(--color-text-accent-terracotta);
}

.pagination-wrapper {
    margin-top: 32px;
}

.pagination-wrapper nav {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.pagination-wrapper a, .pagination-wrapper span {
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
}

/* User cabinet */
.user-cabinet-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 32px 24px;
}

.user-cabinet-sidebar {
    background: #fff;
    padding: 24px;
    border: 1px solid var(--color-border);
    height: fit-content;
}

.user-cabinet-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-cabinet-nav a,
.user-cabinet-nav button {
    padding: 10px 12px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    text-align: left;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.user-cabinet-nav a.is-active,
.user-cabinet-nav a:hover,
.user-cabinet-nav button:hover,
.user-cabinet-nav button.is-active {
    color: var(--color-text);
    background: var(--color-bg);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--color-border);
}

.data-table th, .data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.data-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    background: #f0f0f0;
}

.status-new {
    background: var(--color-bg-warm-gray);
    color: var(--color-text-primary);
}

.status-accepted,
.status-completed {
    background: var(--color-accent-sage-light);
    color: var(--color-text-green);
}

.status-clarification,
.status-mixed {
    background: var(--color-bg-milk);
    color: var(--color-text-accent-mustard);
}

.status-cancelled {
    background: var(--color-accent-terracotta-light);
    color: var(--color-text-accent-terracotta);
}

/* Favorites merge modal */
.favorites-merge-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.favorites-merge-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(126, 117, 107, 0.75);
}

.favorites-merge-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    background: var(--color-bg-main);
    padding: 40px 36px 32px;
    text-align: center;
}

.favorites-merge-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.favorites-merge-modal__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.favorites-merge-modal__title {
    margin: 0 0 12px;
    text-transform: uppercase;
    color: var(--color-text-primary);
}

.favorites-merge-modal__text {
    margin: 0 0 24px;
    color: var(--color-text-secondary);
}

.favorites-merge-modal__previews {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.favorites-merge-modal__thumb {
    width: 88px;
    height: 88px;
    background: var(--color-bg-warm-gray);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-merge-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.favorites-merge-modal__thumb--more {
    color: var(--color-text-primary);
    font-weight: 500;
}

.favorites-merge-modal__note {
    margin: 0 0 28px;
    color: var(--color-text-secondary);
}

.favorites-merge-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.favorites-merge-modal__actions form {
    margin: 0;
}

.favorites-merge-modal__btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: var(--text-button-size);
    line-height: var(--text-button-lh);
    font-weight: var(--text-button-weight);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color .2s, color .2s, border-color .2s;
}

.favorites-merge-modal__btn--outline {
    background: transparent;
    border-color: var(--color-bg-dark);
    color: var(--color-bg-dark);
}

.favorites-merge-modal__btn--outline:hover {
    background: rgba(22, 20, 18, 0.06);
}

.favorites-merge-modal__btn--primary {
    background: var(--color-accent-terracotta);
    border-color: var(--color-accent-terracotta);
    color: #fff;
}

.favorites-merge-modal__btn--primary:hover {
    background: var(--color-accent-terracotta-hover);
    border-color: var(--color-accent-terracotta-hover);
}

body.favorites-merge-modal-open {
    overflow: hidden;
}

/* Global toasts */
.site-toasts {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 12000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    max-width: min(440px, calc(100vw - 32px));
    pointer-events: none;
}

.site-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    background: var(--color-accent-mustard-light);
    border: 1px solid var(--color-accent-mustard);
    color: var(--color-text-primary);
    box-shadow: 0 8px 24px rgba(22, 20, 18, 0.08);
    animation: site-toast-in 0.28s ease;
}

.site-toast--success {
    background: var(--color-form-success-bg);
    border-color: var(--color-form-success-border);
    color: var(--color-form-success-text);
}

.site-toast--info {
    background: var(--color-form-info-bg);
    border-color: var(--color-form-info-border);
    color: var(--color-form-info-text);
}

.site-toast--error {
    background: var(--color-form-error-bg);
    border-color: var(--color-form-error-border);
    color: var(--color-form-error-text);
}

.site-toast__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--color-text-accent-mustard);
}

.site-toast--success .site-toast__icon {
    color: var(--color-form-success-text);
}

.site-toast--info .site-toast__icon {
    color: var(--color-form-info-text);
}

.site-toast--error .site-toast__icon {
    color: var(--color-form-error-text);
}

.site-toast__body {
    flex: 1;
    min-width: 0;
}

.site-toast__title {
    margin: 0 0 4px;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.site-toast__message {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-secondary);
}

.site-toast--success .site-toast__message {
    color: var(--color-accent-olive);
}

.site-toast--info .site-toast__message {
    color: var(--color-form-info-text);
}

.site-toast--error .site-toast__message {
    color: var(--color-accent-terracotta);
}

.site-toast__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 8px;
}

.site-toast__undo {
    border: none;
    background: transparent;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-text-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.site-toast__undo:hover {
    color: var(--color-accent-mustard-hover);
}

.site-toast__close {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.site-toast__close:hover {
    color: var(--color-text-primary);
}

.site-toast.is-leaving {
    animation: site-toast-out 0.22s ease forwards;
}

@keyframes site-toast-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes site-toast-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

@media (max-width: 1919px) {
    .location-item__time {
        display: none;
    }

    .page-container {
        max-width: 100svw;
    }

    .mobile-center-column, .mobile-footer-subscribe {
        display: flex;
        margin-top: 30px;
    }

    .center-column, .footer-subscribe {
        display: none;
    }

    .site-footer-grid {
        gap: 48px;
    }

    .footer-contacts-column {
        max-width: 268px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 1365px) {
    .category-column .footer-items {
        columns: 1;
    }

    .site-header-promo__navigation {
        gap: 12px;
    }
}

@media (max-width: 1199px) {
    .site-header-promo__location {
        display: none;
    }

    .site-header-promo {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1023px) {
    .site-header-promo, .main-navigation {
        display: none;
    }

    .site-header-inner {
        padding: 16px 32px;
    }

    .site-header.is-scrolled .site-header-inner {
        padding: 16px 32px;
    }

    .site-footer-grid {
        padding: 48px;
    }

    .footer-nav-cluster {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        flex: 1;
        min-width: 0;
    }

    .footer-contacts-column {
        flex: 1;
        min-width: 0;
        max-width: none;
    }

    .buyers-column .mobile-center-column {
        margin-top: 14px;
    }

    .category-column .footer-accordion-toggle {
        display: block;
    }

    .category-column .footer-items {
        display: none;
        columns: auto;
        column-count: 1;
        max-height: none;
        flex-wrap: nowrap;
    }

    .category-column.is-open .footer-items {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .category-column.is-open .footer-items > a {
        width: auto;
        margin: 0;
    }

    .mobile-footer-subscribe .footer-socials,
    .mobile-footer-subscribe .footer-contacts-label,
    .footer-contacts-items .footer-socials {
        padding-left: 50px;
    }

    .search-panel {
        padding: 0;
    }

    .search-panel-inner {
        gap: 48px;
    }

    .search-panel-inner-header {
        padding: 0 16px;
    }

    .search-live-results {
        gap: 20px;
    }

    .search-live-products {
        padding: 0 0 0 16px;
        overflow: auto;
    }

    .catalog-menu-action .action-badge {
        top: 10px;
        right: 4px;
    }
}

@media (max-width: 767px) {
    .site-footer-grid {
        flex-direction: column;
        padding: 48px 16px;
    }

    .site-header.is-scrolled .site-header-inner, .site-header-inner {
        padding: 12px 16px;
    }

    .account-button, .favorites-button {
        display: none;
    }

    .footer-column {
        width: 100%;
    }

    .footer-nav-cluster {
        width: 100%;
    }

    .footer-bottom {
        padding: 16px 24px;
    }

    .product-card-badges {
        bottom: 8px;
        right: 8px;
        flex-wrap: wrap;
    }
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 10900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #D5CCC0;
    background: rgba(255, 243, 214, 0.3);
    cursor: pointer;
    transition: opacity .2s ease, visibility .2s ease, background-color .2s ease, bottom .2s ease;
}

.scroll-top[hidden] {
    display: none;
}

.scroll-top:hover {
    background: rgba(255, 243, 214, 0.55);
}

body.is-cookie-banner-visible .scroll-top {
    bottom: calc(32px + var(--cookie-banner-height, 0px));
}

@media (max-width: 767px) {
    .scroll-top {
        right: 16px;
        bottom: 16px;
    }

    body.is-cookie-banner-visible .scroll-top {
        bottom: calc(16px + var(--cookie-banner-height, 0px));
    }
}
