/* ============================================================
   La Flourish - Premium storefront stylesheet
   ============================================================ */

:root {
  --navy: #1b2340;
  --navy-deep: #10152a;
  --gold: #c9a227;
  --gold-light: #e6c878;
  --rose: #b33a5b;
  --rose-deep: #8e2140;
  --cream: #faf6ef;
  --cream-deep: #f3ecdf;
  --ink: #2a2a2a;
  --muted: #6b6b6b;
  --white: #ffffff;
  --border: #e8e0d0;
  --shadow: 0 10px 30px rgba(27, 35, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(27, 35, 64, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Poppins', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--rose); font-weight: 600; margin-bottom: 10px;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px; font-size: 14.5px; letter-spacing: .5px;
  font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all .25s ease;
  font-family: var(--sans);
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-deep); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(201,162,39,.35); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-rose { background: var(--rose); color: var(--white); }
.btn-rose:hover { background: var(--rose-deep); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep); color: #cfd3e6; font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px;}
.topbar a { color: #e9dcb8; }
.topbar-links { display: flex; gap: 18px; }
.topbar-socials { display: flex; gap: 12px; }
.topbar-socials a { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(233,220,184,.4); display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.logo img { height: 58px; width: auto; }
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-size: 15px; font-weight: 500; color: var(--navy); position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold);
  transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn { position: relative; font-size: 20px; color: var(--navy); }
.cart-badge {
  position: absolute; top: -8px; right: -10px; background: var(--rose); color: #fff;
  font-size: 10.5px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; }

/* ---------- Hero slider ---------- */
.hero { position: relative; overflow: hidden; height: min(640px, 82vh); background: var(--navy-deep); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,14,30,.94) 0%, rgba(10,14,30,.80) 38%, rgba(10,14,30,.42) 68%, rgba(10,14,30,.22) 100%),
    linear-gradient(180deg, rgba(10,14,30,.35) 0%, rgba(10,14,30,0) 35%);
}
.hero .container { width: 100%; }
.hero-content {
  position: relative; z-index: 2; color: #fff; max-width: 560px; width: 100%;
  text-shadow: 0 2px 18px rgba(8,11,24,.55);
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content .eyebrow::before, .hero-content .eyebrow::after { background: var(--gold-light); }
.hero-content h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); line-height: 1.15; }
.hero-content p { color: #e7e4d8; font-size: 17px; max-width: 460px; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots button.active { background: var(--gold); width: 26px; border-radius: 6px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4); color: #fff; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.hero-prev { left: 24px; } .hero-next { right: 24px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .ic { font-size: 24px; color: var(--gold); }
.trust-item strong { display: block; font-size: 14.5px; color: var(--navy); }
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; height: 360px;
  box-shadow: var(--shadow); isolation: isolate;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,21,42,0) 30%, rgba(16,21,42,.85) 100%); z-index: 1; }
