/* =========================================================================
   A LUXE Perfumes — storefront design system (mobile-first)
   Light luxury: ivory + champagne gold, espresso ink, Poppins throughout.
   ========================================================================= */
:root {
    --rose: #2B2320;
    --rose-deep: #15110F;
    --rose-soft: #9CC3B5;
    --blush: #F6F0E7;
    --petal: #EADFCC;
    --bg: #FCFAF6;
    --card: #FFFFFF;
    --ink: #1F1A17;
    --muted: #7A7066;
    --line: #ECE4D8;
    --leaf: #2F7A4F;
    --leaf-bg: #EAF6EF;
    --danger: #C8323F;
    --gold: #D39B35;

    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --serif: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --accent: #1E5B4F;
    --accent-dark: #154238;
    --accent-soft: #E4EFEA;

    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 22px;
    --shadow: 0 1px 2px rgba(31, 26, 23, .04), 0 10px 30px rgba(84, 62, 30, .07);
    --shadow-lg: 0 18px 50px rgba(42, 26, 31, .16);
    --max: 1240px;
    --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
    margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
    font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
[hidden] { display: none !important; }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: 13px; }
.center { text-align: center; }
.good { color: var(--leaf); }

.i { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.2em; }
.i.filled { fill: currentColor; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-deep); }
.btn-outline { border-color: var(--rose); color: var(--rose); background: transparent; }
.btn-outline:hover { background: var(--blush); }
.btn-light { background: #fff; color: var(--rose); }
.btn-light:hover { background: var(--blush); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: var(--blush); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.btn-lg { min-height: 52px; font-size: 15.5px; padding: 12px 24px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.icon-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink);
}
.icon-btn .i { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--blush); color: var(--rose); }

.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #F4EFE9; color: var(--ink); }
.chip-rose { background: var(--blush); color: var(--rose); }
.chip .i { width: 14px; height: 14px; }

.veg-mark { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--leaf); }
.veg-mark i { width: 12px; height: 12px; border: 1.5px solid var(--leaf); border-radius: 2px; position: relative; }
.veg-mark i::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--leaf); }

/* ---------------- Offer bar + header ---------------- */
.offer-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; font-size: 12.5px; font-weight: 500; text-align: center; }
.offer-bar .i { width: 16px; height: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 252, 250, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; height: var(--header-h); }
.logo { font-family: var(--serif); font-size: 25px; font-weight: 700; color: var(--rose); letter-spacing: .01em; line-height: 1; }
.logo span { font-style: italic; font-weight: 500; margin-left: 3px; color: var(--ink); }
.logo-light, .logo-light span { color: #fff; }
.header-inner .logo { justify-self: center; }
.header-search { display: none; }
.header-actions { display: flex; align-items: center; gap: 2px; justify-self: end; }
.hide-sm { display: none; }
.badge-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rose); color: #fff; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }

.main-nav { display: none; }

@media (min-width: 1000px) {
    .mobile-toggle { display: none; }
    .header-inner { grid-template-columns: auto 1fr auto; gap: 28px; height: 72px; }
    .header-inner .logo { justify-self: start; font-size: 28px; }
    .header-search { display: flex; align-items: center; gap: 10px; max-width: 520px; width: 100%; justify-self: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; height: 44px; }
    .header-search:focus-within { border-color: var(--rose-soft); box-shadow: 0 0 0 4px var(--blush); }
    .header-search .i { color: var(--muted); }
    .header-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 14px; }
    .hide-sm { display: inline-flex; }
    .main-nav { display: block; border-top: 1px solid var(--line); }
    .main-nav ul { display: flex; gap: 6px; height: 46px; align-items: center; }
    .main-nav li { position: relative; }
    .main-nav a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; }
    .main-nav a:hover, .main-nav a.active { color: var(--rose); background: var(--blush); }
    .main-nav .caret { width: 14px; height: 14px; }
    .dropdown-panel { position: absolute; top: calc(100% + 4px); left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 8px; display: none; flex-direction: column; z-index: 20; }
    .dropdown-panel a { border-radius: 8px; padding: 9px 12px; }
    .has-dropdown:hover .dropdown-panel, .has-dropdown:focus-within .dropdown-panel { display: flex; }
}

/* ---------------- Drawer ---------------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(42, 26, 31, .45); z-index: 190; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: var(--bg); z-index: 200; transform: translateX(-102%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: 14px 18px 30px; }
.drawer-account { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--blush); border-radius: var(--r-md); margin-bottom: 8px; }
.drawer-account .i { width: 34px; height: 34px; color: var(--rose); }
.drawer-account span { display: flex; flex-direction: column; }
.drawer-account small { color: var(--muted); font-size: 12.5px; }
.drawer h4 { font-size: 12px; font-weight: 600; color: var(--muted); margin: 20px 0 6px; letter-spacing: .02em; }
.drawer-group summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 2px; font-weight: 600; border-bottom: 1px solid var(--line); cursor: pointer; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group summary .caret { margin-left: auto; transition: transform .2s; }
.drawer-group[open] summary .caret { transform: rotate(180deg); }
.drawer-group summary .i:first-child { color: var(--rose); }
.drawer-group a { display: block; padding: 10px 0 10px 32px; font-size: 14.5px; color: var(--muted); }
.drawer-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer-chips a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; background: #fff; }
.drawer-link { display: flex; align-items: center; gap: 12px; padding: 11px 2px; font-size: 14.5px; }
.drawer-link .i { color: var(--rose); }

/* ---------------- Hero slider ---------------- */
.hero-slider { position: relative; }
.slider { position: relative; overflow: hidden; }
.slider--desktop { display: none; }
.slides { position: relative; aspect-ratio: 1 / 1; background: var(--blush); }
.slider--desktop .slides { aspect-ratio: 16 / 5; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; display: block; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-text { position: absolute; inset: auto 0 0 0; padding: 60px 18px 44px; color: #fff; background: linear-gradient(to top, rgba(30, 10, 16, .72), rgba(30, 10, 16, 0)); }
.slide-text h2 { font-size: clamp(24px, 6vw, 48px); margin-bottom: 8px; max-width: 16ch; }
.slide-text p { margin: 0 0 16px; max-width: 46ch; opacity: .92; font-size: 14.5px; }
.slide-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width .25s, background .25s; }
.slider-dots button.is-active { width: 22px; background: #fff; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }
@media (min-width: 768px) {
    .slider--mobile { display: none; }
    .slider--desktop { display: block; }
    .slide-text { inset: 0 auto 0 0; width: 55%; display: flex; flex-direction: column; justify-content: center; padding: 40px 60px; background: linear-gradient(to right, rgba(30, 10, 16, .62), rgba(30, 10, 16, 0)); }
}

.hero { background: linear-gradient(160deg, var(--blush) 0%, var(--bg) 70%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 24px; padding: 36px 16px 40px; align-items: center; }
.hero-content h1 { font-size: clamp(30px, 7vw, 56px); margin-bottom: 14px; max-width: 14ch; }
.hero-content p { color: var(--muted); max-width: 46ch; margin: 0 0 22px; font-size: 16px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-art { display: none; }
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.2fr .8fr; padding: 70px 24px; }
    .hero-art { display: flex; justify-content: center; gap: 12px; color: var(--rose-soft); }
    .hero-art .i { width: 150px; height: 150px; stroke-width: 1; }
}

/* ---------------- Sections ---------------- */
.section { padding: 34px 0; }
.section--tight { padding: 26px 0; }
.section--flush { padding-top: 0; }
.section--tinted { background: var(--blush); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(22px, 4.5vw, 32px); }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--rose); font-size: 14px; white-space: nowrap; }
@media (min-width: 768px) { .section { padding: 56px 0; } .section--tight { padding: 36px 0; } .section-head { margin-bottom: 26px; } }

.page-header { padding: 22px 16px 14px; }
.page-header h1 { font-size: clamp(26px, 5vw, 38px); }
.page-header p { margin: 4px 0 0; }
.page-header--compact { padding-top: 14px; padding-bottom: 6px; }
@media (min-width: 768px) { .page-header { padding: 34px 24px 20px; } }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); }
.breadcrumb .i { width: 14px; height: 14px; }
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb span { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ---------------- Category rail ---------------- */
.category-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 8px; margin: 0 -16px; scrollbar-width: none; }
.category-rail::-webkit-scrollbar { display: none; }
.category-card { flex: 0 0 84px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.category-img { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--blush); display: flex; align-items: center; justify-content: center; color: var(--rose); border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--petal); transition: box-shadow .2s; }
.category-img img { width: 100%; height: 100%; object-fit: cover; }
.category-img .i { width: 32px; height: 32px; stroke-width: 1.5; }
.category-card:hover .category-img { box-shadow: 0 0 0 2px var(--rose); }
.category-name { font-size: 12.5px; font-weight: 500; line-height: 1.25; }
@media (min-width: 768px) {
    .category-rail { gap: 22px; margin: 0; padding: 4px 0 8px; }
    .category-card { flex-basis: 116px; }
    .category-img { width: 112px; height: 112px; }
    .category-name { font-size: 14px; }
}

