/* ============================================================
   MISCHIP — Premium Style System
   ============================================================ */

/* ---- GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- DESIGN TOKENS ---- */
:root {
  --brand:        #7A1F3D;
  --brand-light:  #9B2D50;
  --brand-dark:   #5C1630;
  --accent:       #C0392B;
  --purple:       #4B4375;
  --purple-light: #6B62A8;
  --gold:         #F5A623;

  --bg:           #F8FAFC;
  --bg2:          #F1F5F9;
  --card:         #FFFFFF;
  --border:       #E2E8F0;
  --dark:         #0F172A;
  --body:         #334155;
  --muted:        #64748B;
  --light:        #94A3B8;

  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:       0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-md:    0 8px 28px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.05);
  --shadow-lg:    0 20px 48px rgba(0,0,0,.14), 0 8px 20px rgba(0,0,0,.07);

  --header-h:     58px;
  --catbar-h:     46px;
  --total-header: 104px;
}

/* ---- PAGE TRANSITIONS ---- */
/* Cross-fade between pages in browsers that support MPA view transitions */
@view-transition { navigation: auto; }
/* Fallback: gentle fade-in of the page content on load */
main { animation: page-fade .28s ease both; }
@keyframes page-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h); /* categories bar exists on home only */
  line-height: 1.6;
}
body.has-catbar { padding-top: var(--total-header); }
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }

/* ============================================================
   HEADER
   ============================================================ */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  transition: box-shadow .3s;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 5%;
  height: var(--header-h);
  background: #F5EDF0; /* slightly darker than the page for separation */
  border-bottom: 1px solid #EADDE2;
}

/* ---- Brand ---- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-svg { height: 36px; width: auto; display: block; }
.brand-text h1 {
  font-size: 1rem;
  font-weight: 800;
  color: #A5215D;
  letter-spacing: 2.5px;
  line-height: 1.1;
}
.brand-text p {
  font-size: .52rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

/* ---- Search ---- */
.search-wrap {
  flex: 1;
  max-width: 400px;
  position: relative;
}
.search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .85rem;
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  padding: 0 16px 0 42px;
  font-size: .875rem;
  color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
}
.search-wrap input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(122,31,61,.10);
  background: #fff;
}
.search-wrap input::placeholder { color: var(--light); }

/* ---- Nav ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-item {
  font-size: .83rem;
  font-weight: 500;
  color: var(--body);
  padding: 7px 13px;
  border-radius: 100px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-item:hover { color: var(--brand); background: rgba(122,31,61,.06); }
.nav-item.active { color: var(--brand); background: rgba(122,31,61,.08); }

/* ---- Wishlist icon button ---- */
.icon-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--body);
  font-size: .95rem;
  transition: border-color .2s, color .2s, background .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.icon-nav-btn:hover { border-color: #f43f5e; color: #f43f5e; background: rgba(244,63,94,.05); }

/* ---- Cart button: icon + label + inline count (no bubble) ---- */
.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(122,31,61,.25);
  transition: background .2s, box-shadow .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-btn:hover { background: var(--brand-light); box-shadow: 0 5px 14px rgba(122,31,61,.35); }
.cart-btn i { font-size: .85rem; }
.cart-count {
  display: none;
  padding-left: 9px;
  border-left: 1px solid rgba(255,255,255,.35);
  font-weight: 800;
}
.cart-count.visible { display: inline-block; }

/* ---- Mobile menu ---- */
.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--body);
  font-size: .95rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .2s, color .2s;
}
.menu-toggle:hover { border-color: var(--brand); color: var(--brand); }
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  padding: 10px 5% 14px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-item { padding: 12px 10px; font-size: .9rem; border-radius: var(--radius-sm); }
.mobile-menu { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }

/* ---- Category Bar ---- */
.header-bottom {
  height: var(--catbar-h);
  padding: 0 5%;
  background: #fff;
  overflow: hidden;
  transition: height .28s ease, opacity .2s ease;
}
/* Collapsed on scroll-down; body padding stays constant so content never jumps */
.header-bottom.collapsed { height: 0; opacity: 0; pointer-events: none; }