.cat-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px; color: #fff; }
.cat-card-body h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cat-card-body p { color: #dfe0ea; font-size: 14px; margin-bottom: 14px; }
.cat-card-body .btn { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.5); color: #fff; }
.cat-card-body .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-thumb { position: relative; aspect-ratio: 1/1.05; overflow: hidden; background: var(--cream-deep); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.08); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .5px; z-index: 2; }
.badge-out { background: #777; }
.product-info { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-info .cat-tag { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--rose); font-weight: 600; }
.product-info h3 { font-size: 17px; margin: 0; }
.product-info h3 a:hover { color: var(--rose); }
.price-row { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.price { font-size: 18px; font-weight: 700; color: var(--navy); }
.price-old { text-decoration: line-through; color: #a3a3a3; font-size: 14px; }
.product-info form { margin-top: 6px; }

/* ---------- About / split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-text .eyebrow { justify-content: flex-start; }
.stat-row { display: flex; gap: 34px; margin-top: 24px; }
.stat-row strong { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold); }
.stat-row span { font-size: 13px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.testi-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testi-name { font-weight: 600; color: var(--navy); margin-top: 14px; }

/* ---------- Newsletter / CTA ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background-image: radial-gradient(circle at 90% 10%, rgba(201,162,39,.18), transparent 45%); }
.cta-band h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-band p { color: #cfd3e6; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c7cade; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid p { color: #a7abc4; font-size: 14px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #b7bad0; font-size: 14px; }
.footer-grid a:hover { color: var(--gold-light); }
.foot-logo img { height: 46px; margin-bottom: 14px; }
.foot-socials { display: flex; gap: 10px; margin-top: 16px; }
.foot-socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.foot-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.foot-bottom { padding: 18px 0; text-align: center; font-size: 13px; color: #8489a8; }

/* ---------- Breadcrumb / page header ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 50px 0; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero .crumbs { color: #cfd3e6; font-size: 13.5px; }
.page-hero .crumbs a { color: var(--gold-light); }

/* ---------- Filters / listing ---------- */
.listing-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.filter-box { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.filter-box h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.filter-box label { display: flex; align-items: center; gap: 8px; font-size: 14.5px; margin-bottom: 10px; cursor: pointer; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.listing-toolbar select { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1/1; background: var(--white); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery-thumbs img { width: 74px; height: 74px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.gallery-thumbs img.active { border-color: var(--gold); }
.pd-price { font-size: 30px; color: var(--navy); font-weight: 700; }
.pd-meta { display: flex; gap: 22px; font-size: 13.5px; color: var(--muted); margin: 16px 0; flex-wrap: wrap; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; width: fit-content; }
.qty-box button { background: var(--cream-deep); border: none; width: 40px; height: 42px; font-size: 18px; cursor: pointer; }
.qty-box input { width: 50px; text-align: center; border: none; font-size: 15px; }
.pd-actions { display: flex; gap: 14px; margin-top: 22px; align-items: center; flex-wrap: wrap; }
.tabs { margin-top: 40px; }
.tab-buttons { display: flex; gap: 30px; border-bottom: 1px solid var(--border); }
.tab-buttons button { background: none; border: none; padding: 14px 0; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tab-buttons button.active { color: var(--navy); border-color: var(--gold); }
.tab-panel { display: none; padding: 24px 0; color: var(--muted); line-height: 1.8; }
.tab-panel.active { display: block; }

/* ---------- Cart / checkout ---------- */
/* Main content wide on the left, summary/aside narrow on the right.
   (Distinct from .listing-layout, which is sidebar-first for category pages.) */
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.shop-layout > * { min-width: 0; }
.shop-layout .cart-summary, .shop-layout .filter-box { position: sticky; top: 96px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th:first-child, .cart-table td:first-child { min-width: 260px; }
.cart-prod a { font-weight: 500; }
.cart-actions { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }
.cart-actions .btn { white-space: nowrap; }
.cart-table th { text-align: left; background: var(--cream-deep); padding: 14px 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--navy); }
.cart-table td { padding: 16px 18px; border-top: 1px solid var(--border); vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: 14px; }
.cart-prod img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-summary { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; color: var(--muted); }
.summary-row.total { font-size: 19px; font-weight: 700; color: var(--navy); border-top: 1px solid var(--border); padding-top: 14px; margin-top: 8px; }
.remove-link { color: var(--rose); font-size: 13px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 14.5px; background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15); }
.payment-options { display: flex; gap: 14px; flex-wrap: wrap; }
.payment-options label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); padding: 12px 18px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; }
.payment-options input { width: auto; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14.5px; }
.alert-success { background: #eaf6ea; color: #1e7a34; border: 1px solid #bfe6c4; }
.alert-error { background: #fdeceb; color: #b8362c; border: 1px solid #f3c3bd; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state .ic { font-size: 46px; color: var(--gold); margin-bottom: 16px; }

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-layout { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; gap: 26px; }
  .filter-box { position: static; }
  .shop-layout .cart-summary, .shop-layout .filter-box { position: static; }
}
@media (max-width: 760px) {
  /* Off-canvas nav: translated out of view rather than offset with a negative
     right value, which would widen the document and cause horizontal scroll. */
  .main-nav { position: fixed; top: 0; right: 0; width: 78%; max-width: 320px; height: 100vh; background: var(--navy); flex-direction: column; padding: 90px 30px; gap: 22px; transform: translateX(100%); transition: transform .3s ease; z-index: 200; }
  .main-nav.open { transform: translateX(0); }
  /* Specific enough to beat `.topbar .container span { display:inline-flex }`. */
  .hide-mobile, .topbar .container span.hide-mobile { display: none; }
  .topbar .container { justify-content: center; gap: 14px; }
  .topbar-links { gap: 12px; font-size: 12.5px; }
  .main-nav a { color: #fff; }
  .nav-toggle { display: block; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .testi-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; }
  .hero-content { text-align: left; }
  .hero-arrow { display: none; }
}
@media (max-width: 500px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
}

.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 150; display: none; }
.nav-overlay.show { display: block; }

/* ---------- Inline SVG icons ---------- */
.ico { display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }
.topbar .container span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-socials a .ico { vertical-align: 0; }
.icon-btn { display: inline-flex; align-items: center; }
.trust-item .ic { display: inline-flex; align-items: center; justify-content: center; color: var(--gold); }
.footer-grid li { display: flex; align-items: flex-start; gap: 8px; }
.footer-grid li .ico { margin-top: 3px; color: var(--gold-light); }
.empty-state .ic { display: flex; justify-content: center; color: var(--gold); }
.testi-stars .ico { color: var(--gold); }

/* ============================================================
   v2 - Saree & jewellery storefront components
   ============================================================ */

/* ---------- Topbar ---------- */
.topbar-note { font-size: 12.5px; color: var(--gold-light); letter-spacing: .3px; }

/* ---------- Header nav dropdowns ---------- */
.has-drop { position: relative; }
.has-drop > a { display: inline-flex; align-items: center; gap: 4px; }
.drop {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 208px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transition: all .2s ease; z-index: 220;
}
.drop.drop-right { left: auto; right: 0; transform: translateY(8px); }
.has-drop:hover > .drop, .has-drop:focus-within > .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-drop.account-drop:hover > .drop, .has-drop.account-drop:focus-within > .drop { transform: translateY(0); }
.drop a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--ink); white-space: nowrap;
}
.drop a:hover { background: var(--cream); color: var(--rose); }
.drop .drop-all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 11px; color: var(--rose); font-weight: 600; }
.drop .drop-head { display: block; padding: 6px 12px 10px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); margin-bottom: 6px; }

/* ---------- Header action badges ---------- */
.icon-btn { position: relative; background: none; border: none; cursor: pointer; color: var(--navy); padding: 6px; }
.icon-btn .badge, .mobile-bar .badge {
  position: absolute; top: -2px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--rose); color: #fff; border-radius: 999px; font-size: 10.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; font-style: normal; line-height: 1;
}

/* ---------- Search bar ---------- */
.search-bar { display: none; border-top: 1px solid var(--border); background: var(--white); padding: 18px 0; }
.search-bar.open { display: block; }
.search-bar form { display: flex; align-items: center; gap: 12px; }
.search-bar form > .ico { color: var(--muted); flex-shrink: 0; }
.search-bar input[type="search"] {
  flex: 1; min-width: 0; border: none; border-bottom: 1px solid var(--border);
  padding: 10px 4px; font-family: var(--sans); font-size: 16px; background: transparent; outline: none;
}
.search-bar input[type="search"]:focus { border-bottom-color: var(--gold); }
.search-close { background: none; border: none; cursor: pointer; color: var(--muted); padding: 6px; }
.search-suggest { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-suggest a { color: var(--rose); border-bottom: 1px solid transparent; }
.search-suggest a:hover { border-bottom-color: var(--rose); }

/* ---------- Hero ---------- */
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.hero-prev .ico { transform: rotate(180deg); }
.btn-lg { padding: 16px 40px; font-size: 15.5px; }

/* ---------- Page hero ---------- */
.page-hero-sm { padding: 40px 0; }
.page-hero-intro { color: rgba(255,255,255,.82); max-width: 620px; margin: 12px auto 0; font-size: 15px; }

/* ---------- Subcategory strip ---------- */
.subcat-strip { background: var(--white); border-bottom: 1px solid var(--border); }
.subcat-strip .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; }
.subcat-strip a {
  white-space: nowrap; padding: 8px 18px; border-radius: 999px; font-size: 13.5px;
  border: 1px solid var(--border); color: var(--muted); transition: all .2s ease;
}
.subcat-strip a:hover { border-color: var(--gold); color: var(--navy); }
.subcat-strip a.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Product card additions ---------- */
.product-thumb { position: relative; }
.pc-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge-pill {
  display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 11px;
  font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #fff;
}
.badge-pill.sale { background: var(--rose); }
.badge-pill.new { background: var(--gold); color: var(--navy-deep); }
.badge-pill.out { background: #6b6b6b; }
.pc-wish { position: absolute; top: 10px; right: 10px; z-index: 2; }
.wish-btn {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.94);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted); transition: all .2s ease;
}
.wish-btn:hover { color: var(--rose); border-color: var(--rose); }
.wish-btn.on { color: #fff; background: var(--rose); border-color: var(--rose); }
.wish-btn.on .ico { fill: currentColor; }
.pc-rating { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 12.5px; color: var(--muted); }
.is-wished { border-color: var(--rose); color: var(--rose); }
.is-wished .ico { fill: currentColor; }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { flex-shrink: 0; }
.star.on path { fill: var(--gold); }
.star.off path { fill: #dcd5c6; }

/* ---------- Filters ---------- */
.filter-head { display: none; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.filter-close { background: none; border: none; cursor: pointer; color: var(--muted); }
.filter-group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: none; }
.filter-group h5 {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px;
}
.filter-link { display: block; padding: 5px 0; font-size: 14px; color: var(--ink); }
.filter-link.sub { padding-left: 14px; font-size: 13.5px; color: var(--muted); }
.filter-link:hover { color: var(--rose); }
.filter-link.on { color: var(--rose); font-weight: 600; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--sans); }
.price-inputs span { color: var(--muted); font-size: 13px; }
.filter-box select { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--sans); background: var(--white); }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; margin-bottom: 9px; cursor: pointer; }
.check input { width: auto; margin-top: 3px; flex-shrink: 0; }
.filter-clear { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.filter-clear:hover { color: var(--rose); }
.filter-open { display: none; }
.toolbar-right { display: flex; align-items: center; gap: 10px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a {
  min-width: 40px; padding: 9px 13px; text-align: center; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; color: var(--ink); background: var(--white);
}
.pagination a:hover { border-color: var(--gold); }
.pagination a.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.gallery-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--cream-deep); box-shadow: var(--shadow); aspect-ratio: 4 / 5;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-main.zooming img { transform: scale(1.9); }
.zoom-hint {
  position: absolute; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,21,42,.72); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 12px;
}
.detail-badge { position: absolute; top: 14px; left: 14px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gthumb {
  padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  cursor: pointer; background: none; aspect-ratio: 1; transition: border-color .2s ease;
}
.gthumb img { width: 100%; height: 100%; object-fit: cover; }
.gthumb:hover { border-color: var(--gold-light); }
.gthumb.on { border-color: var(--gold); }
.gallery-video { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--rose); font-size: 14px; }

