/* ==========================================================================
   Bloomé — Storefront theme
   A premium boutique-florist aesthetic: blush canvas, aubergine + plum ink,
   gold accents, Fraunces display serif over Manrope.
   Mobile-first. Custom properties drive the whole system.
   ========================================================================== */

:root {
    /* ---- Palette ---- */
    --plum-900: #5a1138;   /* deepest berry (footer / deep ink) */
    --plum-800: #8a1a5e;   /* headings, dark brand magenta */
    --plum-600: #e10a7c;   /* PRIMARY — logo magenta (brand, buttons) */
    --plum-500: #c41a78;
    --plum-300: #f3a4cc;
    --blush-100: #fdf3f8;  /* canvas tint (soft pink) */
    --blush-200: #fbe2ef;  /* soft cards */
    --blush-300: #f6cce0;
    --rose: #e10a7c;       /* sale / accent (magenta) */
    --gold-600: #6aa436;   /* GREEN accent — logo "flora" green */
    --gold-500: #7cbd45;
    --gold-200: #d6ecbb;
    --ink: #3a2230;        /* body text */
    --ink-soft: #7a6470;   /* muted text */
    --line: #f1e4ec;       /* hairlines */
    --line-strong: #e4cedb;
    --white: #ffffff;
    --paper: #fffcfe;
    --green-leaf: #5f9b39; /* plant / delivery green */
    --success: #5a9c3c;
    --danger: #cf3b57;

    /* ---- Type ---- */
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* ---- Geometry ---- */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-pill: 999px;
    --shadow-sm: 0 2px 10px rgba(61, 43, 58, .06);
    --shadow-md: 0 10px 30px rgba(61, 43, 58, .10);
    --shadow-lg: 0 24px 60px rgba(61, 43, 58, .16);
    --container: 1320px;
    --gut: 1.25rem;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--blush-100);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a { color: var(--plum-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--plum-800); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--plum-800);
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }

::selection { background: var(--plum-300); color: var(--white); }

:focus-visible {
    outline: 2px solid var(--plum-600);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Shared eyebrow label */
.eyebrow {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--gold-600);
    display: inline-block;
    margin-bottom: .65rem;
}

/* ==========================================================================
   Buttons (layered over Bootstrap)
   ========================================================================== */
.btn { font-family: var(--sans); font-weight: 600; border-radius: var(--r-pill); transition: all .22s var(--ease); }

.btn-primary {
    --bs-btn-bg: var(--plum-600);
    --bs-btn-border-color: var(--plum-600);
    --bs-btn-hover-bg: var(--plum-800);
    --bs-btn-hover-border-color: var(--plum-800);
    --bs-btn-active-bg: var(--plum-900);
    --bs-btn-disabled-bg: var(--plum-300);
    --bs-btn-disabled-border-color: var(--plum-300);
    box-shadow: 0 6px 18px rgba(122, 59, 83, .22);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(122, 59, 83, .3); }

.btn-outline-primary {
    --bs-btn-color: var(--plum-600);
    --bs-btn-border-color: var(--plum-300);
    --bs-btn-hover-bg: var(--plum-600);
    --bs-btn-hover-border-color: var(--plum-600);
    --bs-btn-active-bg: var(--plum-800);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: #fff; border: none;
    box-shadow: 0 6px 18px rgba(180, 138, 63, .28);
}
.btn-gold:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.05); }

.btn-lg { padding: .8rem 1.8rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* round icon buttons in header & cards */
.btn-icon {
    width: 44px; height: 44px;
    display: inline-grid; place-items: center;
    border: none; background: transparent;
    color: var(--plum-800); font-size: 1.25rem;
    border-radius: var(--r-pill);
    position: relative;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.btn-icon:hover { background: var(--blush-200); color: var(--plum-600); }
.btn-icon-lg { width: 52px; height: 52px; font-size: 1.4rem; }

/* ==========================================================================
   Top announcement bar
   ========================================================================== */
.topbar {
    background: var(--plum-800);
    color: #f3e4e9;
    font-size: .8rem;
    padding: .5rem 0;
    letter-spacing: .01em;
}
.topbar .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.topbar .container > span:first-child { justify-self: start; }
.topbar .container > span:last-child { justify-self: end; }
.topbar .topbar-center { justify-self: center; font-weight: 500; }
.topbar i { color: var(--gold-500); }
@media (max-width: 767.98px) {
    .topbar .container { grid-template-columns: 1fr; justify-items: center; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background: var(--paper);
    position: sticky; top: 0; z-index: 1030;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--line);
}
.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: .85rem 0;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    background: radial-gradient(circle at 30% 30%, var(--plum-500), var(--plum-800));
    color: #fff; font-size: 1.3rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 4px 12px rgba(61,43,58,.25);
}
.brand-name {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--plum-800);
    letter-spacing: -.02em;
}
.brand-light .brand-name { color: #fff; }
.brand-light .brand-mark { background: radial-gradient(circle at 30% 30%, var(--plum-300), var(--plum-600)); }

/* search */
.header-search {
    display: flex; align-items: center;
    background: var(--blush-100);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    padding: .35rem .35rem .35rem 1rem;
    max-width: 560px; width: 100%;
    margin-inline: auto;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.header-search:focus-within { border-color: var(--plum-300); box-shadow: 0 0 0 3px rgba(201,138,160,.18); }
.header-search > i { color: var(--plum-500); font-size: 1.05rem; }
.header-search input {
    border: none; background: transparent; outline: none;
    flex: 1; padding: .4rem .6rem; font-family: var(--sans); font-size: .95rem; color: var(--ink);
}
.header-search button {
    border: none; background: var(--plum-600); color: #fff;
    border-radius: var(--r-pill); padding: .5rem 1.3rem; font-weight: 600; font-size: .9rem;
    transition: background .2s var(--ease);
}
.header-search button:hover { background: var(--plum-800); }

.header-actions { display: flex; align-items: center; gap: .35rem; }

.header-loc {
    display: inline-flex; align-items: center; gap: .5rem;
    background: transparent; border: none; color: var(--plum-800);
    padding: .4rem .6rem; border-radius: var(--r-md); cursor: pointer;
    transition: background .2s var(--ease);
}
.header-loc:hover { background: var(--blush-200); }
.header-loc i { font-size: 1.25rem; color: var(--plum-600); }
.header-loc span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.header-loc small { font-size: .65rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.header-loc strong { font-size: .9rem; font-weight: 600; }

.cart-btn { position: relative; }
.cart-count {
    position: absolute; top: 2px; right: 2px;
    min-width: 19px; height: 19px; padding: 0 5px;
    background: var(--rose); color: #fff;
    font-size: .68rem; font-weight: 700; font-family: var(--sans);
    border-radius: var(--r-pill);
    display: grid; place-items: center;
    box-shadow: 0 0 0 2px var(--paper);
}
.cart-count[hidden] { display: none; }

/* currency switcher */
.currency-switch .currency-btn { width: auto; gap: .25rem; padding: 0 .55rem; font-size: .82rem; font-weight: 700; color: var(--plum-800); }
.currency-switch .currency-btn .bi { font-size: .8rem; }
.currency-switch .cur-code { letter-spacing: .03em; }
.currency-menu { border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: .35rem; min-width: 230px; }
.currency-menu .dropdown-item { border-radius: var(--r-sm); font-size: .88rem; padding: .55rem .8rem; display: flex; align-items: center; gap: .55rem; }
.currency-menu .dropdown-item:hover { background: var(--blush-100); color: var(--plum-800); }
.currency-menu .dropdown-item span { width: 22px; text-align: center; font-weight: 700; color: var(--plum-600); }

/* header cart "bump" when an item is added */
@keyframes cartBump {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.28) rotate(-8deg); }
    55%  { transform: scale(.92) rotate(5deg); }
    100% { transform: scale(1) rotate(0); }
}
.cart-btn.cart-bump { animation: cartBump .55s var(--ease); }
.cart-btn.cart-bump .cart-count { animation: cartBump .55s var(--ease) .05s; }

.account-menu { border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: .35rem; }
.account-menu .dropdown-item { border-radius: var(--r-sm); font-size: .92rem; padding: .5rem .8rem; }
.account-menu .dropdown-item:hover { background: var(--blush-100); color: var(--plum-800); }

/* primary nav */
.primary-nav { border-top: 1px solid var(--line); background: var(--paper); }
.primary-nav .container { overflow: visible; }
.primary-nav ul {
    list-style: none; display: flex; gap: 0; margin: 0; padding: 0;
    align-items: center; justify-content: center; flex-wrap: nowrap;
}
.primary-nav li { flex: 0 0 auto; }
.primary-nav a {
    display: inline-block; padding: .8rem .55rem;
    color: var(--plum-800); font-weight: 600; font-size: .93rem;
    white-space: nowrap;
    position: relative;
}
.primary-nav a::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .55rem; height: 2px;
    background: var(--gold-500); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
}
.primary-nav a:hover { color: var(--plum-600); }
.primary-nav a:hover::after { transform: scaleX(1); }

@media (min-width: 992px) and (max-width: 1140px) {
    .primary-nav a { padding: .8rem .4rem; font-size: .8rem; }
}

.nav-occasions { position: relative; }
.nav-flyout {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(calc(-50% + var(--flyout-shift, 0px))) translateY(8px);
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); padding: .6rem;
    display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: .1rem;
    min-width: 340px; opacity: 0; visibility: hidden; transition: all .22s var(--ease); z-index: 1040;
}
.nav-occasions:hover .nav-flyout,
.nav-occasions:focus-within .nav-flyout { opacity: 1; visibility: visible; transform: translateX(calc(-50% + var(--flyout-shift, 0px))) translateY(0); }
.nav-flyout a { padding: .55rem .8rem; border-radius: var(--r-sm); font-size: .88rem; white-space: nowrap; }
.nav-flyout a::after { display: none; }
.nav-flyout a:hover { background: var(--blush-100); }

/* Viewport clamping: JS (app.js, keepFlyoutInViewport) sets --flyout-shift on
   each flyout so the centered menu is nudged just enough to stay on-screen. */

/* per-category subcategory flyout, shown on hover of the parent category link */
.nav-cat-has-sub { position: relative; }
.nav-flyout-sub {
    grid-template-columns: 1fr; min-width: 200px;
}
.nav-cat-has-sub:hover .nav-flyout-sub,
.nav-cat-has-sub:focus-within .nav-flyout-sub,
.nav-cat-has-sub.js-open .nav-flyout-sub { opacity: 1; visibility: visible; transform: translateX(calc(-50% + var(--flyout-shift, 0px))) translateY(0); }

/* 3-level mega menu — each subcategory ("By Price", "By Flavour" ...) becomes
   a column, with its items ("Under 600", "Chocolate Cakes" ...) listed below. */
