/* =========================================================================
   PETALS N PARADISE — storefront design system (v2, mobile-first)
   Brand: deep rose on warm white, Playfair Display headings, Inter body.
   ========================================================================= */
:root {
    --rose: #8B1E3F;
    --rose-deep: #6A1530;
    --rose-soft: #D88C9A;
    --blush: #F9EEF0;
    --petal: #F2D7DC;
    --bg: #FFFCFA;
    --card: #FFFFFF;
    --ink: #2A1A1F;
    --muted: #7A6A6E;
    --line: #EFE3E5;
    --leaf: #2F7A4F;
    --leaf-bg: #EAF6EF;
    --danger: #C8323F;
    --gold: #C7922F;

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 22px;
    --shadow: 0 1px 2px rgba(42, 26, 31, .04), 0 8px 24px rgba(139, 30, 63, .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: -.01em; }
[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 #FDF6F7; }
.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, #FCE9EE 0%, #FFF6EE 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; }