.product-summary h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.summary-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.summary-price strong { font-family: var(--serif); font-size: 32px; color: var(--navy); }
.summary-price del { color: var(--muted); font-size: 18px; }
.summary-price .save { background: var(--rose); color: #fff; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.summary-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.summary-rating a { color: var(--rose); border-bottom: 1px solid currentColor; }
.summary-desc { color: var(--muted); }
.summary-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.summary-meta .in-stock { color: #1f7a4d; display: inline-flex; align-items: center; gap: 5px; }
.summary-meta .out-stock { color: var(--rose-deep); display: inline-flex; align-items: center; gap: 5px; }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.spec-table caption {
  text-align: left; font-family: var(--sans); font-size: 11.5px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); padding-bottom: 10px;
}
.spec-table th, .spec-table td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; font-weight: 500; color: var(--muted); font-family: var(--sans); }
.spec-table td { color: var(--ink); }

.buy-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.wish-form { margin-bottom: 22px; }
.summary-assure { display: grid; gap: 9px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 18px; }
.summary-assure li { display: flex; align-items: flex-start; gap: 9px; }
.summary-assure .ico { margin-top: 3px; color: var(--gold); flex-shrink: 0; }
.summary-assure a { color: var(--rose); }

/* ---------- Why you will love it ---------- */
.love-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px 38px; }
.love-box h3 { color: #fff; margin-bottom: 16px; }
.love-box ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.love-box li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.9); }
.love-box .ico { color: var(--gold-light); margin-top: 2px; flex-shrink: 0; }