.nav-flyout-mega {
    display: flex; flex-wrap: nowrap; align-items: flex-start;
    gap: .3rem 2.2rem;
    /* Explicit width (not just min/max-width) avoids a shrink-to-fit sizing
       quirk on absolutely-positioned flex containers, where the browser can
       collapse the columns into one stacked column instead of laying them
       out side by side. flex-wrap is deliberately "nowrap": with "wrap", a
       column that doesn't fit the remaining width of a row gets pushed onto
       a *new* row below the first (short) column instead of filling the
       empty space beside the other columns, which is what produced blank
       gaps and mis-aligned columns when a new subcategory was added. Columns
       now always sit in a single row; if they ever exceed max-width the row
       scrolls horizontally instead of wrapping oddly.  */
    width: max-content; min-width: 320px; max-width: min(1200px, 96vw);
    overflow-x: auto;
    padding: 1.1rem 1.3rem;
}
/* If a category ever has so many subcategory columns that even 96vw of a
   normal desktop screen can't fit them, the row above becomes horizontally
   scrollable rather than clipping content — but style the scrollbar so
   that's visibly a "scroll for more" affordance, not a rendering glitch. */
.nav-flyout-mega::-webkit-scrollbar { height: 6px; }
.nav-flyout-mega::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.mega-col {
    flex: 0 0 auto; min-width: 140px; padding-right: 1.7rem; border-right: 1px solid var(--line);
}
.mega-col:last-child { border-right: none; padding-right: 0; }
.mega-col-title {
    display: block; padding: .1rem .3rem .5rem !important; margin-bottom: .35rem;
    font-size: .72rem !important; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--plum-800); /* darker brand tone — was the
      undefined --plum-700, which silently fell back to the same pink as the
      item links below, making the two levels indistinguishable */
    border-bottom: 1px solid var(--line); white-space: nowrap;
}
.mega-col-title:hover { background: transparent !important; color: var(--plum-600); }
.mega-col-list { display: flex; flex-direction: column; }
.mega-col-list a {
    padding: .32rem .3rem .32rem 1rem; font-size: .85rem; white-space: nowrap;
    font-weight: 400; color: var(--ink-soft); position: relative;
}
.mega-col-list a::before {
    content: "\2013"; /* en dash */ position: absolute; left: .3rem; color: var(--plum-300);
}
.mega-col-list a:hover { color: var(--plum-600); background: var(--blush-100); }

/* Hero slider — slides stack in one grid cell (so height = tallest slide) and cross-fade. */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; }
.hero-copy .hero-h {
    color: #fff; font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 500;
    line-height: 1.05; margin-bottom: 1rem;
}
.hero-slider .hero-slide { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.hero-slider .hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slider .hero-slide-bg { opacity: 0; transition: opacity .9s var(--ease); }
.hero-slider .hero-slide-bg.is-active { opacity: .82; }
.hero-slide-bg:not(.is-active) { z-index: 0; }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1rem; display: flex; justify-content: center; gap: .5rem; }
.hero-dot {
    width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.45); cursor: pointer; transition: all .25s var(--ease);
}
.hero-dot.is-active { background: var(--gold-200, #f3d9a4); width: 26px; border-radius: 6px; }
@media (max-width: 575.98px) {
    .hero-copy .hero-h { font-size: 1.9rem; line-height: 1.15; margin-bottom: .6rem; }
    .hero-copy .hero-slide > p { font-size: .95rem; margin-bottom: 1.1rem; }
}

/* ==========================================================================
   Flash alerts
   ========================================================================== */
.alert-soft-success, .alert-soft-danger {
    border: none; border-radius: var(--r-md); font-weight: 500;
    border-left: 4px solid;
}
.alert-soft-success { background: #eaf3ee; color: #2f6043; border-left-color: var(--success); }
.alert-soft-danger { background: #fbecee; color: #8f2f3d; border-left-color: var(--danger); }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section { padding: clamp(2.6rem, 5vw, 4.5rem) 0; }
.section-tint { background: var(--blush-100); }
.section-soft { background: var(--blush-200); }
.section-plum { background: linear-gradient(160deg, var(--plum-800), var(--plum-900)); color: #f3e7eb; }
.section-plum h2, .section-plum h3 { color: #fff; }
.section-plum .eyebrow { color: var(--gold-200); }

.section-head { margin-bottom: 2rem; }
.section-head.center { text-align: center; max-width: 640px; margin-inline: auto; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--ink-soft); margin: 0; }
.section-plum .section-head p { color: #d9c6cd; }

.link-more {
    display: inline-flex; align-items: center; gap: .35rem;
    font-weight: 600; font-size: .9rem; color: var(--plum-600);
}
.link-more i { transition: transform .2s var(--ease); }
.link-more:hover i { transform: translateX(3px); }

.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--plum-900); }
.hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    background-size: cover;          /* was missing → image tiled at natural size */
    background-position: center;
    background-repeat: no-repeat;
    opacity: .82;
}
.hero-veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(105deg, rgba(42,29,40,.88) 0%, rgba(42,29,40,.55) 45%, rgba(42,29,40,.15) 100%),
        radial-gradient(120% 90% at 80% 10%, rgba(122,59,83,.35), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(3.5rem, 9vw, 7rem) 0; }
.hero-copy { max-width: 620px; color: #fff; }
.hero-copy .eyebrow { color: var(--gold-200); }
.hero-copy h1 {
    color: #fff; font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 500;
    line-height: 1.05; margin-bottom: 1rem;
}
.hero-copy h1 em { font-style: italic; color: var(--gold-200); }
.hero-copy .hero-slide > p { font-size: 1.12rem; color: #ecdde2; max-width: 30em; margin-bottom: 1.8rem; }

.hero-search {
    display: flex; align-items: center; background: rgba(255,255,255,.96);
    border-radius: var(--r-pill); padding: .4rem .4rem .4rem 1.2rem;
    max-width: 480px; box-shadow: var(--shadow-md);
}
.hero-search i { color: var(--plum-500); }
.hero-search input { flex: 1; border: none; outline: none; background: transparent; padding: .6rem .7rem; font-family: var(--sans); }
.hero-search button { border: none; background: var(--plum-600); color: #fff; border-radius: var(--r-pill); padding: .65rem 1.5rem; font-weight: 600; }
.hero-search button:hover { background: var(--plum-800); }

.hero-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.hero-chips a {
    background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25);
    padding: .4rem 1rem; border-radius: var(--r-pill); font-size: .85rem; font-weight: 500;
    backdrop-filter: blur(4px); transition: background .2s var(--ease);
}
.hero-chips a:hover { background: rgba(255,255,255,.26); color: #fff; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem; }
.hero-trust div { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: #e7d6dc; }
.hero-trust i { color: var(--gold-200); font-size: 1.1rem; }

/* ==========================================================================
   Category rail
   ========================================================================== */
.category-rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr);
    gap: 1rem; overflow-x: auto; padding-bottom: .5rem;
    scroll-snap-type: x proximity;
}
.cat-tile {
    scroll-snap-align: start;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 1.4rem 1rem; text-align: center; transition: all .25s var(--ease);
    display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blush-300); }
.cat-ico {
    width: 60px; height: 60px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.6rem; color: var(--plum-600);
    background: var(--blush-200);
}
.cat-tile:hover .cat-ico { background: var(--plum-600); color: #fff; }
.cat-name { font-family: var(--serif); font-size: 1rem; color: var(--plum-800); font-weight: 500; }

/* ==========================================================================
   Occasion grid
   ========================================================================== */
.occasion-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.occ-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
    min-height: 220px;
    padding: 1.5rem 1rem; border-radius: 20px;
    /* Admin-set colour (--occ-bg) fades into the card, falling back to a neutral card if unset */
    background: var(--occ-bg, var(--paper));
    background: radial-gradient(120% 100% at 15% 0%, color-mix(in srgb, var(--occ-bg, var(--paper)) 75%, white) 0%, color-mix(in srgb, var(--occ-bg, var(--paper)) 30%, var(--paper)) 60%, var(--paper) 100%);
    border: 1px solid color-mix(in srgb, var(--occ-bg, var(--line)) 40%, var(--line));
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    position: relative; overflow: hidden;
}
.occ-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 16px 32px -8px rgba(0,0,0,.16);
    border-color: color-mix(in srgb, var(--occ-bg, var(--plum-300)) 70%, var(--plum-300));
}
/* Faint oversized icon in the background of plain-colour cards, so they read as
   designed rather than empty while an admin hasn't uploaded a real photo yet. */
.occ-watermark {
    position: absolute; z-index: 0; right: -.6rem; bottom: -1.4rem;
    font-size: 7.5rem; line-height: 1;
    color: color-mix(in srgb, var(--occ-bg, var(--plum-300)) 65%, var(--plum-400));
    opacity: .28; transform: rotate(-10deg);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    pointer-events: none;
}
.occ-card:hover .occ-watermark { transform: rotate(-4deg) scale(1.08); opacity: .38; }
.occ-ico {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, color-mix(in srgb, var(--occ-bg, var(--blush-200)) 70%, white), var(--blush-300));
    display: grid; place-items: center; color: var(--plum-600); font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.08), inset 0 0 0 3px rgba(255,255,255,.6);
    position: relative; z-index: 1;
    transition: transform .3s var(--ease);
}
.occ-card:hover .occ-ico { transform: scale(1.08); }
.occ-card-img .occ-thumb { background: var(--occ-bg, transparent); position: relative; z-index: 1; }
.occ-name { font-size: .95rem; font-weight: 700; color: var(--plum-800); position: relative; z-index: 1; letter-spacing: .01em; }

/* Admin-uploaded background PHOTO covers the whole tile rectangle. Content is
   pinned so the circular photo sits centred and the name floats near the
   bottom as a soft pill, like a premium gift-card tile. */
.occ-card-bgphoto {
    background-size: cover; background-position: center; background-repeat: no-repeat;
    justify-content: flex-end; padding-bottom: 1.1rem;
}
.occ-card-bgphoto::before {
    content: ''; position: absolute; inset: 0;
    /* Lighter wash — mostly transparent up top so the photo's own colour and
       light show through, gently brightening only near the bottom label. */
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,.18) 100%);
    z-index: 0;
}
.occ-card-bgphoto > * { position: relative; z-index: 1; }
.occ-card-bgphoto .occ-thumb {
    box-shadow: 0 10px 24px -6px rgba(0,0,0,.35), 0 0 0 4px rgba(255,255,255,.9);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.occ-card-bgphoto:hover .occ-thumb {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -6px rgba(0,0,0,.4), 0 0 0 4px rgba(255,255,255,.95);
}
.occ-card-bgphoto .occ-name {
    background: rgba(255,255,255,.92); padding: .35rem .9rem; border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0,0,0,.18); backdrop-filter: blur(2px);
    margin-top: .3rem;
}