/* ---------------- Product grid & card ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-grid--rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none; }
.product-grid--rail::-webkit-scrollbar { display: none; }
.product-grid--rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .product-grid--rail { grid-auto-columns: 31%; } }
@media (min-width: 1000px) {
    .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
    .product-grid--rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
    .product-grid--rail > :nth-child(n+9) { display: none; }
}

.product-card { position: relative; background: var(--card); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.product-card:hover { box-shadow: var(--shadow); border-color: var(--petal); }
.product-thumb { position: relative; aspect-ratio: 1 / 1; background: var(--blush); overflow: hidden; display: block; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-flags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.flag { background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.flag-sale { background: var(--rose); color: #fff; }
.product-wishlist { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--rose); display: flex; align-items: center; justify-content: center; z-index: 2; }
.product-wishlist .i { width: 18px; height: 18px; }
.product-wishlist.is-on .i { fill: currentColor; }
.product-info { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.product-info h3 { font-size: 13.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-tagline { margin: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.product-price .current { font-weight: 700; font-size: 15px; }
.product-price .original { color: var(--muted); text-decoration: line-through; font-size: 12.5px; }
.product-eta { margin: 2px 0 0; font-size: 11.5px; color: var(--leaf); display: flex; align-items: center; gap: 4px; }
.product-eta .i { width: 14px; height: 14px; }
@media (min-width: 768px) { .product-info { padding: 14px 14px 16px; } .product-info h3 { font-size: 14.5px; } .product-price .current { font-size: 16px; } }

/* ---------------- Delivery check band ---------------- */
.delivery-check { background: var(--rose); color: #fff; border-radius: var(--r-lg); padding: 22px 18px; display: grid; gap: 16px; }
.delivery-check-copy { display: flex; gap: 14px; align-items: flex-start; }
.delivery-check-icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.delivery-check h2 { font-size: 21px; margin-bottom: 4px; }
.delivery-check p { margin: 0; opacity: .88; font-size: 14px; }
.delivery-check .delivery-result.ok { color: #C9F2D8; }
.delivery-check .delivery-result.no { color: #FFD6DB; }
@media (min-width: 900px) { .delivery-check { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 34px 40px; } .delivery-check h2 { font-size: 26px; } }

.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; background: #fff; font-size: 15px; outline: 0; }
.inline-form input:focus { border-color: var(--rose-soft); box-shadow: 0 0 0 4px var(--blush); }
.inline-form .btn { min-height: 46px; }
.inline-form--sm input { height: 40px; font-size: 14px; }
.inline-form--sm .btn { min-height: 40px; }
.delivery-result { margin-top: 10px; font-size: 13.5px; font-weight: 500; }
.delivery-result.ok { color: var(--leaf); }
.delivery-result.no { color: var(--danger); }

/* ---------------- Occasions / why / reviews ---------------- */
.occasion-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.occasion-card { position: relative; min-height: 88px; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; align-items: flex-end; }
.occasion-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.occasion-card img + span { color: #fff; background: linear-gradient(to top, rgba(30, 10, 16, .7), transparent); }
.occasion-card span { position: relative; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.occasion-card .i { width: 18px; height: 18px; }
.occasion-card:hover { border-color: var(--rose-soft); }
@media (min-width: 768px) { .occasion-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } .occasion-card { min-height: 140px; } }

.why-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.why-item > .i { width: 26px; height: 26px; color: var(--rose); margin-top: 2px; }
.why-item h4 { font-size: 15px; margin-bottom: 3px; }
.why-item p { margin: 0; font-size: 13.5px; color: var(--muted); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
.review-card { scroll-snap-align: start; margin: 0; background: #fff; border-radius: var(--r-md); padding: 20px; border: 1px solid var(--line); }
.review-card .stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 10px; }
.review-card .stars .i { width: 16px; height: 16px; }
.review-card blockquote { margin: 0 0 12px; font-family: var(--serif); font-size: 17px; line-height: 1.5; }
.review-card figcaption { font-size: 13px; font-weight: 600; color: var(--muted); }
@media (min-width: 900px) { .review-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; } }

/* ---------------- Forms ---------------- */
.field { margin-bottom: 14px; }
.field label, .sub-label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.sub-label { margin-top: 14px; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, .field-collapsible textarea, input[type=date] {
    width: 100%; min-height: 46px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 15px; outline: 0;
}
.field input:focus, .field select:focus, .field textarea:focus, .field-collapsible textarea:focus { border-color: var(--rose-soft); box-shadow: 0 0 0 4px var(--blush); }
.field textarea, .field-collapsible textarea { min-height: 80px; resize: vertical; }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.field-hint { font-size: 12.5px; color: var(--muted); margin: 5px 0 0; }
.field-collapsible { border: 1.5px dashed var(--line); border-radius: var(--r-sm); padding: 0 14px; }
.field-collapsible summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.field-collapsible summary::-webkit-details-marker { display: none; }
.field-collapsible summary .i { color: var(--rose); }
.field-collapsible[open] { padding-bottom: 14px; }
.check-line { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 14px; cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--rose); }

/* ---------------- Product detail ---------------- */
.product-detail { display: grid; gap: 18px; padding-bottom: 20px; }
.product-gallery { margin: 0 -16px; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; background: var(--blush); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .product-wishlist { top: 14px; right: 14px; width: 42px; height: 42px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 0; scrollbar-width: none; }
.gallery-thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--blush); }
.gallery-thumbs button.is-active { border-color: var(--rose); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
    .product-detail { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; padding-top: 6px; }
    .product-gallery { margin: 0; position: sticky; top: 140px; }
    .gallery-main { border-radius: var(--r-lg); }
    .gallery-thumbs { padding: 12px 0 0; }
    .gallery-thumbs button { flex-basis: 76px; height: 76px; }
}
.product-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.product-main h1 { font-size: clamp(24px, 5vw, 34px); margin-bottom: 6px; }
.tagline { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.rating { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; color: var(--gold); }
.rating span { color: var(--muted); font-weight: 400; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.price-now { font-size: 28px; font-weight: 700; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 16px; }
.price-off { color: var(--leaf); font-weight: 700; font-size: 14px; background: var(--leaf-bg); padding: 2px 8px; border-radius: 999px; }
.stock-note { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--gold); }
.stock-note.is-out { color: var(--danger); }
#product-form { margin-top: 16px; }
.option-group { margin-bottom: 18px; }
.option-head h4 { font-size: 14px; margin-bottom: 8px; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s; }
.pill:hover:not(:disabled) { border-color: var(--rose-soft); }
.pill.is-selected { border-color: var(--rose); background: var(--blush); color: var(--rose); font-weight: 600; }
.pill:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

.delivery-card { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px; margin: 16px 0; background: #fff; }
.delivery-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.delivery-card-head .i { color: var(--rose); }
.delivery-card-head h4 { font-size: 15px; }
.date-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.date-chip { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.date-chip small { font-size: 11.5px; color: var(--muted); }
.date-chip b { font-size: 13.5px; }
.date-chip.is-selected { border-color: var(--rose); background: var(--blush); }
.date-chip.is-selected small { color: var(--rose); }
[data-slot-box] input[type=date] { display: none; margin-top: 10px; }
[data-slot-box] input[type=date].is-visible { display: block; }
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 480px) { .slot-grid { grid-template-columns: repeat(3, 1fr); } }
.slot-pill { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; padding: 8px 6px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 500; }
.slot-pill small { font-size: 11px; color: var(--muted); }
.slot-pill.is-selected { border-color: var(--rose); background: var(--blush); color: var(--rose); font-weight: 600; }
.slot-pill.is-disabled { opacity: .5; cursor: not-allowed; }

.qty-row { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 18px; font-weight: 600; font-size: 14px; }
.qty-input { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty-input button { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--rose); }
.qty-input input { width: 36px; text-align: center; border: 0; background: transparent; font-weight: 600; outline: 0; }
.qty-input--sm button { width: 34px; height: 34px; }
.qty-input--sm .i { width: 16px; height: 16px; }
.buy-actions { display: none; }
@media (min-width: 900px) { .buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } }
.assurance { display: grid; gap: 10px; margin: 20px 0; padding: 16px; background: var(--blush); border-radius: var(--r-md); font-size: 13.5px; }
.assurance li { display: flex; align-items: center; gap: 10px; }
.assurance .i { color: var(--rose); }
.product-desc h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.product-desc p { color: #4E3F43; margin: 0 0 10px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag-list a { font-size: 12.5px; padding: 4px 10px; background: #F4EFE9; border-radius: 999px; color: var(--muted); }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: grid; grid-template-columns: auto 1fr 1.3fr; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(42, 26, 31, .08); }
.sticky-cta small { display: block; font-size: 11px; color: var(--muted); }
.sticky-cta .price { font-weight: 700; font-size: 17px; }
.sticky-cta .btn { min-height: 46px; padding: 8px 12px; }
body.has-sticky-cta { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .sticky-cta { display: none; } body.has-sticky-cta { padding-bottom: 0; } }

/* ---------------- Modal (add-ons) ---------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(42, 26, 31, .5); animation: fade .2s ease; }
.modal-sheet { position: relative; width: 100%; max-width: 720px; max-height: 88vh; display: flex; flex-direction: column; background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg); animation: sheet .28s cubic-bezier(.2, .8, .2, 1); padding-bottom: env(safe-area-inset-bottom, 0px); }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
.modal-open { overflow: hidden; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 18px 16px 10px 20px; }
.modal-head h3 { font-family: var(--serif); font-size: 24px; }
.modal-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.addon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 6px 16px 16px; overflow-y: auto; }
@media (min-width: 560px) { .addon-grid { grid-template-columns: repeat(3, 1fr); } .modal { align-items: center; } .modal-sheet { border-radius: 22px; } }
.addon-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.addon-card input { position: absolute; opacity: 0; pointer-events: none; }
.addon-img { aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--blush); display: flex; align-items: center; justify-content: center; color: var(--rose); margin-bottom: 4px; }
.addon-img img { width: 100%; height: 100%; object-fit: cover; }
.addon-img .i { width: 34px; height: 34px; stroke-width: 1.4; }
.addon-tag { position: absolute; top: 16px; left: 16px; font-size: 10.5px; font-weight: 700; background: #fff; color: var(--rose); padding: 2px 8px; border-radius: 999px; }
.addon-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.addon-price { font-size: 13px; color: var(--muted); }
.addon-check { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; color: transparent; }
.addon-check .i { width: 16px; height: 16px; stroke-width: 3; }
.addon-card:has(input:checked) { border-color: var(--rose); background: var(--blush); }
.addon-card:has(input:checked) .addon-check { background: var(--rose); border-color: var(--rose); color: #fff; }
.addon-card:has(input:focus-visible) { outline: 2px solid var(--rose); outline-offset: 2px; }
.modal-foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }

/* ---------------- Cart & checkout ---------------- */
.cart-layout, .checkout-layout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 960px) { .cart-layout, .checkout-layout { grid-template-columns: 1fr 380px; gap: 28px; } }
.cart-list { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); position: relative; }
.cart-thumb img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: var(--blush); }
.cart-body h4 { font-size: 15px; margin-bottom: 4px; padding-right: 70px; }
.cart-body .meta { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--muted); }
.cart-body .meta span { display: flex; align-items: center; gap: 5px; }
.cart-body .meta .i { width: 14px; height: 14px; }
.addon-line { color: var(--rose); }
.cart-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.cart-price { position: absolute; top: 12px; right: 12px; font-weight: 700; }
.link-danger { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--danger); font-size: 13px; font-weight: 500; padding: 4px 0; }
.link-danger .i { width: 15px; height: 15px; }
@media (min-width: 640px) { .cart-item { grid-template-columns: 110px 1fr; padding: 16px; } .cart-thumb img { width: 110px; height: 110px; } }

