: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;
    --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: "Manrope", sans-serif;
    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: "Cormorant Garamond", serif;
    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: "Cormorant Garamond", serif;
}

.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: "Cormorant Garamond", serif;
    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: 520px;
    }
}

@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: "Manrope", sans-serif;
    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: "Manrope", sans-serif;
    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: "Manrope", sans-serif;
    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: "Manrope", sans-serif;
    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));
    }
}

@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: "Cormorant Garamond", serif;
    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: "Cormorant Garamond", serif;
    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: 420px;
    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: "Cormorant Garamond", serif;
    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;
    }
}

@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__code {
    display: inline-flex;
    margin-top: 8px;
    padding: 8px 12px;
    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: "Cormorant Garamond", serif;
    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__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__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__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 {
    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__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__total {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .checkout-modal__recap-row strong,
    .order-success__details strong,
    .order-success__items strong,
    .order-success__total strong {
        text-align: left;
    }
}