/* ==========================================================================
   Product grid + card
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.4rem;
}
.product-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
    position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blush-300); }

.pc-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--blush-200); display: block; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.06); }

.pc-badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-direction: column; gap: .35rem; z-index: 2; }
.pc-badge {
    font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: .25rem .6rem; border-radius: var(--r-pill); color: #fff; backdrop-filter: blur(2px);
}
.pc-badge.sale { background: var(--rose); }
.pc-badge.best { background: var(--gold-600); }
.pc-badge.new { background: var(--green-leaf); }
.pc-badge.same-day { background: rgba(61,43,58,.82); }

.pc-wish {
    position: absolute; top: .6rem; right: .6rem; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.92); color: var(--plum-600);
    display: grid; place-items: center; font-size: 1.05rem; cursor: pointer;
    box-shadow: var(--shadow-sm); transition: all .2s var(--ease);
}
.pc-wish:hover { background: var(--plum-600); color: #fff; transform: scale(1.08); }
.pc-wish.is-active { background: var(--rose); color: #fff; }

.pc-body { padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.pc-delivery { font-size: .72rem; color: var(--green-leaf); font-weight: 600; margin-bottom: .35rem; display: flex; align-items: center; gap: .3rem; }
.pc-name { font-family: var(--serif); font-size: 1.04rem; font-weight: 500; line-height: 1.3; margin-bottom: .4rem; }
.pc-name a { color: var(--plum-800); }
.pc-name a:hover { color: var(--plum-600); }
.pc-rating { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--ink-soft); margin-bottom: .6rem; }
.pc-rating .stars { color: var(--gold-500); letter-spacing: -1px; }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pc-price { display: flex; align-items: baseline; gap: .45rem; }
.pc-price .now { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--plum-800); }
.pc-price del { font-size: .85rem; color: var(--ink-soft); }
.pc-add {
    width: 42px; height: 42px; flex: none; border-radius: var(--r-pill); border: none;
    background: var(--blush-200); color: var(--plum-700, var(--plum-600)); font-size: 1.15rem;
    display: grid; place-items: center; cursor: pointer; transition: all .2s var(--ease);
}
.pc-add:hover { background: var(--plum-600); color: #fff; }
.pc-add:disabled { opacity: .5; cursor: not-allowed; }

/* ==========================================================================
   Featured collections collage
   ========================================================================== */