.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 10px; }
@media (min-width: 960px) { .summary-card { position: sticky; top: 140px; } }
.summary-card h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 4px; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.summary-row.good span { color: var(--leaf); }
.summary-row.total { color: var(--ink); font-weight: 700; font-size: 18px; border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 2px; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--leaf-bg); color: var(--leaf); border-radius: var(--r-sm); font-weight: 600; font-size: 14px; }
.coupon-applied span { display: flex; align-items: center; gap: 6px; }
.mini-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: start; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mini-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--blush); }
.mini-item small { display: block; color: var(--muted); font-size: 12px; }
.mini-item > span { font-weight: 600; }

.checkout-steps-col { display: grid; gap: 14px; }
.checkout-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.checkout-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 16px; }
.step-no { width: 26px; height: 26px; border-radius: 50%; background: var(--rose); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .checkout-panel { padding: 24px; } }
.payment-options { display: grid; gap: 8px; }
@media (min-width: 640px) { .payment-options { grid-template-columns: 1fr 1fr; } }
.payment-option { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-weight: 500; font-size: 14.5px; }
.payment-option input { accent-color: var(--rose); width: 18px; height: 18px; }
.payment-option .i { color: var(--rose); }
.payment-option:has(input:checked) { border-color: var(--rose); background: var(--blush); }

/* ---------------- Account / auth / misc ---------------- */
.auth-card { max-width: 440px; margin: 24px auto 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 20px; }
@media (min-width: 640px) { .auth-card { padding: 36px; margin-top: 50px; } }
.auth-card h1 { font-size: 28px; margin-bottom: 4px; }
.auth-card p.sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.auth-card .switch { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }
.auth-card .switch a { color: var(--rose); font-weight: 600; }
.auth-card .btn { width: 100%; }

