:root {
    --bg: #f6efe6;
    --bg-soft: #fbf7f2;
    --surface: rgba(255, 250, 244, 0.94);
    --surface-strong: #fffaf4;
    --surface-dark: linear-gradient(145deg, #6d3117 0%, #3c1b10 100%);
    --ink: #1f1914;
    --ink-soft: #6f6257;
    --accent: #9f552e;
    --accent-deep: #5d2915;
    --gold: #d4a354;
    --gold-soft: rgba(212, 163, 84, 0.16);
    --line: rgba(31, 25, 20, 0.1);
    --shadow: 0 26px 90px rgba(59, 30, 14, 0.12);
    --shadow-soft: 0 16px 48px rgba(59, 30, 14, 0.08);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1360px;
    --font-ui: "Noto Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-heading: var(--font-ui);
    --header-h: 101px; /* live-measured by site.js (syncHeaderOffset) */
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-ui);
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(212, 163, 84, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(159, 85, 46, 0.12), transparent 22%),
        linear-gradient(180deg, #f7f1ea 0%, #f4ece1 48%, #ede2d6 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.page-shell {
    min-height: 100vh;
}

.reveal {
    animation: rise-in 0.8s ease both;
}

@keyframes rise-in {
    from {
        opacity: 0;
        translate: 0 28px;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

.announcement-bar {
    padding: 10px 0;
    background: linear-gradient(90deg, rgba(93, 41, 21, 0.95), rgba(159, 85, 46, 0.92));
    color: #fff7ef;
    font-size: 0.92rem;
}

.announcement-bar__inner {
    text-align: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(247, 241, 234, 0.86);
    border-bottom: 1px solid rgba(31, 25, 20, 0.06);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark__logo {
    width: 110px;
    height: auto;
    flex: 0 0 auto;
}

.brand-mark__caption {
    display: grid;
    gap: 3px;
}

.brand-mark__caption strong,
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: var(--ink-soft);
}

.brand-mark__caption span {
    font-size: 0.82rem;
    color: rgba(31, 25, 20, 0.66);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(31, 25, 20, 0.08);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-soft);
}

.header-search__icon {
    color: var(--ink-soft);
    font-size: 1.1rem;
}

.header-search input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: var(--ink);
    outline: none;
}

.site-header__controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(31, 25, 20, 0.08);
}

.lang-switch__item {
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background 0.24s ease, color 0.24s ease;
}

.lang-switch__item.is-active {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
}

.header-link {
    position: relative;
    color: var(--ink-soft);
    font-size: 0.92rem;
    transition: color 0.25s ease;
}

.header-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.header-link:hover {
    color: var(--ink);
}

.header-link:hover::after {
    transform: scaleX(1);
}

.cart-button,
.primary-button,
.secondary-button,
.ghost-button,
.qty-button,
.sidebar-mode,
.promo-dot {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.26s ease, box-shadow 0.26s ease, background 0.26s ease, color 0.26s ease, border-color 0.26s ease;
}

.cart-button:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.qty-button:hover,
.sidebar-mode:hover,
.promo-dot:hover {
    transform: translateY(-2px);
}

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 24px rgba(24, 18, 14, 0.2);
}

.cart-button strong {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    min-height: 28px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
}

.primary-button,
.secondary-button,
.ghost-button,
.sidebar-mode {
    padding: 13px 20px;
}

.primary-button {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    box-shadow: 0 18px 38px rgba(93, 41, 21, 0.25);
}

.primary-button--compact {
    width: 100%;
    padding: 13px 18px;
}

.primary-button--full {
    width: 100%;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.84);
    color: var(--ink);
    box-shadow: 0 10px 26px rgba(59, 30, 14, 0.08);
}

.ghost-button {
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
}

.sidebar-mode {
    width: 100%;
    background: rgba(255, 255, 255, 0.68);
    color: var(--ink);
    border: 1px solid rgba(31, 25, 20, 0.08);
    text-align: left;
}

.home-shell,
.product-page,
.desk-shell,
.auth-shell {
    padding: 28px 0 72px;
}

.home-layout {
    display: grid;
    grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.page-sidebar {
    position: sticky;
    top: 88px;
}

.page-sidebar__panel,
.hero__content,
.hero__stage,
.feature-card,
.product-card,
.catalog-toolbar,
.checkout-modal,
.auth-card,
.orders-table-wrap,
.product-page__media,
.product-page__body,
.promo-panel,
.info-card,
.review-card,
.franchise-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.page-sidebar__panel {
    padding: 24px;
}

.page-sidebar__panel h2,
.hero__content h1,
.hero-pickup h2,
.catalog-toolbar h2,
.section-heading h1,
.section-heading h2,
.category-section__head h3,
.product-page__body h1,
.checkout-modal__header h2,
.auth-card h1,
.promo-slide__body h3,
.franchise-card h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 0.96;
}

.page-sidebar__panel h2 {
    margin-top: 10px;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.page-sidebar__text,
.hero__lead,
.feature-card p,
.product-card__body p,
.section-heading p,
.category-section__head p,
.product-page__body p,
.site-footer p,
.auth-card p,
.catalog-toolbar__text,
.promo-slide__body p,
.info-item p,
.review-card__quote,
.franchise-card p {
    color: var(--ink-soft);
    line-height: 1.7;
}

.page-sidebar__quicklinks,
.page-sidebar__nav,
.page-sidebar__modes {
    display: grid;
    gap: 10px;
}

.page-sidebar__quicklinks {
    margin-top: 22px;
}

.page-sidebar__quicklinks a,
.page-sidebar__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(31, 25, 20, 0.06);
    color: var(--ink-soft);
    transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.page-sidebar__quicklinks a:hover,
.page-sidebar__nav a:hover,
.page-sidebar__nav a.is-active {
    background: rgba(212, 163, 84, 0.14);
    color: var(--ink);
    border-color: rgba(159, 85, 46, 0.16);
    transform: translateX(4px);
}

.page-sidebar__nav {
    margin-top: 20px;
}

.page-sidebar__nav a strong {
    color: var(--accent-deep);
}

.page-sidebar__nav a.is-muted {
    opacity: 0.44;
}

.page-sidebar__modes {
    margin-top: 18px;
}

.page-sidebar__note {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(31, 25, 20, 0.04);
}

.page-sidebar__dot {
    width: 12px;
    height: 12px;
    margin-top: 7px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--accent));
}

.home-main {
    display: grid;
    gap: 24px;
}

.hero {
    padding: 0;
}

.hero__grid,
.site-footer__grid,
.features__grid,
.product-page__grid,
.info-grid,
.review-grid {
    display: grid;
    gap: 24px;
}

.hero__grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

.hero__content {
    padding: 38px;
}

.hero__content h1 {
    margin-top: 14px;
    font-size: clamp(2.8rem, 6vw, 5rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 32px;
}

.hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hero-stat,
.hero-pickup,
.hero-note,
.feature-card,
.product-card,
.orders-table-wrap,
.product-page__media,
.product-page__body,
.catalog-toolbar,
.promo-panel,
.info-card,
.review-card,
.franchise-card {
    border-radius: var(--radius-lg);
}

.hero-stat {
    padding: 16px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(31, 25, 20, 0.06);
}

.hero-stat strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.hero__stage {
    padding: 22px;
    display: grid;
    gap: 18px;
}

.hero-pickup,
.hero-note {
    padding: 26px;
}

.hero-pickup {
    min-height: 230px;
    background: var(--surface-dark);
    color: #fff;
}

.hero-pickup .eyebrow,
.hero-pickup p {
    color: rgba(255, 244, 234, 0.92);
}

.hero-pickup h2 {
    margin: 10px 0 12px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.hero-note {
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.84), rgba(255, 247, 237, 0.96)),
        radial-gradient(circle at top right, rgba(212, 163, 84, 0.16), transparent 30%);
}

.hero-note h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.promo-panel {
    padding: 26px;
}

.promo-carousel {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.promo-carousel__viewport {
    position: relative;
    min-height: 360px;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(31, 25, 20, 0.08);
}

.promo-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(260px, 0.84fr);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.38s ease, transform 0.38s ease;
    transform: scale(1.01);
}

.promo-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.promo-slide__media,
.promo-slide__body {
    min-height: 100%;
}

.promo-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-slide__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 30px;
    background:
        linear-gradient(140deg, rgba(53, 28, 19, 0.94), rgba(107, 52, 28, 0.9)),
        radial-gradient(circle at top right, rgba(212, 163, 84, 0.22), transparent 30%);
    color: #fff;
}

.promo-slide__body .eyebrow,
.promo-slide__body p {
    color: rgba(255, 241, 232, 0.9);
}

.promo-slide__body h3 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.promo-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.promo-carousel__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.promo-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    background: rgba(31, 25, 20, 0.16);
}

.promo-dot.is-active {
    width: 30px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
}

.features {
    padding: 0;
}

.features__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
    padding: 24px;
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(212, 163, 84, 0.16);
    color: var(--accent-deep);
    font-size: 1.35rem;
    font-weight: 800;
}

.catalog-shell {
    padding: 0;
}

.catalog-main {
    display: grid;
    gap: 28px;
}

.catalog-toolbar {
    padding: 26px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.catalog-toolbar h2,
.section-heading h1,
.section-heading h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.catalog-toolbar__text {
    max-width: 420px;
    margin: 0;
}

.catalog-empty {
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.75);
    border: 1px dashed rgba(159, 85, 46, 0.24);
}

.catalog-empty h3 {
    margin: 0 0 8px;
}

.section-heading,
.category-section__head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}

.category-section {
    scroll-margin-top: 100px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 96px rgba(61, 31, 14, 0.18);
    border-color: rgba(212, 163, 84, 0.28);
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(212, 163, 84, 0.12), rgba(159, 85, 46, 0.08));
}

.product-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(31, 25, 20, 0.18) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.52s ease;
}

.product-card:hover .product-card__media img {
    transform: scale(1.08);
}

.product-card:hover .product-card__media::after {
    opacity: 1;
}

.product-card__placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 4rem;
    font-family: var(--font-heading);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 20px;
}

.product-card__topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.product-card__labels {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-card__topline h4,
.feature-card h2 {
    margin: 0;
}

.product-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(31, 25, 20, 0.55);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(212, 163, 84, 0.18);
    color: var(--accent-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-card__alert,
.catalog-admin-alert strong {
    font-weight: 800;
}

.product-card__alert {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(153, 53, 36, 0.12);
    color: #8e2f1c;
    font-size: 1rem;
}

.catalog-admin-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(153, 53, 36, 0.18);
    border-radius: 8px;
    background: rgba(153, 53, 36, 0.06);
    color: #5f2418;
}

.catalog-admin-alert a {
    margin-left: auto;
    font-weight: 700;
}

.catalog-admin-alert--compact {
    margin: 4px 0 8px;
}

.product-card__controls {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.product-card__pricing {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.product-card__pricing strong,
.product-page__price,
.cart-total strong {
    font-size: 1.42rem;
    font-weight: 800;
}

.product-card__pricing span {
    color: rgba(111, 98, 87, 0.78);
}

.variant-select,
.field input,
.field select,
.field textarea,
.auth-card input,
.auth-card select,
.auth-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
}

.variant-select {
    margin-top: 6px;
}

.info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
    padding: 26px;
}

.info-card h3 {
    margin: 0 0 18px;
    font-size: 1.2rem;
}

.info-list {
    display: grid;
    gap: 14px;
}

.info-item {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(31, 25, 20, 0.06);
}

.info-item h4 {
    margin: 0 0 8px;
}

.info-item p {
    margin: 0;
}

.review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
    padding: 24px;
}

.review-card__rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--accent-deep);
    font-weight: 800;
}

.review-card__quote {
    margin: 16px 0 20px;
    font-size: 1rem;
}

.review-card__author {
    display: grid;
    gap: 4px;
}

.review-card__author span {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.review-card--empty {
    display: flex;
    align-items: center;
}

.franchise-card {
    padding: 30px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.franchise-card h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-top: 12px;
}

.field,
.auth-card form p {
    display: grid;
    gap: 8px;
}

.auth-card form p {
    margin: 0 0 16px;
}

.field--full {
    grid-column: 1 / -1;
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    justify-content: end;
    background: rgba(31, 25, 20, 0.42);
}

.cart-drawer.is-open,
.modal-shell.is-open {
    display: flex;
}

.cart-drawer__panel {
    width: min(460px, 100%);
    height: 100%;
    padding: 24px;
    background: var(--surface-strong);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(31, 25, 20, 0.16);
}

.cart-drawer__header,
.checkout-modal__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 0;
    display: grid;
    gap: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
}

.cart-item__meta h4 {
    margin: 0 0 6px;
}

.cart-item__meta p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.cart-item__qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.qty-button {
    width: 28px;
    height: 28px;
    background: rgba(159, 85, 46, 0.14);
}

.cart-drawer__footer {
    display: grid;
    gap: 14px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-shell__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 25, 20, 0.42);
}

.checkout-modal {
    position: relative;
    width: min(760px, calc(100% - 20px));
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.checkout-modal__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 24px 0;
}

.form-errors {
    color: #8f3519;
    font-size: 0.95rem;
}

.auth-shell {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: min(680px, calc(100% - 20px));
    padding: 28px;
}

.auth-card--wide {
    width: min(820px, calc(100% - 20px));
}

.auth-card p label {
    display: block;
    margin-bottom: 8px;
}

.desk-shell .container {
    display: grid;
    gap: 24px;
}

.orders-table-wrap {
    padding: 16px;
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.orders-table th {
    color: var(--ink-soft);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.order-items-preview {
    display: grid;
    gap: 5px;
    min-width: 220px;
}

.order-items-preview span,
.order-secondary {
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.35;
}

.order-secondary {
    margin-top: 6px;
}

.order-secondary--error {
    color: #9b2f1a;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(23, 20, 17, 0.07);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 800;
}

.status-pill--success,
.status-pill--sent_to_iiko,
.status-pill--accepted,
.status-pill--done {
    background: rgba(38, 128, 85, 0.12);
    color: #17633f;
}

.status-pill--pending,
.status-pill--new,
.status-pill--preparing {
    background: rgba(215, 166, 67, 0.16);
    color: #73501a;
}

.status-pill--failed,
.status-pill--canceled {
    background: rgba(162, 55, 28, 0.12);
    color: #8c301d;
}

.product-page__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.product-page__media,
.product-page__body {
    padding: 26px;
}

.product-page__price {
    margin: 24px 0;
}

.site-footer {
    padding: 18px 0 42px;
}

.site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer__brand {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.empty-state {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.is-hidden-by-search,
[hidden] {
    display: none !important;
}

@media (max-width: 1240px) {
    .home-layout,
    .hero__grid,
    .features__grid,
    .product-page__grid,
    .review-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .page-sidebar {
        position: static;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .site-header__inner {
        grid-template-columns: 1fr;
    }

    .site-header__controls,
    .site-header__actions {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .catalog-toolbar,
    .section-heading,
    .category-section__head,
    .checkout-modal__summary,
    .site-footer__grid,
    .franchise-card {
        flex-direction: column;
        align-items: stretch;
    }

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

    .promo-carousel__viewport {
        min-height: 480px;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .site-header__controls,
    .site-header__actions,
    .hero__actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero__meta,
    .product-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .page-sidebar__panel,
    .hero__content,
    .hero__stage,
    .catalog-toolbar,
    .checkout-modal,
    .auth-card,
    .product-page__media,
    .product-page__body,
    .promo-panel,
    .info-card,
    .review-card,
    .franchise-card {
        padding: 22px;
    }

    .brand-mark {
        align-items: flex-start;
    }

    .brand-mark__logo {
        width: 100px;
    }

    .header-search input {
        min-height: 44px;
    }

    .cart-item {
        grid-template-columns: 56px 1fr;
    }

    .cart-item img {
        width: 56px;
        height: 56px;
    }

    .promo-carousel__viewport {
        min-height: 460px;
    }
}

/* Storefront refresh: compact header, service strip, legacy-style catalog navigation. */
:root {
    --bg: #f4efe7;
    --bg-soft: #fbf8f3;
    --surface: #fffdfa;
    --surface-strong: #fff;
    --ink: #171411;
    --ink-soft: #6c6259;
    --accent: #9a552e;
    --accent-deep: #4a2113;
    --gold: #d7a643;
    --line: rgba(23, 20, 17, 0.11);
    --shadow: 0 16px 44px rgba(33, 23, 15, 0.1);
    --shadow-soft: 0 8px 22px rgba(33, 23, 15, 0.08);
    --radius-xl: 8px;
    --radius-lg: 8px;
    --radius-md: 8px;
    --radius-sm: 8px;
    --container: 1360px;
}

body {
    background: var(--bg);
}

.announcement-bar {
    padding: 8px 0;
    background: #d8b45f;
    color: #19140f;
}

.site-header {
    background: rgba(5, 6, 6, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #f7efe2;
}

.site-header__inner {
    grid-template-columns: auto minmax(220px, 420px) auto;
    justify-content: space-between;
    gap: 18px;
    padding: 7px 0;
    min-height: 62px;
}

.brand-mark {
    gap: 12px;
}

.brand-mark__logo {
    width: 118px;
}

.brand-mark__caption {
    display: none;
}

.brand-mark__caption strong {
    color: rgba(247, 239, 226, 0.78);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
}

.brand-mark__caption span {
    display: none;
}

.header-search {
    width: min(100%, 420px);
    height: 40px;
    padding: 0 4px 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.header-search input {
    min-height: 36px;
    padding: 0;
    color: var(--ink);
}

.header-search input::placeholder {
    color: rgba(23, 20, 17, 0.52);
}

.header-search__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.header-search__button svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header__controls,
.site-header__actions {
    gap: 12px;
}

.header-link {
    color: rgba(247, 239, 226, 0.72);
    font-size: 0.86rem;
}

.header-link:hover {
    color: #fff;
}

.header-link::after {
    display: none;
}

.lang-switch {
    gap: 2px;
    padding: 3px;
    border-radius: 8px;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.lang-switch__item {
    padding: 7px 9px;
    border-radius: 6px;
    color: rgba(247, 239, 226, 0.7);
    letter-spacing: 0;
}

.lang-switch__item.is-active {
    background: var(--gold);
    color: #15120e;
}

.cart-button {
    padding: 8px 14px;
    border-radius: 8px;
    background: #fff;
    color: #111;
    box-shadow: none;
    font-weight: 800;
    font-size: 0.92rem;
}

.cart-button strong {
    min-width: 22px;
    min-height: 22px;
    background: var(--gold);
}

.primary-button,
.secondary-button,
.ghost-button,
.sidebar-mode {
    border-radius: 8px;
}

.home-shell,
.product-page,
.desk-shell,
.auth-shell {
    padding: 22px 0 64px;
}

.home-layout {
    grid-template-columns: minmax(210px, 238px) minmax(0, 1fr);
    gap: 28px;
}

.page-sidebar {
    top: 86px;
}

.page-sidebar__panel {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.sidebar-city {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 4px 0 15px;
    font-weight: 700;
}

.sidebar-city__pin {
    position: relative;
    width: 11px;
    height: 11px;
    border: 2px solid #111;
    border-radius: 999px;
}

.sidebar-city__pin::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 8px;
    width: 2px;
    height: 9px;
    background: #111;
    border-radius: 999px;
}

.page-sidebar__quicklinks,
.page-sidebar__nav {
    gap: 0;
}

.page-sidebar__quicklinks {
    margin-top: 0;
    padding-bottom: 22px;
}

.page-sidebar__quicklinks a,
.page-sidebar__nav a {
    justify-content: flex-start;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #2f2a25;
    line-height: 1.3;
}

.page-sidebar__quicklinks a:hover,
.page-sidebar__nav a:hover,
.page-sidebar__nav a.is-active {
    background: #111;
    border-color: transparent;
    color: #fff;
    transform: none;
}

.page-sidebar__nav {
    margin-top: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(23, 20, 17, 0.1);
}

.page-sidebar__nav a.is-muted {
    opacity: 0.4;
}

.home-main {
    gap: 22px;
}

.fulfillment-strip {
    display: grid;
    grid-template-columns: 180px 180px minmax(260px, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 52px;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-strong);
    box-shadow: 0 8px 18px rgba(33, 23, 15, 0.06);
}

.fulfillment-option,
.fulfillment-address {
    position: relative;
    z-index: 1;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}

.fulfillment-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fulfillment-option span,
.fulfillment-address span {
    font-weight: 800;
    font-size: 0.95rem;
}

.fulfillment-option small {
    color: var(--ink-soft);
    font-size: 0.78rem;
    line-height: 1;
}

.fulfillment-option.is-active {
    border-color: rgba(154, 85, 46, 0.26);
    background: #fff7ec;
    box-shadow: inset 0 0 0 1px rgba(215, 166, 67, 0.2);
}

.fulfillment-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: transparent;
    color: var(--ink);
}

.fulfillment-address::after {
    content: "\203A";
    color: #111;
    font-size: 1.35rem;
    line-height: 1;
}

.fulfillment-address strong {
    color: #111;
    font-size: 0.92rem;
    text-align: right;
}

.delivery-hero {
    display: block;
}

.delivery-hero h1 {
    margin: 0;
    font-family: var(--font-ui);
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.delivery-hero p {
    display: none;
}

.promo-panel {
    padding: 0;
    overflow: hidden;
}

.promo-carousel {
    gap: 0;
    margin-top: 0;
}

.promo-carousel__viewport {
    position: relative;
    min-height: 340px;
    border-radius: 8px;
    background: #111;
}

.promo-carousel__track {
    display: flex;
    height: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.promo-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    display: block;
}

.promo-slide__media,
.promo-slide__body {
    min-height: 100%;
}

.promo-slide__media {
    display: block;
    height: 100%;
}

.promo-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-slide__body {
    display: none;
}

.promo-slide__body .eyebrow,
.promo-slide__body p {
    color: rgba(255, 247, 235, 0.88);
}

.promo-slide__body h2 {
    margin: 0;
    font-family: var(--font-ui);
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.12;
}

.promo-carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #111;
    cursor: pointer;
    transform: translateY(-50%);
}

.promo-carousel__nav--prev {
    left: 10px;
}

.promo-carousel__nav--next {
    right: 10px;
}

.promo-carousel__controls {
    justify-content: center;
    padding: 10px 0 0;
}

.promo-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.catalog-toolbar {
    display: none;
}

.catalog-toolbar h2,
.section-heading h1,
.section-heading h2 {
    font-family: var(--font-ui);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.12;
}

.category-section {
    scroll-margin-top: calc(var(--header-h, 101px) + 15px);
}

.category-section__head {
    align-items: start;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(23, 20, 17, 0.08);
}

.category-section__head h3 {
    font-family: var(--font-ui);
    font-size: clamp(1.55rem, 3vw, 2rem);
    line-height: 1.15;
}

.category-section__head .eyebrow {
    display: none;
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-card,
.info-card,
.review-card,
.franchise-card,
.auth-card,
.orders-table-wrap,
.checkout-modal,
.cart-drawer__panel,
.product-page__media,
.product-page__body {
    border-radius: 8px;
}

.product-card {
    background: #fff;
    border: 1px solid rgba(23, 20, 17, 0.08);
    box-shadow: 0 10px 28px rgba(33, 23, 15, 0.08);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(33, 23, 15, 0.12);
}

.product-card__body {
    padding: 16px;
}

.product-card__topline h4 {
    line-height: 1.25;
}

.product-card__body p {
    display: -webkit-box;
    min-height: 3.2em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__meta {
    letter-spacing: 0;
    text-transform: none;
}

.product-card__pricing {
    align-items: baseline;
}

.product-card__pricing strong {
    font-size: 1.22rem;
}

.product-card__old-price {
    text-decoration: line-through;
}

.variant-select,
.field input,
.field select,
.field textarea,
.auth-card input,
.auth-card select,
.auth-card textarea {
    border-radius: 8px;
}

.site-footer {
    background: #111;
    color: #f7efe2;
}

.site-footer p,
.site-footer a {
    color: rgba(247, 239, 226, 0.72);
}

@media (max-width: 1180px) {
    .site-header__inner {
        grid-template-columns: auto minmax(220px, 1fr);
    }

    .site-header__controls {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .home-layout {
        grid-template-columns: 1fr;
    }

    .page-sidebar {
        position: static;
    }

    .page-sidebar__panel {
        display: grid;
        gap: 12px;
    }

    .page-sidebar__quicklinks,
    .page-sidebar__nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .page-sidebar__quicklinks a,
    .page-sidebar__nav a {
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        grid-template-columns: 1fr;
    }

    .brand-mark__logo {
        width: 96px;
    }

    .header-search {
        width: 100%;
        max-width: none;
    }

    .fulfillment-strip {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .fulfillment-option,
    .fulfillment-address {
        min-height: 68px;
        padding: 14px 16px;
        border: 1px solid var(--line);
        background: var(--surface-strong);
        box-shadow: 0 8px 18px rgba(33, 23, 15, 0.06);
    }

    .fulfillment-option {
        display: grid;
        gap: 4px;
    }

    .fulfillment-address {
        align-items: flex-start;
        flex-direction: column;
    }

    .fulfillment-address::after {
        display: none;
    }

    .fulfillment-address strong {
        text-align: left;
    }

    .promo-carousel__viewport {
        min-height: 260px;
    }

    .promo-slide__body {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 2026-08-29: dense luxury navigation, restored inset product media and composed checkout. */
.product-card__media {
    width: calc(100% - 16px) !important;
    margin: 8px 8px 0 !important;
    overflow: hidden !important;
    border-radius: 15px !important;
    background: linear-gradient(145deg, #f3eee6, #fffdf9) !important;
    box-shadow: inset 0 0 0 1px rgba(83, 60, 41, 0.055) !important;
    isolation: isolate;
}

.product-card__media::after {
    border-radius: inherit !important;
    background: linear-gradient(180deg, transparent 68%, rgba(30, 21, 15, 0.055)) !important;
    opacity: 0 !important;
    transition: opacity 0.35s ease !important;
}

.product-card__media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    padding: 10px !important;
    border-radius: inherit !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: scale(1) !important;
    transform-origin: center !important;
    transition: transform 0.52s cubic-bezier(.2,.8,.2,1), filter 0.34s ease !important;
    will-change: transform;
}

.product-card:hover .product-card__media img,
.product-card:focus-within .product-card__media img,
.product-card__media:active img {
    transform: scale(1.065) !important;
    filter: saturate(1.035) contrast(1.015) !important;
}

.product-card:hover .product-card__media::after,
.product-card:focus-within .product-card__media::after,
.product-card__media:active::after {
    opacity: 1 !important;
}

@media (min-width: 901px) {
    .product-card__media {
        aspect-ratio: 4 / 3 !important;
    }

    .product-card__media img {
        padding: 12px !important;
    }
}

@media (max-width: 900px) {
    .header-menu__head,
    .account-menu__head {
        min-height: 82px !important;
        padding-block: max(9px, env(safe-area-inset-top, 0px)) 9px !important;
    }

    .overlay-brand {
        grid-template-columns: 60px minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    .overlay-brand > img {
        width: 60px !important;
        height: 36px !important;
    }

    .header-menu__panel > a {
        grid-template-columns: 28px minmax(0, 1fr) 18px !important;
        min-height: 52px !important;
        gap: 8px !important;
        margin-inline: 12px !important;
        padding-block: 6px !important;
        font-size: 0.95rem !important;
    }

    .header-menu__panel > a:hover,
    .header-menu__panel > a:focus-visible,
    .header-menu__panel > a.is-active {
        padding-inline: 8px !important;
    }

    .account-menu__panel > .account-menu__item,
    .account-menu__logout .account-menu__item {
        min-height: 50px !important;
        grid-template-columns: 32px minmax(0, 1fr) !important;
        gap: 9px !important;
        margin-inline: 12px !important;
        padding-block: 6px !important;
        font-size: 0.84rem !important;
    }

    .account-menu__panel > .account-menu__item > svg,
    .account-menu__logout .account-menu__item > svg {
        width: 32px !important;
        height: 32px !important;
        padding: 8px !important;
    }

    .account-menu__head + .account-menu__item {
        min-height: 55px !important;
        margin-top: 8px !important;
        margin-bottom: 2px !important;
        padding-inline: 9px !important;
    }

    .account-menu__logout {
        margin-top: 4px !important;
    }

    .product-card__media {
        aspect-ratio: 1 / 0.84 !important;
        border-radius: 14px !important;
    }

    .product-card__media img {
        padding: 7px !important;
    }

    .product-card__badge-stack {
        top: 14px !important;
        right: 14px !important;
        left: 14px !important;
    }

    .checkout-modal form {
        padding-inline: 12px !important;
    }

    .checkout-modal .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 11px 9px !important;
        padding-top: 12px !important;
    }

    .checkout-modal .field--full,
    .checkout-section-heading {
        grid-column: 1 / -1 !important;
    }

    .checkout-section-heading {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        margin: 7px 0 1px;
        padding: 10px 11px;
        border: 1px solid rgba(159, 108, 37, 0.12);
        border-radius: 15px;
        background: linear-gradient(110deg, rgba(226, 178, 77, 0.095), rgba(255, 255, 255, 0.45));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    }

    .checkout-section-heading:first-child {
        margin-top: 0;
    }

    .checkout-section-heading > span {
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border: 1px solid rgba(196, 143, 50, 0.28);
        border-radius: 50%;
        background: #1b1511;
        color: #e8bb57;
        font-size: 0.62rem;
        font-weight: 800;
        letter-spacing: 0.06em;
    }

    .checkout-section-heading > div {
        display: grid;
        gap: 2px;
    }

    .checkout-section-heading strong {
        color: #30241c;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 0.98rem;
        line-height: 1.15;
    }

    .checkout-section-heading small {
        color: #887466;
        font-size: 0.69rem;
        line-height: 1.25;
    }

    .checkout-modal input:not([type="hidden"]):not([type="checkbox"]),
    .checkout-modal select,
    .checkout-modal textarea {
        min-height: 48px !important;
    }

    .checkout-modal__summary {
        border-color: rgba(226, 178, 77, 0.22) !important;
        background:
            radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.14), transparent 14rem),
            linear-gradient(155deg, #231a15 0%, #100d0b 100%) !important;
        color: #fff6e5 !important;
        box-shadow: 0 20px 46px rgba(29, 19, 13, 0.21), inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
    }

    .checkout-modal__recap-row,
    .checkout-modal__totals .cart-total {
        border-bottom-color: rgba(239, 202, 116, 0.12) !important;
    }

    .checkout-modal__recap-row span,
    .checkout-modal__totals .cart-total span {
        color: rgba(255, 244, 222, 0.62) !important;
    }

    .checkout-modal__recap-row strong,
    .checkout-modal__totals .cart-total strong {
        color: #fff8e9 !important;
    }

    .checkout-modal__totals .cart-total:last-of-type strong {
        color: #f0c763 !important;
    }

    .checkout-modal__summary .primary-button {
        border-color: rgba(255, 224, 151, 0.34) !important;
        background: linear-gradient(135deg, #efc967 0%, #d2a13f 54%, #aa7222 100%) !important;
        color: #1d150f !important;
        box-shadow: 0 14px 32px rgba(190, 128, 36, 0.24), inset 0 1px 0 rgba(255, 246, 218, 0.5) !important;
        font-weight: 850 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card__media img {
        transition: none !important;
        transform: none !important;
    }
}

@media (max-width: 620px) {
    .site-header__controls,
    .site-header__actions {
        width: auto;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .site-header__controls {
        justify-content: flex-start;
    }

    .header-link--contacts {
        display: none;
    }

    .header-search {
        height: auto;
        padding: 4px;
    }

    .header-search input {
        min-height: 34px;
        padding-left: 6px;
    }

    .header-search__button {
        width: 34px;
        height: 34px;
    }

    .cart-button {
        width: auto;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .catalog-admin-alert {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-admin-alert a {
        margin-left: 0;
    }
}

/* 2026-06-16 refresh: larger header, shorter darker search, improved cart, separate tabs and modal UX. */

.site-header {
    background: rgba(10, 10, 10, 0.96);
}

.site-header__inner {
    grid-template-columns: minmax(0, auto) minmax(220px, 320px) minmax(0, 1fr);
    gap: 18px;
    padding: 12px 0;
    min-height: 78px;
    align-items: center;
}

.brand-mark {
    min-width: 0;
    gap: 10px;
}

.brand-mark__logo {
    width: 142px;
}

.brand-mark__caption {
    display: grid;
    gap: 2px;
    min-width: 0;
    max-width: 150px;
}

.brand-mark__caption strong {
    color: rgba(247, 239, 226, 0.76);
    font-size: 0.6rem;
    line-height: 1.2;
}

.brand-mark__caption span {
    display: block;
    color: rgba(247, 239, 226, 0.92);
    font-size: 0.86rem;
    line-height: 1.2;
    white-space: nowrap;
}

.header-search {
    width: 100%;
    max-width: 320px;
    height: 44px;
    padding: 0 5px 0 14px;
    border: 1px solid rgba(215, 166, 67, 0.3);
    background: rgba(247, 239, 226, 0.08);
    box-shadow: none;
    justify-self: center;
}

.header-search input {
    min-height: 40px;
    color: #f7efe2;
}

.header-search input::placeholder {
    color: rgba(247, 239, 226, 0.58);
}

.header-search__button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), #bf8528);
    color: #16110d;
}

.site-header__controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 10px;
    min-width: 0;
}

.header-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #f7efe2;
    cursor: pointer;
    min-width: 0;
    flex: 0 1 auto;
}

.header-chip--ghost {
    min-width: 0;
}

.header-chip__label {
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
}

.header-chip__meta {
    color: rgba(247, 239, 226, 0.62);
    font-size: 0.72rem;
    line-height: 1.1;
}

.site-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 0 14px;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: rgba(247, 239, 226, 0.78);
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav__link:hover {
    background: rgba(215, 166, 67, 0.14);
    color: #fff;
    transform: translateY(-1px);
}

.cart-button {
    min-height: 46px;
    padding: 8px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff8ec, #efd4a3);
    color: #171411;
    box-shadow: 0 10px 22px rgba(33, 23, 15, 0.14);
}

.cart-button strong {
    min-width: 24px;
    min-height: 24px;
    background: #111;
    color: #fff;
}

.flash-stack {
    display: grid;
    gap: 10px;
    padding-top: 18px;
}

.flash-message {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    background: #fffdfa;
}

.flash-message--success {
    border-color: rgba(37, 105, 78, 0.18);
    background: rgba(37, 105, 78, 0.08);
}

.home-shell {
    padding-top: 26px;
}

.home-layout {
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
    gap: 32px;
}

.fulfillment-strip {
    grid-template-columns: 1fr 1fr minmax(260px, 1.2fr);
}

.delivery-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 250, 242, 0.94), rgba(250, 240, 225, 0.98));
    box-shadow: 0 14px 34px rgba(33, 23, 15, 0.08);
}

.delivery-hero__copy p:last-child {
    display: block;
    margin: 12px 0 0;
    max-width: 760px;
}

.delivery-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.promo-carousel__viewport {
    min-height: 300px;
}

.promo-slide__body {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: min(420px, calc(100% - 36px));
    min-height: auto;
    padding: 18px 20px;
    border-radius: 12px;
    display: flex;
    background: rgba(17, 17, 17, 0.84);
    backdrop-filter: blur(12px);
}

.feature-links,
.promo-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-link-card,
.promo-page-card,
.legal-card {
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(33, 23, 15, 0.08);
}

.feature-link-card {
    padding: 22px;
}

.feature-link-card h3,
.promo-page-card h3,
.legal-card strong {
    margin: 10px 0 8px;
}

.section-stack {
    display: grid;
    gap: 24px;
}

body.modal-open {
    overflow: hidden;
}

.product-card {
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(33, 23, 15, 0.08);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 243, 225, 0.92) 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
    z-index: 0;
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(215, 166, 67, 0.34);
    background: linear-gradient(180deg, #ffffff 0%, #fff7eb 100%);
    box-shadow: 0 28px 62px rgba(33, 23, 15, 0.16);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover .product-card__media img {
    transform: none;
}

.product-card__media::after {
    display: none;
}

.product-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ghost-link {
    color: var(--accent-deep);
    font-weight: 700;
}

.category-section__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.product-grid--page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-page__grid--detail {
    align-items: start;
    gap: 32px;
}

.product-gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.product-gallery-strip img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    background: #fff;
}

.product-page__detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
    color: var(--ink-soft);
}

.product-page__detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(154, 85, 46, 0.08);
}

.product-page__variant-wrap {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.product-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sheet-modal {
    position: relative;
    width: min(720px, calc(100% - 20px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 26px;
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: 0 30px 80px rgba(23, 20, 17, 0.22);
}

.sheet-modal--wide {
    width: min(980px, calc(100% - 20px));
}

.sheet-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    margin-bottom: 20px;
}

.sheet-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.city-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(23, 20, 17, 0.1);
    border-radius: 12px;
    background: #fff;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.city-card.is-active,
.city-card:hover {
    transform: translateY(-3px);
    border-color: rgba(154, 85, 46, 0.25);
    box-shadow: 0 14px 28px rgba(33, 23, 15, 0.08);
}

.city-card strong {
    font-size: 1rem;
}

.city-card span {
    color: var(--ink-soft);
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 70;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 14px;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: 0 24px 60px rgba(23, 20, 17, 0.18);
}

.cookie-banner__content p {
    margin: 8px 0 0;
    color: var(--ink-soft);
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.promo-page-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.promo-page-card__body {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.legal-card {
    display: grid;
    gap: 10px;
    padding: 24px;
}

.legal-card__article {
    max-height: 60vh;
    overflow: auto;
    padding: 18px;
    border-radius: 12px;
    background: rgba(154, 85, 46, 0.06);
    line-height: 1.7;
    color: var(--ink-soft);
}

.site-footer__legal-card {
    margin-top: 18px;
    padding: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer__legal-card pre {
    margin: 0;
    white-space: pre-wrap;
    font: inherit;
    color: rgba(247, 239, 226, 0.72);
}

.franchise-card--page {
    align-items: center;
}

.review-form-card__head,
.franchise-hero {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.review-form-card__status {
    flex-shrink: 0;
}

.review-form__grid,
.franchise-gallery {
    display: grid;
    gap: 16px;
}

.review-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-form__hint {
    margin: 12px 0 0;
    color: var(--ink-soft);
}

.review-form__actions,
.review-gate__actions,
.franchise-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.field__errors {
    color: #8b3823;
    font-size: 0.9rem;
}

.field__errors p {
    margin: 0;
}

.franchise-hero {
    padding: 28px 30px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(250, 240, 225, 0.98));
    box-shadow: 0 14px 34px rgba(33, 23, 15, 0.08);
}

.franchise-hero__copy {
    max-width: 760px;
}

.franchise-hero__copy h2 {
    margin: 8px 0 12px;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.96;
}

.franchise-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.franchise-gallery__item {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(23, 20, 17, 0.08);
    background: #fff;
    box-shadow: 0 14px 34px rgba(33, 23, 15, 0.08);
}

.franchise-gallery__item img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.auth-card h2 {
    margin-top: 0;
}

.desk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: 0 14px 34px rgba(33, 23, 15, 0.08);
}

.desk-toolbar__tabs,
.desk-toolbar__actions,
.desk-chip-grid,
.service-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.desk-toolbar__tab {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(23, 20, 17, 0.1);
    border-radius: 999px;
    background: rgba(154, 85, 46, 0.05);
    color: var(--ink-soft);
    font-weight: 700;
    transition: transform 0.24s ease, border-color 0.24s ease, color 0.24s ease, background 0.24s ease;
}

.desk-toolbar__tab:hover,
.desk-toolbar__tab.is-active {
    transform: translateY(-1px);
    border-color: rgba(215, 166, 67, 0.32);
    background: rgba(215, 166, 67, 0.14);
    color: var(--ink);
}

.desk-filters {
    padding: 22px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: 0 14px 34px rgba(33, 23, 15, 0.08);
}

.desk-filters__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.desk-filters__actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.orders-day-stack {
    display: grid;
    gap: 18px;
}

.desk-breakdowns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.orders-day-card {
    padding: 22px;
    border-radius: 18px;
    background: #fffdfa;
    box-shadow: 0 16px 42px rgba(33, 23, 15, 0.08);
}

.orders-day-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.orders-day-card__head h2 {
    margin: 8px 0 0;
}

.orders-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.order-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 16px;
    background: #fff;
}

.order-card__top,
.order-card__grid {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.order-card__top h3 {
    margin: 0 0 6px;
}

.order-card__top p,
.order-card__grid p,
.order-card__location p {
    margin: 0;
    color: var(--ink-soft);
}

.order-card__meta,
.order-card__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-card__items span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(154, 85, 46, 0.08);
    color: var(--ink-soft);
}

.order-card__error {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(139, 56, 35, 0.08);
    color: #8b3823;
    font-weight: 700;
}

.orders-desk-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-desk-table th,
.orders-desk-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(23, 20, 17, 0.08);
    vertical-align: top;
    text-align: left;
}

.orders-desk-table th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.orders-desk-table td strong,
.service-meta strong {
    display: block;
}

.orders-desk-table td small,
.service-meta span,
.service-meta p {
    display: block;
    margin-top: 4px;
    color: var(--ink-soft);
}

.orders-desk-items {
    display: grid;
    gap: 8px;
}

.orders-desk-items span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(154, 85, 46, 0.08);
    color: var(--ink-soft);
}

.info-card--service {
    grid-column: 1 / -1;
}

.service-list {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.service-meta p {
    margin-bottom: 0;
}

.service-link {
    justify-self: end;
}

@media (max-width: 1180px) {
    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    }

    .site-header__controls {
        grid-column: 1 / -1;
        justify-content: space-between;
        align-items: center;
    }

    .brand-mark__caption strong {
        display: none;
    }

    .feature-links,
    .promo-page-grid,
    .desk-breakdowns,
    .desk-filters__grid,
    .orders-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        grid-template-columns: 1fr;
    }

    .brand-mark__logo {
        width: 132px;
    }

    .brand-mark__caption {
        max-width: none;
    }

    .delivery-hero,
    .sheet-modal__grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .promo-carousel__viewport {
        min-height: 250px;
    }

    .product-gallery-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promo-slide__body {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }

    .service-list {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .service-link {
        justify-self: start;
    }

    .review-form-card__head,
    .franchise-hero {
        flex-direction: column;
    }

    .review-form__grid,
    .franchise-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .header-chip,
    .cart-button,
    .lang-switch,
    .site-header__actions {
        width: auto;
    }

    .header-chip__meta,
    .brand-mark__caption strong {
        display: none;
    }

    .city-grid,
    .sheet-modal__grid,
    .product-grid--page {
        grid-template-columns: 1fr;
    }

    .desk-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .desk-toolbar__actions {
        width: 100%;
        flex-direction: column;
    }

    .orders-desk-table {
        min-width: 980px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__actions {
        width: 100%;
        flex-direction: column;
    }
}

/* 2026-06-16 audit polish: stronger header hierarchy and clearer product interactions. */

.site-header__frame {
    display: grid;
    gap: 12px;
    padding: 12px 0 14px;
}

.site-header__inner {
    padding: 0;
    min-height: 74px;
}

.brand-mark__caption strong {
    display: block;
    color: rgba(247, 239, 226, 0.64);
}

.site-header__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(247, 239, 226, 0.12);
}

.site-header__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.site-header__summary-item {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(247, 239, 226, 0.82);
    font-size: 0.82rem;
    white-space: nowrap;
}

.site-header__summary-item--link {
    transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.site-header__summary-item--link:hover {
    background: rgba(215, 166, 67, 0.16);
    color: #fff;
    transform: translateY(-1px);
}

.site-nav {
    justify-content: flex-end;
    padding: 0;
}

.site-nav__link {
    min-height: 34px;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
}

.header-search {
    border-color: rgba(215, 166, 67, 0.34);
}

.header-search:focus-within {
    border-color: rgba(215, 166, 67, 0.58);
    background: rgba(247, 239, 226, 0.12);
    box-shadow: 0 0 0 3px rgba(215, 166, 67, 0.16);
}

.header-chip,
.lang-switch,
.cart-button,
.site-nav__link {
    backdrop-filter: blur(10px);
}

.product-card {
    transform-origin: center bottom;
}

.product-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(215, 166, 67, 0.2), rgba(215, 166, 67, 0.95), rgba(159, 85, 46, 0.9));
    opacity: 0;
    transform: scaleX(0.76);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-14px) scale(1.012);
    border-color: rgba(215, 166, 67, 0.38);
    background: linear-gradient(180deg, #ffffff 0%, #fff7eb 100%);
    box-shadow: 0 30px 72px rgba(33, 23, 15, 0.18);
}

.product-card:hover::before,
.product-card:focus-within::before,
.product-card:hover::after,
.product-card:focus-within::after {
    opacity: 1;
}

.product-card:hover::after,
.product-card:focus-within::after {
    transform: scaleX(1);
}

.product-card__media img {
    transition: transform 0.52s ease, filter 0.3s ease;
}

.product-card:hover .product-card__media img,
.product-card:focus-within .product-card__media img {
    transform: scale(1.04);
    filter: saturate(1.04);
}

.product-card__actions .primary-button {
    flex: 1 1 auto;
}

.product-card__actions .ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(159, 85, 46, 0.08);
    border: 1px solid rgba(159, 85, 46, 0.12);
    transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.product-card__actions .ghost-link:hover {
    transform: translateY(-1px);
    background: rgba(159, 85, 46, 0.14);
    border-color: rgba(159, 85, 46, 0.22);
}

.variant-select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.auth-card input:focus,
.auth-card select:focus,
.auth-card textarea:focus {
    outline: none;
    border-color: rgba(159, 85, 46, 0.4);
    box-shadow: 0 0 0 3px rgba(159, 85, 46, 0.12);
}

@media (max-width: 1180px) {
    .site-header__meta {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .site-header__summary {
        width: 100%;
    }

    .site-header__summary-item {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }

    .site-nav__link {
        white-space: nowrap;
    }
}

.site-header__controls {
    gap: 10px 14px;
}

.site-header__actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-logout {
    margin: 0;
}

.header-link--button {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
}

.home-layout {
    align-items: start;
}

.page-sidebar {
    align-self: start;
    /* Stick BELOW the sticky header. Header height is live-measured into
       --header-h by site.js, so this stays correct even if the header
       changes size or wraps onto two lines. */
    top: calc(var(--header-h, 101px) + 12px);
}

.page-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #2f2a25;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.page-sidebar__link:hover,
.page-sidebar__link:focus-visible {
    background: #111;
    color: #fff;
    outline: none;
}

.fulfillment-strip {
    grid-template-columns: repeat(2, minmax(170px, 220px));
    justify-content: start;
    padding: 6px;
}

.fulfillment-option {
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 10px;
}

.delivery-hero {
    padding: 24px 28px;
}

.delivery-hero__copy {
    max-width: 900px;
}

.promo-carousel__viewport {
    min-height: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fffdfa;
    box-shadow: 0 18px 42px rgba(33, 23, 15, 0.1);
}

.promo-carousel__track {
    align-items: stretch;
}

.promo-slide {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 340px) auto;
    background: #fffdfa;
}

.promo-slide__media,
.promo-slide__body {
    min-height: auto;
}

.promo-slide__media {
    height: 100%;
}

.promo-slide__body {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    display: grid;
    gap: 10px;
    padding: 22px 24px 24px;
    border-radius: 0;
    background: linear-gradient(180deg, #fffdfa 0%, #f5ecdf 100%);
    backdrop-filter: none;
}

.promo-slide__body .eyebrow,
.promo-slide__body p {
    color: var(--ink-soft);
}

.promo-slide__body h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 0.96;
    color: var(--ink);
}

.product-card {
    transition:
        transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.46s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background 0.32s ease;
    will-change: transform, box-shadow;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-12px) scale(1.012);
    box-shadow: 0 34px 76px rgba(33, 23, 15, 0.2);
}

.product-card__media img {
    transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
}

.product-card:hover .product-card__media img,
.product-card:focus-within .product-card__media img {
    transform: scale(1.055);
    filter: saturate(1.06);
}

.franchise-hero__actions {
    margin-top: 18px;
    gap: 14px;
}

.franchise-gallery__item {
    display: grid;
    place-items: center;
    padding: 12px;
    background: #f7f1e8;
}

.franchise-gallery__item img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: contain;
    object-position: center;
}

.site-footer {
    padding: 26px 0 42px;
}

.site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    align-items: center;
    gap: 28px;
}

.site-footer__contact {
    display: flex;
    align-items: center;
}

.site-footer__phone {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.site-footer__info h3 {
    margin: 0 0 12px;
}

.site-footer__info p {
    margin: 8px 0 0;
}

@media (max-width: 1180px) {
    .page-sidebar__panel {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 900px) {
    .fulfillment-strip {
        grid-template-columns: 1fr;
    }

    .promo-slide {
        grid-template-rows: minmax(200px, 260px) auto;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

/* 2026-06-16 storefront polish: header utilities, compact catalog cards, aligned promo/franchise grids, populated custom design. */

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.brand-mark {
    margin-right: 6px;
}

.brand-mark__logo {
    width: 196px;
}

.header-search {
    order: 0;
    flex: 0 1 470px;
    width: auto;
    min-width: 220px;
    max-width: 470px;
    margin: 0;
}

.site-header__utility {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.site-header__actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1 1 auto;
    margin: 0;
}

.header-link--contacts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 224, 181, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #f6ead7;
    font-weight: 700;
    white-space: nowrap;
}

.header-link--contacts::after {
    display: none;
}

.header-link--contacts:hover,
.header-link--contacts:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(240, 189, 92, 0.34);
    outline: none;
}

/* The WHOLE left panel (city + service links + categories) is one independent
   scroll region: wheel over any part scrolls everything together, the page stays put.
   Scrollbar is hidden (no visible track) but the area stays wheel-scrollable. */
.page-sidebar__panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - var(--header-h, 101px) - 28px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.page-sidebar__panel::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.page-sidebar__sticky-head {
    position: static;
    flex: 0 0 auto;
    display: grid;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(31, 25, 20, 0.08);
}

.page-sidebar__nav {
    flex: 0 0 auto;
    margin-top: 0;
    overflow: visible;
}

.page-sidebar__quicklinks {
    margin-top: 0;
}

.sidebar-city {
    position: relative;
    z-index: 1;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(31, 25, 20, 0.12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(33, 23, 15, 0.06);
    font-size: 1.04rem;
    font-weight: 800;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
}

.sidebar-city::after {
    content: "▾";
    margin-left: auto;
    color: var(--accent);
    font-size: 0.9rem;
    line-height: 1;
    opacity: 0.85;
}

.sidebar-city:hover {
    border-color: rgba(159, 85, 46, 0.4);
    box-shadow: 0 14px 30px rgba(159, 85, 46, 0.16);
    transform: translateY(-1px);
}

.sidebar-city__pin {
    border-color: var(--accent);
}

.sidebar-city__pin::after {
    background: var(--accent);
}

.fulfillment-strip {
    grid-template-columns: auto auto minmax(240px, 1fr);
    gap: 12px;
    padding: 6px;
    border-radius: 16px;
}

.fulfillment-option,
.fulfillment-address {
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(33, 23, 15, 0.04);
}

.fulfillment-option {
    justify-content: center;
}

.fulfillment-option span,
.fulfillment-address span {
    font-size: 0.84rem;
    font-weight: 800;
}

.fulfillment-option.is-active {
    border-color: rgba(179, 127, 48, 0.34);
    background: linear-gradient(180deg, #fff7ea 0%, #fff2dd 100%);
    box-shadow: 0 14px 26px rgba(188, 132, 54, 0.14);
}

.fulfillment-address {
    justify-content: space-between;
    color: var(--ink);
}

.fulfillment-address::after {
    color: rgba(23, 20, 17, 0.52);
    font-size: 1.15rem;
}

.delivery-hero {
    padding: 8px 4px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.delivery-hero h1 {
    font-size: clamp(2rem, 4.2vw, 2.9rem);
}

.promo-panel--hero {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.promo-carousel__viewport {
    min-height: 0;
    border-radius: 22px;
    background: #111;
    box-shadow: 0 22px 56px rgba(33, 23, 15, 0.14);
}

.promo-slide {
    display: block;
    background: #111;
}

.promo-slide__media {
    display: block;
    aspect-ratio: 16 / 6.2;
}

.promo-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.promo-slide__body {
    display: none !important;
}

.promo-carousel__nav {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(23, 20, 17, 0.58);
    color: #fff;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 42px rgba(11, 10, 9, 0.18);
    transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.promo-carousel__nav svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promo-carousel__nav:hover,
.promo-carousel__nav:focus-visible {
    transform: translateY(-50%) scale(1.04);
    background: rgba(23, 20, 17, 0.76);
    border-color: rgba(255, 223, 178, 0.28);
    outline: none;
}

.promo-carousel__controls {
    padding: 12px 0 0;
}

.promo-dot {
    width: 10px;
    height: 10px;
    background: rgba(31, 25, 20, 0.16);
}

.promo-dot.is-active {
    width: 34px;
}

.product-grid,
.product-grid--page {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    height: 100%;
    border-radius: 16px;
    background: #fff;
}

.product-card__media {
    position: relative;
    display: block;
    flex: 0 0 auto;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.product-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 14px;
    object-fit: contain;
    object-position: center;
}

.product-card__body {
    gap: 10px;
    padding: 16px;
}

.product-card__topline h4 {
    font-size: 1.02rem;
    line-height: 1.34;
}

.product-card__body > p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product-card__meta {
    flex-wrap: wrap;
    gap: 8px;
}

.product-card__controls {
    gap: 10px;
    margin-top: auto;
}

.product-card__pricing strong {
    font-size: 1.18rem;
}

.product-card__variant-wrap label {
    display: block;
    margin-bottom: 6px;
    color: rgba(31, 25, 20, 0.56);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.variant-select {
    margin-top: 0;
    padding: 12px 14px;
    border-radius: 12px;
}

.product-card__actions {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-10px) scale(1.008);
    box-shadow: 0 28px 60px rgba(33, 23, 15, 0.18);
}

.product-card:hover .product-card__media img,
.product-card:focus-within .product-card__media img {
    transform: scale(1.03);
}

.feature-links,
.promo-page-grid,
.franchise-gallery {
    align-items: stretch;
}

.feature-link-card,
.promo-page-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-link-card p:last-child {
    margin-top: auto;
}

.promo-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    justify-items: start;
}

.promo-page-card {
    overflow: hidden;
    width: 100%;
    max-width: 760px;
}

.promo-page-card__media {
    display: grid;
    place-items: center;
    padding: 18px 18px 0;
    background: #fff;
}

.promo-page-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdfa 0%, #f8efe4 100%);
}

.promo-page-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promo-page-card__body p {
    margin: 0;
    color: var(--ink-soft);
}

.promo-page-card__action,
.promo-page-card__action-placeholder {
    margin-top: auto;
}

.promo-page-card__action-placeholder {
    display: block;
    min-height: 44px;
}

.franchise-gallery__item {
    height: 100%;
    min-height: 430px;
}

.franchise-gallery__item img {
    min-height: 0;
}

.custom-design-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 20px;
    padding: 28px 30px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(250, 240, 225, 0.98));
    box-shadow: 0 14px 34px rgba(33, 23, 15, 0.08);
}

.custom-design-hero__copy h2 {
    margin: 8px 0 12px;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.96;
}

.custom-design-hero__copy p:last-of-type {
    margin: 0;
    max-width: 720px;
    color: var(--ink-soft);
}

.custom-design-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.custom-design-hero__meta {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(23, 20, 17, 0.08);
}

.custom-design-hero__meta strong {
    font-size: 1.05rem;
}

.custom-design-hero__meta p {
    margin: 0;
    color: var(--ink-soft);
}

.custom-design-story {
    display: grid;
    gap: 20px;
}

.custom-design-story__panel {
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(33, 23, 15, 0.08);
}

.custom-design-story__panel img {
    display: block;
    width: min(100%, 840px);
    height: auto;
    border-radius: 12px;
}

.sheet-modal--contacts {
    width: min(760px, calc(100% - 20px));
}

.contacts-sheet {
    display: grid;
    gap: 18px;
}

.contacts-sheet__intro {
    display: grid;
    gap: 8px;
    padding: 20px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(250, 240, 225, 0.98));
}

.contacts-sheet__intro p {
    margin: 0;
    color: var(--ink-soft);
}

.contacts-sheet__phones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contacts-sheet__points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contacts-sheet__point {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 14px;
    background: #fffdfa;
}

.contacts-sheet__point h3,
.contacts-sheet__point p {
    margin: 0;
}

.contacts-sheet__point p {
    color: var(--ink-soft);
}

.contacts-sheet__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* 2026-06-17 premium polish: refined motion, depth and micro-interactions across all pages. */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.delivery-hero h1,
.section-heading h1,
.section-heading h2,
.custom-design-hero__copy h2,
.category-section__head h3 {
    letter-spacing: -0.012em;
}

/* Buttons — premium lift + depth */
.primary-button,
.secondary-button,
.ghost-button,
.cart-button {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, filter 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(93, 41, 21, 0.28);
    filter: saturate(1.06);
}

.primary-button:active {
    transform: translateY(0);
}

.secondary-button:hover,
.ghost-button:hover,
.cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(33, 23, 15, 0.14);
}

.ghost-link {
    transition: color 0.24s ease, transform 0.24s ease;
}

.ghost-link:hover {
    transform: translateX(2px);
}

/* Header utility — refined hover */
.header-link,
.lang-switch__item {
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

/* Product cards — expensive depth + smooth motion */
.product-card {
    border: 1px solid rgba(31, 25, 20, 0.06);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(33, 23, 15, 0.2);
    border-color: rgba(212, 163, 84, 0.42);
}

.product-card__media img {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__media img,
.product-card:focus-within .product-card__media img {
    transform: scale(1.06);
}

/* Secondary cards across sub-pages — gentle lift */
.feature-link-card,
.promo-page-card,
.custom-design-story__panel,
.franchise-gallery__item,
.review-card,
.info-card {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-link-card:hover,
.promo-page-card:hover,
.custom-design-story__panel:hover,
.franchise-gallery__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(33, 23, 15, 0.16);
}

/* Category list — premium slide hover */
.page-sidebar__nav a,
.page-sidebar__quicklinks a,
.page-sidebar__link {
    transition: background 0.24s ease, color 0.24s ease, padding-left 0.24s ease;
}

.page-sidebar__nav a:hover,
.page-sidebar__quicklinks a:hover,
.page-sidebar__link:hover {
    padding-left: 16px;
}

/* Promo carousel — silky track + arrow polish */
.promo-carousel__track {
    transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-dot {
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), background 0.32s ease;
}

/* Scroll reveal — refined easing, progressive when JS is on */
.reveal {
    animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js-reveal .reveal {
    animation: none;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Premium focus ring */
a:focus-visible,
button:focus-visible,
.variant-select:focus-visible,
input:focus-visible {
    outline: 2px solid rgba(212, 163, 84, 0.6);
    outline-offset: 2px;
}

/* The header search input sits inside a rounded pill (.header-search) that
   already shows a matching rounded focus ring via :focus-within. A separate
   rectangular outline on the inner <input> doesn't match the pill shape, so
   suppress it here. */
.header-search input:focus-visible,
.header-search input:focus {
    outline: none;
}

.header-search:focus-within {
    border-color: rgba(215, 166, 67, 0.62);
    box-shadow: 0 0 0 3px rgba(215, 166, 67, 0.22);
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 2026-08-29: final specificity guard for legacy sheet variants. */
@media (max-width: 900px) {
    .sheet-modal--promo .sheet-modal__header,
    .sheet-modal--image .sheet-modal__header,
    .sheet-modal--product .sheet-modal__header,
    .sheet-modal--contacts .sheet-modal__header,
    .sheet-modal--franchise .sheet-modal__header,
    .sheet-modal--review .sheet-modal__header,
    .sheet-modal--notifications .sheet-modal__header {
        border-bottom: 1px solid rgba(239, 202, 116, 0.19) !important;
        background:
            radial-gradient(circle at 0 0, rgba(226, 178, 77, 0.13), transparent 14rem),
            rgba(16, 13, 11, 0.97) !important;
        box-shadow: 0 12px 32px rgba(20, 14, 10, 0.18) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        backdrop-filter: blur(20px) !important;
    }

    .sheet-modal--promo .sheet-modal__header .eyebrow,
    .sheet-modal--image .sheet-modal__header .eyebrow,
    .sheet-modal--product .sheet-modal__header .eyebrow,
    .sheet-modal--contacts .sheet-modal__header .eyebrow,
    .sheet-modal--franchise .sheet-modal__header .eyebrow,
    .sheet-modal--review .sheet-modal__header .eyebrow,
    .sheet-modal--notifications .sheet-modal__header .eyebrow {
        color: rgba(244, 210, 132, 0.62) !important;
    }

    .sheet-modal--promo .sheet-modal__header h2,
    .sheet-modal--image .sheet-modal__header h2,
    .sheet-modal--product .sheet-modal__header h2,
    .sheet-modal--contacts .sheet-modal__header h2,
    .sheet-modal--franchise .sheet-modal__header h2,
    .sheet-modal--review .sheet-modal__header h2,
    .sheet-modal--notifications .sheet-modal__header h2 {
        color: #f5d17c !important;
        font-family: Georgia, "Times New Roman", serif !important;
    }

    .sheet-modal--promo .sheet-modal__header .ghost-button,
    .sheet-modal--image .sheet-modal__header .ghost-button,
    .sheet-modal--product .sheet-modal__header .ghost-button,
    .sheet-modal--contacts .sheet-modal__header .ghost-button,
    .sheet-modal--franchise .sheet-modal__header .ghost-button,
    .sheet-modal--review .sheet-modal__header .ghost-button,
    .sheet-modal--notifications .sheet-modal__header .ghost-button,
    .delivery-modal-crown .delivery-modal-close {
        border: 1px solid rgba(239, 202, 116, 0.19) !important;
        background: rgba(255, 255, 255, 0.065) !important;
        color: #fff8ea !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }
}

/* 2026-08-29: desktop already has the persistent category sidebar. */
@media (min-width: 901px) {
    .site-header .header-menu {
        display: none !important;
    }
}

/* 2026-08-29: safe drawer endings, explicit search reset and account-page back. */
.catalog-search-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid rgba(182, 125, 46, 0.2);
    border-radius: 13px;
    background: rgba(255, 249, 239, 0.92);
    color: #4c3b2e;
    font-size: 0.84rem;
    font-weight: 700;
}

.catalog-search-status[hidden] {
    display: none !important;
}

.catalog-search-status button,
.mobile-search-modal__reset {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(182, 125, 46, 0.34);
    border-radius: 10px;
    background: #fff;
    color: #8b5e20;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.profile-page-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    min-height: 40px;
    margin: 0 0 16px;
    padding: 0 12px 0 10px;
    border: 1px solid rgba(49, 37, 29, 0.12);
    border-radius: 11px;
    background: rgba(255, 250, 243, 0.9);
    color: #4b392c;
    font-size: 0.82rem;
    font-weight: 800;
}

.profile-page-back svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-page-back--history {
    margin: 16px 18px 0;
}

.profile-page-back--auth {
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .header-menu__panel,
    .account-menu__panel {
        padding-bottom: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 18px) !important;
        scroll-padding-bottom: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 18px);
    }

    .mobile-search-modal__reset {
        flex: 0 0 auto;
        width: 100%;
        min-height: 44px;
        border-radius: 12px;
        background: #fff8ec;
    }

    .catalog-search-status {
        align-items: stretch;
        flex-direction: column;
        margin-inline: 2px;
    }

    .catalog-search-status button {
        width: 100%;
        min-height: 42px;
    }

    .profile-page-back {
        min-height: 42px;
        font-size: 0.84rem;
    }
}

/* 2026-08-29: unambiguous app menu controls and keyboard-safe mobile search. */
.mobile-app-menu-toggle,
.mobile-search-modal {
    display: none;
}

.mobile-app-menu-toggle svg,
.mobile-search-modal svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 900px) {
    .site-header__frame {
        padding: 0 !important;
    }

    .site-header .header-menu {
        display: none !important;
    }

    .mobile-app-menu-toggle {
        position: absolute;
        top: 50%;
        left: 0;
        z-index: 5;
        display: inline-grid;
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        place-items: center;
        padding: 0;
        border: 1px solid rgba(244, 190, 76, 0.4);
        border-radius: 50%;
        background: linear-gradient(145deg, rgba(244, 190, 76, 0.16), rgba(244, 190, 76, 0.06));
        color: #f4c25a;
        box-shadow: 0 7px 18px rgba(0, 0, 0, 0.16);
        transform: translateY(-50%);
        cursor: pointer;
    }

    .mobile-app-menu-toggle[aria-expanded="true"] {
        border-color: rgba(244, 190, 76, 0.72);
        background: rgba(244, 190, 76, 0.2);
    }

    .mobile-app-menu-toggle svg {
        width: 23px;
        height: 23px;
    }

    .site-header__actions > .account-menu > .header-link--login-icon {
        display: none !important;
    }

    .mobile-search-modal {
        position: fixed;
        inset: 0;
        z-index: 180;
        width: 100vw;
        height: 100dvh;
        color: #211914;
    }

    .mobile-search-modal.is-open {
        display: block;
        animation: hani-mobile-search-in 0.2s ease-out;
    }

    .mobile-search-modal__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(18, 14, 10, 0.46);
    }

    .mobile-search-modal__panel {
        position: absolute;
        inset: 0;
        display: flex;
        min-height: 0;
        flex-direction: column;
        gap: 16px;
        padding: max(14px, env(safe-area-inset-top, 0px)) 14px max(14px, env(safe-area-inset-bottom, 0px));
        background: #fffdf9;
        overflow: hidden;
    }

    .mobile-search-modal__head {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .mobile-search-modal__head h2 {
        margin: 0;
        color: #211914;
        font-size: 1.16rem;
        line-height: 1.2;
    }

    .mobile-search-modal__close {
        display: inline-grid;
        width: 42px;
        min-width: 42px;
        height: 42px;
        place-items: center;
        padding: 0;
        border: 1px solid rgba(31, 25, 20, 0.12);
        border-radius: 50%;
        background: #fff;
        color: #211914;
    }

    .mobile-search-modal__close svg {
        width: 20px;
        height: 20px;
    }

    .mobile-search-modal__form {
        position: relative;
        display: grid;
        flex: 0 0 auto;
        grid-template-columns: minmax(0, 1fr) 48px;
        min-height: 54px;
        border: 2px solid rgba(176, 126, 44, 0.45);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(31, 25, 20, 0.12);
    }

    .mobile-search-modal__form:focus-within {
        border-color: #b67d2e;
        box-shadow: 0 0 0 3px rgba(182, 125, 46, 0.15), 0 12px 34px rgba(31, 25, 20, 0.12);
    }

    .mobile-search-modal__form input {
        width: 100%;
        min-width: 0;
        height: 50px;
        padding: 0 8px 0 15px;
        border: 0;
        border-radius: 14px 0 0 14px;
        background: #fff;
        color: #211914 !important;
        -webkit-text-fill-color: #211914 !important;
        caret-color: #9b6427;
        font: inherit;
        font-size: 1rem;
        outline: 0;
    }

    .mobile-search-modal__form input::placeholder {
        color: #76695e !important;
        -webkit-text-fill-color: #76695e !important;
        opacity: 1;
    }

    .mobile-search-modal__form > button {
        display: inline-grid;
        width: 48px;
        height: 50px;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 0 14px 14px 0;
        background: #17120e;
        color: #fff;
    }

    .mobile-search-modal__form > button svg {
        width: 21px;
        height: 21px;
    }

    .mobile-search-modal .header-search__suggestions {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 2;
        width: auto !important;
        max-height: calc(100dvh - 150px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        border: 1px solid rgba(31, 25, 20, 0.1);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 16px 36px rgba(31, 25, 20, 0.14);
    }

    @keyframes hani-mobile-search-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-search-modal.is-open {
        animation: none !important;
    }
}

/* 2026-08-28: visual logo centering, clean menu trigger, page transitions and full-width franchise form. */
@keyframes hani-page-enter {
    from {
        opacity: 0;
        transform: translateY(9px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: hani-page-enter 0.34s cubic-bezier(.2,.8,.2,1) both;
}

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 0.18s ease both hani-overlay-in reverse;
}

::view-transition-new(root) {
    animation: 0.32s cubic-bezier(.2,.8,.2,1) both hani-page-enter;
}

@media (max-width: 900px) {
    .brand-mark {
        top: 6px !important;
        transform: translateX(-38%) !important;
    }

    .brand-mark__logo {
        width: 104px !important;
    }

    .header-menu summary::after {
        content: none !important;
        display: none !important;
    }
}

@media (max-width: 760px) {
    .modal-shell[data-franchise-lead-modal] {
        align-items: stretch !important;
        justify-content: stretch !important;
        padding: 0 !important;
    }

    .modal-shell[data-franchise-lead-modal] .sheet-modal--franchise {
        position: fixed !important;
        inset: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100vw !important;
        max-width: none !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        background: #fffdfa !important;
    }

    .sheet-modal--franchise .sheet-modal__header {
        position: relative !important;
        top: auto !important;
        z-index: 3;
        flex: 0 0 auto;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100%;
        box-sizing: border-box;
        margin: 0 !important;
        padding: calc(13px + env(safe-area-inset-top, 0px)) 16px 13px !important;
        border-bottom: 1px solid rgba(31, 25, 20, 0.1);
        background: rgba(255, 253, 250, 0.98) !important;
        backdrop-filter: blur(10px);
    }

    .sheet-modal--franchise .sheet-modal__header > div {
        min-width: 0;
    }

    .sheet-modal--franchise .sheet-modal__header .eyebrow {
        margin: 0 0 5px;
        font-size: 0.68rem;
    }

    .sheet-modal--franchise .sheet-modal__header h2 {
        margin: 0 !important;
        font-size: clamp(1.35rem, 6.5vw, 1.7rem) !important;
        line-height: 1.08 !important;
        overflow-wrap: anywhere;
    }

    .sheet-modal--franchise .sheet-modal__header .ghost-button {
        flex: 0 0 auto;
        min-height: 38px !important;
        padding: 0 11px !important;
        border-radius: 9px !important;
        font-size: 0.76rem !important;
    }

    .sheet-modal--franchise .franchise-questionnaire--modal {
        flex: 1 1 auto;
        grid-template-columns: minmax(0, 1fr) !important;
        align-content: start;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
        gap: 14px !important;
        margin: 0 !important;
        padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .franchise-questionnaire--modal label,
    .franchise-questionnaire--modal .franchise-questionnaire__field--wide,
    .franchise-questionnaire--modal .franchise-questionnaire__submit,
    .franchise-questionnaire--modal .franchise-questionnaire__control {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .franchise-questionnaire--modal label {
        gap: 7px !important;
        font-size: 0.88rem !important;
        line-height: 1.3;
    }

    .franchise-questionnaire--modal .franchise-questionnaire__control {
        min-height: 48px !important;
        padding: 11px 12px !important;
    }

    .franchise-questionnaire--modal textarea.franchise-questionnaire__control {
        min-height: 104px !important;
    }

    .franchise-questionnaire--modal small {
        margin: 0 !important;
        line-height: 1.4;
    }

    .franchise-questionnaire--modal .franchise-questionnaire__submit {
        min-height: 48px !important;
        margin-top: 2px;
    }
}

@media (max-width: 380px) {
    .brand-mark__logo {
        width: 96px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    main,
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }
}

@media (max-width: 1180px) {
    .header-search {
        order: 5;
        flex: 1 1 100%;
        max-width: none;
    }

    .page-sidebar__panel {
        max-height: none;
        overflow: visible;
    }

    .page-sidebar__nav {
        overflow: visible;
    }

    .product-grid,
    .product-grid--page {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header__utility {
        flex-wrap: wrap;
    }

    .brand-mark__logo {
        width: 168px;
    }

    .fulfillment-strip {
        grid-template-columns: 1fr;
    }

    .promo-slide__media {
        aspect-ratio: 16 / 9;
    }

    .promo-carousel__nav {
        width: 46px;
        height: 46px;
    }

    .product-grid,
    .product-grid--page,
    .contacts-sheet__points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .custom-design-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand-mark__logo {
        width: 150px;
    }

    .brand-mark__caption strong {
        display: none;
    }

    .header-link--contacts {
        padding: 0 14px;
        min-height: 40px;
    }

    .product-grid,
    .product-grid--page,
    .contacts-sheet__points {
        grid-template-columns: 1fr;
    }

    .custom-design-story__panel {
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card__media img,
    .promo-carousel__track {
        transition: none;
    }
}

/* Keep the left panel STICKY across the whole desktop 2-column range.
   An earlier rule disabled sticky at <=1240px (intended for a single-column
   layout that never actually engages), which let the panel scroll away and
   the sticky header eat the city selector. Restore sticky for >=901px. */
@media (min-width: 901px) {
    .page-sidebar {
        position: sticky;
        top: calc(var(--header-h, 101px) + 12px);
        align-self: start;
    }
}

/* ============================================================================
   2026-06-17 — FULL MOBILE ADAPTATION
   Appended last so it overrides the earlier (partly dead) responsive rules
   that kept the home layout 2-column down to 600px and forced the page to
   render ~1560px wide on phones. Breakpoints: <=900 (tablet/large phone),
   <=600 (phone), <=380 (small phone).
   ============================================================================ */

@media (max-width: 900px) {
    /* Collapse the home 2-column layout so the page respects device-width.
       Use minmax(0,1fr) (not 1fr) and min-width:0 on the nested grid/flex
       items: otherwise their default min-width:auto keeps the column as wide
       as its content's min-content, blowing the page out to ~2360px. */
    .home-layout,
    .home-main,
    .catalog-main,
    .promo-carousel {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-layout {
        gap: 16px;
    }

    .home-layout > *,
    .home-main,
    .home-main > *,
    .catalog-shell,
    .catalog-main,
    .catalog-main > *,
    .category-section,
    .product-grid,
    .promo-panel,
    .promo-panel--hero,
    .promo-carousel,
    .promo-carousel > *,
    .promo-carousel__viewport,
    .promo-carousel__track,
    .promo-slide,
    .product-card,
    .delivery-hero,
    .fulfillment-strip {
        min-width: 0;
    }

    .page-sidebar {
        position: static;
        top: auto;
        width: auto;
        align-self: stretch;
    }

    .page-sidebar__panel {
        max-height: none;
        overflow: visible;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        gap: 12px;
    }

    .home-main {
        gap: 16px;
    }

    /* Service quick-links become a compact wrapped row of pills. */
    .page-sidebar__sticky-head {
        border-bottom: 0;
        padding-bottom: 0;
        gap: 10px;
    }

    .page-sidebar__quicklinks {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding-bottom: 0;
    }

    .page-sidebar__quicklinks a,
    .page-sidebar__link {
        width: auto;
        padding: 8px 13px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid rgba(31, 25, 20, 0.1);
        color: var(--ink);
        font-size: 0.84rem;
        line-height: 1.1;
    }

    /* Category navigation becomes a wrapping row of chips (nothing clipped). */
    .page-sidebar__nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        overflow: visible;
        margin-top: 0;
        padding: 0;
        border: 0;
    }

    .page-sidebar__nav a {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        padding: 9px 15px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid rgba(31, 25, 20, 0.1);
        color: var(--ink);
    }

    .page-sidebar__nav a:hover {
        padding-left: 15px;
        background: #111;
        color: #fff;
    }

    /* Catalog grid -> 2 columns; clamp titles so both cards in a row align. */
    .product-grid,
    .product-grid--page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card__topline h4 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.5em;
    }

    /* Hero: prevent each word wrapping to its own line. */
    .delivery-hero {
        padding: 4px 2px 0;
    }

    .delivery-hero h1 {
        font-size: clamp(1.5rem, 5.4vw, 2.2rem);
        line-height: 1.08;
    }

    /* Fulfillment: compact segmented toggle (Доставка | Самовывоз) with the
       destination line full-width beneath — instead of three heavy bars. */
    .fulfillment-strip {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .fulfillment-option,
    .fulfillment-address {
        min-height: 42px;
    }

    .fulfillment-address {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    /* Tighter section padding. */
    .home-shell,
    .product-page,
    .desk-shell,
    .auth-shell {
        padding: 16px 0 44px;
    }

    .section-stack {
        gap: 20px;
    }
}

@media (max-width: 760px) {
    /* HEADER: logo + cart on top row, full-width search, then RU/KZ + contacts. */
    .site-header__frame {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-header__inner {
        gap: 10px;
        row-gap: 10px;
    }

    .brand-mark {
        order: 1;
        margin-right: 0;
    }

    .brand-mark__logo {
        width: 132px;
    }

    .brand-mark__caption {
        display: none;
    }

    .site-header__actions {
        order: 2;
        flex: 0 0 auto;
        margin-left: auto;
        gap: 8px;
    }

    .header-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        min-width: 0;
    }

    .site-header__utility {
        order: 4;
        gap: 8px;
    }

    .header-link {
        font-size: 0.92rem;
    }

    .header-link--contacts {
        min-height: 44px;
        padding: 0 16px;
    }

    .lang-switch {
        gap: 2px;
    }

    .lang-switch__item {
        min-height: 44px;
        min-width: 40px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-link[href],
    .header-link--button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .cart-button {
        min-height: 44px;
        padding: 0 16px;
    }
}

@media (max-width: 600px) {
    /* Keep a compact 2-column catalog grid (halves the very long page) but
       declutter each card for narrow widths. */
    .product-grid,
    .product-grid--page {
        gap: 10px;
    }

    .product-card__body {
        padding: 12px;
        gap: 8px;
    }

    .product-card__topline h4 {
        font-size: 0.9rem;
        line-height: 1.25;
    }

    .product-card__body > p {
        display: none; /* descriptions are noise at this width; name+price+CTA stay */
    }

    .product-card__meta {
        font-size: 0.74rem;
    }

    .product-card__pricing strong {
        font-size: 1.04rem;
    }

    .product-card__variant-wrap label {
        display: none;
    }

    .variant-select {
        padding: 9px 10px;
        font-size: 0.85rem;
    }

    .product-card__actions {
        gap: 8px;
    }

    .product-card__actions .ghost-link {
        display: none; /* the image/card links to detail; keep the primary CTA only */
    }

    .product-card__actions .primary-button {
        width: 100%;
    }

    /* Headings */
    .section-heading {
        gap: 6px;
    }

    .section-heading h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-heading p {
        font-size: 0.95rem;
    }

    /* Sub-page heroes */
    .custom-design-hero,
    .franchise-hero {
        padding: 18px;
    }

    .custom-design-hero__copy h2 {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }

    /* Promo / feature grids single column */
    .promo-page-grid,
    .feature-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .promo-page-card {
        max-width: none;
    }

    /* Single column: no cross-card alignment needed, so let the CTA sit right
       under its content instead of being pushed to the bottom (detached). */
    .promo-page-card__action {
        margin-top: 14px;
    }

    .promo-page-card__action-placeholder {
        display: none;
    }

    .feature-link-card p:last-child {
        margin-top: 8px;
    }

    /* Modals: full-bleed sheets, comfortably scrollable */
    .modal-shell {
        align-items: stretch;
        justify-content: stretch;
    }

    .sheet-modal,
    .checkout-modal,
    .sheet-modal--contacts,
    .sheet-modal--wide {
        width: 100%;
        max-width: none;
        max-height: 100vh;
        border-radius: 0;
        padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    }

    .sheet-modal__grid {
        grid-template-columns: 1fr;
    }

    .contacts-sheet__points {
        grid-template-columns: 1fr;
    }

    .cart-drawer__panel {
        width: 100%;
        padding: 18px 16px;
    }

    .city-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Footer single column */
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Cookie banner full width, stacked */
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .cookie-banner__actions {
        display: flex;
        gap: 10px;
    }

    .cookie-banner__actions .primary-button,
    .cookie-banner__actions .ghost-button {
        flex: 1 1 auto;
    }

    /* Carousel a touch shorter; bigger, inset, touch-friendly arrows */
    .promo-slide__media {
        aspect-ratio: 16 / 10;
    }

    .promo-carousel__nav {
        width: 44px;
        height: 44px;
        background: rgba(23, 20, 17, 0.62);
    }

    .promo-carousel__nav--prev {
        left: 8px;
    }

    .promo-carousel__nav--next {
        right: 8px;
    }

    /* Product detail: primary "В корзину" is the dominant, full-width action;
       the "Вернуться в категорию" link is subordinate beneath it. */
    .product-page__actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .product-page__actions .primary-button {
        order: -1;
        width: 100%;
        min-height: 52px;
    }

    .product-page__actions .secondary-button {
        width: 100%;
    }

    /* Franchise: the right-hand intro card duplicates the page heading + lead
       when stacked on mobile — hide it so the title appears once. */
    .franchise-card--page {
        display: none;
    }

    /* Franchise gallery: drop the tall desktop min-heights that left a big
       empty band before the footer on mobile. */
    .franchise-gallery {
        gap: 14px;
    }

    .franchise-gallery__item {
        min-height: 0;
    }

    .franchise-gallery__item img {
        min-height: 0;
        max-height: 78vh;
    }

    /* Modal/drawer close button: compact, consistent — not a big floating card. */
    .cart-drawer__header .ghost-button,
    .sheet-modal__header .ghost-button {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.9rem;
        box-shadow: none;
        background: rgba(31, 25, 20, 0.06);
        align-self: start;
    }
}

@media (max-width: 380px) {
    .brand-mark__logo {
        width: 118px;
    }

    /* Very small phones: single column so cards never get cramped. */
    .product-grid,
    .product-grid--page {
        grid-template-columns: 1fr;
    }

    .product-card__body > p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .city-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   2026-06-17 — "wow" finishing layer: premium scrollbar, smooth modal/drawer
   entrances, refined primary button, and a floating back-to-top control.
   ============================================================================ */

/* Branded thin scrollbar (won't override the explicitly-hidden ones). */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(159, 85, 46, 0.5) transparent;
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 3px solid transparent;
    background: linear-gradient(180deg, rgba(159, 85, 46, 0.6), rgba(93, 41, 21, 0.6));
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(159, 85, 46, 0.85), rgba(93, 41, 21, 0.85));
    background-clip: padding-box;
}

/* Smooth modal / drawer entrances. */
@keyframes hani-overlay-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hani-modal-in {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

@keyframes hani-drawer-in {
    from { transform: translateX(100%); }
    to { transform: none; }
}

.modal-shell.is-open,
.cart-drawer.is-open {
    animation: hani-overlay-in 0.24s ease;
}

.modal-shell.is-open .sheet-modal,
.modal-shell.is-open .checkout-modal {
    animation: hani-modal-in 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.is-open .cart-drawer__panel {
    animation: hani-drawer-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Refined primary button: sheen sweep on hover (keep the brand gradient fill
   from the base rule — do NOT override background-image here). */
.primary-button {
    position: relative;
    overflow: hidden;
}

.primary-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-18deg);
    opacity: 0;
    transition: none;
    pointer-events: none;
}

.primary-button:hover::after {
    animation: hani-sheen 0.7s ease;
}

@keyframes hani-sheen {
    0% { left: -60%; opacity: 0; }
    20% { opacity: 1; }
    100% { left: 130%; opacity: 0; }
}

/* Floating back-to-top button. */
.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 224, 181, 0.22);
    border-radius: 999px;
    background: rgba(23, 20, 17, 0.72);
    color: #ffe9c9;
    cursor: pointer;
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 36px rgba(11, 10, 9, 0.26);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background: rgba(93, 41, 21, 0.9);
    transform: translateY(-2px);
}

.to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 600px) {
    .to-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal-shell.is-open,
    .cart-drawer.is-open,
    .modal-shell.is-open .sheet-modal,
    .modal-shell.is-open .checkout-modal,
    .cart-drawer.is-open .cart-drawer__panel,
    .primary-button:hover::after,
    .to-top {
        animation: none;
        transition: none;
    }
}

/* ============================================================================
   2026-06-17 post-QA fixes (from adversarial visual hunt).
   ============================================================================ */

/* Uniform 2-line product titles so every card's price/CTA row aligns across
   the grid at all widths (desktop was ragged when names wrapped unevenly). */
.product-card__topline h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

/* Disabled primary buttons must stay legible (never fade the label into bg). */
.primary-button:disabled,
.primary-button[disabled] {
    background: #e6e1d8;
    color: #6b6257;
    box-shadow: none;
    opacity: 1;
    cursor: not-allowed;
}

.primary-button:disabled::after,
.primary-button[disabled]::after {
    display: none;
}

/* Auth card heading rhythm: more space below the heading, less cramped label. */
.auth-card h1 {
    margin-bottom: 1.1rem;
    line-height: 1.14;
}

/* Touch devices: don't let the dark :hover fill stick on a category chip after
   a tap (it looked like a stray selected pill). Reset to the resting style. */
@media (hover: none) {
    .page-sidebar__nav a:hover {
        background: #fff;
        color: var(--ink);
    }
}

/* Long Kazakh hero heading: keep a consistent right gutter / allow wrap. */
.franchise-hero__copy h2 {
    max-width: 22ch;
    text-wrap: balance;
}

/* ============================================================================
   2026-06-17 — account dropdown: all signed-in actions in one menu so the
   header keeps a constant footprint/height whether logged in or out.
   ============================================================================ */
.account-menu {
    position: relative;
    display: inline-flex;
}

/* Toggle styled as a header pill, consistent with the "Контакты" pill. */
.header-link--account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 224, 181, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #f6ead7;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.24s ease, border-color 0.24s ease;
}

.header-link--account::after {
    display: none;
}

.header-link--account:hover,
.header-link--account:focus-visible,
.account-menu.is-open .header-link--account {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(240, 189, 92, 0.4);
    color: #fff;
    outline: none;
}

.account-menu__chevron {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.26s ease;
}

.account-menu.is-open .account-menu__chevron {
    transform: rotate(180deg);
}

/* Premium dropdown card — matches the warm modal/sheet aesthetic. */
.account-menu__panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 230px;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border-radius: 18px;
    background: linear-gradient(150deg, #fffaf2 0%, #fbf2e3 100%);
    border: 1px solid rgba(31, 25, 20, 0.08);
    box-shadow: 0 26px 60px rgba(33, 23, 15, 0.24);
    z-index: 60;
}

/* little caret pointing up to the toggle */
.account-menu__panel::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 26px;
    width: 14px;
    height: 14px;
    background: #fffaf2;
    border-left: 1px solid rgba(31, 25, 20, 0.08);
    border-top: 1px solid rgba(31, 25, 20, 0.08);
    transform: rotate(45deg);
}

.account-menu.is-open .account-menu__panel {
    display: flex;
    animation: hani-modal-in 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.account-menu__item {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    text-align: left;
    padding: 11px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.account-menu__item svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

.account-menu__item:hover,
.account-menu__item:focus-visible {
    background: rgba(212, 163, 84, 0.16);
    color: var(--ink);
    transform: translateX(2px);
    outline: none;
}

.account-menu__logout {
    margin: 6px 0 0;
    padding-top: 6px;
    border-top: 1px solid rgba(31, 25, 20, 0.08);
}

.account-menu__logout .account-menu__item {
    color: var(--accent-deep);
    font-weight: 700;
}

.account-menu__logout .account-menu__item svg {
    stroke: var(--accent-deep);
}

.account-menu__logout .account-menu__item:hover {
    background: rgba(153, 53, 36, 0.1);
}
.delivery-map {
    min-height: 360px;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(33, 29, 24, 0.12);
    border-radius: 14px;
    background: #f3efe8;
}

.delivery-map--page {
    min-height: 520px;
}

.delivery-map--checkout {
    min-height: 280px;
}

.delivery-map-status {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(215, 166, 67, 0.12);
    color: #59401b;
    font-weight: 700;
    line-height: 1.45;
}

.delivery-map-card {
    display: grid;
    gap: 12px;
}

.cart-total--muted {
    color: rgba(33, 29, 24, 0.72);
}

.staff-edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 36px;
    margin-top: 12px;
    padding: 0 14px;
    border: 1px solid rgba(33, 29, 24, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #2c2118;
    font-weight: 800;
    text-decoration: none;
}

.staff-edit-link:hover {
    border-color: rgba(33, 29, 24, 0.28);
    background: #fff;
}

@media (max-width: 640px) {
    .delivery-map,
    .delivery-map--page {
        min-height: 320px;
    }

    .delivery-map--checkout {
        min-height: 240px;
    }
}
.delivery-map-fallback {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border-radius: inherit;
    background:
        linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
        #efe4d0;
    background-size: 42px 42px;
    cursor: crosshair;
}

.delivery-map-fallback polygon {
    transition: fill-opacity 0.16s ease, stroke-width 0.16s ease;
}

.delivery-map-fallback polygon:hover {
    fill-opacity: 0.32;
    stroke-width: 5;
}

/* 2026-06-30 follow-up: practical public pages and delivery map fixes. */
.info-list--pickup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.delivery-map--checkout {
    min-height: 360px;
}

.promo-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-items: stretch;
}

.promo-page-card,
.promo-page-card--button {
    width: 100%;
    max-width: none;
    min-height: 100%;
    padding: 0;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    font: inherit;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(33, 23, 15, 0.08);
}

.promo-page-card__media {
    padding: 0;
    aspect-ratio: 16 / 10;
    background: #fffdfa;
}

.promo-page-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    background: #fffdfa;
}

.promo-page-card__body {
    padding: 18px;
    gap: 12px;
}

.promo-page-card__action {
    width: fit-content;
}

.sheet-modal--promo {
    width: min(900px, calc(100% - 24px));
}

.promo-detail {
    display: grid;
    gap: 18px;
}

.promo-detail img {
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    border-radius: 8px;
    background: #fffdfa;
}

.promo-detail p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.franchise-gallery {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.franchise-gallery__item,
.custom-design-story__panel {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: auto;
    min-height: 0;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    cursor: zoom-in;
    font: inherit;
    text-align: left;
    overflow: hidden;
}

.franchise-gallery__item {
    display: grid;
    padding: 0;
}

.franchise-gallery__item img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 560px;
    object-fit: contain;
    background: #fffdfa;
}

.franchise-gallery__caption,
.custom-design-story__caption {
    display: grid;
    gap: 6px;
    padding: 14px 16px 16px;
}

.franchise-gallery__caption small,
.custom-design-story__caption small {
    color: var(--ink-soft);
    line-height: 1.55;
}

.custom-design-story {
    justify-items: center;
}

.custom-design-story__panel {
    display: grid;
    gap: 0;
    padding: 14px;
    max-width: 1120px;
}

.custom-design-story__panel img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
    background: #fffdfa;
}

.sheet-modal--image {
    width: min(1120px, calc(100% - 24px));
}

.image-lightbox__image {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
    background: #fffdfa;
}

.review-form-card {
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
}

.review-form-card form {
    display: grid;
    gap: 18px;
}

.rating-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.rating-choice-list div {
    margin: 0;
}

.rating-choice-list label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(23, 20, 17, 0.12);
    border-radius: 999px;
    background: #fffdfa;
    cursor: pointer;
    font-weight: 700;
}

.rating-choice-list input {
    width: auto;
    min-height: auto;
}

.review-grid--page {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 760px) {
    .promo-page-grid,
    .franchise-gallery,
    .review-grid--page {
        grid-template-columns: 1fr;
    }

    .delivery-map--checkout {
        min-height: 300px;
    }
}

.page-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.page-block {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(80, 54, 31, 0.12);
    border-radius: 12px;
    background: rgba(255, 253, 250, 0.78);
}

.page-block--text,
.page-block--cta {
    padding: 22px;
}

.page-block__media {
    aspect-ratio: 16 / 10;
    background: #efe4d0;
}

.page-block__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-block__body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.page-block__body h3,
.page-block__body p {
    margin: 0;
}

.page-block__body p {
    color: var(--color-muted);
}

/* 2026-06-30 follow-up: premium public pages and calmer operations UI. */
.fulfillment-strip {
    padding: 8px;
    border: 1px solid rgba(80, 54, 31, 0.1);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(248, 232, 198, 0.68));
    box-shadow: 0 18px 46px rgba(55, 33, 16, 0.08);
}

.fulfillment-option,
.fulfillment-address {
    min-height: 50px;
    border-radius: 14px;
    background: transparent;
    color: #281b11;
}

.fulfillment-option.is-active {
    background: #1d140d;
    color: #fff8eb;
    box-shadow: 0 14px 30px rgba(29, 20, 13, 0.18);
}

.fulfillment-address {
    justify-content: center;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(215, 166, 67, 0.24);
}

.fulfillment-address span {
    font-weight: 800;
}

.promo-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.promo-page-card,
.promo-page-card--button {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border: 0;
    border-radius: 24px;
    background: #1a120c;
    color: #fff8ec;
    box-shadow: 0 22px 54px rgba(43, 27, 13, 0.2);
}

.promo-page-card__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    background: #1a120c;
}

.promo-page-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.24s ease, filter 0.24s ease;
}

.promo-page-card:hover img,
.promo-page-card:focus-visible img {
    transform: scale(1.045);
    filter: saturate(1.04);
}

.promo-page-card__body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    display: grid;
    gap: 10px;
    padding: 76px 22px 22px;
    background: linear-gradient(180deg, rgba(26, 18, 12, 0), rgba(26, 18, 12, 0.9) 52%, rgba(26, 18, 12, 0.98));
}

.promo-page-card h3,
.promo-page-card__body p {
    color: inherit;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.promo-page-card__body p {
    color: rgba(255, 248, 236, 0.84);
}

.promo-page-card__action {
    width: max-content;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #d7a643;
    color: #1d140d;
    box-shadow: none;
}

.franchise-hero,
.custom-design-hero {
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 16% 8%, rgba(215, 166, 67, 0.2), transparent 34%),
        linear-gradient(135deg, #1f160f, #3a2516);
    color: #fff8ec;
    box-shadow: 0 24px 62px rgba(43, 27, 13, 0.18);
}

.franchise-hero h2,
.franchise-hero p,
.custom-design-hero h2,
.custom-design-hero p,
.custom-design-hero__meta p {
    color: inherit;
}

.franchise-card--page,
.custom-design-hero__meta {
    border-color: rgba(255, 248, 236, 0.18);
    background: rgba(255, 248, 236, 0.08);
    color: #fff8ec;
}

.franchise-gallery,
.custom-design-story {
    grid-template-columns: 1fr;
    width: min(100%, 980px);
    margin-inline: auto;
    gap: 24px;
}

.franchise-gallery__item,
.custom-design-story__panel {
    border: 1px solid rgba(80, 54, 31, 0.12);
    border-radius: 26px;
    background: linear-gradient(145deg, #21150d, #3b2718);
    box-shadow: 0 20px 58px rgba(43, 27, 13, 0.16);
    padding: 14px;
}

.franchise-gallery__item img,
.custom-design-story__panel img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 18px;
    background: #1a120c;
}

.franchise-gallery__caption,
.custom-design-story__caption {
    color: rgba(255, 248, 236, 0.88);
}

.review-form-card {
    border: 1px solid rgba(80, 54, 31, 0.1);
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.92);
    box-shadow: 0 18px 44px rgba(55, 33, 16, 0.08);
}

.rating-choice-list label {
    background: #fff8ec;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.rating-choice-list label:has(input:checked) {
    border-color: #d7a643;
    background: #1d140d;
    color: #fff8ec;
}

.desk-shell {
    background: linear-gradient(180deg, #fff9ef 0%, #f4ebdd 100%);
}

.desk-toolbar,
.desk-filters,
.desk-breakdowns .info-card,
.orders-day-card {
    border: 1px solid rgba(80, 54, 31, 0.1);
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 16px 42px rgba(55, 33, 16, 0.07);
}

.desk-filters__grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.orders-desk-table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #fffdfa;
}

.orders-desk-table th {
    background: #1d140d;
    color: #fff8ec;
}

.orders-desk-table tr:nth-child(even) td {
    background: rgba(248, 232, 198, 0.22);
}

@media (max-width: 760px) {
    .promo-page-card,
    .promo-page-card--button {
        min-height: 300px;
        border-radius: 20px;
    }

    .franchise-hero,
    .custom-design-hero {
        border-radius: 22px;
    }
}

/* 2026-07-01 follow-up: public polish for delivery, reviews and media ratios. */
.fulfillment-address {
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    padding-inline: 18px 48px;
}

.fulfillment-address::before {
    content: "";
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    border: 2px solid #8b5725;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background:
        radial-gradient(circle at 50% 50%, #8b5725 0 3px, transparent 3.5px),
        #fff8ec;
}

.sheet-modal--delivery-map {
    width: min(1180px, calc(100vw - 32px));
    max-height: min(820px, calc(100vh - 32px));
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    background: #fffaf2;
    box-shadow: 0 32px 90px rgba(29, 20, 13, 0.32);
}

.sheet-modal--delivery-map .sheet-modal__header {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(80, 54, 31, 0.1);
}

.delivery-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.72fr);
    height: min(600px, calc(100vh - 230px));
    min-height: 0;
}

.delivery-modal-map-panel {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: #efe4d0;
}

.delivery-modal-map-panel__intro {
    position: absolute;
    top: 18px;
    left: 72px;
    z-index: 600;
    max-width: min(420px, calc(100% - 36px));
    padding: 14px 16px;
    border: 1px solid rgba(80, 54, 31, 0.12);
    border-radius: 18px;
    background: rgba(255, 250, 242, 0.92);
    box-shadow: 0 16px 36px rgba(29, 20, 13, 0.12);
    backdrop-filter: blur(12px);
}

.delivery-modal-map-panel__intro h3,
.delivery-modal-map-panel__intro p {
    margin: 0;
}

.delivery-modal-map-panel__intro p {
    margin-top: 6px;
    color: var(--color-muted);
}

.delivery-map--modal {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
}

.delivery-map-status--floating {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 600;
    margin: 0;
    border: 1px solid rgba(80, 54, 31, 0.12);
    border-radius: 16px;
    background: rgba(255, 250, 242, 0.94);
    box-shadow: 0 16px 36px rgba(29, 20, 13, 0.12);
    backdrop-filter: blur(12px);
}

.delivery-modal-side {
    min-height: 0;
    overflow: auto;
    padding: 22px;
    background: linear-gradient(180deg, #fffaf2, #f8ead0);
}

.delivery-modal-service {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(80, 54, 31, 0.12);
}

.delivery-modal-service strong {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    line-height: 1;
}

.delivery-modal-service p {
    margin: 0;
    color: var(--color-muted);
}

.delivery-modal-addresses {
    display: grid;
    gap: 12px;
    padding-top: 18px;
}

.delivery-modal-addresses h3 {
    margin: 0;
}

.info-list--modal-addresses {
    gap: 0;
}

.info-list--modal-addresses .info-item {
    padding: 14px 0;
    border: 0;
    border-top: 1px solid rgba(80, 54, 31, 0.1);
    border-radius: 0;
    background: transparent;
}

.info-list--modal-addresses .info-item:first-child {
    border-top: 0;
}

.delivery-map-card {
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(43, 27, 13, 0.14);
}

.reviews-toolbar {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
}

.review-gate--inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.review-gate--inline p {
    margin: 0;
    color: var(--color-muted);
}

.sheet-modal--review {
    width: min(780px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    overflow: auto;
}

.sheet-modal--review .review-form-card {
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.review-card {
    overflow: hidden;
}

.review-card__photo {
    display: block;
    width: calc(100% + 48px);
    max-width: none;
    height: 210px;
    margin: -24px -24px 18px;
    object-fit: cover;
    background: #efe4d0;
}

.field__help {
    margin: 6px 0 0;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.promo-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 22px;
}

.promo-page-card,
.promo-page-card--button {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    background: #1d140d;
}

.promo-page-card__media {
    background: #1d140d;
}

.promo-page-card img {
    object-fit: cover;
}

.promo-page-card__body {
    padding: 90px 22px 20px;
}

.franchise-gallery,
.custom-design-story {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    width: 100%;
    max-width: 1180px;
    gap: 18px;
}

.franchise-gallery__item,
.custom-design-story__panel {
    padding: 12px;
    border-radius: 22px;
}

.franchise-gallery__item img,
.custom-design-story__panel img {
    width: 100%;
    height: min(58vh, 520px);
    max-height: 520px;
    object-fit: contain;
    border-radius: 16px;
}

@media (max-width: 900px) {
    .delivery-modal-layout {
        grid-template-columns: 1fr;
    }

    .delivery-modal-map-panel {
        min-height: 440px;
    }
}

@media (max-width: 640px) {
    .sheet-modal--delivery-map {
        width: min(100vw - 16px, 620px);
        border-radius: 20px;
    }

    .delivery-modal-map-panel {
        min-height: 380px;
    }

    .delivery-modal-map-panel__intro {
        right: 16px;
        left: 60px;
    }

    .delivery-modal-side {
        padding: 16px;
    }

    .reviews-toolbar,
    .review-gate--inline {
        justify-content: flex-start;
    }

    .franchise-gallery__item img,
    .custom-design-story__panel img {
        height: min(62vh, 460px);
    }
}

/* 2026-07-01: final follow-up polish for promo cards and delivery modal. */
.promo-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 24px;
}

.promo-page-card,
.promo-page-card--button {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    background: #1d140d;
}

.promo-page-card__media {
    display: grid;
    place-items: center;
    background: #1d140d;
}

.promo-page-card img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    transform: none;
}

.promo-page-card:hover img,
.promo-page-card:focus-visible img {
    transform: scale(1.015);
    filter: saturate(1.04);
}

.promo-page-card__body {
    padding: 72px 22px 20px;
    background: linear-gradient(180deg, rgba(29, 20, 13, 0), rgba(29, 20, 13, 0.74) 54%, rgba(29, 20, 13, 0.96));
}

.sheet-modal--delivery-map {
    position: relative;
    max-height: min(860px, calc(100vh - 24px));
}

.delivery-modal-close {
    appearance: none;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 900;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(255, 248, 236, 0.22);
    border-radius: 999px;
    background: rgba(29, 20, 13, 0.92);
    color: #fff8ec;
    box-shadow: 0 14px 34px rgba(29, 20, 13, 0.24);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.delivery-modal-close:hover,
.delivery-modal-close:focus-visible {
    background: #d7a643;
    color: #1d140d;
}

.delivery-modal-layout {
    height: min(720px, calc(100vh - 40px));
}

.delivery-modal-map-panel__intro {
    max-width: min(340px, calc(100% - 36px));
    padding: 10px 12px;
    border-radius: 14px;
}

.delivery-modal-map-panel__intro h3 {
    font-size: 1rem;
}

.delivery-modal-map-panel__intro p {
    margin-top: 4px;
    font-size: 0.84rem;
    line-height: 1.38;
}

@media (max-width: 900px) {
    .delivery-modal-layout {
        height: min(780px, calc(100vh - 32px));
    }
}

@media (max-width: 640px) {
    .delivery-modal-close {
        top: 10px;
        right: 10px;
        min-height: 36px;
        padding: 0 12px;
    }

    .delivery-modal-map-panel__intro {
        top: 54px;
        right: 12px;
        left: 54px;
    }
}

/* 2026-07-01: promo cards use the same clean banner asset as the home promo slider. */
.promo-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 30px;
    align-items: start;
}

.promo-page-card,
.promo-page-card--button {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
    text-align: left;
}

.promo-page-card::after,
.promo-page-card::before,
.promo-page-card--button::after,
.promo-page-card--button::before {
    display: none;
}

.promo-page-card__media {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    aspect-ratio: 1800 / 680;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background: transparent;
    box-shadow: 0 16px 38px rgba(36, 22, 11, 0.14);
}

.promo-page-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
    transform: none;
    filter: none;
}

.promo-page-card:hover,
.promo-page-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: none;
}

.promo-page-card:hover img,
.promo-page-card:focus-visible img {
    transform: none;
    filter: none;
}

.promo-page-card__body {
    position: static;
    inset: auto;
    display: block;
    padding: 12px 0 0;
    background: transparent;
    color: var(--ink);
    text-shadow: none;
}

.promo-page-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.25;
    text-shadow: none;
}

.promo-page-card__body p,
.promo-page-card__action,
.promo-page-card__action-placeholder {
    display: none;
}

.franchise-gallery,
.custom-design-story {
    grid-template-columns: 1fr;
    width: min(100%, 1040px);
    max-width: 1040px;
    margin-inline: auto;
    gap: 28px;
}

.franchise-gallery__item,
.custom-design-story__panel {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.franchise-gallery__item img,
.custom-design-story__panel img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(34, 21, 12, 0.14);
}

.franchise-gallery__caption,
.custom-design-story__caption {
    color: var(--ink-soft);
}

@media (max-width: 640px) {
    .promo-page-grid {
        gap: 22px;
    }

    .promo-page-card,
    .promo-page-card--button {
        min-height: 0;
        border-radius: 0;
    }

    .promo-page-card__media {
        border-radius: 14px;
    }

    .franchise-gallery,
    .custom-design-story {
        gap: 18px;
    }
}
/* 2026-07-01 owner batch refinements */
.page-sidebar--catalog .page-sidebar__panel {
    position: sticky;
    top: calc(var(--header-h, 96px) + 16px);
}

.page-sidebar__nav a span,
.page-sidebar__link {
    font-weight: 800;
}

.catalog-main--category {
    min-width: 0;
}

.product-card__variant-note {
    margin: 6px 0 0;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 700;
}

.product-card__group-options {
    margin-top: 10px;
}

.is-grouped-product-card .variant-select,
.is-enhanced-variant-card .variant-select,
.is-enhanced-variant-card .product-card__variant-wrap > label,
.is-grouped-product-card .product-card__variant-wrap > label {
    display: none;
}

.product-card__group-title {
    display: block;
    margin-bottom: 8px;
    color: rgba(31, 25, 20, 0.56);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-card__group-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 8px;
}

.product-card__group-option {
    display: flex;
    min-height: 58px;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    border: 1px solid rgba(31, 25, 20, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    cursor: pointer;
    padding: 9px 11px;
    text-align: left;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card__group-option:hover,
.product-card__group-option.is-active {
    border-color: rgba(184, 116, 51, 0.72);
    box-shadow: 0 10px 24px rgba(184, 116, 51, 0.13);
    transform: translateY(-1px);
}

.product-card__group-option strong {
    font-size: 0.9rem;
    font-weight: 900;
}

.product-card__group-option small {
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.is-grouped-product-variant {
    display: none !important;
}

.cart-adjustments {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(46, 112, 76, 0.08);
}

.cart-adjustments__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.cart-adjustments__row strong,
[data-checkout-discount] {
    color: #2e704c;
}

.checkout-geocode-row .secondary-button {
    width: 100%;
}

/* 2026-07-02: checkout should feel like a client flow, not a raw form. */
.checkout-modal {
    width: min(900px, calc(100vw - 28px));
    padding: 0;
    overflow: hidden auto;
    border: 1px solid rgba(91, 58, 35, 0.12);
    background: #fffaf3;
    box-shadow: 0 34px 92px rgba(31, 21, 13, 0.28);
}

.checkout-modal__header {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(91, 58, 35, 0.1);
    background:
        linear-gradient(135deg, rgba(215, 166, 67, 0.16), rgba(255, 250, 243, 0.94) 42%),
        #fffaf3;
}

.checkout-modal__header h2 {
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: 0;
}

.checkout-modal__header .ghost-button {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(91, 58, 35, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #3b2818;
    font-weight: 700;
}

.checkout-modal form {
    padding: 24px 28px 28px;
}

.checkout-modal .form-grid {
    margin-top: 0;
    gap: 14px 16px;
}

.checkout-modal .form-grid label {
    display: grid;
    gap: 8px;
    color: #3b2818;
    font-size: 14px;
    font-weight: 800;
}

.checkout-modal .form-grid input,
.checkout-modal .form-grid select,
.checkout-modal .form-grid textarea {
    min-height: 48px;
    border: 1px solid rgba(91, 58, 35, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.checkout-modal .form-grid textarea {
    min-height: 92px;
    resize: vertical;
}

.checkout-geocode-row .secondary-button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #3b2818;
    color: #fffaf3;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(59, 40, 24, 0.16);
}

.checkout-modal .delivery-map-card {
    gap: 10px;
}

.checkout-modal .delivery-map--checkout {
    min-height: 320px;
    border: 1px solid rgba(91, 58, 35, 0.13);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(43, 27, 13, 0.12);
}

.checkout-modal .delivery-map-status {
    border: 1px solid rgba(215, 166, 67, 0.2);
    background: rgba(255, 246, 225, 0.9);
}

.checkout-modal__summary {
    position: sticky;
    bottom: -28px;
    margin: 22px -28px -28px;
    padding: 18px 28px;
    border-top: 1px solid rgba(91, 58, 35, 0.1);
    background: rgba(255, 250, 243, 0.96);
    backdrop-filter: blur(14px);
}

.checkout-modal__summary .cart-total {
    min-width: 260px;
}

.checkout-modal__summary .cart-total p {
    margin: 0;
}

.checkout-modal__summary .primary-button {
    min-width: 220px;
    box-shadow: 0 18px 34px rgba(91, 58, 35, 0.22);
}

@media (max-width: 760px) {
    .checkout-modal {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .checkout-modal__header,
    .checkout-modal form {
        padding-right: 18px;
        padding-left: 18px;
    }

    .checkout-modal__summary {
        bottom: calc(-18px - env(safe-area-inset-bottom, 0px));
        margin-right: -18px;
        margin-left: -18px;
        padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    }

    .checkout-modal__summary .cart-total,
    .checkout-modal__summary .primary-button {
        min-width: 0;
        width: 100%;
    }
}

.password-reveal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 700;
}

.review-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.review-card__emoji {
    font-size: 1.4rem;
    line-height: 1;
}

.franchise-hero {
    align-items: stretch;
    padding: clamp(18px, 3vw, 34px);
}

.franchise-hero__copy p {
    font-size: 0.9em;
}

.franchise-card--page {
    min-height: auto;
    padding: clamp(18px, 2.4vw, 28px);
}

.franchise-lead-form {
    display: grid;
    gap: 14px;
}

.franchise-lead-form h2 {
    margin: 0 0 2px;
}

.franchise-lead-form label {
    display: grid;
    gap: 7px;
    color: rgba(255,255,255,0.78);
    font-size: 0.85rem;
    font-weight: 800;
}

.franchise-lead-form input {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.92);
    color: #2a1711;
}

.custom-design-hero {
    padding: clamp(18px, 3vw, 34px);
}

.custom-design-hero__copy h2 {
    font-size: clamp(2rem, 4vw, 4.2rem);
}

.custom-design-hero__meta .status-pill {
    background: #e6332a;
    border-color: #e6332a;
    color: #fff;
}

.custom-design-slider {
    position: relative;
    display: grid;
    align-items: center;
}

.custom-design-story--slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 0 10px;
    scrollbar-width: thin;
}

.custom-design-story--slider .custom-design-story__panel {
    flex: 0 0 min(76vw, 820px);
    scroll-snap-align: center;
}

.custom-design-story--slider .custom-design-story__panel img {
    max-height: min(64vh, 620px);
    object-fit: contain;
}

.slider-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 10px 28px rgba(55,35,23,0.16);
    color: #3a2118;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.slider-arrow--prev {
    left: 10px;
}

.slider-arrow--next {
    right: 10px;
}

button.promo-slide__media {
    border: 0;
    padding: 0;
    width: 100%;
    cursor: pointer;
    background: transparent;
}

.promo-detail__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.promo-detail__actions[hidden] {
    display: none;
}

.promo-detail__apply {
    min-height: 48px;
    padding-inline: 22px;
}

.promo-detail__code {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(46,112,76,0.1);
    color: #2e704c;
    font-weight: 800;
}

@media (max-width: 900px) {
    .page-sidebar--catalog .page-sidebar__panel {
        position: static;
    }

    .custom-design-story--slider .custom-design-story__panel {
        flex-basis: 88vw;
    }
}


/* 2026-07-02: address search and checkout summary fixes. */
.delivery-address-search {
    display: grid;
    gap: 8px;
    margin: 8px 0 12px;
}

.delivery-address-search label {
    color: #3b2818;
    font-size: 0.9rem;
    font-weight: 800;
}

.delivery-address-search__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.delivery-address-search input {
    min-height: 44px;
    border: 1px solid rgba(91, 58, 35, 0.14);
    border-radius: 10px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.92);
}

.delivery-address-search .secondary-button {
    min-height: 44px;
    white-space: nowrap;
}

.checkout-modal__summary {
    bottom: 0;
    display: flex;
    align-items: end;
    gap: 18px;
}

.checkout-modal__totals {
    flex: 1 1 auto;
    display: grid;
    gap: 10px;
    min-width: 0;
}

.checkout-modal__summary .form-errors:not(:empty) {
    padding: 10px 12px;
    border: 1px solid rgba(143, 53, 25, 0.18);
    border-radius: 10px;
    background: rgba(143, 53, 25, 0.08);
}

@media (max-width: 760px) {
    .delivery-address-search__row,
    .checkout-modal__summary {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }
}

/* 2026-07-02 follow-up: stable checkout footer, variant prices/photos, compact product actions. */
.checkout-modal {
    display: flex;
    flex-direction: column;
    max-height: min(92vh, 980px);
    overflow: hidden;
}

.checkout-modal form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden auto;
}

.checkout-modal .delivery-map--checkout {
    height: clamp(260px, 36vh, 360px);
    min-height: 260px;
}

.checkout-modal__summary {
    position: sticky;
    bottom: 0;
    z-index: 6;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
    align-items: end;
    gap: 16px;
    margin: 22px -28px -28px;
    padding: 16px 28px calc(16px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 250, 243, 0.98);
}

.checkout-modal__totals .cart-total p {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(110px, auto);
    gap: 12px;
    align-items: baseline;
}

.checkout-modal__totals .cart-total span {
    min-width: 0;
}

.checkout-modal__totals .cart-total strong {
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

.checkout-modal__summary .primary-button {
    width: 100%;
    min-width: 0;
    align-self: stretch;
}

.product-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(118px, 0.72fr);
    gap: 10px;
    align-items: stretch;
}

.product-card__actions .primary-button,
.product-card__actions .ghost-link {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
    white-space: normal;
}

.product-page__old-price {
    margin-top: -8px;
    color: rgba(31, 25, 20, 0.5);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: line-through;
}

.franchise-hero--catalog {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 20px;
    padding: 28px 30px;
    border: 1px solid rgba(23, 20, 17, 0.08);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(250, 240, 225, 0.98));
    box-shadow: 0 14px 34px rgba(33, 23, 15, 0.08);
}

.franchise-hero--catalog .franchise-hero__copy h2 {
    margin: 8px 0 12px;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.96;
}

.franchise-hero__meta {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(23, 20, 17, 0.08);
}

.franchise-hero__meta p {
    margin: 0;
    color: var(--ink-soft);
}

@media (max-width: 760px) {
    .checkout-modal {
        max-height: 100vh;
    }

    .checkout-modal form {
        padding-bottom: 0;
    }

    .checkout-modal__summary {
        grid-template-columns: 1fr;
        margin-right: -18px;
        margin-left: -18px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .checkout-modal__totals .cart-total p {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .checkout-modal__totals .cart-total strong {
        text-align: left;
    }

    .product-card__actions,
    .franchise-hero--catalog {
        grid-template-columns: 1fr;
    }
}



/* 2026-07-02 owner corrections: vertical product buttons, clean checkout footer, franchise parity. */
.product-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
}

.product-card__actions .primary-button,
.product-card__actions .ghost-link {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 11px 16px;
    border-radius: 12px;
    text-align: center;
}

.product-card__actions .ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkout-modal .delivery-map--checkout {
    position: relative;
    z-index: 1;
    height: clamp(220px, 30vh, 300px);
    min-height: 220px;
    box-shadow: 0 10px 26px rgba(43, 27, 13, 0.1);
}

.checkout-modal__summary {
    position: static;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(91, 58, 35, 0.1);
    border-radius: 16px;
    background: rgba(255, 250, 243, 0.98);
    box-shadow: none;
    backdrop-filter: none;
}

.checkout-modal__totals {
    width: min(100%, 520px);
    margin: 0 auto;
    gap: 6px;
}

.checkout-modal__summary .cart-total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: baseline;
    min-width: 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.25;
}

.checkout-modal__summary .cart-total strong {
    min-width: 0;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    text-align: right;
    overflow-wrap: anywhere;
}

.checkout-modal__summary .primary-button {
    justify-self: center;
    align-self: center;
    width: min(240px, 100%);
    min-height: 44px;
    padding: 12px 18px;
    font-size: 0.92rem;
    box-shadow: 0 12px 24px rgba(91, 58, 35, 0.18);
}

.checkout-modal__summary .form-errors:not(:empty) {
    width: min(100%, 520px);
    margin: 2px auto 0;
    font-size: 0.86rem;
}

.franchise-design-hero .franchise-lead-form label {
    color: var(--ink-soft);
}

.franchise-design-hero .franchise-lead-form input {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
}

.franchise-design-hero__meta .primary-button--full {
    width: 100%;
}

@media (max-width: 760px) {
    .checkout-modal__summary {
        margin-right: 0;
        margin-left: 0;
        padding-right: 14px;
        padding-left: 14px;
    }

    .checkout-modal__summary .cart-total {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}


/* 2026-07-03: clearer checkout recap and order success details. */
.checkout-modal__summary {
    gap: 14px;
    padding: 18px 18px;
}

.checkout-modal__recap {
    display: grid;
    width: min(100%, 620px);
    margin: 0 auto;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid rgba(91, 58, 35, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
}

.checkout-modal__recap-row,
.order-success__details p,
.order-success__items p,
.order-success__summary-row,
.order-success__discount-heading,
.order-success__discount-line,
.order-success__total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
    gap: 12px;
    align-items: baseline;
    margin: 0;
}

.checkout-modal__recap-row span,
.order-success__details span,
.order-success__items span,
.order-success__summary-row span,
.order-success__discount-heading span,
.order-success__discount-line span,
.order-success__total span {
    min-width: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.checkout-modal__recap-row strong,
.order-success__details strong,
.order-success__items strong,
.order-success__summary-row strong,
.order-success__discount-heading strong,
.order-success__discount-line strong,
.order-success__total strong {
    min-width: 0;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 850;
    text-align: right;
    overflow-wrap: anywhere;
}

.checkout-modal__summary .cart-total {
    font-size: 0.98rem;
}

.checkout-modal__summary .cart-total strong {
    font-size: 1.12rem;
}

.checkout-modal__summary .cart-total:last-of-type strong {
    font-size: 1.24rem;
}

.checkout-modal__summary .primary-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.order-success {
    display: grid;
    gap: 18px;
}

.order-success__details,
.order-success__items,
.order-success__summary {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(91, 58, 35, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.62);
}

.order-success__summary {
    gap: 8px;
}

.order-success__discounts {
    display: grid;
    gap: 8px;
    padding-top: 4px;
}

.order-success__discount-heading {
    padding-top: 6px;
}

.order-success__discount-heading strong,
.order-success__discount-line strong,
.order-success__summary-row--discount strong {
    color: #8f3f2d;
}

.order-success__discount-line {
    padding-left: 12px;
    border-left: 3px solid rgba(215, 166, 67, 0.42);
}

.order-success__discount-line small {
    display: block;
    margin-top: 3px;
    color: var(--ink-muted);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.35;
}

.order-success__total {
    padding: 16px;
    border-radius: 16px;
    background: rgba(215, 166, 67, 0.16);
}

.order-success__total strong {
    font-size: 1.28rem;
}

@media (max-width: 640px) {
    .checkout-modal__recap-row,
    .order-success__details p,
    .order-success__items p,
    .order-success__summary-row,
    .order-success__discount-heading,
    .order-success__discount-line,
    .order-success__total {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .checkout-modal__recap-row strong,
    .order-success__details strong,
    .order-success__items strong,
    .order-success__summary-row strong,
    .order-success__discount-heading strong,
    .order-success__discount-line strong,
    .order-success__total strong {
        text-align: left;
    }
}


/* 2026-07-16 owner remarks pass: menu tab, product badges, variants, search, mobile banners. */
body,
button,
input,
select,
textarea {
    font-family: var(--font-ui);
}

h1,
h2,
h3,
.product-card__topline h4,
.product-page__body h1 {
    font-family: var(--font-heading);
    letter-spacing: 0;
}

.header-menu {
    position: relative;
    flex: 0 0 auto;
    z-index: 36;
}

.header-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 224, 181, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff7ef;
    font-weight: 850;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.header-menu summary::-webkit-details-marker {
    display: none;
}

.header-menu summary::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.header-menu[open] summary {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.header-menu__panel {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    display: grid;
    width: min(340px, calc(100vw - 28px));
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 16px;
    background: rgba(255, 250, 244, 0.98);
    box-shadow: 0 24px 70px rgba(33, 23, 15, 0.2);
}

.header-menu__panel a {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--ink);
    font-weight: 850;
}

.header-menu__panel a:hover,
.header-menu__panel a:focus-visible {
    background: rgba(159, 85, 46, 0.1);
    outline: none;
}

.product-card__badge-stack {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
}

.product-card__badge-stack .badge {
    max-width: 100%;
    padding: 7px 10px;
    background: rgba(255, 250, 244, 0.94);
    box-shadow: 0 10px 24px rgba(33, 23, 15, 0.12);
    overflow-wrap: anywhere;
}

.product-card__variant-wrap:has(.variant-select option:only-child[value=""]) {
    display: none;
}

.product-card__group-buttons {
    grid-template-columns: 1fr;
}

.product-card__group-option {
    min-height: 50px;
    border-radius: 12px;
}

.product-card__group-option strong,
.product-card__group-option small {
    overflow-wrap: anywhere;
}

.promo-slide__media img,
.promo-page-card img {
    object-fit: contain;
    background: #fff;
}

@media (max-width: 1180px) {
    .header-menu {
        order: 2;
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        grid-template-columns: 1fr auto;
    }

    .header-menu {
        order: 3;
    }

    .header-menu__panel {
        left: auto;
        right: 0;
    }
}

@media (max-width: 720px) {
    .product-card__media {
        aspect-ratio: 1 / 0.82;
    }

    .promo-slide__media {
        aspect-ratio: 16 / 8.2;
    }

    .promo-carousel__viewport {
        background: #fff;
    }
}


.franchise-contact-phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink-soft);
    font-weight: 800;
}

.franchise-contact-phones a {
    color: var(--accent-deep);
}

/* 2026-07-22 fullfix: cart/search/address/catalog polish. */
.header-search {
    position: relative;
}

.header-search__suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 46px rgba(31, 25, 20, 0.16);
}

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

.header-search__suggestions button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    text-align: left;
}

.header-search__suggestions button:hover,
.header-search__suggestions button:focus-visible {
    background: rgba(159, 85, 46, 0.08);
    outline: none;
}

.header-search__suggestions span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.header-search__suggestions strong,
.header-search__suggestions small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-search__suggestions strong {
    font-size: 0.92rem;
    font-weight: 800;
}

.header-search__suggestions small,
.header-search__suggestions em {
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-style: normal;
}

.cart-promo {
    display: grid;
    gap: 7px;
    padding: 11px;
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
}

.cart-promo label {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--ink-soft);
    text-transform: uppercase;
}

.cart-promo__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.cart-promo input {
    min-width: 0;
    border: 1px solid rgba(31, 25, 20, 0.12);
    border-radius: 8px;
    padding: 10px 11px;
    background: #fff;
    color: var(--ink);
}

.cart-promo .secondary-button {
    min-height: 40px;
    border-radius: 8px;
    padding: 0 12px;
}

.cart-promo__status {
    margin: 0;
    color: #2e704c;
    font-size: 0.84rem;
    font-weight: 700;
}

.cart-promo__status.is-error {
    color: #8f3519;
}

.cart-recommendations {
    display: grid;
    gap: 9px;
}

.cart-recommendations h3 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 900;
}

.cart-recommendations__grid {
    display: grid;
    gap: 8px;
}

.cart-recommendation {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 9px;
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    text-align: left;
}

.cart-recommendation img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
}

.cart-recommendation span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.cart-recommendation strong,
.cart-recommendation small,
.cart-recommendation em {
    overflow-wrap: anywhere;
}

.cart-recommendation strong {
    font-size: 0.9rem;
    font-weight: 900;
}

.cart-recommendation small,
.cart-recommendation em {
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-style: normal;
}

.delivery-hero h1:empty,
.delivery-hero p:empty,
.product-card__meta,
.product-page__detail-meta,
.product-card__variant-note,
.product-card__group-title,
.product-card__group-option small {
    display: none !important;
}

.category-section__head h3,
.section-heading h1 {
    font-weight: 900;
}

.product-card {
    border-radius: 8px;
}

.product-card__media {
    aspect-ratio: 5 / 3.6;
}

.product-card__media img {
    padding: 10px;
}

.product-card__body {
    gap: 8px;
    padding: 13px;
}

.product-card__topline h4 {
    font-size: 1.12rem;
    line-height: 1.24;
    font-weight: 900;
}

.product-card__body > p {
    font-size: 0.86rem;
    line-height: 1.42;
    -webkit-line-clamp: 2;
}

.product-card__pricing strong {
    font-size: 1.14rem;
}

.product-card__group-options {
    margin-top: 6px;
}

.product-card__group-buttons {
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 6px;
}

.product-card__group-option {
    min-height: 38px;
    align-items: center;
    border-radius: 8px;
    padding: 7px 8px;
    text-align: center;
}

.product-card__group-option strong {
    font-size: 0.86rem;
}

.checkout-modal {
    width: min(760px, calc(100vw - 24px));
}

.promo-panel--hero,
.promo-carousel__viewport {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.promo-carousel__viewport {
    border-radius: 0 !important;
}

.promo-slide {
    background: transparent !important;
}

.promo-slide__media {
    aspect-ratio: 16 / 5.1;
    max-height: 300px;
}

.promo-slide__media img,
.promo-page-card img {
    object-fit: cover;
    background: transparent;
}

.page-sidebar__quicklinks .page-sidebar__link,
.page-sidebar__quicklinks a,
.page-sidebar__nav a {
    font-size: 0.92rem;
    font-weight: 800;
}

@media (max-width: 900px) {
    .page-sidebar__panel {
        gap: 10px;
    }

    .page-sidebar__quicklinks,
    .page-sidebar__nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .page-sidebar__quicklinks .page-sidebar__link,
    .page-sidebar__quicklinks a,
    .page-sidebar__nav a {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 0.88rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .promo-slide__media {
        aspect-ratio: 16 / 7;
        max-height: 220px;
    }
}

@media (max-width: 620px) {
    .cart-promo__row {
        grid-template-columns: 1fr;
    }

    .cart-recommendation {
        grid-template-columns: 48px 1fr;
    }

    .cart-recommendation img {
        width: 48px;
        height: 48px;
    }

    .product-card__topline h4 {
        font-size: 1.04rem;
    }
}

.product-card__topline,
.product-card__topline h4 {
    min-width: 0;
}

.product-card__topline h4 {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}



/* 2026-07-22: owner QA fixes for search suggestions, cart recommendations, banners, and mobile sidebar. */
.header-search {
    position: relative;
}

.header-search__suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 120;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(78, 55, 34, 0.14);
    border-radius: 10px;
    background: #fffdfa;
    box-shadow: 0 18px 44px rgba(31, 25, 20, 0.18);
}

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

.header-search__suggestions button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.header-search__suggestions button:hover,
.header-search__suggestions button:focus-visible {
    background: #f4eadc;
    outline: none;
}

.header-search__suggestions span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.header-search__suggestions strong {
    overflow-wrap: anywhere;
    font-size: 0.9rem;
    font-weight: 900;
}

.header-search__suggestions small,
.header-search__suggestions em {
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 700;
}

.cart-recommendations {
    gap: 7px;
    padding: 10px;
    border: 1px dashed rgba(98, 72, 46, 0.22);
    border-radius: 8px;
    background: #fbf6ee;
}

.cart-recommendations h3 {
    color: #5c4025;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cart-recommendations__grid {
    gap: 6px;
}

.cart-recommendation {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 46px;
    padding: 6px;
    border: 1px solid rgba(31, 25, 20, 0.08);
    border-radius: 7px;
    background: #fffdfa;
    box-shadow: none;
}

.cart-recommendation img {
    width: 38px;
    height: 38px;
    border-radius: 6px;
}

.cart-recommendation strong {
    font-size: 0.78rem;
    font-weight: 800;
}

.cart-recommendation small,
.cart-recommendation em {
    font-size: 0.72rem;
}

.cart-recommendation__add {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(31, 25, 20, 0.12);
    border-radius: 7px;
    background: #1f1914;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.promo-carousel__viewport {
    border-radius: 14px !important;
    overflow: hidden !important;
}

.promo-slide,
.promo-slide__media,
.promo-slide__media img,
.promo-slide__body {
    border-radius: 0 !important;
}

.promo-slide__media img {
    border: 0 !important;
}

@media (max-width: 900px) {
    .home-layout,
    .catalog-shell,
    .catalog-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .page-sidebar {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        inset: auto !important;
        z-index: auto;
    }

    .page-sidebar__panel {
        width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 10px 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .page-sidebar__sticky-head {
        gap: 10px !important;
        padding-bottom: 8px !important;
    }

    .page-sidebar__quicklinks,
    .page-sidebar__nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 0 2px 8px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .page-sidebar__quicklinks .page-sidebar__link,
    .page-sidebar__quicklinks a,
    .page-sidebar__nav a {
        flex: 0 0 auto !important;
        width: auto !important;
        min-height: 38px !important;
        padding: 9px 12px !important;
        border: 1px solid rgba(31, 25, 20, 0.12) !important;
        border-radius: 999px !important;
        background: #fffdfa !important;
        color: var(--ink) !important;
        font-size: 0.92rem !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    .page-sidebar__nav a.is-active,
    .page-sidebar__nav a:hover,
    .page-sidebar__quicklinks .page-sidebar__link:hover,
    .page-sidebar__quicklinks a:hover {
        background: #1f1914 !important;
        color: #fff !important;
    }

    .delivery-address-search {
        gap: 6px !important;
        margin: 8px 0 !important;
    }

    .delivery-address-search__row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 42px !important;
        gap: 8px !important;
        align-items: stretch !important;
    }

    .delivery-address-search input {
        min-width: 0 !important;
        height: 42px !important;
        padding: 0 10px !important;
        font-size: 0.92rem !important;
        text-overflow: ellipsis;
    }

    .delivery-address-search .secondary-button {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        overflow: hidden !important;
        color: transparent !important;
        font-size: 0 !important;
        position: relative;
    }

    .delivery-address-search .secondary-button::before {
        content: "⌖";
        color: var(--ink);
        font-size: 1rem;
        font-weight: 900;
    }

    .header-search__suggestions {
        position: fixed;
        top: calc(var(--header-h, 82px) + 8px);
        left: 12px;
        right: 12px;
        max-height: 55vh;
        overflow-y: auto;
    }
}

@media (max-width: 620px) {
    .cart-recommendation {
        grid-template-columns: 34px minmax(0, 1fr) auto;
    }

    .cart-recommendation img {
        width: 34px;
        height: 34px;
    }

    .cart-recommendation__add {
        min-width: 34px;
        padding: 0 8px;
    }
}


/* 2026-07-22: stronger visual separation for cart recommendations. */
.cart-recommendation__badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 2px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(117, 93, 66, 0.1);
    color: #755d42;
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    line-height: 1;
    text-transform: uppercase;
}

.cart-recommendation span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.cart-recommendation strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-recommendation em {
    color: #755d42;
    font-weight: 900;
}


/* 2026-07-23: owner QA hard fixes for banners, checkout promo, mobile header/menu, and product titles. */
.promo-panel--hero {
    width: 100%;
    max-width: 920px;
    padding: 0 !important;
}

.promo-carousel {
    margin-top: 0 !important;
}

.promo-carousel__viewport {
    width: 100% !important;
    aspect-ratio: 1800 / 680 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.promo-carousel__track,
.promo-slide,
.promo-slide__media {
    width: 100% !important;
    height: 100% !important;
}

.promo-slide {
    position: relative !important;
    flex: 0 0 100% !important;
    min-width: 100% !important;
    display: block !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    background: transparent !important;
}

.promo-slide__media {
    display: block !important;
    aspect-ratio: auto !important;
    max-height: none !important;
    border-radius: 0 !important;
}

.promo-slide__media img {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.promo-slide__body {
    display: none !important;
}

.cart-drawer__footer .cart-promo {
    display: none !important;
}

.checkout-promo-field .cart-promo {
    padding: 12px;
    border-radius: 8px;
    background: #fffdfa;
}

.cart-recommendations {
    padding: 8px !important;
}

.cart-recommendations h3 {
    font-size: 0.74rem !important;
}

.cart-recommendations__grid {
    gap: 0 !important;
}

.cart-recommendations__grid .cart-recommendation:nth-child(n+2) {
    display: none !important;
}

.cart-recommendation {
    min-height: 42px !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    padding: 5px !important;
}

.cart-recommendation img {
    width: 34px !important;
    height: 34px !important;
}

.product-card__topline h4 {
    font-size: 1.22rem !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
}

@media (max-width: 900px) {
    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 8px 10px !important;
    }

    .brand-mark {
        order: 1 !important;
        grid-column: 1 / 2 !important;
    }

    .site-header__actions {
        order: 1 !important;
        grid-column: 2 / 3 !important;
        justify-self: end !important;
    }

    .site-header__utility {
        order: 2 !important;
        grid-column: 1 / -1 !important;
        display: flex !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    .header-search {
        order: 3 !important;
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
    }

    .header-menu {
        order: 4 !important;
        grid-column: 1 / -1 !important;
        justify-self: stretch !important;
        width: 100% !important;
    }

    .header-menu summary {
        width: 100% !important;
        min-height: 40px !important;
        border-radius: 8px !important;
    }

    .header-menu__panel {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: calc(var(--header-h, 120px) + 8px) !important;
        width: auto !important;
        max-height: min(62vh, 520px) !important;
        z-index: 140 !important;
    }

    .product-card__topline h4 {
        font-size: 1.18rem !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 620px) {
    .promo-panel--hero {
        max-width: none;
    }

    .product-card__topline h4 {
        font-size: 1.15rem !important;
    }
}

/* 2026-07-23: keep every promo slide exactly inside the hero viewport during carousel movement. */
.promo-carousel__track {
    gap: 0 !important;
    align-items: stretch !important;
}

.promo-slide,
.promo-slide.is-active {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    transition: none !important;
    overflow: hidden !important;
}

.promo-slide__media img {
    object-position: center center !important;
}



/* 2026-07-24: modern unified font, product detail modal, admin notifications, and dismissible recommendations. */
button.ghost-link {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

button.product-card__media {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
    font: inherit;
    text-align: inherit;
}

.product-card__detail-source,
.has-single-variant-card .product-card__variant-wrap {
    display: none !important;
}

.account-menu__counter,
.account-menu__badge {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #d92d20;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}

.account-menu__counter {
    margin-left: 2px;
}

.account-menu__badge {
    margin-left: auto;
}

.account-menu__item--notifications {
    position: relative;
}

.sheet-modal--notifications,
.sheet-modal--product {
    width: min(760px, calc(100% - 24px));
}

.admin-notifications,
.admin-notifications__list,
.product-detail-modal {
    display: grid;
    gap: 14px;
}

.admin-notifications__summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(217, 45, 32, 0.08);
    color: #7a271a;
}

.admin-notifications__summary strong {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #d92d20;
    color: #fff;
}

.admin-notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 8px;
    background: #fffdfa;
}

.admin-notification div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-notification span,
.admin-notification small,
.admin-notification p {
    margin: 0;
    color: var(--ink-soft);
}

.admin-notification strong {
    overflow-wrap: anywhere;
}

.secondary-button--small {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    white-space: nowrap;
}

.admin-notifications__empty {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(31, 25, 20, 0.08);
    border-radius: 8px;
    background: #fffdfa;
}

.admin-notifications__empty p {
    margin: 0;
    color: var(--ink-soft);
}

.admin-notifications__all {
    width: fit-content;
}

.product-detail-modal__image {
    width: 100%;
    max-height: min(48vh, 420px);
    object-fit: contain;
    border-radius: 8px;
    background: #fffdfa;
}

.product-detail-modal__section {
    display: grid;
    gap: 10px;
}

.product-detail-modal__section h3 {
    margin: 0;
    font-family: var(--font-ui);
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-detail-modal__section p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.65;
}

.product-detail-modal__variants {
    display: grid;
    gap: 8px;
}

.product-detail-modal__variant {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(31, 25, 20, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.product-detail-modal__variant span {
    color: var(--ink-soft);
    overflow-wrap: anywhere;
}

.product-detail-modal__variant strong {
    white-space: nowrap;
}

.cart-recommendation {
    position: relative;
    padding-right: 34px;
}

.cart-recommendation__dismiss {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(31, 25, 20, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.cart-recommendation__dismiss:hover,
.cart-recommendation__dismiss:focus-visible {
    background: rgba(217, 45, 32, 0.1);
    color: #9b2c1f;
    outline: none;
}

@media (max-width: 640px) {
    .admin-notification {
        align-items: stretch;
        flex-direction: column;
    }

    .secondary-button--small {
        width: 100%;
    }
}


/* 2026-07-24: account/cart/card polish after visual QA. */
@media (min-width: 901px) {
    .site-header__inner {
        display: grid !important;
        grid-template-columns: auto auto minmax(260px, 470px) auto auto !important;
        align-items: center !important;
        justify-content: stretch !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        min-height: 0 !important;
        padding: 8px 0 !important;
    }

    .brand-mark {
        grid-column: 1 !important;
        margin-right: 0 !important;
    }

    .brand-mark__logo {
        width: 170px !important;
    }

    .header-menu {
        grid-column: 2 !important;
        order: 0 !important;
    }

    .header-search {
        grid-column: 3 !important;
        order: 0 !important;
        width: 100% !important;
        max-width: 470px !important;
        min-width: 240px !important;
        flex: none !important;
    }

    .site-header__utility {
        grid-column: 4 !important;
        order: 0 !important;
        justify-self: end !important;
        flex-wrap: nowrap !important;
    }

    .site-header__actions {
        grid-column: 5 !important;
        order: 0 !important;
        justify-self: end !important;
        width: auto !important;
        flex: none !important;
        flex-wrap: nowrap !important;
    }
}

.header-link--account {
    position: relative;
    max-width: 126px;
    min-width: 0;
    padding: 0 12px;
    gap: 6px;
}

.header-link--account > span {
    min-width: 0;
    max-width: 76px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-link--account .account-menu__counter {
    position: absolute;
    top: -6px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid rgba(5, 6, 6, 0.96);
    font-size: 0.62rem;
    line-height: 1;
}

.product-card__topline h4 {
    font-size: 1rem !important;
    line-height: 1.24 !important;
    font-weight: 800 !important;
}

.cart-recommendation {
    grid-template-columns: 34px minmax(0, 1fr) auto 30px !important;
    gap: 7px !important;
    align-items: center !important;
    padding: 6px !important;
    padding-right: 6px !important;
}

.cart-recommendation__add {
    grid-column: 3 !important;
}

.cart-recommendation__dismiss {
    position: static !important;
    grid-column: 4 !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 7px !important;
    background: #f4eadc !important;
    color: #5c4025 !important;
    font-size: 0 !important;
    flex: 0 0 30px !important;
}

.cart-recommendation__dismiss::before {
    content: "×";
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
}

.cart-recommendation__dismiss:hover,
.cart-recommendation__dismiss:focus-visible {
    background: rgba(217, 45, 32, 0.12) !important;
    color: #9b2c1f !important;
}

@media (max-width: 900px) {
    .site-header__inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    .header-link--account {
        max-width: 116px;
    }

    .header-link--account > span {
        max-width: 66px;
    }
}

@media (max-width: 620px) {
    .product-card__topline h4 {
        font-size: 0.96rem !important;
        line-height: 1.22 !important;
    }

    .cart-recommendation {
        grid-template-columns: 34px minmax(0, 1fr) auto 28px !important;
    }

    .cart-recommendation__dismiss {
        width: 28px !important;
        height: 28px !important;
        flex-basis: 28px !important;
    }
}


/* 2026-07-27 franchise landing and on-site questionnaire. */
.franchise-page {
    background:
        linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(248, 238, 224, 0.86)),
        var(--cream);
}

.franchise-landing {
    display: grid;
    gap: clamp(28px, 4vw, 56px);
    padding-bottom: clamp(38px, 6vw, 78px);
}

.franchise-page__edit {
    justify-self: start;
}

.franchise-landing__hero,
.franchise-section,
.franchise-application {
    min-width: 0;
}

.franchise-landing__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(24px, 4vw, 54px);
    align-items: stretch;
}

.franchise-landing__hero-copy {
    display: grid;
    align-content: center;
    gap: 22px;
    min-width: 0;
}

.franchise-landing__hero h1,
.franchise-section__head h2,
.franchise-application h2 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--ink);
    line-height: 0.96;
    letter-spacing: 0;
}

.franchise-landing__hero h1 {
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 4.8vw, 4.9rem);
    font-weight: 650;
    line-height: 1.04;
}

.franchise-landing__lead,
.franchise-landing__note,
.franchise-section__head p,
.franchise-feature p,
.franchise-format p,
.franchise-format li,
.franchise-fee p,
.franchise-finance p,
.franchise-cases p,
.franchise-application p,
.franchise-questionnaire small {
    color: var(--ink-soft);
    line-height: 1.68;
}

.franchise-landing__lead {
    max-width: 680px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.franchise-landing__note {
    max-width: 640px;
    margin: 0;
    font-size: 0.92rem;
}

.franchise-landing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.franchise-landing__visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 58px rgba(43, 27, 13, 0.12);
}

.franchise-landing__visual > img,
.franchise-landing__visual > picture > img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.franchise-landing__visual-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: rgba(31, 25, 20, 0.76);
    color: #fff;
    backdrop-filter: blur(12px);
}

.franchise-landing__visual-caption strong {
    font-size: 1rem;
}

.franchise-landing__visual-caption span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.86rem;
}

.franchise-stats,
.franchise-feature-grid,
.franchise-format-grid,
.franchise-support-grid,
.franchise-finance__grid,
.franchise-cases {
    display: grid;
    gap: 12px;
}

.franchise-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.franchise-stats > div,
.franchise-feature,
.franchise-format,
.franchise-fee,
.franchise-finance,
.franchise-cases article {
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 36px rgba(43, 27, 13, 0.07);
}

.franchise-stats > div {
    display: grid;
    gap: 8px;
    min-height: 132px;
    align-content: start;
    padding: 20px;
}

.franchise-stats strong,
.franchise-fee__options strong,
.franchise-finance__grid strong {
    color: var(--ink);
    font-family: var(--font-heading);
    line-height: 1;
}

.franchise-stats strong {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.franchise-stats span,
.franchise-fee__options span,
.franchise-finance__grid span,
.franchise-cases small {
    color: var(--ink-soft);
    line-height: 1.35;
    font-size: 0.88rem;
    font-weight: 700;
}

.franchise-section {
    display: grid;
    gap: 24px;
}

.franchise-section__head {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: end;
}

.franchise-section__head .eyebrow {
    grid-column: 1;
}

.franchise-section__head h2 {
    grid-column: 1;
    font-size: clamp(2.2rem, 4.8vw, 4.6rem);
}

.franchise-section__head p {
    grid-column: 2;
    margin: 0;
    max-width: 720px;
}

.franchise-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.franchise-feature,
.franchise-format,
.franchise-fee,
.franchise-finance,
.franchise-cases article {
    padding: clamp(18px, 2.4vw, 28px);
}

.franchise-feature span,
.franchise-support-grid span,
.franchise-timeline span {
    color: var(--accent-deep);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.franchise-feature h3,
.franchise-format h3,
.franchise-fee h3,
.franchise-finance h3,
.franchise-support-grid h3,
.franchise-timeline h3,
.franchise-cases h3 {
    margin: 10px 0 10px;
    color: var(--ink);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.14;
}

.franchise-format-grid,
.franchise-economics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.franchise-format ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.franchise-format li {
    position: relative;
    padding-left: 24px;
}

.franchise-format li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
}

.franchise-band {
    display: grid;
    gap: 26px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 12px;
    background: #21150f;
    color: #fff;
}

.franchise-section__head--dark h2,
.franchise-band .eyebrow,
.franchise-band h3 {
    color: #fff;
}

.franchise-section__head--dark p,
.franchise-band p {
    color: rgba(255, 255, 255, 0.66);
}

.franchise-support-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.franchise-support-grid article,
.franchise-timeline article,
.franchise-faq details {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.franchise-support-grid article {
    min-height: 190px;
    padding: 18px;
}

.franchise-support-grid span,
.franchise-timeline span {
    color: #e7bd72;
}

.franchise-fee__options,
.franchise-finance__grid {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.franchise-fee__options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.franchise-fee__options div,
.franchise-finance__grid div {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(31, 25, 20, 0.08);
    border-radius: 8px;
    background: #fffaf3;
}

.franchise-fee__options strong {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.franchise-finance__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.franchise-finance__grid strong {
    font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

.franchise-roadmap,
.franchise-faq,
.franchise-application {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(22px, 4vw, 48px);
    align-items: start;
}

.franchise-timeline {
    display: grid;
    gap: 10px;
}

.franchise-timeline article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
}

.franchise-timeline h3,
.franchise-timeline p {
    margin: 0;
}

.franchise-cases {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.franchise-cases article {
    display: grid;
    gap: 8px;
    align-content: start;
}

.franchise-cases article > span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #fff4e1;
    color: var(--accent-deep);
    font-weight: 900;
}

.franchise-cases h3,
.franchise-cases p {
    margin: 0;
}

.franchise-faq__list {
    display: grid;
    gap: 10px;
}

.franchise-faq details {
    padding: 0 18px;
}

.franchise-faq summary {
    display: flex;
    align-items: center;
    min-height: 64px;
    cursor: pointer;
    color: #fff;
    font-weight: 850;
}

.franchise-faq details p {
    margin: 0;
    padding-bottom: 18px;
}

.franchise-application {
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 58px rgba(43, 27, 13, 0.1);
}

.franchise-application h2 {
    margin: 10px 0 14px;
    font-size: clamp(2rem, 4.5vw, 4rem);
}

.franchise-application__phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
}

.franchise-application__phones span,
.franchise-application__phones a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 999px;
    background: #fffaf3;
    color: var(--ink);
    font-weight: 850;
}

.franchise-application__phones span {
    color: var(--ink-soft);
}

.franchise-questionnaire {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.franchise-questionnaire label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 850;
}

.franchise-questionnaire__field--wide,
.franchise-questionnaire__submit {
    grid-column: 1 / -1;
}

.franchise-questionnaire__control {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    box-sizing: border-box;
    border: 1px solid rgba(31, 25, 20, 0.14);
    border-radius: 8px;
    background: #fffaf3;
    color: var(--ink);
    padding: 11px 12px;
    font: inherit;
}

.franchise-questionnaire textarea.franchise-questionnaire__control {
    min-height: 112px;
    resize: vertical;
}

.franchise-questionnaire__control:focus {
    outline: none;
    border-color: rgba(159, 85, 46, 0.62);
    box-shadow: 0 0 0 3px rgba(159, 85, 46, 0.12);
}

.franchise-questionnaire small {
    font-size: 0.78rem;
    font-weight: 650;
}

@media (max-width: 1080px) {
    .franchise-landing__hero,
    .franchise-section__head,
    .franchise-roadmap,
    .franchise-faq,
    .franchise-application {
        grid-template-columns: 1fr;
    }

    .franchise-section__head .eyebrow,
    .franchise-section__head h2,
    .franchise-section__head p {
        grid-column: auto;
    }

    .franchise-stats,
    .franchise-support-grid,
    .franchise-cases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .franchise-support-grid article:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .franchise-landing__hero h1 {
        font-size: clamp(2rem, 10vw, 3.1rem);
    }

    .franchise-landing__visual,
    .franchise-landing__visual img {
        min-height: 360px;
    }

    .franchise-feature-grid,
    .franchise-format-grid,
    .franchise-economics,
    .franchise-fee__options,
    .franchise-finance__grid,
    .franchise-questionnaire {
        grid-template-columns: 1fr;
    }

    .franchise-stats,
    .franchise-cases {
        grid-template-columns: 1fr;
    }

    .franchise-band,
    .franchise-application {
        padding: 18px;
    }
}

/* 2026-07-27 franchise roadmap/FAQ layout repair. */
.franchise-timeline article {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-auto-rows: auto;
    column-gap: 16px;
    row-gap: 6px;
    align-items: start;
}

.franchise-timeline article > span {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: rgba(231, 189, 114, 0.16);
    line-height: 1;
}

.franchise-timeline article > h3,
.franchise-timeline article > p {
    grid-column: 2;
    min-width: 0;
}

.franchise-timeline article > h3 {
    grid-row: 1;
}

.franchise-timeline article > p {
    grid-row: 2;
}

.franchise-faq details {
    overflow: hidden;
}

.franchise-faq summary {
    justify-content: space-between;
}

.franchise-faq summary::-webkit-details-marker {
    display: none;
}

.franchise-faq summary::after {
    content: "+";
    flex: 0 0 28px;
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(231, 189, 114, 0.16);
    color: #e7bd72;
    font-size: 1.1rem;
    line-height: 1;
}

.franchise-faq details[open] summary::after {
    content: "-";
}

.franchise-faq details:not([open]) > p {
    display: none;
}

.franchise-faq details[open] > p {
    display: block;
}

/* 2026-07-27 franchise roadmap mobile repair. */
@media (max-width: 760px) {
    .franchise-timeline article {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .franchise-timeline article > span,
    .franchise-timeline article > h3,
    .franchise-timeline article > p {
        grid-column: 1;
    }

    .franchise-timeline article > span {
        grid-row: 1;
    }

    .franchise-timeline article > h3 {
        grid-row: 2;
    }

    .franchise-timeline article > p {
        grid-row: 3;
    }
}

/* 2026-07-27 franchise design and copy polish. */
.franchise-landing__hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.92fr);
    align-items: center;
}

.franchise-landing__hero h1 {
    font-size: clamp(2.8rem, 5.2vw, 4.9rem);
    line-height: 1;
}

.franchise-landing__visual {
    display: grid;
    min-height: 520px;
    padding: clamp(18px, 2.6vw, 26px);
    background: linear-gradient(180deg, #ffffff 0%, #fff7eb 100%);
}

.franchise-visual-card {
    display: grid;
    min-height: 100%;
    gap: clamp(18px, 2.4vw, 28px);
    align-content: stretch;
    color: var(--ink);
}

.franchise-visual-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.franchise-landing__visual .franchise-visual-card__logo {
    display: block;
    min-height: 0;
    height: auto;
    object-fit: contain;
}

.franchise-landing__visual .franchise-visual-card__logo {
    width: 86px;
}

.franchise-visual-card__phone {
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.franchise-visual-card__product-wrap {
    display: grid;
    min-height: 170px;
    place-items: center;
    border-block: 1px solid rgba(31, 25, 20, 0.08);
}

.franchise-landing__visual .franchise-visual-card__product {
    width: min(66%, 300px);
    max-height: 250px;
    filter: drop-shadow(0 22px 28px rgba(55, 35, 20, 0.16));
}

.franchise-visual-card__headline {
    display: grid;
    gap: 6px;
}

.franchise-visual-card__headline span {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.franchise-visual-card__headline strong {
    max-width: 520px;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.franchise-visual-card__statement {
    display: grid;
    align-content: center;
    gap: 14px;
    min-height: 250px;
    padding: clamp(18px, 2.6vw, 30px) 0;
    border-block: 1px solid rgba(31, 25, 20, 0.08);
}

.franchise-visual-card__statement span {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.franchise-visual-card__statement strong {
    max-width: 560px;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: clamp(4.2rem, 8vw, 7.4rem);
    line-height: 0.88;
    letter-spacing: 0;
}

.franchise-visual-card__statement p {
    max-width: 520px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.04rem;
    font-weight: 750;
    line-height: 1.55;
}

.franchise-visual-card__footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.franchise-visual-card__footer div {
    display: grid;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(31, 25, 20, 0.12);
}

.franchise-visual-card__footer span {
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.franchise-visual-card__footer strong {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.2;
}

@media (max-width: 760px) {
    .franchise-landing__hero {
        grid-template-columns: 1fr;
    }

    .franchise-landing__hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.45rem);
    }

    .franchise-landing__visual {
        min-height: 420px;
    }

    .franchise-visual-card__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .franchise-visual-card__phone {
        white-space: normal;
    }

    .franchise-visual-card__statement {
        min-height: 210px;
    }

    .franchise-visual-card__statement strong {
        font-size: clamp(3.6rem, 18vw, 5.8rem);
    }

    .franchise-visual-card__footer {
        grid-template-columns: 1fr;
    }
}

/* 2026-07-27 franchise tone fix after visual review. */
.franchise-visual-card__phone,
.franchise-visual-card__statement strong {
    color: var(--ink);
}

.franchise-visual-card__statement span {
    color: var(--accent-deep);
}

.franchise-visual-card__footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.franchise-visual-card__footer strong {
    color: var(--ink);
    font-size: 0.96rem;
}

.franchise-section__head h2 {
    font-size: clamp(1.85rem, 3vw, 2.9rem);
    line-height: 1.08;
}

.franchise-band .franchise-section__head h2 {
    font-size: clamp(1.7rem, 2.5vw, 2.35rem);
    line-height: 1.12;
}

.franchise-section__head p {
    font-size: 0.98rem;
    line-height: 1.58;
}

.franchise-roadmap .franchise-section__head,
.franchise-faq .franchise-section__head {
    grid-template-columns: 1fr;
    gap: 12px;
}

.franchise-roadmap .franchise-section__head .eyebrow,
.franchise-roadmap .franchise-section__head h2,
.franchise-roadmap .franchise-section__head p,
.franchise-faq .franchise-section__head .eyebrow,
.franchise-faq .franchise-section__head h2,
.franchise-faq .franchise-section__head p {
    grid-column: 1;
    max-width: 100%;
}

@media (max-width: 760px) {
    .franchise-section__head h2,
    .franchise-band .franchise-section__head h2 {
        font-size: clamp(1.55rem, 7vw, 2.15rem);
        line-height: 1.14;
    }

    .franchise-visual-card__footer {
        grid-template-columns: 1fr;
    }
}

/* 2026-07-27 franchise final typography/case correction. */
.brand-mark__caption,
.brand-mark__caption strong {
    text-transform: none;
}

.franchise-page .eyebrow,
.franchise-visual-card__statement span {
    text-transform: none;
    letter-spacing: 0.04em;
}

.franchise-section__head h2 {
    font-size: clamp(1.65rem, 2.2vw, 2.25rem);
    line-height: 1.14;
}

.franchise-band .franchise-section__head h2 {
    font-size: clamp(1.55rem, 2vw, 2rem);
    line-height: 1.16;
}

/* 2026-08-11: premium storefront polish for sidebar, franchise hero, and richer motion. */
@keyframes hani-soft-glow {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -10px, 0) scale(1.05);
    }
}

@keyframes hani-logo-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.franchise-landing__visual {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius-xl) + 6px);
    background:
        radial-gradient(circle at top left, rgba(212, 163, 84, 0.24), transparent 30%),
        radial-gradient(circle at bottom right, rgba(159, 85, 46, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fff5e8 100%);
    box-shadow: 0 34px 84px rgba(67, 39, 21, 0.14);
}

.franchise-landing__visual::before,
.franchise-landing__visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(20px);
    animation: hani-soft-glow 8s ease-in-out infinite;
}

.franchise-landing__visual::before {
    top: -14%;
    left: -10%;
    width: 220px;
    aspect-ratio: 1;
    background: rgba(212, 163, 84, 0.2);
}

.franchise-landing__visual::after {
    right: -12%;
    bottom: -20%;
    width: 240px;
    aspect-ratio: 1;
    background: rgba(159, 85, 46, 0.1);
    animation-duration: 10s;
    animation-direction: reverse;
}

.franchise-visual-card {
    position: relative;
    z-index: 1;
}

.franchise-visual-card__top {
    justify-content: flex-end;
}

.franchise-visual-card__phone {
    position: relative;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 34px rgba(55, 35, 20, 0.08);
}

.franchise-visual-card__statement {
    gap: 18px;
    padding: clamp(22px, 3vw, 34px) 0;
}

.franchise-visual-card__brand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.franchise-visual-card__statement-logo {
    display: block;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100%;
    max-height: 83px;
    object-fit: contain !important;
}

.franchise-visual-card__statement p {
    max-width: 33rem;
    font-size: 1.08rem;
    line-height: 1.65;
}

.js-reveal .franchise-page .reveal,
.js-reveal .home-shell .reveal {
    transition-duration: 0.82s;
}

.js-reveal .home-main > .reveal:nth-of-type(2),
.js-reveal .franchise-page .reveal:nth-of-type(2) {
    transition-delay: 0.05s;
}

.js-reveal .home-main > .reveal:nth-of-type(3),
.js-reveal .franchise-page .reveal:nth-of-type(3) {
    transition-delay: 0.1s;
}

.js-reveal .home-main > .reveal:nth-of-type(4),
.js-reveal .franchise-page .reveal:nth-of-type(4) {
    transition-delay: 0.15s;
}

@media (max-width: 760px) {
    .franchise-landing__visual::before {
        width: 160px;
    }

    .franchise-landing__visual::after {
        width: 170px;
    }

    .franchise-visual-card__top {
        justify-content: flex-start;
    }

    .franchise-visual-card__statement-logo {
        max-height: 69px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .franchise-landing__visual::before,
    .franchise-landing__visual::after,
    .franchise-visual-card__statement-logo {
        animation: none;
    }

    .js-reveal .franchise-page .reveal,
    .js-reveal .home-shell .reveal {
        transition: none;
    }
}

.franchise-application h2 {
    font-size: clamp(1.75rem, 2.6vw, 2.6rem);
    line-height: 1.12;
}

@media (max-width: 760px) {
    .franchise-section__head h2,
    .franchise-band .franchise-section__head h2,
    .franchise-application h2 {
        font-size: clamp(1.45rem, 6vw, 1.95rem);
        line-height: 1.16;
    }
}

/* 2026-07-27 franchise application modal. */
.franchise-landing__actions .primary-button {
    border: 0;
    cursor: pointer;
}

.franchise-application {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    align-items: center;
}

.franchise-application__form-shell {
    display: grid;
    gap: 12px;
    padding: clamp(18px, 2.6vw, 28px);
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 8px;
    background: #fffaf3;
}

.franchise-application__form-shell strong {
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 900;
}

.franchise-application__form-shell p {
    margin: 0;
}

.sheet-modal--franchise {
    width: min(760px, calc(100% - 20px));
}

.sheet-modal--franchise .sheet-modal__header {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(31, 25, 20, 0.1);
}

.sheet-modal--franchise .sheet-modal__header h2 {
    margin: 6px 0 0;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.franchise-questionnaire--modal {
    grid-template-columns: 1fr;
    gap: 12px;
}

.franchise-questionnaire--modal label {
    gap: 6px;
}

.franchise-questionnaire--modal .franchise-questionnaire__field--wide,
.franchise-questionnaire--modal .franchise-questionnaire__submit {
    grid-column: 1;
}

.franchise-questionnaire--modal textarea.franchise-questionnaire__control {
    min-height: 92px;
}

.franchise-questionnaire--modal small {
    margin-top: -1px;
}

@media (max-width: 1080px) {
    .franchise-application {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .sheet-modal--franchise .sheet-modal__header {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fffdfa;
    }

    .franchise-application__form-shell {
        padding: 16px;
    }
}

/* 2026-07-28: staff storefront product sorting. */
.catalog-sort-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid rgba(33, 29, 24, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 30px rgba(33, 23, 15, 0.08);
}

.catalog-sort-panel__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.catalog-sort-panel__copy strong {
    color: #211d18;
    font-size: 0.98rem;
}

.catalog-sort-panel__copy span {
    color: rgba(33, 29, 24, 0.62);
    font-size: 0.88rem;
    line-height: 1.35;
}

.catalog-sort-panel__copy span.is-error {
    color: #b42318;
    font-weight: 800;
}

.catalog-sort-panel__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.catalog-sort-panel__actions .primary-button,
.catalog-sort-panel__actions .secondary-button,
.catalog-sort-panel__actions .ghost-button {
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 10px;
    white-space: nowrap;
}

.catalog-sort-mode [data-product-sort-list] {
    padding: 8px;
    margin: -8px;
    border: 1px dashed rgba(191, 141, 55, 0.42);
    border-radius: 14px;
    background: rgba(255, 250, 243, 0.55);
}

.catalog-sort-mode .product-card.is-catalog-sort-card {
    cursor: grab;
    user-select: none;
    touch-action: none;
    outline: 2px solid rgba(191, 141, 55, 0.34);
    outline-offset: 2px;
    transition: opacity 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.catalog-sort-mode .product-card.is-catalog-sort-card:hover,
.catalog-sort-mode .product-card.is-catalog-sort-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(33, 23, 15, 0.16);
}

.catalog-sort-mode .product-card.is-catalog-sort-card:active {
    cursor: grabbing;
}

.catalog-sort-mode .product-card.is-dragging {
    opacity: 0.42;
    transform: scale(0.98);
}

.catalog-sort-mode .product-card.is-catalog-sort-card button,
.catalog-sort-mode .product-card.is-catalog-sort-card a,
.catalog-sort-mode .product-card.is-catalog-sort-card select {
    pointer-events: none;
}

.catalog-sort-panel.is-saving {
    opacity: 0.82;
}

@media (max-width: 760px) {
    .catalog-sort-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-sort-panel__actions {
        justify-content: stretch;
    }

    .catalog-sort-panel__actions .primary-button,
    .catalog-sort-panel__actions .secondary-button,
    .catalog-sort-panel__actions .ghost-button {
        flex: 1 1 120px;
    }
}


/* 2026-07-28 phone auth UI */
.auth-shell--compact {
    min-height: min(760px, calc(100vh - 170px));
    align-items: center;
    padding: 34px 0 78px;
}

.auth-card--register,
.auth-card--login,
.auth-card--verify {
    width: min(560px, calc(100% - 24px));
    padding: clamp(22px, 4vw, 34px);
    border-radius: 8px;
}

.auth-card__head {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.auth-card__head h1 {
    font-family: var(--font-body);
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.auth-card__head p:not(.eyebrow) {
    margin: 0;
    max-width: 46ch;
    color: var(--ink-soft);
    line-height: 1.55;
}

.auth-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.auth-form--single,
.auth-field--full,
.auth-alert,
.auth-checkbox,
.auth-password-toggle,
.auth-form .primary-button {
    grid-column: 1 / -1;
}

.auth-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.auth-field label {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
}

.auth-input,
.auth-card .auth-input,
.auth-card select.auth-input {
    min-height: 52px;
    border-radius: 8px;
    border: 1px solid rgba(31, 25, 20, 0.12);
    background: rgba(255, 255, 255, 0.94);
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.auth-input:focus,
.auth-card select.auth-input:focus {
    border-color: rgba(166, 111, 45, 0.72);
    box-shadow: 0 0 0 4px rgba(215, 174, 103, 0.2);
    outline: none;
}

.auth-field.has-error .auth-input,
.auth-field.has-error select.auth-input {
    border-color: rgba(143, 53, 25, 0.72);
}

.auth-error {
    color: #8f3519;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
}

.auth-alert {
    padding: 13px 14px;
    border-radius: 8px;
    background: rgba(143, 53, 25, 0.1);
    color: #7c2f18;
    font-weight: 750;
    line-height: 1.45;
}

.auth-alert ul,
.auth-alert li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-checkbox__input,
.auth-card .auth-checkbox__input,
.password-reveal input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    accent-color: var(--accent);
}

.auth-password-toggle {
    margin: -2px 0 2px;
}

.auth-card__foot {
    margin: 20px 0 0;
    text-align: center;
    color: var(--ink-soft);
}

.auth-card__foot a,
.auth-resend-form .text-button {
    color: var(--accent-deep);
    font-weight: 850;
}

.auth-code-field .auth-input {
    text-align: center;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.auth-resend-form {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

@media (max-width: 640px) {
    .auth-shell--compact {
        min-height: auto;
        padding-top: 18px;
    }

    .auth-card--register,
    .auth-card--login,
    .auth-card--verify {
        width: min(100% - 18px, 560px);
        padding: 20px;
    }

    .auth-form {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Partner portal */
.partner-shell {
    min-height: 100vh;
    background: #f6f2ec;
    color: #211c18;
}

.partner-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(38, 30, 23, 0.1);
    background: rgba(255, 252, 247, 0.96);
    backdrop-filter: blur(16px);
}

.partner-topbar__inner {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.partner-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.partner-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.partner-brand strong,
.partner-brand span {
    display: block;
}

.partner-brand strong {
    font-size: 1.05rem;
    font-weight: 900;
}

.partner-brand span {
    color: rgba(33, 28, 24, 0.64);
    font-size: 0.86rem;
    font-weight: 760;
}

.partner-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.partner-nav a,
.partner-nav button {
    min-height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(38, 30, 23, 0.14);
    background: #fff;
    color: #211c18;
    padding: 0 14px;
    font: inherit;
    font-weight: 820;
    text-decoration: none;
    cursor: pointer;
}

.partner-nav a {
    display: inline-flex;
    align-items: center;
}

.partner-layout {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.partner-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    margin-bottom: 22px;
}

.partner-hero h1 {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.partner-hero p {
    margin: 8px 0 0;
    color: rgba(33, 28, 24, 0.66);
    font-weight: 700;
}

.partner-summary {
    display: grid;
    gap: 6px;
    min-width: 220px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(38, 30, 23, 0.12);
    background: #fff;
}

.partner-summary span {
    color: rgba(33, 28, 24, 0.62);
    font-size: 0.82rem;
    font-weight: 820;
    text-transform: uppercase;
}

.partner-summary strong {
    font-size: 1.55rem;
    font-weight: 940;
}

.partner-order-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 16px;
    align-items: start;
}

.partner-menu {
    display: grid;
    gap: 14px;
}

.partner-menu-tools {
    position: sticky;
    top: 76px;
    z-index: 11;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    padding: 10px 0 6px;
    background: #f6f2ec;
}

.partner-search {
    display: grid;
    gap: 6px;
}

.partner-search span {
    color: rgba(33, 28, 24, 0.62);
    font-size: 0.78rem;
    font-weight: 880;
    text-transform: uppercase;
}

.partner-search input {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(38, 30, 23, 0.14);
    background: #fff;
    padding: 0 13px;
    font: inherit;
    font-weight: 760;
}

.partner-search-clear {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(38, 30, 23, 0.14);
    background: #fff;
    color: #211c18;
    padding: 0 13px;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.partner-category-tabs {
    position: sticky;
    top: 140px;
    z-index: 10;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    background: #f6f2ec;
}

.partner-category-tabs a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 8px;
    border: 1px solid rgba(38, 30, 23, 0.12);
    background: #fff;
    color: #211c18;
    text-decoration: none;
    font-weight: 850;
}

.partner-category {
    border-radius: 8px;
    border: 1px solid rgba(38, 30, 23, 0.1);
    background: #fff;
    overflow: hidden;
}

.partner-category__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(38, 30, 23, 0.08);
    background: #fbfaf7;
}

.partner-category__head h2 {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    letter-spacing: 0;
}

.partner-category__head span {
    color: rgba(33, 28, 24, 0.58);
    font-weight: 820;
}

.partner-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(208px, 1fr));
    gap: 1px;
    background: rgba(38, 30, 23, 0.08);
}

.partner-card {
    display: grid;
    grid-template-rows: 142px minmax(130px, auto) auto;
    min-width: 0;
    background: #fff;
}

.partner-card.is-in-cart {
    outline: 2px solid rgba(44, 107, 79, 0.32);
    outline-offset: -2px;
}

.partner-card__media {
    display: grid;
    place-items: center;
    background: #eee7dc;
    overflow: hidden;
}

.partner-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-card__media span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #7d502f;
    font-size: 2rem;
    font-weight: 920;
}

.partner-card__body {
    display: grid;
    align-content: start;
    gap: 7px;
    padding: 11px 12px;
}

.partner-card__title h3 {
    margin: 0;
    min-height: 36px;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.partner-card__title span,
.partner-card__body p {
    display: block;
    color: rgba(33, 28, 24, 0.58);
    font-size: 0.86rem;
    font-weight: 720;
}

.partner-card__body p {
    margin: 0;
    min-height: 0;
    line-height: 1.28;
}

.partner-card__prices {
    display: grid;
    gap: 3px;
}

.partner-card__prices strong {
    font-size: 1.18rem;
    font-weight: 940;
}

.partner-card__prices em {
    color: #2c6b4f;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 850;
}

.partner-card__actions {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 7px;
    padding: 0 12px 12px;
}

.partner-table {
    width: 100%;
    border-collapse: collapse;
}

.partner-table th,
.partner-table td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(38, 30, 23, 0.08);
    text-align: left;
    vertical-align: middle;
}

.partner-table th {
    color: rgba(33, 28, 24, 0.58);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.partner-product {
    min-width: 240px;
}

.partner-product strong {
    display: block;
    font-weight: 900;
}

.partner-product span {
    display: block;
    color: rgba(33, 28, 24, 0.58);
    font-size: 0.86rem;
}

.partner-price {
    white-space: nowrap;
    font-weight: 900;
}

.partner-price--base {
    color: rgba(33, 28, 24, 0.48);
    text-decoration: line-through;
}

.partner-discount {
    color: #2c6b4f;
    font-weight: 880;
    white-space: nowrap;
}

.partner-qty {
    display: grid;
    grid-template-columns: 30px 50px 30px;
    width: 110px;
    border: 1px solid rgba(38, 30, 23, 0.14);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.partner-qty button,
.partner-qty input {
    min-height: 40px;
    border: 0;
    background: #fff;
    text-align: center;
    font: inherit;
    font-weight: 900;
}

.partner-qty button {
    cursor: pointer;
    background: #f3eee6;
}

.partner-add-button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: #7d502f;
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
}

.partner-panel {
    position: sticky;
    top: 96px;
    align-self: start;
    display: grid;
    gap: 10px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid rgba(38, 30, 23, 0.1);
    background: #fff;
    padding: 18px;
}

.partner-panel h2 {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 0;
}

.partner-address-box {
    display: grid;
    gap: 5px;
    padding: 12px;
    border-radius: 8px;
    background: #f7f2ea;
}

.partner-address-box.is-warning {
    background: #fff2e5;
    color: #8a421a;
}

.partner-address-box span {
    color: rgba(33, 28, 24, 0.58);
    font-size: 0.78rem;
    font-weight: 880;
    text-transform: uppercase;
}

.partner-address-box strong {
    line-height: 1.3;
}

.partner-address-box small {
    color: rgba(33, 28, 24, 0.66);
    font-weight: 720;
}

.partner-cart-lines {
    display: grid;
    gap: 4px;
    max-height: 190px;
    overflow-y: auto;
    padding-right: 4px;
}

.partner-cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px max-content;
    align-items: center;
    gap: 6px;
    padding: 7px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(38, 30, 23, 0.08);
}

.partner-cart-line__control {
    display: grid;
    grid-template-columns: 24px 34px 24px;
    border: 1px solid rgba(38, 30, 23, 0.14);
    border-radius: 8px;
    overflow: hidden;
}

.partner-cart-line__control button,
.partner-cart-line__control input {
    min-height: 34px;
    border: 0;
    background: #fff;
    text-align: center;
    font: inherit;
    font-weight: 900;
}

.partner-cart-line__control button {
    cursor: pointer;
    background: #f3eee6;
}

.partner-cart-line span,
.partner-cart-line strong,
.partner-cart-line small {
    display: block;
}

.partner-cart-line small,
.partner-empty-cart {
    color: rgba(33, 28, 24, 0.56);
    font-size: 0.82rem;
    font-weight: 720;
}

.partner-cart-line em {
    flex: 0 0 auto;
    color: #211c18;
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 900;
}

.partner-field {
    display: grid;
    gap: 7px;
}

.partner-field label {
    font-size: 0.84rem;
    font-weight: 880;
    color: rgba(33, 28, 24, 0.68);
}

.partner-field input,
.partner-field textarea,
.partner-input {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(38, 30, 23, 0.14);
    background: #fff;
    padding: 10px;
    font: inherit;
}

.partner-field textarea {
    min-height: 76px;
    max-height: 110px;
    line-height: 1.32;
    resize: vertical;
}

.partner-total-list {
    display: grid;
    gap: 7px;
    padding: 11px;
    border: 1px solid rgba(38, 30, 23, 0.1);
    border-radius: 8px;
    background: #fbfaf7;
}

.partner-total-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.partner-total-list span {
    color: rgba(33, 28, 24, 0.62);
    font-weight: 780;
}

.partner-total-list strong {
    font-weight: 930;
}

.partner-total-list__primary {
    margin-bottom: 2px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(38, 30, 23, 0.08);
}

.partner-total-list__primary span {
    color: #211c18;
}

.partner-total-list__primary strong {
    font-size: 1.16rem;
}

.partner-form-warning,
.partner-no-results {
    margin: 0;
    padding: 12px;
    border-radius: 8px;
    background: #fff2e5;
    color: #8a421a;
    font-weight: 820;
    line-height: 1.35;
}

.partner-submit {
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    background: #211c18;
    color: #fff;
    font: inherit;
    font-weight: 920;
    cursor: pointer;
}

.partner-submit:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

/* Compact partner cabinet adjustments: keep this scoped to the B2B portal. */
.partner-search input,
.partner-search-clear {
    min-height: 40px;
}

.partner-card__media span {
    font-size: 1.55rem;
}

.partner-card__title h3,
.partner-card__body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.partner-card__title h3 {
    -webkit-line-clamp: 2;
}

.partner-card__title span,
.partner-card__body p {
    font-size: 0.78rem;
}

.partner-card__body p {
    -webkit-line-clamp: 2;
}

.partner-card__prices strong {
    font-size: 1.04rem;
}

.partner-card__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.partner-qty {
    grid-template-columns: 28px minmax(30px, 1fr) 28px;
    width: 100%;
}

.partner-qty button,
.partner-qty input,
.partner-add-button {
    min-height: 34px;
}

.partner-add-button {
    padding: 0 8px;
    font-size: 0.82rem;
}

.partner-panel {
    padding: 16px;
}

.partner-panel h2 {
    font-size: 1rem;
}

.partner-address-box {
    padding: 10px;
}

.partner-cart-line__control button,
.partner-cart-line__control input {
    min-height: 28px;
}

.partner-cart-line small,
.partner-empty-cart {
    font-size: 0.76rem;
}

.partner-field {
    gap: 5px;
}

.partner-field label {
    font-size: 0.78rem;
}

.partner-empty {
    padding: 32px;
    border-radius: 8px;
    border: 1px dashed rgba(38, 30, 23, 0.22);
    background: rgba(255, 255, 255, 0.62);
    color: rgba(33, 28, 24, 0.68);
    font-weight: 760;
}

.partner-orders {
    border-radius: 8px;
    border: 1px solid rgba(38, 30, 23, 0.1);
    background: #fff;
    overflow: hidden;
}

@media (max-width: 980px) {
    .partner-hero {
        grid-template-columns: 1fr;
    }

    .partner-order-form {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 330px);
    }

    .partner-table {
        min-width: 760px;
    }

    .partner-orders {
        overflow-x: auto;
    }
}

@media (max-width: 820px) {
    .partner-order-form {
        grid-template-columns: 1fr;
    }

    .partner-panel {
        order: -1;
        position: static;
        max-height: none;
    }

    .partner-menu-tools,
    .partner-category-tabs {
        position: static;
    }

    .partner-cart-line {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .partner-cart-line em {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .partner-topbar__inner,
    .partner-layout {
        width: min(100% - 20px, 1320px);
    }

    .partner-topbar__inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0;
    }

    .partner-nav {
        justify-content: flex-start;
    }

    .partner-product-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        grid-template-rows: 158px auto auto;
    }
}

.hani-delivery-marker {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: #111;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    transform: rotate(-45deg);
}

.hani-delivery-marker span {
    transform: rotate(45deg);
    font-size: 0.72rem;
    font-weight: 800;
}

.hani-delivery-marker--partner {
    background: #d7a643;
    color: #111;
}


/* 2026-07-30: product-detail cursor and stable delivery map markers. */
button.product-card__media,
.product-card__media[data-product-detail-open] {
    cursor: pointer !important;
}

.product-detail-modal .product-detail-modal__image[data-image-lightbox-open],
.product-detail-modal [data-image-lightbox-open] {
    cursor: zoom-in !important;
}

.hani-delivery-marker {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.hani-delivery-marker .hani-delivery-marker__pin {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: #111;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    transform: rotate(-45deg);
}

.hani-delivery-marker .hani-delivery-marker__letter {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    transform: rotate(45deg);
}

.hani-delivery-marker--partner .hani-delivery-marker__pin {
    background: #d7a643;
    color: #111;
}


/* 2026-08-06 owner remarks implementation: franchise content, footer apps, product modal variants, recommendations. */
.primary-button--large {
    min-height: 56px;
    padding: 0 28px;
    border-radius: 10px;
    font-size: 1rem;
}

.franchise-cta-main {
    min-width: 176px;
    font-weight: 900;
}

.franchise-benefit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.franchise-benefit-list li {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font-weight: 800;
    font-size: 0.86rem;
}

.franchise-feature-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.franchise-company-story,
.franchise-interiors,
.franchise-partners {
    scroll-margin-top: 110px;
}

.franchise-founders {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 14px;
}

.franchise-founder-card,
.franchise-interior-card {
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 36px rgba(43, 27, 13, 0.07);
}

.franchise-founder-card {
    display: grid;
    gap: 10px;
    min-height: 180px;
    align-content: end;
    padding: clamp(18px, 2.4vw, 28px);
}

.franchise-founder-card--placeholder {
    background:
        linear-gradient(135deg, rgba(215, 166, 67, 0.16), rgba(154, 85, 46, 0.08)),
        #fffaf3;
}

.franchise-founder-card span {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(154, 85, 46, 0.1);
    color: var(--accent-deep);
    font-size: 0.78rem;
    font-weight: 900;
}

.franchise-founder-card h3,
.franchise-founder-card p,
.franchise-interior-card figcaption {
    margin: 0;
}

.franchise-interior-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.franchise-interior-card {
    overflow: hidden;
    margin: 0;
}

.franchise-interior-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #fffaf3;
}

.franchise-interior-card figcaption {
    padding: 12px 14px;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 800;
}

.franchise-partner-map {
    display: grid;
    gap: 12px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 36px rgba(43, 27, 13, 0.07);
}

.franchise-delivery-map {
    min-height: clamp(360px, 44vw, 560px);
    border-radius: 8px;
}

.franchise-partner-map .delivery-map-status {
    margin-top: 0;
}

.site-footer__contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
}

.site-footer__links a {
    min-height: 36px;
    padding: 9px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.site-footer__links a:last-child {
    grid-column: 1 / -1;
}

.product-detail-modal__variants {
    gap: 10px;
}

.product-detail-modal__variant {
    width: 100%;
    border: 1px solid rgba(31, 25, 20, 0.12);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.product-detail-modal__variant small {
    margin-left: auto;
    color: var(--accent-deep);
    font-weight: 900;
    white-space: nowrap;
}

.product-detail-modal__variant:hover,
.product-detail-modal__variant:focus-visible,
.product-detail-modal__variant.is-active {
    border-color: rgba(154, 85, 46, 0.42);
    background: #fffaf3;
    outline: none;
}

.product-detail-modal__variant:hover,
.product-detail-modal__variant:focus-visible {
    transform: translateY(-1px);
}

.cart-recommendations {
    padding: 10px !important;
}

.cart-recommendations__grid {
    gap: 8px !important;
}

.cart-recommendations__grid .cart-recommendation:nth-child(n+2) {
    display: grid !important;
}

.cart-recommendation {
    min-height: 48px !important;
}

@media (max-width: 1080px) {
    .franchise-feature-grid--five,
    .franchise-interior-gallery,
    .franchise-founders {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .franchise-benefit-list li,
    .site-footer__links a {
        font-size: 0.78rem;
    }

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

    .site-footer__links a:last-child {
        grid-column: auto;
    }
}



/* 2026-08-14 partner module polish */
.auth-form--single .auth-card__foot--inline {
    width: 100%;
    margin: 0 0 10px;
    text-align: left;
}

.auth-form--single .auth-card__foot--inline a {
    display: inline-flex;
    align-items: center;
}

.partner-brand img {
    width: 104px;
    height: 44px;
    object-fit: contain;
}

.partner-card__media--placeholder {
    background: #f5efe7;
}

.partner-card__media .partner-card__placeholder-logo {
    width: min(72%, 112px);
    height: auto;
    max-height: 62px;
    padding: 0;
    object-fit: contain;
    opacity: 0.82;
}

.partner-card__actions {
    align-items: stretch;
}

.partner-qty,
.partner-add-button {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    box-sizing: border-box;
}

.partner-qty button,
.partner-qty input {
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    line-height: 1;
}

.partner-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.partner-orders-filter {
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) repeat(2, minmax(150px, 0.8fr)) auto auto;
    gap: 10px;
    align-items: end;
    margin: 0 0 14px;
}

.partner-orders-filter label {
    display: grid;
    gap: 6px;
}

.partner-orders-filter span {
    color: rgba(33, 28, 24, 0.62);
    font-size: 0.78rem;
    font-weight: 880;
    text-transform: uppercase;
}

.partner-orders-filter input {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(38, 30, 23, 0.14);
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
    font: inherit;
    font-weight: 760;
}

.partner-orders-filter button,
.partner-orders-filter a {
    min-height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(38, 30, 23, 0.14);
    background: #fff;
    color: #211c18;
    padding: 0 14px;
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.partner-orders-filter button {
    background: #7d502f;
    color: #fff;
    border-color: #7d502f;
}

.partner-table--interactive .partner-order-row {
    cursor: pointer;
}

.partner-table--interactive .partner-order-row:hover,
.partner-table--interactive .partner-order-row:focus {
    background: #fbfaf7;
    outline: 2px solid rgba(125, 80, 47, 0.18);
    outline-offset: -2px;
}

.has-partner-order-modal {
    overflow: hidden;
}

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

.partner-order-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.partner-order-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 18, 15, 0.48);
}

.partner-order-modal__panel {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(720px, calc(100vh - 40px));
    overflow: auto;
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 22px 70px rgba(22, 18, 15, 0.26);
}

.partner-order-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(38, 30, 23, 0.14);
    border-radius: 50%;
    background: #fff;
    color: #211c18;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
}

.partner-order-modal__head {
    margin: 0 48px 18px 0;
}

.partner-order-modal__head span,
.partner-order-modal__head p {
    color: rgba(33, 28, 24, 0.62);
    font-weight: 800;
}

.partner-order-modal__head h2 {
    margin: 4px 0;
    font-family: var(--font-body);
    font-size: 1.8rem;
    letter-spacing: 0;
}

.partner-order-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.partner-order-facts div {
    padding: 10px 12px;
    border: 1px solid rgba(38, 30, 23, 0.1);
    border-radius: 8px;
    background: #fbfaf7;
}

.partner-order-facts dt {
    color: rgba(33, 28, 24, 0.56);
    font-size: 0.76rem;
    font-weight: 880;
    text-transform: uppercase;
}

.partner-order-facts dd {
    margin: 4px 0 0;
    font-weight: 860;
}

.partner-order-comment {
    margin: 0 0 16px;
    color: rgba(33, 28, 24, 0.72);
    font-weight: 720;
}

.partner-table--modal {
    min-width: 640px;
}

.partner-order-modal__detail {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 16px;
    padding: 0 14px;
    border-radius: 8px;
    background: #7d502f;
    color: #fff;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 820px) {
    .partner-brand img {
        width: 88px;
        height: 38px;
    }

    .partner-orders-filter {
        grid-template-columns: 1fr;
    }

    .partner-order-modal {
        padding: 0;
        align-items: stretch;
    }

    .partner-order-modal__panel {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}


/* 2026-08-14 login forgot-link alignment */
.auth-form--single .auth-card__foot--inline {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
}

.auth-form--single .auth-card__foot--inline a {
    justify-self: start;
    width: auto;
}


/* Partner cabinet polish: product images fit like the client catalog, cart has explicit removal controls. */
.partner-category {
    box-shadow: 0 12px 32px rgba(36, 28, 20, 0.06);
}

.partner-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
    gap: 10px;
    padding: 10px;
    background: transparent;
}

.partner-card {
    grid-template-rows: auto minmax(118px, auto) auto;
    overflow: hidden;
    border: 1px solid rgba(38, 30, 23, 0.08);
    border-radius: 8px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.partner-card:hover,
.partner-card:focus-within {
    transform: translateY(-1px);
    border-color: rgba(44, 107, 79, 0.22);
    box-shadow: 0 12px 26px rgba(36, 28, 20, 0.08);
}

.partner-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #fffaf3;
}

.partner-card__media img {
    width: 100%;
    height: 100%;
    padding: 12px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.2s ease;
}

.partner-card:hover .partner-card__media img,
.partner-card:focus-within .partner-card__media img {
    transform: scale(1.015);
}

.partner-card__media--placeholder img,
.partner-card__media .partner-card__placeholder-logo {
    padding: 0;
}

.partner-card__body {
    min-height: 118px;
}

.partner-card__actions {
    padding: 0 11px 11px;
}

.partner-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.partner-cart-clear {
    min-height: 30px;
    border: 1px solid rgba(38, 30, 23, 0.14);
    border-radius: 8px;
    background: #fff;
    color: rgba(33, 28, 24, 0.78);
    padding: 0 10px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 880;
    cursor: pointer;
}

.partner-cart-clear:hover:not(:disabled),
.partner-cart-clear:focus-visible:not(:disabled) {
    border-color: rgba(44, 107, 79, 0.34);
    color: #2c6b4f;
}

.partner-cart-clear:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.partner-cart-line {
    grid-template-columns: minmax(0, 1fr) 84px max-content 28px;
    gap: 7px;
    padding: 8px 0;
}

.partner-cart-line__name {
    min-width: 0;
}

.partner-cart-line__remove {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(138, 66, 26, 0.2);
    border-radius: 8px;
    background: #fff7ef;
    color: #8a421a;
    font: inherit;
    font-size: 1rem;
    font-weight: 920;
    line-height: 1;
    cursor: pointer;
}

.partner-cart-line__remove:hover,
.partner-cart-line__remove:focus-visible {
    border-color: rgba(138, 66, 26, 0.42);
    background: #fff0df;
}

@media (max-width: 640px) {
    .partner-product-grid {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .partner-card {
        grid-template-rows: auto auto auto;
    }

    .partner-cart-line {
        grid-template-columns: minmax(0, 1fr) 28px;
    }

    .partner-cart-line__control,
    .partner-cart-line em {
        grid-column: 1 / -1;
    }

    .partner-cart-line__remove {
        grid-column: 2;
        grid-row: 1;
    }
}


/* 2026-08-18 partner mobile cabinet fixes */
.partner-menu-sticky {
    position: sticky;
    top: 76px;
    z-index: 14;
    display: grid;
    gap: 0;
    background: #f6f2ec;
}

.partner-menu-sticky .partner-menu-tools,
.partner-menu-sticky .partner-category-tabs {
    position: relative;
    top: auto;
    z-index: auto;
}

.partner-panel__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}

.partner-cart-fab,
.partner-cart-backdrop,
.partner-cart-close,
.partner-scroll-top {
    display: none;
}

@media (max-width: 820px) {
    .partner-shell {
        --partner-mobile-stick-top: 122px;
    }

    .partner-topbar {
        z-index: 60;
    }

    .partner-nav {
        gap: 6px;
    }

    .partner-nav a,
    .partner-nav button {
        min-height: 36px;
        padding: 0 10px;
        font-size: 0.84rem;
    }

    .partner-order-form {
        padding-bottom: 94px;
    }

    .partner-menu-sticky {
        position: sticky;
        top: var(--partner-mobile-stick-top);
        z-index: 46;
        margin: 0 -10px;
        padding: 8px 10px 6px;
        border-bottom: 1px solid rgba(38, 30, 23, 0.1);
        background: rgba(246, 242, 236, 0.98);
        box-shadow: 0 12px 24px rgba(36, 28, 20, 0.08);
        backdrop-filter: blur(14px);
    }

    .partner-menu-sticky .partner-menu-tools,
    .partner-menu-sticky .partner-category-tabs {
        position: relative;
        top: auto;
        z-index: auto;
    }

    .partner-menu-tools {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        padding: 0 0 8px;
        background: transparent;
    }

    .partner-search input,
    .partner-search-clear {
        min-height: 38px;
    }

    .partner-search span {
        font-size: 0.72rem;
    }

    .partner-search-clear {
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .partner-category-tabs {
        gap: 7px;
        padding: 0 0 4px;
        background: transparent;
        scrollbar-width: thin;
    }

    .partner-category-tabs a {
        min-height: 34px;
        padding: 0 11px;
        font-size: 0.84rem;
    }

    .partner-panel {
        position: fixed;
        top: auto;
        right: max(10px, env(safe-area-inset-right));
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: max(10px, env(safe-area-inset-left));
        z-index: 82;
        order: initial;
        max-height: min(78vh, 640px);
        overflow-y: auto;
        transform: translateY(calc(100% + 24px));
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        box-shadow: 0 24px 80px rgba(22, 18, 15, 0.28);
        transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
    }

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

    .partner-panel__head {
        position: sticky;
        top: -16px;
        z-index: 1;
        margin: -16px -16px 0;
        padding: 16px 16px 10px;
        border-bottom: 1px solid rgba(38, 30, 23, 0.08);
        background: #fff;
    }

    .partner-cart-close {
        display: inline-grid;
        place-items: center;
        width: 30px;
        height: 30px;
        border: 1px solid rgba(38, 30, 23, 0.14);
        border-radius: 8px;
        background: #fff;
        color: #211c18;
        font: inherit;
        font-size: 1.05rem;
        font-weight: 920;
        line-height: 1;
        cursor: pointer;
    }

    .partner-cart-fab {
        position: fixed;
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: max(12px, env(safe-area-inset-left));
        z-index: 72;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 32px max-content;
        align-items: center;
        gap: 10px;
        min-height: 56px;
        border: 0;
        border-radius: 8px;
        background: #211c18;
        color: #fff;
        padding: 0 14px;
        font: inherit;
        box-shadow: 0 18px 48px rgba(22, 18, 15, 0.24);
        cursor: pointer;
    }

    .partner-cart-fab span,
    .partner-cart-fab em,
    .partner-cart-fab strong {
        min-width: 0;
    }

    .partner-cart-fab span {
        font-weight: 920;
        text-align: left;
    }

    .partner-cart-fab strong {
        display: inline-grid;
        min-width: 30px;
        height: 30px;
        place-items: center;
        border-radius: 999px;
        background: #fff;
        color: #211c18;
        font-size: 0.86rem;
        font-weight: 940;
    }

    .partner-cart-fab em {
        font-style: normal;
        font-size: 0.9rem;
        font-weight: 900;
        white-space: nowrap;
    }

    .partner-cart-backdrop {
        position: fixed;
        inset: 0;
        z-index: 76;
        display: block;
        background: rgba(22, 18, 15, 0.36);
    }

    .partner-cart-backdrop[hidden] {
        display: none;
    }

    .has-partner-cart-open {
        overflow: hidden;
    }

    .partner-scroll-top {
        position: fixed;
        right: max(14px, env(safe-area-inset-right));
        bottom: calc(82px + env(safe-area-inset-bottom));
        z-index: 70;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        border: 1px solid rgba(38, 30, 23, 0.12);
        border-radius: 8px;
        background: #fff;
        color: #211c18;
        padding: 0 12px;
        font: inherit;
        font-size: 0.82rem;
        font-weight: 900;
        box-shadow: 0 14px 32px rgba(36, 28, 20, 0.14);
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity 0.18s ease, transform 0.18s ease;
        cursor: pointer;
    }

    .partner-scroll-top.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .partner-shell {
        --partner-mobile-stick-top: 116px;
    }

    .partner-topbar__inner {
        gap: 14px;
    }

    .partner-brand {
        gap: 10px;
    }

    .partner-brand img {
        width: 80px;
        height: 34px;
    }

    .partner-brand strong {
        font-size: 0.98rem;
    }

    .partner-brand span {
        font-size: 0.78rem;
    }

    .partner-menu-sticky {
        padding-top: 7px;
    }

    .partner-cart-line {
        grid-template-columns: minmax(0, 1fr) 28px;
    }
}

@media (max-width: 380px) {
    .partner-search-clear {
        padding: 0 8px;
        font-size: 0.76rem;
    }

    .partner-cart-fab {
        grid-template-columns: minmax(0, 1fr) 28px max-content;
        padding: 0 12px;
    }

    .partner-cart-fab em {
        font-size: 0.82rem;
    }
}

/* 2026-08-24: compact client mobile header and full-screen checkout. */
@media (max-width: 900px) {
    .site-header__frame { width: calc(100% - 16px); }
    .site-header__inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas: "brand actions" "menu utility" "search search";
        align-items: center !important;
        gap: 6px 8px !important;
        padding: 6px 0 !important;
    }
    .brand-mark { grid-area: brand !important; min-width: 0; margin: 0 !important; }
    .brand-mark__logo { width: 112px !important; height: auto; }
    .brand-mark__caption { display: none; }
    .site-header__actions {
        grid-area: actions !important;
        order: 0 !important;
        grid-column: auto !important;
        justify-self: end !important;
        flex: 0 0 auto !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
        min-width: 0;
    }
    .site-header__actions .header-link,
    .site-header__actions .cart-button {
        min-height: 36px !important;
        padding: 0 10px !important;
        font-size: 0.78rem !important;
        white-space: nowrap;
    }
    .header-menu {
        grid-area: menu !important;
        order: 0 !important;
        grid-column: auto !important;
        width: auto !important;
        justify-self: start !important;
    }
    .header-menu summary {
        width: auto !important;
        min-height: 36px !important;
        padding: 0 11px !important;
        border-radius: 8px !important;
        font-size: 0.8rem !important;
    }
    .site-header__utility {
        grid-area: utility !important;
        order: 0 !important;
        grid-column: auto !important;
        display: inline-flex !important;
        justify-self: end !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
        min-width: 0;
        margin: 0 !important;
    }
    .header-link--contacts {
        order: 1;
        min-height: 34px !important;
        padding: 0 9px !important;
        font-size: 0.74rem !important;
    }
    .lang-switch {
        order: 2;
        flex-wrap: nowrap !important;
        gap: 2px !important;
        padding: 2px !important;
    }
    .lang-switch__item {
        min-width: 29px;
        padding: 5px 6px !important;
        font-size: 0.7rem !important;
        text-align: center;
    }
    .header-search {
        grid-area: search !important;
        order: 0 !important;
        grid-column: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }
    .header-search,
    .header-search input,
    .header-search__button { min-height: 38px !important; }
    .header-search input { min-width: 0; font-size: 0.88rem !important; }
}

@media (max-width: 760px) {
    .modal-shell[data-checkout-modal] {
        align-items: stretch !important;
        justify-content: stretch !important;
        padding: 0 !important;
    }
    .modal-shell[data-checkout-modal] .checkout-modal {
        position: fixed !important;
        inset: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100vw !important;
        max-width: none !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        transform: none !important;
    }
    .checkout-modal__header {
        position: relative !important;
        top: auto !important;
        flex: 0 0 auto;
        gap: 10px;
        padding: calc(11px + env(safe-area-inset-top, 0px)) 14px 11px !important;
    }
    .checkout-modal__header h2 {
        min-width: 0;
        margin: 0;
        font-size: clamp(1.25rem, 6vw, 1.65rem) !important;
        line-height: 1.1;
        overflow-wrap: anywhere;
    }
    .checkout-modal__header .ghost-button {
        flex: 0 0 auto;
        min-height: 36px !important;
        padding: 0 11px !important;
        font-size: 0.78rem;
    }
    .checkout-modal form {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 0;
        margin: 0;
        padding: 14px 14px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .checkout-modal .form-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }
    .checkout-modal .form-grid label,
    .checkout-modal .form-grid input,
    .checkout-modal .form-grid select,
    .checkout-modal .form-grid textarea,
    .checkout-modal__summary,
    .checkout-modal__recap-row,
    .checkout-modal__totals,
    .checkout-modal__totals .cart-total {
        min-width: 0;
        max-width: 100%;
    }
    .checkout-modal .form-grid label,
    .checkout-modal__recap-row span,
    .checkout-modal__recap-row strong,
    .checkout-modal__totals span,
    .checkout-modal__totals strong {
        line-height: 1.3;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .checkout-modal .delivery-map--checkout { min-height: 230px !important; }
    .checkout-modal__summary {
        position: static !important;
        bottom: auto !important;
        margin: 18px -14px -20px !important;
        padding: 14px 14px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .checkout-modal__recap-row,
    .checkout-modal__totals .cart-total {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        align-items: start;
    }
    .checkout-modal__recap-row strong,
    .checkout-modal__totals .cart-total strong {
        min-width: 0;
        max-width: min(52vw, 260px);
        text-align: right;
    }
    .checkout-modal__summary .primary-button {
        width: 100%;
        min-width: 0 !important;
    }
}

@media (max-width: 390px) {
    .brand-mark__logo { width: 98px !important; }
    .site-header__actions .header-link,
    .site-header__actions .cart-button,
    .header-link--contacts {
        padding-right: 7px !important;
        padding-left: 7px !important;
    }
    .site-header__utility { gap: 3px !important; }
    .lang-switch__item {
        min-width: 27px;
        padding-right: 5px !important;
        padding-left: 5px !important;
    }
}
/* QA correction: preserve the named grid span and keep controls vertically compact. */
@media (max-width: 900px) {
    .header-search {
        grid-column: 1 / -1 !important;
        height: 40px !important;
    }
    .header-search input,
    .header-search__button {
        height: 40px !important;
    }
    .site-header__utility,
    .lang-switch {
        height: 36px !important;
        min-height: 36px !important;
    }
    .lang-switch__item {
        min-height: 30px !important;
    }
}

/* 2026-08-24: client mobile QA follow-up — compact fulfillment, search/cart row, centered checkout summary. */
@media (max-width: 900px) {
    .site-header__inner {
        grid-template-areas:
            "brand actions"
            "menu utility"
            "search cart" !important;
    }

    .site-header__actions {
        display: contents !important;
    }

    .site-header__actions > .header-link,
    .site-header__actions > .account-menu {
        grid-area: actions !important;
        justify-self: end !important;
    }

    .site-header__actions > .cart-button {
        grid-area: cart !important;
        justify-self: end !important;
        min-height: 40px !important;
        height: 40px !important;
        padding: 0 11px !important;
    }

    .header-search {
        grid-column: auto !important;
    }

    .fulfillment-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        padding: 6px !important;
        border-radius: 14px !important;
    }

    .fulfillment-option {
        min-height: 36px !important;
        height: 36px !important;
        padding: 0 10px !important;
        border-radius: 10px !important;
        font-size: 0.82rem !important;
        line-height: 1 !important;
    }

    .fulfillment-address {
        grid-column: 1 / -1 !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 40px !important;
        height: 40px !important;
        gap: 9px !important;
        padding: 0 13px !important;
        border-radius: 10px !important;
        font-size: 0.82rem !important;
        line-height: 1.2 !important;
    }

    .fulfillment-address::before {
        align-self: center !important;
        flex: 0 0 15px !important;
        width: 15px !important;
        height: 15px !important;
        margin: 0 !important;
    }

    .fulfillment-address span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 760px) {
    .checkout-modal form {
        display: block !important;
        box-sizing: border-box !important;
    }

    .checkout-modal .form-grid {
        width: 100% !important;
        margin-inline: auto !important;
    }

    .checkout-modal__summary {
        box-sizing: border-box !important;
        align-self: center !important;
        width: 100% !important;
        margin: 18px auto 0 !important;
        padding: 15px !important;
        border-radius: 14px !important;
    }

    .checkout-modal__recap,
    .checkout-modal__totals,
    .checkout-modal__summary .primary-button {
        box-sizing: border-box !important;
        width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .checkout-modal__recap-row,
    .checkout-modal__totals .cart-total {
        width: 100% !important;
    }
}

@media (max-width: 390px) {
    .site-header__actions > .cart-button {
        padding-right: 9px !important;
        padding-left: 9px !important;
    }
}
/* Visual QA: keep the pin and address label in one compact horizontal line. */
@media (max-width: 900px) {
    .fulfillment-address {
        flex-direction: row !important;
    }
}

/* 2026-08-24: calm two-row mobile header, centered product dialog, lighter checkout. */
@media (max-width: 900px) {
    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        grid-template-areas:
            "brand utility actions"
            "menu search cart" !important;
        gap: 7px 6px !important;
        padding: 6px 0 !important;
    }

    .brand-mark {
        width: max-content !important;
        justify-self: start !important;
    }

    .brand-mark__logo {
        width: 90px !important;
    }

    .site-header__utility {
        grid-area: utility !important;
        justify-self: center !important;
        height: 32px !important;
        min-height: 32px !important;
        gap: 3px !important;
        padding: 0 !important;
    }

    .header-link--contacts {
        min-height: 30px !important;
        padding: 0 6px !important;
        border-color: transparent !important;
        background: transparent !important;
        font-size: 0.7rem !important;
        font-weight: 700 !important;
    }

    .lang-switch {
        height: 30px !important;
        min-height: 30px !important;
        gap: 1px !important;
        padding: 1px !important;
        border-radius: 8px !important;
    }

    .lang-switch__item {
        min-width: 25px !important;
        min-height: 28px !important;
        padding: 0 4px !important;
        border-radius: 7px !important;
        font-size: 0.66rem !important;
        line-height: 28px !important;
    }

    .site-header__actions > .header-link,
    .site-header__actions > .account-menu {
        grid-area: actions !important;
        justify-self: end !important;
    }

    .site-header__actions > .header-link {
        min-height: 32px !important;
        padding: 0 5px !important;
        border: 0 !important;
        background: transparent !important;
        font-size: 0.72rem !important;
    }

    .header-menu {
        grid-area: menu !important;
        justify-self: start !important;
    }

    .header-menu summary {
        width: 74px !important;
        min-height: 40px !important;
        height: 40px !important;
        padding: 0 9px !important;
        border-radius: 10px !important;
        font-size: 0.75rem !important;
    }

    .header-search {
        grid-area: search !important;
        grid-column: auto !important;
        height: 40px !important;
        border-radius: 10px !important;
    }

    .header-search input {
        height: 40px !important;
        padding-left: 10px !important;
        font-size: 0.8rem !important;
        text-overflow: ellipsis;
    }

    .header-search__button {
        width: 38px !important;
        min-width: 38px !important;
        height: 40px !important;
    }

    .site-header__actions > .cart-button {
        grid-area: cart !important;
        justify-self: end !important;
        min-width: 98px !important;
        min-height: 40px !important;
        height: 40px !important;
        padding: 0 9px !important;
        border-radius: 10px !important;
        font-size: 0.74rem !important;
    }
}

@media (max-width: 760px) {
    .modal-shell[data-product-detail-modal] {
        align-items: center !important;
        justify-content: center !important;
        padding: 12px !important;
    }

    .modal-shell[data-product-detail-modal] .sheet-modal--product {
        position: relative !important;
        width: min(440px, calc(100vw - 24px)) !important;
        max-width: 440px !important;
        max-height: calc(100dvh - 24px) !important;
        margin: auto !important;
        padding: 0 !important;
        border-radius: 16px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-shadow: 0 22px 60px rgba(25, 18, 13, 0.24) !important;
    }

    .sheet-modal--product .sheet-modal__header {
        position: sticky;
        top: 0;
        z-index: 2;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 11px 13px !important;
        border-bottom: 1px solid rgba(31, 25, 20, 0.08);
        background: rgba(255, 253, 250, 0.96);
        backdrop-filter: blur(10px);
    }

    .sheet-modal--product .sheet-modal__header .eyebrow {
        display: none;
    }

    .sheet-modal--product .sheet-modal__header h2 {
        margin: 0;
        font-size: 1.08rem !important;
        font-weight: 780 !important;
        line-height: 1.18 !important;
    }

    .sheet-modal--product .sheet-modal__header .ghost-button {
        min-height: 34px !important;
        padding: 0 10px !important;
        border-radius: 9px !important;
        font-size: 0.74rem !important;
    }

    .product-detail-modal {
        gap: 10px !important;
        padding: 12px 13px 14px !important;
    }

    .product-detail-modal__image {
        max-height: 34vh !important;
        border-radius: 12px !important;
        cursor: default !important;
        pointer-events: none !important;
    }

    .product-detail-modal__section {
        gap: 6px !important;
    }

    .product-detail-modal__section h3 {
        font-size: 0.78rem !important;
        font-weight: 720 !important;
        text-transform: none !important;
    }

    .product-detail-modal__section p {
        font-size: 0.84rem !important;
        line-height: 1.45 !important;
    }

    .product-detail-modal__variants {
        gap: 6px !important;
    }

    .product-detail-modal__variant {
        min-height: 40px !important;
        padding: 8px 10px !important;
        border-radius: 9px !important;
        font-size: 0.8rem !important;
    }

    .product-detail-modal > .primary-button {
        min-height: 42px !important;
        border-radius: 10px !important;
        font-size: 0.84rem !important;
        font-weight: 720 !important;
    }

    .checkout-modal__header {
        padding: calc(9px + env(safe-area-inset-top, 0px)) 12px 9px !important;
    }

    .checkout-modal__header h2 {
        font-size: 1.18rem !important;
        font-weight: 780 !important;
    }

    .checkout-modal__header .ghost-button {
        min-height: 34px !important;
        padding: 0 10px !important;
        border-radius: 9px !important;
        font-size: 0.72rem !important;
    }

    .checkout-modal form {
        padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .checkout-modal .form-grid {
        gap: 9px !important;
    }

    .checkout-modal .form-grid label {
        gap: 5px !important;
        font-size: 0.78rem !important;
        font-weight: 650 !important;
        line-height: 1.25 !important;
    }

    .checkout-modal .form-grid input,
    .checkout-modal .form-grid select,
    .checkout-modal .form-grid textarea {
        min-height: 40px !important;
        padding: 0 10px !important;
        border-radius: 9px !important;
        font-size: 0.86rem !important;
        font-weight: 500 !important;
        box-shadow: none !important;
    }

    .checkout-modal .form-grid textarea {
        min-height: 72px !important;
        padding-top: 9px !important;
        padding-bottom: 9px !important;
    }

    .checkout-modal .delivery-map-card {
        gap: 7px !important;
    }

    .checkout-modal .delivery-map--checkout {
        min-height: 150px !important;
        height: 150px !important;
        border-radius: 10px !important;
        box-shadow: none !important;
    }

    .checkout-modal .delivery-map-status {
        padding: 8px 10px !important;
        border-radius: 8px !important;
        font-size: 0.76rem !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }

    .checkout-modal__summary {
        gap: 9px !important;
        margin-top: 12px !important;
        padding: 10px !important;
        border-radius: 10px !important;
        background: #fffdfa !important;
        backdrop-filter: none !important;
    }

    .checkout-modal__recap {
        gap: 6px !important;
        padding: 9px 10px !important;
        border-radius: 9px !important;
        box-shadow: none !important;
    }

    .checkout-modal__recap-row,
    .checkout-modal__totals .cart-total {
        gap: 6px 10px !important;
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
    }

    .checkout-modal__recap-row span,
    .checkout-modal__totals span {
        font-weight: 520 !important;
    }

    .checkout-modal__recap-row strong,
    .checkout-modal__totals strong {
        font-size: 0.82rem !important;
        font-weight: 720 !important;
        line-height: 1.25 !important;
    }

    .checkout-modal__totals {
        gap: 5px !important;
    }

    .checkout-modal__summary .primary-button {
        min-height: 42px !important;
        border-radius: 9px !important;
        font-size: 0.82rem !important;
        font-weight: 720 !important;
        box-shadow: none !important;
    }
}

@media (max-width: 390px) {
    .brand-mark__logo {
        width: 84px !important;
    }

    .header-link--contacts {
        padding-right: 4px !important;
        padding-left: 4px !important;
    }

    .header-menu summary {
        width: 70px !important;
    }

    .site-header__actions > .cart-button {
        min-width: 94px !important;
        padding-right: 7px !important;
        padding-left: 7px !important;
    }
}
/* Visual QA: rows and legacy button styles must not re-expand checkout. */
@media (max-width: 760px) {
    .checkout-modal .form-grid textarea {
        height: 76px !important;
        max-height: 120px !important;
    }

    .checkout-modal .checkout-geocode-row .secondary-button {
        min-height: 42px !important;
        height: 42px !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        box-shadow: none !important;
    }
}
/* 2026-08-24: client Android visual system — calmer type, compact cards, consistent spacing. */
@media (max-width: 900px) {
    body:has(.site-header),
    body:has(.site-header) button,
    body:has(.site-header) input,
    body:has(.site-header) select,
    body:has(.site-header) textarea {
        font-family: Roboto, "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif !important;
        letter-spacing: 0;
    }

    .site-header__inner {
        font-weight: 500;
    }

    .header-link--contacts,
    .header-menu summary,
    .site-header__actions > .cart-button {
        font-weight: 600 !important;
    }

    .site-header__actions > .header-link,
    .lang-switch__item,
    .header-search input {
        font-weight: 500 !important;
    }

    .header-menu__panel {
        position: fixed !important;
        top: calc(104px + env(safe-area-inset-top, 0px)) !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-height: calc(100dvh - 120px - env(safe-area-inset-top, 0px)) !important;
        gap: 2px !important;
        padding: 8px !important;
        border-radius: 14px !important;
        background: rgba(255, 253, 250, 0.985) !important;
        box-shadow: 0 18px 46px rgba(31, 25, 20, 0.18) !important;
    }

    .header-menu__panel a {
        min-height: 40px !important;
        box-sizing: border-box;
        padding: 9px 12px !important;
        border-radius: 9px !important;
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
    }

    .home-layout {
        box-sizing: border-box;
        width: 100% !important;
        padding-inline: 8px !important;
    }

    .page-sidebar,
    .page-sidebar__panel,
    .home-main,
    .product-grid,
    .category-section,
    .promo-panel--hero {
        min-width: 0;
        max-width: 100%;
    }

    .page-sidebar__panel {
        gap: 8px !important;
    }

    .sidebar-city {
        min-height: 44px !important;
        padding: 0 13px !important;
        border-radius: 12px !important;
        font-size: 0.94rem !important;
        font-weight: 650 !important;
    }

    .page-sidebar__quicklinks,
    .page-sidebar__nav {
        gap: 7px !important;
        scrollbar-width: none;
    }

    .page-sidebar__quicklinks::-webkit-scrollbar,
    .page-sidebar__nav::-webkit-scrollbar {
        display: none;
    }

    .page-sidebar__quicklinks .page-sidebar__link,
    .page-sidebar__quicklinks a,
    .page-sidebar__nav a {
        min-height: 34px !important;
        padding: 7px 10px !important;
        border-radius: 10px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }

    .fulfillment-strip {
        gap: 5px !important;
        padding: 5px !important;
        border-radius: 13px !important;
        box-shadow: 0 8px 24px rgba(61, 42, 28, 0.06) !important;
    }

    .fulfillment-option {
        min-height: 34px !important;
        height: 34px !important;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
    }

    .fulfillment-address {
        min-height: 38px !important;
        height: 38px !important;
        padding-inline: 11px !important;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
    }

    .promo-carousel__viewport {
        border-radius: 12px !important;
    }

    .promo-carousel__dots {
        gap: 6px !important;
        margin-top: 8px !important;
    }

    .category-section__head {
        margin-bottom: 10px !important;
    }

    .category-section__head h3,
    .section-heading h1,
    .section-heading h2 {
        font-size: clamp(1.25rem, 5.8vw, 1.45rem) !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        letter-spacing: -0.018em !important;
    }

    .product-grid,
    .product-grid--page {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .product-card {
        min-width: 0;
        border: 1px solid rgba(46, 32, 23, 0.08) !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 22px rgba(61, 42, 28, 0.055) !important;
    }

    .product-card__media {
        aspect-ratio: 1 / 0.76 !important;
    }

    .product-card__media img {
        padding: 8px !important;
    }

    .product-card__badge-stack {
        top: 8px !important;
        right: 8px !important;
        left: 8px !important;
    }

    .product-card__badge-stack .badge,
    .product-card .badge {
        padding: 5px 7px !important;
        border-radius: 999px !important;
        font-size: 0.62rem !important;
        font-weight: 650 !important;
        letter-spacing: 0.06em !important;
    }

    .product-card__body {
        gap: 7px !important;
        padding: 10px !important;
    }

    .product-card__topline h4 {
        display: -webkit-box;
        min-height: 2.55em;
        margin: 0;
        overflow: hidden;
        font-size: 0.9rem !important;
        font-weight: 650 !important;
        line-height: 1.275 !important;
        letter-spacing: -0.01em !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .product-card__controls {
        gap: 7px !important;
    }

    .product-card__pricing strong {
        font-size: 1rem !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
    }

    .product-card__variant-wrap label,
    .product-card__group-title {
        font-size: 0.68rem !important;
        font-weight: 600 !important;
    }

    .product-card__group-buttons {
        gap: 5px !important;
    }

    .product-card__group-option,
    .variant-select {
        min-height: 36px !important;
        padding: 6px 7px !important;
        border-radius: 8px !important;
        font-size: 0.75rem !important;
        font-weight: 500 !important;
        line-height: 1.15 !important;
    }

    .product-card__group-option strong {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        line-height: 1.15 !important;
    }

    .product-card__actions {
        gap: 6px !important;
    }

    .product-card__actions .primary-button,
    .product-card__actions .ghost-link {
        min-height: 40px !important;
        height: 40px !important;
        padding: 0 9px !important;
        border-radius: 9px !important;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        line-height: 1 !important;
    }

    .cart-drawer__panel {
        font-weight: 400;
    }

    .cart-drawer__header {
        padding: 16px !important;
    }

    .cart-drawer__header h2 {
        font-size: 1.3rem !important;
        font-weight: 650 !important;
        letter-spacing: -0.015em;
    }

    .cart-item {
        grid-template-columns: 56px minmax(0, 1fr) auto !important;
        align-items: start !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    .cart-item__meta {
        gap: 3px !important;
        min-width: 0;
    }

    .cart-item__meta h4 {
        font-size: 0.88rem !important;
        font-weight: 650 !important;
        line-height: 1.25 !important;
    }

    .cart-item__meta p {
        font-size: 0.78rem !important;
        line-height: 1.3 !important;
    }

    .cart-item > .ghost-button {
        align-self: start !important;
        min-height: 30px !important;
        height: 30px !important;
        padding: 0 7px !important;
        border-radius: 8px !important;
        font-size: 0.68rem !important;
    }

    .cart-recommendations h3,
    .cart-recommendation strong,
    .cart-recommendation__add {
        font-weight: 650 !important;
    }

    .cart-total strong {
        font-size: 1.22rem !important;
        font-weight: 700 !important;
    }

    .cart-drawer__footer > .primary-button {
        min-height: 44px !important;
        font-size: 0.86rem !important;
        font-weight: 600 !important;
    }

    .sheet-modal--product .sheet-modal__header h2,
    .checkout-modal__header h2 {
        font-weight: 650 !important;
        letter-spacing: -0.012em;
    }

    .product-detail-modal__section h3,
    .product-detail-modal__variant strong,
    .product-detail-modal__variant small,
    .product-detail-modal > .primary-button {
        font-weight: 600 !important;
    }

    .delivery-modal h2,
    .delivery-modal h3,
    .delivery-modal h4,
    .info-item h4 {
        font-weight: 650 !important;
    }

    .delivery-modal .status-pill,
    .delivery-map-status,
    .checkout-modal .form-grid label,
    .checkout-modal__recap-row strong,
    .checkout-modal__totals strong,
    .checkout-modal__summary .primary-button,
    .checkout-modal .checkout-geocode-row .secondary-button {
        font-weight: 600 !important;
    }

    .site-footer {
        padding: 22px 0 calc(34px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .site-footer__grid {
        box-sizing: border-box;
        width: 100% !important;
        padding-inline: 14px !important;
        gap: 20px !important;
    }

    .site-footer__phone {
        font-size: 1.22rem !important;
        font-weight: 650 !important;
    }

    .site-footer__info h3 {
        font-weight: 600 !important;
    }

    .site-footer__links a {
        font-size: 0.78rem !important;
    }
}

@media (max-width: 360px) {
    .home-layout {
        padding-inline: 6px !important;
    }

    .product-grid,
    .product-grid--page {
        gap: 8px !important;
    }

    .product-card__body {
        padding: 9px !important;
    }

    .product-card__topline h4 {
        font-size: 0.84rem !important;
    }
}
/* Mobile7 QA: compact cart rows and one consistent heading family across client pages. */
@media (max-width: 900px) {
    body:has(.site-header) h1,
    body:has(.site-header) h2,
    body:has(.site-header) h3,
    body:has(.site-header) h4 {
        font-family: Roboto, "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif !important;
    }

    .cart-drawer__body {
        align-content: start !important;
        grid-auto-rows: max-content !important;
    }

    .cart-item {
        align-self: start !important;
    }

    .franchise-landing__hero-copy h1 {
        font-size: clamp(2rem, 9.5vw, 2.35rem) !important;
        font-weight: 700 !important;
        line-height: 1.02 !important;
        letter-spacing: -0.035em !important;
    }

    .franchise-section__head h2 {
        font-size: clamp(1.55rem, 7vw, 1.9rem) !important;
        font-weight: 700 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.025em !important;
    }
}

/* 2026-08-24: closable compact menu, highlighted login, smaller checkout recap. */
.header-menu__backdrop,
.header-menu__head {
    display: none;
}

@media (max-width: 900px) {
    body.has-header-menu-open {
        overflow: hidden !important;
        overscroll-behavior: none;
    }

    .header-menu[open] {
        z-index: 180 !important;
    }

    .header-menu summary {
        position: relative;
        z-index: 2;
    }

    .header-menu__backdrop {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: block;
        background: rgba(24, 19, 15, 0.42);
        backdrop-filter: blur(1.5px);
        cursor: default;
        touch-action: none;
    }

    .header-menu__panel {
        top: calc(104px + env(safe-area-inset-top, 0px)) !important;
        z-index: 3 !important;
        max-height: min(58dvh, 460px) !important;
        gap: 1px !important;
        padding: 0 8px 8px !important;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .header-menu__head {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 50px;
        margin: 0 -2px 4px;
        padding: 7px 4px 7px 10px;
        border-bottom: 1px solid rgba(39, 29, 21, 0.09);
        background: rgba(255, 253, 250, 0.98);
    }

    .header-menu__head > strong {
        font-size: 0.9rem;
        font-weight: 650;
    }

    .header-menu__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 34px;
        padding: 0 9px 0 11px;
        border: 1px solid rgba(39, 29, 21, 0.11);
        border-radius: 9px;
        background: #f5f1ed;
        color: #332820;
        font-size: 0.74rem;
        font-weight: 600;
        cursor: pointer;
    }

    .header-menu__close svg {
        width: 14px;
        height: 14px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
    }

    .header-menu__panel a {
        min-height: 38px !important;
        padding: 8px 11px !important;
        font-size: 0.84rem !important;
    }

    .site-header__actions > .header-link--login {
        min-height: 30px !important;
        padding: 0 9px !important;
        border: 1px solid rgba(244, 190, 76, 0.54) !important;
        border-radius: 9px !important;
        background: rgba(244, 190, 76, 0.13) !important;
        color: #ffd679 !important;
        font-size: 0.72rem !important;
        font-weight: 650 !important;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
    }
}

@media (max-width: 760px) {
    .checkout-modal__summary {
        gap: 6px !important;
        padding: 8px !important;
    }

    .checkout-modal__recap {
        gap: 4px !important;
        padding: 7px 8px !important;
    }

    .checkout-modal__recap-row,
    .checkout-modal__totals .cart-total {
        gap: 4px 8px !important;
        font-size: 0.68rem !important;
        line-height: 1.18 !important;
    }

    .checkout-modal__recap-row span,
    .checkout-modal__totals .cart-total span {
        font-size: 0.68rem !important;
        font-weight: 500 !important;
        line-height: 1.18 !important;
    }

    .checkout-modal__recap-row strong,
    .checkout-modal__totals .cart-total strong {
        max-width: min(57vw, 230px) !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }

    .checkout-modal__recap-row[data-checkout-recap-row="destination"] strong,
    .checkout-modal__recap-row[data-checkout-recap-row="comment"] strong {
        font-size: 0.68rem !important;
        line-height: 1.22 !important;
    }

    .checkout-modal__totals {
        gap: 3px !important;
        padding: 1px 2px !important;
    }

    .checkout-modal__totals .cart-total:last-of-type strong {
        font-size: 0.82rem !important;
        font-weight: 700 !important;
    }

    .checkout-modal__summary .primary-button {
        min-height: 40px !important;
        font-size: 0.78rem !important;
    }
}

@media (max-height: 680px) and (max-width: 900px) {
    .header-menu__panel {
        max-height: min(54dvh, 360px) !important;
    }
}

/* 2026-08-24: centered delivery dialog, bare search icon, balanced cart dismiss. */
@media (max-width: 760px) {
    .modal-shell--delivery {
        align-items: center !important;
        justify-content: center !important;
        padding: 12px !important;
    }

    .modal-shell--delivery .sheet-modal--delivery-map {
        position: relative !important;
        width: min(440px, calc(100vw - 24px)) !important;
        max-width: 440px !important;
        height: min(760px, calc(100dvh - 24px)) !important;
        max-height: calc(100dvh - 24px) !important;
        margin: auto !important;
        border-radius: 16px !important;
        background: #fffaf3 !important;
        box-shadow: 0 22px 64px rgba(29, 20, 13, 0.28) !important;
        overflow: hidden !important;
    }

    .sheet-modal--delivery-map .delivery-modal-close {
        top: 10px !important;
        right: 10px !important;
        min-height: 34px !important;
        padding: 0 11px !important;
        border: 1px solid rgba(54, 39, 28, 0.1) !important;
        border-radius: 9px !important;
        background: rgba(255, 253, 250, 0.96) !important;
        color: #31251d !important;
        box-shadow: 0 6px 18px rgba(29, 20, 13, 0.11) !important;
        font-size: 0.74rem !important;
        font-weight: 600 !important;
    }

    .sheet-modal--delivery-map .delivery-modal-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: 0 0 12px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .sheet-modal--delivery-map .delivery-modal-map-panel {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-direction: column !important;
        width: 100% !important;
        min-height: 0 !important;
        overflow: visible !important;
        background: #fffaf3 !important;
    }

    .sheet-modal--delivery-map .delivery-modal-map-panel__intro {
        position: static !important;
        order: 0 !important;
        box-sizing: border-box !important;
        width: auto !important;
        max-width: none !important;
        margin: 52px 12px 10px !important;
        padding: 11px 12px !important;
        border-radius: 11px !important;
        background: #fff !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .sheet-modal--delivery-map .delivery-modal-map-panel__intro h3 {
        font-size: 0.94rem !important;
        font-weight: 650 !important;
    }

    .sheet-modal--delivery-map .delivery-modal-map-panel__intro p {
        font-size: 0.76rem !important;
        line-height: 1.35 !important;
    }

    .sheet-modal--delivery-map .delivery-address-search {
        gap: 5px !important;
        margin: 8px 0 0 !important;
    }

    .sheet-modal--delivery-map .delivery-address-search label {
        font-size: 0.76rem !important;
        font-weight: 600 !important;
    }

    .sheet-modal--delivery-map .delivery-address-search__row {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 7px !important;
    }

    .sheet-modal--delivery-map .delivery-address-search input {
        height: 40px !important;
        min-height: 40px !important;
        font-size: 0.8rem !important;
    }

    .sheet-modal--delivery-map .delivery-address-search .secondary-button {
        width: auto !important;
        min-width: 72px !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 10px !important;
        overflow: visible !important;
        color: #32261e !important;
        font-size: 0.7rem !important;
        font-weight: 600 !important;
    }

    .sheet-modal--delivery-map .delivery-address-search .secondary-button::before {
        content: none !important;
    }

    .sheet-modal--delivery-map .delivery-map--modal {
        order: 1 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        height: 250px !important;
        min-height: 250px !important;
        margin: 0 12px !important;
        border: 1px solid rgba(54, 39, 28, 0.09) !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .sheet-modal--delivery-map .delivery-map-status--floating {
        position: static !important;
        order: 2 !important;
        margin: 8px 12px 0 !important;
        padding: 8px 10px !important;
        border-radius: 9px !important;
        box-shadow: none !important;
        font-size: 0.72rem !important;
        line-height: 1.3 !important;
        backdrop-filter: none !important;
    }

    .sheet-modal--delivery-map .delivery-modal-side {
        flex: 0 0 auto !important;
        box-sizing: border-box !important;
        width: auto !important;
        min-height: 0 !important;
        margin: 10px 12px 0 !important;
        padding: 13px !important;
        border: 1px solid rgba(54, 39, 28, 0.08) !important;
        border-radius: 12px !important;
        overflow: visible !important;
        background: #fff !important;
    }

    .sheet-modal--delivery-map .delivery-modal-service {
        gap: 5px !important;
        padding-bottom: 12px !important;
    }

    .sheet-modal--delivery-map .delivery-modal-service strong {
        font-size: 1.15rem !important;
        font-weight: 650 !important;
    }

    .sheet-modal--delivery-map .delivery-modal-service p,
    .sheet-modal--delivery-map .delivery-modal-service span,
    .sheet-modal--delivery-map .delivery-modal-addresses p {
        font-size: 0.76rem !important;
        line-height: 1.35 !important;
    }

    .sheet-modal--delivery-map .delivery-modal-addresses {
        gap: 7px !important;
        padding-top: 12px !important;
    }

    .sheet-modal--delivery-map .delivery-modal-addresses h3,
    .sheet-modal--delivery-map .info-item h4 {
        font-size: 0.84rem !important;
        font-weight: 650 !important;
    }

    .sheet-modal--delivery-map .info-list--modal-addresses .info-item {
        padding: 10px 0 !important;
    }
}

@media (max-width: 900px) {
    .header-search__button {
        border: 0 !important;
        background: transparent !important;
        color: #d9a538 !important;
        box-shadow: none !important;
    }

    .header-search__button:hover,
    .header-search__button:focus-visible {
        background: transparent !important;
        color: #f0c35c !important;
    }

    .cart-recommendation__dismiss {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        min-width: 28px !important;
        height: 28px !important;
        min-height: 28px !important;
        padding: 0 !important;
        border: 1px solid rgba(49, 37, 29, 0.11) !important;
        border-radius: 50% !important;
        background: #f5efe8 !important;
        color: #694b36 !important;
        font-size: 0 !important;
        line-height: 0 !important;
        box-shadow: none !important;
    }

    .cart-recommendation__dismiss::before,
    .cart-recommendation__dismiss::after {
        content: "" !important;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 1.5px;
        border-radius: 999px;
        background: currentColor;
        transform-origin: center;
    }

    .cart-recommendation__dismiss::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .cart-recommendation__dismiss::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
}

@media (max-height: 680px) and (max-width: 760px) {
    .modal-shell--delivery .sheet-modal--delivery-map {
        height: calc(100dvh - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
    }

    .sheet-modal--delivery-map .delivery-map--modal {
        height: 210px !important;
        min-height: 210px !important;
    }
}

/* 2026-08-25: map-free checkout address verification and centered recommendation dismiss. */
.checkout-address-check {
    display: grid;
    gap: 8px;
}

.checkout-address-check .secondary-button {
    justify-self: start;
}

.delivery-address-status {
    padding: 9px 11px;
    border: 1px solid rgba(49, 37, 29, 0.1);
    border-radius: 9px;
    background: rgba(247, 241, 232, 0.72);
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
}

.cart-recommendation {
    align-items: center !important;
}

.cart-recommendation__dismiss {
    align-self: center !important;
    justify-self: center !important;
    margin: 0 !important;
    inset: auto !important;
    appearance: none;
    transform: none !important;
    vertical-align: middle !important;
}

@media (max-width: 900px) {
    .cart-recommendation__dismiss::before,
    .cart-recommendation__dismiss::after {
        width: 10px !important;
        height: 2px !important;
        margin: 0 !important;
    }
}


/* 2026-08-25: compact retail cart, auth verification and client profile. */
.cart-drawer__header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-clear-button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(137, 55, 32, 0.2);
    border-radius: 9px;
    background: transparent;
    color: #873d27;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.cart-clear-button:hover,
.cart-clear-button:focus-visible {
    background: rgba(137, 55, 32, 0.07);
    outline: none;
}

.cart-drawer__body {
    align-content: start;
    gap: 10px;
}

.cart-item {
    border: 1px solid rgba(49, 37, 29, 0.13);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(44, 32, 22, 0.05);
}

.cart-item > .ghost-button {
    align-self: start;
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.75rem;
}

.checkout-address-check:has(.delivery-address-status[hidden]) {
    display: none;
}

.promo-carousel__nav,
.promo-carousel__nav:hover,
.promo-carousel__nav:focus-visible {
    width: 42px;
    height: 42px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65));
}

.auth-card--verify {
    width: min(430px, calc(100% - 24px));
    padding: 24px;
    border-radius: 14px;
}

.auth-card--verify .auth-card__head {
    gap: 7px;
    margin-bottom: 18px;
}

.auth-card--verify .auth-card__head h1 {
    font-size: clamp(1.35rem, 4vw, 1.7rem);
}

.auth-card--verify .auth-card__head p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.4;
}

.auth-card--verify .auth-input {
    min-height: 46px;
}

.auth-card--verify .auth-code-field .auth-input {
    font-size: 1.18rem;
    letter-spacing: 0.14em;
}

.auth-resend-form {
    margin-top: 12px;
}

.auth-resend-button {
    width: 100%;
    min-height: 42px;
    border-radius: 9px;
    background: #fff;
    font-size: 0.86rem;
    font-weight: 700;
}

.profile-shell {
    padding: 30px 0 58px;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
    gap: 18px;
    align-items: start;
}

.profile-card,
.profile-orders {
    border: 1px solid rgba(49, 37, 29, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 34px rgba(44, 32, 22, 0.06);
}

.profile-card {
    padding: 22px;
}

.profile-card__head h1,
.profile-orders__head h2 {
    margin: 4px 0 0;
    font-family: var(--font-ui);
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    line-height: 1.2;
}

.profile-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.profile-field {
    display: grid;
    gap: 6px;
    min-width: 0;
    align-content: start;
}

.profile-field label,
.profile-consent {
    font-size: 0.82rem;
    font-weight: 700;
}

.profile-field input,
.profile-field select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(49, 37, 29, 0.14);
    border-radius: 9px;
    background: #fff;
    font: inherit;
    font-size: 0.9rem;
}

.profile-field input:disabled {
    background: rgba(242, 238, 232, 0.72);
    color: var(--ink-soft);
}

.profile-field small {
    color: var(--ink-soft);
    font-size: 0.72rem;
    line-height: 1.35;
}

.profile-consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    padding: 9px 11px;
    border: 1px solid rgba(49, 37, 29, 0.1);
    border-radius: 9px;
    background: rgba(247, 243, 237, 0.65);
    cursor: pointer;
}

.profile-consent input {
    order: 2;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
}

.profile-save {
    grid-column: 1 / -1;
    min-height: 44px;
}

.account-deletion-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(133, 48, 35, 0.18);
}

.account-deletion-entry h2 {
    margin: 0;
    color: #6f2d24;
    font-size: 0.96rem;
}

.account-deletion-entry p {
    margin: 5px 0 0;
    color: var(--ink-soft);
    font-size: 0.8rem;
    line-height: 1.45;
}

.account-deletion-link {
    flex: 0 0 auto;
    color: #853023;
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.account-delete-shell {
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 30px 0 58px;
}

.account-delete-card {
    padding: 24px;
    border: 1px solid rgba(49, 37, 29, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 34px rgba(44, 32, 22, 0.06);
}

.account-delete-card h1 {
    margin: 4px 0 0;
    font-family: var(--font-ui);
    font-size: clamp(1.55rem, 4vw, 2.15rem);
    line-height: 1.15;
}

.account-delete-lead,
.account-delete-note {
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

.account-delete-list {
    display: grid;
    gap: 7px;
    margin: 16px 0 0;
    padding-left: 21px;
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.5;
}

.account-delete-note {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(183, 132, 52, 0.08);
    font-size: 0.8rem;
}

.account-delete-form {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(49, 37, 29, 0.1);
}

.account-delete-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 10px;
    margin-top: 5px;
}

.account-delete-actions .secondary-button,
.account-delete-submit,
.account-delete-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    text-align: center;
}

.account-delete-submit {
    padding: 12px 18px;
    border: 1px solid #72271e;
    border-radius: 8px;
    background: #853023;
    color: #fff;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 750;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.account-delete-submit:hover {
    background: #6f281f;
    transform: translateY(-1px);
}

.account-delete-submit:focus-visible,
.account-deletion-link:focus-visible {
    outline: 3px solid rgba(183, 132, 52, 0.32);
    outline-offset: 3px;
}

.account-delete-login {
    width: min(100%, 280px);
    margin-top: 20px;
}

.profile-orders {
    overflow: hidden;
}

.profile-orders__head {
    padding: 20px 22px 14px;
    border-bottom: 1px solid rgba(49, 37, 29, 0.09);
}

.profile-orders__list {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.profile-order-card {
    padding: 14px;
    border: 1px solid rgba(49, 37, 29, 0.12);
    border-radius: 12px;
    background: #fff;
}

.profile-order-card__top,
.profile-order-card__bottom,
.profile-order-card__meta,
.profile-order-items > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.profile-order-card__top > div {
    display: grid;
    gap: 3px;
}

.profile-order-card__top strong {
    font-size: 0.9rem;
}

.profile-order-card time,
.profile-order-card__meta,
.profile-order-items {
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.profile-order-status {
    align-self: start;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(183, 132, 52, 0.12);
    color: #73501d;
    font-size: 0.7rem;
    font-weight: 750;
}

.profile-order-status--done,
.profile-order-status--accepted {
    background: rgba(58, 125, 79, 0.11);
    color: #28683c;
}

.profile-order-status--failed,
.profile-order-status--canceled {
    background: rgba(153, 55, 33, 0.1);
    color: #8b3823;
}

.profile-order-card__top { flex-wrap: wrap; }
.profile-order-status--delivery { max-width: 100%; text-align: center; line-height: 1.25; }

.profile-order-card__meta {
    margin-top: 10px;
    padding: 8px 0;
    border-top: 1px solid rgba(49, 37, 29, 0.08);
    border-bottom: 1px solid rgba(49, 37, 29, 0.08);
}

.profile-order-card__meta span:last-child {
    max-width: 65%;
    text-align: right;
}

.profile-delivery {
    margin-top: 10px;
    padding: 11px 12px 9px;
    border: 1px solid rgba(49, 37, 29, 0.09);
    border-radius: 10px;
    background: #faf8f4;
}

.profile-delivery__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.profile-delivery__head strong {
    color: var(--ink);
    font-size: 0.78rem;
}

.profile-delivery__head p,
.profile-delivery__notice {
    margin: 3px 0 0;
    color: var(--ink-soft);
    font-size: 0.7rem;
    line-height: 1.35;
}

.profile-delivery__head button {
    min-height: 32px;
    padding: 4px 0 4px 8px;
    border: 0;
    background: transparent;
    color: var(--accent-deep);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 750;
    cursor: pointer;
}

.profile-delivery__head button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.profile-delivery__head button:disabled { opacity: 0.55; cursor: wait; }

.profile-delivery__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.profile-delivery__steps li {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 5px;
    color: #8a8176;
    font-size: 0.63rem;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
}

.profile-delivery__steps li:not(:last-child)::after {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #dcd4ca;
    content: "";
}

.profile-delivery__dot {
    position: relative;
    z-index: 1;
    width: 10px;
    height: 10px;
    border: 2px solid #c9beb1;
    border-radius: 50%;
    background: #faf8f4;
}

.profile-delivery__steps li.is-complete,
.profile-delivery__steps li.is-current { color: var(--ink); font-weight: 750; }
.profile-delivery__steps li.is-complete .profile-delivery__dot { border-color: #4d8a61; background: #4d8a61; }
.profile-delivery__steps li.is-complete::after { background: #4d8a61; }
.profile-delivery__steps li.is-current .profile-delivery__dot { border-color: var(--accent); background: var(--accent); }
.profile-delivery__notice:empty { display: none; }
.profile-delivery__notice.is-error { color: #8b3823; }

.profile-order-card[data-delivery-state="on_way"] .profile-order-status--delivery,
.profile-order-card[data-delivery-state="delivered"] .profile-order-status--delivery {
    background: rgba(58, 125, 79, 0.11);
    color: #28683c;
}

.profile-order-card[data-delivery-state="cancelled"] .profile-order-status--delivery {
    background: rgba(153, 55, 33, 0.1);
    color: #8b3823;
}

.profile-order-card[data-delivery-state="needs_help"] .profile-order-status--delivery {
    background: rgba(153, 55, 33, 0.1);
    color: #8b3823;
}

.profile-order-items {
    display: grid;
    gap: 6px;
    padding: 9px 0;
}

.profile-order-items strong {
    color: var(--ink);
    white-space: nowrap;
}

.profile-order-card__bottom {
    align-items: center;
    padding-top: 9px;
    border-top: 1px solid rgba(49, 37, 29, 0.08);
    font-size: 0.82rem;
}

.profile-order-card__bottom a {
    color: var(--accent-deep);
    font-weight: 750;
}

.profile-orders__empty {
    display: grid;
    gap: 5px;
    padding: 22px;
    border: 1px dashed rgba(49, 37, 29, 0.15);
    border-radius: 12px;
    color: var(--ink-soft);
    font-size: 0.84rem;
    text-align: center;
}

.profile-orders__empty strong {
    color: var(--ink);
    font-size: 0.95rem;
}

@media (max-width: 860px) {
    .profile-shell {
        padding: 18px 0 40px;
    }

    .profile-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .cart-drawer__header {
        gap: 8px;
    }

    .cart-drawer__header-actions {
        gap: 5px;
    }

    .cart-clear-button,
    .cart-drawer__header .ghost-button {
        min-height: 34px;
        padding-inline: 9px;
        font-size: 0.72rem;
    }

    .cart-item {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        gap: 9px;
        padding: 10px;
    }

    .cart-item img {
        width: 58px;
        height: 58px;
        border-radius: 10px;
    }

    .auth-card--verify {
        width: min(100% - 18px, 430px);
        padding: 18px;
    }

    .profile-card {
        padding: 16px;
    }

    .profile-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .profile-field {
        grid-column: 1 / -1;
    }

    .account-deletion-entry {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .account-delete-shell {
        padding: 18px 0 40px;
    }

    .account-delete-card {
        padding: 18px 16px;
    }

    .account-delete-actions {
        grid-template-columns: 1fr;
    }

    .profile-orders__head {
        padding: 16px 16px 12px;
    }

    .profile-orders__list {
        padding: 9px;
    }

    .profile-order-card {
        padding: 11px;
    }

    .profile-order-card__top,
    .profile-order-card__bottom,
    .profile-order-items > div {
        gap: 8px;
    }
}

/* 2026-08-27 — standalone customer order history with compact filters. */
.profile-layout--account {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.order-history-shell {
    width: min(100%, 980px);
    margin: 0 auto;
}

.profile-orders--standalone {
    overflow: hidden;
}

.profile-orders__head--history {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.profile-orders__head--history h1 {
    margin: 4px 0 0;
    font-family: var(--font-ui);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.15;
}

.order-history-count {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(183, 132, 52, 0.13);
    color: #73501d;
    font-size: 0.86rem;
    font-weight: 850;
}

.order-history-filters {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(49, 37, 29, 0.09);
    background: rgba(247, 243, 237, 0.58);
}

.order-history-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(49, 37, 29, 0.09);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.82);
}

.order-history-tab {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 8px;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.order-history-tab:hover,
.order-history-tab:focus-visible {
    color: var(--ink);
    outline: none;
}

.order-history-tab.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 3px 10px rgba(44, 32, 22, 0.1);
}

.order-history-period {
    display: flex;
    align-items: flex-end;
    gap: 7px;
}

.order-history-period label {
    display: grid;
    gap: 4px;
}

.order-history-period label > span {
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 750;
}

.order-history-period select,
.order-history-period button {
    min-height: 38px;
    border: 1px solid rgba(49, 37, 29, 0.13);
    border-radius: 9px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 750;
}

.order-history-period select {
    min-width: 138px;
    padding: 0 34px 0 10px;
    background: #fff;
    color: var(--ink);
}

.order-history-period button {
    padding: 0 12px;
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

.order-history-reset {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 700;
}

.orders-load-more {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
    border: 1px solid rgba(49, 37, 29, 0.12);
    border-radius: 11px;
    background: rgba(247, 243, 237, 0.72);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.orders-load-more__spinner {
    width: 15px;
    height: 15px;
    display: none;
    border: 2px solid rgba(49, 37, 29, 0.16);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: hani-orders-spin 0.7s linear infinite;
}

.orders-load-more.is-loading {
    pointer-events: none;
    opacity: 0.72;
}

.orders-load-more.is-loading .orders-load-more__spinner {
    display: block;
}

.orders-load-more.is-error {
    border-color: rgba(153, 55, 33, 0.22);
    color: #8b3823;
}

@keyframes hani-orders-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 820px) {
    .order-history-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .order-history-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .order-history-tabs::-webkit-scrollbar {
        display: none;
    }

    .order-history-period {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .profile-orders__head--history {
        align-items: flex-start;
    }

    .order-history-filters {
        padding: 11px 9px;
    }

    .order-history-period label {
        flex: 1 1 150px;
    }

    .order-history-period select {
        width: 100%;
    }

    .order-history-period button {
        flex: 1 1 auto;
    }

    .profile-order-card__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .profile-order-card__meta span:last-child {
        max-width: 100%;
        text-align: left;
    }
}

/* 2026-08-28: compact cabinet icon, scroll-safe account menu and franchise word wrapping. */
.header-link--account,
.header-link--login-icon {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px;
    padding: 0 !important;
    border-radius: 50% !important;
}
.account-menu__toggle-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.account-menu__panel {
    min-width: 250px;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.franchise-support-grid article {
    min-width: 0;
}
.franchise-support-grid h3 {
    max-width: 100%;
    font-size: clamp(0.9rem, 1.25vw, 1.08rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}
@media (max-width: 900px) {
    .header-link--account,
    .header-link--login-icon {
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
    }
    .account-menu__toggle-icon {
        width: 20px;
        height: 20px;
    }
    .account-menu__panel {
        right: -4px;
        max-width: min(290px, calc(100vw - 24px));
    }
}

/* 2026-08-28: compact icon-only cart trigger for site and Android WebView. */
.site-header__actions > .cart-button.cart-button--icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid rgba(215, 166, 67, 0.52);
    border-radius: 13px;
    background: linear-gradient(145deg, #fffdf8, #f7ead0);
    color: #1b1712;
    box-shadow: 0 8px 22px rgba(34, 24, 15, 0.14);
}

.cart-button__icon {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header__actions > .cart-button.cart-button--icon strong {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 21px;
    min-height: 21px;
    padding: 0 4px;
    border: 2px solid #111;
    background: var(--gold);
    font-size: 0.7rem;
    line-height: 1;
}

@media (max-width: 900px) {
    .site-header__actions > .cart-button.cart-button--icon {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        border-radius: 11px !important;
    }
}

/* 2026-08-28: balanced mobile header and tactile retail cart motion. */
.header-contact__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-flight {
    position: fixed;
    z-index: 420;
    display: block;
    pointer-events: none;
    border: 2px solid rgba(244, 190, 76, 0.88);
    border-radius: 14px;
    background: linear-gradient(145deg, #fff8e8, #eab74b);
    background-position: center;
    background-size: cover;
    box-shadow: 0 12px 28px rgba(38, 25, 14, 0.28);
    will-change: transform, opacity;
}

.cart-button--icon.is-popping {
    animation: hani-cart-pop 0.48s cubic-bezier(.2,.8,.2,1);
}

.cart-button--icon.is-popping strong {
    animation: hani-cart-count-pop 0.48s cubic-bezier(.2,.8,.2,1);
}

@keyframes hani-cart-pop {
    0%, 100% { transform: scale(1) rotate(0); }
    35% { transform: scale(1.14) rotate(-5deg); }
    66% { transform: scale(.96) rotate(2deg); }
}

@keyframes hani-cart-count-pop {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.35); }
}

.cart-item {
    transform-origin: center;
    transition: opacity 0.24s ease, transform 0.24s ease, max-height 0.24s ease, margin 0.24s ease, padding 0.24s ease;
}

.cart-item.is-removing {
    max-height: 0 !important;
    margin-block: -5px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-width: 0 !important;
    opacity: 0;
    overflow: hidden;
    transform: translateX(22px) scale(.96);
}

.cart-item__remove {
    align-self: start;
    display: inline-grid;
    place-items: center;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border: 1px solid rgba(135, 61, 39, 0.18);
    border-radius: 50%;
    background: rgba(135, 61, 39, 0.06);
    color: #873d27;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.cart-item__remove:hover,
.cart-item__remove:focus-visible {
    border-color: rgba(135, 61, 39, 0.38);
    background: rgba(135, 61, 39, 0.13);
    outline: none;
    transform: scale(1.06);
}

.cart-item__remove svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

@media (max-width: 900px) {
    .site-header__inner {
        position: relative;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        grid-template-areas: "menu search cart" !important;
        gap: 6px !important;
        min-height: 100px;
        padding: 58px 0 8px !important;
    }

    .brand-mark {
        position: absolute !important;
        top: 8px;
        left: 50%;
        z-index: 2;
        width: auto !important;
        margin: 0 !important;
        transform: translateX(-50%);
    }

    .brand-mark__logo {
        width: 88px !important;
    }

    .site-header__utility {
        position: absolute !important;
        top: 6px;
        left: 0;
        z-index: 2;
        justify-content: flex-start !important;
        gap: 4px !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    .lang-switch {
        order: 0 !important;
        height: 34px !important;
        min-height: 34px !important;
    }

    .lang-switch__item {
        min-width: 27px !important;
        min-height: 32px !important;
        line-height: 32px !important;
    }

    .header-link--contacts {
        order: 1 !important;
        display: inline-grid !important;
        place-items: center;
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 !important;
        border: 1px solid rgba(244, 190, 76, 0.28) !important;
        border-radius: 50% !important;
        background: rgba(244, 190, 76, 0.08) !important;
        color: #f4c25a !important;
    }

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

    .site-header__actions > .account-menu,
    .site-header__actions > .header-link--login-icon {
        position: absolute !important;
        top: 6px;
        right: 0;
        z-index: 3;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    .site-header__actions > .account-menu > .header-link--account,
    .site-header__actions > .header-link--login-icon {
        display: inline-grid !important;
        place-items: center;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        border: 1px solid rgba(215, 166, 67, 0.52) !important;
        border-radius: 50% !important;
        background: linear-gradient(145deg, rgba(244, 190, 76, 0.16), rgba(244, 190, 76, 0.06)) !important;
        color: #f4c25a !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18) !important;
    }

    .account-menu__toggle-icon {
        width: 23px !important;
        height: 23px !important;
    }

    .header-menu summary {
        width: 62px !important;
        min-width: 62px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 8px !important;
        font-size: 0.74rem !important;
    }

    .header-search {
        height: 42px !important;
        min-height: 42px !important;
    }

    .header-search input,
    .header-search__button {
        height: 42px !important;
        min-height: 42px !important;
    }

    .header-search input {
        padding-left: 13px !important;
        font-size: 0.82rem !important;
    }

    .site-header__actions > .cart-button.cart-button--icon {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    .header-menu__head > strong {
        color: #211914 !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        opacity: 1 !important;
    }

    .header-menu__panel a {
        color: #2b211a !important;
        opacity: 1 !important;
    }
}

@media (max-width: 380px) {
    .brand-mark__logo {
        width: 80px !important;
    }

    .lang-switch__item {
        min-width: 25px !important;
    }

    .header-link--contacts {
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
    }

    .header-menu summary {
        width: 58px !important;
        min-width: 58px !important;
        padding-inline: 7px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-button--icon.is-popping,
    .cart-button--icon.is-popping strong,
    .cart-item,
    .cart-item__remove {
        animation: none !important;
        transition: none !important;
    }
}

/* Final mobile header overrides live at the end of the bundle so older
   compatibility sections cannot shrink or visually offset the logo again. */
@media (max-width: 900px) {
    .site-header .site-header__inner > .brand-mark {
        top: 5px !important;
        left: 50% !important;
        transform: translateX(-39%) !important;
    }

    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 112px !important;
        max-width: none !important;
    }

    .site-header .header-menu > summary::after {
        content: none !important;
        display: none !important;
    }
}

@media (max-width: 380px) {
    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 102px !important;
    }
}

/* Keep page entrance visible without leaving a transformed containing block;
   fixed mobile modals must stay anchored to the viewport after page scroll. */
@keyframes hani-main-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}

main {
    animation-name: hani-main-enter !important;
    animation-duration: 0.34s !important;
    animation-timing-function: ease-out !important;
    animation-fill-mode: none !important;
}

/* 2026-08-28: delivery/cart follow-up and consistent mobile catalog modals. */
@media (max-width: 900px) {
    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 120px !important;
    }
}

@media (max-width: 380px) {
    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 110px !important;
    }
}

.slider-arrow {
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    top: calc(50% - 9px) !important;
    transform: translateY(-50%);
}

.slider-arrow::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
}

.slider-arrow--prev::before {
    transform: translateX(2px) rotate(135deg);
}

.slider-arrow--next::before {
    transform: translateX(-2px) rotate(-45deg);
}

@media (max-width: 760px) {
    .modal-shell[data-product-detail-modal],
    .modal-shell[data-promo-detail-modal],
    .modal-shell[data-image-lightbox-modal] {
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px !important;
    }

    .modal-shell[data-product-detail-modal] .sheet-modal--product,
    .modal-shell[data-promo-detail-modal] .sheet-modal--promo,
    .modal-shell[data-image-lightbox-modal] .sheet-modal--image {
        position: relative !important;
        width: min(440px, calc(100vw - 24px)) !important;
        max-width: 440px !important;
        max-height: calc(100dvh - 24px) !important;
        margin: auto !important;
        padding: 0 !important;
        border-radius: 16px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-shadow: 0 22px 60px rgba(25, 18, 13, 0.24) !important;
    }

    .sheet-modal--promo .sheet-modal__header,
    .sheet-modal--image .sheet-modal__header {
        position: sticky !important;
        top: 0 !important;
        z-index: 2;
        align-items: center !important;
        gap: 10px !important;
        width: 100%;
        margin: 0 !important;
        padding: 11px 13px !important;
        border-bottom: 1px solid rgba(31, 25, 20, 0.08);
        background: rgba(255, 253, 250, 0.96) !important;
        backdrop-filter: blur(10px);
    }

    .sheet-modal--promo .sheet-modal__header h2,
    .sheet-modal--image .sheet-modal__header h2 {
        margin: 0 !important;
        font-size: 1.08rem !important;
        line-height: 1.18 !important;
        overflow-wrap: anywhere;
    }

    .sheet-modal--promo .sheet-modal__header .ghost-button,
    .sheet-modal--image .sheet-modal__header .ghost-button {
        flex: 0 0 auto;
        min-height: 34px !important;
        padding: 0 10px !important;
        border-radius: 9px !important;
        font-size: 0.74rem !important;
    }

    .sheet-modal--promo .promo-detail {
        gap: 12px !important;
        padding: 12px 13px 14px !important;
    }

    .sheet-modal--image .image-lightbox__image {
        width: calc(100% - 24px) !important;
        max-height: calc(100dvh - 112px) !important;
        margin: 12px !important;
    }
}

/* 2026-08-28: compact app header, five-action bottom navigation and legal consents. */
.header-menu__icon {
    display: none;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.mobile-bottom-nav {
    display: none;
}

.auth-consents {
    grid-column: 1 / -1;
    display: grid;
    gap: 9px;
    padding: 12px;
    border: 1px solid rgba(31, 25, 20, 0.1);
    border-radius: 12px;
    background: rgba(255, 252, 247, 0.76);
}

.auth-consents .auth-checkbox {
    margin: 0;
}

.auth-checkbox--legal {
    align-items: flex-start;
}

.auth-checkbox--legal .auth-checkbox__input {
    margin-top: 1px;
}

.auth-checkbox--legal a {
    color: var(--accent-deep);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.auth-consent-error {
    margin: -4px 0 2px 28px;
}

@media (max-width: 900px) {
    :root {
        --hani-mobile-nav-h: 64px;
    }

    html {
        scroll-padding-bottom: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 12px);
    }

    body {
        padding-bottom: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px));
    }

    .site-header__frame {
        width: calc(100% - 20px) !important;
    }

    .site-header {
        filter: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .site-header__inner {
        position: relative;
        display: block !important;
        min-height: 60px !important;
        padding: 0 !important;
    }

    .site-header .site-header__inner > .brand-mark {
        top: 50% !important;
        left: 50% !important;
        z-index: 2;
        transform: translate(-39%, -50%) !important;
    }

    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 120px !important;
        max-width: none !important;
    }

    .header-menu {
        position: absolute !important;
        top: 9px !important;
        left: 0 !important;
        z-index: 4;
        transform: none !important;
    }

    .header-menu > summary {
        display: inline-grid !important;
        place-items: center !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        border: 1px solid rgba(244, 190, 76, 0.4) !important;
        border-radius: 50% !important;
        background: linear-gradient(145deg, rgba(244, 190, 76, 0.16), rgba(244, 190, 76, 0.06)) !important;
        color: #f4c25a !important;
        box-shadow: 0 7px 18px rgba(0, 0, 0, 0.16) !important;
    }

    .header-menu__icon {
        display: block;
    }

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

    .header-menu__panel {
        top: calc(66px + env(safe-area-inset-top, 0px)) !important;
        max-height: calc(100dvh - var(--hani-mobile-nav-h) - 82px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    }

    .site-header__utility {
        position: absolute !important;
        top: 50% !important;
        right: 0 !important;
        left: auto !important;
        z-index: 4;
        width: auto !important;
        height: 32px !important;
        min-height: 32px !important;
        transform: translateY(-50%);
    }

    .site-header__utility .header-link--contacts {
        display: none !important;
    }

    .site-header__utility .lang-switch {
        gap: 1px !important;
        height: 30px !important;
        min-height: 30px !important;
        padding: 2px !important;
        border-color: rgba(31, 25, 20, 0.1) !important;
        background: rgba(255, 255, 255, 0.7) !important;
        box-shadow: 0 2px 8px rgba(31, 25, 20, 0.06) !important;
    }

    .site-header__utility .lang-switch__item {
        min-width: 28px !important;
        min-height: 26px !important;
        padding: 0 6px !important;
        border-radius: 999px !important;
        font-size: 0.68rem !important;
        line-height: 26px !important;
        letter-spacing: 0.035em !important;
    }

    .site-header__utility .lang-switch__item.is-active {
        box-shadow: 0 2px 7px rgba(181, 126, 60, 0.2) !important;
    }

    .site-header__actions {
        position: static !important;
        display: block !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header__actions > .account-menu {
        position: static !important;
        display: block !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
    }

    .site-header__actions > .account-menu > .header-link--account,
    .site-header__actions > .header-link--login-icon,
    .site-header__actions > .cart-button {
        display: none !important;
    }

    .account-menu__panel {
        position: fixed !important;
        top: auto !important;
        right: auto !important;
        bottom: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 10px) !important;
        left: 50% !important;
        z-index: 112 !important;
        width: min(328px, calc(100vw - 24px)) !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: min(68dvh, 560px) !important;
        transform: translateX(-50%);
        overscroll-behavior: contain;
    }

    .account-menu__panel::before {
        display: none !important;
    }

    .account-menu__item {
        min-height: 42px;
    }

    .header-search {
        position: fixed !important;
        right: 12px !important;
        bottom: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 10px) !important;
        left: 12px !important;
        z-index: 113 !important;
        display: none !important;
        grid-template-columns: minmax(0, 1fr) 46px !important;
        justify-self: stretch !important;
        width: auto !important;
        height: 50px !important;
        min-height: 50px !important;
        padding: 3px !important;
        border: 1px solid rgba(176, 126, 44, 0.28) !important;
        border-radius: 15px !important;
        background: rgba(255, 253, 249, 0.98) !important;
        box-shadow: 0 18px 46px rgba(31, 25, 20, 0.24) !important;
        backdrop-filter: blur(16px);
    }

    .header-search.is-mobile-open {
        display: grid !important;
        animation: hani-bottom-surface-in 0.22s cubic-bezier(.2,.8,.2,1);
    }

    .header-search input,
    .header-search__button {
        height: 42px !important;
        min-height: 42px !important;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 110;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        min-height: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px));
        padding: 5px max(5px, env(safe-area-inset-right, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)) max(5px, env(safe-area-inset-left, 0px));
        border-top: 1px solid rgba(31, 25, 20, 0.1);
        background: rgba(255, 253, 249, 0.97);
        box-shadow: 0 -10px 34px rgba(31, 25, 20, 0.12);
        backdrop-filter: blur(18px);
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    body.modal-open .mobile-bottom-nav {
        pointer-events: none;
        opacity: 0;
        transform: translateY(100%);
    }

    .mobile-bottom-nav__item {
        position: relative;
        display: flex;
        min-width: 0;
        min-height: 54px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        padding: 4px 2px 3px;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: #4d4035;
        font: inherit;
        font-size: 0.64rem;
        font-weight: 650;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    }

    .mobile-bottom-nav__item.is-active {
        background: rgba(218, 169, 75, 0.14);
        color: #9b6427;
        outline: none;
    }

    .mobile-bottom-nav__item:active {
        transform: scale(.94);
    }

    .mobile-bottom-nav__item > svg,
    .mobile-bottom-nav__icon-wrap > svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-bottom-nav__icon-wrap {
        position: relative;
        display: grid;
        place-items: center;
    }

    .mobile-bottom-nav__badge {
        position: absolute;
        top: -7px;
        right: -10px;
        display: grid;
        min-width: 18px;
        height: 18px;
        place-items: center;
        padding: 0 4px;
        border: 2px solid #fffdf9;
        border-radius: 999px;
        background: var(--gold);
        color: #1d1711;
        font-size: 0.6rem;
        line-height: 1;
    }

    .mobile-bottom-nav__item.is-popping {
        animation: hani-cart-pop 0.48s cubic-bezier(.2,.8,.2,1);
    }

    .page-sidebar__quicklinks {
        display: none !important;
    }

    .page-sidebar__sticky-head {
        padding-bottom: 0 !important;
    }

    .page-sidebar__nav[data-category-carousel] {
        position: relative;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        margin: 0 !important;
        padding: 1px 2px 8px !important;
        scroll-behavior: smooth;
        scrollbar-width: none !important;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .page-sidebar__nav[data-category-carousel]::-webkit-scrollbar {
        display: none;
    }

    .page-sidebar__nav[data-category-carousel] a {
        flex: 0 0 auto !important;
        min-height: 36px !important;
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
        font-weight: 650 !important;
    }

    .to-top {
        bottom: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 12px) !important;
    }

    .cookie-banner {
        bottom: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 8px) !important;
    }

    @keyframes hani-bottom-surface-in {
        from { opacity: 0; transform: translateY(8px) scale(.985); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
}

@media (max-width: 380px) {
    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 110px !important;
    }

    .mobile-bottom-nav__item {
        font-size: 0.6rem;
    }

    .mobile-bottom-nav__item > svg,
    .mobile-bottom-nav__icon-wrap > svg {
        width: 21px;
        height: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-bottom-nav,
    .mobile-bottom-nav__item,
    .header-search.is-mobile-open {
        animation: none !important;
        transition: none !important;
    }
}

/* A page-level scroll shortcut has no useful action while a cart or modal is open. */
body.modal-open .to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(0.92) !important;
}

/* 2026-08-29: separate catalog/account drawers and explicit close controls. */
.account-menu__backdrop,
.account-menu__head {
    display: none;
}

.account-menu__close,
.mobile-search-modal__close {
    font: inherit;
}

.account-menu__close svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

@media (max-width: 900px) {
    body.has-account-menu-open,
    body.has-header-menu-open {
        overflow: hidden !important;
        overscroll-behavior: none;
    }

    .site-header .header-menu {
        position: static !important;
        display: block !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
    }

    .site-header .header-menu > summary {
        display: none !important;
    }

    .header-menu__backdrop {
        z-index: 190 !important;
        background: rgba(18, 14, 10, 0.5) !important;
    }

    .header-menu__panel {
        position: fixed !important;
        inset: 0 auto 0 0 !important;
        z-index: 191 !important;
        box-sizing: border-box !important;
        width: min(342px, 88vw) !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        padding: 0 9px max(12px, env(safe-area-inset-bottom, 0px)) !important;
        border-radius: 0 20px 20px 0 !important;
        background: #fffaf3 !important;
        box-shadow: 24px 0 64px rgba(31, 22, 15, 0.28) !important;
        animation: hani-left-drawer-in 0.24s cubic-bezier(.2,.8,.2,1) both !important;
    }

    .header-menu__head {
        min-height: 60px !important;
        margin: 0 -1px 6px !important;
        padding: max(9px, env(safe-area-inset-top, 0px)) 5px 8px 11px !important;
        background: #fffaf3 !important;
    }

    .header-menu__head > strong {
        color: #211914 !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
    }

    .account-menu__backdrop {
        position: fixed;
        inset: 0;
        z-index: 190;
        background: rgba(18, 14, 10, 0.5);
        backdrop-filter: blur(1.5px);
    }

    .account-menu.is-open .account-menu__backdrop {
        display: block;
    }

    .account-menu__panel {
        position: fixed !important;
        inset: 0 auto 0 0 !important;
        z-index: 191 !important;
        display: flex !important;
        box-sizing: border-box !important;
        width: min(342px, 88vw) !important;
        height: 100dvh !important;
        max-width: none !important;
        max-height: 100dvh !important;
        padding: 0 9px max(12px, env(safe-area-inset-bottom, 0px)) !important;
        border-radius: 0 20px 20px 0 !important;
        background: #fffaf3 !important;
        box-shadow: 24px 0 64px rgba(31, 22, 15, 0.28) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-104%) !important;
        animation: none !important;
        transition: transform 0.24s cubic-bezier(.2,.8,.2,1), opacity 0.18s ease, visibility 0.24s step-end;
    }

    .account-menu.is-open .account-menu__panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0) !important;
        transition: transform 0.24s cubic-bezier(.2,.8,.2,1), opacity 0.18s ease, visibility 0s;
    }

    .account-menu__head {
        position: sticky;
        top: 0;
        z-index: 3;
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 60px;
        margin: 0 -1px 6px;
        padding: max(9px, env(safe-area-inset-top, 0px)) 5px 8px 11px;
        border-bottom: 1px solid rgba(39, 29, 21, 0.1);
        background: #fffaf3;
    }

    .account-menu__head > strong {
        color: #211914;
        font-size: 1rem;
        font-weight: 800;
    }

    .account-menu__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 38px;
        padding: 0 10px 0 12px;
        border: 1px solid rgba(39, 29, 21, 0.13);
        border-radius: 11px;
        background: rgba(255, 255, 255, 0.72);
        color: #332820;
        font-size: 0.76rem;
        font-weight: 750;
    }

    .account-menu__close svg {
        width: 15px;
        height: 15px;
    }

    .site-header__utility .lang-switch {
        border-color: rgba(244, 190, 76, 0.24) !important;
        background: rgba(255, 255, 255, 0.045) !important;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02) !important;
    }

    .site-header__utility .lang-switch__item {
        color: rgba(255, 244, 226, 0.76) !important;
    }

    .site-header__utility .lang-switch__item.is-active {
        background: rgba(244, 190, 76, 0.2) !important;
        color: #ffdb86 !important;
        box-shadow: none !important;
    }

    .mobile-search-modal__head {
        position: sticky;
        top: 0;
        z-index: 5;
        min-height: 48px;
        background: #fffdf9;
    }

    .mobile-search-modal__close {
        display: inline-flex !important;
        width: auto !important;
        min-width: 0 !important;
        height: 40px !important;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 11px 0 13px !important;
        border-radius: 11px !important;
        font-size: 0.78rem;
        font-weight: 750;
        white-space: nowrap;
    }

    .mobile-search-modal__close svg {
        width: 16px !important;
        height: 16px !important;
    }

    @keyframes hani-left-drawer-in {
        from { opacity: 0; transform: translateX(-104%); }
        to { opacity: 1; transform: translateX(0); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-menu__panel,
    .account-menu__panel {
        animation: none !important;
        transition: none !important;
    }
}

/* Keep the last drawer items above the app navigation and Android safe area. */
@media (max-width: 900px) {
    .header-menu__panel,
    .account-menu__panel {
        padding-bottom: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 18px) !important;
        scroll-padding-bottom: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 18px) !important;
    }
}

/* ============================================================================
   2026-08-29 — premium mobile storefront.
   A restrained ivory / graphite / antique-gold system shared by the website
   and Android WebView. This final layer intentionally wins over legacy mobile
   compatibility blocks above it.
   ============================================================================ */

@media (max-width: 900px) {
    :root {
        --hani-premium-ink: #17120f;
        --hani-premium-ink-soft: #5f554c;
        --hani-premium-ivory: #f7f2e8;
        --hani-premium-paper: #fffdf8;
        --hani-premium-gold: #d4a541;
        --hani-premium-gold-soft: #f1d78f;
        --hani-premium-cocoa: #6d3422;
        --hani-premium-line: rgba(67, 49, 35, 0.11);
        --hani-premium-shadow: 0 16px 40px rgba(48, 34, 23, 0.11);
        --hani-mobile-nav-h: 68px;
    }

    html {
        background: var(--hani-premium-ink);
        -webkit-tap-highlight-color: transparent;
    }

    body {
        background:
            radial-gradient(circle at 96% 4%, rgba(212, 165, 65, 0.09), transparent 28rem),
            linear-gradient(180deg, #fbf7ef 0%, var(--hani-premium-ivory) 46%, #f4eee3 100%) !important;
        color: var(--hani-premium-ink);
    }

    /* Header: one dark jewellery-like bar, visually joined to Android bars. */
    .site-header {
        border-bottom: 1px solid rgba(239, 198, 103, 0.22) !important;
        background:
            radial-gradient(circle at 50% -90%, rgba(212, 165, 65, 0.2), transparent 66%),
            linear-gradient(145deg, #100d0b 0%, #1c1713 56%, #0e0c0a 100%) !important;
        box-shadow: 0 10px 28px rgba(18, 13, 10, 0.2) !important;
    }

    .site-header::after {
        content: "";
        position: absolute;
        right: 18%;
        bottom: -1px;
        left: 18%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(239, 198, 103, 0.78), transparent);
        pointer-events: none;
    }

    .site-header__frame {
        width: calc(100% - 16px) !important;
    }

    .site-header__inner {
        min-height: 64px !important;
    }

    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 138px !important;
        filter: drop-shadow(0 4px 10px rgba(212, 165, 65, 0.2));
    }

    .mobile-app-menu-toggle {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        border: 1px solid rgba(239, 198, 103, 0.48) !important;
        background: linear-gradient(145deg, rgba(239, 198, 103, 0.17), rgba(255, 255, 255, 0.025)) !important;
        color: #f0c961 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.2) !important;
        transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
    }

    .mobile-app-menu-toggle:active {
        transform: translateY(-50%) scale(0.93) !important;
    }

    .site-header__utility .lang-switch {
        height: 32px !important;
        min-height: 32px !important;
        padding: 2px !important;
        border: 1px solid rgba(239, 198, 103, 0.2) !important;
        background: rgba(255, 255, 255, 0.045) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
        backdrop-filter: blur(12px) !important;
    }

    .site-header__utility .lang-switch__item {
        min-width: 28px !important;
        min-height: 28px !important;
        color: rgba(255, 248, 232, 0.63) !important;
        line-height: 28px !important;
    }

    .site-header__utility .lang-switch__item.is-active {
        background: linear-gradient(145deg, rgba(226, 181, 77, 0.32), rgba(167, 115, 33, 0.2)) !important;
        color: #ffe7a3 !important;
        box-shadow: inset 0 0 0 1px rgba(255, 226, 145, 0.15) !important;
    }

    /* City, categories and fulfillment feel like one premium control stack. */
    .home-shell {
        padding-top: 14px !important;
    }

    .page-sidebar__panel {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .sidebar-city {
        min-height: 52px !important;
        padding: 0 16px !important;
        border: 1px solid rgba(122, 87, 42, 0.13) !important;
        border-radius: 17px !important;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(251, 245, 234, 0.93)) !important;
        color: var(--hani-premium-ink) !important;
        box-shadow: 0 10px 26px rgba(57, 40, 26, 0.09), inset 0 1px 0 #fff !important;
        font-size: 0.92rem !important;
        font-weight: 760 !important;
    }

    .sidebar-city__pin {
        color: #a87424 !important;
    }

    .page-sidebar__nav[data-category-carousel] {
        gap: 8px !important;
        padding: 3px 2px 10px !important;
    }

    .page-sidebar__nav[data-category-carousel] a {
        min-height: 38px !important;
        padding: 9px 14px !important;
        border: 1px solid rgba(94, 70, 48, 0.09) !important;
        border-radius: 13px !important;
        background: rgba(255, 253, 248, 0.9) !important;
        color: #342b24 !important;
        box-shadow: 0 6px 16px rgba(52, 37, 25, 0.055) !important;
        font-size: 0.78rem !important;
        font-weight: 720 !important;
        letter-spacing: -0.01em;
    }

    .page-sidebar__nav[data-category-carousel] a.is-active {
        border-color: rgba(212, 165, 65, 0.52) !important;
        background: linear-gradient(145deg, #211a15, #100d0b) !important;
        color: #f2cd73 !important;
        box-shadow: 0 8px 20px rgba(26, 19, 14, 0.2) !important;
    }

    .fulfillment-strip {
        gap: 5px !important;
        padding: 5px !important;
        border: 1px solid rgba(128, 91, 42, 0.13) !important;
        border-radius: 18px !important;
        background: linear-gradient(150deg, rgba(255, 253, 248, 0.94), rgba(247, 237, 220, 0.9)) !important;
        box-shadow: 0 12px 30px rgba(59, 41, 27, 0.1), inset 0 1px 0 #fff !important;
    }

    .fulfillment-option {
        min-height: 42px !important;
        border-radius: 13px !important;
        color: #4a3b30 !important;
        font-size: 0.83rem !important;
        font-weight: 760 !important;
    }

    .fulfillment-option.is-active {
        border-color: rgba(242, 202, 111, 0.3) !important;
        background: linear-gradient(145deg, #251c17, #110e0c) !important;
        color: #f6d77e !important;
        box-shadow: 0 8px 18px rgba(29, 20, 14, 0.2), inset 0 1px 0 rgba(255, 231, 166, 0.1) !important;
    }

    .fulfillment-address {
        min-height: 45px !important;
        margin-top: 1px !important;
        padding: 0 38px 0 14px !important;
        border: 1px solid rgba(126, 86, 37, 0.12) !important;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, 0.78) !important;
        color: #3f332a !important;
        font-size: 0.82rem !important;
        font-weight: 680 !important;
    }

    /* Editorial category titles and richer product photography. */
    .category-section {
        margin-top: 26px !important;
    }

    .category-section__head {
        margin-bottom: 13px !important;
        padding: 0 1px 9px !important;
        border-bottom: 1px solid rgba(73, 54, 39, 0.1) !important;
    }

    .category-section__head::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 44px;
        height: 1px;
        background: var(--hani-premium-gold);
    }

    .category-section__head {
        position: relative;
    }

    .category-section__head h3,
    .category-section__head h3 a {
        color: var(--hani-premium-ink) !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: clamp(1.35rem, 6vw, 1.62rem) !important;
        font-weight: 700 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.035em !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px 10px !important;
    }

    .product-card {
        min-width: 0 !important;
        border: 1px solid rgba(77, 56, 39, 0.09) !important;
        border-radius: 20px !important;
        background: linear-gradient(155deg, #fffefa 0%, #fffaf1 100%) !important;
        box-shadow: 0 12px 28px rgba(52, 36, 23, 0.085), inset 0 1px 0 #fff !important;
        overflow: hidden !important;
        transform-origin: 50% 70%;
    }

    .product-card::before,
    .product-card::after {
        display: none !important;
    }

    .product-card__media {
        position: relative;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1.02 !important;
        overflow: hidden !important;
        border-radius: 19px 19px 0 0 !important;
        background: linear-gradient(145deg, #ede6da, #faf6ef) !important;
    }

    .product-card__media::after {
        display: block !important;
        background: linear-gradient(180deg, transparent 62%, rgba(22, 16, 12, 0.08)) !important;
        opacity: 1 !important;
    }

    .product-card__media img {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: scale(1.015) !important;
        transition: transform 0.55s cubic-bezier(.2,.8,.2,1), filter 0.35s ease !important;
    }

    .product-card__badge-stack {
        top: 9px !important;
        left: 9px !important;
    }

    .product-card .badge {
        border: 1px solid rgba(255, 222, 139, 0.28) !important;
        background: rgba(20, 15, 12, 0.82) !important;
        color: #f5d477 !important;
        box-shadow: 0 6px 14px rgba(20, 14, 10, 0.18) !important;
        backdrop-filter: blur(10px);
    }

    .product-card__body {
        gap: 9px !important;
        padding: 12px 11px 11px !important;
    }

    .product-card__topline h4 {
        min-height: 2.52em !important;
        color: #211914 !important;
        font-size: 0.91rem !important;
        font-weight: 760 !important;
        line-height: 1.26 !important;
        letter-spacing: -0.018em !important;
    }

    .product-card__controls {
        gap: 7px !important;
    }

    .product-card__pricing strong {
        color: #1d1713 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.09rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em !important;
    }

    .variant-select {
        min-height: 38px !important;
        border-color: rgba(99, 70, 42, 0.14) !important;
        border-radius: 11px !important;
        background-color: rgba(255, 255, 255, 0.78) !important;
        color: #3f3229 !important;
        font-size: 0.77rem !important;
    }

    .product-card__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    .product-card__actions .primary-button {
        min-height: 42px !important;
        border: 1px solid rgba(226, 178, 77, 0.22) !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #7a3b25 0%, #4c241a 52%, #211613 100%) !important;
        color: #fff9ed !important;
        box-shadow: 0 8px 18px rgba(80, 40, 27, 0.2), inset 0 1px 0 rgba(255, 227, 171, 0.13) !important;
        font-size: 0.79rem !important;
        font-weight: 760 !important;
    }

    .product-card__actions .ghost-link {
        display: inline-flex !important;
        width: 100% !important;
        min-height: 39px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 8px !important;
        border: 1px solid rgba(91, 66, 45, 0.11) !important;
        border-radius: 11px !important;
        background: rgba(255, 255, 255, 0.56) !important;
        color: #655044 !important;
        font-size: 0.75rem !important;
        font-weight: 680 !important;
        text-decoration: none !important;
    }

    /* Dark floating navigation visually anchors the WebView to Android. */
    .mobile-bottom-nav {
        min-height: calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px)) !important;
        padding: 6px max(5px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(5px, env(safe-area-inset-left, 0px)) !important;
        border-top: 1px solid rgba(240, 200, 105, 0.24) !important;
        background:
            radial-gradient(circle at 50% 0, rgba(212, 165, 65, 0.12), transparent 54%),
            rgba(18, 14, 12, 0.98) !important;
        box-shadow: 0 -12px 34px rgba(24, 16, 11, 0.2) !important;
        backdrop-filter: blur(22px) !important;
    }

    .mobile-bottom-nav__item {
        min-height: 55px !important;
        gap: 4px !important;
        border-radius: 14px !important;
        color: rgba(255, 248, 234, 0.65) !important;
        font-size: 0.62rem !important;
        font-weight: 650 !important;
        letter-spacing: 0.01em;
    }

    .mobile-bottom-nav__item.is-active {
        background: linear-gradient(145deg, rgba(212, 165, 65, 0.18), rgba(212, 165, 65, 0.05)) !important;
        color: #f3ca69 !important;
        box-shadow: inset 0 0 0 1px rgba(239, 198, 103, 0.12) !important;
    }

    .mobile-bottom-nav__item:focus-visible {
        outline: 1px solid rgba(243, 202, 105, 0.72);
        outline-offset: -2px;
    }

    .mobile-bottom-nav__item > svg,
    .mobile-bottom-nav__icon-wrap > svg {
        width: 23px !important;
        height: 23px !important;
        stroke-width: 1.75 !important;
    }

    .mobile-bottom-nav__badge {
        top: -8px !important;
        right: -11px !important;
        border-color: #15110e !important;
        background: linear-gradient(145deg, #f3ce72, #c8912f) !important;
        color: #17120f !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28) !important;
    }

    /* Search, account and catalog drawers share the same luxury surfaces. */
    .mobile-search-modal__panel,
    .account-menu__panel,
    .header-menu__panel {
        background:
            radial-gradient(circle at 100% 0, rgba(212, 165, 65, 0.11), transparent 18rem),
            linear-gradient(180deg, #fffdf8 0%, #f7f0e5 100%) !important;
    }

    .account-menu__head,
    .header-menu__head {
        min-height: 66px !important;
        margin: 0 -9px 10px !important;
        padding: max(11px, env(safe-area-inset-top, 0px)) 12px 10px 18px !important;
        border-bottom: 1px solid rgba(240, 200, 105, 0.24) !important;
        background: linear-gradient(145deg, #1e1814, #100d0b) !important;
        box-shadow: 0 8px 24px rgba(27, 19, 14, 0.14) !important;
    }

    .account-menu__head > strong,
    .header-menu__head > strong {
        color: #f3cf78 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.08rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.015em;
    }

    .account-menu__close,
    .header-menu__close,
    .mobile-search-modal__close {
        border-color: rgba(240, 200, 105, 0.2) !important;
        background: rgba(255, 255, 255, 0.065) !important;
        color: #f8ead0 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }

    .account-menu__item {
        min-height: 50px !important;
        gap: 12px !important;
        padding: 7px 10px !important;
        border-radius: 13px !important;
        color: #2e251f !important;
        font-size: 0.9rem !important;
        font-weight: 680 !important;
    }

    .account-menu__item svg {
        box-sizing: border-box;
        width: 34px !important;
        height: 34px !important;
        padding: 7px !important;
        border: 1px solid rgba(177, 123, 39, 0.13);
        border-radius: 11px;
        background: rgba(212, 165, 65, 0.1);
        stroke: #9b6b25 !important;
    }

    .account-menu__item:hover,
    .account-menu__item:focus-visible {
        background: rgba(212, 165, 65, 0.12) !important;
        color: #1e1814 !important;
        transform: translateX(2px) !important;
    }

    .header-menu__panel > a {
        min-height: 48px !important;
        margin: 3px 4px !important;
        padding: 0 14px !important;
        border: 1px solid rgba(89, 63, 40, 0.075) !important;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, 0.52) !important;
        color: #332820 !important;
        font-weight: 680 !important;
    }

    .mobile-search-modal__panel {
        gap: 18px !important;
        padding: max(14px, env(safe-area-inset-top, 0px)) 14px max(14px, env(safe-area-inset-bottom, 0px)) !important;
    }

    .mobile-search-modal__head {
        min-height: 54px !important;
        margin: calc(-1 * max(14px, env(safe-area-inset-top, 0px))) -14px 2px !important;
        padding: max(12px, env(safe-area-inset-top, 0px)) 14px 10px !important;
        border-bottom: 1px solid rgba(240, 200, 105, 0.22) !important;
        background: linear-gradient(145deg, #1e1814, #100d0b) !important;
        box-shadow: 0 9px 26px rgba(27, 19, 14, 0.14) !important;
    }

    .mobile-search-modal__head h2 {
        color: #f3cf78 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.23rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em;
    }

    .mobile-search-modal__form {
        min-height: 56px !important;
        border: 1px solid rgba(155, 107, 37, 0.28) !important;
        border-radius: 17px !important;
        background: rgba(255, 254, 250, 0.92) !important;
        box-shadow: 0 13px 30px rgba(48, 33, 22, 0.11), inset 0 1px 0 #fff !important;
    }

    .mobile-search-modal__form:focus-within {
        border-color: rgba(192, 139, 50, 0.72) !important;
        box-shadow: 0 0 0 3px rgba(212, 165, 65, 0.13), 0 13px 30px rgba(48, 33, 22, 0.11) !important;
    }

    .mobile-search-modal__form > button {
        border-radius: 0 16px 16px 0 !important;
        background: linear-gradient(145deg, #251c17, #100d0b) !important;
        color: #efc969 !important;
    }

    .mobile-search-modal__reset {
        border: 1px solid rgba(119, 84, 41, 0.12) !important;
        border-radius: 14px !important;
        background: rgba(255, 253, 248, 0.62) !important;
        color: #8a5f24 !important;
        font-weight: 760 !important;
        box-shadow: inset 0 1px 0 #fff !important;
    }

    /* Cart: premium sheet with stronger hierarchy and a jewellery CTA. */
    .cart-drawer__panel {
        border: 1px solid rgba(212, 165, 65, 0.19) !important;
        border-radius: 24px 0 0 24px !important;
        background:
            radial-gradient(circle at 100% 0, rgba(212, 165, 65, 0.1), transparent 22rem),
            linear-gradient(180deg, #fffefb 0%, #f8f2e8 100%) !important;
        box-shadow: -24px 0 70px rgba(30, 20, 14, 0.24) !important;
    }

    .cart-drawer__header {
        position: sticky !important;
        top: 0;
        z-index: 4;
        padding: 18px 16px 14px !important;
        border-bottom: 1px solid rgba(83, 59, 39, 0.09) !important;
        background: rgba(255, 253, 248, 0.9) !important;
        backdrop-filter: blur(18px) !important;
    }

    .cart-drawer__header .eyebrow {
        color: #9a6b27 !important;
        letter-spacing: 0.19em !important;
    }

    .cart-drawer__header h2 {
        color: #1d1713 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.66rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.035em !important;
    }

    .cart-clear-button,
    .cart-drawer__header .ghost-button {
        min-height: 38px !important;
        padding: 0 11px !important;
        border: 1px solid rgba(104, 75, 52, 0.11) !important;
        border-radius: 11px !important;
        background: rgba(255, 255, 255, 0.64) !important;
        color: #644a3a !important;
    }

    .cart-drawer__body {
        padding: 14px 16px !important;
    }

    .cart-item {
        gap: 11px !important;
        padding: 12px !important;
        border: 1px solid rgba(87, 61, 40, 0.09) !important;
        border-radius: 17px !important;
        background: rgba(255, 255, 255, 0.72) !important;
        box-shadow: 0 9px 22px rgba(51, 35, 23, 0.065), inset 0 1px 0 #fff !important;
    }

    .cart-item img {
        width: 62px !important;
        height: 62px !important;
        border-radius: 13px !important;
        object-fit: cover !important;
        box-shadow: 0 5px 12px rgba(51, 35, 23, 0.1);
    }

    .cart-item__meta h4 {
        color: #211914 !important;
        font-size: 0.91rem !important;
        font-weight: 760 !important;
        line-height: 1.24 !important;
    }

    .cart-drawer__footer {
        padding: 13px 16px max(16px, env(safe-area-inset-bottom, 0px)) !important;
        border-top: 1px solid rgba(86, 61, 41, 0.1) !important;
        background: rgba(255, 252, 246, 0.92) !important;
        box-shadow: 0 -12px 30px rgba(50, 34, 23, 0.08) !important;
        backdrop-filter: blur(18px) !important;
    }

    .cart-total:last-of-type strong {
        color: #211914 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.36rem !important;
    }

    .cart-drawer__footer .primary-button {
        min-height: 50px !important;
        border: 1px solid rgba(238, 194, 96, 0.28) !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #7a3b25 0%, #4c241a 48%, #191210 100%) !important;
        color: #fff9ed !important;
        box-shadow: 0 12px 26px rgba(73, 36, 24, 0.22), inset 0 1px 0 rgba(255, 229, 174, 0.14) !important;
        font-weight: 780 !important;
    }

    .cart-recommendations {
        border-radius: 15px !important;
        background: rgba(255, 252, 244, 0.72) !important;
    }

    .cart-recommendation {
        border-radius: 13px !important;
        background: rgba(255, 255, 255, 0.76) !important;
    }

    /* Product detail sheet: dark crown, large image and quieter controls. */
    .modal-shell[data-product-detail-modal] .sheet-modal--product {
        border: 1px solid rgba(212, 165, 65, 0.2) !important;
        border-radius: 23px !important;
        background: linear-gradient(180deg, #fffefb 0%, #f7f0e5 100%) !important;
        box-shadow: 0 28px 80px rgba(25, 16, 11, 0.32) !important;
    }

    .sheet-modal--product .sheet-modal__header {
        position: sticky !important;
        top: 0 !important;
        z-index: 4 !important;
        margin: 0 !important;
        padding: 13px 14px !important;
        border-bottom: 1px solid rgba(239, 198, 103, 0.2) !important;
        background: linear-gradient(145deg, #211a16, #100d0b) !important;
        backdrop-filter: blur(16px) !important;
    }

    .sheet-modal--product .sheet-modal__header h2 {
        color: #f7ead0 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.16rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.022em !important;
    }

    .sheet-modal--product .sheet-modal__header .ghost-button {
        border-color: rgba(239, 198, 103, 0.18) !important;
        background: rgba(255, 255, 255, 0.07) !important;
        color: #f2d998 !important;
    }

    .product-detail-modal {
        gap: 15px !important;
        padding: 13px 14px 16px !important;
    }

    .product-detail-modal__image {
        width: 100% !important;
        max-height: 43dvh !important;
        border: 1px solid rgba(91, 65, 43, 0.08) !important;
        border-radius: 17px !important;
        background: #eee6da !important;
        box-shadow: 0 12px 28px rgba(52, 36, 23, 0.1) !important;
    }

    .product-detail-modal__section h3 {
        color: #9a6b27 !important;
        font-size: 0.76rem !important;
        letter-spacing: 0.13em !important;
    }

    .product-detail-modal__variant {
        min-height: 50px !important;
        border-color: rgba(113, 78, 40, 0.13) !important;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, 0.7) !important;
        box-shadow: inset 0 1px 0 #fff !important;
    }

    .product-detail-modal__variant.is-active {
        border-color: rgba(190, 137, 47, 0.58) !important;
        background: rgba(212, 165, 65, 0.13) !important;
        box-shadow: 0 0 0 2px rgba(212, 165, 65, 0.09) !important;
    }

    .sheet-modal--product .primary-button--large {
        min-height: 51px !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #7a3b25 0%, #4c241a 48%, #191210 100%) !important;
        color: #fff9ed !important;
        box-shadow: 0 12px 25px rgba(73, 36, 24, 0.2) !important;
    }

    /* Existing observer now reveals content with a calmer editorial motion. */
    body.js-reveal .reveal {
        opacity: 0;
        transform: translateY(14px) scale(0.992);
        transition: opacity 0.48s ease, transform 0.58s cubic-bezier(.2,.8,.2,1) !important;
    }

    body.js-reveal .reveal.is-visible {
        opacity: 1;
        transform: none;
    }

    .product-grid .product-card:nth-child(2n).reveal {
        transition-delay: 0.045s !important;
    }
}

@media (max-width: 820px) and (hover: none) {
    .mobile-bottom-nav__item:not(.is-active):hover,
    .mobile-bottom-nav__item:not(.is-active):focus,
    .mobile-bottom-nav__item:not(.is-active):focus-visible {
        background: transparent !important;
        color: rgba(255, 248, 234, 0.65) !important;
        box-shadow: none !important;
        outline: none !important;
    }
}

@media (max-width: 380px) {
    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 128px !important;
    }

    .product-grid {
        gap: 10px 8px !important;
    }

    .product-card__body {
        padding-inline: 9px !important;
    }

    .product-card__topline h4 {
        font-size: 0.85rem !important;
    }
}

@media (hover: hover) and (pointer: fine) and (max-width: 900px) {
    .product-card:hover .product-card__media img,
    .product-card:focus-within .product-card__media img {
        transform: scale(1.055) !important;
        filter: saturate(1.04) contrast(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.js-reveal .reveal,
    body.js-reveal .reveal.is-visible,
    .product-card__media img,
    .mobile-app-menu-toggle {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* 2026-08-29: final mobile navigation and modal consistency pass. */
@media (max-width: 900px) {
    .account-menu__head > strong {
        max-width: calc(100% - 118px);
        color: #f3cf78 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.05rem !important;
        line-height: 1.15 !important;
        letter-spacing: -0.01em;
    }

    .header-menu__panel > a {
        position: relative !important;
        display: flex !important;
        width: auto !important;
        min-height: 54px !important;
        height: auto !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 14px !important;
        padding: 11px 34px 11px 8px !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(103, 75, 48, 0.11) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #2d231c !important;
        font-size: 0.92rem !important;
        font-weight: 720 !important;
        line-height: 1.25 !important;
        text-align: left !important;
    }

    .header-menu__panel > a::after {
        content: "›";
        position: absolute;
        top: 50%;
        right: 8px;
        color: #b6812f;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.45rem;
        font-weight: 400;
        line-height: 1;
        transform: translateY(-54%);
    }

    .header-menu__panel > a:last-child {
        border-bottom-color: transparent !important;
    }

    .header-menu__panel > a:hover,
    .header-menu__panel > a:focus-visible {
        border-radius: 11px !important;
        background: rgba(212, 165, 65, 0.09) !important;
        outline: none !important;
    }

    .header-menu__panel > a.is-active {
        border-radius: 11px !important;
        background: linear-gradient(90deg, rgba(212, 165, 65, 0.15), rgba(212, 165, 65, 0.025)) !important;
        color: #7e551c !important;
        box-shadow: inset 3px 0 0 #d4a541 !important;
    }

    .mobile-search-modal__reset[hidden] {
        display: none !important;
    }

    .sheet-modal--contacts {
        background:
            radial-gradient(circle at 100% 0, rgba(212, 165, 65, 0.1), transparent 22rem),
            linear-gradient(180deg, #fffefb 0%, #f7f1e6 100%) !important;
    }

    .sheet-modal--contacts .sheet-modal__header {
        position: sticky !important;
        top: 0;
        z-index: 4;
        min-height: 78px !important;
        padding: max(14px, env(safe-area-inset-top, 0px)) 14px 12px !important;
        border-bottom: 1px solid rgba(240, 200, 105, 0.22) !important;
        background: linear-gradient(145deg, #1f1915, #100d0b) !important;
        box-shadow: 0 9px 26px rgba(27, 19, 14, 0.16) !important;
    }

    .sheet-modal--contacts .sheet-modal__header .eyebrow {
        color: rgba(249, 222, 158, 0.68) !important;
    }

    .sheet-modal--contacts .sheet-modal__header h2 {
        color: #f3cf78 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.35rem !important;
    }

    .sheet-modal--contacts .sheet-modal__header .ghost-button {
        min-height: 42px !important;
        padding: 0 13px !important;
        border: 1px solid rgba(240, 200, 105, 0.22) !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.07) !important;
        color: #fff8e8 !important;
    }

    .sheet-modal--contacts .contacts-sheet {
        gap: 12px !important;
        padding: 14px 14px calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 18px) !important;
    }

    .sheet-modal--contacts .contacts-sheet__intro,
    .sheet-modal--contacts .contacts-sheet__point {
        padding: 15px !important;
        border: 1px solid rgba(103, 75, 48, 0.1) !important;
        border-radius: 16px !important;
        background: rgba(255, 254, 250, 0.8) !important;
        box-shadow: 0 10px 24px rgba(57, 40, 27, 0.055) !important;
    }

    .sheet-modal--contacts .contacts-sheet__phones {
        gap: 8px !important;
    }

    .sheet-modal--contacts .contacts-sheet__phones .status-pill {
        min-height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        padding-inline: 12px !important;
        border: 1px solid rgba(154, 108, 43, 0.13) !important;
        background: rgba(255, 253, 248, 0.88) !important;
        color: #6f4b22 !important;
        font-weight: 760 !important;
    }
}

/* 2026-08-29: Hani luxury overlay system — drawers, sheets and checkout. */
@keyframes hani-luxury-panel-in {
    from {
        opacity: 0;
        transform: translate3d(-18px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes hani-luxury-sheet-in {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (max-width: 900px) {
    .header-menu__backdrop,
    .account-menu__backdrop,
    .modal-shell__backdrop {
        background: rgba(10, 8, 7, 0.68) !important;
        -webkit-backdrop-filter: blur(12px) saturate(0.8) !important;
        backdrop-filter: blur(12px) saturate(0.8) !important;
    }

    .header-menu__panel,
    .account-menu__panel {
        border-right: 1px solid rgba(226, 178, 77, 0.2) !important;
        background:
            radial-gradient(circle at 8% 0, rgba(226, 178, 77, 0.16), transparent 19rem),
            radial-gradient(circle at 100% 72%, rgba(117, 66, 37, 0.15), transparent 20rem),
            linear-gradient(165deg, #1c1714 0%, #100d0b 58%, #080706 100%) !important;
        color: #fff7e8 !important;
        box-shadow: 30px 0 90px rgba(0, 0, 0, 0.48) !important;
        scrollbar-color: rgba(226, 178, 77, 0.55) transparent;
    }

    .header-menu[open] .header-menu__panel,
    .account-menu.is-open .account-menu__panel {
        animation: hani-luxury-panel-in 0.34s cubic-bezier(.2,.8,.2,1) both !important;
    }

    .header-menu__head,
    .account-menu__head {
        position: sticky !important;
        top: 0;
        z-index: 3;
        min-height: 92px !important;
        align-items: center !important;
        gap: 10px !important;
        padding: max(12px, env(safe-area-inset-top, 0px)) 13px 12px !important;
        border-bottom: 1px solid rgba(226, 178, 77, 0.18) !important;
        background: rgba(14, 11, 9, 0.82) !important;
        -webkit-backdrop-filter: blur(22px) !important;
        backdrop-filter: blur(22px) !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16) !important;
    }

    .overlay-brand {
        display: grid;
        min-width: 0;
        grid-template-columns: 68px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
    }

    .overlay-brand > img {
        display: block;
        width: 68px;
        height: 40px;
        object-fit: contain;
        object-position: center;
        filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.3));
    }

    .overlay-brand > div {
        display: grid;
        min-width: 0;
        gap: 3px;
    }

    .overlay-brand span {
        color: rgba(244, 210, 132, 0.6) !important;
        font-size: 0.54rem !important;
        font-weight: 760 !important;
        letter-spacing: 0.17em !important;
        line-height: 1.15 !important;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .overlay-brand strong {
        color: #f4cf78 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.02rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em;
        line-height: 1.08 !important;
        overflow-wrap: anywhere;
    }

    .header-menu__close,
    .account-menu__close,
    .delivery-modal-close {
        flex: 0 0 auto !important;
        min-height: 40px !important;
        padding: 0 10px !important;
        border: 1px solid rgba(239, 202, 116, 0.2) !important;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, 0.065) !important;
        color: #fff8e9 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
        font-size: 0.7rem !important;
        font-weight: 700 !important;
    }

    .header-menu__close svg,
    .account-menu__close svg,
    .delivery-modal-close svg {
        width: 16px !important;
        height: 16px !important;
        fill: none !important;
        stroke: #e9bd59 !important;
        stroke-width: 2 !important;
        stroke-linecap: round;
    }

    .header-menu__panel {
        counter-reset: hani-category;
    }

    .header-menu__panel > a {
        counter-increment: hani-category;
        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) 20px !important;
        min-height: 61px !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 14px !important;
        padding: 10px 2px !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(239, 202, 116, 0.12) !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: rgba(255, 248, 235, 0.91) !important;
        box-shadow: none !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.01rem !important;
        font-weight: 600 !important;
        letter-spacing: -0.01em;
        line-height: 1.2 !important;
    }

    .header-menu__panel > a::before {
        content: counter(hani-category, decimal-leading-zero);
        position: static !important;
        color: rgba(226, 178, 77, 0.62) !important;
        font-family: var(--font-ui) !important;
        font-size: 0.58rem !important;
        font-weight: 760 !important;
        letter-spacing: 0.1em;
        line-height: 1;
    }

    .header-menu__panel > a::after {
        content: "↗" !important;
        position: static !important;
        color: rgba(226, 178, 77, 0.72) !important;
        font-family: var(--font-ui) !important;
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        text-align: center;
        transform: none !important;
    }

    .header-menu__panel > a:hover,
    .header-menu__panel > a:focus-visible,
    .header-menu__panel > a.is-active {
        padding-inline: 10px !important;
        border-bottom-color: transparent !important;
        border-radius: 14px !important;
        background: linear-gradient(90deg, rgba(226, 178, 77, 0.18), rgba(226, 178, 77, 0.035)) !important;
        color: #ffe7ad !important;
        box-shadow: inset 2px 0 0 #e2b24d !important;
    }

    .account-menu__panel > .account-menu__item,
    .account-menu__logout .account-menu__item {
        display: grid !important;
        width: auto !important;
        min-height: 58px !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 0 14px !important;
        padding: 9px 4px !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(239, 202, 116, 0.115) !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: rgba(255, 248, 235, 0.9) !important;
        box-shadow: none !important;
        font-size: 0.88rem !important;
        font-weight: 680 !important;
        line-height: 1.22 !important;
        text-align: left !important;
    }

    .account-menu__panel > .account-menu__item > svg,
    .account-menu__logout .account-menu__item > svg {
        box-sizing: border-box !important;
        width: 36px !important;
        height: 36px !important;
        padding: 9px !important;
        border: 1px solid rgba(226, 178, 77, 0.2) !important;
        border-radius: 50% !important;
        background: rgba(226, 178, 77, 0.075) !important;
        color: #e3b650 !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.7 !important;
    }

    .account-menu__panel > .account-menu__item:hover,
    .account-menu__panel > .account-menu__item:focus-visible,
    .account-menu__logout .account-menu__item:hover,
    .account-menu__logout .account-menu__item:focus-visible {
        padding-inline: 10px !important;
        border-bottom-color: transparent !important;
        border-radius: 14px !important;
        background: linear-gradient(90deg, rgba(226, 178, 77, 0.15), rgba(226, 178, 77, 0.025)) !important;
        color: #ffe8b4 !important;
        outline: none !important;
    }

    .account-menu__head + .account-menu__item {
        min-height: 62px !important;
        margin-top: 12px !important;
        margin-bottom: 4px !important;
        padding-inline: 11px !important;
        border: 1px solid rgba(226, 178, 77, 0.21) !important;
        border-radius: 15px !important;
        background: linear-gradient(115deg, rgba(226, 178, 77, 0.17), rgba(226, 178, 77, 0.045)) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    }

    .account-menu__logout {
        margin-top: 8px !important;
        padding-bottom: 10px !important;
    }

    .modal-shell {
        padding: 12px !important;
    }

    .modal-shell.is-open .sheet-modal,
    .modal-shell.is-open .checkout-modal {
        animation: hani-luxury-sheet-in 0.34s cubic-bezier(.2,.8,.2,1) both !important;
    }

    .modal-shell > .sheet-modal:not(.sheet-modal--delivery-map),
    .checkout-modal {
        width: min(440px, calc(100vw - 24px)) !important;
        max-width: 440px !important;
        max-height: calc(100dvh - 24px) !important;
        padding: 0 !important;
        border: 1px solid rgba(211, 163, 64, 0.24) !important;
        border-radius: 24px !important;
        background:
            radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.12), transparent 18rem),
            linear-gradient(180deg, #fffefb 0%, #f7f0e4 100%) !important;
        box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 255, 255, 0.12) inset !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .sheet-modal__header,
    .checkout-modal__header {
        position: sticky !important;
        top: 0;
        z-index: 5;
        min-height: 82px !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: max(13px, env(safe-area-inset-top, 0px)) 14px 13px !important;
        border-bottom: 1px solid rgba(239, 202, 116, 0.19) !important;
        background:
            radial-gradient(circle at 0 0, rgba(226, 178, 77, 0.13), transparent 14rem),
            rgba(16, 13, 11, 0.97) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        backdrop-filter: blur(20px) !important;
        box-shadow: 0 12px 32px rgba(20, 14, 10, 0.18) !important;
    }

    .sheet-modal__header .eyebrow,
    .checkout-modal__header .eyebrow {
        margin: 0 0 4px !important;
        color: rgba(244, 210, 132, 0.62) !important;
        font-size: 0.56rem !important;
        font-weight: 760 !important;
        letter-spacing: 0.17em !important;
        text-transform: uppercase;
    }

    .sheet-modal__header h2,
    .checkout-modal__header h2 {
        margin: 0 !important;
        color: #f5d17c !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.28rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em;
        line-height: 1.1 !important;
        overflow-wrap: anywhere;
    }

    .sheet-modal__header .ghost-button,
    .checkout-modal__header .ghost-button {
        flex: 0 0 auto !important;
        min-height: 40px !important;
        padding: 0 11px !important;
        border: 1px solid rgba(239, 202, 116, 0.19) !important;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, 0.065) !important;
        color: #fff8ea !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        font-size: 0.7rem !important;
        font-weight: 700 !important;
    }

    .modal-shell[data-city-modal] {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .modal-shell[data-city-modal] > .sheet-modal {
        width: 100vw !important;
        max-width: 100vw !important;
        max-height: 74dvh !important;
        border-width: 1px 0 0 !important;
        border-radius: 28px 28px 0 0 !important;
    }

    .city-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 15px 14px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .city-card {
        position: relative !important;
        min-height: 70px !important;
        align-content: center !important;
        gap: 3px !important;
        padding: 12px 48px 12px 16px !important;
        border: 1px solid rgba(101, 73, 47, 0.1) !important;
        border-radius: 16px !important;
        background: rgba(255, 254, 250, 0.82) !important;
        box-shadow: 0 10px 24px rgba(52, 36, 24, 0.055), inset 0 1px 0 #fff !important;
    }

    .city-card::after {
        content: "↗";
        position: absolute;
        top: 50%;
        right: 18px;
        color: #b27c27;
        font-size: 0.95rem;
        transform: translateY(-50%);
    }

    .city-card strong {
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.08rem !important;
    }

    .city-card span {
        color: #8a7768 !important;
        font-size: 0.78rem !important;
    }

    .city-card.is-active {
        border-color: rgba(226, 178, 77, 0.36) !important;
        background: linear-gradient(135deg, #2a201a, #120f0c) !important;
        color: #f6d683 !important;
        box-shadow: 0 16px 32px rgba(30, 20, 14, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }

    .city-card.is-active span {
        color: rgba(255, 244, 220, 0.62) !important;
    }

    .sheet-modal--promo .promo-detail,
    .sheet-modal--product .product-detail-modal {
        padding: 15px !important;
    }

    .sheet-modal--promo .promo-detail img,
    .sheet-modal--image .image-lightbox__image {
        border: 1px solid rgba(111, 78, 45, 0.09) !important;
        border-radius: 17px !important;
        box-shadow: 0 16px 38px rgba(49, 34, 22, 0.11) !important;
    }

    .sheet-modal--contacts .contacts-sheet {
        padding: 15px 14px calc(var(--hani-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 18px) !important;
    }

    .checkout-modal__header > div {
        min-width: 0;
    }

    .checkout-modal form {
        padding: 0 14px 16px !important;
    }

    .checkout-modal .form-grid {
        grid-template-columns: 1fr !important;
        gap: 13px !important;
        margin: 0 !important;
        padding: 16px 0 !important;
    }

    .checkout-modal .field {
        min-width: 0 !important;
    }

    .checkout-modal .field > label {
        margin-bottom: 7px !important;
        color: #3b2e25 !important;
        font-size: 0.72rem !important;
        font-weight: 780 !important;
        letter-spacing: 0.025em;
    }

    .checkout-modal input:not([type="hidden"]):not([type="checkbox"]),
    .checkout-modal select,
    .checkout-modal textarea {
        min-height: 51px !important;
        padding-inline: 13px !important;
        border: 1px solid rgba(106, 76, 48, 0.13) !important;
        border-radius: 14px !important;
        background: rgba(255, 254, 251, 0.9) !important;
        color: #2b211a !important;
        box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(50, 34, 22, 0.035) !important;
        font-size: 0.88rem !important;
    }

    .checkout-modal input:focus,
    .checkout-modal select:focus,
    .checkout-modal textarea:focus {
        border-color: rgba(190, 136, 45, 0.68) !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(212, 165, 65, 0.12), inset 0 1px 0 #fff !important;
    }

    .checkout-promo-field {
        padding: 13px !important;
        border: 1px solid rgba(163, 113, 40, 0.13) !important;
        border-radius: 17px !important;
        background: rgba(226, 178, 77, 0.055) !important;
    }

    .checkout-modal__summary {
        gap: 12px !important;
        margin: 0 !important;
        padding: 15px !important;
        border: 1px solid rgba(113, 80, 49, 0.12) !important;
        border-radius: 19px !important;
        background: rgba(255, 254, 250, 0.78) !important;
        box-shadow: 0 18px 42px rgba(48, 32, 21, 0.08), inset 0 1px 0 #fff !important;
    }

    .checkout-modal__summary .primary-button {
        min-height: 52px !important;
        border: 1px solid rgba(235, 193, 98, 0.24) !important;
        border-radius: 15px !important;
        background: linear-gradient(135deg, #7a371f 0%, #3d2117 58%, #17100d 100%) !important;
        color: #fff8e8 !important;
        box-shadow: 0 14px 30px rgba(75, 36, 24, 0.22), inset 0 1px 0 rgba(255, 233, 183, 0.12) !important;
    }

    .checkout-modal__totals .cart-total:last-of-type strong {
        color: #8a5b1e !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.08rem !important;
    }

    .sheet-modal--delivery-map {
        border: 1px solid rgba(211, 163, 64, 0.24) !important;
        border-radius: 24px !important;
        background:
            radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.1), transparent 18rem),
            linear-gradient(180deg, #fffefb 0%, #f7f0e4 100%) !important;
        box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46) !important;
    }

    .delivery-modal-crown {
        position: sticky !important;
        top: 0;
        z-index: 500;
        display: flex;
        min-height: 82px;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: max(12px, env(safe-area-inset-top, 0px)) 13px 12px;
        border-bottom: 1px solid rgba(239, 202, 116, 0.19);
        background:
            radial-gradient(circle at 0 0, rgba(226, 178, 77, 0.13), transparent 14rem),
            rgba(16, 13, 11, 0.98);
        box-shadow: 0 12px 32px rgba(20, 14, 10, 0.18);
    }

    .delivery-modal-crown .overlay-brand {
        flex: 1 1 auto;
    }

    .sheet-modal--delivery-map .delivery-modal-close {
        position: static !important;
        top: auto !important;
        right: auto !important;
        z-index: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .sheet-modal--delivery-map .delivery-modal-layout {
        height: calc(100% - 82px) !important;
    }

    .sheet-modal--delivery-map .delivery-modal-map-panel__intro {
        margin: 12px 12px 10px !important;
        padding: 14px !important;
        border: 1px solid rgba(105, 75, 47, 0.1) !important;
        border-radius: 16px !important;
        background: rgba(255, 254, 250, 0.84) !important;
        box-shadow: 0 12px 28px rgba(48, 32, 21, 0.06) !important;
    }

    .sheet-modal--delivery-map .delivery-modal-map-panel__intro h3,
    .sheet-modal--delivery-map .delivery-modal-service strong {
        color: #2c211a !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.08rem !important;
    }

    .sheet-modal--delivery-map .delivery-map--modal {
        border: 1px solid rgba(171, 120, 41, 0.18) !important;
        border-radius: 16px !important;
        box-shadow: 0 16px 34px rgba(47, 31, 20, 0.1) !important;
    }

    .sheet-modal--delivery-map .delivery-modal-side {
        border: 1px solid rgba(105, 75, 47, 0.1) !important;
        border-radius: 17px !important;
        background: rgba(255, 254, 250, 0.84) !important;
        box-shadow: 0 14px 32px rgba(48, 32, 21, 0.06) !important;
    }

    .mobile-search-modal__panel {
        background:
            radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.09), transparent 19rem),
            linear-gradient(180deg, #fffefb 0%, #f7f0e4 100%) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-menu[open] .header-menu__panel,
    .account-menu.is-open .account-menu__panel,
    .modal-shell.is-open .sheet-modal,
    .modal-shell.is-open .checkout-modal {
        animation: none !important;
    }
}

/* 2026-08-29 v40 final placement: restored inset product media, dense drawers and composed checkout. */
.product-card__media {
    width: calc(100% - 16px) !important;
    margin: 8px 8px 0 !important;
    overflow: hidden !important;
    border-radius: 15px !important;
    background: linear-gradient(145deg, #f3eee6, #fffdf9) !important;
    box-shadow: inset 0 0 0 1px rgba(83, 60, 41, 0.055) !important;
    isolation: isolate;
}

.product-card__media::after {
    border-radius: inherit !important;
    background: linear-gradient(180deg, transparent 68%, rgba(30, 21, 15, 0.055)) !important;
    opacity: 0 !important;
    transition: opacity 0.35s ease !important;
}

.product-card__media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    padding: 10px !important;
    border-radius: inherit !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: scale(1) !important;
    transform-origin: center !important;
    transition: transform 0.52s cubic-bezier(.2,.8,.2,1), filter 0.34s ease !important;
    will-change: transform;
}

.product-card:hover .product-card__media img,
.product-card:focus-within .product-card__media img,
.product-card__media:active img {
    transform: scale(1.065) !important;
    filter: saturate(1.035) contrast(1.015) !important;
}

.product-card:hover .product-card__media::after,
.product-card:focus-within .product-card__media::after,
.product-card__media:active::after {
    opacity: 1 !important;
}

@media (min-width: 901px) {
    .product-card__media {
        aspect-ratio: 4 / 3 !important;
    }

    .product-card__media img {
        padding: 12px !important;
    }
}

@media (max-width: 900px) {
    .header-menu__head,
    .account-menu__head {
        min-height: 82px !important;
        padding-block: max(9px, env(safe-area-inset-top, 0px)) 9px !important;
    }

    .overlay-brand {
        grid-template-columns: 60px minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    .overlay-brand > img {
        width: 60px !important;
        height: 36px !important;
    }

    .header-menu__panel > a {
        grid-template-columns: 28px minmax(0, 1fr) 18px !important;
        min-height: 52px !important;
        gap: 8px !important;
        margin-inline: 12px !important;
        padding-block: 6px !important;
        font-size: 0.95rem !important;
    }

    .account-menu__panel > .account-menu__item,
    .account-menu__logout .account-menu__item {
        min-height: 50px !important;
        grid-template-columns: 32px minmax(0, 1fr) !important;
        gap: 9px !important;
        margin-inline: 12px !important;
        padding-block: 6px !important;
        font-size: 0.84rem !important;
    }

    .account-menu__panel > .account-menu__item > svg,
    .account-menu__logout .account-menu__item > svg {
        width: 32px !important;
        height: 32px !important;
        padding: 8px !important;
    }

    .account-menu__head + .account-menu__item {
        min-height: 55px !important;
        margin-top: 8px !important;
        margin-bottom: 2px !important;
        padding-inline: 9px !important;
    }

    .product-card__media {
        aspect-ratio: 1 / 0.84 !important;
        border-radius: 14px !important;
    }

    .product-card__media img {
        padding: 7px !important;
    }

    .product-card__badge-stack {
        top: 14px !important;
        right: 14px !important;
        left: 14px !important;
    }

    .checkout-modal form {
        padding-inline: 12px !important;
    }

    .checkout-modal .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 11px 9px !important;
        padding-top: 12px !important;
    }

    .checkout-modal .field--full,
    .checkout-section-heading {
        grid-column: 1 / -1 !important;
    }

    .checkout-modal input:not([type="hidden"]):not([type="checkbox"]),
    .checkout-modal select,
    .checkout-modal textarea {
        min-height: 48px !important;
    }

    .checkout-modal__summary {
        border-color: rgba(226, 178, 77, 0.22) !important;
        background:
            radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.14), transparent 14rem),
            linear-gradient(155deg, #231a15 0%, #100d0b 100%) !important;
        color: #fff6e5 !important;
        box-shadow: 0 20px 46px rgba(29, 19, 13, 0.21), inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
    }

    .checkout-modal__recap-row,
    .checkout-modal__totals .cart-total {
        border-bottom-color: rgba(239, 202, 116, 0.12) !important;
    }

    .checkout-modal__recap-row span,
    .checkout-modal__totals .cart-total span {
        color: rgba(255, 244, 222, 0.62) !important;
    }

    .checkout-modal__recap-row strong,
    .checkout-modal__totals .cart-total strong {
        color: #fff8e9 !important;
    }

    .checkout-modal__totals .cart-total:last-of-type strong {
        color: #f0c763 !important;
    }

    .checkout-modal__summary .primary-button {
        border-color: rgba(255, 224, 151, 0.34) !important;
        background: linear-gradient(135deg, #efc967 0%, #d2a13f 54%, #aa7222 100%) !important;
        color: #1d150f !important;
        box-shadow: 0 14px 32px rgba(190, 128, 36, 0.24), inset 0 1px 0 rgba(255, 246, 218, 0.5) !important;
        font-weight: 850 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card__media img {
        transition: none !important;
        transform: none !important;
    }
}

/* 2026-08-29 v42: media canvas matches the actual #fafafa product-photo background. */
.product-card {
    background: #fff !important;
}

.product-card__media {
    background: #fafafa !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.product-card__media img {
    background: #fafafa !important;
}

.product-card__media::after {
    background: transparent !important;
    opacity: 0 !important;
}

/* 2026-08-29 v43: checkout-grade composition for the remaining customer windows. */
.modal-section-heading {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid rgba(159, 108, 37, 0.12);
    border-radius: 15px;
    background: linear-gradient(110deg, rgba(226, 178, 77, 0.1), rgba(255, 255, 255, 0.58));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.modal-section-heading > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(196, 143, 50, 0.28);
    border-radius: 50%;
    background: linear-gradient(145deg, #241b16, #100d0b);
    color: #e8bb57;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.06em;
}

.modal-section-heading > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.modal-section-heading strong {
    color: #30241c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.15;
}

.modal-section-heading small {
    color: #887466;
    font-size: 0.69rem;
    line-height: 1.28;
}

.franchise-modal-section-heading,
.review-modal-section-heading {
    grid-column: 1 / -1;
}

.franchise-questionnaire--modal .franchise-modal-section-heading {
    margin: 5px 0 1px;
}

.review-form-card .review-modal-section-heading {
    margin: 2px 0 12px;
}

.review-form__grid .review-modal-section-heading {
    margin-top: 4px;
}

@media (max-width: 900px) {
    /* Search has a real empty state instead of a blank ivory screen. */
    .mobile-search-modal__panel {
        background:
            radial-gradient(circle at 100% 0, rgba(212, 165, 65, 0.11), transparent 22rem),
            linear-gradient(180deg, #fffdf9 0%, #f6efe4 100%) !important;
    }

    .mobile-search-modal__guide {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        margin: 14px;
        padding: 16px;
        border: 1px solid rgba(226, 178, 77, 0.2);
        border-radius: 19px;
        background:
            radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.16), transparent 12rem),
            linear-gradient(145deg, #241b16, #100d0b);
        color: #fff7e8;
        box-shadow: 0 18px 42px rgba(29, 19, 13, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .mobile-search-modal__guide-icon {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid rgba(239, 202, 116, 0.22);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        color: #e9bc59;
    }

    .mobile-search-modal__guide-icon svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
    }

    .mobile-search-modal__guide strong {
        color: #f4d27e;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.04rem;
        line-height: 1.18;
    }

    .mobile-search-modal__guide p {
        margin: 5px 0 12px;
        color: rgba(255, 247, 232, 0.66);
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .mobile-search-modal__examples {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .mobile-search-modal__examples span {
        padding: 6px 9px;
        border: 1px solid rgba(239, 202, 116, 0.16);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.055);
        color: #f7e5b8;
        font-size: 0.68rem;
        font-weight: 720;
    }

    .mobile-search-modal__reset:not([hidden]) {
        margin: 0 14px !important;
    }

    /* Cart now leads naturally into the redesigned checkout. */
    .cart-drawer__panel {
        background: linear-gradient(180deg, #faf6ee 0%, #f4ecdf 100%) !important;
    }

    .cart-drawer__header {
        padding: 17px 16px 15px !important;
        border-bottom: 1px solid rgba(239, 202, 116, 0.2) !important;
        border-radius: 18px !important;
        background:
            radial-gradient(circle at 0 0, rgba(226, 178, 77, 0.14), transparent 15rem),
            rgba(16, 13, 11, 0.97) !important;
        box-shadow: 0 12px 30px rgba(30, 20, 14, 0.14) !important;
    }

    .cart-drawer__header .eyebrow {
        color: rgba(244, 210, 132, 0.66) !important;
    }

    .cart-drawer__header h2 {
        color: #f4d27e !important;
    }

    .cart-drawer__subtitle {
        display: block;
        margin-top: 3px;
        color: rgba(255, 247, 232, 0.58);
        font-size: 0.69rem;
        line-height: 1.25;
    }

    .cart-clear-button,
    .cart-drawer__header .ghost-button {
        border-color: rgba(239, 202, 116, 0.18) !important;
        background: rgba(255, 255, 255, 0.065) !important;
        color: #fff3d5 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }

    .cart-drawer__body {
        padding-top: 16px !important;
    }

    .cart-item {
        border-color: rgba(111, 79, 49, 0.1) !important;
        background: #fffdfa !important;
        box-shadow: 0 12px 28px rgba(51, 35, 23, 0.075), inset 0 1px 0 #fff !important;
    }

    .cart-drawer__footer {
        border-top-color: rgba(239, 202, 116, 0.18) !important;
        border-radius: 18px !important;
        background:
            radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.13), transparent 13rem),
            linear-gradient(155deg, #231a15 0%, #100d0b 100%) !important;
        box-shadow: 0 -16px 38px rgba(31, 21, 14, 0.18) !important;
    }

    .cart-drawer__footer .cart-total {
        border-bottom-color: rgba(239, 202, 116, 0.12) !important;
        color: rgba(255, 246, 229, 0.68) !important;
    }

    .cart-drawer__footer .cart-total span {
        color: rgba(255, 246, 229, 0.68) !important;
    }

    .cart-drawer__footer .cart-total strong,
    .cart-drawer__footer .cart-total:last-of-type strong {
        color: #f2cb6c !important;
    }

    .cart-drawer__footer > .primary-button {
        border-color: rgba(255, 224, 151, 0.34) !important;
        background: linear-gradient(135deg, #efc967 0%, #d2a13f 54%, #aa7222 100%) !important;
        color: #1d150f !important;
        box-shadow: 0 14px 32px rgba(190, 128, 36, 0.25), inset 0 1px 0 rgba(255, 246, 218, 0.5) !important;
        font-weight: 850 !important;
    }

    .cart-drawer__footer .cart-recommendations,
    .cart-drawer__footer .cart-adjustments {
        border-color: rgba(239, 202, 116, 0.16) !important;
        background: #fffaf1 !important;
    }

    /* Product detail uses checkout-like numbered content cards. */
    .product-detail-modal {
        counter-reset: product-modal-section;
        gap: 12px !important;
        background: linear-gradient(180deg, #faf6ee 0%, #f5ede1 100%) !important;
    }

    .product-detail-modal__image {
        max-height: 39dvh !important;
        border: 0 !important;
        background: #fafafa !important;
        box-shadow: 0 14px 34px rgba(52, 36, 23, 0.1) !important;
    }

    .product-detail-modal__section {
        counter-increment: product-modal-section;
        display: grid !important;
        gap: 10px !important;
        padding: 13px !important;
        border: 1px solid rgba(121, 84, 46, 0.1) !important;
        border-radius: 17px !important;
        background: rgba(255, 253, 249, 0.86) !important;
        box-shadow: 0 10px 24px rgba(51, 35, 23, 0.055), inset 0 1px 0 #fff !important;
    }

    .product-detail-modal__section h3 {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0 !important;
        color: #30241c !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 0.98rem !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .product-detail-modal__section h3::before {
        content: "0" counter(product-modal-section);
        display: grid;
        width: 31px;
        height: 31px;
        flex: 0 0 31px;
        place-items: center;
        border-radius: 50%;
        background: #1b1511;
        color: #e8bb57;
        font-family: var(--font-body, sans-serif);
        font-size: 0.58rem;
        font-weight: 850;
        letter-spacing: 0.05em;
    }

    .product-detail-modal__section p {
        color: #78685d !important;
        line-height: 1.52 !important;
    }

    .product-detail-modal__variant.is-active {
        border-color: rgba(226, 178, 77, 0.32) !important;
        background: linear-gradient(145deg, #261c17, #100d0b) !important;
        color: #fff6e5 !important;
        box-shadow: 0 11px 25px rgba(40, 27, 18, 0.17) !important;
    }

    .product-detail-modal__variant.is-active span,
    .product-detail-modal__variant.is-active strong,
    .product-detail-modal__variant.is-active small {
        color: inherit !important;
    }

    .product-detail-modal > [data-product-detail-add] {
        position: sticky;
        bottom: 0;
        z-index: 2;
        min-height: 51px !important;
        border-color: rgba(255, 224, 151, 0.34) !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #efc967 0%, #d2a13f 54%, #aa7222 100%) !important;
        color: #1d150f !important;
        box-shadow: 0 14px 30px rgba(171, 111, 29, 0.24) !important;
        font-weight: 850 !important;
    }

    /* Promo content is split into offer and activation, matching checkout hierarchy. */
    .sheet-modal--promo .promo-detail {
        display: grid !important;
        gap: 12px !important;
        padding: 13px !important;
        background: linear-gradient(180deg, #faf6ee 0%, #f5ede1 100%) !important;
    }

    .sheet-modal--promo .promo-detail > img {
        border: 0 !important;
        border-radius: 17px !important;
        box-shadow: 0 14px 32px rgba(52, 36, 23, 0.1) !important;
    }

    .promo-detail__story,
    .promo-detail__actions {
        display: grid !important;
        gap: 11px !important;
        padding: 12px !important;
        border: 1px solid rgba(121, 84, 46, 0.1) !important;
        border-radius: 17px !important;
        background: rgba(255, 253, 249, 0.88) !important;
        box-shadow: 0 10px 24px rgba(51, 35, 23, 0.055), inset 0 1px 0 #fff !important;
    }

    .promo-detail__actions[hidden] {
        display: none !important;
    }

    .promo-detail__story > p {
        margin: 0 !important;
        color: #75665b !important;
        line-height: 1.48 !important;
    }

    .promo-detail__apply {
        min-height: 48px !important;
        border-radius: 13px !important;
        background: linear-gradient(135deg, #efc967 0%, #d2a13f 54%, #aa7222 100%) !important;
        color: #1d150f !important;
        font-weight: 850 !important;
    }

    .promo-detail__code {
        justify-self: start;
        border-color: rgba(226, 178, 77, 0.22) !important;
        background: #1b1511 !important;
        color: #f0c763 !important;
    }

    /* Contacts are grouped into communication and locations. */
    .sheet-modal--contacts .contacts-sheet {
        gap: 11px !important;
        padding: 13px !important;
        background: linear-gradient(180deg, #faf6ee 0%, #f5ede1 100%) !important;
    }

    .contacts-sheet__section-heading {
        margin: 0 !important;
    }

    .sheet-modal--contacts .contacts-sheet__intro {
        border-color: rgba(226, 178, 77, 0.2) !important;
        background:
            radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.14), transparent 12rem),
            linear-gradient(145deg, #241b16, #100d0b) !important;
        color: #f4d27e !important;
        box-shadow: 0 12px 28px rgba(39, 26, 17, 0.15) !important;
    }

    .sheet-modal--contacts .contacts-sheet__phones .status-pill {
        border-color: rgba(197, 142, 48, 0.2) !important;
        background: #fffaf1 !important;
        color: #6c481d !important;
    }

    .contacts-sheet__points {
        counter-reset: contact-point;
        display: grid;
        gap: 10px !important;
    }

    .sheet-modal--contacts .contacts-sheet__point {
        counter-increment: contact-point;
        position: relative;
        padding: 14px 13px 14px 55px !important;
        border-color: rgba(111, 78, 46, 0.1) !important;
        background: #fffdfa !important;
        box-shadow: 0 10px 24px rgba(51, 35, 23, 0.06), inset 0 1px 0 #fff !important;
    }

    .sheet-modal--contacts .contacts-sheet__point::before {
        content: counter(contact-point, decimal-leading-zero);
        position: absolute;
        top: 14px;
        left: 13px;
        display: grid;
        width: 31px;
        height: 31px;
        place-items: center;
        border-radius: 50%;
        background: #1b1511;
        color: #e8bb57;
        font-size: 0.56rem;
        font-weight: 850;
    }

    .contacts-sheet__actions {
        position: sticky;
        bottom: 0;
        z-index: 2;
        padding-top: 4px;
        background: linear-gradient(180deg, transparent, #f5ede1 25%);
    }

    /* Long forms are organized into explicit stages. */
    .sheet-modal--franchise .franchise-questionnaire--modal,
    .sheet-modal--review .review-form-card {
        background: linear-gradient(180deg, #faf6ee 0%, #f5ede1 100%) !important;
    }

    .franchise-questionnaire--modal .franchise-modal-section-heading {
        grid-column: 1 !important;
        margin: 6px 0 0 !important;
    }

    .franchise-questionnaire--modal .franchise-questionnaire__control,
    .sheet-modal--review input,
    .sheet-modal--review select,
    .sheet-modal--review textarea {
        border-color: rgba(105, 74, 44, 0.13) !important;
        border-radius: 13px !important;
        background: #fffdfa !important;
        box-shadow: inset 0 1px 0 #fff !important;
    }

    .franchise-questionnaire--modal .franchise-questionnaire__control:focus,
    .sheet-modal--review input:focus,
    .sheet-modal--review select:focus,
    .sheet-modal--review textarea:focus {
        border-color: rgba(196, 143, 50, 0.7) !important;
        box-shadow: 0 0 0 3px rgba(212, 165, 65, 0.12) !important;
    }

    .franchise-questionnaire--modal .franchise-questionnaire__submit,
    .sheet-modal--review .review-form__actions .primary-button {
        min-height: 50px !important;
        border-color: rgba(255, 224, 151, 0.34) !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #efc967 0%, #d2a13f 54%, #aa7222 100%) !important;
        color: #1d150f !important;
        box-shadow: 0 14px 30px rgba(171, 111, 29, 0.22) !important;
        font-weight: 850 !important;
    }

    .sheet-modal--review .review-form-card {
        padding: 13px !important;
    }

    .sheet-modal--review .review-form-card__head {
        padding: 10px 11px;
        border: 1px solid rgba(226, 178, 77, 0.18);
        border-radius: 14px;
        background: linear-gradient(145deg, #241b16, #100d0b);
    }

    .sheet-modal--review .review-form-card__status {
        border-color: rgba(239, 202, 116, 0.2) !important;
        background: rgba(255, 255, 255, 0.06) !important;
        color: #f4d27e !important;
    }

    .sheet-modal--image .sheet-modal__header h2 {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

/* 2026-08-29 v44: full-bleed product photo and storefront-style mobile search. */
.product-card__media,
.product-card__media img {
    background: #fdfdfd !important;
}

@media (max-width: 900px) {
    .product-detail-modal {
        padding: 0 15px 15px !important;
    }

    .product-detail-modal__image {
        width: calc(100% + 30px) !important;
        max-width: none !important;
        min-height: min(39dvh, 330px) !important;
        margin: 0 -15px !important;
        border-radius: 0 !important;
        background: #fdfdfd !important;
        object-fit: cover !important;
        object-position: center !important;
        box-shadow: none !important;
    }

    .mobile-search-modal__form {
        grid-template-rows: 54px !important;
        align-items: stretch !important;
    }

    .mobile-search-modal__form input,
    .mobile-search-modal__form > button {
        height: 54px !important;
        min-height: 54px !important;
        align-self: stretch !important;
    }

    .mobile-search-modal__form > button {
        margin: 0 !important;
        transform: none !important;
    }

    .mobile-search-modal .header-search__suggestions {
        top: calc(100% + 11px) !important;
        display: grid;
        gap: 7px !important;
        padding: 8px !important;
        border: 1px solid rgba(137, 94, 39, 0.13) !important;
        border-radius: 18px !important;
        background: rgba(255, 254, 251, 0.985) !important;
        box-shadow: 0 20px 48px rgba(44, 29, 19, 0.18), inset 0 1px 0 #fff !important;
        scrollbar-width: thin;
        scrollbar-color: rgba(170, 116, 38, 0.45) transparent;
    }

    .mobile-search-modal .header-search__suggestions > button {
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 10px !important;
        min-height: 62px !important;
        padding: 7px 10px 7px 7px !important;
        border: 1px solid rgba(118, 82, 42, 0.1) !important;
        border-radius: 13px !important;
        background: linear-gradient(135deg, #fffefd 0%, #f8f2e8 100%) !important;
        color: #30241c !important;
        box-shadow: 0 7px 18px rgba(48, 33, 22, 0.055), inset 0 1px 0 #fff !important;
        text-align: left !important;
    }

    .mobile-search-modal .header-search__suggestions > button:hover,
    .mobile-search-modal .header-search__suggestions > button:focus-visible,
    .mobile-search-modal .header-search__suggestions > button:active {
        border-color: rgba(183, 127, 44, 0.28) !important;
        background: linear-gradient(135deg, #fffdf8 0%, #f2e4ce 100%) !important;
        outline: 0 !important;
        transform: translateY(-1px);
    }

    .mobile-search-modal .header-search__suggestions > button > img {
        width: 48px !important;
        height: 48px !important;
        padding: 3px !important;
        border-radius: 11px !important;
        background: #fdfdfd !important;
        object-fit: contain !important;
        box-shadow: inset 0 0 0 1px rgba(77, 54, 36, 0.055) !important;
    }

    .mobile-search-modal .header-search__suggestions > button > span {
        display: grid !important;
        gap: 3px !important;
        min-width: 0 !important;
    }

    .mobile-search-modal .header-search__suggestions > button strong {
        overflow: hidden !important;
        color: #30241c !important;
        font-size: 0.83rem !important;
        font-weight: 850 !important;
        line-height: 1.18 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .mobile-search-modal .header-search__suggestions > button small {
        overflow: hidden !important;
        color: #8b7867 !important;
        font-size: 0.7rem !important;
        font-weight: 720 !important;
        line-height: 1.1 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .mobile-search-modal .header-search__suggestions > button em {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 28px !important;
        padding: 5px 8px !important;
        border: 1px solid rgba(173, 117, 35, 0.14) !important;
        border-radius: 999px !important;
        background: rgba(223, 177, 80, 0.12) !important;
        color: #8a5b1e !important;
        font-size: 0.7rem !important;
        font-style: normal !important;
        font-weight: 850 !important;
        white-space: nowrap !important;
    }
}

/* 2026-08-29 v45: optical slider centering and polished review controls. */
.slider-arrow--prev::before {
    transform: translate(2px, 2px) rotate(135deg) !important;
}

.slider-arrow--next::before {
    transform: translate(-2px, 2px) rotate(-45deg) !important;
}

@media (max-width: 900px) {
    .sheet-modal--review .sheet-modal__header > div > p:not(.eyebrow) {
        margin-top: 6px !important;
        color: rgba(255, 246, 226, 0.72) !important;
        font-size: 0.82rem !important;
        line-height: 1.38 !important;
    }

    .sheet-modal--review .rating-choice-list {
        gap: 7px !important;
    }

    .sheet-modal--review .rating-choice-list label {
        position: relative;
        min-height: 43px !important;
        padding: 0 13px !important;
        border: 1px solid rgba(118, 82, 42, 0.13) !important;
        border-radius: 999px !important;
        background: #fffdfa !important;
        color: #49382c !important;
        box-shadow: inset 0 1px 0 #fff !important;
        font-size: 0.8rem !important;
        font-weight: 780 !important;
        outline: 0 !important;
        transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease !important;
    }

    .sheet-modal--review .rating-choice-list input[type="radio"] {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 50% !important;
        opacity: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
        pointer-events: none !important;
    }

    .sheet-modal--review .rating-choice-list label:has(input:checked) {
        border-color: rgba(222, 177, 77, 0.46) !important;
        background: linear-gradient(145deg, #2a201a, #15100d) !important;
        color: #f6d37d !important;
        box-shadow: 0 9px 20px rgba(35, 24, 17, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
    }

    .sheet-modal--review .rating-choice-list label:has(input:focus-visible) {
        outline: 2px solid rgba(205, 153, 58, 0.58) !important;
        outline-offset: 2px !important;
    }

    .sheet-modal--review input[type="file"] {
        width: 100% !important;
        min-height: 54px !important;
        padding: 6px !important;
        border: 1px solid rgba(118, 82, 42, 0.13) !important;
        border-radius: 13px !important;
        background: #fffdfa !important;
        color: #746354 !important;
        font-size: 0.76rem !important;
        line-height: 1.2 !important;
        box-shadow: inset 0 1px 0 #fff !important;
    }

    .sheet-modal--review input[type="file"]::file-selector-button,
    .sheet-modal--review input[type="file"]::-webkit-file-upload-button {
        min-height: 40px !important;
        margin-right: 10px !important;
        padding: 0 13px !important;
        border: 1px solid rgba(226, 178, 77, 0.24) !important;
        border-radius: 10px !important;
        background: linear-gradient(145deg, #2a201a, #15100d) !important;
        color: #f2cc70 !important;
        font: inherit !important;
        font-weight: 820 !important;
        cursor: pointer !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
    }

    .sheet-modal--review input::placeholder,
    .sheet-modal--review textarea::placeholder {
        color: #8a7868 !important;
        opacity: 1 !important;
    }
}

/* 2026-08-29 v46: center the franchise sheet like the other mobile modals. */
@media (max-width: 900px) {
    .modal-shell[data-franchise-lead-modal].is-open {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px !important;
        overflow: hidden !important;
    }

    .modal-shell[data-franchise-lead-modal] .sheet-modal--franchise {
        position: relative !important;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: min(760px, calc(100vw - 24px)) !important;
        max-width: 760px !important;
        height: auto !important;
        max-height: calc(100dvh - 24px) !important;
        margin: auto !important;
        border: 1px solid rgba(226, 178, 77, 0.2) !important;
        border-radius: 24px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        transform: none !important;
    }

    .modal-shell[data-franchise-lead-modal]:not(.is-open) {
        display: none !important;
    }

    .sheet-modal--franchise .franchise-questionnaire__submit {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 4 !important;
        margin-top: 8px !important;
        box-shadow:
            0 -12px 22px rgba(245, 237, 225, 0.96),
            0 14px 30px rgba(171, 111, 29, 0.22) !important;
    }
}

/* 2026-08-29 v48: reversible neutral page canvas trial. */
body {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 42%, #f5f5f3 100%) fixed !important;
}

/* 2026-08-30 v51: live search index and smaller icon-only close controls. */
.mobile-search-modal__guide[hidden] {
    display: none !important;
}

.header-search__suggestions-empty {
    margin: 0;
    padding: 18px 16px;
    color: #6f6258;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

:where(
    button[data-header-menu-close],
    button[data-account-menu-close],
    button[data-mobile-search-close],
    button[data-cart-close],
    button[data-city-close],
    button[data-delivery-close],
    button[data-contacts-close],
    button[data-admin-notifications-close],
    button[data-product-detail-close],
    button[data-promo-detail-close],
    button[data-image-lightbox-close],
    button[data-checkout-close],
    button[data-review-modal-close],
    button[data-review-close],
    button[data-franchise-lead-close],
    button[data-partner-cart-close],
    button[data-order-modal-close]
) {
    position: relative !important;
    display: inline-grid !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    place-items: center !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

:where(
    button[data-header-menu-close],
    button[data-account-menu-close],
    button[data-mobile-search-close],
    button[data-cart-close],
    button[data-city-close],
    button[data-delivery-close],
    button[data-contacts-close],
    button[data-admin-notifications-close],
    button[data-product-detail-close],
    button[data-promo-detail-close],
    button[data-image-lightbox-close],
    button[data-checkout-close],
    button[data-review-modal-close],
    button[data-review-close],
    button[data-franchise-lead-close],
    button[data-partner-cart-close],
    button[data-order-modal-close]
) > span,
:where(
    button[data-header-menu-close],
    button[data-account-menu-close],
    button[data-mobile-search-close],
    button[data-cart-close],
    button[data-city-close],
    button[data-delivery-close],
    button[data-contacts-close],
    button[data-admin-notifications-close],
    button[data-product-detail-close],
    button[data-promo-detail-close],
    button[data-image-lightbox-close],
    button[data-checkout-close],
    button[data-review-modal-close],
    button[data-review-close],
    button[data-franchise-lead-close],
    button[data-partner-cart-close],
    button[data-order-modal-close]
) > svg {
    display: none !important;
}

:where(
    button[data-header-menu-close],
    button[data-account-menu-close],
    button[data-mobile-search-close],
    button[data-cart-close],
    button[data-city-close],
    button[data-delivery-close],
    button[data-contacts-close],
    button[data-admin-notifications-close],
    button[data-product-detail-close],
    button[data-promo-detail-close],
    button[data-image-lightbox-close],
    button[data-checkout-close],
    button[data-review-modal-close],
    button[data-review-close],
    button[data-franchise-lead-close],
    button[data-partner-cart-close],
    button[data-order-modal-close]
)::before,
:where(
    button[data-header-menu-close],
    button[data-account-menu-close],
    button[data-mobile-search-close],
    button[data-cart-close],
    button[data-city-close],
    button[data-delivery-close],
    button[data-contacts-close],
    button[data-admin-notifications-close],
    button[data-product-detail-close],
    button[data-promo-detail-close],
    button[data-image-lightbox-close],
    button[data-checkout-close],
    button[data-review-modal-close],
    button[data-review-close],
    button[data-franchise-lead-close],
    button[data-partner-cart-close],
    button[data-order-modal-close]
)::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 14px !important;
    height: 1.7px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    transform-origin: center !important;
}

:where(
    button[data-header-menu-close],
    button[data-account-menu-close],
    button[data-mobile-search-close],
    button[data-cart-close],
    button[data-city-close],
    button[data-delivery-close],
    button[data-contacts-close],
    button[data-admin-notifications-close],
    button[data-product-detail-close],
    button[data-promo-detail-close],
    button[data-image-lightbox-close],
    button[data-checkout-close],
    button[data-review-modal-close],
    button[data-review-close],
    button[data-franchise-lead-close],
    button[data-partner-cart-close],
    button[data-order-modal-close]
)::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

:where(
    button[data-header-menu-close],
    button[data-account-menu-close],
    button[data-mobile-search-close],
    button[data-cart-close],
    button[data-city-close],
    button[data-delivery-close],
    button[data-contacts-close],
    button[data-admin-notifications-close],
    button[data-product-detail-close],
    button[data-promo-detail-close],
    button[data-image-lightbox-close],
    button[data-checkout-close],
    button[data-review-modal-close],
    button[data-review-close],
    button[data-franchise-lead-close],
    button[data-partner-cart-close],
    button[data-order-modal-close]
)::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* Legacy-variant specificity guard; the icon-only close enforcement below stays last. */
@media (max-width: 900px) {
    .sheet-modal--promo .sheet-modal__header,
    .sheet-modal--image .sheet-modal__header,
    .sheet-modal--product .sheet-modal__header,
    .sheet-modal--contacts .sheet-modal__header,
    .sheet-modal--franchise .sheet-modal__header,
    .sheet-modal--review .sheet-modal__header,
    .sheet-modal--notifications .sheet-modal__header {
        border-bottom: 1px solid rgba(239, 202, 116, 0.19) !important;
        background:
            radial-gradient(circle at 0 0, rgba(226, 178, 77, 0.13), transparent 14rem),
            rgba(16, 13, 11, 0.97) !important;
        box-shadow: 0 12px 32px rgba(20, 14, 10, 0.18) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        backdrop-filter: blur(20px) !important;
    }

    .sheet-modal--promo .sheet-modal__header .eyebrow,
    .sheet-modal--image .sheet-modal__header .eyebrow,
    .sheet-modal--product .sheet-modal__header .eyebrow,
    .sheet-modal--contacts .sheet-modal__header .eyebrow,
    .sheet-modal--franchise .sheet-modal__header .eyebrow,
    .sheet-modal--review .sheet-modal__header .eyebrow,
    .sheet-modal--notifications .sheet-modal__header .eyebrow {
        color: rgba(244, 210, 132, 0.62) !important;
    }

    .sheet-modal--promo .sheet-modal__header h2,
    .sheet-modal--image .sheet-modal__header h2,
    .sheet-modal--product .sheet-modal__header h2,
    .sheet-modal--contacts .sheet-modal__header h2,
    .sheet-modal--franchise .sheet-modal__header h2,
    .sheet-modal--review .sheet-modal__header h2,
    .sheet-modal--notifications .sheet-modal__header h2 {
        color: #f5d17c !important;
        font-family: Georgia, "Times New Roman", serif !important;
    }

    .sheet-modal--promo .sheet-modal__header .ghost-button,
    .sheet-modal--image .sheet-modal__header .ghost-button,
    .sheet-modal--product .sheet-modal__header .ghost-button,
    .sheet-modal--contacts .sheet-modal__header .ghost-button,
    .sheet-modal--franchise .sheet-modal__header .ghost-button,
    .sheet-modal--review .sheet-modal__header .ghost-button,
    .sheet-modal--notifications .sheet-modal__header .ghost-button,
    .delivery-modal-crown .delivery-modal-close {
        border: 1px solid rgba(239, 202, 116, 0.19) !important;
        background: rgba(255, 255, 255, 0.065) !important;
        color: #fff8ea !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }
}

/* Keep icon-only close controls stronger than legacy modal typography. */
button.header-menu__close[data-header-menu-close],
button.account-menu__close[data-account-menu-close],
button.mobile-search-modal__close[data-mobile-search-close],
button.ghost-button[data-cart-close],
button.ghost-button[data-city-close],
button.delivery-modal-close[data-delivery-close],
button.ghost-button[data-contacts-close],
button.ghost-button[data-admin-notifications-close],
button.ghost-button[data-product-detail-close],
button.ghost-button[data-promo-detail-close],
button.ghost-button[data-image-lightbox-close],
button.ghost-button[data-checkout-close],
button.ghost-button[data-review-modal-close],
button.ghost-button[data-review-close],
button.ghost-button[data-franchise-lead-close],
button.partner-cart-close[data-partner-cart-close],
button.partner-order-modal__close[data-order-modal-close] {
    display: inline-grid !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    place-items: center !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.sheet-modal--product button.ghost-button[data-product-detail-close],
.sheet-modal--promo button.ghost-button[data-promo-detail-close],
.sheet-modal--image button.ghost-button[data-image-lightbox-close] {
    font-size: 0 !important;
    line-height: 0 !important;
}

/* 2026-08-30 v52: contacts-to-delivery CTA and one reliable delivery close control. */
.sheet-modal--contacts .contacts-sheet__actions {
    position: static !important;
    inset: auto !important;
    display: block !important;
    padding: 0 !important;
    background: none !important;
}

.contacts-sheet__delivery-link {
    appearance: none;
    display: grid;
    width: 100%;
    min-height: 68px;
    grid-template-columns: 42px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(226, 178, 77, 0.27);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(239, 202, 116, 0.16), transparent 12rem),
        linear-gradient(135deg, #281d17 0%, #17110e 58%, #0d0a08 100%);
    color: #fff8e9;
    box-shadow: 0 16px 34px rgba(39, 25, 16, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.055);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contacts-sheet__delivery-link:hover,
.contacts-sheet__delivery-link:focus-visible {
    border-color: rgba(239, 202, 116, 0.52);
    box-shadow: 0 18px 38px rgba(39, 25, 16, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    outline: none;
}

.contacts-sheet__delivery-icon,
.contacts-sheet__delivery-arrow {
    display: grid;
    place-items: center;
    border: 1px solid rgba(239, 202, 116, 0.22);
    border-radius: 50%;
    background: rgba(239, 202, 116, 0.09);
    color: #efc768;
}

.contacts-sheet__delivery-icon {
    width: 42px;
    height: 42px;
}

.contacts-sheet__delivery-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contacts-sheet__delivery-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.contacts-sheet__delivery-copy strong {
    color: #f3d17e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.98rem;
    line-height: 1.15;
}

.contacts-sheet__delivery-copy small {
    color: rgba(255, 248, 233, 0.62);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.25;
}

.contacts-sheet__delivery-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
    line-height: 1;
}

button.delivery-modal-close[data-delivery-close] {
    position: relative !important;
    overflow: hidden !important;
}

button.delivery-modal-close[data-delivery-close]::before,
button.delivery-modal-close[data-delivery-close]::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 14px !important;
    height: 1.7px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    transform-origin: center !important;
}

button.delivery-modal-close[data-delivery-close]::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

button.delivery-modal-close[data-delivery-close]::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

@media (max-width: 900px) {
    .contacts-sheet__delivery-link {
        min-height: 64px;
        grid-template-columns: 38px minmax(0, 1fr) 30px;
        gap: 10px;
        padding: 10px 11px;
        border-radius: 16px;
    }

    .contacts-sheet__delivery-icon {
        width: 38px;
        height: 38px;
    }

    .contacts-sheet__delivery-arrow {
        width: 30px;
        height: 30px;
    }
}


/* 2026-08-30: crawlable product links and MP4/GIF media parity. */
.product-card__topline h4 a {
    color: inherit;
    text-decoration: none;
}

.product-card__topline h4 a:hover,
.product-card__topline h4 a:focus-visible {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.product-card__media {
    color: inherit;
    text-decoration: none;
}

.product-card__media img,
.product-card__media video,
.product-card__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__media video {
    pointer-events: none;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card__media video,
.product-card:focus-within .product-card__media video {
    transform: scale(1.025);
}

.product-page__video {
    width: 100%;
    max-height: 720px;
    border-radius: inherit;
    background: #f3eee7;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .product-card__media video,
    .product-page__video {
        animation: none !important;
    }
}


/* 2026-08-31: desktop storefront now shares the app's dark/gold visual system (v55). */
@media (min-width: 821px) {
    .site-header__actions .header-link--account,
    .site-header__actions .header-link--login-icon {
        box-sizing: border-box;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
        border: 1px solid rgba(239, 198, 103, 0.18) !important;
        border-radius: 13px !important;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)) !important;
        color: #f4ddaa !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 7px 18px rgba(0, 0, 0, 0.12) !important;
    }

    .site-header__actions .header-link--account:hover,
    .site-header__actions .header-link--login-icon:hover {
        border-color: rgba(239, 198, 103, 0.38) !important;
        background: linear-gradient(145deg, rgba(212, 165, 65, 0.22), rgba(212, 165, 65, 0.08)) !important;
        color: #f6ca65 !important;
        transform: translateY(-1px);
    }

    .home-layout {
        grid-template-columns: minmax(236px, 258px) minmax(0, 1fr) !important;
        gap: 28px !important;
        align-items: start;
    }

    .page-sidebar__panel {
        box-sizing: border-box;
        padding: 12px !important;
        overflow: hidden;
        border: 1px solid rgba(239, 198, 103, 0.19) !important;
        border-radius: 22px !important;
        background:
            radial-gradient(circle at 8% 0, rgba(212, 165, 65, 0.18), transparent 23rem),
            linear-gradient(160deg, #1f1915 0%, #12100e 68%, #0d0b0a 100%) !important;
        box-shadow: 0 24px 54px rgba(35, 24, 17, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
    }

    .page-sidebar__sticky-head {
        padding: 0 0 12px !important;
        border-bottom: 1px solid rgba(239, 198, 103, 0.13) !important;
    }

    .sidebar-city {
        box-sizing: border-box;
        width: 100% !important;
        min-height: 52px !important;
        padding: 0 14px !important;
        border: 1px solid rgba(239, 198, 103, 0.2) !important;
        border-radius: 15px !important;
        background: rgba(255, 255, 255, 0.065) !important;
        color: #fff8ea !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
    }

    .sidebar-city:hover {
        border-color: rgba(239, 198, 103, 0.42) !important;
        background: rgba(212, 165, 65, 0.13) !important;
    }

    .sidebar-city__pin {
        border-color: #e8b954 !important;
    }

    .page-sidebar__quicklinks {
        display: grid !important;
        gap: 4px !important;
        margin-top: 9px !important;
    }

    .page-sidebar__link {
        box-sizing: border-box;
        display: flex !important;
        width: 100%;
        min-height: 38px;
        align-items: center;
        padding: 7px 10px !important;
        border: 0 !important;
        border-radius: 11px !important;
        background: transparent !important;
        color: rgba(255, 248, 234, 0.76) !important;
        font-size: 0.8rem !important;
        font-weight: 680 !important;
        line-height: 1.3 !important;
        text-align: left;
        transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease !important;
    }

    .page-sidebar__link:hover,
    .page-sidebar__link:focus-visible {
        background: rgba(212, 165, 65, 0.12) !important;
        color: #f2c868 !important;
        transform: translateX(3px);
        outline: none;
    }

    .page-sidebar__nav {
        display: grid !important;
        gap: 3px !important;
        padding-top: 12px !important;
    }

    .page-sidebar__nav a {
        box-sizing: border-box;
        display: flex !important;
        min-height: 39px !important;
        align-items: center !important;
        padding: 7px 11px !important;
        border: 1px solid transparent !important;
        border-radius: 11px !important;
        color: rgba(255, 248, 234, 0.72) !important;
        font-size: 0.82rem !important;
        font-weight: 680 !important;
        line-height: 1.25 !important;
        transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
    }

    .page-sidebar__nav a:hover,
    .page-sidebar__nav a:focus-visible {
        border-color: rgba(239, 198, 103, 0.16) !important;
        background: rgba(255, 255, 255, 0.06) !important;
        color: #fff9ed !important;
        transform: translateX(3px);
        outline: none;
    }

    .page-sidebar__nav a.is-active {
        border-color: rgba(239, 198, 103, 0.26) !important;
        background: linear-gradient(145deg, rgba(212, 165, 65, 0.28), rgba(212, 165, 65, 0.1)) !important;
        color: #f6ce72 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
    }

    .fulfillment-strip {
        padding: 8px !important;
        border: 1px solid rgba(212, 165, 65, 0.18) !important;
        border-radius: 18px !important;
        background: rgba(255, 253, 249, 0.9) !important;
        box-shadow: 0 15px 34px rgba(59, 41, 27, 0.08) !important;
        backdrop-filter: blur(18px);
    }

    .fulfillment-option,
    .fulfillment-address {
        border-radius: 13px !important;
    }

    .fulfillment-option.is-active {
        background: linear-gradient(145deg, #231914, #100d0b) !important;
        color: #f7e7c3 !important;
        box-shadow: 0 8px 20px rgba(35, 25, 20, 0.18), inset 0 0 0 1px rgba(239, 198, 103, 0.14) !important;
    }

    .delivery-hero__copy h1 {
        letter-spacing: -0.038em;
    }

    .promo-panel--hero,
    .promo-carousel__viewport,
    .promo-slide,
    .promo-slide__media,
    .promo-slide__media img {
        border-radius: 22px !important;
    }

    .promo-panel--hero {
        filter: drop-shadow(0 18px 32px rgba(52, 35, 24, 0.09));
    }

    .category-section {
        margin-top: 30px !important;
    }

    .category-section__head {
        align-items: end !important;
        margin-bottom: 15px !important;
        padding: 0 4px 12px !important;
        border-bottom: 1px solid rgba(67, 48, 34, 0.1) !important;
    }

    .category-section__head h3 a {
        color: #211914 !important;
        letter-spacing: -0.025em;
        text-decoration: none !important;
    }

    .product-grid {
        gap: 18px !important;
    }

    .product-card {
        overflow: hidden !important;
        border: 1px solid rgba(67, 48, 34, 0.085) !important;
        border-radius: 20px !important;
        background: #fff !important;
        box-shadow: 0 12px 30px rgba(51, 35, 24, 0.06) !important;
        transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease !important;
    }

    .product-card:hover,
    .product-card:focus-within {
        border-color: rgba(212, 165, 65, 0.3) !important;
        box-shadow: 0 22px 44px rgba(51, 35, 24, 0.12) !important;
        transform: translateY(-4px);
    }

    .product-card__media {
        width: calc(100% - 16px) !important;
        margin: 8px 8px 0 !important;
        overflow: hidden !important;
        border-radius: 15px !important;
        background: #fdfdfd !important;
    }

    .product-card__media img,
    .product-card__media video {
        border-radius: inherit !important;
    }

    .product-card__body {
        padding: 13px 13px 14px !important;
    }

    .product-card__actions .add-to-cart,
    .product-card__actions .ghost-link {
        min-height: 41px !important;
        border-radius: 11px !important;
    }

    .catalog-admin-alert,
    .catalog-sort-panel,
    .catalog-search-status {
        border-radius: 15px !important;
        box-shadow: 0 10px 28px rgba(51, 35, 24, 0.055);
    }
}

@media (min-width: 821px) and (max-width: 1120px) {
    .home-layout {
        grid-template-columns: 220px minmax(0, 1fr) !important;
        gap: 20px !important;
    }

    .page-sidebar__link,
    .page-sidebar__nav a {
        font-size: 0.76rem !important;
    }
}

/* 2026-08-31: compact desktop header aligned to the catalog grid and light navigation rail (v57). */
@media (min-width: 821px) {
    .site-header {
        min-height: 72px !important;
        border-bottom-color: rgba(225, 177, 72, 0.2) !important;
        background:
            radial-gradient(circle at 12% -110%, rgba(225, 177, 72, 0.15), transparent 30%),
            linear-gradient(180deg, #171513 0%, #0d0c0b 100%) !important;
        box-shadow: 0 10px 30px rgba(24, 17, 12, 0.14) !important;
    }

    .site-header__frame {
        width: min(1360px, calc(100% - 40px)) !important;
        height: 72px !important;
        min-height: 72px !important;
        padding: 0 !important;
    }

    .site-header__inner {
        display: flex !important;
        width: 100% !important;
        min-height: 72px !important;
        height: 72px !important;
        align-items: center !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    .site-header .site-header__inner > .brand-mark {
        position: relative !important;
        z-index: 2 !important;
        top: auto !important;
        left: auto !important;
        display: flex !important;
        flex: 0 0 258px !important;
        width: 258px !important;
        min-width: 258px !important;
        height: 68px !important;
        min-height: 68px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        isolation: isolate;
    }

    .site-header .site-header__inner > .brand-mark::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 50%;
        left: 50%;
        width: 205px;
        height: 56px;
        border-radius: 50%;
        background: radial-gradient(ellipse, rgba(226, 175, 65, 0.2) 0%, rgba(226, 175, 65, 0.07) 46%, transparent 74%);
        filter: blur(8px);
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        width: 178px !important;
        max-width: none !important;
        height: 64px !important;
        object-fit: contain !important;
        filter: drop-shadow(0 0 10px rgba(224, 172, 60, 0.16));
    }

    .site-header .brand-mark__caption {
        display: none !important;
    }

    .site-header .header-search {
        box-sizing: border-box !important;
        flex: 0 0 286px !important;
        width: 286px !important;
        max-width: 286px !important;
        height: 42px !important;
        margin: 0 0 0 28px !important;
        padding: 2px !important;
        border: 1px solid rgba(224, 177, 76, 0.26) !important;
        border-radius: 15px !important;
        background: #fffdf9 !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16), inset 0 1px 0 #fff !important;
    }

    .site-header .header-search:focus-within {
        border-color: rgba(226, 177, 69, 0.68) !important;
        box-shadow: 0 0 0 3px rgba(211, 162, 55, 0.13), 0 10px 24px rgba(0, 0, 0, 0.18) !important;
    }

    .site-header .header-search input {
        min-width: 0 !important;
        height: 36px !important;
        padding: 0 11px !important;
        color: #292019 !important;
        font-size: 0.84rem !important;
        font-weight: 650 !important;
    }

    .site-header .header-search input::placeholder {
        color: rgba(57, 44, 34, 0.52) !important;
    }

    .site-header .header-search > .header-search__button {
        box-sizing: border-box !important;
        display: grid !important;
        flex: 0 0 36px !important;
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        place-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 12px !important;
        background: linear-gradient(145deg, #2a211b, #100d0b) !important;
        color: #e9bb55 !important;
        box-shadow: inset 0 0 0 1px rgba(236, 193, 91, 0.14), 0 4px 10px rgba(25, 17, 12, 0.2) !important;
    }

    .site-header .header-search > .header-search__button svg {
        width: 17px !important;
        height: 17px !important;
        margin: 0 !important;
    }

    .site-header__utility {
        display: contents !important;
    }

    .site-header__utility .lang-switch {
        box-sizing: border-box !important;
        display: flex !important;
        width: 63px !important;
        min-width: 63px !important;
        height: 32px !important;
        min-height: 32px !important;
        align-items: center !important;
        gap: 1px !important;
        margin: 0 0 0 10px !important;
        padding: 2px !important;
        border: 1px solid rgba(230, 185, 84, 0.16) !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.055) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    }

    .site-header__utility .lang-switch__item {
        display: grid !important;
        width: 28px !important;
        min-width: 28px !important;
        height: 28px !important;
        min-height: 28px !important;
        place-items: center !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: transparent !important;
        color: rgba(255, 248, 232, 0.62) !important;
        font-size: 0.66rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .site-header__utility .lang-switch__item.is-active {
        background: linear-gradient(145deg, #e2b44d, #be8420) !important;
        color: #20170f !important;
        box-shadow: 0 3px 9px rgba(194, 132, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    }

    .site-header__utility .header-link--contacts {
        box-sizing: border-box !important;
        display: grid !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        place-items: center !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        border: 1px solid rgba(230, 185, 84, 0.19) !important;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, 0.055) !important;
        color: #efd394 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 6px 15px rgba(0, 0, 0, 0.12) !important;
    }

    .site-header__utility .header-contact__icon {
        width: 19px !important;
        height: 19px !important;
    }

    .site-header__actions {
        display: flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 0 0 8px !important;
    }

    .site-header__actions > .cart-button.cart-button--icon,
    .site-header__actions .header-link--account,
    .site-header__actions .header-link--login-icon,
    .site-header__actions > .account-menu > .header-link--account,
    .site-header__actions > .account-menu > .header-link--login-icon {
        box-sizing: border-box !important;
        display: grid !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        place-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(230, 185, 84, 0.19) !important;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, 0.055) !important;
        color: #efd394 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 6px 15px rgba(0, 0, 0, 0.12) !important;
    }

    .site-header__utility .header-link--contacts:hover,
    .site-header__actions > .cart-button.cart-button--icon:hover,
    .site-header__actions .header-link--account:hover,
    .site-header__actions .header-link--login-icon:hover {
        border-color: rgba(235, 190, 88, 0.42) !important;
        background: rgba(226, 177, 69, 0.13) !important;
        color: #f4c968 !important;
        transform: translateY(-1px);
    }

    .site-header__actions > .cart-button.cart-button--icon svg,
    .site-header__actions .header-link--account svg,
    .site-header__actions .header-link--login-icon svg {
        position: static !important;
        display: block !important;
        width: 19px !important;
        height: 19px !important;
        margin: 0 !important;
        transform: none !important;
        stroke: currentColor !important;
    }

    .site-header__actions > .cart-button.cart-button--icon strong {
        top: -6px !important;
        right: -5px !important;
        min-width: 17px !important;
        height: 17px !important;
        padding: 0 4px !important;
        border: 2px solid #15120f !important;
        background: #d9a536 !important;
        color: #17110b !important;
        font-size: 0.6rem !important;
        line-height: 13px !important;
    }

    .page-sidebar {
        top: 96px !important;
    }

    .page-sidebar__panel {
        max-height: calc(100dvh - 110px) !important;
        border: 1px solid rgba(106, 76, 48, 0.13) !important;
        background:
            radial-gradient(circle at 12% 0, rgba(222, 173, 69, 0.1), transparent 21rem),
            linear-gradient(180deg, #fffefa 0%, #fbf7f0 55%, #f7f1e8 100%) !important;
        color: #33271e !important;
        box-shadow: 0 20px 46px rgba(68, 47, 31, 0.1), inset 0 1px 0 #fff !important;
        scrollbar-color: rgba(190, 133, 34, 0.5) rgba(94, 66, 43, 0.06) !important;
    }

    .page-sidebar__panel::-webkit-scrollbar-track {
        background: rgba(94, 66, 43, 0.055) !important;
    }

    .page-sidebar__panel::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(215, 166, 61, 0.7), rgba(171, 112, 23, 0.48)) !important;
    }

    .page-sidebar__sticky-head {
        border-bottom-color: rgba(90, 61, 38, 0.1) !important;
    }

    .sidebar-city {
        border-color: rgba(174, 119, 31, 0.17) !important;
        background: rgba(255, 255, 255, 0.82) !important;
        color: #31241b !important;
        box-shadow: 0 6px 16px rgba(73, 48, 29, 0.06), inset 0 1px 0 #fff !important;
    }

    .sidebar-city:hover {
        border-color: rgba(190, 133, 34, 0.36) !important;
        background: #fff9ed !important;
    }

    .sidebar-city__pin {
        border-color: #bd8122 !important;
    }

    .page-sidebar__link {
        color: #5b4839 !important;
    }

    .page-sidebar__link:hover,
    .page-sidebar__link:focus-visible {
        background: rgba(211, 159, 51, 0.11) !important;
        color: #8b5913 !important;
    }

    .page-sidebar__nav a {
        color: #59483b !important;
    }

    .page-sidebar__nav a:hover,
    .page-sidebar__nav a:focus-visible {
        border-color: rgba(188, 130, 31, 0.14) !important;
        background: rgba(255, 255, 255, 0.78) !important;
        color: #2d2119 !important;
        box-shadow: 0 5px 13px rgba(71, 47, 29, 0.055) !important;
    }

    .page-sidebar__nav a.is-active {
        border-color: rgba(184, 124, 27, 0.22) !important;
        background: linear-gradient(145deg, #f4e2b8, #ead098) !important;
        color: #3a2818 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66), 0 6px 15px rgba(154, 102, 24, 0.1) !important;
    }

    .page-sidebar__panel:focus-visible {
        outline-color: rgba(188, 130, 31, 0.48) !important;
    }
}

@media (min-width: 821px) and (max-width: 1120px) {
    .site-header .site-header__inner > .brand-mark {
        flex-basis: 220px !important;
        width: 220px !important;
        min-width: 220px !important;
    }

    .site-header .site-header__inner > .brand-mark::before {
        width: 178px !important;
    }

    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 158px !important;
        height: 58px !important;
    }

    .site-header .header-search {
        flex-basis: 230px !important;
        width: 230px !important;
        max-width: 230px !important;
        margin-left: 20px !important;
    }
}

/* 2026-08-31: app-like desktop crown, centered guest action and scrollable catalog rail (v56). */
@media (min-width: 821px) {
    .site-header {
        min-height: 82px !important;
        border-bottom: 1px solid rgba(228, 181, 78, 0.22) !important;
        background:
            radial-gradient(circle at 50% -90%, rgba(220, 171, 65, 0.18), transparent 34%),
            linear-gradient(180deg, #171513 0%, #0d0c0b 100%) !important;
        box-shadow: 0 12px 34px rgba(24, 17, 12, 0.16) !important;
    }

    .site-header::after {
        height: 1px !important;
        background: linear-gradient(90deg, transparent, rgba(230, 184, 82, 0.42), transparent) !important;
        opacity: 1 !important;
    }

    .site-header__frame {
        width: min(1600px, calc(100% - 40px)) !important;
        padding-block: 0 !important;
    }

    .site-header__inner {
        position: relative !important;
        display: flex !important;
        min-height: 82px !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 0 !important;
    }

    .site-header .site-header__inner > .brand-mark {
        position: absolute !important;
        z-index: 3 !important;
        top: 50% !important;
        left: 50% !important;
        display: flex !important;
        width: 146px !important;
        min-width: 146px !important;
        height: 58px !important;
        min-height: 58px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translate(-50%, -50%) !important;
    }

    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        display: block !important;
        width: 146px !important;
        max-width: none !important;
        height: 58px !important;
        object-fit: contain !important;
    }

    .site-header .brand-mark__caption {
        display: none !important;
    }

    .site-header .header-search {
        flex: 0 1 410px !important;
        width: clamp(250px, 30vw, 410px) !important;
        max-width: 410px !important;
        margin: 0 auto 0 0 !important;
        border-color: rgba(231, 188, 90, 0.25) !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.055) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 8px 22px rgba(0, 0, 0, 0.14) !important;
    }

    .site-header .header-search:focus-within {
        border-color: rgba(236, 193, 91, 0.6) !important;
        box-shadow: 0 0 0 3px rgba(211, 162, 55, 0.12), 0 10px 24px rgba(0, 0, 0, 0.18) !important;
    }

    .site-header .header-search input {
        color: #fff9ec !important;
    }

    .site-header .header-search input::placeholder {
        color: rgba(255, 249, 236, 0.5) !important;
    }

    .site-header__utility {
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }

    .site-header__utility .header-link--contacts {
        box-sizing: border-box !important;
        display: grid !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
        place-items: center !important;
        padding: 0 !important;
        border-color: rgba(231, 188, 90, 0.2) !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        color: #f0d59b !important;
    }

    .site-header__utility .header-contact__label {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        clip-path: inset(50%) !important;
        white-space: nowrap !important;
    }

    .site-header__utility .header-contact__icon {
        width: 21px !important;
        height: 21px !important;
        margin: 0 !important;
    }

    .site-header__actions {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .site-header__actions .header-link--account,
    .site-header__actions .header-link--login-icon,
    .site-header__actions > .account-menu > .header-link--account,
    .site-header__actions > .account-menu > .header-link--login-icon {
        box-sizing: border-box !important;
        display: grid !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
        place-items: center !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    .site-header__actions .header-link--account svg,
    .site-header__actions .header-link--login-icon svg {
        position: static !important;
        display: block !important;
        width: 22px !important;
        height: 22px !important;
        margin: 0 !important;
        transform: none !important;
    }

    .page-sidebar {
        top: 94px !important;
        align-self: start !important;
    }

    .page-sidebar__panel {
        box-sizing: border-box !important;
        height: auto !important;
        max-height: calc(100dvh - 120px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        scrollbar-gutter: stable !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(226, 179, 77, 0.56) rgba(255, 255, 255, 0.035) !important;
    }

    .page-sidebar__panel::-webkit-scrollbar {
        display: block !important;
        width: 6px !important;
    }

    .page-sidebar__panel::-webkit-scrollbar-track {
        border-radius: 99px;
        background: rgba(255, 255, 255, 0.035);
    }

    .page-sidebar__panel::-webkit-scrollbar-thumb {
        border-radius: 99px;
        background: linear-gradient(180deg, rgba(238, 199, 105, 0.72), rgba(178, 126, 31, 0.5));
    }

    .page-sidebar__panel:focus-visible {
        outline: 2px solid rgba(234, 191, 91, 0.58) !important;
        outline-offset: 3px !important;
    }

    .page-sidebar__quicklinks {
        width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    .page-sidebar__quicklinks > * {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}

@media (min-width: 821px) and (max-width: 1120px) {
    .site-header .site-header__inner > .brand-mark,
    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 112px !important;
        min-width: 112px !important;
        height: 48px !important;
    }

    .site-header .header-search {
        flex-basis: 260px !important;
        width: clamp(210px, 26vw, 260px) !important;
    }

    .site-header__utility {
        gap: 5px !important;
    }

    .site-header__actions {
        gap: 6px !important;
    }
}

/* v57 final precedence over the earlier v56 compatibility layer. */
@media (min-width: 821px) {
    .site-header {
        min-height: 72px !important;
        background:
            radial-gradient(circle at 12% -110%, rgba(225, 177, 72, 0.15), transparent 30%),
            linear-gradient(180deg, #171513 0%, #0d0c0b 100%) !important;
    }

    .site-header__frame {
        width: min(1360px, calc(100% - 40px)) !important;
        height: 72px !important;
        min-height: 72px !important;
        padding: 0 !important;
    }

    .site-header__inner {
        width: 100% !important;
        height: 72px !important;
        min-height: 72px !important;
        gap: 0 !important;
    }

    .site-header .site-header__inner > .brand-mark {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        flex: 0 0 258px !important;
        width: 258px !important;
        min-width: 258px !important;
        height: 68px !important;
        min-height: 68px !important;
        transform: none !important;
    }

    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 178px !important;
        height: 64px !important;
    }

    .site-header .header-search {
        flex: 0 0 286px !important;
        width: 286px !important;
        max-width: 286px !important;
        height: 42px !important;
        margin: 0 0 0 28px !important;
        padding: 2px !important;
        border-color: rgba(224, 177, 76, 0.26) !important;
        border-radius: 15px !important;
        background: #fffdf9 !important;
    }

    .site-header .header-search input {
        height: 36px !important;
        color: #292019 !important;
    }

    .site-header .header-search input::placeholder {
        color: rgba(57, 44, 34, 0.52) !important;
    }

    .site-header__utility {
        display: contents !important;
    }

    .site-header__utility .header-link--contacts,
    .site-header__actions > .cart-button.cart-button--icon,
    .site-header__actions .header-link--account,
    .site-header__actions .header-link--login-icon,
    .site-header__actions > .account-menu > .header-link--account,
    .site-header__actions > .account-menu > .header-link--login-icon {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        border-color: rgba(230, 185, 84, 0.19) !important;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, 0.055) !important;
        color: #efd394 !important;
    }

    .site-header__actions {
        gap: 8px !important;
        margin-left: 8px !important;
    }

    .site-header__actions > .cart-button.cart-button--icon svg,
    .site-header__actions .header-link--account svg,
    .site-header__actions .header-link--login-icon svg {
        width: 19px !important;
        height: 19px !important;
    }

    .page-sidebar {
        top: 96px !important;
    }

    .page-sidebar__panel {
        max-height: calc(100dvh - 110px) !important;
        scrollbar-color: rgba(190, 133, 34, 0.5) rgba(94, 66, 43, 0.06) !important;
    }

    .page-sidebar__panel::-webkit-scrollbar-track {
        background: rgba(94, 66, 43, 0.055) !important;
    }

    .page-sidebar__panel::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(215, 166, 61, 0.7), rgba(171, 112, 23, 0.48)) !important;
    }
}

@media (min-width: 821px) and (max-width: 1120px) {
    .site-header .site-header__inner > .brand-mark {
        flex-basis: 220px !important;
        width: 220px !important;
        min-width: 220px !important;
    }

    .site-header .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 158px !important;
        height: 58px !important;
    }

    .site-header .header-search {
        flex-basis: 230px !important;
        width: 230px !important;
        max-width: 230px !important;
        margin-left: 20px !important;
    }

    .site-header__actions {
        gap: 8px !important;
    }
}

/* 2026-08-31: premium desktop storefront, editorial cards and hospitality footer (v58). */
:root {
    --hani-v58-ink: #211914;
    --hani-v58-muted: #746459;
    --hani-v58-gold: #c9932f;
    --hani-v58-line: rgba(83, 58, 38, 0.105);
    --hani-v58-paper: #fffefa;
    --hani-v58-night: #12100e;
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 5vw, 72px) 0 22px !important;
    border-top: 1px solid rgba(234, 191, 91, 0.26) !important;
    background:
        radial-gradient(circle at 8% 8%, rgba(218, 168, 62, 0.16), transparent 28rem),
        radial-gradient(circle at 88% 120%, rgba(125, 67, 37, 0.2), transparent 34rem),
        linear-gradient(145deg, #1a1714 0%, #100e0c 58%, #080706 100%) !important;
    color: #fff8e9 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1180px, calc(100% - 40px));
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 201, 112, 0.68), transparent);
    transform: translateX(-50%);
}

.site-footer__grid {
    position: relative;
    z-index: 1;
    align-items: start !important;
}

.site-footer__brand,
.site-footer__contact,
.site-footer__info {
    min-width: 0;
}

.site-footer__brand {
    display: grid;
    align-content: start;
    gap: 13px;
}

.site-footer__brand img {
    display: block;
    width: 154px;
    height: 64px;
    object-fit: contain;
    object-position: left center;
}

.site-footer__brand p,
.site-footer__contact p {
    max-width: 330px;
    margin: 0 !important;
    color: rgba(255, 248, 233, 0.58) !important;
    font-size: 0.86rem;
    line-height: 1.62;
}

.site-footer__brand > span:last-child {
    color: #deb65d;
    font-size: 0.67rem;
    font-weight: 760;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-footer__eyebrow {
    display: block;
    color: #d8ae54;
    font-size: 0.65rem;
    font-weight: 780;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer__contact {
    display: grid !important;
    align-items: start !important;
    gap: 11px !important;
}

.site-footer__phone {
    width: fit-content;
    color: #fff8e9 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.28rem, 2.2vw, 1.68rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em;
    text-decoration: none !important;
}

.site-footer__phone:hover,
.site-footer__phone:focus-visible {
    color: #efca73 !important;
}

.site-footer__info {
    display: grid;
    gap: 12px;
}

.site-footer__info h3 {
    margin: -2px 0 2px !important;
    color: #fff9ec !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

.site-footer__links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 22px !important;
    max-width: none !important;
}

.site-footer__links a,
.site-footer__links a:last-child {
    grid-column: auto !important;
    display: flex;
    min-height: 39px !important;
    align-items: center;
    padding: 7px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 248, 233, 0.09) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 248, 233, 0.7) !important;
    font-size: 0.78rem;
    font-weight: 620;
    text-decoration: none !important;
    transition: color 180ms ease, padding-left 180ms ease, border-color 180ms ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    padding-left: 5px !important;
    border-bottom-color: rgba(226, 180, 79, 0.34) !important;
    color: #efc96f !important;
    outline: none;
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding-right: 72px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 248, 233, 0.085);
    color: rgba(255, 248, 233, 0.4);
    font-size: 0.68rem;
    letter-spacing: 0.035em;
}

@media (min-width: 821px) {
    .site-header,
    .site-header__frame,
    .site-header__inner,
    .site-header .brand-mark,
    .site-header .brand-mark__logo,
    .site-header .header-search,
    .site-header__actions > *,
    .site-header__utility .header-link--contacts {
        transition: min-height 240ms ease, height 240ms ease, width 240ms ease, transform 240ms ease, box-shadow 240ms ease, background 240ms ease !important;
    }

    .site-header.is-compact {
        min-height: 64px !important;
        box-shadow: 0 15px 38px rgba(21, 15, 11, 0.22) !important;
    }

    .site-header.is-compact .site-header__frame,
    .site-header.is-compact .site-header__inner {
        height: 64px !important;
        min-height: 64px !important;
    }

    .site-header.is-compact .site-header__inner > .brand-mark {
        height: 60px !important;
        min-height: 60px !important;
    }

    .site-header.is-compact .site-header__inner > .brand-mark > .brand-mark__logo {
        width: 168px !important;
        height: 56px !important;
    }

    .site-header.is-compact .header-search {
        height: 40px !important;
    }

    .site-header.is-compact .site-header__utility .header-link--contacts,
    .site-header.is-compact .site-header__actions > .cart-button.cart-button--icon,
    .site-header.is-compact .site-header__actions .header-link--account,
    .site-header.is-compact .site-header__actions .header-link--login-icon {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    .home-shell {
        padding-bottom: 72px !important;
    }

    .page-sidebar__panel {
        gap: 10px !important;
        padding: 13px 12px 15px !important;
        border-radius: 18px !important;
    }

    .page-sidebar__sticky-head {
        gap: 8px !important;
        padding-bottom: 12px !important;
    }

    .page-sidebar__eyebrow {
        display: block;
        padding: 6px 9px 1px;
        color: #a47323;
        font-size: 0.6rem;
        font-weight: 820;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

    .page-sidebar__eyebrow--catalog {
        padding-top: 4px;
    }

    .page-sidebar__quicklinks,
    .page-sidebar__nav {
        gap: 3px !important;
    }

    .page-sidebar__link,
    .page-sidebar__nav a {
        position: relative;
        min-height: 37px !important;
        align-items: center;
        padding: 8px 26px 8px 10px !important;
        border: 1px solid transparent !important;
        border-radius: 10px !important;
        font-size: 0.78rem !important;
        font-weight: 680 !important;
        line-height: 1.22 !important;
        transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease !important;
    }

    .page-sidebar__link::after,
    .page-sidebar__nav a::after {
        content: "›";
        position: absolute;
        top: 50%;
        right: 10px;
        color: rgba(119, 83, 39, 0.38);
        font-size: 1rem;
        font-weight: 500;
        transform: translateY(-52%);
        transition: transform 180ms ease, color 180ms ease;
    }

    .page-sidebar__link:hover,
    .page-sidebar__link:focus-visible,
    .page-sidebar__nav a:hover,
    .page-sidebar__nav a:focus-visible {
        transform: translateX(2px);
    }

    .page-sidebar__link:hover::after,
    .page-sidebar__link:focus-visible::after,
    .page-sidebar__nav a:hover::after,
    .page-sidebar__nav a:focus-visible::after,
    .page-sidebar__nav a.is-active::after {
        color: #a36b16;
        transform: translate(2px, -52%);
    }

    .page-sidebar__nav a.is-active {
        background: linear-gradient(110deg, rgba(227, 184, 91, 0.3), rgba(255, 253, 247, 0.9)) !important;
        box-shadow: inset 3px 0 0 #c28b2c, 0 7px 16px rgba(109, 74, 30, 0.07) !important;
    }

    .delivery-hero {
        margin: 5px 0 17px !important;
        padding: 11px 4px 0 !important;
    }

    .delivery-hero__copy {
        display: grid;
        gap: 7px;
    }

    .delivery-hero__eyebrow {
        margin: 0 !important;
        color: #9e6d23 !important;
        font-size: 0.66rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.15em;
        line-height: 1.2 !important;
        text-transform: uppercase;
    }

    .delivery-hero h1,
    .section-heading h1,
    .section-heading h2 {
        color: var(--hani-v58-ink) !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-weight: 700 !important;
        letter-spacing: -0.045em !important;
    }

    .delivery-hero h1 {
        max-width: 950px;
        font-size: clamp(2.25rem, 3.8vw, 3.45rem) !important;
        line-height: 0.98 !important;
    }

    .promo-panel--hero {
        position: relative;
        margin-bottom: 48px !important;
        padding: 7px !important;
        border: 1px solid rgba(105, 74, 43, 0.1) !important;
        border-radius: 30px !important;
        background: rgba(255, 255, 255, 0.82) !important;
        box-shadow: 0 26px 64px rgba(55, 37, 24, 0.12), inset 0 1px 0 #fff !important;
    }

    .promo-panel--hero::after {
        content: "";
        position: absolute;
        right: 36px;
        bottom: -18px;
        left: 36px;
        z-index: -1;
        height: 48px;
        border-radius: 50%;
        background: rgba(78, 49, 28, 0.13);
        filter: blur(22px);
    }

    .promo-carousel,
    .promo-carousel__viewport {
        border-radius: 23px !important;
    }

    .promo-carousel__viewport {
        border: 1px solid rgba(255, 255, 255, 0.34) !important;
        box-shadow: inset 0 0 0 1px rgba(22, 15, 11, 0.08) !important;
    }

    .promo-slide__media img {
        transform: scale(1.002);
        transition: transform 6s cubic-bezier(.2,.7,.2,1), filter 500ms ease !important;
    }

    .promo-slide.is-active .promo-slide__media img {
        transform: scale(1.025);
    }

    .promo-carousel__track {
        transition-timing-function: cubic-bezier(.22,.72,.2,1) !important;
    }

    .promo-carousel__nav {
        width: 46px !important;
        height: 46px !important;
        border-color: rgba(255, 231, 178, 0.26) !important;
        background: rgba(19, 15, 12, 0.72) !important;
        color: #f2ce77 !important;
        box-shadow: 0 14px 30px rgba(16, 11, 8, 0.2) !important;
    }

    .promo-carousel__nav--prev {
        left: 18px !important;
    }

    .promo-carousel__nav--next {
        right: 18px !important;
    }

    .promo-carousel__controls {
        position: absolute !important;
        bottom: 15px !important;
        left: 50% !important;
        z-index: 5;
        width: auto !important;
        padding: 7px 10px !important;
        border: 1px solid rgba(255, 238, 199, 0.18);
        border-radius: 99px;
        background: rgba(17, 13, 10, 0.58);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
        backdrop-filter: blur(14px);
        transform: translateX(-50%);
    }

    .promo-carousel__dots {
        gap: 6px !important;
    }

    .promo-dot {
        width: 7px !important;
        height: 7px !important;
        background: rgba(255, 248, 232, 0.46) !important;
    }

    .promo-dot.is-active {
        width: 25px !important;
        background: linear-gradient(90deg, #efcc78, #c9932f) !important;
        box-shadow: 0 0 12px rgba(231, 187, 82, 0.35);
    }

    .category-section {
        margin-top: 34px !important;
    }

    .category-section__head {
        margin-bottom: 17px !important;
        padding-bottom: 12px !important;
    }

    .category-section__head .eyebrow {
        margin-bottom: 5px;
        color: #a77729 !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.15em !important;
    }

    .category-section__head h3,
    .category-section__head h3 a {
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: clamp(1.55rem, 2.2vw, 2.05rem) !important;
        font-weight: 700 !important;
        line-height: 1.05 !important;
    }

    .product-grid,
    .product-grid--page {
        align-items: stretch !important;
        gap: 16px 14px !important;
    }

    .product-card {
        display: flex !important;
        height: 100% !important;
        min-width: 0 !important;
        flex-direction: column !important;
        border: 1px solid var(--hani-v58-line) !important;
        border-radius: 22px !important;
        background: #fff !important;
        box-shadow: 0 13px 32px rgba(54, 37, 24, 0.075), inset 0 1px 0 #fff !important;
        cursor: pointer;
        overflow: hidden !important;
        transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease, border-color 300ms ease !important;
    }

    .product-card:hover,
    .product-card:focus-within {
        border-color: rgba(194, 139, 44, 0.27) !important;
        box-shadow: 0 24px 54px rgba(48, 31, 20, 0.14), 0 0 0 1px rgba(212, 165, 65, 0.05) !important;
        transform: translateY(-7px) !important;
    }

    .product-card__media {
        width: calc(100% - 18px) !important;
        margin: 9px 9px 0 !important;
        aspect-ratio: 1 / 0.88 !important;
        border-radius: 16px !important;
        background: #fafafa !important;
    }

    .product-card__media img,
    .product-card__media video {
        padding: 7px !important;
        background: #fafafa !important;
        object-fit: contain !important;
        transition: transform 520ms cubic-bezier(.2,.8,.2,1), filter 320ms ease !important;
    }

    .product-card:hover .product-card__media img,
    .product-card:focus-within .product-card__media img,
    .product-card:hover .product-card__media video,
    .product-card:focus-within .product-card__media video {
        filter: saturate(1.035) contrast(1.012) !important;
        transform: scale(1.065) !important;
    }

    .product-card__badge-stack {
        top: 12px !important;
        left: 12px !important;
    }

    .product-card .badge {
        min-height: 28px;
        padding: 6px 9px !important;
        border-color: rgba(239, 202, 116, 0.2) !important;
        border-radius: 9px !important;
        background: rgba(22, 17, 14, 0.82) !important;
        color: #efcd7c !important;
        font-size: 0.59rem !important;
        letter-spacing: 0.09em !important;
        backdrop-filter: blur(12px);
    }

    .product-card__body {
        display: grid !important;
        flex: 1 1 auto !important;
        grid-template-rows: auto 1fr auto auto !important;
        gap: 10px !important;
        padding: 14px 14px 13px !important;
    }

    .product-card__topline h4 {
        min-height: 2.58em !important;
        margin: 0 !important;
        color: #231a15 !important;
        font-size: 0.96rem !important;
        font-weight: 740 !important;
        line-height: 1.29 !important;
        letter-spacing: -0.018em !important;
    }

    .product-card__topline h4 a:hover,
    .product-card__topline h4 a:focus-visible {
        color: #97651f !important;
        text-decoration: none !important;
    }

    .product-card__controls {
        align-self: end;
        gap: 9px !important;
    }

    .product-card__pricing {
        min-height: 28px;
        align-items: baseline !important;
    }

    .product-card__pricing strong {
        color: #211914 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.028em !important;
    }

    .product-card__old-price {
        color: #9b8e84 !important;
        font-size: 0.75rem !important;
    }

    .product-card__variant-wrap label,
    .product-card__group-title {
        margin-bottom: 5px !important;
        color: #928277 !important;
        font-size: 0.59rem !important;
        font-weight: 760 !important;
        letter-spacing: 0.12em !important;
    }

    .variant-select {
        min-height: 39px !important;
        padding: 8px 34px 8px 11px !important;
        border-color: rgba(92, 65, 43, 0.12) !important;
        border-radius: 11px !important;
        background-color: #fbfaf7 !important;
        box-shadow: inset 0 1px 2px rgba(39, 27, 19, 0.025) !important;
        font-size: 0.76rem !important;
    }

    .product-card__group-buttons {
        gap: 6px !important;
    }

    .product-card__group-option {
        min-height: 38px !important;
        border-radius: 10px !important;
        background: #fbfaf7 !important;
    }

    .product-card__actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .product-card__actions .primary-button {
        min-height: 43px !important;
        padding: 0 15px !important;
        border: 1px solid rgba(231, 189, 93, 0.23) !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #251b16 0%, #15110e 62%, #0c0a08 100%) !important;
        color: #f4cf79 !important;
        box-shadow: 0 10px 22px rgba(32, 22, 16, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
        font-size: 0.75rem !important;
        font-weight: 790 !important;
        letter-spacing: 0.01em;
        transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease !important;
    }

    .product-card__actions .primary-button:hover,
    .product-card__actions .primary-button:focus-visible {
        border-color: rgba(235, 194, 98, 0.48) !important;
        box-shadow: 0 13px 28px rgba(32, 22, 16, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
        transform: translateY(-1px);
    }

    .product-card__actions .ghost-link {
        display: inline-flex !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 39px !important;
        align-items: center !important;
        gap: 5px;
        justify-content: flex-end !important;
        padding: 0 1px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #766358 !important;
        font-size: 0.69rem !important;
        font-weight: 710 !important;
        text-decoration: none !important;
        white-space: nowrap;
    }

    .product-card__actions .ghost-link::after {
        content: "↗";
        color: #b77e24;
        font-size: 0.78rem;
        transition: transform 180ms ease;
    }

    .product-card__actions .ghost-link:hover,
    .product-card__actions .ghost-link:focus-visible {
        color: #9a671c !important;
        text-decoration: none !important;
    }

    .product-card__actions .ghost-link:hover::after,
    .product-card__actions .ghost-link:focus-visible::after {
        transform: translate(2px, -2px);
    }

    .site-footer__grid {
        grid-template-columns: minmax(220px, 1.08fr) minmax(250px, 0.92fr) minmax(330px, 1.25fr) !important;
        gap: clamp(38px, 5vw, 82px) !important;
    }
}

@media (min-width: 821px) and (max-width: 1120px) {
    .site-footer__grid {
        grid-template-columns: 0.9fr 0.95fr 1.15fr !important;
        gap: 28px !important;
    }

    .site-footer__links {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 820px) {
    .site-footer {
        padding: 38px 0 calc(104px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .site-footer__grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 27px !important;
        padding-inline: 18px !important;
    }

    .site-footer__brand img {
        width: 138px;
        height: 56px;
    }

    .site-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 14px !important;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 25px;
        padding-right: 70px;
        padding-left: 18px;
    }
}

@media (max-width: 420px) {
    .site-footer__links {
        grid-template-columns: 1fr !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-header *,
    .promo-slide__media img,
    .product-card,
    .product-card__media img,
    .product-card__media video,
    .site-footer a {
        animation: none !important;
        transition: none !important;
    }
}

/* 2026-08-31: desktop sidebar harmonized with the white storefront and dark/gold controls (v59). */
@media (min-width: 821px) {
    .page-sidebar__panel {
        gap: 9px !important;
        padding: 12px 11px 14px !important;
        border: 1px solid rgba(52, 38, 29, 0.085) !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        color: #30261f !important;
        box-shadow: 0 18px 42px rgba(50, 35, 24, 0.075), inset 0 1px 0 #fff !important;
        backdrop-filter: blur(18px) saturate(1.03);
        scrollbar-color: rgba(191, 137, 43, 0.46) transparent !important;
    }

    .page-sidebar__panel::-webkit-scrollbar {
        width: 5px !important;
    }

    .page-sidebar__panel::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .page-sidebar__panel::-webkit-scrollbar-thumb {
        border-radius: 99px;
        background: rgba(191, 137, 43, 0.42) !important;
    }

    .page-sidebar__sticky-head {
        gap: 7px !important;
        padding-bottom: 11px !important;
        border-bottom: 1px solid rgba(42, 31, 24, 0.075) !important;
    }

    .sidebar-city {
        min-height: 48px !important;
        padding: 9px 12px !important;
        border: 1px solid rgba(54, 39, 29, 0.1) !important;
        border-radius: 13px !important;
        background: #fdfcf9 !important;
        color: #241c17 !important;
        box-shadow: 0 7px 18px rgba(45, 31, 21, 0.055), inset 0 1px 0 #fff !important;
        font-size: 0.94rem !important;
        font-weight: 760 !important;
    }

    .sidebar-city:hover,
    .sidebar-city:focus-visible {
        border-color: rgba(191, 137, 43, 0.32) !important;
        background: #fffdfa !important;
        box-shadow: 0 10px 23px rgba(55, 37, 24, 0.085), inset 0 1px 0 #fff !important;
        transform: translateY(-1px) !important;
        outline: none;
    }

    .sidebar-city::after {
        color: #b47a1f !important;
        font-size: 0.72rem !important;
    }

    .sidebar-city__pin {
        border-color: #b98125 !important;
    }

    .page-sidebar__eyebrow {
        padding: 7px 9px 2px !important;
        color: #a3752d !important;
        font-size: 0.56rem !important;
        font-weight: 820 !important;
        letter-spacing: 0.14em !important;
    }

    .page-sidebar__eyebrow--catalog {
        padding-top: 5px !important;
    }

    .page-sidebar__quicklinks,
    .page-sidebar__nav {
        gap: 2px !important;
    }

    .page-sidebar__quicklinks {
        padding: 2px 0 0 !important;
    }

    .page-sidebar__nav {
        padding-top: 0 !important;
        border-top: 0 !important;
    }

    .page-sidebar__link,
    .page-sidebar__nav a {
        position: relative !important;
        display: flex !important;
        min-height: 35px !important;
        align-items: center !important;
        gap: 9px !important;
        padding: 7px 10px 7px 20px !important;
        border: 1px solid transparent !important;
        border-radius: 9px !important;
        background: transparent !important;
        color: #65584f !important;
        box-shadow: none !important;
        font-size: 0.76rem !important;
        font-weight: 650 !important;
        line-height: 1.23 !important;
        transform: none !important;
    }

    .page-sidebar__link::before,
    .page-sidebar__nav a::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 9px;
        display: block;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: rgba(169, 116, 30, 0.36);
        transform: translateY(-50%);
        transition: width 180ms ease, height 180ms ease, background 180ms ease, box-shadow 180ms ease;
    }

    .page-sidebar__link::after,
    .page-sidebar__nav a::after {
        display: none !important;
        content: none !important;
    }

    .page-sidebar__link:hover,
    .page-sidebar__link:focus-visible,
    .page-sidebar__nav a:hover,
    .page-sidebar__nav a:focus-visible {
        border-color: rgba(69, 48, 34, 0.075) !important;
        background: #f8f6f2 !important;
        color: #2d231d !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
        transform: none !important;
        outline: none;
    }

    .page-sidebar__link:hover::before,
    .page-sidebar__link:focus-visible::before,
    .page-sidebar__nav a:hover::before,
    .page-sidebar__nav a:focus-visible::before {
        background: #b97f22;
    }

    .page-sidebar__nav a.is-active {
        padding-left: 23px !important;
        border-color: rgba(231, 189, 93, 0.22) !important;
        background: linear-gradient(135deg, #241c17 0%, #12100e 100%) !important;
        color: #f0cb73 !important;
        box-shadow: 0 9px 21px rgba(30, 21, 15, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }

    .page-sidebar__nav a.is-active::before {
        left: 10px;
        width: 5px;
        height: 5px;
        background: #e2b85a;
        box-shadow: 0 0 0 4px rgba(226, 184, 90, 0.12);
    }
}

/* 2026-08-31 v60: compact desktop controls, mobile card parity and repaired delivery header. */
@media (min-width: 821px) {
    .page-sidebar__link,
    .page-sidebar__nav a {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
    }

    .sidebar-city {
        font-size: 0.98rem !important;
    }

    .site-header .header-search {
        flex-basis: 236px !important;
        width: 236px !important;
        min-width: 236px !important;
        max-width: 236px !important;
        height: 40px !important;
        margin-left: 24px !important;
        border-radius: 14px !important;
    }

    .site-header .header-search input {
        height: 34px !important;
        padding-inline: 10px !important;
        font-size: 0.79rem !important;
    }

    .site-header .header-search > .header-search__button {
        flex-basis: 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        border-radius: 11px !important;
    }

    .site-header__utility .lang-switch {
        width: 63px !important;
        min-width: 63px !important;
        height: 32px !important;
        min-height: 32px !important;
        gap: 1px !important;
        padding: 2px !important;
        border-color: rgba(239, 202, 116, 0.12) !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.043) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.043) !important;
    }

    .site-header__utility .lang-switch__item {
        width: 28px !important;
        min-width: 28px !important;
        height: 28px !important;
        min-height: 28px !important;
        border-radius: 999px !important;
        color: rgba(255, 248, 232, 0.62) !important;
        font-size: 0.68rem !important;
        font-weight: 500 !important;
    }

    .site-header__utility .lang-switch__item.is-active {
        border-radius: 999px !important;
        background: linear-gradient(145deg, rgba(226, 181, 77, 0.32), rgba(167, 115, 33, 0.2)) !important;
        color: #ffe7a3 !important;
        box-shadow: inset 0 0 0 1px rgba(239, 202, 116, 0.12) !important;
    }
}

@media (min-width: 821px) and (max-width: 1120px) {
    .site-header .header-search {
        flex-basis: 210px !important;
        width: 210px !important;
        min-width: 210px !important;
        max-width: 210px !important;
        margin-left: 18px !important;
    }
}

@media (min-width: 901px) {
    .sheet-modal--delivery-map {
        height: min(860px, calc(100dvh - 140px)) !important;
        max-height: calc(100dvh - 140px) !important;
        overflow: hidden !important;
        border: 1px solid rgba(211, 163, 64, 0.24) !important;
        border-radius: 24px !important;
        background: linear-gradient(180deg, #fffefb 0%, #f7f0e4 100%) !important;
        box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46) !important;
    }

    .sheet-modal--delivery-map .delivery-modal-crown {
        position: relative !important;
        top: auto !important;
        z-index: 20 !important;
        display: flex !important;
        width: 100% !important;
        height: 76px !important;
        min-height: 76px !important;
        max-height: 76px !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px !important;
        padding: 9px 16px 9px 18px !important;
        border-bottom: 1px solid rgba(239, 202, 116, 0.19) !important;
        background: radial-gradient(circle at 8% -40%, rgba(226, 178, 77, 0.19), transparent 18rem), linear-gradient(180deg, #171411 0%, #0e0c0a 100%) !important;
        box-shadow: 0 12px 30px rgba(20, 14, 10, 0.19) !important;
    }

    .sheet-modal--delivery-map .delivery-modal-crown .overlay-brand {
        display: grid !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        grid-template-columns: 112px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .sheet-modal--delivery-map .delivery-modal-crown .overlay-brand > img {
        display: block !important;
        width: 112px !important;
        max-width: 112px !important;
        height: 54px !important;
        object-fit: contain !important;
        object-position: center !important;
        filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.28)) !important;
    }

    .sheet-modal--delivery-map .delivery-modal-crown .overlay-brand > div {
        display: grid !important;
        min-width: 0 !important;
        gap: 3px !important;
    }

    .sheet-modal--delivery-map .delivery-modal-crown .overlay-brand span {
        color: rgba(244, 210, 132, 0.62) !important;
        font-size: 0.57rem !important;
        font-weight: 760 !important;
        letter-spacing: 0.17em !important;
        line-height: 1.1 !important;
        text-transform: uppercase !important;
    }

    .sheet-modal--delivery-map .delivery-modal-crown .overlay-brand strong {
        color: #f4cf78 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.18rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em !important;
        line-height: 1.08 !important;
    }

    .sheet-modal--delivery-map button.delivery-modal-close[data-delivery-close] {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        z-index: 21 !important;
        display: inline-grid !important;
        flex: 0 0 38px !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        place-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(239, 202, 116, 0.21) !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.065) !important;
        color: #fff8ea !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 6px 16px rgba(0, 0, 0, 0.14) !important;
    }

    .sheet-modal--delivery-map button.delivery-modal-close[data-delivery-close]:hover,
    .sheet-modal--delivery-map button.delivery-modal-close[data-delivery-close]:focus-visible {
        border-color: rgba(239, 202, 116, 0.48) !important;
        background: rgba(239, 202, 116, 0.12) !important;
        color: #f4cf78 !important;
        outline: none !important;
    }

    .sheet-modal--delivery-map .delivery-modal-layout {
        height: calc(100% - 76px) !important;
        min-height: 0 !important;
    }
}

@media (max-width: 820px) {
    .page-sidebar__eyebrow {
        display: none !important;
    }

    .product-grid,
    .product-grid--page {
        align-items: stretch !important;
        gap: 11px 9px !important;
    }

    .product-card {
        display: flex !important;
        height: 100% !important;
        min-width: 0 !important;
        flex-direction: column !important;
        overflow: hidden !important;
        border: 1px solid rgba(75, 54, 39, 0.095) !important;
        border-radius: 18px !important;
        background: #fff !important;
        box-shadow: 0 10px 25px rgba(54, 37, 24, 0.07), inset 0 1px 0 #fff !important;
        cursor: pointer;
        transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease, border-color 260ms ease !important;
    }

    .product-card:active,
    .product-card:focus-within {
        border-color: rgba(194, 139, 44, 0.25) !important;
        box-shadow: 0 15px 32px rgba(48, 31, 20, 0.12) !important;
        transform: translateY(-2px) !important;
    }

    .product-card__media {
        width: calc(100% - 12px) !important;
        margin: 6px 6px 0 !important;
        aspect-ratio: 1 / 0.9 !important;
        overflow: hidden !important;
        border-radius: 14px !important;
        background: #fafafa !important;
    }

    .product-card__media img,
    .product-card__media video {
        padding: 4px !important;
        border-radius: inherit !important;
        background: #fafafa !important;
        object-fit: contain !important;
        transition: transform 420ms cubic-bezier(.2,.8,.2,1), filter 280ms ease !important;
    }

    .product-card:active .product-card__media img,
    .product-card:focus-within .product-card__media img,
    .product-card:active .product-card__media video,
    .product-card:focus-within .product-card__media video {
        filter: saturate(1.03) contrast(1.01) !important;
        transform: scale(1.045) !important;
    }

    .product-card__badge-stack {
        top: 9px !important;
        left: 9px !important;
    }

    .product-card .badge {
        min-height: 24px !important;
        padding: 5px 7px !important;
        border-color: rgba(239, 202, 116, 0.2) !important;
        border-radius: 8px !important;
        background: rgba(22, 17, 14, 0.82) !important;
        color: #efcd7c !important;
        font-size: 0.52rem !important;
        letter-spacing: 0.07em !important;
        backdrop-filter: blur(10px);
    }

    .product-card__body {
        display: grid !important;
        flex: 1 1 auto !important;
        grid-template-rows: auto 1fr auto auto !important;
        gap: 8px !important;
        padding: 10px 10px 11px !important;
    }

    .product-card__topline h4 {
        min-height: 2.56em !important;
        margin: 0 !important;
        color: #231a15 !important;
        font-size: 0.8rem !important;
        font-weight: 740 !important;
        line-height: 1.28 !important;
        letter-spacing: -0.012em !important;
    }

    .product-card__controls {
        align-self: end !important;
        gap: 7px !important;
    }

    .product-card__pricing {
        min-height: 24px !important;
        align-items: baseline !important;
    }

    .product-card__pricing strong {
        color: #211914 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.02rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.025em !important;
    }

    .product-card__old-price {
        color: #9b8e84 !important;
        font-size: 0.65rem !important;
    }

    .product-card__variant-wrap label,
    .product-card__group-title {
        margin-bottom: 4px !important;
        color: #928277 !important;
        font-size: 0.52rem !important;
        font-weight: 760 !important;
        letter-spacing: 0.09em !important;
    }

    .product-card .variant-select {
        min-height: 36px !important;
        padding: 7px 29px 7px 9px !important;
        border-color: rgba(92, 65, 43, 0.12) !important;
        border-radius: 10px !important;
        background-color: #fbfaf7 !important;
        box-shadow: inset 0 1px 2px rgba(39, 27, 19, 0.025) !important;
        font-size: 0.68rem !important;
    }

    .product-card__group-buttons {
        gap: 5px !important;
    }

    .product-card__group-option {
        min-height: 35px !important;
        border-radius: 9px !important;
        background: #fbfaf7 !important;
    }

    .product-card__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: center !important;
        gap: 3px !important;
    }

    .product-card__actions .primary-button {
        width: 100% !important;
        min-height: 40px !important;
        padding: 0 9px !important;
        border: 1px solid rgba(231, 189, 93, 0.23) !important;
        border-radius: 11px !important;
        background: linear-gradient(135deg, #251b16 0%, #15110e 62%, #0c0a08 100%) !important;
        color: #f4cf79 !important;
        box-shadow: 0 8px 18px rgba(32, 22, 16, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
        font-size: 0.68rem !important;
        font-weight: 790 !important;
    }

    .product-card__actions .ghost-link {
        display: inline-flex !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 27px !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 0 2px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #766358 !important;
        font-size: 0.61rem !important;
        font-weight: 710 !important;
        text-decoration: none !important;
    }

    .product-card__actions .ghost-link::after {
        content: "↗" !important;
        color: #b77e24 !important;
        font-size: 0.69rem !important;
    }
}

/* 2026-08-31 v61: desktop cart/checkout parity with the app and clearer mobile card actions. */
@media (min-width: 901px) {
    .cart-drawer__panel {
        border-left: 1px solid rgba(212, 165, 65, 0.2) !important;
        border-radius: 24px 0 0 24px !important;
        background: radial-gradient(circle at 100% 0, rgba(212, 165, 65, 0.1), transparent 22rem), linear-gradient(180deg, #faf6ee 0%, #f4ecdf 100%) !important;
        box-shadow: -24px 0 70px rgba(30, 20, 14, 0.26) !important;
    }

    .cart-drawer__header {
        position: sticky !important;
        top: 0 !important;
        z-index: 5 !important;
        min-height: 132px !important;
        margin: 18px 18px 0 !important;
        padding: 18px 17px 16px !important;
        border: 1px solid rgba(239, 202, 116, 0.2) !important;
        border-radius: 20px !important;
        background: radial-gradient(circle at 0 0, rgba(226, 178, 77, 0.15), transparent 16rem), linear-gradient(145deg, #211a16, #100d0b) !important;
        box-shadow: 0 14px 34px rgba(30, 20, 14, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
    }

    .cart-drawer__header .eyebrow {
        color: rgba(244, 210, 132, 0.66) !important;
        font-size: 0.61rem !important;
        font-weight: 780 !important;
        letter-spacing: 0.19em !important;
    }

    .cart-drawer__header h2 {
        margin-top: 7px !important;
        color: #f4d27e !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.72rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.035em !important;
    }

    .cart-drawer__subtitle {
        display: block !important;
        margin-top: 7px !important;
        color: rgba(255, 247, 232, 0.6) !important;
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }

    .cart-clear-button,
    .cart-drawer__header .ghost-button {
        border-color: rgba(239, 202, 116, 0.19) !important;
        background: rgba(255, 255, 255, 0.065) !important;
        color: #fff3d5 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }

    .cart-drawer__body {
        gap: 10px !important;
        padding: 16px 18px !important;
    }

    .cart-item {
        gap: 11px !important;
        padding: 12px !important;
        border: 1px solid rgba(111, 79, 49, 0.1) !important;
        border-radius: 17px !important;
        background: #fffdfa !important;
        box-shadow: 0 12px 28px rgba(51, 35, 23, 0.075), inset 0 1px 0 #fff !important;
    }

    .cart-item img {
        width: 62px !important;
        height: 62px !important;
        border-radius: 13px !important;
        object-fit: cover !important;
        box-shadow: 0 5px 12px rgba(51, 35, 23, 0.1) !important;
    }

    .cart-item__meta h4 {
        color: #211914 !important;
        font-size: 0.92rem !important;
        font-weight: 760 !important;
        line-height: 1.24 !important;
    }

    .cart-drawer__footer {
        margin: 0 18px 18px !important;
        padding: 15px 16px 16px !important;
        border: 1px solid rgba(239, 202, 116, 0.18) !important;
        border-radius: 20px !important;
        background: radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.13), transparent 13rem), linear-gradient(155deg, #231a15 0%, #100d0b 100%) !important;
        box-shadow: 0 -16px 38px rgba(31, 21, 14, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    }

    .cart-drawer__footer .cart-total {
        border-bottom-color: rgba(239, 202, 116, 0.12) !important;
        color: rgba(255, 246, 229, 0.68) !important;
    }

    .cart-drawer__footer .cart-total span {
        color: rgba(255, 246, 229, 0.68) !important;
    }

    .cart-drawer__footer .cart-total strong,
    .cart-drawer__footer .cart-total:last-of-type strong {
        color: #f2cb6c !important;
        font-family: Georgia, "Times New Roman", serif !important;
    }

    .cart-drawer__footer > .primary-button {
        min-height: 50px !important;
        border: 1px solid rgba(255, 224, 151, 0.34) !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #efc967 0%, #d2a13f 54%, #aa7222 100%) !important;
        color: #1d150f !important;
        box-shadow: 0 14px 32px rgba(190, 128, 36, 0.25), inset 0 1px 0 rgba(255, 246, 218, 0.5) !important;
        font-weight: 850 !important;
    }

    .cart-drawer__footer .cart-recommendations,
    .cart-drawer__footer .cart-adjustments {
        border-color: rgba(239, 202, 116, 0.16) !important;
        border-radius: 15px !important;
        background: #fffaf1 !important;
    }

    .checkout-modal {
        width: min(780px, calc(100vw - 48px)) !important;
        max-width: 780px !important;
        height: min(900px, calc(100dvh - 56px)) !important;
        max-height: calc(100dvh - 56px) !important;
        border: 1px solid rgba(211, 163, 64, 0.24) !important;
        border-radius: 24px !important;
        background: radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.1), transparent 20rem), linear-gradient(180deg, #fffefb 0%, #f7f0e4 100%) !important;
        box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
        overflow: hidden !important;
    }

    .checkout-modal__header {
        position: sticky !important;
        top: 0 !important;
        z-index: 6 !important;
        min-height: 96px !important;
        margin: 0 !important;
        padding: 18px 22px !important;
        border-bottom: 1px solid rgba(239, 202, 116, 0.2) !important;
        background: radial-gradient(circle at 0 0, rgba(226, 178, 77, 0.15), transparent 17rem), linear-gradient(145deg, #211a16, #100d0b) !important;
        box-shadow: 0 14px 34px rgba(30, 20, 14, 0.18) !important;
    }

    .checkout-modal__header .eyebrow {
        margin: 0 0 7px !important;
        color: rgba(244, 210, 132, 0.66) !important;
        font-size: 0.61rem !important;
        font-weight: 780 !important;
        letter-spacing: 0.19em !important;
    }

    .checkout-modal__header h2 {
        margin: 0 !important;
        color: #f4d27e !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.82rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.035em !important;
        line-height: 1.08 !important;
    }

    .checkout-modal__header .ghost-button {
        border: 1px solid rgba(239, 202, 116, 0.19) !important;
        background: rgba(255, 255, 255, 0.065) !important;
        color: #fff3d5 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }

    .checkout-modal form {
        padding: 0 20px 22px !important;
        background: linear-gradient(180deg, #faf6ee 0%, #f5ede1 100%) !important;
    }

    .checkout-modal .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 12px !important;
        margin: 0 !important;
        padding: 20px 0 !important;
    }

    .checkout-modal .field--full,
    .checkout-section-heading {
        grid-column: 1 / -1 !important;
    }

    .checkout-section-heading {
        display: grid !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 11px !important;
        margin: 8px 0 1px !important;
        padding: 12px 13px !important;
        border: 1px solid rgba(159, 108, 37, 0.13) !important;
        border-radius: 16px !important;
        background: linear-gradient(110deg, rgba(226, 178, 77, 0.105), rgba(255, 255, 255, 0.5)) !important;
        box-shadow: 0 9px 24px rgba(51, 35, 23, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
    }

    .checkout-section-heading:first-child {
        margin-top: 0 !important;
    }

    .checkout-section-heading > span {
        display: grid !important;
        width: 38px !important;
        height: 38px !important;
        place-items: center !important;
        border: 1px solid rgba(196, 143, 50, 0.3) !important;
        border-radius: 50% !important;
        background: #1b1511 !important;
        color: #e8bb57 !important;
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.06em !important;
    }

    .checkout-section-heading > div {
        display: grid !important;
        min-width: 0 !important;
        gap: 3px !important;
    }

    .checkout-section-heading strong {
        color: #30241c !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 1.02rem !important;
        line-height: 1.15 !important;
    }

    .checkout-section-heading small {
        color: #887466 !important;
        font-size: 0.72rem !important;
        line-height: 1.25 !important;
    }

    .checkout-modal .field > label {
        margin-bottom: 7px !important;
        color: #3b2e25 !important;
        font-size: 0.73rem !important;
        font-weight: 780 !important;
    }

    .checkout-modal input:not([type="hidden"]):not([type="checkbox"]),
    .checkout-modal select,
    .checkout-modal textarea {
        min-height: 50px !important;
        padding-inline: 13px !important;
        border: 1px solid rgba(106, 76, 48, 0.13) !important;
        border-radius: 14px !important;
        background: rgba(255, 254, 251, 0.92) !important;
        color: #2b211a !important;
        box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(50, 34, 22, 0.035) !important;
    }

    .checkout-promo-field {
        padding: 14px !important;
        border: 1px solid rgba(163, 113, 40, 0.13) !important;
        border-radius: 17px !important;
        background: rgba(226, 178, 77, 0.055) !important;
    }

    .checkout-modal__summary {
        gap: 12px !important;
        margin: 0 !important;
        padding: 17px !important;
        border: 1px solid rgba(226, 178, 77, 0.22) !important;
        border-radius: 19px !important;
        background: radial-gradient(circle at 100% 0, rgba(226, 178, 77, 0.14), transparent 14rem), linear-gradient(155deg, #231a15 0%, #100d0b 100%) !important;
        color: #fff6e5 !important;
        box-shadow: 0 20px 46px rgba(29, 19, 13, 0.21), inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
    }

    .checkout-modal__recap-row,
    .checkout-modal__totals .cart-total {
        border-bottom-color: rgba(239, 202, 116, 0.12) !important;
    }

    .checkout-modal__recap-row span,
    .checkout-modal__totals .cart-total span {
        color: rgba(255, 244, 222, 0.62) !important;
    }

    .checkout-modal__recap-row strong,
    .checkout-modal__totals .cart-total strong {
        color: #fff8e9 !important;
    }

    .checkout-modal__totals .cart-total:last-of-type strong {
        color: #f0c763 !important;
        font-family: Georgia, "Times New Roman", serif !important;
    }

    .checkout-modal__summary .primary-button {
        min-height: 52px !important;
        border: 1px solid rgba(255, 224, 151, 0.34) !important;
        border-radius: 15px !important;
        background: linear-gradient(135deg, #efc967 0%, #d2a13f 54%, #aa7222 100%) !important;
        color: #1d150f !important;
        box-shadow: 0 14px 32px rgba(190, 128, 36, 0.24), inset 0 1px 0 rgba(255, 246, 218, 0.5) !important;
        font-weight: 850 !important;
    }
}

@media (max-width: 820px) {
    .product-card__actions .primary-button {
        font-size: 0.74rem !important;
    }

    .product-card__actions .ghost-link {
        font-size: 0.66rem !important;
    }
}

/* 2026-08-31 v62: compact desktop cart and wide split checkout. */
@media (min-width: 901px) {
    .cart-drawer__panel {
        padding: 10px !important;
    }

    .cart-drawer__header {
        min-height: 90px !important;
        margin: 0 !important;
        padding: 12px 13px !important;
        border-radius: 16px !important;
    }

    .cart-drawer__header .eyebrow {
        font-size: 0.54rem !important;
        letter-spacing: 0.16em !important;
    }

    .cart-drawer__header h2 {
        margin-top: 3px !important;
        font-size: 1.36rem !important;
        line-height: 1.04 !important;
    }

    .cart-drawer__subtitle {
        margin-top: 4px !important;
        font-size: 0.66rem !important;
        line-height: 1.2 !important;
    }

    .cart-drawer__header-actions {
        gap: 6px !important;
    }

    .cart-clear-button {
        min-height: 32px !important;
        padding-inline: 9px !important;
        border-radius: 9px !important;
        font-size: 0.68rem !important;
    }

    .cart-drawer__header button.ghost-button[data-cart-close] {
        flex-basis: 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
    }

    .cart-drawer__body {
        gap: 8px !important;
        padding: 9px 2px !important;
    }

    .cart-item {
        min-height: 104px !important;
        grid-template-columns: 54px minmax(0, 1fr) 30px !important;
        gap: 9px !important;
        padding: 9px !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 19px rgba(51, 35, 23, 0.065), inset 0 1px 0 #fff !important;
    }

    .cart-item img {
        width: 54px !important;
        height: 54px !important;
        border-radius: 11px !important;
    }

    .cart-item__meta h4 {
        font-size: 0.84rem !important;
        line-height: 1.16 !important;
    }

    .cart-item__meta p {
        font-size: 0.72rem !important;
        line-height: 1.18 !important;
    }

    .cart-item__qty {
        gap: 5px !important;
        margin-top: 5px !important;
    }

    .cart-item__qty .qty-button {
        width: 26px !important;
        min-width: 26px !important;
        height: 26px !important;
        min-height: 26px !important;
    }

    .cart-item__remove {
        width: 30px !important;
        min-width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
    }

    .cart-drawer__footer {
        margin: 0 !important;
        padding: 9px 11px 10px !important;
        border-radius: 16px !important;
    }

    .cart-drawer__footer .cart-total {
        min-height: 34px !important;
        padding-block: 5px !important;
        font-size: 0.82rem !important;
    }

    .cart-drawer__footer .cart-total strong,
    .cart-drawer__footer .cart-total:last-of-type strong {
        font-size: 1.08rem !important;
    }

    .cart-drawer__footer > .primary-button {
        min-height: 44px !important;
        border-radius: 12px !important;
        font-size: 0.82rem !important;
    }

    .cart-drawer__footer .cart-recommendations,
    .cart-drawer__footer .cart-adjustments {
        gap: 5px !important;
        padding: 7px !important;
        border-radius: 12px !important;
    }

    .cart-drawer__footer .cart-recommendation {
        gap: 7px !important;
        padding: 6px !important;
        border-radius: 10px !important;
    }

    .cart-drawer__footer .cart-recommendation img {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
    }

    .cart-drawer__footer .cart-recommendation strong {
        font-size: 0.72rem !important;
        line-height: 1.15 !important;
    }

    .cart-drawer__footer .cart-recommendation small {
        font-size: 0.61rem !important;
    }

    .cart-drawer__footer .cart-recommendation .secondary-button {
        min-height: 30px !important;
        padding-inline: 9px !important;
        font-size: 0.66rem !important;
    }

    .checkout-modal {
        width: min(980px, calc(100vw - 24px)) !important;
        max-width: 980px !important;
        height: min(940px, calc(100dvh - 24px)) !important;
        max-height: calc(100dvh - 24px) !important;
    }

    .checkout-modal__header {
        min-height: 88px !important;
        padding: 15px 20px !important;
    }

    .checkout-modal__header .eyebrow {
        margin-bottom: 5px !important;
        font-size: 0.58rem !important;
    }

    .checkout-modal__header h2 {
        font-size: 1.58rem !important;
    }

    .checkout-modal form {
        display: grid !important;
        min-height: 0 !important;
        grid-template-columns: minmax(0, 1fr) 318px !important;
        align-items: start !important;
        gap: 18px !important;
        padding: 16px !important;
        overflow: hidden !important;
    }

    .checkout-modal .form-grid {
        height: 100% !important;
        min-height: 0 !important;
        align-content: start !important;
        gap: 12px 10px !important;
        padding: 0 8px 0 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        scrollbar-gutter: stable;
    }

    .checkout-modal .field.field--full:has(#id_customer_name),
    .checkout-modal .field.field--full:has(#id_payment_method) {
        grid-column: 1 !important;
    }

    .checkout-modal .field.field--full:has(#id_customer_phone),
    .checkout-modal .field.field--full:has(#id_fulfillment_type) {
        grid-column: 2 !important;
    }

    .checkout-section-heading {
        min-height: 54px !important;
        grid-template-columns: 34px minmax(0, 1fr) !important;
        gap: 9px !important;
        margin: 5px 0 0 !important;
        padding: 9px 11px !important;
        border-radius: 14px !important;
    }

    .checkout-section-heading > span {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.61rem !important;
    }

    .checkout-section-heading strong {
        font-size: 0.94rem !important;
    }

    .checkout-section-heading small {
        font-size: 0.67rem !important;
    }

    .checkout-modal input:not([type="hidden"]):not([type="checkbox"]),
    .checkout-modal select {
        min-height: 46px !important;
    }

    .checkout-modal textarea#id_comment {
        height: 88px !important;
        min-height: 88px !important;
        max-height: 140px !important;
        resize: vertical !important;
    }

    .checkout-modal__summary {
        position: relative !important;
        top: auto !important;
        align-self: start !important;
        width: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }
}

/* 2026-08-31 v63: global search feedback and a tighter desktop cart total. */
.header-search__suggestions-status {
    margin: 0;
    padding: 12px 14px;
    color: #8b7867;
    font-size: 0.78rem;
    font-weight: 720;
    line-height: 1.3;
    text-align: center;
}

@media (min-width: 901px) {
    .cart-drawer__footer {
        gap: 4px !important;
        padding: 7px 10px 8px !important;
    }

    .cart-drawer__footer .cart-total {
        min-height: 30px !important;
        padding-block: 3px !important;
        font-size: 0.78rem !important;
        line-height: 1.15 !important;
    }

    .cart-drawer__footer .cart-total strong,
    .cart-drawer__footer .cart-total:last-of-type strong {
        font-size: 1rem !important;
        line-height: 1.1 !important;
    }

    .cart-drawer__footer > .primary-button {
        min-height: 40px !important;
        font-size: 0.79rem !important;
    }
}
/* 2026-08-31 v64: one primary product media, including MP4 in every storefront surface. */
.product-detail-modal__video {
    display: block;
    width: 100%;
    max-height: min(48vh, 420px);
    border-radius: 8px;
    background: #fdfdfd;
    object-fit: contain;
}

.product-detail-modal__video[hidden] {
    display: none !important;
}

.cart-item > video,
.cart-recommendation > video,
.header-search__suggestions > button > video {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: #fdfdfd;
    object-fit: cover;
}

.cart-recommendation > video {
    width: 56px;
    height: 56px;
}

.header-search__suggestions > button > video {
    width: 48px;
    height: 48px;
    padding: 3px;
    border-radius: 11px;
    object-fit: contain;
    box-shadow: inset 0 0 0 1px rgba(77, 54, 36, 0.055);
}

@media (max-width: 900px) {
    .product-detail-modal__video {
        width: calc(100% + 30px);
        max-width: none;
        min-height: min(39dvh, 330px);
        margin: 0 -15px;
        border-radius: 0;
        object-fit: cover;
        object-position: center;
        box-shadow: none;
    }

    .mobile-search-modal .header-search__suggestions > button > video {
        width: 48px !important;
        height: 48px !important;
        padding: 3px !important;
        border-radius: 11px !important;
        background: #fdfdfd !important;
        object-fit: contain !important;
        box-shadow: inset 0 0 0 1px rgba(77, 54, 36, 0.055) !important;
    }
}

/* 2026-09-09 v66: compact, accessible disclosure for long public SEO copy. */
.seo-disclosure {
    min-width: 0;
    color: var(--ink-soft);
}

.section-heading > .seo-disclosure,
.category-section__head > .seo-disclosure {
    width: min(100%, 640px);
    max-width: 640px;
}

.seo-disclosure__text {
    margin: 0;
    color: inherit;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.seo-disclosure.is-collapsible:not(.is-expanded) .seo-disclosure__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.seo-disclosure__toggle {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    margin: 7px 0 -4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9b691e;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: color 180ms ease;
}

.seo-disclosure__toggle[hidden] {
    display: none !important;
}

.seo-disclosure__toggle:hover {
    color: #6f4510;
}

.seo-disclosure__toggle:focus-visible {
    border-radius: 6px;
    outline: 2px solid rgba(194, 139, 44, 0.5);
    outline-offset: 4px;
}

.seo-disclosure__chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 180ms ease;
}

.seo-disclosure.is-expanded .seo-disclosure__chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

@media (max-width: 820px) {
    .section-heading > .seo-disclosure,
    .category-section__head > .seo-disclosure {
        width: 100%;
        max-width: none;
    }

    .seo-disclosure__text {
        font-size: 0.84rem;
        line-height: 1.58;
    }

    .seo-disclosure__toggle {
        min-height: 38px;
        margin-top: 5px;
        font-size: 0.76rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seo-disclosure__toggle,
    .seo-disclosure__chevron {
        transition: none;
    }
}

/* Price and weight are separate facts in every product surface. */
.product-card__weight,
.product-page__weight {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--ink-soft);
}

.product-card__weight {
    min-height: 20px;
    font-size: 0.82rem;
}

.product-card__weight span,
.product-page__weight span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-card__weight strong,
.product-page__weight strong {
    color: var(--ink);
    font-weight: 750;
}

.product-page__weight {
    margin: -14px 0 24px;
    font-size: 1rem;
}

.product-detail-modal__variant {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.product-detail-modal__variant-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.product-detail-modal__variant-name {
    margin-bottom: 2px;
    color: var(--ink);
    font-weight: 800;
}

.product-detail-modal__variant-weight,
.product-detail-modal__variant-price {
    display: grid;
    grid-template-columns: minmax(46px, max-content) minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
}

.product-detail-modal__variant-weight em,
.product-detail-modal__variant-price em {
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-detail-modal__variant-weight b,
.product-detail-modal__variant-price strong {
    color: var(--ink);
    font-style: normal;
    font-weight: 800;
}

.product-detail-modal__variant-price strong {
    font-size: 1rem;
}

.product-detail-modal__variant > small {
    align-self: center;
}

.product-detail-modal__variant.is-active .product-detail-modal__variant-weight em,
.product-detail-modal__variant.is-active .product-detail-modal__variant-price em {
    color: rgba(255, 246, 229, 0.68) !important;
}

.product-detail-modal__variant.is-active .product-detail-modal__variant-weight b {
    color: inherit !important;
}

@media (max-width: 520px) {
    .product-card__weight {
        font-size: 0.74rem;
    }

    .product-detail-modal__variant {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .product-detail-modal__variant > small {
        margin-left: 0;
        justify-self: start;
    }
}

/* 2026-09-25: calm checkout review and client-facing iiko order number. */
.checkout-modal__summary {
    align-self: start;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 18px !important;
    border: 1px solid rgba(238, 195, 98, 0.24) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 100% 0, rgba(219, 164, 51, 0.22), transparent 17rem),
        linear-gradient(155deg, #2b211b 0%, #17120f 58%, #0f0c0a 100%) !important;
    color: #fff8ea !important;
    box-shadow: 0 22px 50px rgba(31, 20, 14, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.checkout-modal__recap {
    width: 100% !important;
    margin: 0 !important;
    gap: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.checkout-review__head {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.checkout-review__icon {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(244, 203, 111, 0.38);
    border-radius: 50%;
    background: rgba(223, 170, 62, 0.12);
}

.checkout-review__icon::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 12px;
    width: 8px;
    height: 13px;
    border-right: 2px solid #f2ca6e;
    border-bottom: 2px solid #f2ca6e;
    transform: rotate(45deg);
}

.checkout-review__head > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.checkout-review__head strong {
    color: #f6d889;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.15;
}

.checkout-review__head small {
    color: rgba(255, 248, 234, 0.58);
    font-size: 0.72rem;
    line-height: 1.35;
}

.checkout-modal__recap-main {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(246, 213, 137, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.065);
}

.checkout-modal__recap-main .checkout-modal__recap-row {
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.checkout-modal__recap-main .checkout-modal__recap-row:first-child {
    border-top: 0;
}

.checkout-modal__recap-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px;
}

.checkout-modal__recap-meta .checkout-modal__recap-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: start;
    gap: 4px;
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
}

.checkout-modal__recap-row {
    grid-template-columns: minmax(100px, 0.42fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    line-height: 1.35 !important;
}

.checkout-modal__recap-row span {
    color: rgba(255, 248, 234, 0.54) !important;
    font-size: 0.72rem !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
}

.checkout-modal__recap-row strong {
    max-width: none !important;
    color: #fffaf0 !important;
    font-size: 0.82rem !important;
    font-weight: 760 !important;
    line-height: 1.35 !important;
    text-align: right !important;
    overflow-wrap: anywhere;
}

.checkout-modal__recap-row--accent strong {
    color: #f4cf75 !important;
}

.checkout-modal__recap-meta .checkout-modal__recap-row strong {
    text-align: left !important;
}

.checkout-modal__recap-row--comment {
    display: grid;
    padding: 10px 12px;
    border: 1px solid rgba(244, 204, 113, 0.12);
    border-radius: 13px;
    background: rgba(226, 178, 77, 0.055);
}

.checkout-modal__recap-row--comment strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.checkout-modal__totals {
    gap: 7px !important;
    padding: 13px 2px 0 !important;
    border-top: 1px solid rgba(246, 213, 137, 0.14);
}

.checkout-modal__totals .cart-total {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 0.82rem !important;
}

.checkout-modal__totals .cart-total span {
    color: rgba(255, 248, 234, 0.62) !important;
    font-size: 0.78rem !important;
    font-weight: 650 !important;
}

.checkout-modal__totals .cart-total strong {
    max-width: none !important;
    color: #fffaf0 !important;
    font-size: 0.9rem !important;
    font-weight: 780 !important;
    line-height: 1.3 !important;
    text-align: right !important;
    overflow-wrap: normal !important;
}

.checkout-modal__totals .cart-total:last-of-type {
    margin-top: 5px;
    padding-top: 11px !important;
    border-top: 1px solid rgba(246, 213, 137, 0.14);
}

.checkout-modal__totals .cart-total:last-of-type span {
    color: #f6d88a !important;
    font-weight: 780 !important;
}

.checkout-modal__totals .cart-total:last-of-type strong {
    color: #f6d88a !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1.22rem !important;
}

.checkout-modal__summary .primary-button {
    min-height: 52px !important;
    border: 1px solid rgba(255, 230, 169, 0.28) !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #f2c866 0%, #dca83a 100%) !important;
    color: #1b140f !important;
    font-size: 0.92rem !important;
    font-weight: 850 !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.order-success {
    width: min(100%, 880px) !important;
    max-width: 880px !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(190, 135, 43, 0.18) !important;
    border-radius: 28px !important;
    background: #fbf7ef !important;
    box-shadow: 0 30px 80px rgba(35, 24, 17, 0.16) !important;
    overflow: hidden;
}

.order-success__hero {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 34px 28px 30px;
    background:
        radial-gradient(circle at 50% -10%, rgba(231, 183, 76, 0.26), transparent 20rem),
        linear-gradient(155deg, #2a201a 0%, #15110e 62%, #0e0b09 100%);
    color: #fff9ed;
    text-align: center;
}

.order-success__check {
    position: relative;
    width: 54px;
    height: 54px;
    margin-bottom: 3px;
    border: 1px solid rgba(244, 207, 120, 0.48);
    border-radius: 50%;
    background: rgba(224, 173, 63, 0.13);
    box-shadow: 0 0 0 7px rgba(224, 173, 63, 0.055);
}

.order-success__check::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 19px;
    width: 12px;
    height: 20px;
    border-right: 3px solid #f3ce75;
    border-bottom: 3px solid #f3ce75;
    transform: rotate(45deg);
}

.order-success__hero .eyebrow {
    margin: 0 !important;
    color: rgba(255, 244, 218, 0.62) !important;
    font-size: 0.66rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase;
}

.order-success__number-label {
    color: #f6d989;
    font-size: 0.76rem;
    font-weight: 760;
}

.order-success__hero h1 {
    margin: 0 !important;
    color: #f6d77f !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(2.1rem, 6vw, 3.2rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em;
    line-height: 1 !important;
}

.order-success__lead {
    max-width: 480px;
    margin: 4px 0 0 !important;
    color: rgba(255, 248, 234, 0.68) !important;
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
}

.order-success__content {
    display: grid;
    gap: 15px;
    padding: 22px;
}

.order-success__panel {
    display: grid;
    gap: 14px;
    padding: 17px;
    border: 1px solid rgba(104, 73, 45, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 28px rgba(55, 37, 24, 0.045), inset 0 1px 0 #fff;
}

.order-success__section-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-success__section-head > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #221a15;
    color: #f0ca70;
    font-size: 0.62rem;
    font-weight: 850;
}

.order-success__section-head h2 {
    margin: 0;
    color: #2d221b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.2;
}

.order-success__details {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.order-success__details--customer {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.order-success__details p {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: start;
    gap: 5px !important;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(105, 74, 45, 0.08);
    border-radius: 13px;
    background: rgba(250, 245, 235, 0.7);
}

.order-success__details .order-success__detail-wide {
    grid-column: 1 / -1;
}

.order-success__details span,
.order-success__items span,
.order-success__summary-row span,
.order-success__discount-heading span,
.order-success__discount-line span,
.order-success__total span {
    color: #8a7768 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.order-success__details strong {
    color: #2c211a !important;
    font-size: 0.88rem !important;
    font-weight: 780 !important;
    line-height: 1.42 !important;
    text-align: left !important;
    overflow-wrap: anywhere;
}

.order-success__items,
.order-success__summary {
    gap: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.order-success__items p,
.order-success__summary-row,
.order-success__discount-heading,
.order-success__discount-line {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    padding: 10px 2px;
    border-top: 1px solid rgba(100, 70, 43, 0.09);
}

.order-success__items p:first-child {
    border-top: 0;
}

.order-success__items strong,
.order-success__summary-row strong,
.order-success__discount-heading strong,
.order-success__discount-line strong {
    color: #2b211a !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    text-align: right !important;
    white-space: nowrap;
}

.order-success__summary {
    margin-top: 7px;
    padding-top: 7px !important;
    border-top: 1px solid rgba(100, 70, 43, 0.13) !important;
}

.order-success__discounts {
    gap: 0;
    padding: 0;
}

.order-success__discount-line {
    margin-left: 10px !important;
    padding-left: 12px !important;
    border-left: 2px solid rgba(207, 151, 52, 0.36) !important;
}

.order-success__discount-heading strong,
.order-success__discount-line strong,
.order-success__summary-row--discount strong {
    color: #9a4432 !important;
}

.order-success__total {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    margin-top: 8px !important;
    padding: 15px 16px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, rgba(228, 180, 73, 0.18), rgba(228, 180, 73, 0.08)) !important;
}

.order-success__total span {
    color: #7b561c !important;
    font-size: 0.82rem !important;
}

.order-success__total strong {
    color: #7f5517 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1.35rem !important;
    text-align: right !important;
    white-space: nowrap;
}

.order-success__created-at {
    margin: -2px 2px 0 !important;
    color: #8b7869 !important;
    font-size: 0.72rem !important;
    text-align: center;
}

.order-success__created-at span {
    font-weight: 750;
}

.order-success__content > .primary-button {
    min-height: 52px;
    border-radius: 15px;
}

@media (max-width: 900px) {
    .checkout-modal__summary {
        margin: 0 0 calc(6px + env(safe-area-inset-bottom, 0px)) !important;
        background:
            radial-gradient(circle at 100% 0, rgba(219, 164, 51, 0.22), transparent 17rem),
            linear-gradient(155deg, #2b211b 0%, #17120f 58%, #0f0c0a 100%) !important;
    }

    .order-success {
        border-radius: 22px !important;
    }
}

@media (max-width: 640px) {
    .checkout-modal__summary {
        gap: 12px !important;
        padding: 14px !important;
        border-radius: 19px !important;
    }

    .checkout-modal__recap-row,
    .checkout-modal__recap-main .checkout-modal__recap-row {
        grid-template-columns: minmax(88px, 0.42fr) minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    .checkout-modal__recap-meta .checkout-modal__recap-row {
        grid-template-columns: 1fr !important;
    }

    .checkout-modal__recap-row--comment {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }

    .checkout-modal__recap-row strong {
        font-size: 0.79rem !important;
    }

    .checkout-modal__totals .cart-total strong {
        font-size: 0.86rem !important;
    }

    .order-success {
        width: 100% !important;
        border-radius: 20px !important;
    }

    .order-success__hero {
        padding: 28px 18px 25px;
    }

    .order-success__hero h1 {
        font-size: 2.25rem !important;
    }

    .order-success__content {
        gap: 12px;
        padding: 13px;
    }

    .order-success__panel {
        gap: 12px;
        padding: 14px;
        border-radius: 16px;
    }

    .order-success__details,
    .order-success__details--customer {
        grid-template-columns: 1fr !important;
    }

    .order-success__details p {
        padding: 10px 11px;
    }

    .order-success__items p,
    .order-success__summary-row,
    .order-success__discount-heading,
    .order-success__discount-line,
    .order-success__total {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 10px !important;
    }

    .order-success__items strong,
    .order-success__summary-row strong,
    .order-success__discount-heading strong,
    .order-success__discount-line strong,
    .order-success__total strong {
        text-align: right !important;
    }

    .order-success__total {
        align-items: center;
        padding: 14px !important;
    }

    .order-success__total strong {
        font-size: 1.18rem !important;
    }
}

/* Staff order desk */
.desk-shell {
    min-height: 100vh;
    background: #f5f3ef;
}

.desk-shell .container {
    width: min(1600px, calc(100% - 48px));
    gap: 20px;
    padding-top: 34px;
    padding-bottom: 64px;
}

.desk-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding: 34px 38px;
    border-radius: 22px;
    color: #fdf8ef;
    background: linear-gradient(115deg, #241b16, #4b3429);
}

.desk-hero .eyebrow { color: #ebc987; }
.desk-hero h1 { margin: 8px 0; color: inherit; font-size: clamp(2rem, 3vw, 3.25rem); }
.desk-hero p:last-child { margin: 0; color: #e5d9ca; }
.desk-hero__meta { display: grid; min-width: 130px; text-align: right; }
.desk-hero__meta span, .desk-hero__meta small { color: #e5d9ca; }
.desk-hero__meta strong { font-size: 2.8rem; line-height: 1.1; }

.desk-shell .desk-toolbar,
.desk-shell .desk-filters,
.desk-shell .desk-breakdowns .info-card,
.desk-shell .orders-day-card,
.desk-shell .orders-table-wrap {
    border: 1px solid #e7e0d6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(45, 32, 19, .035);
}
.desk-shell .desk-toolbar { padding: 10px 12px; }
.desk-toolbar__tab { border: 0; border-radius: 10px; background: transparent; }
.desk-toolbar__tab.is-active { background: #f1e4cd; color: #322116; box-shadow: none; }
.desk-export { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-weight: 700; color: #704928; }
.desk-export:hover { color: #301e12; }
.desk-shell .desk-filters { padding: 0; }
.desk-filters__toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; color: #5d4030; }
.desk-filters__toggle::-webkit-details-marker { display: none; }
.desk-filters__toggle:focus-visible { outline: 2px solid #a16e36; outline-offset: 3px; border-radius: 14px; }
.desk-filters__toggle > span { font-size: .8rem; }
.desk-filters__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; border-radius: 12px; background: #f1e4cd; font-size: .8rem; }
.desk-filters .desk-filters__open-label, .desk-filters[open] .desk-filters__closed-label { display: none; }
.desk-filters[open] .desk-filters__open-label { display: inline; }
.desk-filters__form { padding: 0 18px 16px; }
.desk-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.desk-filters__head > div:first-child { display: grid; gap: 3px; }
.desk-filters__head strong { font-size: 1.18rem; color: #2b211b; }
.desk-filters__head span { color: #786c61; font-size: .9rem; }
.desk-period-links { display: flex; flex-wrap: wrap; gap: 8px; }
.desk-period-links a { padding: 8px 13px; border: 1px solid #dbcbb6; border-radius: 9px; color: #674223; font-weight: 700; }
.desk-period-links a[aria-current="page"] { background: #3c291e; border-color: #3c291e; color: #fff; }
.desk-filters__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 12px; }
.desk-filters .field { min-width: 0; gap: 5px; }
.desk-filters .field > span { font-size: .78rem; }
.desk-filters input, .desk-filters select { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; font-size: .85rem; border-radius: 8px; }
.desk-filters__actions { align-items: center; margin-top: 12px; flex-wrap: wrap; }
.desk-filters__actions .primary-button, .desk-filters__actions .secondary-button { min-height: 40px; padding: 9px 14px; font-size: .85rem; }

.desk-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.desk-summary__card { display: grid; align-content: space-between; gap: 10px; min-height: 104px; padding: 18px; border: 1px solid #e7e0d6; border-radius: 14px; background: #fff; }
.desk-summary__card span { color: #74685e; font-size: .85rem; }
.desk-summary__card strong { color: #2c211a; font-size: 1.65rem; line-height: 1; }
.desk-summary__card--alert { background: #fff8f3; border-color: #e7c6b7; }
.desk-summary__card--alert strong { color: #a3442e; }
.desk-shell .desk-breakdowns { gap: 12px; }
.desk-shell .desk-breakdowns .info-card { padding: 18px 20px; }
.desk-shell .desk-breakdowns h3 { margin: 0 0 12px; font-size: 1rem; }

.desk-shell .orders-table-wrap { padding: 0; }
.desk-shell .orders-desk-table { min-width: 1220px; border-radius: 18px; }
.orders-desk-table caption { padding: 18px 22px; text-align: left; font-weight: 800; font-size: 1.1rem; color: #2c211a; }
.desk-shell .orders-desk-table th { position: sticky; top: 0; padding: 13px 16px; background: #eee9e2; color: #5d5046; font-size: .73rem; }
.desk-shell .orders-desk-table td { padding: 17px 16px; font-size: .88rem; color: #332923; }
.desk-shell .orders-desk-table tr:nth-child(even) td { background: #fbfaf8; }
.desk-shell .orders-desk-table tbody tr:hover td { background: #f8f1e7; }
.desk-order-number { color: #5c3924; white-space: nowrap; }
.desk-shell .orders-desk-items { max-width: 290px; margin-top: 9px; gap: 3px; }
.desk-shell .orders-desk-items span { min-height: 0; padding: 0; background: transparent; font-size: .78rem; line-height: 1.35; }
.desk-shell .orders-desk-items span + span::before { content: "+ "; }
.desk-shell .orders-desk-table .ghost-link { white-space: nowrap; font-weight: 800; }
.desk-shell .orders-desk-table .status-pill { white-space: nowrap; }
.desk-shell .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1200px) {
    .desk-filters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .desk-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .desk-shell .container { width: min(100% - 24px, 1600px); padding-top: 18px; }
    .desk-hero { align-items: flex-start; padding: 26px 22px; }
    .desk-hero__meta { min-width: 80px; }
    .desk-hero__meta strong { font-size: 2rem; }
    .desk-filters__head { align-items: flex-start; flex-direction: column; }
    .desk-filters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .desk-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .desk-toolbar__actions { width: auto; flex-direction: row; }
}
@media (max-width: 440px) {
    .desk-filters__grid { grid-template-columns: 1fr; }
    .desk-hero__meta small { display: none; }
}
.sagi-account,
.sagi-checkout {
    margin: 18px 0;
    border-radius: 18px;
}

.sagi-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding: 12px 16px;
    border: 1px solid #e7d9c8;
    border-radius: 12px;
    background: #fbf7f1;
    color: #34261f;
}

.sagi-account__identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sagi-account__mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    color: #f4d5a5;
    background: #423025;
    font-family: Georgia, serif;
    font-size: 1.1rem;
}

.sagi-account h2,
.sagi-checkout h3 {
    margin: 0;
    font-family: var(--font-ui);
    line-height: 1.3;
}

.sagi-account h2 { font-size: 0.9rem; }
.sagi-checkout h3 { font-size: 1.05rem; }

.sagi-account__identity p {
    margin: 2px 0 0;
    color: #75675a;
    font-size: 0.75rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.sagi-account__balance {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: none;
}

.sagi-account__balance strong {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.sagi-account__balance button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #e7d9c8;
    border-radius: 50%;
    background: #fff;
    color: #6c4c36;
    cursor: pointer;
}

.sagi-account__balance button:hover,
.sagi-account__balance button:focus-visible {
    border-color: #b89976;
    color: #34261f;
}

.sagi-account__balance button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.sagi-checkout__retry {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.sagi-checkout {
    border: 1px solid #e7d9c8;
    padding: 18px 20px;
    background: #fbf7f1;
}

.sagi-checkout__header,
.sagi-checkout__balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sagi-checkout__header { margin-bottom: 14px; }

.sagi-checkout__balance {
    font-size: 0.82rem;
    white-space: nowrap;
}

.sagi-checkout__balance span { color: #705d4e; }
.sagi-checkout__balance strong { color: #34261f; font-size: 1rem; }

.sagi-checkout__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid #e9ded1;
    cursor: pointer;
}

.sagi-checkout__toggle-copy {
    display: grid;
    gap: 2px;
}

.sagi-checkout__toggle-copy strong { font-size: 0.93rem; }
.sagi-checkout__toggle-copy small { color: #705d4e; font-size: 0.78rem; font-weight: 400; }

.sagi-checkout__toggle input {
    appearance: none;
    width: 44px;
    height: 26px;
    margin: 0;
    flex: none;
    border: 1px solid #9d8d7e;
    border-radius: 999px;
    background: #ddd4ca;
    position: relative;
    transition: background 0.18s ease;
}

.sagi-checkout__toggle input::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.18s ease;
}

.sagi-checkout__toggle input:checked {
    background: #795432;
}

.sagi-checkout__toggle input:checked::before {
    transform: translateX(18px);
}

.sagi-checkout__toggle input:focus-visible {
    outline: 3px solid #b88d63;
    outline-offset: 3px;
}

/* Keep the loyalty switch out of the checkout text-input rules. */
.checkout-modal .form-grid .sagi-checkout__toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.checkout-modal .form-grid .sagi-checkout__toggle input {
    width: 44px;
    height: 26px;
    min-height: 26px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: #ddd4ca;
    box-shadow: none !important;
}

.checkout-modal .form-grid .sagi-checkout__toggle input:checked {
    background: #795432;
}

.sagi-checkout [data-sagi-controls] {
    margin-top: 14px;
}

.sagi-checkout [data-sagi-status] {
    margin: 0;
    color: #624b39;
    font-size: 0.82rem;
    line-height: 1.4;
}

.sagi-checkout__retry {
    margin-top: 8px;
    color: #624b39;
    font-size: 0.8rem;
}

.sagi-checkout__amount {
    display: grid;
    gap: 7px;
    margin-top: 13px;
}

.sagi-checkout__amount label,
.sagi-checkout [data-sagi-code-wrap] label {
    font-size: 0.8rem;
    font-weight: 700;
}

.sagi-checkout__amount input,
.sagi-checkout [data-sagi-code-wrap] input {
    width: 100%;
    margin: 0;
}

.sagi-checkout [data-sagi-code-wrap] {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

@media (max-width: 520px) {
    .sagi-account { padding: 10px 12px; }
    .sagi-account__balance strong { font-size: 1.1rem; }
    .sagi-checkout { padding: 16px; }
    .sagi-checkout__header { align-items: flex-start; flex-direction: column; gap: 5px; }
}

.sagi-account [hidden],
.sagi-checkout [hidden],
[data-sagi-totals-row][hidden],
[data-sagi-payable-row][hidden] {
    display: none;
}

.aipay-payment {
    display: grid;
    gap: 17px;
    padding: clamp(18px, 3vw, 28px);
    margin-top: 22px;
    border: 1px solid #e3d7c5;
    border-radius: 22px;
    background: linear-gradient(135deg, #fffdf8, #f7f0e6);
    box-shadow: 0 14px 38px rgba(53, 33, 18, .06);
}

.aipay-payment__heading { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.aipay-payment__heading .eyebrow { margin: 0 0 2px; }
.aipay-payment__heading h2 { margin: 0; font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.2; }
.aipay-payment__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #3d2d24; color: #fff; font-size: 1.35rem; font-weight: 750; }
.aipay-payment__state { margin-left: auto; padding: 7px 11px; border-radius: 999px; background: #efe7dc; color: #59493b; font-size: .78rem; font-weight: 750; }
.aipay-payment[data-status="paid"] .aipay-payment__state { background: #e3f3e6; color: #24643a; }
.aipay-payment[data-status="unknown"] .aipay-payment__state,
.aipay-payment[data-status="failed"] .aipay-payment__state { background: #fff0e3; color: #9a4d24; }
.aipay-payment__amount { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; padding: 15px 0; border-top: 1px solid #e9dfd1; border-bottom: 1px solid #e9dfd1; }
.aipay-payment__amount span { color: #786c60; font-size: .88rem; }
.aipay-payment__amount strong { color: #2f241d; font-size: clamp(1.25rem, 3vw, 1.75rem); white-space: nowrap; }
.aipay-payment__copy { margin: 0; max-width: 56ch; color: #5f5348; line-height: 1.5; }
.aipay-payment__phone { display: grid; gap: 7px; width: min(100%, 330px); }
.aipay-payment__phone label { color: #3e3026; font-size: .89rem; font-weight: 750; }
.aipay-payment__phone input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid #cdbfaa; border-radius: 11px; background: #fff; color: #30251e; font: inherit; }
.aipay-payment__phone input:focus-visible { outline: 2px solid #9c693a; outline-offset: 2px; }
.aipay-payment__phone small { color: #786c60; line-height: 1.4; }
.aipay-payment__sent-to { margin: 0; color: #6a5c4f; font-size: .88rem; }
.aipay-payment__sent-to strong { color: #30251e; }
.aipay-payment__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.aipay-payment__actions .aipay-payment__phone { flex-basis: 100%; }
.aipay-payment__actions .primary-button,
.aipay-payment__actions .secondary-button { width: auto; min-height: 43px; margin: 0; }
.aipay-payment__reference { color: #8b7e70; overflow-wrap: anywhere; }
.aipay-payment [hidden] { display: none !important; }
[data-aipay-checkout-note][hidden] { display: none !important; }
[data-aipay-phone-field][hidden] { display: none !important; }
.profile-order-card__payment { margin: 8px 0 0; color: #6f5942; font-size: .82rem; font-weight: 700; }

@media (max-width: 520px) {
    .aipay-payment__state { margin-left: 0; }
    .aipay-payment__actions { display: grid; }
    .aipay-payment__actions .primary-button,
    .aipay-payment__actions .secondary-button { width: 100%; }
}


/* Availability warnings retain cart controls and remain visible in both themes. */
.has-availability-issue { border: 2px solid #b94b39 !important; background: rgba(185,75,57,.08); }
.cart-line-issue, [data-cart-line-issue] { display: block; color: #963c2d; font-size: .88rem; white-space: normal; }
.cart-availability, .partner-cart-availability { padding: 12px; border: 1px solid #b94b39; border-radius: 12px; margin: 10px 0; background: rgba(185,75,57,.06); }
.cart-availability[hidden], .partner-cart-availability[hidden] { display: none; }
.cart-availability button, .partner-cart-availability button { margin: 4px 8px 4px 0; padding: 9px 12px; border-radius: 8px; border: 1px solid currentColor; background: transparent; cursor: pointer; }

/* The artwork itself is the gift action; never cover it with generated copy. */
.registration-bonus-form {height:100%;margin:0;}
.registration-bonus {position:relative;display:block;min-height:0;width:100%;height:100%;overflow:hidden;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;text-decoration:none;font:inherit;cursor:pointer;}
.registration-bonus__image {position:absolute!important;inset:0;width:100%;height:100%;object-fit:contain!important;object-position:center;transform:none!important;filter:none!important;}
.registration-bonus__accessible {position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.registration-bonus:focus-visible {outline:3px solid #b7812f;outline-offset:-4px;}
.registration-bonus[aria-busy=true] {cursor:wait;}
.promo-page-card--bonus {padding:0;overflow:hidden;}
.promo-page-card--bonus .registration-bonus {height:auto!important;aspect-ratio:1800/680;}
.bonus-landing {max-width:680px;}
.bonus-landing p {line-height:1.6;}