.category-list {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 100%;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.category-list::-webkit-scrollbar { display: none; }

.cat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg2);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  flex-shrink: 0;
}
.cat-pill:hover {
  background: white;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.cat-pill.active {
  background: white;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(122,31,61,.08), var(--shadow-sm);
}
.cat-pill .cat-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.cat-pill .cat-emoji { font-size: .95rem; line-height: 1; }
.cat-pill .cat-label {
  font-size: .74rem;
  font-weight: 600;
  color: var(--body);
  transition: color .2s;
}
.cat-pill.active .cat-label { color: var(--brand); }

/* ============================================================
   SHARED BUTTONS & EYEBROW
   ============================================================ */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(122,31,61,.08);
  color: var(--brand);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  transition: all .22s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 20px rgba(122,31,61,.30);
}
.btn-primary:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(122,31,61,.38);
}
.btn-secondary {
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background: transparent;
}
.btn-secondary:hover {
  background: rgba(122,31,61,.06);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 5%;
  margin: 26px 0 16px;
}
.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}
.section-header h2 span { color: var(--brand); }
.section-header p { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.view-all-link {
  font-size: .83rem;
  font-weight: 600;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: gap .2s;
}
.view-all-link:hover { gap: 8px; }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 0 5% 48px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state i { font-size: 2.5rem; margin-bottom: 14px; opacity: .4; }
.empty-state p { font-size: .95rem; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Badge */
.card-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--brand);
  color: white;
  font-size: .62rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 5;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.card-badge.purple { background: var(--purple); }
.card-badge.gold { background: var(--gold); color: var(--dark); }
.card-badge.green { background: #16a34a; }

.moq-tag {
  font-size: .7rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg2);
  padding: 3px 8px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}
.price-off { font-size: .72rem; font-weight: 700; color: #16a34a; background: rgba(22,163,74,.1); padding: 2px 7px; border-radius: 100px; }

/* Enquiry / Add buttons (also used on product details page) */
.btn-enquiry {
  flex: 1;
  background: transparent;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  font-size: .8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  transition: all .2s;
}
.btn-enquiry:hover { background: rgba(122,31,61,.06); }
.btn-addcart {
  flex: 1;
  background: var(--brand);
  color: white;
  font-size: .8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  transition: all .2s;
  box-shadow: 0 4px 12px rgba(122,31,61,.25);
}
.btn-addcart:hover { background: var(--brand-light); box-shadow: 0 6px 16px rgba(122,31,61,.32); }

/* ============================================================
   ENQUIRY MODAL (shared)
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modal-in .22s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}
.modal-header {
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.modal-title { font-size: 1rem; font-weight: 700; color: var(--dark); }
.modal-sub   { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.modal-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg2);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
  margin-left: 16px;
}
.modal-close:hover { background: var(--border); color: var(--dark); }
.modal-body { padding: 20px 28px 28px; }
.modal-body form { display: flex; flex-direction: column; gap: 12px; }
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: .875rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(122,31,61,.09);
  background: white;
}
.form-field textarea { resize: vertical; min-height: 80px; }
.btn-submit {
  width: 100%;
  background: var(--brand);
  color: white;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 13px;
  box-shadow: 0 6px 20px rgba(122,31,61,.30);
  transition: all .2s;
  margin-top: 4px;
}
.btn-submit:hover { background: var(--brand-light); box-shadow: 0 8px 24px rgba(122,31,61,.38); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.modal-success {
  text-align: center;
  padding: 24px 28px 36px;
}
.modal-success .suc-icon { font-size: 3rem; color: #16a34a; margin-bottom: 14px; }
.modal-success h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.modal-success p { font-size: .85rem; color: var(--muted); margin-top: 8px; line-height: 1.6; }

/* ============================================================
   CART PAGE
   ============================================================ */
.page-wrap {
  flex: 1;
  padding: 40px 5%;
  width: 100%;
}
.page-title { font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-bottom: 28px; }
.page-title span { color: var(--brand); }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.cart-items-wrap { background: white; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: var(--bg); }
.cart-item-img {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg2);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: .9rem; font-weight: 600; color: var(--dark); line-height: 1.3; }
.cart-item-info .moq-tag { margin-top: 4px; }
.cart-item-info .unit-price { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 32px; height: 32px;
  background: var(--bg2);
  border: none;
  color: var(--body);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.qty-btn:hover { background: var(--border); color: var(--dark); }
.qty-val {
  width: 40px;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0;
  height: 32px;
  background: white;
}
.qty-val::-webkit-inner-spin-button { display: none; }
.cart-item-total { font-size: .95rem; font-weight: 700; color: var(--dark); min-width: 70px; text-align: right; }
.cart-remove {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--light);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cart-remove:hover { background: rgba(239,68,68,.1); color: #ef4444; }

.empty-cart {
  padding: 64px 20px;
  text-align: center;
  color: var(--muted);
}
.empty-cart i { font-size: 3rem; margin-bottom: 16px; opacity: .35; }
.empty-cart p { font-size: .95rem; margin-bottom: 20px; }

.cart-summary-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
}
.summary-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: .875rem;
}
.summary-row .label { color: var(--muted); }
.summary-row .value { font-weight: 600; color: var(--dark); }
.summary-divider { height: 1px; background: var(--border); margin: 14px 0; }
.summary-total .label { font-weight: 700; color: var(--dark); font-size: .95rem; }
.summary-total .value { font-size: 1.1rem; font-weight: 800; color: var(--brand); }
.shipping-note {
  font-size: .72rem;
  color: var(--muted);
  background: var(--bg2);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin: 14px 0;
  line-height: 1.5;
}
.btn-checkout {
  width: 100%;
  background: var(--brand);
  color: white;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: 0 6px 20px rgba(122,31,61,.30);
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.btn-checkout:hover { background: var(--brand-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(122,31,61,.38); }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
.form-section {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
}
.form-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title i { color: var(--brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: .875rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.form-group select { cursor: pointer; }
.form-group textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 90px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(122,31,61,.09);
  background: white;
}
.checkout-submit-row { margin-top: 24px; }
.btn-place-order {
  width: 100%;
  background: var(--brand);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 15px;
  box-shadow: 0 6px 20px rgba(122,31,61,.30);
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-place-order:hover { background: var(--brand-light); box-shadow: 0 8px 24px rgba(122,31,61,.38); }
.btn-place-order:disabled { opacity: .6; cursor: not-allowed; }

.checkout-summary-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.checkout-items { margin: 14px 0; }
.co-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: center;
}
.co-item img {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg2);
  flex-shrink: 0;
}
.co-item-info { flex: 1; }
.co-item-info h5 { font-size: .82rem; font-weight: 600; color: var(--dark); line-height: 1.3; }
.co-item-info span { font-size: .75rem; color: var(--muted); }
.co-item-price { font-size: .9rem; font-weight: 700; color: var(--dark); white-space: nowrap; }

.success-box {
  padding: 48px 28px;
  text-align: center;
}
.success-box .suc-ring {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(22,163,74,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-box .suc-ring i { font-size: 2.5rem; color: #16a34a; }
.success-box h3 { font-size: 1.25rem; font-weight: 800; color: var(--dark); }
.success-box p { font-size: .875rem; color: var(--muted); margin-top: 8px; line-height: 1.7; max-width: 340px; margin-left: auto; margin-right: auto; }
.success-box .btn-primary { margin: 24px auto 0; display: inline-flex; }

/* ============================================================
   GALLERY PAGE — Instagram-style grid
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 5% 48px;
  width: 100%;
}

.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg2);
}
.ig-tile img,
.ig-tile video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.ig-tile:hover .ig-overlay { opacity: 1; }
.ig-overlay span {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ig-video-badge {
  position: absolute;
  top: 8px; right: 8px;
  color: #fff;
  font-size: .8rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ---- LIGHTBOX ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,8,20,.92);
  backdrop-filter: blur(8px);
  z-index: 3000;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  flex-shrink: 0;
}
.lightbox-meta { display: flex; flex-direction: column; gap: 2px; }
.lightbox-meta .lb-event { font-size: .72rem; color: rgba(255,255,255,.5); }
.lightbox-meta .lb-likes { color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 6px; }
.lb-actions { display: flex; gap: 10px; align-items: center; }
.lb-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn.flag-btn { color: #fbbf24; border-color: rgba(251,191,36,.3); }
.lb-btn.flag-btn:hover { background: rgba(251,191,36,.15); }
.lb-close {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: white;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.2); }

.lightbox-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px 72px;
}
.lightbox-body img,
.lightbox-body video {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  color: white;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s;
  z-index: 5;
}
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lightbox-footer {
  padding: 14px 24px 20px;
  text-align: center;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  flex-shrink: 0;
}
.lightbox-footer .lb-caption { line-height: 1.5; }
.lightbox-footer .lb-counter { font-size: .72rem; color: rgba(255,255,255,.45); margin-top: 4px; }

/* ---- Flag Dialog ---- */
.flag-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.65);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.flag-overlay.open { display: flex; }
.flag-box {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  animation: modal-in .22s ease;
}
.flag-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.flag-box h3 i { color: #f59e0b; }
.flag-box p { font-size: .83rem; color: var(--muted); margin-bottom: 18px; line-height: 1.5; }
.flag-box textarea {
  width: 100%;
  height: 110px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .875rem;
  color: var(--dark);
  background: var(--bg);
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.flag-box textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245,158,11,.12);
  background: white;
}
.flag-actions { display: flex; gap: 10px; margin-top: 16px; }
.btn-flag-cancel {
  flex: 1;
  background: var(--bg2);
  border: none;
  color: var(--body);
  font-size: .875rem;
  font-weight: 600;
  padding: 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s;
}
.btn-flag-cancel:hover { background: var(--border); }
.btn-flag-submit {
  flex: 1;
  background: #f59e0b;
  border: none;
  color: white;
  font-size: .875rem;
  font-weight: 600;
  padding: 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s;
  box-shadow: 0 4px 14px rgba(245,158,11,.30);
}
.btn-flag-submit:hover { background: #d97706; }
.btn-flag-submit:disabled { opacity: .6; cursor: not-allowed; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, #fff5f7 0%, #f8f4ff 100%);
  padding: 60px 5% 50px;
  text-align: center;
}
.about-hero h1 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.about-hero h1 span { color: var(--brand); }
.about-hero p { font-size: .95rem; color: var(--muted); max-width: 600px; margin: 0 auto; line-height: 1.7; }

.about-story {
  padding: 48px 5% 8px;
  width: 100%;
}
.about-story h2 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.about-story h2 span { color: var(--brand); }
.about-story p { font-size: .9rem; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 5% 50px;
}
.offering-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.offering-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.offering-card .ico { font-size: 2rem; margin-bottom: 12px; }
.offering-card h4 { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.offering-card p { font-size: .78rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 50px 5%;
  align-items: start;
}
.contact-info h2 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.contact-info h2 span { color: var(--brand); }
.contact-info p { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-detail .det-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(122,31,61,.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.contact-detail h5 { font-size: .8rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.contact-detail p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.5; }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
  transition: all .2s;
}
.whatsapp-btn:hover { background: #1ebe5d; transform: translateY(-1px); }

.contact-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-form-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
  background: var(--dark);
  padding: 48px 5% 28px;
  margin-top: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-brand .fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand .fb-logo .logo-svg { height: 32px; }
.footer-brand .fb-logo span { font-size: 1rem; font-weight: 800; color: white; letter-spacing: .5px; }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 240px; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: background .2s, color .2s;
}
.social-icon:hover { background: var(--brand); color: white; border-color: var(--brand); }

.footer-col h4 { font-size: .82rem; font-weight: 700; color: white; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col ul li a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.85); }
.wa-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #25D366 !important;
}

/* ============================================================
   WISHLIST
   ============================================================ */
.wish-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .9rem;
  z-index: 6;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, color .2s, background .2s;
}
.wish-btn:hover { transform: scale(1.12); color: #f43f5e; }
.wish-btn.active { color: #f43f5e; background: rgba(244,63,94,.10); }

.view-details-hint {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(15,23,42,.78);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity .22s, transform .22s;
  pointer-events: none;
  white-space: nowrap;
}
.product-card:hover .view-details-hint { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Mini toast (wishlist / hamper) ---- */
.mini-toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: white;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.3);
  transition: opacity .3s;
}
.mini-toast a { color: #93c5fd; font-weight: 700; }

/* ============================================================
   PRODUCT DETAILS PAGE
   ============================================================ */
.pd-wrap {
  padding: 28px 5% 20px;
  width: 100%;
}
.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pd-breadcrumb a { color: var(--muted); transition: color .2s; }
.pd-breadcrumb a:hover { color: var(--brand); }
.pd-breadcrumb i { font-size: .55rem; opacity: .6; }
.pd-breadcrumb span { color: var(--dark); font-weight: 600; }

.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pd-main-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}
.pd-main-img img,
.pd-main-img video { width: 100%; height: 100%; object-fit: cover; }
.pd-main-img video { cursor: default; background: #000; }
.pd-zoom-hint {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  box-shadow: var(--shadow-sm);
  z-index: 4;
  pointer-events: none;
}
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb {
  position: relative;
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--bg2);
  transition: border-color .2s;
  flex-shrink: 0;
}
.pd-thumb.active { border-color: var(--brand); }
.pd-thumb img,
.pd-thumb video { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb-play {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  z-index: 2;
}

.pd-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-cat-chip {
  font-size: .72rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(122,31,61,.07);
  padding: 5px 12px;
  border-radius: 100px;
  transition: background .2s;
}
.pd-cat-chip:hover { background: rgba(122,31,61,.14); }

.pd-info { display: flex; flex-direction: column; gap: 14px; }
.pd-info > * { margin: 0; }

.pd-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
}

.pd-rating-row { display: flex; align-items: center; gap: 10px; }
.pd-rating-count { font-size: .78rem; color: var(--muted); font-weight: 500; }

/* Price panel */
.pd-price-panel {
  background: linear-gradient(135deg, #fdf7f9 0%, #faf7fd 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.pd-price-main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd-price { font-size: 1.8rem; font-weight: 800; color: var(--dark); }
.pd-mrp-inline { font-size: .8rem; color: var(--muted); }
.pd-mrp-inline s { color: var(--light); }
.pd-save-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(22,163,74,.10);
  color: #15803d;
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 100px;
  margin-top: 8px;
}
.pd-tax-note {
  font-size: .72rem;
  color: var(--muted);
  margin-top: 7px;
}
.pd-offer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .8rem;
  color: var(--body);
  background: rgba(245,166,35,.10);
  border: 1px dashed rgba(245,166,35,.5);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 10px;
  line-height: 1.5;
}
.pd-offer i { color: #b45309; margin-top: 2px; }
.pd-price-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: .74rem;
  color: var(--muted);
}
.pd-price-meta i { color: var(--brand); font-size: .68rem; margin-right: 4px; }
.pd-moq-chip {
  background: rgba(245,166,35,.14);
  color: #92400e;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.pd-moq-chip i { color: #b45309 !important; }

.pd-desc {
  font-size: .88rem;
  color: var(--body);
  line-height: 1.8;
}

/* Highlights card */
.pd-features-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: white;
}
.pd-features-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-features-title i { color: var(--gold); }
.pd-features { list-style: none; }
.pd-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: var(--body);
  margin-bottom: 8px;
  line-height: 1.5;
}
.pd-features li:last-child { margin-bottom: 0; }
.pd-features li i { color: #16a34a; margin-top: 3px; font-size: .8rem; }

.pd-buy-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pd-btn-cart {
  flex: 1;
  padding: 13px 20px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wish-btn.pd-wish {
  position: static;
  width: 46px; height: 46px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.wish-btn.pd-wish.active { border-color: rgba(244,63,94,.4); background: rgba(244,63,94,.06); }
.pd-btn-enquire {
  width: 100%;
  padding: 12px;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pd-marketplace {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: var(--bg2);
  border-radius: var(--radius-sm);
}
.pd-mp-label { font-size: .78rem; font-weight: 600; color: var(--muted); }
.pd-mp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: transform .15s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.pd-mp-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.pd-mp-btn.amazon   { background: #232f3e; color: #ff9900; }
.pd-mp-btn.flipkart { background: #2874f0; color: #fff; }

.pd-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--muted);
}
.pd-trust-item i { color: var(--brand); }

/* ============================================================
   HAMPER BUILDER
   ============================================================ */
.hb-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 5%;
  background: linear-gradient(135deg, #fff5f7 0%, #f8f4ff 100%);
  border-bottom: 1px solid var(--border);
}
.hb-hero h1 { font-size: 1.25rem; font-weight: 800; color: var(--dark); }
.hb-hero h1 span { color: var(--brand); }
.hb-hero p { font-size: .78rem; color: var(--muted); margin-top: 2px; line-height: 1.5; }

.hb-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hb-step {
  display: flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--body);
  box-shadow: var(--shadow-sm);
}
.hb-step-num {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: .62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hb-step-arrow { color: var(--light); font-size: .72rem; }

.hb-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
  padding: 20px 5% 48px;
}

.hb-picker {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.hb-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hb-picker-head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hb-picker-head h3 i { color: var(--brand); }

.hb-head-tools { display: flex; align-items: center; gap: 10px; }
.hb-search {
  position: relative;
  width: 220px;
}
.hb-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .75rem;
  pointer-events: none;
}
.hb-search input {
  width: 100%;
  height: 34px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  padding: 0 12px 0 32px;
  font-size: .78rem;
  color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
}
.hb-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(122,31,61,.09);
  background: white;
}

.hb-filter-toggle {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: white;
  color: var(--muted);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.hb-filter-toggle:hover { border-color: var(--brand); color: var(--brand); }
.hb-filter-toggle.active {
  background: rgba(122,31,61,.07);
  border-color: var(--brand);
  color: var(--brand);
}

/* Collapsible filter panel (default open via .open in markup) */
.hb-filter {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  animation: hb-filter-in .2s ease;
}
.hb-filter.open { display: flex; }
@keyframes hb-filter-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.hb-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hb-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s;
  background: var(--bg);
}
.hb-item.selected {
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 3px rgba(122,31,61,.08);
}
.hb-item-img {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--bg2);
}
.hb-item-img img { width: 100%; height: 100%; object-fit: cover; }
.hb-item-count {
  position: absolute;
  top: 8px; right: 8px;
  min-width: 24px; height: 24px;
  background: var(--brand);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid white;
}
.hb-item-info h4 {
  font-size: .78rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.1em;
}
.hb-item-price { font-size: .85rem; font-weight: 700; color: var(--brand); }
.hb-add-btn {
  background: white;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 700;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .2s;
}
.hb-add-btn:hover { background: var(--brand); color: white; }
.hb-qty-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.hb-qty-num {
  flex: 1;
  text-align: center;
  font-size: .875rem;
  font-weight: 700;
  color: var(--dark);
  background: white;
  line-height: 32px;
}

/* ---- Summary panel ---- */
.hb-summary {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.hb-summary .summary-title { display: flex; align-items: center; gap: 8px; }
.hb-empty {
  text-align: center;
  padding: 26px 10px;
  color: var(--muted);
}
.hb-empty i { font-size: 2rem; opacity: .35; margin-bottom: 10px; }
.hb-empty p { font-size: .82rem; line-height: 1.6; }

.hb-sel-list { margin-bottom: 6px; max-height: 260px; overflow-y: auto; }
.hb-sel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.hb-sel-item:last-child { border-bottom: none; }
.hb-sel-item img {
  width: 38px; height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg2);
}
.hb-sel-info { flex: 1; min-width: 0; }
.hb-sel-name {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hb-sel-qty { font-size: .7rem; color: var(--muted); }
.hb-sel-price { font-size: .8rem; font-weight: 700; color: var(--dark); white-space: nowrap; }

.hb-pack-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 16px 0 10px;
}
.hb-pack-options { display: flex; flex-direction: column; gap: 8px; }
.hb-pack {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "emoji name price" "emoji desc price";
  column-gap: 12px;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
  transition: all .2s;
  background: var(--bg);
}
.hb-pack:hover { border-color: var(--light); background: white; }
.hb-pack.active {
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 3px rgba(122,31,61,.08);
}
.hb-pack-emoji { grid-area: emoji; font-size: 1.3rem; }
.hb-pack-name  { grid-area: name; font-size: .82rem; font-weight: 700; color: var(--dark); }
.hb-pack-desc  { grid-area: desc; font-size: .7rem; color: var(--muted); }
.hb-pack-price { grid-area: price; font-size: .8rem; font-weight: 700; color: var(--brand); }

.btn-checkout:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

/* Cart: custom hamper contents line */
.cart-hamper-contents {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 6px;
  background: var(--bg2);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   HOME: HAMPER PROMO + MARKETPLACE STRIP
   ============================================================ */
.hamper-promo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  margin: 20px 5% 40px;
  padding: 44px 48px;
  background: linear-gradient(135deg, #fff5f7 0%, #f8f4ff 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.hamper-promo h2 { font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.hamper-promo h2 span { color: var(--brand); }
.hamper-promo p { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 18px; max-width: 460px; }
.hp-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--body);
  margin-bottom: 24px;
}
.hp-steps b { color: var(--brand); }
.hp-steps i { color: var(--light); font-size: .75rem; }
.hp-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.marketplace-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 5% 48px;
  padding: 26px 36px;
  background: var(--dark);
  border-radius: var(--radius-lg);
}
.marketplace-strip h3 { font-size: 1.05rem; font-weight: 700; color: white; }
.marketplace-strip p { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 4px; }
.mp-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.marketplace-strip .pd-mp-btn { padding: 12px 22px; font-size: .875rem; }
.marketplace-strip .pd-mp-btn.amazon { background: #ff9900; color: #111; }

/* ============================================================
   HERO SLIDER (home)
   ============================================================ */
.hero-slider {
  position: relative;
  margin: 16px 5% 6px;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hs-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 24px;
  padding: 0 56px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
}
.hs-slide.active { opacity: 1; visibility: visible; }

.hs-slide.theme-maroon { background: linear-gradient(115deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-light) 100%); }
.hs-slide.theme-purple { background: linear-gradient(115deg, #37315a 0%, var(--purple) 55%, var(--purple-light) 100%); }
.hs-slide.theme-dark   { background: linear-gradient(115deg, #0b1120 0%, var(--dark) 55%, #2b3a55 100%); }
.hs-slide.theme-gold   { background: linear-gradient(115deg, #92400e 0%, #b45309 55%, var(--gold) 100%); }

.hs-text { color: #fff; max-width: 520px; }
.hs-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.hs-text h2 { font-size: 1.9rem; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.hs-text h2 b { color: #ffe082; font-weight: 800; }
.hs-text p { font-size: .875rem; line-height: 1.6; opacity: .85; margin-bottom: 20px; }
.hs-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--dark);
  font-size: .85rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 100px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.hs-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.3); }

.hs-img { display: flex; justify-content: flex-end; }
.hs-img img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  border: 3px solid rgba(255,255,255,.25);
}

.hs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background .2s;
}
.hs-nav:hover { background: rgba(255,255,255,.35); }
.hs-prev { left: 12px; }
.hs-next { right: 12px; }

.hs-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}
.hs-dot {
  width: 8px; height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,.4);
  border: none;
  padding: 0;
  transition: width .25s, background .25s;
}
.hs-dot.active { width: 22px; background: #fff; }

/* ============================================================
   HOME TABS
   ============================================================ */
.home-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 5%;
  margin: 20px 0 16px;
}
.home-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.home-tabs::-webkit-scrollbar { display: none; }
.home-tab {
  background: white;
  border: 1.5px solid var(--border);
  color: var(--body);
  font-size: .84rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 100px;
  white-space: nowrap;
  transition: all .2s;
}
.home-tab:hover { border-color: var(--brand); color: var(--brand); }
.home-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  box-shadow: 0 4px 14px rgba(122,31,61,.3);
}

/* Category mode on home (a pill was clicked — grid filters in place) */
.home-cat-mode {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hcm-title { font-size: 1.05rem; font-weight: 800; color: var(--dark); }
.hcm-clear {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--body);
  transition: all .2s;
}
.hcm-clear:hover { border-color: var(--brand); color: var(--brand); }
.hcm-shoplink {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
}

/* ============================================================
   PRODUCT CARD V2
   ============================================================ */
.pc-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg2);
  cursor: pointer;
}
.pc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .pc-media img { transform: scale(1.05); }

.pc-off-chip {
  position: absolute;
  bottom: 10px; left: 10px;
  background: #16a34a;
  color: white;
  font-size: .66rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: .3px;
}

.pc-body {
  padding: 11px 13px 13px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pc-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pc-cat {
  font-size: .66rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-mkt { display: flex; gap: 5px; flex-shrink: 0; }
.pc-mkt-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: transform .15s, box-shadow .2s;
}
.pc-mkt-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.pc-mkt-btn.amz i { font-size: .72rem; color: #232f3e; }
.pc-mkt-btn.fk {
  background: #2874f0;
  border-color: #2874f0;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  font-style: italic;
}

.pc-name {
  font-size: .875rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  transition: color .2s;
}
.pc-name:hover { color: var(--brand); }

.pc-rating { display: flex; align-items: center; gap: 6px; }
.pc-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #16a34a;
  color: white;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}
.pc-stars i { font-size: .58rem; }
.pc-count { font-size: .7rem; color: var(--muted); font-weight: 500; }

.pc-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 1px;
}
.pc-price { font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.pc-was   { font-size: .78rem; color: var(--light); text-decoration: line-through; }

.pc-info {
  font-size: .7rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pc-info i { font-size: .62rem; }

.pc-cta { margin-top: 7px; }
.btn-add {
  width: 100%;
  background: rgba(122,31,61,.07);
  color: var(--brand);
  border: 1.5px solid rgba(122,31,61,.22);
  font-size: .8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all .2s;
}
.btn-add:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  box-shadow: 0 4px 12px rgba(122,31,61,.28);
}

/* ============================================================
   SEARCH SUGGESTIONS
   ============================================================ */
.search-suggest {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  z-index: 1200;
  max-height: 340px;
  overflow-y: auto;
}
.search-suggest.open { display: block; }
.ss-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: .84rem;
  color: var(--body);
  cursor: pointer;
  transition: background .15s;
}
.ss-item:hover { background: var(--bg2); }
.ss-item i.fa-tag { color: var(--brand); font-size: .72rem; }
.ss-item.ss-prod { border-top: 1px solid var(--bg2); }
.ss-item.ss-prod img {
  width: 30px; height: 30px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg2);
}
.ss-item.ss-prod span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ss-item.ss-prod b { font-size: .78rem; color: var(--dark); white-space: nowrap; }
.ss-empty {
  padding: 14px 16px;
  font-size: .8rem;
  color: var(--muted);
}

/* ============================================================
   LISTING (category browse / search results)
   ============================================================ */
.listing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}
.results-title { font-size: 1.35rem; font-weight: 800; color: var(--dark); }
.results-sub   { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.results-sub b { color: var(--brand); }

.listing-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-select {
  height: 31px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--body);
  font-size: .72rem;
  font-weight: 600;
  padding: 0 8px;
  cursor: pointer;
  transition: border-color .2s;
}
.filter-select:focus, .filter-select:hover { border-color: var(--brand); }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 5% 48px;
}
.pagination:empty { padding: 0; }
.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: white;
  color: var(--body);
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all .2s;
}
.page-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.page-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.page-btn:disabled { opacity: .45; cursor: not-allowed; }
.page-dots { color: var(--light); font-weight: 700; padding: 0 2px; }