/* ---------- Reviews ---------- */
.reviews-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; align-items: start; }
.review-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.rs-score { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.rs-score strong { display: block; font-family: var(--serif); font-size: 46px; color: var(--navy); line-height: 1; }
.rs-score > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.rs-score small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.rs-bar { display: grid; grid-template-columns: 48px 1fr 38px; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 12.5px; color: var(--muted); }
.rs-track { height: 7px; background: var(--cream-deep); border-radius: 999px; overflow: hidden; }
.rs-track i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.rs-pct { text-align: right; }

.review { padding: 22px 0; border-bottom: 1px solid var(--border); }
.review:first-child { padding-top: 0; }
.review-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 7px; flex-wrap: wrap; }
.review-top time { font-size: 12.5px; color: var(--muted); }
.review h4 { font-size: 16.5px; margin: 9px 0 6px; }
.review p { color: var(--muted); margin-bottom: 10px; }
.verified {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 10px;
  background: #e8f5ee; color: #1f7a4d; padding: 2px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
}
.review-photo { display: inline-block; width: 104px; height: 104px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }

.review-form-box { margin-top: 44px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label { cursor: pointer; line-height: 0; }
.star-input label svg path { fill: #dcd5c6; transition: fill .15s ease; }
.star-input input:checked ~ label svg path,
.star-input label:hover svg path,
.star-input label:hover ~ label svg path { fill: var(--gold); }

/* ---------- Photo wall ---------- */
.photo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.photo-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-item:hover img { transform: scale(1.06); }
.photo-cap {
  position: absolute; inset: auto 0 0 0; padding: 12px 12px 11px; color: #fff;
  background: linear-gradient(180deg, rgba(16,21,42,0) 0%, rgba(16,21,42,.86) 60%);
}
.photo-cap strong { display: block; font-size: 13px; margin-top: 4px; }
.photo-cap span { display: block; font-size: 11.5px; color: rgba(255,255,255,.75); }

/* ---------- Why grid / craft grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.why-card .ic { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream); color: var(--gold); margin-bottom: 14px; }
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 14px; margin: 0; }

.craft-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.craft-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.craft-card img { width: 100%; height: 100%; object-fit: cover; }
.craft-card > div { padding: 24px 24px 24px 0; }
.craft-card h3 { font-size: 19px; }
.craft-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Occasion + collections ---------- */
.occasion-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.occasion-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; display: block; }
.occasion-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.occasion-card:hover img { transform: scale(1.07); }
.occasion-card span {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 16px; color: #fff;
  font-family: var(--serif); font-size: 18px; text-align: center;
  background: linear-gradient(180deg, rgba(16,21,42,0), rgba(16,21,42,.85));
}
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.collection-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: block; transition: all .25s ease; }
.collection-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.collection-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.collection-body { padding: 22px 24px 26px; }
.collection-body h3 { font-size: 21px; margin-bottom: 8px; }
.collection-body p { color: var(--muted); font-size: 14px; }
.cat-link { display: inline-flex; align-items: center; gap: 6px; color: var(--rose); font-size: 13.5px; font-weight: 600; }