.collections {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
}
.coll {
    position: relative; overflow: hidden; border-radius: var(--r-md);
    display: flex; align-items: flex-end; color: #fff;
    background: var(--plum-800);
}
.coll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .5s var(--ease); }
.coll::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,29,40,.8), transparent 65%); }
.coll:hover img { transform: scale(1.07); }
.coll-copy { position: relative; z-index: 2; padding: 1.3rem; }
.coll-copy h3 { color: #fff; margin-bottom: .2rem; font-size: 1.3rem; }
.coll-copy p { margin: 0; font-size: .82rem; color: #ecdde2; }
.coll-cta { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; font-weight: 600; font-size: .82rem; color: var(--gold-200); }
.coll-lg { grid-row: span 2; grid-column: span 2; }
.coll-wide { grid-column: span 2; }

/* ==========================================================================
   Why-choose-us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.why-card { text-align: center; padding: 1.6rem 1.2rem; }
.why-ico {
    width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 1rem;
    display: grid; place-items: center; font-size: 1.7rem; color: var(--plum-600);
    background: var(--blush-200); border: 1px solid var(--blush-300);
}
.why-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.why-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.review-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--r-md); padding: 1.6rem; backdrop-filter: blur(3px);
}
.section-plum .review-card { color: #f3e7eb; }
.rc-stars { color: var(--gold-200); margin-bottom: .8rem; font-size: 1rem; letter-spacing: 1px; }
.review-card p { font-family: var(--serif); font-style: italic; font-size: 1.02rem; line-height: 1.55; margin-bottom: 1rem; }
.rc-who { font-weight: 600; font-size: .88rem; }
.rc-who span { display: block; font-weight: 400; font-size: .78rem; color: #c9b3bb; }

/* ==========================================================================
   Cities band
   ========================================================================== */
.cities-band { text-align: center; }
.cities-list { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.2rem; }
.cities-list span {
    padding: .5rem 1.1rem; border-radius: var(--r-pill);
    background: var(--paper); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; color: var(--plum-800);
}
.cities-list span i { color: var(--plum-500); margin-right: .3rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--plum-900); color: #d9c6cd; padding-top: 3.5rem; }
.footer-top {
    display: grid; gap: 2rem;
    grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr;
    padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: .9rem; max-width: 26em; margin: 1rem 0; color: #c3acb5; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #f0e2e7; font-size: 1.05rem;
    transition: all .2s var(--ease);
}
.footer-social a:hover { background: var(--plum-600); color: #fff; transform: translateY(-2px); }
.footer-col h6 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--gold-200); margin-bottom: 1rem; }
.footer-col a { display: block; color: #cbb5be; font-size: .88rem; padding: .28rem 0; }
.footer-col a:hover { color: #fff; }
.footer-news p { font-size: .85rem; color: #c3acb5; margin-bottom: .9rem; }
.news-form { display: flex; background: rgba(255,255,255,.1); border-radius: var(--r-pill); padding: .25rem; }
.news-form input { flex: 1; border: none; background: transparent; color: #fff; padding: .5rem .9rem; outline: none; font-family: var(--sans); }
.news-form input::placeholder { color: #b49aa3; }
.news-form button { border: none; background: var(--plum-600); color: #fff; width: 42px; border-radius: var(--r-pill); }
.news-form button:hover { background: var(--gold-600); }
.news-msg { display: block; margin-top: .5rem; font-size: .8rem; }
.news-msg.ok { color: #9fe0b8; }
.news-msg.err { color: #f3a6b0; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem;
    padding: 1.5rem 0; font-size: .82rem; color: #b49aa3;
}
.footer-pay { display: flex; align-items: center; gap: .5rem; }
.footer-pay i { font-size: 1.2rem; }

/* ==========================================================================
   Mini-cart drawer
   ========================================================================== */
.cart-drawer { width: 400px; max-width: 92vw; background: var(--paper); }
.cart-drawer .offcanvas-header { border-bottom: 1px solid var(--line); }
.cart-drawer h5 { margin: 0; font-size: 1.2rem; }
.mini-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.mini-empty i { font-size: 2.6rem; color: var(--blush-300); display: block; margin-bottom: .8rem; }
.mini-items { display: flex; flex-direction: column; gap: .9rem; }
.mini-row { display: grid; grid-template-columns: 60px 1fr auto; gap: .8rem; align-items: center; }
.mini-row img { width: 60px; height: 60px; border-radius: var(--r-sm); object-fit: cover; }
.mini-name { font-size: .9rem; font-weight: 600; color: var(--plum-800); line-height: 1.3; }
.mini-qty { font-size: .78rem; color: var(--ink-soft); }
.mini-remove { background: none; border: none; color: var(--ink-soft); font-size: 1rem; cursor: pointer; }
.mini-remove:hover { color: var(--danger); }
.mini-foot { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.mini-subtotal { display: flex; justify-content: space-between; font-weight: 700; color: var(--plum-800); margin-bottom: 1rem; font-family: var(--serif); font-size: 1.1rem; }

/* ==========================================================================
   Location modal
   ========================================================================== */
.loc-modal { border-radius: var(--r-lg); border: none; }
.loc-pincode { display: flex; gap: .5rem; }
.loc-pincode .form-control { border-radius: var(--r-pill); border: 1px solid var(--line-strong); padding: .6rem 1.2rem; }
.loc-pincode .form-control:focus { border-color: var(--plum-300); box-shadow: 0 0 0 3px rgba(201,138,160,.18); }
.loc-result { margin-top: .8rem; font-size: .88rem; min-height: 1.2rem; }
.loc-result.ok { color: var(--success); }
.loc-result.err { color: var(--danger); }
.loc-or { text-align: center; color: var(--ink-soft); font-size: .82rem; margin: 1.2rem 0 .8rem; position: relative; }
.loc-cities { display: flex; flex-wrap: wrap; gap: .5rem; }
.loc-chip {
    border: 1px solid var(--line-strong); background: var(--blush-100);
    border-radius: var(--r-pill); padding: .45rem 1rem; font-size: .85rem; cursor: pointer;
    color: var(--plum-800); transition: all .2s var(--ease);
}
.loc-chip:hover, .loc-chip.active { background: var(--plum-600); color: #fff; border-color: var(--plum-600); }

/* ==========================================================================
   Mobile nav
   ========================================================================== */
.mobile-nav { width: 300px; background: var(--paper); }
.mnav-link { display: block; padding: .8rem .4rem; border-bottom: 1px solid var(--line); color: var(--plum-800); font-weight: 600; }
.mnav-link.sub { font-weight: 500; padding-left: 1rem; font-size: .9rem; }
.mnav-link.sub2 { font-weight: 400; padding-left: 1.9rem; font-size: .83rem; color: var(--plum-600); }
.mnav-head { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--gold-600); margin-top: 1.2rem; padding: .4rem; font-weight: 700; }

/* ==========================================================================
   Toasts
   ========================================================================== */
.toast-wrap { position: fixed; bottom: 1.3rem; right: 1.3rem; z-index: 1090; display: flex; flex-direction: column; gap: .6rem; }
.bx-toast {
    background: var(--plum-800); color: #fff; padding: .85rem 1.2rem; border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); font-size: .9rem; display: flex; align-items: center; gap: .6rem;
    animation: toastIn .3s var(--ease); max-width: 340px;
}
.bx-toast i { font-size: 1.2rem; color: var(--gold-200); }
.bx-toast.err i { color: #f3a6b0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.crumbs { font-size: .82rem; color: var(--ink-soft); padding: 1.2rem 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs a { color: var(--plum-600); }
.crumbs span.sep { color: var(--line-strong); }

/* ==========================================================================
   Shop / listing
   ========================================================================== */
.listing-head { padding: 1rem 0 1.5rem; }
.listing-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .3rem; }
.listing-head p { color: var(--ink-soft); margin: 0; }
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.listing-main { min-width: 0; }

.filters { position: sticky; top: 120px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem; }
.filter-block { padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.filter-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-block h6 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--plum-800); margin-bottom: .9rem; font-weight: 700; }
.filter-link { display: flex; align-items: center; justify-content: space-between; padding: .35rem 0; color: var(--ink); font-size: .9rem; }
.filter-link:hover { color: var(--plum-600); }
.filter-link.active { color: var(--plum-600); font-weight: 700; }
.filter-link .count { font-size: .76rem; color: var(--ink-soft); }
.price-filter .price-inputs { display: flex; align-items: center; gap: .5rem; }
.price-inputs input { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .5rem .6rem; font-family: var(--sans); }
.price-inputs span { color: var(--ink-soft); }

.listing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.listing-toolbar .count-label { font-size: .88rem; color: var(--ink-soft); }
.sort-wrap { display: flex; align-items: center; gap: .5rem; }
.sort-wrap select { border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: .5rem 1rem; font-family: var(--sans); font-size: .88rem; background: var(--paper); }
#filterToggle { display: none; }

/* pagination */
.pagination-wrap { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-top: 2.5rem; }
.page-num, .page-arrow {
    min-width: 42px; height: 42px; border-radius: var(--r-pill); display: grid; place-items: center;
    border: 1px solid var(--line-strong); color: var(--plum-800); font-weight: 600; font-size: .9rem;
    background: var(--paper); transition: all .2s var(--ease);
}
.page-num:hover, .page-arrow:hover { border-color: var(--plum-600); color: var(--plum-600); }
.page-num.active { background: var(--plum-600); color: #fff; border-color: var(--plum-600); }
.page-arrow.disabled { opacity: .4; pointer-events: none; }

/* empty state */
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state i { font-size: 3.2rem; color: var(--blush-300); display: block; margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: .4rem; }
.empty-state p { color: var(--ink-soft); margin-bottom: 1.4rem; }

/* ==========================================================================
   Product detail (PDP)
   ========================================================================== */
.pdp { padding: 1rem 0 3rem; }
.pdp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: start; }
.pdp-gallery { position: sticky; top: 120px; }
.pdp-main {
    aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden;
    background: var(--blush-200); border: 1px solid var(--line); margin-bottom: .9rem; cursor: zoom-in;
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.pdp-thumbs { display: flex; gap: .7rem; flex-wrap: wrap; }
.pdp-thumb {
    width: 74px; height: 74px; border-radius: var(--r-sm); overflow: hidden; cursor: pointer;
    border: 2px solid transparent; background: var(--blush-200); padding: 0;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.active { border-color: var(--plum-600); }

.pdp-info { min-width: 0; }
.pdp-info h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: .5rem; }
.pdp-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.pdp-rating { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--ink-soft); }
.pdp-rating .stars { color: var(--gold-500); }
.in-stock { color: var(--success); font-weight: 600; font-size: .85rem; }
.in-stock i, .out-stock i { margin-right: .25rem; }
.out-stock { color: var(--danger); font-weight: 600; font-size: .85rem; }

.pdp-price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.2rem; }
.pdp-price .now { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--plum-800); }
.pdp-price del { font-size: 1.1rem; color: var(--ink-soft); }
.pdp-off { background: var(--rose); color: #fff; font-size: .76rem; font-weight: 700; padding: .25rem .65rem; border-radius: var(--r-pill); }
.pdp-short { color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.6rem; }

.pdp-field { margin-bottom: 1.4rem; }
.pdp-field > label, .pdp-field .field-label { display: block; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--plum-800); margin-bottom: .6rem; }
.pdp-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pdp-field .form-control, .pdp-field .form-select {
    border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .65rem .9rem; font-family: var(--sans);
}
.pdp-field .form-control:focus, .pdp-field .form-select:focus { border-color: var(--plum-300); box-shadow: 0 0 0 3px rgba(201,138,160,.18); }

.variant-options { display: flex; flex-wrap: wrap; gap: .6rem; }
.variant-opt {
    border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .55rem 1rem;
    cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--plum-800);
    transition: all .2s var(--ease); position: relative;
}
.variant-opt input { position: absolute; opacity: 0; }
.variant-opt:has(input:checked) { border-color: var(--plum-600); background: var(--blush-100); color: var(--plum-600); box-shadow: 0 0 0 1px var(--plum-600); }
.variant-opt .vp-delta { font-size: .76rem; color: var(--ink-soft); margin-left: .3rem; }

.addon-list { display: flex; flex-direction: column; gap: .55rem; }
.addon-opt {
    display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem;
    border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: all .2s var(--ease);
}
.addon-opt:hover { border-color: var(--blush-300); background: var(--blush-100); }
.addon-opt:has(input:checked) { border-color: var(--plum-300); background: var(--blush-100); }
.addon-name { flex: 1; font-size: .9rem; font-weight: 500; }
.addon-price { font-weight: 700; color: var(--plum-600); font-size: .9rem; }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-pill); overflow: hidden; }
.qty-stepper button { border: none; background: var(--blush-100); width: 44px; height: 44px; font-size: 1.2rem; color: var(--plum-800); cursor: pointer; }
.qty-stepper button:hover { background: var(--blush-200); }
.qty-stepper input { width: 50px; text-align: center; border: none; outline: none; font-weight: 700; font-family: var(--sans); background: transparent; }
.qty-stepper.sm button { width: 34px; height: 34px; font-size: 1rem; }
.qty-stepper.sm input { width: 38px; }

.pdp-buy { display: flex; gap: .8rem; align-items: center; margin: 1.6rem 0; flex-wrap: wrap; }
.pdp-buy .btn-primary { flex: 1; min-width: 200px; }
#livePrice { font-family: var(--serif); }

.pdp-assurance { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; padding: 1.3rem; background: var(--blush-100); border-radius: var(--r-md); margin-top: 1rem; list-style: none; margin-left: 0; }
.pdp-assurance li, .pdp-assurance div { display: flex; align-items: center; gap: .55rem; font-size: .82rem; color: var(--plum-800); list-style: none; }
.pdp-assurance i { color: var(--plum-600); font-size: 1.2rem; }

.pdp-note-defer { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-soft); background: var(--blush-100); border-radius: var(--r-md); padding: .7rem .9rem; margin: 1rem 0; }
.pdp-note-defer i { color: var(--plum-600); }

/* "Complete the gift" suggestion popup, shown after Add to cart */
.suggest-modal .modal-content { border-radius: var(--r-lg); }
.suggest-sub { color: var(--ink-soft); margin-bottom: 1.1rem; }
.suggest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.suggest-grid .product-card { margin: 0; }

/* PDP tabs */
.pdp-tabs { margin-top: 3rem; }
.pdp-tabs .nav-tabs { border-bottom: 1px solid var(--line); gap: .3rem; }
.pdp-tabs .nav-link {
    border: none; color: var(--ink-soft); font-weight: 600; font-family: var(--sans);
    padding: .8rem 1.2rem; border-bottom: 2px solid transparent;
}
.pdp-tabs .nav-link.active { color: var(--plum-800); border-bottom-color: var(--plum-600); background: transparent; }
.pdp-tabs .tab-content { padding: 1.8rem 0; color: var(--ink); line-height: 1.75; }
.pdp-tabs .tab-content h3 { font-size: 1.2rem; margin: 1.2rem 0 .5rem; }

/* Reviews block */
.reviews { max-width: 760px; }
.review-item { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.ri-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.ri-head strong { color: var(--plum-800); }
.ri-stars { color: var(--gold-500); font-size: .9rem; }
.ri-date { font-size: .78rem; color: var(--ink-soft); }
.review-form { margin-top: 2rem; padding: 1.6rem; background: var(--blush-100); border-radius: var(--r-md); }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; font-size: 1.5rem; color: var(--line-strong); cursor: pointer; }
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label { cursor: pointer; line-height: 1; color: inherit; }
.star-input i { transition: color .15s var(--ease); }
.star-input i.on { color: var(--gold-500); }
.review-login { text-align: center; padding: 1.6rem; background: var(--blush-100); border-radius: var(--r-md); color: var(--ink-soft); }

/* ==========================================================================
   Cart page
   ========================================================================== */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; padding: 1rem 0 3rem; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem; }
.cr-img { width: 110px; height: 110px; border-radius: var(--r-sm); object-fit: cover; }
.cr-main { min-width: 0; }
.cr-name { font-family: var(--serif); font-size: 1.1rem; color: var(--plum-800); margin-bottom: .3rem; }
.cr-name a { color: var(--plum-800); }
.cr-addons, .cr-deliv, .cr-msg { font-size: .8rem; color: var(--ink-soft); margin-bottom: .2rem; }
.cr-deliv i { color: var(--plum-500); margin-right: .25rem; }
.cr-remove { background: none; border: none; color: var(--ink-soft); font-size: .82rem; padding: 0; margin-top: .5rem; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.cr-remove:hover { color: var(--danger); }
.cr-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: .8rem; }
.cr-price { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--plum-800); }

.cart-summary { position: sticky; top: 120px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; }
.cart-summary h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.coupon-box { display: flex; gap: .5rem; margin-bottom: 1rem; }
.coupon-box input { flex: 1; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .6rem .8rem; text-transform: uppercase; font-family: var(--sans); }
.coupon-msg { font-size: .8rem; margin: -.4rem 0 1rem; min-height: 1rem; }
.coupon-msg.ok { color: var(--success); }
.coupon-msg.err { color: var(--danger); }
.summary-lines { border-top: 1px solid var(--line); padding-top: 1rem; }
.summary-lines .line { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .92rem; color: var(--ink); }
.summary-lines .line.discount span:last-child { color: var(--success); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: .6rem; padding-top: 1rem; }
.summary-total .label { font-weight: 700; color: var(--plum-800); }
.summary-total .amt { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--plum-800); }
.free-hint { font-size: .8rem; color: var(--green-leaf); background: #eef4ef; border-radius: var(--r-sm); padding: .6rem .8rem; margin: 1rem 0; display: flex; align-items: center; gap: .4rem; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2rem; align-items: start; padding: 1rem 0 3rem; }
.checkout-main { display: flex; flex-direction: column; gap: 1.4rem; }
.co-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; }
.co-step { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.3rem; }
.co-step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--plum-600); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; font-family: var(--sans); flex: none; }
.co-step h3 { margin: 0; font-size: 1.2rem; }
.co-loggedin { font-size: .9rem; color: var(--ink-soft); }
.co-loggedin strong { color: var(--plum-800); }
.co-guest-note { font-size: .82rem; color: var(--ink-soft); margin-top: .5rem; }

.saved-addresses { display: grid; gap: .7rem; margin-bottom: 1.2rem; }
.addr-pick { display: flex; gap: .7rem; padding: .9rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer; transition: all .2s var(--ease); }
.addr-pick:has(input:checked) { border-color: var(--plum-600); background: var(--blush-100); box-shadow: 0 0 0 1px var(--plum-600); }
.addr-pick .ap-body { font-size: .86rem; color: var(--ink); }
.addr-pick .ap-body strong { color: var(--plum-800); display: block; margin-bottom: .15rem; }