.account-layout { display: grid; gap: 18px; }
@media (min-width: 860px) { .account-layout { grid-template-columns: 240px 1fr; gap: 28px; } }
.account-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.account-nav a { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.account-nav a.active, .account-nav a:hover { color: var(--rose); border-color: var(--rose-soft); background: var(--blush); }
@media (min-width: 860px) { .account-nav { flex-direction: column; } .account-nav a { border-radius: var(--r-sm); } }

.data-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { font-size: 12px; color: var(--muted); font-weight: 600; background: #FDF7F8; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table a { color: var(--rose); font-weight: 600; }

.order-track { display: grid; grid-template-columns: repeat(5, 1fr); margin: 22px 0 8px; position: relative; }
.order-track .stage { text-align: center; font-size: 11.5px; color: var(--muted); position: relative; padding-top: 30px; }
.order-track .stage::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; }
.order-track .stage::after { content: ''; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.order-track .stage:first-child::after { display: none; }
.order-track .stage.done::before, .order-track .stage.current::before { background: var(--rose); border-color: var(--rose); }
.order-track .stage.done::after, .order-track .stage.current::after { background: var(--rose); }
.order-track .stage.current { color: var(--ink); font-weight: 600; }

.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--blush); color: var(--rose); }
.status-delivered { background: var(--leaf-bg); color: var(--leaf); }
.status-cancelled { background: #FDECEE; color: var(--danger); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 14px; }
.alert-error { background: #FDECEE; color: var(--danger); }
.alert-success { background: var(--leaf-bg); color: var(--leaf); }
.alert-info { background: #FFF6E5; color: #8A5A00; }

.empty-state { text-align: center; padding: 50px 16px; color: var(--muted); max-width: 520px; margin: 0 auto; }
.empty-state > .i { width: 54px; height: 54px; color: var(--rose-soft); stroke-width: 1.3; margin: 0 auto 14px; display: block; }
.empty-state h3 { color: var(--ink); font-family: var(--serif); font-size: 24px; margin-bottom: 6px; }
.empty-state p { margin: 0 0 18px; }

.filter-bar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.chip-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
.chip-scroll::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500; }
.filter-chip.is-active { border-color: var(--rose); background: var(--rose); color: #fff; }
.sort-select { align-self: flex-end; min-height: 40px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; }
@media (min-width: 768px) { .filter-bar { flex-direction: row; align-items: center; justify-content: space-between; } .chip-scroll { margin: 0; padding: 0; flex-wrap: wrap; } .sort-select { align-self: auto; } }

.prose { max-width: 760px; }
.prose p, .prose li { color: #4E3F43; }
.prose h2 { font-size: 22px; margin: 22px 0 8px; }
.contact-list p { display: flex; align-items: center; gap: 10px; }
.contact-list .i { color: var(--rose); }

/* ---------------- Footer ---------------- */
.site-footer { background: #24141A; color: #D9CCD0; padding: 38px 0 20px; margin-top: 30px; }
.footer-grid { display: grid; gap: 6px; }
.footer-brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: #B9A9AE; margin: 12px 0 0; max-width: 36ch; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #4A3037; display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: #3A2229; color: #fff; }
.footer-social .i { width: 18px; height: 18px; }
.footer-col { border-top: 1px solid #3A2A2F; }
.footer-col summary { list-style: none; padding: 14px 0; font-weight: 600; color: #fff; cursor: pointer; display: flex; justify-content: space-between; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::after { content: '+'; font-weight: 400; }
.footer-col[open] summary::after { content: '−'; }
.footer-col ul { padding-bottom: 12px; }
.footer-col li { padding: 5px 0; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.with-icon { display: inline-flex; align-items: center; gap: 8px; }
.with-icon .i { width: 16px; height: 16px; }
.footer-bottom { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid #3A2A2F; margin-top: 16px; padding-top: 16px; font-size: 12.5px; color: #9D8C92; }
@media (min-width: 860px) {
    .site-footer { padding-top: 56px; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; }
    .footer-col { border: 0; }
    .footer-col summary { pointer-events: none; padding-top: 0; }
    .footer-col summary::after { display: none; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------------- Bottom nav (mobile) ---------------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px; font-size: 11px; color: var(--muted); }
.bottom-nav a .i { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--rose); font-weight: 600; }
.bottom-nav a.active .i { stroke-width: 2.2; }
.bottom-nav b { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--rose); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
@media (min-width: 1000px) { .bottom-nav { display: none; } body { padding-bottom: 0; } }

/* ---------------- Toast ---------------- */
.toast { position: fixed; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 400; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--error { background: var(--danger); }
.toast--success { background: var(--leaf); }
@media (min-width: 1000px) { .toast { bottom: 30px; } }
.faq-item { margin-bottom: 10px; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { color: var(--rose); transition: transform .2s; }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-item p { margin: 10px 0 0; color: var(--muted); }
.success-state > .i { color: var(--leaf); }

/* =========================================================================
   PRODUCT PAGE — FINAL RESPONSIVE POLISH
   
   ========================================================================= */
html,body{width:100%;max-width:100%;overflow-x:hidden}
body.has-sticky-cta{padding-bottom:calc(136px + env(safe-area-inset-bottom,0px))}
.product-detail,.product-main,.product-gallery,#product-form,.delivery-card,.assurance,.product-desc{min-width:0;max-width:100%}
.product-main h1,.product-main p,.product-desc p,.product-desc strong,.option-head h4{overflow-wrap:anywhere}

.product-gallery{width:100%}
.gallery-main{width:100%;aspect-ratio:1/1}
.gallery-main img{width:100%;height:100%;object-fit:cover}
.gallery-thumbs{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding-bottom:4px}
.gallery-thumbs button{flex:0 0 64px;width:64px;height:64px;touch-action:manipulation}

.product-badges{row-gap:6px}
.product-main h1{font-size:clamp(24px,6vw,36px);line-height:1.16}
.price-row{gap:7px}
.price-now{font-size:clamp(24px,7vw,30px)}
.price-was{font-size:14px}
.price-off{font-size:12px}

.option-pills{display:flex;flex-wrap:wrap;gap:8px}
.pill{min-height:42px;padding:9px 14px;touch-action:manipulation}

.delivery-card{padding:14px}
.inline-form{width:100%}
.inline-form input{min-width:0;width:100%;font-size:16px}
.inline-form .btn{flex:0 0 auto}
.date-chips{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.date-chip{min-width:72px;min-height:58px;flex:0 0 auto}
.slot-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.slot-pill{min-width:0;min-height:48px;padding:8px 5px;text-align:center}

.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea,.field-collapsible textarea,input[type=date]{width:100%;min-width:0;min-height:48px;font-size:16px}
.field-collapsible{width:100%}
.field-collapsible textarea{min-height:92px}

.qty-row{gap:12px}
.qty-input{flex-shrink:0}
.qty-input button{width:42px;height:42px}
.qty-input input{width:38px;font-size:16px}

.buy-actions{display:grid;grid-template-columns:1fr;gap:9px}
.buy-actions .btn{width:100%;min-height:50px}
.assurance{margin-top:16px;padding:14px}

.sticky-cta{left:0;right:0;bottom:calc(56px + env(safe-area-inset-bottom,0px));grid-template-columns:minmax(72px,.72fr) minmax(0,1fr) minmax(0,1.15fr);gap:7px;padding:8px 10px;z-index:110}
.sticky-cta>div{min-width:0}
.sticky-cta .price{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.sticky-cta .btn{min-width:0;width:100%;min-height:46px;padding:8px 7px;overflow:hidden;text-overflow:ellipsis}
.sticky-cta .btn .i{width:17px;height:17px}
.bottom-nav{min-height:56px}
.bottom-nav a{min-width:0;min-height:56px;justify-content:center;touch-action:manipulation}

.modal-sheet{width:100%;max-width:720px}
.addon-grid{min-width:0}
.addon-card{min-width:0}
.addon-name,.addon-price{overflow-wrap:anywhere}

@media (min-width:640px) and (max-width:899px){
 .product-detail{gap:28px}
 .product-gallery,.product-main{max-width:760px;width:100%;margin-left:auto;margin-right:auto}
 .gallery-main{border-radius:var(--r-lg)}
 .buy-actions{grid-template-columns:1fr 1fr}
}
@media (min-width:900px){
 body.has-sticky-cta{padding-bottom:0}
 .buy-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 .product-gallery{width:auto}
 .gallery-main{border-radius:var(--r-lg)}
 .sticky-cta{display:none!important}
}
@media (max-width:479px){
 .gallery-main{border-radius:0}
 .product-main h1{font-size:23px}
 .price-now{font-size:24px}
 .delivery-card{padding:12px;border-radius:13px}
 .slot-grid{gap:6px}
 .slot-pill{font-size:12px}
 .pill{min-height:40px;padding:8px 12px;font-size:13px}
 .sticky-cta{grid-template-columns:70px minmax(0,1fr) minmax(0,1.08fr);gap:6px;padding-left:8px;padding-right:8px}
 .sticky-cta .price{font-size:14px}
 .sticky-cta .btn{font-size:12.5px;padding-left:5px;padding-right:5px}
 .sticky-cta .btn .i{display:none}
}
@media (max-width:359px){
 .product-main h1{font-size:21px}
 .sticky-cta{grid-template-columns:62px minmax(0,1fr) minmax(0,1fr)}
 .sticky-cta small{font-size:10px}
 .sticky-cta .price{font-size:13px}
 .sticky-cta .btn{font-size:11.5px}
}
@media (pointer:coarse){
 .product-wishlist,.gallery-thumbs button,.pill,.date-chip,.slot-pill,.qty-input button,.bottom-nav a,.sticky-cta .btn{-webkit-tap-highlight-color:transparent}
}
.delivery-card *,.modal-sheet *{max-width:100%}
.product-detail img,.modal-sheet img{max-width:100%}


/* =========================================================================
   v3 — SITE-WIDE MOBILE SPACING SYSTEM
   One gutter value drives container padding and every edge-to-edge rail,
   so nothing gets clipped and every page lines up on phones.
   ========================================================================= */
:root { --gutter: 16px; --section-y: 28px; }
@media (max-width: 359px) { :root { --gutter: 12px; --section-y: 24px; } }
@media (min-width: 768px) { :root { --gutter: 24px; --section-y: 52px; } }

.container { padding-left: var(--gutter); padding-right: var(--gutter); }
.page-header { padding: 20px var(--gutter) 14px; }
.page-header--compact { padding-top: 12px; padding-bottom: 8px; }
@media (min-width: 768px) { .page-header { padding: 32px var(--gutter) 20px; } }
.page-header h1 { margin-top: 6px; }
.page-header .breadcrumb + h1 { margin-top: 10px; }

.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .7) 0; }
.section--flush { padding-top: 0; }
.section + .section:not(.section--tinted):not(.section--flush) { padding-top: calc(var(--section-y) * .45); }
.section--tinted + .section, .section + .section--tinted { padding-top: var(--section-y); }
.section-head { margin-bottom: 14px; gap: 12px; }
.section-head > div { min-width: 0; }
.section-head h2 { font-size: clamp(21px, 5.6vw, 32px); }
.section-head p { font-size: 13.5px; line-height: 1.45; }
.link-more { font-size: 13.5px; flex-shrink: 0; padding: 6px 0; }
@media (min-width: 768px) { .section-head { margin-bottom: 24px; } .section-head p { font-size: 14.5px; } }

/* Edge-to-edge horizontal rails aligned to the gutter */
.category-rail, .product-grid--rail, .review-grid, .chip-scroll {
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-left: var(--gutter);
}
.category-rail { gap: 12px; padding-top: 4px; padding-bottom: 6px; }
.category-card { flex: 0 0 78px; }
.category-img { width: 74px; height: 74px; }
.category-name { font-size: 12.5px; }
.product-grid--rail { grid-auto-columns: 44%; gap: 10px; padding-bottom: 8px; }
.product-grid { gap: 10px; }
@media (min-width: 640px) { .product-grid--rail { grid-auto-columns: 30%; gap: 14px; } .product-grid { gap: 14px; } }
@media (min-width: 768px) { .category-rail { gap: 20px; } .category-card { flex-basis: 116px; } .category-img { width: 112px; height: 112px; } .category-name { font-size: 14px; } }
@media (min-width: 1000px) {
    .category-rail, .product-grid--rail, .review-grid { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
    .product-grid { gap: 22px; }
    .category-rail { flex-wrap: wrap; overflow: visible; }
}

/* Flower categories: rounded-square tiles so the two rows look different */
.category-rail--flowers .category-img { border-radius: 20px; }
.category-rail--flowers .category-card { flex-basis: 96px; }
.category-rail--flowers .category-img { width: 96px; height: 116px; }
@media (min-width: 768px) { .category-rail--flowers .category-card { flex-basis: 140px; } .category-rail--flowers .category-img { width: 140px; height: 168px; border-radius: 24px; } }

/* Product card compact on phones */
@media (max-width: 479px) {
    .product-info { padding: 9px 9px 11px; }
    .product-info h3 { font-size: 13px; }
    .product-price .current { font-size: 14.5px; }
    .product-wishlist { width: 32px; height: 32px; top: 6px; right: 6px; }
    .product-flags { top: 6px; left: 6px; }
    .flag { font-size: 10px; padding: 2px 7px; }
}

/* Hero slider on phones */
@media (max-width: 767px) {
    .slide-text { padding: 56px var(--gutter) 38px; }
    .slide-text p { font-size: 13.5px; margin-bottom: 12px; }
    .slide-actions .btn { min-height: 40px; padding: 8px 16px; font-size: 13.5px; }
    .slider-dots { bottom: 12px; }
}
.hero-grid { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Delivery band, occasions, why-us */
.delivery-check { padding: 20px 16px; border-radius: 18px; }
.delivery-check h2 { font-size: 20px; }
.delivery-check .inline-form .btn { padding: 8px 18px; }
@media (min-width: 900px) { .delivery-check { padding: 34px 40px; border-radius: var(--r-lg); } .delivery-check h2 { font-size: 26px; } }
.occasion-card { min-height: 76px; }
.occasion-card span { font-size: 16px; padding: 12px 14px; }
@media (min-width: 768px) { .occasion-card { min-height: 130px; } .occasion-card span { font-size: 18px; } }
.why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.why-item { flex-direction: column; gap: 8px; padding: 14px; }
.why-item h4 { font-size: 14px; }
.why-item p { font-size: 12.5px; }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } .why-item { flex-direction: row; padding: 18px; } .why-item h4 { font-size: 15px; } .why-item p { font-size: 13.5px; } }

/* Forms, panels, cards on small phones */
@media (max-width: 479px) {
    .checkout-panel, .summary-card { padding: 16px 14px; border-radius: 16px; }
    .auth-card { margin: 12px auto 28px; padding: 22px 16px; border-radius: 18px; }
    .cart-item { padding: 10px; gap: 10px; grid-template-columns: 76px 1fr; }
    .cart-thumb img { width: 76px; height: 76px; }
    .data-table th, .data-table td { padding: 10px 12px; }
    .empty-state { padding: 36px 8px; }
    .prose { font-size: 14.5px; }
}
.prose p { margin: 0 0 12px; }
.field-row { gap: 0 12px; }
.site-footer { margin-top: 0; padding-top: 32px; }
main > .container:last-child, main > .section:last-child { padding-bottom: 36px; }

/* Product page: gallery truly edge-to-edge on phones; buy buttons live in sticky bar */
@media (max-width: 899px) {
    .product-gallery { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); width: auto; max-width: none; }
    .gallery-main { border-radius: 0; }
    .gallery-thumbs { padding-left: var(--gutter); padding-right: var(--gutter); }
    .buy-actions { display: none; }
    .product-detail { gap: 14px; }
    .product-main h1 { margin-top: 2px; }
}
@media (min-width: 640px) and (max-width: 899px) {
    .product-gallery { margin-left: auto; margin-right: auto; max-width: 560px; width: 100%; }
    .gallery-main { border-radius: var(--r-lg); }
}
.rating { color: var(--gold); flex-wrap: wrap; }
.rating .stars { display: inline-flex; gap: 1px; }
.rating .stars .i { width: 15px; height: 15px; }
.rating--empty { color: var(--muted); font-weight: 500; }
.rating--empty span { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   Reviews
   ========================================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--gold); vertical-align: middle; }
.stars .i { width: 16px; height: 16px; }
.stars .star-off { color: #E4D6C7; display: inline-flex; }
.stars .star-half { display: inline-flex; position: relative; color: #E4D6C7; }
.stars .star-half-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; overflow: hidden; color: var(--gold); display: inline-flex; }
.stars .star-half-fill .i { flex-shrink: 0; }
.rv-inline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rv-inline b { color: var(--ink); }

.rv-section { border-top: 1px solid var(--line); background: linear-gradient(180deg, #FFF8F6, var(--bg) 240px); }
.rv-layout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 900px) { .rv-layout { grid-template-columns: 330px minmax(0, 1fr); gap: 32px; } .rv-side { position: sticky; top: 140px; } }
.rv-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.rv-score { display: grid; justify-items: start; gap: 4px; }
.rv-score b { font-family: var(--serif); font-size: 44px; line-height: 1; }
.rv-score .stars .i { width: 20px; height: 20px; }
.rv-score > span:not(.stars) { font-size: 13px; color: var(--muted); }
.rv-bars { display: grid; gap: 7px; }
.rv-bar { display: grid; grid-template-columns: 38px 1fr 28px; align-items: center; gap: 8px; font-size: 13px; }
.rv-bar span { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; }
.rv-bar span .i { width: 13px; height: 13px; color: var(--gold); }
.rv-bar i { height: 8px; border-radius: 8px; background: #F3EAE4; overflow: hidden; }
.rv-bar em { display: block; height: 100%; border-radius: 8px; background: var(--gold); }
.rv-bar small { color: var(--muted); text-align: right; }
.rv-write-btn { width: 100%; }
@media (max-width: 899px) { .rv-summary { grid-template-columns: auto 1fr; align-items: center; column-gap: 20px; } .rv-write-btn { grid-column: 1 / -1; } .rv-score b { font-size: 40px; } }
@media (max-width: 359px) { .rv-summary { grid-template-columns: 1fr; } }

.rv-list { display: grid; gap: 12px; }
@media (min-width: 700px) { .rv-main .rv-list { grid-template-columns: 1fr 1fr; } }
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rv-card header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-card header > div { min-width: 0; flex: 1; }
.rv-card header strong { display: block; font-size: 14px; }
.rv-card header small { display: block; font-size: 12px; color: var(--muted); }
.rv-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blush); color: var(--rose); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rv-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--leaf); background: var(--leaf-bg); padding: 3px 8px; border-radius: 999px; }
.rv-verified .i { width: 13px; height: 13px; }
.rv-card h4 { font-size: 15px; }
.rv-card p { margin: 0; font-size: 14px; color: #4E3F43; line-height: 1.6; overflow-wrap: anywhere; }
.rv-product { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--rose); font-weight: 600; margin-top: auto; }
.rv-product .i { width: 14px; height: 14px; }
.rv-reply { background: #FBF6F2; border-left: 3px solid var(--rose-soft); border-radius: 8px; padding: 10px 12px; }
.rv-reply b { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--rose); margin-bottom: 3px; }
.rv-reply b .i { width: 14px; height: 14px; }
.rv-reply p { font-size: 13px; }
.rv-empty { text-align: center; padding: 28px 16px; color: var(--muted); background: #fff; border: 1.5px dashed var(--line); border-radius: var(--r-md); }
.rv-empty .i { width: 38px; height: 38px; color: var(--rose-soft); margin: 0 auto 8px; display: block; }
.rv-empty p { margin: 0; }
.rv-filter { margin-bottom: 14px; }
.rv-pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }

.review-grid.rv-rail { grid-auto-columns: 86%; }
.rv-rail .rv-card { scroll-snap-align: start; }
@media (min-width: 640px) { .review-grid.rv-rail { grid-auto-columns: 46%; } }
@media (min-width: 900px) { .review-grid.rv-rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); } .review-grid.rv-rail > :nth-child(n+7) { display: none; } }
.rv-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 479px) { .rv-cta .btn { flex: 1; } }

.rv-form-wrap { margin-top: 16px; }
.rv-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 16px; scroll-margin-top: 90px; }
@media (min-width: 640px) { .rv-form { padding: 26px; } }
.rv-form h3 { font-family: var(--serif); font-size: 22px; }
.rv-form > p { margin: 4px 0 14px; }
.rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-rate { border: 0; padding: 0; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-rate legend { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; width: 100%; }
.rv-rate-stars { display: inline-flex; flex-direction: row-reverse; }
.rv-rate-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv-rate-stars label { cursor: pointer; padding: 3px; color: #E4D6C7; transition: color .12s, transform .12s; }
.rv-rate-stars label .i { width: 34px; height: 34px; }
.rv-rate-stars label:hover, .rv-rate-stars label:hover ~ label, .rv-rate-stars input:checked ~ label { color: var(--gold); }
.rv-rate-stars label:active { transform: scale(.9); }
.rv-rate-stars input:focus-visible + label { outline: 2px solid var(--rose); border-radius: 6px; }
.rv-rate-text { font-weight: 600; color: var(--gold); font-size: 14px; }

/* =========================================================================
   v4 — delivery pincode strip + popup, online payment page
   ========================================================================= */
.pin-strip { display: block; width: 100%; border: 0; border-top: 1px solid var(--line); background: #FBF3F1; padding: 0; cursor: pointer; text-align: left; }
.pin-strip .container { display: flex; align-items: center; gap: 6px; min-height: 38px; font-size: 13px; color: var(--ink); }
.pin-strip .container > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pin-strip .i { width: 16px; height: 16px; color: var(--rose); }
.pin-strip b { color: var(--rose); }
.pin-strip .pin-caret { color: var(--muted); }
@media (min-width: 1000px) { .pin-strip { display: none; } }
.main-nav .nav-pin { margin-left: auto; }
.main-nav .nav-pin button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; }
.main-nav .nav-pin button:hover { border-color: var(--rose-soft); }
.main-nav .nav-pin .i { width: 15px; height: 15px; color: var(--rose); }
.main-nav .nav-pin b { color: var(--rose); }

.pin-modal { align-items: flex-end; }
@media (min-width: 560px) { .pin-modal { align-items: center; } }
.pin-sheet { max-width: 440px; padding: 26px 22px calc(22px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.pin-close { position: absolute; top: 10px; right: 10px; }
.pin-hero span { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--blush); color: var(--rose); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px #FAF5EC; }
.pin-hero .i { width: 30px; height: 30px; }
.pin-sheet h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 6px; }
.pin-sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.pin-form .inline-form input { text-align: left; letter-spacing: .08em; font-weight: 600; }
.pin-msg { min-height: 20px; margin: 10px 0 0; font-size: 13px; font-weight: 500; }
.pin-msg.is-bad { color: var(--danger); }
.pin-msg.is-ok { color: var(--leaf); }
.pin-or { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--muted); font-size: 12px; }
.pin-or::before, .pin-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pin-skip { margin-top: 12px; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.link-pin { border: 0; background: none; padding: 0; color: var(--rose); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; font-size: inherit; }
.link-pin .i { width: 13px; height: 13px; }
.pin-warn { margin-top: 10px; }
.pin-warn .link-pin { margin-left: 4px; text-decoration: underline; }

.payment-option--rich span { display: flex; flex-direction: column; line-height: 1.3; }
.payment-option--rich small { color: var(--muted); font-size: 12px; font-weight: 400; }

.pay-card { max-width: 460px; margin: 10px auto 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); }
.pay-icon { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: var(--leaf-bg); color: var(--leaf); display: flex; align-items: center; justify-content: center; }
.pay-icon .i { width: 28px; height: 28px; }
.pay-card h1 { font-size: 26px; margin-bottom: 6px; }
.pay-amount { margin: 18px 0 10px; padding: 14px; background: var(--blush); border-radius: var(--r-md); }
.pay-amount small { display: block; color: var(--muted); font-size: 12.5px; }
.pay-amount b { font-size: 30px; }
.pay-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.pay-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pay-meta .i { width: 14px; height: 14px; }
.pay-card .btn-ghost { margin-top: 8px; }
.pay-card .alert { text-align: left; }
.pay-secure { margin: 14px 0 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 5px; }
.pay-secure .i { width: 13px; height: 13px; }

.pin-form input::placeholder { letter-spacing: 0; font-weight: 400; }

/* v5 — pincode is required before browsing */
body.pin-locked { overflow: hidden; }
body.pin-locked > *:not(.pin-modal):not(script):not(.toast) { filter: blur(6px); pointer-events: none; user-select: none; }
.pin-modal.is-required .modal-backdrop { background: rgba(42, 26, 31, .55); }
.pin-brand { display: flex; justify-content: center; margin-bottom: 14px; }
.pin-brand .logo-img { max-height: 46px; }
.pin-brand .logo-text { font-size: 22px; }
.pin-help { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.pin-help a { color: var(--rose); font-weight: 600; }

/* Brand logo (image or text) */
.logo-img { display: block; max-height: 44px; width: auto; max-width: 170px; object-fit: contain; }
.logo-img--footer { max-height: 56px; max-width: 200px; }
@media (min-width: 1000px) { .logo-img--header { max-height: 52px; max-width: 220px; } }
.logo-text { font-family: var(--serif); font-weight: 700; color: var(--rose); letter-spacing: .01em; white-space: nowrap; }
.logo-text span { font-style: italic; font-weight: 500; color: var(--ink); }
.logo-text.is-light, .logo-text.is-light span { color: #fff; }
.site-header .logo { font-size: 21px; }
@media (max-width: 380px) { .site-header .logo { font-size: 18px; } }
@media (min-width: 1000px) { .site-header .logo { font-size: 25px; } }

/* Photo cakes */
.pc-hero { border-radius: var(--r-lg); padding: 22px 18px; background: linear-gradient(135deg, #EEF4F0 0%, #F2F8F5 100%); border: 1px solid var(--petal); }
.pc-hero h2 { font-size: clamp(22px, 5.4vw, 32px); margin: 10px 0 6px; }
.pc-hero p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.pc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.pc-steps > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pc-steps span { width: 26px; height: 26px; border-radius: 50%; background: var(--rose); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.pc-steps b { font-size: 12.5px; line-height: 1.25; }
.pc-steps small { font-size: 11px; color: var(--muted); line-height: 1.3; }
@media (min-width: 768px) { .pc-hero { padding: 34px 36px; } .pc-steps { max-width: 620px; gap: 12px; } .pc-steps b { font-size: 14px; } .pc-steps small { font-size: 12px; } }
.flag-photo { background: #2A1A1F; color: #fff; }

.photo-upload { margin-bottom: 18px; padding: 14px; border: 1.5px solid var(--petal); border-radius: var(--r-md); background: #FFFAFB; }
.photo-upload.is-error { border-color: var(--danger); box-shadow: 0 0 0 4px #FDECEE; }
.photo-upload .option-head h4 { display: flex; align-items: center; gap: 6px; }
.photo-upload .req { color: var(--danger); }
.photo-drop { position: relative; display: block; border: 2px dashed var(--rose-soft); border-radius: 14px; background: #fff; cursor: pointer; overflow: hidden; }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-drop-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 14px; text-align: center; color: var(--rose); }
.photo-drop-empty .i { width: 30px; height: 30px; }
.photo-drop-empty b { font-size: 14.5px; }
.photo-drop-empty small { color: var(--muted); font-size: 12px; }
.photo-drop-preview { display: flex; align-items: center; gap: 12px; padding: 10px; }
.photo-drop-preview img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; }
.photo-change { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--rose); font-size: 13.5px; }
.photo-change .i { width: 15px; height: 15px; }
.photo-line { display: flex !important; align-items: center; gap: 6px; }
.photo-line img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }

/* =========================================================================
   v7 — PERFUME STORE (light luxury · Poppins)
   ========================================================================= */
body { font-weight: 400; letter-spacing: -.005em; }
h1, h2, h3, h4 { font-family: var(--font); }
h1 { font-weight: 600; }
.logo-text { font-family: var(--font); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.logo-text span { font-style: normal; font-weight: 300; color: var(--accent); }
.logo-text.is-light span { color: #BFE0D3; }
.btn { font-weight: 500; letter-spacing: .01em; }
.btn-primary { background: var(--ink); }
.btn-primary:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.chip-gold { background: var(--accent-soft); color: #1E5B4F; }
.flag-new { background: var(--accent); color: #fff; }
.flag-sale { background: var(--ink); }
.section-head h2 { font-weight: 600; letter-spacing: -.02em; }
.section--tinted { background: #F6F1E9; }
.site-header { background: rgba(252, 250, 246, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.main-nav a { font-weight: 500; font-size: 13.5px; letter-spacing: .02em; }
.product-kicker, .pd-kicker { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* Product card */
.product-card { border-color: #EEE7DC; border-radius: 16px; }
.product-thumb { background: #F4EEE4; }
.product-thumb img { object-fit: cover; }
.product-info { gap: 4px; padding: 11px 12px 13px; }
.product-info h3 { font-weight: 600; font-size: 14px; }
.product-tagline { color: var(--muted); font-size: 12px; margin: 0; }
.product-rating { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--ink); }
.product-rating .i { width: 13px; height: 13px; color: var(--gold); }
.product-rating small { color: var(--muted); font-weight: 400; }
.product-price .current small { font-size: 11px; font-weight: 500; color: var(--muted); }
.product-sizes { margin: 0; font-size: 11px; color: var(--muted); }

/* Hero / trust */
.slide-text h2 { font-weight: 600; letter-spacing: -.02em; }
.slide-text { background: linear-gradient(90deg, rgba(252, 250, 246, .92) 0%, rgba(252, 250, 246, .55) 45%, rgba(252, 250, 246, 0) 70%); color: var(--ink); }
.slide-text h2, .slide-text p { color: var(--ink); text-shadow: none; }
@media (max-width: 767px) { .slide-text { background: linear-gradient(0deg, rgba(252, 250, 246, .96) 0%, rgba(252, 250, 246, .7) 55%, rgba(252, 250, 246, 0) 100%); } }
.slide-actions .btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
.trust-row::-webkit-scrollbar { display: none; }
.trust-row > div { display: flex; align-items: center; gap: 10px; }
.trust-row .i { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.trust-row b { display: block; font-size: 13px; font-weight: 600; }
.trust-row small { display: block; font-size: 11.5px; color: var(--muted); }

/* Collections */
.collection-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 34%; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-snap-type: x mandatory; }
.collection-rail::-webkit-scrollbar { display: none; }
.collection-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.collection-img { aspect-ratio: 3/4; border-radius: 18px; overflow: hidden; background: #F4EEE4; display: flex; align-items: center; justify-content: center; border: 1px solid #EEE7DC; }
.collection-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.collection-card:hover .collection-img img { transform: scale(1.05); }
.collection-name { font-size: 13px; font-weight: 600; }
@media (min-width: 640px) { .collection-rail { grid-auto-columns: 22%; } }
@media (min-width: 1000px) { .collection-rail { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; overflow: visible; } }

/* Scent family tiles */
.family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .family-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.family-tile { position: relative; overflow: hidden; border-radius: 18px; padding: 16px 14px; min-height: 108px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; background: linear-gradient(145deg, var(--f1), #fff 120%); border: 1px solid rgba(0, 0, 0, .04); transition: transform .2s, box-shadow .2s; }
.family-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.family-ico { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .7); display: flex; align-items: center; justify-content: center; color: var(--f2); }
.family-ico .i { width: 20px; height: 20px; }
.family-tile b { font-size: 16px; font-weight: 600; }
.family-tile small { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.family-tile small .i { width: 13px; height: 13px; }

/* Combos */
.combo-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .combo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .combo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.combo-grid--rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scroll-snap-type: x mandatory; }
.combo-grid--rail::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .combo-grid--rail { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .combo-grid--rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; } }
.combo-card { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid #EEE7DC; border-radius: 20px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.combo-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.combo-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #EEF4F0, #F2F8F5); overflow: hidden; }
.combo-media > img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.combo-stack { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0; }
.combo-stack img { width: 36%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(60, 40, 20, .15); margin: 0 -14px; }
.combo-stack img:nth-child(2) { transform: translateY(-8px) scale(1.08); z-index: 1; }
.combo-badge { position: absolute; top: 12px; left: 12px; }
.combo-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.combo-body b { font-size: 16px; font-weight: 600; }
.combo-body small { color: var(--muted); font-size: 12.5px; }
.combo-cta { margin-top: 6px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.combo-cta .i { width: 15px; height: 15px; transition: transform .2s; }
.combo-card:hover .combo-cta .i { transform: translateX(3px); }

.combo-hero { display: grid; gap: 18px; margin-bottom: 20px; }
@media (min-width: 900px) { .combo-hero { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; } }
.combo-hero-media { position: relative; border-radius: 22px; overflow: hidden; background: #F4EEE4; aspect-ratio: 4/3; }
.combo-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.combo-hero-media .flag { position: absolute; top: 14px; left: 14px; font-size: 12px; padding: 5px 12px; }
.combo-hero-info h1 { font-size: clamp(26px, 6vw, 40px); margin: 6px 0; }
.builder-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 12px; }
.builder-head h2 { font-size: 20px; }
.builder-progress { min-width: 180px; font-size: 13px; font-weight: 600; }
.builder-progress i { display: block; height: 6px; border-radius: 6px; background: var(--line); margin-top: 6px; overflow: hidden; }
.builder-progress em { display: block; height: 100%; background: var(--accent); transition: width .25s; }
.combo-items { display: grid; gap: 10px; }
@media (min-width: 760px) { .combo-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.combo-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: #fff; border: 1.5px solid #EEE7DC; border-radius: 16px; transition: border-color .15s, background .15s; }
.combo-item.is-picked { border-color: var(--accent); background: #F2F8F5; }
.combo-item-img img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: #F4EEE4; }
.combo-item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.combo-item-info b { font-size: 14.5px; font-weight: 600; }
.combo-item-info small { color: var(--muted); font-size: 12px; }
.combo-item-check { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.combo-item-check .i { width: 16px; height: 16px; }
.qty-sm button { width: 32px; height: 32px; }
.qty-sm input { width: 26px; }
#combo-form.is-full .combo-item:not(.is-picked) { opacity: .6; }
.combo-bottom { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 900px) { .combo-bottom { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.sticky-cta--always { display: flex !important; }
@media (min-width: 900px) { .sticky-cta--always { position: sticky; bottom: 16px; max-width: 560px; margin: 20px auto 0; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); } }

/* Finder + story */
.finder-card { display: grid; gap: 16px; align-items: center; border-radius: 24px; padding: 22px 20px; background: radial-gradient(120% 140% at 100% 0%, #D9EBE3 0%, #F1F7F4 45%, #FFFFFF 100%); border: 1px solid #D5E6DE; overflow: hidden; }
.finder-card h2 { font-size: clamp(22px, 5vw, 32px); margin: 10px 0 6px; }
.finder-card p { color: var(--muted); margin: 0 0 16px; }
.finder-art { display: none; }
@media (min-width: 800px) {
    .finder-card { grid-template-columns: 1.3fr 1fr; padding: 36px 40px; }
    .finder-art { display: flex; justify-content: center; align-items: flex-end; gap: 14px; height: 180px; }
    .finder-art span { width: 58px; border-radius: 14px 14px 10px 10px; background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(30,91,79,.45)); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 10px 24px rgba(120, 90, 40, .15); }
    .finder-art span:nth-child(1) { height: 110px; } .finder-art span:nth-child(2) { height: 160px; background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(43,35,32,.55)); } .finder-art span:nth-child(3) { height: 130px; background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(196,103,122,.5)); }
}
.story { display: grid; gap: 20px; align-items: center; }
.story-art { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; background: #F4EEE4; }
.story-art img { width: 100%; height: 100%; object-fit: cover; }
.story-copy h2 { font-size: clamp(24px, 5.4vw, 36px); margin: 8px 0 10px; }
.story-copy p { color: var(--muted); margin: 0 0 14px; }
.story-points { display: grid; gap: 8px; margin-bottom: 18px; }
.story-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.story-points .i { color: var(--accent); }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Quiz */
.quiz { display: grid; gap: 18px; max-width: 860px; }
.quiz fieldset { border: 0; padding: 0; margin: 0; }
.quiz legend { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.quiz legend span { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.quiz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quiz-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .quiz-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.quiz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-opt span { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 16px 8px; border: 1.5px solid #EEE7DC; border-radius: 16px; background: #fff; cursor: pointer; height: 100%; transition: border-color .15s, background .15s; }
.quiz-opt .i { width: 24px; height: 24px; color: var(--accent); }
.quiz-opt b { font-size: 13px; font-weight: 600; }
.quiz-opt input:checked + span { border-color: var(--ink); background: #F2F8F5; box-shadow: 0 0 0 3px var(--accent-soft); }
.quiz-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.quiz .btn-lg { justify-self: start; }

/* ---------------- Product page ---------------- */
.pd { padding-bottom: 8px; }
.pd-gallery .gallery-main { border-radius: 0; background: #F4EEE4; cursor: zoom-in; }
@media (min-width: 640px) { .pd-gallery .gallery-main { border-radius: 24px; } }
.pd-flags { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pd-flags .flag { font-size: 11px; padding: 4px 10px; }
.pd-tools { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 8px; }
.pd-tool { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(40, 30, 20, .1); color: var(--ink); position: static; }
.pd-tool .i { width: 19px; height: 19px; }
.pd-tool.is-on { color: #C8323F; }
.pd-tool.is-on .i { fill: currentColor; }
.pd-main h1 { font-size: clamp(26px, 6.4vw, 38px); margin: 6px 0 4px; letter-spacing: -.02em; }
.pd-main .tagline { color: var(--muted); margin: 0 0 8px; font-size: 14.5px; }
.pd-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; font-size: 13px; }
.pd-meta .rating b { color: var(--ink); }
.pd-sku { color: var(--muted); font-size: 12px; }
.pd-price { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.pd-price .price-row { margin: 0; }
.pd-price .price-now { font-size: 28px; font-weight: 600; }
.pd-price small { color: var(--muted); font-size: 12px; }
.price-off { background: #EAF6EF; color: var(--leaf); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; }
.pd-highlights { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 16px; }
.pd-highlights li { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #4F463F; }
.pd-highlights .i { width: 14px; height: 14px; color: var(--leaf); }
.option-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.option-head h4 { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pill.size-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px 9px; border-radius: 14px; min-height: 0; height: auto; text-align: center; position: relative; }
.size-card b { font-size: 14px; font-weight: 600; }
.size-price { font-size: 13px; font-weight: 500; }
.size-price s { color: var(--muted); font-size: 11px; font-weight: 400; }
.size-card small { font-size: 10.5px; color: var(--muted); font-weight: 400; }
.size-bottle { width: 18px; height: 30px; border-radius: 4px 4px 5px 5px; border: 1.5px solid currentColor; opacity: .55; position: relative; margin-bottom: 4px; overflow: hidden; }
.size-bottle::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: var(--accent); opacity: .55; }
.pill.size-card.is-selected { border-color: var(--ink); background: #F2F8F5; color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.pill.size-card:disabled { text-decoration: none; }
.pd-snapshot { border: 1px solid #EEE7DC; border-radius: 16px; padding: 12px; margin: 4px 0 16px; background: #fff; }
.pd-fams { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pd-fams .chip { background: var(--accent-soft); color: #1E5B4F; font-weight: 500; }
.pd-snap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pd-snap-grid > div { display: flex; align-items: center; gap: 8px; }
.pd-snap-grid .i { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #F6F1E9; color: var(--accent); flex-shrink: 0; }
.pd-snap-grid small { display: block; font-size: 11px; color: var(--muted); }
.pd-snap-grid b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.pd-offers { border: 1.5px dashed #BFD8CE; border-radius: 16px; padding: 12px 14px; margin-bottom: 16px; background: #F5FAF7; }
.pd-offers h4 { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 6px; }
.pd-offers h4 .i { color: var(--accent); }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 13px; border-top: 1px solid #E3EEE9; }
.offer:first-of-type { border-top: 0; }
.offer-code { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--ink); background: #fff; border-radius: 8px; padding: 4px 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.offer-code .i { width: 13px; height: 13px; }
.pd-engrave label { display: flex; align-items: center; gap: 6px; }
.pd-gift { margin-bottom: 4px; }
.gift-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
@media (min-width: 520px) { .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gift-opt { position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1.5px solid #EEE7DC; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.gift-opt input { position: absolute; opacity: 0; pointer-events: none; }
.gift-ico { width: 34px; height: 34px; border-radius: 10px; background: #F6F1E9; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; overflow: hidden; }
.gift-ico img { width: 100%; height: 100%; object-fit: cover; }
.gift-txt { display: flex; flex-direction: column; min-width: 0; }
.gift-txt b { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.gift-txt small { font-size: 11.5px; color: var(--muted); }
.gift-check { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; display: none; align-items: center; justify-content: center; }
.gift-check .i { width: 12px; height: 12px; }
.gift-opt:has(input:checked) { border-color: var(--ink); background: #F2F8F5; }
.gift-opt:has(input:checked) .gift-check { display: flex; }
.gift-opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.pd-ship { display: grid; gap: 6px; margin-top: 12px; }
.pd-ship li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #564C44; }
.pd-ship .i { width: 16px; height: 16px; color: var(--accent); }
.pd-buy { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.pd-buy .qty-input { flex-shrink: 0; }
.pd-buy .buy-actions { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
@media (max-width: 899px) { .pd-buy .buy-actions { display: none; } }
.pd-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 18px; padding: 14px 6px; border-radius: 16px; background: #F6F1E9; }
.pd-trust li { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; font-size: 11px; font-weight: 500; line-height: 1.25; }
.pd-trust .i { width: 22px; height: 22px; color: var(--accent); }
.pd-notes { background: linear-gradient(180deg, #F7F1E7, var(--bg)); }
.notes-pyramid { display: grid; gap: 10px; }
@media (min-width: 900px) { .notes-pyramid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.note-tier { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; align-items: center; padding: 14px; background: #fff; border: 1px solid #EEE7DC; border-radius: 18px; }
.note-ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.note-heart .note-ico { background: #F8E4E6; color: #C4677A; }
.note-base .note-ico { background: #EADCCB; color: #7A5A36; }
.note-tier h4 { font-size: 15px; font-weight: 600; }
.note-tier small { font-size: 11.5px; color: var(--muted); }
.note-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.note-chips span { padding: 5px 11px; border-radius: 999px; background: #F8F4EE; border: 1px solid #EEE4D5; font-size: 12.5px; }
.pd-meters { display: grid; gap: 12px; margin-top: 16px; padding: 16px; background: #fff; border: 1px solid #EEE7DC; border-radius: 18px; }
@media (min-width: 700px) { .pd-meters { grid-template-columns: 1fr 1fr; } }
.meter-row { display: grid; grid-template-columns: 110px auto 1fr; gap: 10px; align-items: center; font-size: 13px; }
.meter-row > span:first-child { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.meter-row > span:first-child .i { width: 16px; height: 16px; color: var(--accent); }
.meter { display: inline-flex; gap: 4px; }
.meter i { width: 22px; height: 8px; border-radius: 4px; background: #EDE5D8; }
.meter i.on { background: linear-gradient(90deg, #6FA595, var(--accent)); }
.meter-row b { font-size: 12.5px; font-weight: 600; }
.pd-accordion { border: 1px solid #EEE7DC; border-radius: 18px; background: #fff; overflow: hidden; margin: 18px 0 8px; }
.pd-accordion details + details { border-top: 1px solid #EEE7DC; }
.pd-accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 15px 16px; font-weight: 600; font-size: 14.5px; }
.pd-accordion summary::-webkit-details-marker { display: none; }
.pd-accordion summary .i { color: var(--accent); }
.pd-accordion summary::after { content: '+'; margin-left: auto; font-size: 20px; font-weight: 300; color: var(--muted); }
.pd-accordion details[open] summary::after { content: '–'; }
.pd-accordion .prose { padding: 0 16px 16px; color: #4F463F; font-size: 14px; }
.zoom-view { position: fixed; inset: 0; z-index: 400; background: rgba(252, 250, 246, .97); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.zoom-view img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom-view .icon-btn { position: absolute; top: 14px; right: 14px; }

/* Shop */
.shop-cats { margin-bottom: 14px; }
.shop-layout { display: grid; gap: 20px; }
@media (min-width: 1000px) { .shop-layout { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }
.shop-filters { background: #fff; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; }
.filters-head h3 { font-size: 16px; }
.fgroup { border-top: 1px solid var(--line); padding: 12px 0; }
.fgroup summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 13.5px; margin-bottom: 8px; display: flex; justify-content: space-between; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: '+'; color: var(--muted); }
.fgroup[open] summary::after { content: '–'; }
.fcheck { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13.5px; cursor: pointer; }
.fcheck input { width: 17px; height: 17px; accent-color: var(--ink); }
.fcheck .i { width: 15px; height: 15px; color: var(--accent); }
.fcheck small { color: var(--muted); }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip span, .fchip-link { display: inline-flex; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; background: #fff; cursor: pointer; }
.fchip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.fchip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fprice { display: flex; align-items: center; gap: 6px; }
.fprice input { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.filters-foot { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.filters-foot .btn { flex: 1; }
.shop-overlay { display: none; }
@media (max-width: 999px) {
    .shop-filters { position: fixed; z-index: 320; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateY(105%); transition: transform .25s ease; box-shadow: 0 -20px 50px rgba(0, 0, 0, .15); }
    body.filters-open .shop-filters { transform: none; }
    body.filters-open .shop-overlay { display: block; position: fixed; inset: 0; z-index: 310; background: rgba(31, 26, 23, .4); }
    body.filters-open { overflow: hidden; }
    .filters-foot { position: sticky; bottom: -16px; background: #fff; padding-bottom: 6px; }
}
@media (min-width: 1000px) {
    .shop-filters { position: sticky; top: 130px; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
    .filters-head .icon-btn, .shop-filter-btn { display: none; }
    .filters-foot { display: none; }
}
.filter-bar { display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
.filter-bar .muted { flex: 1; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.af-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); font-size: 12.5px; font-weight: 500; }
.af-chip .i { width: 13px; height: 13px; }
.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Light footer (perfume theme) */
.site-footer { background: #F3ECE1; color: #5A5047; border-top: 1px solid #E7DCCB; }
.site-footer .logo-text, .site-footer .logo-text.is-light { color: var(--ink); }
.site-footer .logo-text.is-light span { color: var(--accent); }
.footer-social a { border-color: #DCCFBC; color: var(--ink); background: #fff; }
.footer-social a:hover { background: var(--ink); color: #fff; }
.footer-col { border-top-color: #E4D8C5; }
.footer-col summary { color: var(--ink); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { border-top-color: #E4D8C5; color: #8A7E72; }
.offer-bar { letter-spacing: .06em; font-size: 12px; font-weight: 500; }
@media (max-width: 999px) {
    .filter-bar { display: grid; grid-template-columns: auto 1fr; align-items: center; }
    .filter-bar > .muted { grid-column: 1 / -1; order: 3; text-align: left; }
    .filter-bar .sort-form, .filter-bar .sort-select { width: 100%; }
}
.sticky-cta > div { min-width: 92px; }
.sticky-cta > div small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* =========================================================================
   v8 — Emerald accent + refined spacing
   ========================================================================= */
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.chip-rose { background: var(--accent-soft); color: var(--accent); }
.flag-sale { background: var(--accent); color: #fff; }
.flag-new { background: #1F1A17; color: #fff; }
.link-more { color: var(--accent); }
.main-nav a.active, .main-nav a:hover { color: var(--accent); }
.bottom-nav a.active { color: var(--accent); }
.badge-count { background: var(--accent); }
.pill.is-selected { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.pill.size-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.filter-chip.is-active, .fchip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.quiz-opt input:checked + span, .gift-opt:has(input:checked) { border-color: var(--accent); }
.gift-check, .quiz legend span, .pc-steps span { background: var(--accent); }
.delivery-card-head .i, .drawer-link .i { color: var(--accent); }
.logo-text span { color: var(--accent); }
.stars, .product-rating .i, .rv-bar span .i { color: var(--gold); }
.rv-bar em { background: var(--gold); }
.price-off { background: var(--accent-soft); color: var(--accent); }
.qty-input button { color: var(--accent); }
:focus-visible { outline-color: var(--accent); }

/* Mobile hero: every banner shows in the exact ratio it was uploaded (1:1, 4:5, 9:16…) */
@media (max-width: 767px) {
    .slider--mobile .slides { aspect-ratio: auto; display: grid; transition: height .45s ease; overflow: hidden; background: #F4EEE4; }
    .slider--mobile .slide { position: relative; inset: auto; grid-area: 1 / 1; align-self: start; }
    .slider--mobile .slide img { height: auto; object-fit: initial; }
}

/* Home: editorial promo pair */
.btn-light { background: #fff; color: var(--ink); border: 1px solid rgba(0, 0, 0, .06); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.promo-pair { display: grid; gap: 12px; }
@media (min-width: 760px) { .promo-pair { grid-template-columns: 1fr 1fr; gap: 18px; } }
.promo { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; min-height: 190px; border-radius: 22px; overflow: hidden; padding: 20px 0 20px 20px; isolation: isolate; }
.promo--him { background: linear-gradient(135deg, #DCEBE4 0%, #F4F8F5 100%); }
.promo--her { background: linear-gradient(135deg, #F7E3E6 0%, #FDF6F3 100%); }
.promo-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 1; }
.promo-copy b { font-size: clamp(18px, 4.8vw, 24px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.promo-copy small { color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.promo-copy .btn .i { width: 15px; height: 15px; }
.promo img { width: 100%; height: 100%; max-height: 220px; object-fit: cover; border-radius: 18px 0 0 18px; box-shadow: -10px 10px 30px rgba(40, 30, 20, .08); transition: transform .4s; }
.promo:hover img { transform: scale(1.04); }
@media (min-width: 1000px) { .promo { min-height: 260px; padding: 32px 0 32px 36px; } .promo img { max-height: 280px; } }

/* v8 spacing fixes */
.container.section, .container.section--flush, .container.section--tight { padding-left: var(--gutter); padding-right: var(--gutter); }
.collection-rail, .combo-grid--rail, .product-grid--rail, .review-grid, .chip-scroll { scroll-padding-inline: var(--gutter); }
.site-footer p, .footer-brand p { color: #6A5F55; }
.site-footer .footer-col a { color: #4F463F; }
.pd-info { padding-top: 4px; }
.pd-accordion { margin-top: 0; }
.pd-notes { padding-bottom: 20px; }
.pd-buy .qty-label { font-size: 14px; font-weight: 600; margin-right: auto; }
@media (min-width: 900px) { .pd-buy .qty-label { display: none; } }
@media (max-width: 899px) { .pd-buy { justify-content: space-between; padding: 12px 14px; border: 1px solid #EEE7DC; border-radius: 14px; background: #fff; } }
.combo-media.has-image .combo-stack { display: none; }
.combo-media.has-image > img { opacity: 1; }
.page-header h1 { margin-bottom: 4px; }
.page-header p.muted { margin: 4px 0 0; }
.section-head p { margin-top: 4px; }
.shop-cats { margin-top: 2px; }
.filter-bar { margin-top: 4px; }
.rv-cta { margin-top: 18px; }
.story-copy .btn { margin-top: 4px; }

.combo-hero-media { background: linear-gradient(135deg, #E6F0EB, #FBF8F3); }
.combo-stack--lg img { width: 34%; border-radius: 20px; border-width: 4px; margin: 0 -18px; }
@media (min-width: 1000px) {
    .product-grid--rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 3 * 22px) / 4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: #D9D1C5 transparent; }
    .product-grid--rail > * { scroll-snap-align: start; }
    .collection-rail { grid-template-columns: repeat(auto-fit, minmax(150px, 190px)); justify-content: center; gap: 22px; }
}
@media (min-width: 1280px) { .product-grid--rail { grid-auto-columns: calc((100% - 4 * 22px) / 5); } }
@media (min-width: 900px) { .pd-gallery { position: sticky; top: 128px; align-self: start; } .pd { align-items: start; } }