/* ---- Mobile menu sections ---- */
.mm-section {
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 10px 6px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ============================================================
   COLOUR VARIANTS
   ============================================================ */
/* Card swatch dots */
.pc-swatches { display: flex; gap: 6px; align-items: center; }
.pc-swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--border);
  cursor: pointer;
  padding: 0;
  transition: transform .15s, box-shadow .2s;
}
.pc-swatch:hover { transform: scale(1.15); }
.pc-swatch.active { box-shadow: 0 0 0 2px var(--brand); }

/* Stock notes */
.pc-stock { font-weight: 700; margin-left: 8px; }
.pc-stock.low { color: #b45309; }
.pc-stock.out { color: #dc2626; }
.pd-stock { font-weight: 700; }
.pd-stock.in  { color: #16a34a; }
.pd-stock.low { color: #b45309; }
.pd-stock.out { color: #dc2626; }

.btn-add.out {
  background: var(--bg2);
  border-color: var(--border);
  color: var(--light);
  cursor: not-allowed;
}

/* Details page: category line + colour selector */
.pd-catline {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--muted);
}
.pd-catline i:first-child { color: var(--brand); font-size: .7rem; }
.pd-catline .fa-angle-right { font-size: .6rem; opacity: .6; }

.pd-colors-label { font-size: .8rem; color: var(--body); margin-bottom: 8px; }
.pd-colors-label b { color: var(--dark); }
.pd-swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-swatch {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: white;
  padding: 5px 12px 5px 6px;
  cursor: pointer;
  font-size: .74rem;
  font-weight: 600;
  color: var(--body);
  transition: all .2s;
}
.pd-swatch:hover { border-color: var(--light); }
.pd-swatch.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(122,31,61,.08);
  color: var(--dark);
}
.pd-swatch.oos { opacity: .5; }
.pd-swatch.oos .pd-swatch-name { text-decoration: line-through; }
.pd-swatch-chip {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
  flex-shrink: 0;
}

/* ============================================================
   HAMPER: FLOATING SUMMARY + FILTERS
   ============================================================ */
.hb-count-note { font-size: .74rem; color: var(--muted); margin-top: 12px; }

.hb-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.hb-fab.visible { opacity: 1; transform: none; pointer-events: auto; }

.hb-fab-btn {
  position: relative;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(122,31,61,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, background .2s;
}
.hb-fab-btn:hover { transform: scale(1.06); background: var(--brand-light); }
.hb-fab-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--dark);
  font-size: .68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid white;
}

.hb-fab-panel {
  display: none;
  width: 280px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
}
/* hover on desktop, tap-toggle (.open) everywhere */
.hb-fab:hover .hb-fab-panel,
.hb-fab.open .hb-fab-panel { display: block; }

.hb-fab-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}
.hb-fab-title i { color: var(--brand); }
.hb-fab-empty { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.hb-fab-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  color: var(--body);
  padding: 4px 0;
}
.hb-fab-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hb-fab-qty { color: var(--muted); }
.hb-fab-price { font-weight: 700; color: var(--dark); white-space: nowrap; }
.hb-fab-pack { border-top: 1px dashed var(--border); margin-top: 4px; padding-top: 8px; }
.hb-fab-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 10px;
  font-size: .82rem;
  color: var(--muted);
}
.hb-fab-total b { font-size: .95rem; color: var(--brand); }
.hb-fab-jump {
  width: 100%;
  margin-top: 10px;
  background: rgba(122,31,61,.07);
  border: 1.5px solid rgba(122,31,61,.22);
  color: var(--brand);
  font-size: .76rem;
  font-weight: 700;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all .2s;
}
.hb-fab-jump:hover { background: var(--brand); color: white; border-color: var(--brand); }

