/* =========================================================
   Sushimax — основні стилі
   Палітра: темна "преміум" тема — вугільно-чорне полотно
   (#171512–#1C1A16) + тепле золото → яскравий оранж на
   акцентах (кнопки, бейджі, ціни, іконки). Багато повітря,
   великі фото, м'які тіні, плавні мікроанімації.
   ========================================================= */

:root {
    --color-canvas: #171512;
    --color-bg: #1B1814;
    --color-surface: #211E19;
    --color-surface-raised: #2A251E;
    --color-dark: #100E0C;
    --color-dark-soft: #23201B;
    --color-gold: #C9974B;
    --color-gold-light: #F0C989;
    --color-accent: #C94D28;
    --color-accent-2: #FF8A3D;
    --color-green: #5E7E3E;
    --color-heading: #FBF4E6;
    --color-text: #F1E9DA;
    --color-text-muted: rgba(241, 233, 218, 0.62);
    --color-border: rgba(255, 255, 255, 0.09);
    --color-on-canvas: #F5EEE1;
    --color-on-canvas-muted: rgba(245, 238, 225, 0.62);
    --gradient-gold: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-accent-2) 100%);
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 18px 45px rgba(0, 0, 0, 0.5);
    --container: 1240px;
    --header-h: 128px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.5;
    padding-bottom: 64px; /* mobile bottom nav */
    background-color: var(--color-canvas);
    background-image:
        radial-gradient(circle at 12% 0%, rgba(201, 151, 75, 0.18), transparent 42%),
        radial-gradient(circle at 92% 15%, rgba(228, 87, 46, 0.12), transparent 40%),
        radial-gradient(circle at 45% 100%, rgba(107, 143, 71, 0.10), transparent 48%),
        linear-gradient(180deg, #1E1A15 0%, var(--color-canvas) 480px, var(--color-canvas) 100%);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-attachment: fixed, fixed, fixed, scroll;
    background-size: auto, auto, auto, 100% 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

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

h1, h2, h3, h4 { margin: 0 0 12px; font-weight: 800; letter-spacing: -0.02em; color: var(--color-heading); }
h1 { font-size: clamp(28px, 5vw, 44px); }
h2 { font-size: clamp(22px, 3.6vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0 0 12px; color: var(--color-text-muted); }

.section { padding: 44px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { color: #fff; }
.section-head p.eyebrow { color: var(--color-gold-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; margin: 0 0 6px; }
.section-head .head-text { margin: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    padding: 13px 26px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--gradient-gold); color: #241D0F; box-shadow: 0 8px 20px rgba(228, 138, 61, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(228, 138, 61, 0.45); }
.btn-primary:active { transform: translateY(0) scale(0.97); }
.btn-dark { background: var(--color-dark); color: #fff; border: 1px solid rgba(255,255,255,0.08); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-gold { background: var(--gradient-gold); color: #241d0f; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(228, 138, 61, 0.4); }
.btn-outline { background: transparent; border: 1.5px solid var(--color-border); color: var(--color-heading); }
.btn-outline:hover { border-color: var(--color-gold-light); color: var(--color-gold-light); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn:disabled, .btn.is-disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; pointer-events: none; }

/* ---------------- Top bar ---------------- */
.top-bar {
    background: var(--color-dark);
    color: rgba(255,255,255,0.82);
    font-size: 13px;
}
.top-bar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; gap: 8px 16px; flex-wrap: wrap; }
.top-bar .top-info { display: flex; gap: 8px 16px; flex-wrap: wrap; row-gap: 4px; }
.top-bar .top-info span,
.top-bar .top-info a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.top-bar a.phone { color: var(--color-gold-light); font-weight: 700; }
.top-bar .min-order,
.top-bar .free-delivery { color: var(--color-gold-light); font-weight: 600; }
@media (max-width: 640px) {
    .top-bar { font-size: 11.5px; }
    .top-bar .container { gap: 4px 10px; }
    .top-bar .top-info { gap: 4px 10px; }
}

/* ---------------- Header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(20, 18, 15, 0.86);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 0; }
.logo { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; color: #fff; display: flex; align-items: center; gap: 8px; }
.logo span.dot { color: var(--color-accent-2); }
.logo-img { max-height: 46px; height: auto; width: auto; display: block; }
@media (min-width: 900px) { .logo-img { max-height: 54px; } }
.mobile-menu .logo-img { max-height: 46px; }
.main-nav { display: none; flex: 1 1 auto; min-width: 0; }
.main-nav ul { display: flex; flex-wrap: wrap; row-gap: 6px; gap: 6px 18px; }
.main-nav a { font-weight: 600; font-size: 14px; color: var(--color-on-canvas-muted); padding: 8px 0; position: relative; white-space: nowrap; }
.main-nav a:hover { color: var(--color-gold-light); }
.main-nav a.active { color: var(--color-accent-2); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
    position: relative;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 19px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.icon-btn:hover { border-color: var(--color-gold); transform: translateY(-1px); }
.cart-count {
    position: absolute; top: -4px; right: -4px;
    background: var(--color-accent); color: #fff;
    font-size: 11px; font-weight: 800;
    min-width: 19px; height: 19px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    transform: scale(0);
    transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
}
.cart-count.show { transform: scale(1); }
.burger-btn { display: inline-flex; }

/* mobile categories strip */
.cat-strip { overflow-x: auto; white-space: nowrap; padding: 10px 0 14px; -ms-overflow-style: none; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip .container { display: flex; gap: 10px; }
.cat-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 9px 16px; border-radius: 999px;
    font-size: 13.5px; font-weight: 600;
    flex: 0 0 auto;
    transition: all 0.18s ease;
}
.cat-chip:hover, .cat-chip.active { background: var(--gradient-gold); color: #241D0F; border-color: transparent; }

/* ---------------- Hero / Promo banners ---------------- */
.hero-slider { position: relative; }
.hero-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-banner {
    scroll-snap-align: start;
    flex: 0 0 100%;
    min-height: 220px;
    border-radius: var(--radius-lg);
    padding: 34px 64px;
    display: flex; flex-direction: column; justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.10);
}
.hero-banner::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.16), transparent 55%);
    pointer-events: none;
}
.hero-badge {
    display: inline-block; background: var(--color-accent); color: #fff;
    font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
    padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; width: fit-content;
}
.hero-banner h2 { color: #fff; margin-bottom: 8px; max-width: 90%; font-size: clamp(20px, 4.4vw, 30px); }
.hero-banner p { color: rgba(255,255,255,0.78); max-width: 420px; margin-bottom: 18px; }
.hero-banner--photo .hero-banner-content { position: relative; z-index: 2; max-width: 62%; }
.hero-banner-photo {
    position: absolute; right: 28px; top: 50%; transform: translateY(-50%);
    width: 156px; height: 156px; border-radius: 50%; object-fit: cover;
    border: 4px solid rgba(255,255,255,0.92);
    box-shadow: 0 14px 34px rgba(0,0,0,0.55);
    z-index: 1;
}
@media (max-width: 640px) {
    .hero-banner-photo { display: none; }
    .hero-banner--photo .hero-banner-content { max-width: 100%; }
}
@media (min-width: 900px) { .hero-banner-photo { width: 190px; height: 190px; right: 40px; } }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }
.btn-outline-invert { background: transparent; border: 1.5px solid rgba(255,255,255,0.55); color: #fff; }
.btn-outline-invert:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

/* ---------------- Банер "Піца 2+1" (banner_type=pizza_promo) ---------------- */
.hero-banner--pizza-promo { padding: 30px 40px; align-items: stretch; }
.pizza-promo-layout { display: flex; gap: 32px; align-items: center; position: relative; z-index: 2; width: 100%; }
.pizza-promo-info { flex: 1 1 300px; min-width: 220px; }
.pizza-promo-title {
    color: #fff; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.02em;
    font-size: clamp(26px, 4.2vw, 40px); font-weight: 800; line-height: 1.05;
}
.pizza-promo-days {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--color-gold-light); font-weight: 700; font-size: 14px;
    margin: 0 0 16px;
}
.pizza-promo-disclaimer { color: rgba(255,255,255,0.55); font-size: 11.5px; margin: 14px 0 0; max-width: 320px; }
.pizza-promo-grid {
    flex: 1 1 320px; display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 14px; min-width: 260px;
}
.pizza-promo-item {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-md); padding: 12px; text-align: center;
    backdrop-filter: blur(2px);
}
.pizza-promo-photo-wrap { position: relative; width: 64px; height: 64px; margin: 0 auto 8px; }
.pizza-promo-photo-wrap img {
    width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
    border: 3px solid rgba(255,255,255,0.85); box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}
.pizza-promo-ribbon {
    position: absolute; top: -4px; left: -14px;
    background: var(--color-accent); color: #fff;
    font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
    padding: 2px 10px; transform: rotate(-28deg);
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    border-radius: 3px;
}
.pizza-promo-item h4 { color: #fff; font-size: 13px; font-weight: 800; margin: 0 0 4px; }
.pizza-promo-item p {
    color: rgba(255,255,255,0.65); font-size: 11px; margin: 0; max-width: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 780px) {
    .pizza-promo-layout { flex-direction: column; align-items: stretch; }
    .pizza-promo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hero-banner--pizza-promo { padding: 24px 20px; }
    .pizza-promo-disclaimer { max-width: none; }
}

.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(15, 13, 11, 0.72);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff; font-size: 20px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    z-index: 5; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hero-nav:hover { background: var(--gradient-gold); color: #241D0F; transform: translateY(-50%) scale(1.06); }
.hero-prev { left: 14px; }
.hero-next { right: 14px; }
@media (max-width: 480px) {
    .hero-nav { width: 34px; height: 34px; font-size: 15px; }
    .hero-prev { left: 8px; }
    .hero-next { right: 8px; }
    .hero-banner { padding: 30px 54px; }
}

/* ---------------- Category grid (home) ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 14px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(201, 151, 75, 0.18); border-color: var(--color-gold); }
.cat-card .cat-icon { font-size: 34px; margin-bottom: 8px; }
.cat-card .cat-name { font-weight: 700; font-size: 14px; color: var(--color-heading); }

/* ---------------- Product grid & card ---------------- */
.subcat-tabs { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.subcat-tab {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 9px 18px; border-radius: 999px;
    font-size: 13.5px; font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}
.subcat-tab:hover, .subcat-tab.active { background: var(--gradient-gold); color: #241D0F; border-color: transparent; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: flex; flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(240, 201, 137, 0.35); }
.product-card .thumb-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-bg); }
.product-card .thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .thumb-wrap img { transform: scale(1.07); }
.badge-row { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; padding: 5px 9px; border-radius: 999px; color: #fff; }
.badge-new { background: var(--color-accent); }
.badge-sale { background: var(--color-green); }
.badge-promo-manual { background: var(--gradient-gold); color: #241D0F; }
.product-info { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-rating { color: var(--color-gold-light); font-size: 12px; letter-spacing: 2px; }
.product-info .p-name { font-weight: 700; font-size: 14.5px; color: var(--color-heading); min-height: 38px; }
.product-info .p-weight { font-size: 12.5px; color: var(--color-text-muted); }
.card-variant-toggle {
    display: flex; border: 1.5px solid var(--color-accent); border-radius: 999px;
    overflow: hidden; width: fit-content; max-width: 100%;
}
.cv-option {
    border: none; background: #fff; color: var(--color-accent);
    font-size: 12px; font-weight: 700; padding: 5px 12px; cursor: pointer;
    white-space: nowrap; transition: all 0.15s ease;
}
.cv-option:not(:first-child) { border-left: 1.5px solid var(--color-accent); }
.cv-option.active { background: var(--color-accent); color: #fff; }
.product-info .p-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }
.price-block { display: flex; flex-direction: column; }
.price-now { font-weight: 800; font-size: 17px; color: var(--color-gold-light); }
.price-old { font-size: 12px; color: var(--color-text-muted); text-decoration: line-through; }
.add-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gradient-gold); color: #241D0F; font-size: 20px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; border: none;
    box-shadow: 0 6px 16px rgba(228, 138, 61, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
}
.add-btn:hover { transform: scale(1.08); box-shadow: 0 8px 20px rgba(228, 138, 61, 0.5); }
.add-btn.added { animation: pop 0.4s ease; background: var(--color-green); color: #fff; }
@keyframes pop { 0% { transform: scale(1);} 40% { transform: scale(1.35);} 100% { transform: scale(1);} }

.qty-stepper { display: flex; align-items: center; gap: 0; background: var(--color-dark); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 32px; height: 32px; background: transparent; color: #fff; border: none; font-size: 16px; font-weight: 700; }
.qty-stepper span { color: #fff; font-weight: 700; min-width: 22px; text-align: center; font-size: 14px; }

/* ---------------- Feature / advantages section ---------------- */
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-row {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex; flex-direction: column-reverse; gap: 22px; align-items: center;
}
.feature-num { font-size: 15px; font-weight: 800; color: var(--color-gold-light); letter-spacing: 0.08em; }
.feature-text h3 { color: #ffffff; margin: 6px 0 8px; font-size: 21px; }
.feature-text p { margin: 0; max-width: 440px; color: #D9D2C2; }
.feature-media {
    width: 96px; height: 96px; border-radius: 26px;
    background: radial-gradient(circle at 32% 28%, rgba(240, 201, 137, 0.20), rgba(228, 87, 46, 0.08));
    border: 1px solid rgba(240, 201, 137, 0.35);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature-media svg { width: 44px; height: 44px; stroke: var(--color-gold-light); }
@media (min-width: 720px) {
    .feature-row { flex-direction: row; justify-content: space-between; gap: 32px; padding: 34px 40px; }
    .feature-text { flex: 1; max-width: 460px; }
    .feature-media { width: 112px; height: 112px; }
    .feature-media svg { width: 52px; height: 52px; }
}

/* ---------------- Promo cards (сторінка "Акції та знижки") ---------------- */
.promo-cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.promo-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px 24px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(201, 151, 75, 0.16); border-color: var(--color-gold); }
.promo-card .badge-promo {
    position: absolute; top: 16px; right: 16px;
    background: var(--gradient-gold); color: #241D0F;
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
    padding: 5px 11px; border-radius: 999px;
}
.promo-card .promo-icon { font-size: 40px; margin-bottom: 12px; }
.promo-card h3 { color: #fff; margin-bottom: 8px; font-size: 19px; padding-right: 70px; }
.promo-card p { margin-bottom: 12px; }
.promo-card .promo-terms { font-size: 12.5px; font-weight: 700; color: var(--color-gold-light); }
@media (min-width: 720px) { .promo-cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------------- Reviews carousel ---------------- */
.reviews-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; -ms-overflow-style: none; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    scroll-snap-align: start;
    flex: 0 0 82%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.review-card:hover { border-color: var(--color-gold); box-shadow: 0 12px 28px rgba(201, 151, 75, 0.16); transform: translateY(-3px); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar-circle {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: var(--gradient-gold); color: #241D0F; font-weight: 800; font-size: 17px;
    display: flex; align-items: center; justify-content: center;
}
.review-card .stars { color: var(--color-gold-light); font-size: 13px; letter-spacing: 2px; }
.review-card .author { font-weight: 700; color: var(--color-heading); font-size: 14px; }

/* ---------------- Newsletter ---------------- */
.newsletter-box {
    background: linear-gradient(135deg, rgba(201, 151, 75, 0.14), rgba(228, 87, 46, 0.08));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}
.newsletter-text h2 { color: #fff; }
.newsletter-text p { margin: 0; max-width: 460px; color: #D9D2C2; }
.newsletter-form { display: flex; gap: 10px; width: 100%; flex-wrap: wrap; }
.newsletter-form .form-control { flex: 1; min-width: 200px; }
@media (min-width: 720px) {
    .newsletter-box { flex-direction: row; align-items: center; justify-content: space-between; }
    .newsletter-text { max-width: 420px; }
    .newsletter-form { width: auto; }
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.72); margin-top: 60px; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a:hover { color: var(--color-gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 32px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-logo { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--gradient-gold); color: #241D0F; }

/* ---------------- Mobile bottom nav ---------------- */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    display: flex;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.35);
}
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; font-size: 10.5px; font-weight: 600; color: var(--color-text-muted); position: relative; }
.bottom-nav a.active, .bottom-nav a:hover { color: var(--color-gold-light); }
.bottom-nav .bn-icon { font-size: 20px; }
.bottom-nav .bn-badge { position: absolute; top: 2px; right: 22%; background: var(--color-accent); color: #fff; font-size: 10px; font-weight: 800; min-width: 16px; height: 16px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
@media (min-width: 900px) { .bottom-nav { display: none; } body { padding-bottom: 0; } }

/* ---------------- Cart sidebar ---------------- */
.overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    opacity: 0; pointer-events: none; transition: opacity 0.28s ease; z-index: 60;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.cart-panel {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 100%; max-width: 420px;
    background: var(--color-bg);
    z-index: 61;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.22,.9,.32,1);
    box-shadow: -20px 0 50px rgba(0,0,0,0.45);
}
.cart-panel.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--color-border); background: var(--color-surface); }
.cart-head h3 { margin: 0; }
.cart-close { width: 36px; height: 36px; border-radius: 50%; background: var(--color-dark); color: var(--color-text); border: none; font-size: 18px; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 16px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-body .ci-name { font-weight: 700; font-size: 13.5px; color: var(--color-heading); margin-bottom: 2px; }
.cart-item-body .ci-variant { font-size: 12px; color: var(--color-text-muted); margin-bottom: 6px; }
.cart-item-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.ci-remove { color: var(--color-accent-2); font-size: 12px; font-weight: 700; background: none; border: none; padding: 0; }
.ci-sum { font-weight: 800; font-size: 13.5px; color: var(--color-heading); }
.qty-stepper.small button { width: 28px; height: 28px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--color-text-muted); }
.cart-empty .ce-icon { font-size: 48px; margin-bottom: 12px; }
.cart-foot { padding: 16px 20px 20px; border-top: 1px solid var(--color-border); background: var(--color-surface); }
.min-order-warning { background: rgba(230, 140, 50, 0.14); color: var(--color-gold-light); border: 1px solid rgba(230, 140, 50, 0.3); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12.5px; margin-bottom: 12px; font-weight: 600; }
.cart-promo-note { background: rgba(240, 201, 137, 0.1); color: var(--color-gold-light); border: 1px solid rgba(240, 201, 137, 0.3); border-radius: var(--radius-sm); padding: 9px 12px; font-size: 12.5px; margin-bottom: 10px; font-weight: 700; }
.cart-discount-row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13.5px; margin-bottom: 10px; color: var(--color-green); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 18px; margin-bottom: 14px; color: var(--color-heading); }
.cart-item.is-gift { background: rgba(240, 201, 137, 0.06); border-radius: var(--radius-sm); margin: 2px -10px; padding: 12px 10px; border-bottom-color: transparent; }
.badge-gift { display: inline-block; background: var(--gradient-gold); color: #241D0F; }

/* ---------------- Forms ---------------- */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px 16px; margin-bottom: 16px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--color-heading); }
.form-control {
    width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--color-border); background: var(--color-bg); color: var(--color-text);
    font-size: 14.5px; transition: border-color 0.15s ease;
}
.form-control::placeholder { color: var(--color-text-muted); }
.form-control:focus { outline: none; border-color: var(--color-gold); }
.form-control.is-invalid { border-color: var(--color-accent); }
.field-error { color: var(--color-accent-2); font-size: 12.5px; margin-top: 4px; font-weight: 600; }
textarea.form-control { resize: vertical; min-height: 80px; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { border: 1.5px solid var(--color-border); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 13.5px; color: var(--color-text); cursor: pointer; transition: all 0.15s ease; }
.radio-pill input { display: none; }
.radio-pill:has(input:checked) { background: var(--gradient-gold); color: #241D0F; border-color: transparent; }

/* ---------------- Utility layout ---------------- */
.page-hero { padding: 40px 0 24px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--color-on-canvas-muted); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 28px; }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 24px; }
.map-frame { position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--color-bg); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 640px) { .map-frame { aspect-ratio: 16 / 10; } }
.breadcrumbs { font-size: 13px; color: var(--color-on-canvas-muted); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--color-gold-light); }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; font-size: 14px; }
.alert-success { background: rgba(107, 143, 71, 0.16); color: #BEDB9F; border: 1px solid rgba(107, 143, 71, 0.35); }
.alert-error { background: rgba(228, 87, 46, 0.16); color: #FFB79E; border: 1px solid rgba(228, 87, 46, 0.35); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--color-on-canvas-muted); }
.empty-state h2, .empty-state h3 { color: #fff; }
.empty-state .es-icon { font-size: 52px; margin-bottom: 14px; }

.mobile-menu { position: fixed; inset: 0; background: var(--color-dark); z-index: 70; color: #fff; padding: 20px; transform: translateY(-100%); transition: transform 0.3s ease; overflow-y: auto; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu .mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-menu ul li a { display: block; padding: 14px 0; font-size: 19px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu .mm-close { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 20px; }
.mobile-menu .mm-contacts { margin-top: 30px; font-size: 14px; color: rgba(255,255,255,0.7); }
.mobile-menu .mm-contacts a.phone { display: block; color: var(--color-gold-light); font-size: 22px; font-weight: 800; margin-bottom: 8px; }

/* Product detail page */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 30px; }
.product-gallery { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; background: var(--color-bg); }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-body {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
}
.variant-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 20px; }
.product-price-row { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 6px; }
.product-price-row .price-now { font-size: 30px; }
.sticky-add { position: sticky; bottom: 76px; }
@media (min-width: 900px) { .sticky-add { position: static; } }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--color-dark); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; z-index: 80; opacity: 0; transition: all 0.3s ease; pointer-events: none; box-shadow: var(--shadow-hover); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Responsive ---------------- */
@media (min-width: 640px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .review-card { flex: 0 0 46%; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .main-nav { display: block; }
    .burger-btn { display: none; }
    .cat-strip { display: none; }
    .cat-grid { grid-template-columns: repeat(5, 1fr); }
    .product-grid { grid-template-columns: repeat(4, 1fr); }
    .review-card { flex: 0 0 31%; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
    .product-detail { grid-template-columns: 1fr 1fr; gap: 50px; }
    .grid-2 { grid-template-columns: 1.3fr 0.9fr; }
    .hero-banner { min-height: 280px; }
}
@media (min-width: 1180px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