/* ---------- Top rated row ---------- */
.toprated { margin-top: 42px; border-top: 1px solid var(--border); padding-top: 30px; }
.toprated h4 { text-align: center; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; font-family: var(--sans); color: var(--muted); margin-bottom: 20px; }
.toprated-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.toprated-item { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; }
.toprated-item img { width: 62px; height: 62px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.toprated-item strong { display: block; font-size: 14px; margin-bottom: 4px; }
.toprated-item span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---------- About ---------- */
.about-points { display: grid; gap: 10px; margin: 18px 0 24px; }
.about-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14.5px; }
.about-points .ico { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.social-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--navy); color: #fff; padding: 46px 0; }
.newsletter-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 30px; align-items: center; }
.newsletter h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.newsletter p { color: rgba(255,255,255,.72); margin: 0; font-size: 14.5px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; font-family: var(--sans); font-size: 14.5px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-note { margin: 14px 0 0; font-size: 13.5px; color: var(--gold-light); display: flex; align-items: center; gap: 7px; }

/* ---------- Footer ---------- */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.15fr 1fr 1.2fr; gap: 34px; }
.footer-logo { width: 200px; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--sans); margin-bottom: 16px; }
.footer-col li { margin-bottom: 9px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-pay { color: rgba(255,255,255,.5); }

/* ---------- WhatsApp chat button ---------- */
.chat-fab {
  position: fixed; right: 20px; bottom: 22px; z-index: 240;
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px;
  background: #25d366; color: #fff; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .38); transition: transform .2s ease;
}
.chat-fab:hover { transform: translateY(-2px); }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar { display: none; }

/* ---------- Auth ---------- */
.auth-box { max-width: 460px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.auth-lead { color: var(--muted); font-size: 14.5px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.auth-alt a { color: var(--rose); font-weight: 600; }

/* ---------- Account ---------- */
.account-layout { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: 36px; align-items: start; }
.account-nav { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; position: sticky; top: 96px; }
.account-who { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.account-who .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; flex-shrink: 0; }
.account-who strong { display: block; font-size: 14.5px; }
.account-who small { color: var(--muted); font-size: 12.5px; word-break: break-all; }
.account-nav > a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.account-nav > a:hover { background: var(--cream); }
.account-nav > a.on { background: var(--navy); color: #fff; }
.account-nav > a.on .ico { color: var(--gold-light); }
.account-nav .logout { color: var(--rose); border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; }
.block-title { font-size: 21px; margin: 0 0 18px; }
.account-body .block-title:not(:first-child) { margin-top: 34px; }
.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat-card span { color: var(--gold); display: block; margin-bottom: 8px; }
.stat-card strong { display: block; font-family: var(--serif); font-size: 24px; color: var(--navy); }
.stat-card small { color: var(--muted); font-size: 12.5px; }

.tier-card { background: linear-gradient(120deg, var(--navy) 0%, #2b3559 100%); color: #fff; border-radius: var(--radius); padding: 26px 30px; margin-bottom: 30px; }
.tier-card h3 { color: #fff; margin-bottom: 6px; }
.tier-card p { color: rgba(255,255,255,.78); font-size: 14px; }
.tier-card small { color: rgba(255,255,255,.62); font-size: 12.5px; }
.tier-bar { height: 7px; background: rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; margin: 12px 0 8px; max-width: 360px; }
.tier-bar i { display: block; height: 100%; background: var(--gold); }

.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-table th { background: var(--cream-deep); font-family: var(--sans); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.data-table tr:last-child td { border-bottom: none; }

.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .4px; background: var(--cream-deep); color: var(--muted); }
.pill-confirmed, .pill-processing { background: #fdf1d8; color: #97730d; }
.pill-shipped, .pill-out_for_delivery { background: #e2ecfb; color: #23558f; }
.pill-delivered { background: #e8f5ee; color: #1f7a4d; }
.pill-cancelled { background: #fbe4e9; color: var(--rose-deep); }
.pill-pending { background: var(--cream-deep); color: var(--muted); }

.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.order-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 26px; }
.order-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.order-box h4 { font-size: 15px; margin-bottom: 12px; }
.review-nudge { margin-top: 26px; background: var(--cream-deep); border-radius: var(--radius); padding: 22px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.review-nudge p { margin: 0; width: 100%; font-size: 14.5px; }

.my-review { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.mr-thumb img { width: 92px; height: 92px; object-fit: cover; border-radius: 8px; }
.mr-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; margin-top: 10px; }

.address-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 10px; }
.address-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.address-card.is-default { border-color: var(--gold); }
.ac-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.address-card p { color: var(--muted); font-size: 14px; }
.ac-actions { display: flex; gap: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.link-btn { background: none; border: none; cursor: pointer; color: var(--rose); font-size: 13px; font-family: var(--sans); padding: 0; }
.link-btn.danger { color: #a33; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 0; margin: 24px 0 30px; padding: 0; }
.timeline li { display: flex; gap: 16px; position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline .tl-dot {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center; color: transparent; flex-shrink: 0; z-index: 1;
}
.timeline li.done .tl-dot { background: #1f7a4d; border-color: #1f7a4d; color: #fff; }
.timeline li.done::before { background: #1f7a4d; }
.timeline li.current .tl-dot { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.timeline li strong { display: block; font-size: 15px; }
.timeline li:not(.done):not(.current) strong { color: var(--muted); }
.tl-now { font-size: 12.5px; color: var(--gold); font-weight: 600; }

.track-wrap { max-width: 820px; margin: 0 auto; }
.track-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.track-result { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.track-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.track-head h2 { margin-bottom: 4px; }
.track-total { text-align: right; }
.track-total > span { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.track-total strong { font-family: var(--serif); font-size: 26px; color: var(--navy); }
.track-total small { display: block; font-size: 12px; color: var(--muted); }
.track-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; border-top: 1px solid var(--border); padding-top: 22px; margin-top: 8px; }
.track-cols h4 { font-size: 15px; margin-bottom: 12px; }
.track-items li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--border); }
.track-log-head { margin-top: 24px; font-size: 15px; }
.track-log li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.track-log time { color: var(--muted); font-size: 12.5px; }
.track-log span { color: var(--muted); font-size: 13px; width: 100%; }
.track-help { text-align: center; margin-top: 24px; color: var(--muted); font-size: 14px; }
.track-help a { color: var(--rose); }

/* ---------- Policy pages ---------- */
.policy-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.policy-nav { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: sticky; top: 96px; }
.policy-nav h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-family: var(--sans); color: var(--muted); margin-bottom: 14px; }
.policy-nav a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 14px; color: var(--ink); }
.policy-nav a:hover { background: var(--cream); }
.policy-nav a.on { background: var(--navy); color: #fff; }
.policy-body { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 42px; }
.policy-body h3 { font-size: 20px; margin: 30px 0 12px; }
.policy-body h3:first-of-type { margin-top: 0; }
.policy-body p, .policy-body li { color: var(--muted); font-size: 14.8px; }
.policy-body ul, .policy-body ol { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.policy-body ol { list-style: decimal; }
.policy-body li { margin-bottom: 7px; }
.policy-table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14px; }
.policy-table th, .policy-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.policy-table th { background: var(--cream-deep); font-family: var(--sans); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.policy-foot { border-top: 1px solid var(--border); margin-top: 30px; padding-top: 18px; }
.policy-foot p { margin-bottom: 4px; }
.policy-foot a { color: var(--rose); }
.policy-foot small { color: var(--muted); font-size: 12.5px; }
.lang-switch { display: inline-flex; gap: 6px; margin-bottom: 24px; background: var(--cream-deep); padding: 4px; border-radius: 999px; }
.lang-switch a { padding: 7px 18px; border-radius: 999px; font-size: 13.5px; color: var(--muted); }
.lang-switch a.on { background: var(--navy); color: #fff; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-family: var(--serif); font-size: 17px;
  color: var(--navy); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { color: var(--gold); transition: transform .2s ease; flex-shrink: 0; display: inline-flex; }
.faq-item[open] .faq-mark { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: 14.8px; }
.faq-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; text-align: center; margin-top: 26px; }
.faq-cta h3 { color: #fff; }
.faq-cta p { color: rgba(255,255,255,.72); }
.faq-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.faq-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }

/* ---------- Checkout extras ---------- */
.pay-option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 10px; cursor: pointer; background: var(--white); transition: border-color .2s ease; }
.pay-option:hover { border-color: var(--gold); }
.pay-option input { margin-top: 4px; width: auto; flex-shrink: 0; }
.pay-option strong { display: block; font-size: 15px; }
.pay-option small { color: var(--muted); font-size: 13px; }
.agree-check { margin: 22px 0; font-size: 14px; }
.agree-check a { color: var(--rose); text-decoration: underline; }
.coupon-form { display: flex; gap: 8px; margin: 14px 0 8px; }
.coupon-form input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--sans); }
.coupon-on { font-size: 13px; color: #1f7a4d; display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.summary-row.discount span:last-child { color: #1f7a4d; }
.summary-note { font-size: 12.5px; color: var(--muted); margin: 8px 0 14px; }
.opt { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.qty-input { width: 70px; padding: 8px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--sans); }
.cart-prod small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.remove-link { background: none; border: none; cursor: pointer; color: var(--rose); font-size: 13.5px; font-family: var(--sans); }

/* ---------- Order success ---------- */
.success-box { max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; text-align: center; box-shadow: var(--shadow); }
.success-box .ic { display: flex; justify-content: center; color: #1f7a4d; margin-bottom: 14px; }
.success-box h1 { font-size: clamp(24px, 3.4vw, 32px); }
.order-no { display: inline-block; background: var(--cream-deep); padding: 12px 26px; border-radius: 999px; margin: 10px 0 26px; font-size: 14.5px; }
.order-no strong { font-family: var(--serif); font-size: 18px; letter-spacing: 1px; }
.success-summary { text-align: left; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; margin-bottom: 24px; }
.success-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; text-align: left; margin-bottom: 26px; }
.success-meta h4 { font-size: 15px; margin-bottom: 10px; }
.success-meta p { color: var(--muted); font-size: 14px; }
.next-steps { list-style: decimal; padding-left: 18px; color: var(--muted); font-size: 14px; }
.next-steps li { margin-bottom: 6px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.success-note { font-size: 13px; color: var(--muted); margin: 20px 0 0; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: all .25s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.contact-card .ic { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream); color: var(--gold); margin-bottom: 12px; }
.contact-card strong { display: block; font-family: var(--serif); font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.contact-card > span:last-child { font-size: 13.5px; color: var(--muted); word-break: break-word; }
.contact-addr { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.contact-addr .ico { margin-top: 3px; color: var(--gold); flex-shrink: 0; }

/* ---------- Misc ---------- */
.alert-info { background: #eef4fb; border: 1px solid #cddef2; color: #23558f; }
.alert-info a { color: #23558f; font-weight: 600; text-decoration: underline; }
.muted { color: var(--muted); }
.mt { margin-top: 14px; }
.empty-state.sm { padding: 40px 20px; }
.empty-state.sm .ic { color: var(--gold); }
.quick-links li { margin-bottom: 8px; }
.quick-links a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.quick-links a:hover { color: var(--rose); }
.section-cta { text-align: center; margin-top: 36px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .photo-wall { grid-template-columns: repeat(4, 1fr); }
  .occasion-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .reviews-layout { grid-template-columns: 1fr; gap: 26px; }
  .account-layout, .policy-layout { grid-template-columns: 1fr; gap: 22px; }
  .account-nav, .policy-nav { position: static; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .toprated-row { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .order-cols, .track-cols, .success-meta, .address-grid { grid-template-columns: 1fr; }
  .policy-body { padding: 28px 24px; }
}

@media (max-width: 760px) {
  /* Off-canvas nav gets the full set of links, dropdowns flattened */
  .main-nav .has-drop { width: 100%; }
  .main-nav .drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none; padding: 4px 0 4px 14px;
  }
  .main-nav .drop a { color: rgba(255,255,255,.72); font-size: 13.5px; padding: 7px 0; }
  .main-nav .drop a:hover { background: transparent; color: var(--gold-light); }
  .main-nav .drop .drop-all { border-top-color: rgba(255,255,255,.16); color: var(--gold-light); }
  .nav-close { position: absolute; top: 22px; right: 20px; background: none; border: none; color: #fff; cursor: pointer; }

  .filter-open { display: inline-flex; }
  .filter-head { display: flex; }
  .filter-box {
    position: fixed; inset: 0 auto 0 0; width: 86%; max-width: 340px; z-index: 260;
    overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease;
    border-radius: 0; box-shadow: var(--shadow-lg);
  }
  .filter-box.open { transform: translateX(0); }

  .photo-wall { grid-template-columns: repeat(2, 1fr); }
  .occasion-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .collection-grid, .contact-cards { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .love-box { padding: 24px 22px; }
  .review-form-box { padding: 22px; }
  .success-box { padding: 28px 20px; }
  .track-result { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { justify-content: center; text-align: center; }
  .buy-form { display: grid; grid-template-columns: 1fr; }
  .buy-form .qty-stepper { justify-self: start; }

  /* Fixed bottom bar on phones */
  .mobile-bar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; inset: auto 0 0 0; z-index: 230;
    background: var(--white); border-top: 1px solid var(--border);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(27,35,64,.08);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: var(--muted); position: relative; }
  .mobile-bar a .ico { color: var(--navy); }
  .mobile-bar .has-badge { position: relative; }
  .mobile-bar .badge { top: -3px; right: 50%; margin-right: -20px; }
  body { padding-bottom: 66px; }
  .chat-fab { bottom: 80px; right: 14px; padding: 12px 16px; }
  .chat-fab span { display: none; }
}

@media (max-width: 500px) {
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .my-review { grid-template-columns: 1fr; }
  .mr-thumb img { width: 100%; height: 160px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
}

/* ---------- Header fit-and-finish (overrides earlier rules) ---------- */
/* The off-canvas close button only exists on phones. */
.nav-close { display: none; }

/* Nav has more links now, so tighten spacing and stop labels wrapping. */
.main-nav { gap: 22px; flex-wrap: nowrap; }
.main-nav > a, .main-nav .has-drop > a { white-space: nowrap; font-size: 14px; }
.header-inner { gap: 18px; }
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

@media (max-width: 1180px) {
  .main-nav { gap: 16px; }
  .main-nav > a, .main-nav .has-drop > a { font-size: 13.2px; }
  .topbar-note { display: none; }
}

@media (max-width: 760px) {
  .nav-close { display: block; }
}

/* Three top-level categories, so the showcase needs three columns. */
.cat-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } }

/* Trust strip: keep the icon clear of the bilingual label. */
.trust-item { align-items: flex-start; gap: 12px; }
.trust-item .ic { flex-shrink: 0; }
.trust-item div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trust-item strong { line-height: 1.3; }
.trust-item span { line-height: 1.45; }

/* Bengali conjuncts need a little more leading than Latin. */
.trust-item span, .faq-item summary, .faq-answer, .policy-body { line-height: 1.75; }

/* Product description tabs (markup uses .tab-heads/.tab-head). */
.tabs { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 30px 20px; }
.tab-heads { display: flex; gap: 30px; border-bottom: 1px solid var(--border); }
.tab-head {
  background: none; border: none; padding: 16px 0; font-family: var(--sans); font-size: 15px;
  font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.tab-head:hover { color: var(--navy); }
.tab-head.active { color: var(--navy); border-bottom-color: var(--gold); }
.tab-panel p:last-child { margin-bottom: 0; }
.tab-panel a { color: var(--rose); }