.pay-method { display: flex; align-items: center; gap: .8rem; padding: 1.1rem; border: 1px solid var(--plum-300); border-radius: var(--r-sm); background: var(--blush-100); }
.pay-method i { font-size: 1.6rem; color: var(--plum-600); }
.pay-method .pm-name { font-weight: 700; color: var(--plum-800); }
.pay-method .pm-sub { font-size: .8rem; color: var(--ink-soft); }
.pay-method .pm-logo { margin-left: auto; font-size: .78rem; color: var(--ink-soft); }

.checkout-summary { position: sticky; top: 120px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; }
.checkout-summary h3 { font-size: 1.25rem; margin-bottom: 1.1rem; }
.co-items { display: flex; flex-direction: column; gap: .8rem; max-height: 280px; overflow-y: auto; margin-bottom: 1rem; }
.co-item { display: grid; grid-template-columns: 48px 1fr auto; gap: .7rem; align-items: center; }
.co-item img { width: 48px; height: 48px; border-radius: var(--r-sm); object-fit: cover; }
.co-item .ci-name { font-size: .84rem; font-weight: 600; color: var(--plum-800); line-height: 1.3; }
.co-item .ci-qty { font-size: .76rem; color: var(--ink-soft); }
.co-item .ci-price { font-size: .86rem; font-weight: 600; }
.co-secure { display: flex; align-items: center; gap: .5rem; justify-content: center; font-size: .8rem; color: var(--ink-soft); margin-top: 1rem; }
.co-secure i { color: var(--success); }

.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--plum-800); margin-bottom: .4rem; }
.form-group .form-control, .form-group .form-select, .form-control, .form-select {
    border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .65rem .9rem; font-family: var(--sans);
}
.form-control:focus, .form-select:focus { border-color: var(--plum-300); box-shadow: 0 0 0 3px rgba(201,138,160,.18); }
.form-hint { font-size: .78rem; color: var(--ink-soft); margin-top: .3rem; }

/* ==========================================================================
   Payment redirect
   ========================================================================== */
.pay-redirect { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.pay-redirect-card { max-width: 420px; }
.pay-redirect-card .spinner-border { color: var(--plum-600); width: 3rem; height: 3rem; margin-bottom: 1.5rem; }
.pay-redirect-card h2 { margin-bottom: .5rem; }
.pay-redirect-card p { color: var(--ink-soft); }

/* ==========================================================================
   Order confirmed
   ========================================================================== */
.confirm-wrap { max-width: 640px; margin: 0 auto; padding: 3rem 1rem; text-align: center; }
.confirm-icon { width: 88px; height: 88px; border-radius: 50%; background: #eaf3ee; color: var(--success); display: grid; place-items: center; font-size: 2.6rem; margin: 0 auto 1.5rem; }
.confirm-wrap h1 { font-size: 2rem; margin-bottom: .4rem; }
.confirm-sub { color: var(--ink-soft); margin-bottom: 2rem; }
.confirm-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; text-align: left; }
.confirm-row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .9rem; border-bottom: 1px solid var(--line); }
.confirm-row:last-of-type { border-bottom: none; }
.confirm-row .k { color: var(--ink-soft); }
.confirm-row .v { font-weight: 600; color: var(--plum-800); }
.confirm-items { margin: 1rem 0; border-top: 1px solid var(--line); padding-top: 1rem; }
.confirm-item { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .88rem; }
.confirm-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: .8rem; padding-top: 1rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--plum-800); }
.confirm-actions { display: flex; gap: .8rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

/* ==========================================================================
   Auth pages
   ========================================================================== */
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 3rem 1rem; }
.auth-card { width: 100%; max-width: 440px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.4rem; box-shadow: var(--shadow-md); }
.auth-head { text-align: center; margin-bottom: 1.8rem; }
.auth-head .brand-mark { margin: 0 auto 1rem; }
.auth-head h1 { font-size: 1.7rem; margin-bottom: .3rem; }
.auth-head p { color: var(--ink-soft); font-size: .9rem; margin: 0; }
.auth-row { margin-bottom: 1.1rem; }
.auth-row label { display: block; font-size: .82rem; font-weight: 600; color: var(--plum-800); margin-bottom: .4rem; }
.auth-link { text-align: right; font-size: .82rem; margin-top: -.6rem; margin-bottom: 1rem; }
.auth-foot { text-align: center; margin-top: 1.4rem; font-size: .88rem; color: var(--ink-soft); }

/* ==========================================================================
   Account area
   ========================================================================== */
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; align-items: start; padding: 1.5rem 0 3rem; }
.account-nav { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem; position: sticky; top: 120px; }
.acc-greet { padding: .5rem .6rem 1rem; border-bottom: 1px solid var(--line); margin-bottom: .8rem; }
.acc-greet small { color: var(--ink-soft); font-size: .78rem; }
.acc-greet strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--plum-800); }
.account-nav a { display: flex; align-items: center; gap: .6rem; padding: .65rem .6rem; border-radius: var(--r-sm); color: var(--ink); font-size: .9rem; font-weight: 500; }
.account-nav a:hover { background: var(--blush-100); color: var(--plum-800); }
.account-nav a.active { background: var(--plum-600); color: #fff; }
.account-nav a i { font-size: 1.05rem; }
.acc-signout { color: var(--danger) !important; }
.account-main { min-width: 0; }
.acc-h3 { font-size: 1.5rem; margin-bottom: 1.3rem; }

.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.acc-stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; text-align: center; }
.as-num { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--plum-600); display: block; }
.as-label { font-size: .82rem; color: var(--ink-soft); }

.order-list { display: flex; flex-direction: column; gap: 1rem; }
.order-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.order-card .oc-no { font-weight: 700; color: var(--plum-800); }
.order-card .oc-meta { font-size: .82rem; color: var(--ink-soft); }

/* generic data tables (storefront) */
.table-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--blush-100); font-weight: 700; }
.data-table td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr.ta-r:hover, .data-table tbody tr:hover { background: var(--blush-100); }

/* order detail */
.order-detail-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.order-status-track { display: flex; justify-content: space-between; position: relative; margin: 2rem 0; }
.order-status-track::before { content: ""; position: absolute; top: 14px; left: 5%; right: 5%; height: 2px; background: var(--line-strong); }
.track-step { position: relative; z-index: 2; text-align: center; flex: 1; }
.ts-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); display: grid; place-items: center; margin: 0 auto .5rem; color: var(--ink-soft); font-size: .85rem; }
.track-step.done .ts-dot { background: var(--plum-600); border-color: var(--plum-600); color: #fff; }
.track-step.current .ts-dot { border-color: var(--plum-600); color: var(--plum-600); box-shadow: 0 0 0 4px rgba(122,59,83,.15); }
.ts-label { font-size: .76rem; color: var(--ink-soft); }
.track-step.done .ts-label { color: var(--plum-800); font-weight: 600; }

.order-detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
.od-items { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.od-info { display: flex; flex-direction: column; gap: 1rem; }
.od-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem; }
.od-card h4 { font-size: 1rem; margin-bottom: .8rem; }
.od-card p { font-size: .88rem; color: var(--ink); margin: 0; line-height: 1.6; }

/* addresses */
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.addr-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem; position: relative; }
.addr-card.addr-default { border-color: var(--plum-300); }
.addr-default-tag { position: absolute; top: 1rem; right: 1rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--plum-600); background: var(--blush-100); padding: .2rem .55rem; border-radius: var(--r-pill); }
.addr-card .ac-label { font-weight: 700; color: var(--plum-800); margin-bottom: .4rem; }
.addr-card p { font-size: .86rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.addr-add { border: 2px dashed var(--line-strong); background: transparent; border-radius: var(--r-md); display: grid; place-items: center; min-height: 150px; color: var(--plum-600); font-weight: 600; cursor: pointer; }
.addr-add:hover { border-color: var(--plum-300); background: var(--blush-100); }
.addr-form { background: var(--blush-100); border-radius: var(--r-md); padding: 1.4rem; margin-top: 1rem; }

.profile-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; max-width: 560px; }

/* ==========================================================================
   Invoice (print)
   ========================================================================== */