/* ============================================================
   SKELETON LOADERS (shimmer placeholders while data "loads")
   ============================================================ */
.sk {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  border-radius: 6px;
}
.sk::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  transform: translateX(-100%);
  animation: sk-shimmer 1.3s infinite;
}
@keyframes sk-shimmer { 100% { transform: translateX(100%); } }

.sk-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sk-card .sk-img { aspect-ratio: 1 / 1; border-radius: 0; }
.sk-card .sk-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 9px; }
.sk-line { height: 12px; }
.sk-tile { aspect-ratio: 1 / 1; border-radius: 0; }
.sk-slider { height: 300px; border-radius: var(--radius-lg); }

/* ============================================================
   CARD QTY STEPPER (shown once an item is in the cart)
   ============================================================ */
.pc-stepper {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: white;
}
.pcs-btn {
  width: 38px;
  background: rgba(122,31,61,.07);
  border: none;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 700;
  transition: background .2s;
}
.pcs-btn:hover { background: var(--brand); color: white; }
.pcs-qty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 800;
  color: var(--dark);
  padding: 8px 4px;
}
.pcs-qty small { font-size: .64rem; font-weight: 600; color: var(--muted); }
.pd-stepper { max-width: 180px; }
.pd-stepper .pcs-btn { width: 42px; }

/* ============================================================
   FULLSCREEN IMAGE VIEWER (product page, with zoom)
   ============================================================ */
.img-viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,8,20,.94);
  z-index: 4500;
  flex-direction: column;
}
.img-viewer.open { display: flex; }
.iv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  flex-shrink: 0;
}
.iv-zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.iv-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: white;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.iv-btn:hover { background: rgba(255,255,255,.25); }
.iv-zoom-label {
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 700;
  min-width: 44px;
  text-align: center;
}
.iv-body {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 60px 30px;
}
.iv-body img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  transition: transform .25s ease;
  transform-origin: center center;
  cursor: zoom-in;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .grid-container { grid-template-columns: repeat(3, 1fr); }
  .hb-items { grid-template-columns: repeat(2, 1fr); }
  .hb-layout { grid-template-columns: 1fr 340px; }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-top .footer-col:last-child { display: none; }
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --total-header: 58px; }
  .header-bottom { display: none; }
  body { padding-top: var(--header-h); }
  /* Collapse text nav into the hamburger; keep wishlist + cart visible */
  .nav-links .nav-item { display: none; }
  .menu-toggle { display: flex; }
  .cart-btn .cart-btn-label { display: none; }
  .hero-slider { height: 260px; margin: 12px 4% 4px; }
  .sk-slider { height: 260px; }
  .iv-body { padding: 10px 16px 24px; }
  .hs-slide { grid-template-columns: 1fr; padding: 0 48px; text-align: center; }
  .hs-img { display: none; }
  .hs-text { max-width: none; }
  .hs-text h2 { font-size: 1.45rem; }
  .home-tabs-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .grid-container { grid-template-columns: repeat(2, 1fr); }
  .lb-nav { display: none; } /* touch devices swipe instead */
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-card { position: relative; top: auto; }
  .pd-layout { grid-template-columns: 1fr; gap: 28px; }
  .hb-layout { grid-template-columns: 1fr; }
  .hb-summary { position: relative; top: auto; }
  .hb-items { grid-template-columns: repeat(3, 1fr); }
  .hamper-promo { grid-template-columns: 1fr; padding: 32px 28px; gap: 28px; }
  .marketplace-strip { justify-content: center; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 580px) {
  .header-top { padding: 0 4%; gap: 10px; }
  .search-wrap { max-width: none; flex: 1; }
  .nav-links { gap: 6px; margin-left: 0; }
  .brand-text { display: none; }
  .icon-nav-btn { display: none; }
  .grid-container { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0 4% 32px; }
  .gallery-grid { gap: 2px; padding: 0 0 32px; } /* edge-to-edge, Instagram-style */
  .lightbox-body { padding: 0; }
  .hero-content h1 { font-size: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
  .cart-item { flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-items { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 240px; }
  .hs-slide { padding: 0 40px; }
  .hs-text h2 { font-size: 1.2rem; }
  .hs-text p { font-size: .78rem; }
  .results-title { font-size: 1.1rem; }
  .hb-head-tools { width: 100%; }
  .hb-search { flex: 1; width: auto; }
  .hb-fab { right: 14px; bottom: 14px; }
  .hb-fab-panel { width: min(280px, calc(100vw - 28px)); }
  .listing-filters { width: 100%; }
  .filter-select { flex: 1; min-width: 0; }
  .page-btn.page-nav { padding: 0 9px; }
  .pc-cta { flex-direction: row; }
  .btn-add { font-size: .72rem; padding: 8px 8px; }
  .pd-title { font-size: 1.35rem; }
  .pd-price { font-size: 1.5rem; }
  .pd-buy-row { flex-wrap: wrap; }
  .pd-btn-cart { min-width: 100%; order: 3; }
  .pd-stepper { max-width: none; flex: 1; }
  .hamper-promo { margin: 16px 4% 32px; padding: 26px 20px; }
  .marketplace-strip { margin: 0 4% 36px; padding: 22px 20px; }
}