.invoice { max-width: 800px; margin: 2rem auto; background: #fff; padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--plum-800); }
.inv-head .brand-name { font-size: 1.8rem; }
.inv-meta { text-align: right; font-size: .85rem; color: var(--ink-soft); }
.inv-meta strong { color: var(--plum-800); }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.inv-parties h5 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--ink-soft); margin-bottom: .5rem; }
.inv-parties p { font-size: .88rem; line-height: 1.6; margin: 0; }
.inv-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.inv-table th { text-align: left; font-size: .74rem; text-transform: uppercase; color: var(--ink-soft); padding: .7rem; border-bottom: 2px solid var(--line); }
.inv-table td { padding: .7rem; border-bottom: 1px solid var(--line); font-size: .88rem; }
.inv-table .num { text-align: right; }
.inv-totals { margin-left: auto; width: 280px; }
.inv-totals .line { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .9rem; }
.inv-grand { display: flex; justify-content: space-between; border-top: 2px solid var(--plum-800); margin-top: .5rem; padding-top: .7rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--plum-800); }
.inv-foot { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); text-align: center; font-size: .82rem; color: var(--ink-soft); }
.inv-print { text-align: center; margin: 1.5rem 0; }
@media print {
    .inv-print, .topbar, .site-header, .site-footer { display: none !important; }
    .invoice { border: none; margin: 0; max-width: 100%; }
    body { background: #fff; }
}

/* ==========================================================================
   Status badges
   ========================================================================== */
.badge-status { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .3rem .7rem; border-radius: var(--r-pill); }
.badge-status.pending { background: #fdf3e3; color: #9a6a16; }
.badge-status.confirmed { background: #e7f0fb; color: #2b5d97; }
.badge-status.processing { background: #efeafb; color: #5a3f97; }
.badge-status.out_for_delivery { background: #e6f4f1; color: #1f7a6b; }
.badge-status.delivered { background: #eaf3ee; color: #2f6043; }
.badge-status.cancelled { background: #fbecee; color: #8f2f3d; }
.badge-status.refunded { background: #f0eef0; color: #5a4f5a; }
.badge-status.paid { background: #eaf3ee; color: #2f6043; }
.badge-status.unpaid { background: #fdf3e3; color: #9a6a16; }
.badge-status.failed { background: #fbecee; color: #8f2f3d; }

/* ==========================================================================
   CMS / static pages
   ========================================================================== */
.page-title { background: var(--blush-200); padding: 2.6rem 0; text-align: center; margin-bottom: 0; }
.page-title h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.cms-page { max-width: 820px; margin: 0 auto; padding: 3rem 1.25rem; }
.cms-body { line-height: 1.8; color: var(--ink); }
.cms-body h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.cms-body h3 { font-size: 1.2rem; margin: 1.5rem 0 .6rem; }
.cms-body p { margin-bottom: 1rem; }
.cms-body ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.cms-body li { margin-bottom: .4rem; }
.cms-body a { color: var(--plum-600); text-decoration: underline; }

/* ==========================================================================
   404 / error
   ========================================================================== */
.error-page { min-height: 65vh; display: grid; place-items: center; text-align: center; padding: 3rem 1rem; }
.err-flower { font-size: 4rem; color: var(--blush-300); margin-bottom: 1rem; }
.err-code { font-family: var(--serif); font-size: 5rem; font-weight: 600; color: var(--plum-800); line-height: 1; margin-bottom: .5rem; }
.error-page h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.error-page p { color: var(--ink-soft); margin-bottom: 1.6rem; }

/* shared check line (checkbox + label inline) */
.check-line { display: flex; align-items: center; gap: .5rem; font-size: .88rem; }
.check-line input { width: 18px; height: 18px; accent-color: var(--plum-600); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
    .header-grid { grid-template-columns: auto auto 1fr auto; gap: .5rem; }
    .header-search { display: none; }
    .listing-layout { grid-template-columns: 1fr; }
    .filters { position: fixed; inset: 0 0 0 auto; width: 300px; max-width: 88vw; z-index: 1080; border-radius: 0; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
    .filters.open { transform: translateX(0); }
    #filterToggle { display: inline-flex; }
    .pdp-layout { grid-template-columns: 1fr; }
    .pdp-gallery { position: static; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary, .checkout-summary { position: static; }
    .account-layout { grid-template-columns: 1fr; }
    .account-nav { position: static; }
    .order-detail-grid { grid-template-columns: 1fr; }
    .collections { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .coll-lg { grid-column: span 2; grid-row: span 1; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }

    /* --- hero: stack and shrink so nothing overlaps --- */
    .hero-inner { padding: 3rem 0 2.5rem; }
    .hero-copy { max-width: 100%; }
    .hero-copy > p { font-size: 1rem; max-width: 100%; margin-bottom: 1.3rem; }
    .hero-search { max-width: 100%; }
}

@media (max-width: 575.98px) {
    body { font-size: 15px; }
    .brand-name { font-size: 1.4rem; }
    .topbar { font-size: .72rem; }
    .topbar .d-none { display: none; }
    .occasion-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
    .pc-body { padding: .8rem; }
    .pc-name { font-size: .92rem; }
    .pc-price .now { font-size: 1.05rem; }
    .collections { grid-template-columns: 1fr; }
    .coll-lg, .coll-wide { grid-column: span 1; }
    .why-grid { grid-template-columns: 1fr; }
    .acc-stats { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .pdp-2col, .form-row.two, .form-row.three { grid-template-columns: 1fr; }
    .pdp-assurance { grid-template-columns: 1fr; }
    .confirm-actions { flex-direction: column; }
    .confirm-actions .btn { width: 100%; }
    .order-status-track { overflow-x: auto; gap: 1rem; }
    .auth-card { padding: 1.6rem; }

    /* ---------- HERO (mobile) ---------- */
    .hero-inner { padding: 2.2rem 0 2rem; }
    .hero-copy h1 { font-size: 1.9rem; line-height: 1.15; margin-bottom: .6rem; }
    .hero-copy .eyebrow { font-size: .68rem; letter-spacing: .08em; }
    .hero-copy > p { font-size: .95rem; margin-bottom: 1.1rem; }
    .hero-cta { width: 100%; justify-content: center; display: inline-flex; margin-bottom: 1rem; }

    /* the search row was squeezing the input under the button — stack it */
    .hero-search {
        flex-direction: column; align-items: stretch; gap: .5rem;
        border-radius: var(--r-md); padding: .6rem;
        background: rgba(255,255,255,.97);
    }
    .hero-search i { display: none; }
    .hero-search input {
        width: 100%; padding: .7rem .9rem; border: 1px solid var(--line-strong);
        border-radius: var(--r-pill); background: #fff;
    }
    .hero-search button { width: 100%; padding: .7rem 1rem; }

    .hero-chips { gap: .4rem; margin-top: 1rem; }
    .hero-chips a { padding: .35rem .8rem; font-size: .78rem; }

    /* trust row: 2-up instead of a cramped single line */
    .hero-trust { gap: .6rem 1rem; margin-top: 1.2rem; }
    .hero-trust div { font-size: .76rem; }

    /* keep the background image from overpowering the copy on small screens */
    .hero-bg { opacity: .5; }
    .hero-veil { background: linear-gradient(180deg, rgba(42,29,40,.86) 0%, rgba(42,29,40,.78) 60%, rgba(42,29,40,.9) 100%); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.blog-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--blush-200); display: block; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-tag { position: absolute; top: .8rem; left: .8rem; background: rgba(61,43,58,.85); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .3rem .7rem; border-radius: var(--r-pill); }
.blog-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: var(--ink-soft); margin-bottom: .6rem; }
.blog-meta.center { justify-content: center; }
.blog-meta i { color: var(--plum-500); margin-right: .25rem; }
.blog-title { font-size: 1.2rem; line-height: 1.3; margin-bottom: .5rem; }
.blog-title a { color: var(--plum-800); }
.blog-title a:hover { color: var(--plum-600); }
.blog-excerpt { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 1rem; }
.blog-body .link-more { margin-top: auto; }

.blog-article { padding: 1rem 0 3rem; }
.blog-article-head { text-align: center; max-width: 760px; margin: 0 auto 2rem; }
.blog-article-head h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: .4rem 0 1rem; }
.blog-hero-img { max-width: 940px; margin: 0 auto 2.5rem; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/8; background: var(--blush-200); }
.blog-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-content { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.85; }
.blog-content h2 { font-size: 1.5rem; margin: 2rem 0 .7rem; }
.blog-content p { margin-bottom: 1.1rem; }
.blog-content img { border-radius: var(--r-md); margin: 1.2rem 0; }
.blog-share { max-width: 760px; margin: 2.5rem auto 0; text-align: center; }

.brand-logo { max-height: 48px; width: auto; display: block; }

/* PDP pincode availability check */
.pdp-pincode { margin: 0 0 1.6rem; padding: 1rem 1.1rem; background: var(--blush-100); border: 1px solid var(--line); border-radius: var(--r-md); }
.pdp-pincode > label { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--plum-800); margin-bottom: .6rem; }
.pdp-pincode > label i { color: var(--plum-600); }
.pdp-pin-row { display: flex; gap: .5rem; max-width: 360px; }
.pdp-pin-row .form-control { border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: .55rem 1rem; }
.pdp-pin-row .btn { white-space: nowrap; }
.pdp-pin-result { margin-top: .6rem; font-size: .86rem; min-height: 1rem; }
.pdp-pin-result.ok { color: var(--success); }
.pdp-pin-result.err { color: var(--danger); }

/* checkout — payment method selectable cards */
.pay-method { cursor: pointer; margin-bottom: .7rem; }
.pay-method input[type="radio"] { position: absolute; opacity: 0; }
.pay-method.selected { border-color: var(--plum-600); box-shadow: 0 0 0 1px var(--plum-600); background: var(--blush-100); }
.pay-method .ms-auto { margin-left: auto; }

/* checkout — Add Message Card trigger */
.mcard-trigger { display: flex; align-items: center; gap: .7rem; width: 100%; margin: .2rem 0 1rem; padding: .7rem .9rem;
    background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; text-align: left; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.mcard-trigger:hover { border-color: var(--plum-300); box-shadow: var(--shadow-sm); }
.mcard-trigger.added { border-color: #cfe6d6; background: #f6faf7; }
.mcard-trigger-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none;
    background: var(--blush-200); color: var(--plum-600); border-radius: 50%; font-size: 1.05rem; }
.mcard-trigger.added .mcard-trigger-icon { background: #e3f0e6; color: var(--success); }
.mcard-trigger-body { display: flex; flex-direction: column; gap: .1rem; flex: 1; min-width: 0; }
.mcard-trigger-title { font-weight: 700; font-size: .92rem; color: var(--ink); }
.mcard-trigger-body small { color: var(--ink-soft); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard-free { display: inline-block; margin-left: .4rem; padding: .1rem .5rem; background: var(--success); color: #fff;
    font-size: .66rem; font-weight: 700; letter-spacing: .03em; border-radius: var(--r-pill); vertical-align: middle; }
.mcard-trigger-chev { color: var(--ink-soft); flex: none; }

/* Add Message Card modal */
.mcard-modal .modal-content { border: none; border-radius: var(--r-lg); overflow: hidden; }
.mcard-content .modal-header { padding: 1.1rem 1.25rem .5rem; align-items: center; }
.mcard-content .modal-title { font-family: var(--serif); font-size: 1.15rem; color: var(--plum-800); flex: 1; }
.mcard-back { background: none; border: none; font-size: 1.2rem; color: var(--ink); margin-right: .5rem; cursor: pointer; line-height: 1; }
.mcard-content .modal-body { padding: .5rem 1.25rem 1rem; }
.mcard-occ-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.mcard-label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.mcard-viewall { font-size: .8rem; color: var(--plum-600); font-weight: 600; cursor: pointer; white-space: nowrap; }
.mcard-occ-scroll { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; flex-wrap: nowrap; }
.mcard-occ-card { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
    padding: .8rem .5rem; background: var(--blush-100); border: 1.5px solid transparent; border-radius: var(--r-md); cursor: pointer;
    text-align: center; transition: border-color .15s var(--ease), background .15s var(--ease); }
.mcard-occ-card:hover { background: var(--blush-200); }
.mcard-occ-card.selected { border-color: var(--plum-600); background: var(--blush-200); }
.mcard-occ-emoji { font-size: 1.6rem; line-height: 1; }
.mcard-occ-name { font-size: .74rem; font-weight: 600; color: var(--ink); line-height: 1.15; }
.mcard-no-occ { display: block; margin: .7rem 0 .9rem; padding: .5rem 1rem; background: none; border: 1px solid var(--line-strong);
    border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.mcard-no-occ.selected, .mcard-no-occ:hover { border-color: var(--plum-600); color: var(--plum-600); }

.mcard-msg-block { position: relative; border-top: 1px solid var(--line); padding-top: 1rem; }
.mcard-msg-block:not(.active) .mcard-section-label,
.mcard-msg-block:not(.active) .mcard-field,
.mcard-msg-block:not(.active) .mcard-textwrap,
.mcard-msg-block:not(.active) .mcard-hide-check { opacity: .35; pointer-events: none; user-select: none; }
.mcard-overlay { position: absolute; inset: 1rem 0 0; display: flex; align-items: center; justify-content: center;
    text-align: center; font-weight: 600; font-size: .85rem; color: var(--ink-soft); z-index: 1; padding-top: 1.5rem; }
.mcard-msg-block.active .mcard-overlay { display: none; }
.mcard-section-label { font-weight: 700; font-size: .88rem; color: var(--ink); margin: 0 0 .6rem; }
.mcard-field { display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--line); padding: .5rem 0; }
.mcard-field span { font-weight: 600; font-size: .85rem; color: var(--ink-soft); flex: none; }
.mcard-field input { flex: 1; border: none; outline: none; font-size: .9rem; font-family: var(--sans); background: transparent; color: var(--ink); }
.mcard-textwrap { position: relative; margin: .7rem 0; }
.mcard-textwrap textarea { width: 100%; min-height: 110px; resize: vertical; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    padding: .7rem 6.6rem .9rem .7rem; font-size: .88rem; font-family: var(--sans); color: var(--ink); }
.mcard-choose-btn { position: absolute; top: .55rem; right: .55rem; display: inline-flex; align-items: center; gap: .2rem;
    background: var(--blush-200); border: none; border-radius: var(--r-pill); padding: .3rem .65rem; font-size: .72rem; font-weight: 700;
    color: var(--plum-600); cursor: pointer; }
.mcard-count { position: absolute; left: .7rem; bottom: -1.1rem; font-size: .74rem; color: var(--ink-soft); }
.mcard-hide-check { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .82rem; color: var(--ink-soft); cursor: pointer; }
.mcard-hide-check input { width: 16px; height: 16px; accent-color: var(--plum-600); }
.mcard-footer { padding: .8rem 1.25rem 1.1rem; display: flex; gap: .7rem; }
.mcard-footer .btn { flex: 1; }

.mcard-template-list { padding: .5rem 0 1rem; }
.mcard-tpl-row { display: flex; align-items: flex-start; gap: .7rem; padding: .8rem 1.25rem; border-bottom: 1px solid var(--line); cursor: pointer; font-size: .87rem; color: var(--ink); line-height: 1.4; }
.mcard-tpl-row:hover { background: var(--blush-100); }
.mcard-tpl-row input { margin-top: .2rem; accent-color: var(--plum-600); flex: none; }

.mcard-preview-card { background: var(--blush-100); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 1.5rem; text-align: center; }
.mcard-preview-emoji { font-size: 2.2rem; margin-bottom: .6rem; }
.mcard-preview-dear { font-weight: 700; color: var(--ink); margin: 0 0 .5rem; }
.mcard-preview-msg { color: var(--ink); font-size: .92rem; line-height: 1.6; margin: 0 0 .7rem; white-space: pre-wrap; }
.mcard-preview-from { color: var(--ink-soft); font-style: italic; margin: 0; }

/* checkout — coupon box */
.co-coupon { margin: 1rem 0 .4rem; }
.co-coupon-row { display: flex; gap: .5rem; }
.co-coupon-row .form-control { border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .55rem .8rem; text-transform: uppercase; }
.co-coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: #eef4ef; border: 1px solid #cfe6d6; border-radius: var(--r-sm); padding: .6rem .8rem; font-size: .88rem; color: var(--success); }
.co-coupon-applied i { color: var(--success); }
.co-coupon-remove { background: none; border: none; color: var(--danger); font-size: .82rem; cursor: pointer; font-weight: 600; }
.co-coupon .coupon-msg { font-size: .8rem; margin-top: .4rem; min-height: .9rem; }
.co-coupon .coupon-msg.ok { color: var(--success); }
.co-coupon .coupon-msg.err { color: var(--danger); }

/* PDP description redesign */
.pdp-desc-body { font-size: 1rem; line-height: 1.8; color: var(--ink); margin-bottom: 1.6rem; }
.pdp-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.pdp-features li { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--blush-100); border: 1px solid var(--line); border-radius: var(--r-md); }
.pdp-features li i { color: var(--plum-600); font-size: 1.35rem; margin-top: .1rem; flex: none; }
.pdp-features li span { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }
.pdp-features li strong { color: var(--plum-800); font-size: .92rem; }

/* checkout — delivery fee note */
.co-fee-note { font-size: .82rem; color: var(--green-leaf); margin: .6rem 0 0; text-align: center; }

/* PDP inline currency hint */
.pdp-currency { font-size: .8rem; color: var(--ink-soft); margin: -.6rem 0 1rem; }
.pdp-currency button { background: none; border: none; color: var(--plum-600); font-weight: 700; cursor: pointer; padding: 0 .15rem; }
.pdp-currency button.active { text-decoration: underline; }

/* footer logo on dark background */
.footer-logo { max-height: 54px; background: #fff; padding: 8px 12px; border-radius: 10px; }

/* PDP "Perfect for" gifting chips */
.pdp-goodfor { margin: 0 0 1.5rem; }
.pdp-goodfor-label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--plum-800); margin-bottom: .5rem; }
.pdp-goodfor-label i { color: var(--gold-600); }
.pdp-goodfor-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.pdp-chip { background: var(--blush-100); border: 1px solid var(--line-strong); color: var(--plum-800); font-size: .82rem; font-weight: 600; padding: .35rem .85rem; border-radius: var(--r-pill); }

/* checkout pincode feedback */
.pin-feedback { font-size: .82rem; margin-top: .4rem; min-height: 1rem; }
.pin-feedback.ok { color: var(--success); }
.pin-feedback.err { color: var(--danger); }
.pin-feedback.loading { color: var(--ink-soft); }

/* home delivery band subtitle (replaces city list) */
.cities-sub { color: var(--ink-soft); max-width: 640px; margin: .6rem auto 0; text-align: center; line-height: 1.6; }

/* checkout gift-message suggestions */
.msg-suggest { margin-top: .7rem; }
.msg-suggest-label { display: block; font-size: .8rem; font-weight: 600; color: var(--plum-800); margin-bottom: .5rem; }
.msg-suggest-label i { color: var(--gold-600); }
.msg-suggest-chips { display: flex; flex-direction: column; gap: .4rem; }
.msg-chip { text-align: left; background: var(--blush-100); border: 1px solid var(--line-strong); color: var(--ink); font-size: .85rem; padding: .5rem .8rem; border-radius: var(--r-md); cursor: pointer; transition: all .15s; line-height: 1.4; }
.msg-chip:hover { border-color: var(--plum-600); background: var(--blush-200); }
.msg-chip.active { border-color: var(--plum-600); background: var(--blush-200); box-shadow: 0 0 0 1px var(--plum-600); }

/* ===== Home promo popup (dynamic, 1080×1366 portrait) ===== */
.promo-popup { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.promo-popup[hidden] { display: none; }
.promo-popup-backdrop { position: absolute; inset: 0; background: rgba(40, 10, 30, .72); backdrop-filter: blur(3px); animation: promoFade .25s ease; }
.promo-popup-box { position: relative; z-index: 1; animation: promoPop .32s cubic-bezier(.2,.8,.25,1); }
/* keep the 1080:1366 aspect ratio, scale to fit the viewport on any screen */
.promo-popup-img { display: block; width: auto; height: auto; aspect-ratio: 1080 / 1080; max-height: 88vh; max-width: min(92vw, 560px); object-fit: cover; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.promo-popup-link { display: block; }
.promo-popup-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; color: var(--plum-800); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.promo-popup-close:hover { transform: scale(1.08) rotate(90deg); }
@keyframes promoFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes promoPop { from { opacity: 0; transform: scale(.9) translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .promo-popup-close { top: -8px; right: -8px; width: 34px; height: 34px; font-size: 1.35rem; } }

/* ===== Coupon marquee ===== */
.coupon-marquee { background: linear-gradient(90deg, var(--plum-600), var(--plum-800)); color: #fff; overflow: hidden; white-space: nowrap; padding: .6rem 0; }
.coupon-marquee-track { display: inline-flex; align-items: center; gap: 1rem; animation: couponScroll 32s linear infinite; }
.coupon-marquee:hover .coupon-marquee-track { animation-play-state: paused; }
.coupon-item { font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.coupon-item i { color: var(--gold-500); }
.coupon-item strong { background: rgba(255,255,255,.2); padding: .1rem .5rem; border-radius: 4px; letter-spacing: .04em; }
.coupon-sep { opacity: .5; }
@keyframes couponScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Exclusive offers accent ===== */
.section-offer { background: linear-gradient(180deg, var(--blush-200), var(--blush-100)); }
.eyebrow.accent { color: var(--rose); }

/* category tiles with product image */
.cat-tile-img .cat-thumb { display:block; width: 100%; aspect-ratio: 1/1; border-radius: var(--r-md); overflow: hidden; margin-bottom: .5rem; }
.cat-tile-img .cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-tile-img:hover .cat-thumb img { transform: scale(1.06); }

/* occasion tiles with product image */
.occ-card-img .occ-thumb { display:block; width: 190px; height: 190px; border-radius: 16px; overflow: hidden; margin-bottom: 0; flex: none; border: 4px solid #f8b9dc;}
.occ-card-img .occ-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.occ-card-img:hover .occ-thumb img { transform: scale(1.12); }
.cat-ico-sm { display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; background:var(--blush-100); border-radius:8px; color:var(--plum-600); }

/* ===== Contact form (CMS contact page) ===== */
.contact-form-card {
    margin: 2.5rem 0 3rem; padding: 2rem; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { margin: 0 0 .3rem; font-size: 1.5rem; color: var(--plum-800); }
.contact-form-card > .muted { margin-bottom: 1.5rem; color: var(--ink-soft); }
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--plum-800); margin-bottom: .35rem; }
.contact-form .form-control, .contact-form .form-select {
    width: 100%; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    padding: .65rem .9rem; font-family: var(--sans); background: #fff;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
    outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 3px var(--blush-200);
}
@media (max-width: 575.98px) {
    .contact-form-card { padding: 1.3rem; }
    .contact-form .btn { width: 100%; }
}

/* ==========================================================================
   Bigger tile/product imagery + homepage tabs + new sections
   ========================================================================== */

/* --- Shop by category: bigger tiles/images --- */
.category-rail-lg { grid-auto-columns: minmax(220px, 1fr); gap: 1.4rem; }
.category-rail-lg .cat-ico { width: 92px; height: 92px; font-size: 2.3rem; }
.category-rail-lg .cat-tile-img .cat-thumb { margin-bottom: .8rem; }
.category-rail-lg .cat-name { font-size: 1.15rem; }

/* Extra-large variant: bigger circular photo tiles (used by Shop by relation) */
.category-rail-xl { grid-auto-columns: minmax(280px, 1fr); }
.category-rail-xl .cat-tile-img { padding: 1rem; }
.category-rail-xl .cat-tile-img .cat-thumb {
    aspect-ratio: 1/1; width: 200px; height: 200px; max-width: 100%;
    border-radius: 50%; margin: 0 auto 1rem;
}
.category-rail-xl .cat-ico { width: 130px; height: 130px; font-size: 2.9rem; }
.category-rail-xl .cat-name { font-size: 1.25rem; }
@media (max-width: 640px) {
    .category-rail-xl { grid-auto-columns: minmax(190px, 1fr); }
    .category-rail-xl .cat-tile-img .cat-thumb { width: 150px; height: 150px; }
    .category-rail-xl .cat-ico { width: 90px; height: 90px; font-size: 2.1rem; }
}
@media (max-width: 575.98px) {
    .category-rail-lg { grid-auto-columns: minmax(150px, 1fr); gap: 1rem; }
    .category-rail-lg .cat-ico { width: 68px; height: 68px; font-size: 1.8rem; }
}

/* --- Homepage tabs (Shop by category/relation, Perfect combos) --- */
.home-tabs {
    display: flex; gap: .6rem; flex-wrap: wrap; margin: 0 0 1.4rem;
}
.home-tabs-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.home-tab-btn {
    border: 1px solid var(--line-strong); background: var(--paper); color: var(--plum-800);
    font-family: var(--serif); font-weight: 600; font-size: .95rem;
    padding: .55rem 1.3rem; border-radius: 999px; cursor: pointer; white-space: nowrap;
    transition: all .2s var(--ease);
}
.home-tab-btn:hover { border-color: var(--plum-400); color: var(--plum-600); }
.home-tab-btn.is-active { background: var(--plum-600); border-color: var(--plum-600); color: #fff; box-shadow: 0 6px 16px -4px rgba(0,0,0,.25); }
.home-tab-panel[hidden] { display: none; }

/* --- Explore More button under a product grid --- */
.section-explore { text-align: center; margin-top: 2rem; }
.btn-explore-more {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 2rem; border-radius: 999px; font-weight: 600;
}

/* --- Perfect combos for every occasion --- */
.section-combo-tabs .product-grid { margin-top: .2rem; }

/* --- Flowers by Types: circular category tiles (bigger) --- */
.subcat-circle-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.6rem 1.2rem; text-align: center;
    /* column min-width must match .subcat-circle-img's size (220px) — a
       smaller min-width here let the grid pack in more columns than the
       220px circles actually fit, so neighbouring circles overlapped */
}
.subcat-circle { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.subcat-circle-img {
    width: 220px; height: 220px; border-radius: 50%; overflow: hidden;
    display: grid; place-items: center; background: var(--blush-200);
    border: 4px solid #fff; box-shadow: 0 8px 22px -8px rgba(0,0,0,.25);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    font-size: 2.2rem; color: var(--plum-600);
}
.subcat-circle:hover .subcat-circle-img { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 28px -8px rgba(0,0,0,.32); }
.subcat-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.subcat-circle-name { font-family: var(--serif); font-weight: 600; color: var(--plum-800); font-size: 1rem; }
@media (max-width: 575.98px) {
    .subcat-circle-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 1.2rem .8rem; }
    .subcat-circle-img { width: 96px; height: 96px; font-size: 1.6rem; }
}

/* --- Bigger product images everywhere product-grid is used --- */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 1.6rem; }
@media (max-width: 575.98px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ==========================================================================
   Shop by occasion — redesign for a more attractive, premium look
   ========================================================================== */
.section-occasion .occasion-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.3rem;
}
.section-occasion .occ-card {
    min-height: 360px;
    border-radius: 24px;
    padding: 1.8rem 1.2rem 1.4rem;
    box-shadow: 0 10px 26px -10px rgba(94, 30, 65, .18);
}
.section-occasion .occ-card-img .occ-thumb {
    width: 210px; height: 210px; border-radius: 16px; border: 5px solid #fff;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,.22);
}
.section-occasion .occ-ico { width: 72px; height: 72px; font-size: 2rem; }
.section-occasion .occ-name { font-size: 1.05rem; margin-top: .2rem; }
.occ-shop-now {
    position: relative; z-index: 1; margin-top: .35rem;
    font-size: .78rem; font-weight: 600; color: var(--plum-600);
    display: inline-flex; align-items: center; gap: .3rem;
    opacity: 0; transform: translateY(4px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.occ-card:hover .occ-shop-now { opacity: 1; transform: translateY(0); }
.occ-card-bgphoto .occ-shop-now {
    background: rgba(255,255,255,.92); padding: .25rem .7rem; border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
@media (max-width: 991.98px) {
    .section-occasion .occasion-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
    .section-occasion .occasion-grid { grid-template-columns: repeat(2, 1fr); }
    .section-occasion .occ-card { min-height: 290px; }
    .section-occasion .occ-card-img .occ-thumb { width: 160px; height: 160px; }
}

/* ==========================================================================
   Perfect Flowers Combos for Every Occasion — admin-managed tile grid
   (photo card with a title / short description and an arrow chip)
   ========================================================================== */
.combo-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.4rem;
}
.combo-tile {
    display: block; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-md); overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.combo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blush-300); }
.combo-tile-img { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--blush-200); }
.combo-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.combo-tile:hover .combo-tile-img img { transform: scale(1.07); }
.combo-tile-body {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    padding: .9rem 1rem;
}
.combo-tile-text { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.combo-tile-title {
    font-family: var(--serif); font-size: .98rem; font-weight: 600; color: var(--plum-800);
    white-space: normal; overflow-wrap: break-word; line-height: 1.25;
}
.combo-tile-desc {
    font-size: .76rem; color: var(--ink-soft); line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.combo-tile-arrow {
    flex: none; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; background: var(--blush-200); color: var(--plum-700, var(--plum-600));
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.combo-tile:hover .combo-tile-arrow { background: var(--plum-600); color: #fff; transform: translateX(3px); }
@media (max-width: 575.98px) {
    .combo-tile-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .combo-tile-title { font-size: .88rem; }
    .combo-tile-desc { display: none; }
}

/* ==========================================================================
   Trending Gifts for Every Celebration — its own card grid (photo card +
   label), 5-6 columns wide on desktop so many tiles fit in one tidy row
   ========================================================================== */
.trend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}
.trend-card {
    display: flex; flex-direction: column; align-items: center;
    background: var(--tc-bg, var(--paper));
    background: linear-gradient(180deg, color-mix(in srgb, var(--tc-bg, var(--paper)) 55%, white) 0%, var(--paper) 100%);
    border: 1px solid color-mix(in srgb, var(--tc-bg, var(--line)) 45%, var(--line));
    border-radius: var(--r-lg);
    padding: 1rem 1rem 1.1rem;
    text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px -10px rgba(94, 30, 65, .2);
    border-color: color-mix(in srgb, var(--tc-bg, var(--plum-300)) 60%, var(--plum-300));
}
.trend-card-photo {
    display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
     margin: 0 auto .8rem;
    background: #fff; border: 3px solid #fff;
    box-shadow: 0 6px 16px -6px rgba(0,0,0,.18);
}
.trend-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.trend-card:hover .trend-card-photo img { transform: scale(1.08); }
.trend-card-name {
    font-family: var(--serif); font-weight: 600; font-size: .92rem; color: var(--plum-800);
    line-height: 1.25;
}
@media (max-width: 1199.98px) {
    .trend-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
    .trend-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
    .trend-card { padding: .8rem .6rem .9rem; }
    .trend-card-name { font-size: .82rem; }
}
@media (max-width: 575.98px) {
    .trend-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Admin-managed homepage blocks: Shop By Category (circles), Best Selling
   extra cards, Promo banners (image + link) and Delicious Cakes tiles
   ========================================================================== */
.shopcat-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 1.5rem; text-align: center; justify-items: center;
}
.shopcat-item { display: flex; flex-direction: column; align-items: center; gap: .9rem; width: 100%; }
.shopcat-circle {
    width: 100%; max-width: 250px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; display: block;
    background: var(--blush-200); border: 5px solid #fff;
    box-shadow: 0 10px 26px -8px rgba(0,0,0,.28);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.shopcat-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shopcat-item:hover .shopcat-circle { transform: translateY(-5px) scale(1.04); box-shadow: 0 16px 32px -8px rgba(0,0,0,.34); }
.shopcat-name { font-family: var(--serif); font-weight: 600; color: var(--plum-800); font-size: 1.2rem; line-height: 1.25; }
.shopcat-item:hover .shopcat-name { color: var(--plum-600); }
@media (max-width: 767.98px) {
    .shopcat-grid { gap: 1.2rem .8rem; }
    .shopcat-circle { border-width: 3px; }
    .shopcat-name { font-size: .95rem; }
}
@media (max-width: 479.98px) {
    .shopcat-grid { gap: 1rem .5rem; }
    .shopcat-circle { border-width: 2px; }
    .shopcat-name { font-size: .78rem; }
}

.bestitem-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
    gap: 1.6rem; margin-top: 1.6rem;
}
.bestitem-card {
    display: block; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-md); overflow: hidden; text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.bestitem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bestitem-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--blush-200); }
.bestitem-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.bestitem-card:hover .bestitem-img img { transform: scale(1.06); }
.bestitem-name { display: block; padding: .9rem 1rem; font-family: var(--serif); font-weight: 600; color: var(--plum-800); }
@media (max-width: 575.98px) { .bestitem-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.section-promo { padding-top: 0; }
/* Always two equal columns (6 + 6) on every screen size; a lone banner fills the row */
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.promo-grid-single { grid-template-columns: 1fr; }
.promo-banner { display: block; overflow: hidden; border-radius: var(--r-md); box-shadow: var(--shadow-sm, 0 4px 14px -6px rgba(0,0,0,.2)); }
.promo-banner img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.promo-banner:hover img { transform: scale(1.03); }
@media (max-width: 767.98px) { .promo-grid { gap: .6rem; } .promo-banner { border-radius: var(--r-sm, 8px); } }

.caketile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.caketile {
    display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden; text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.caketile:hover { transform: translateY(-5px); box-shadow: 0 14px 30px -10px rgba(94, 30, 65, .2); }
.caketile-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--blush-200); }
.caketile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.caketile:hover .caketile-img img { transform: scale(1.07); }
.caketile-name { display: block; padding: .9rem 1rem 1.1rem; font-family: var(--serif); font-weight: 600; color: var(--plum-800); line-height: 1.25; }
@media (max-width: 1199.98px) { .caketile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px)  { .caketile-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } .caketile-name { font-size: .88rem; } }

/* Floral Arrangements section: 5 tiles per row */
.caketile-grid.caketile-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.caketile-grid-5 .caketile-name { font-size: .95rem; padding: .8rem .6rem 1rem; }
@media (max-width: 991.98px) { .caketile-grid.caketile-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .caketile-grid.caketile-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; } .caketile-grid-5 .caketile-name { font-size: .85rem; } }
