/* ═══════════════════════════════════════════════════
   KARMA SUGANDHIT — Main Stylesheet
   "Fragrance That Connects Soul & Space"
   ═══════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  /* Backgrounds */
  --bg-ivory:       #FAF6F0;
  --bg-cream:       #F5EDE0;
  /* Brand */
  --mahogany:       #5C2008;
  --mahogany-dark:  #3D1205;
  --gold:           #C8961E;
  --gold-light:     #E8C96A;
  --gold-pale:      #F5E9C6;
  /* Text */
  --text-dark:      #2C1208;
  --text-muted:     #8B7260;
  /* Accents */
  --sage:           #6B7C5C;
  --white:          #FFFFFF;
}

/* ─── BASE RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-ivory);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY SCALE ─── */
.font-display   { font-family: 'Poppins', sans-serif; }
.font-heading   { font-family: 'Poppins', sans-serif; }
.font-body      { font-family: 'Poppins', sans-serif; }
.font-label     { font-family: 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: 0.12em; }

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--text-dark); }
p               { color: var(--text-muted); }

/* ─── SITE-WIDE FONT OVERRIDE ───
   Forces Poppins everywhere, including inline font-family styles left over
   on individual pages (Cormorant Garamond / Playfair Display / DM Sans / Montserrat).
   Icon glyphs (FontAwesome / Phosphor) are excluded so icons keep rendering. */
*:not(i):not([class*="fa-"]):not([class^="ph-"]):not([class*=" ph-"]),
h1, h2, h3, h4, h5, h6, p, a, span, div, button, input, textarea, select, li {
  font-family: 'Poppins', sans-serif !important;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-ivory); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── UTILITY ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.text-mahogany { color: var(--mahogany); }
.text-gold     { color: var(--gold); }
.text-muted    { color: var(--text-muted); }
.text-sage     { color: var(--sage); }
.bg-ivory      { background: var(--bg-ivory); }
.bg-cream      { background: var(--bg-cream); }
.bg-mahogany   { background: var(--mahogany); }
.bg-dark       { background: var(--mahogany-dark); }

/* ─── SECTION LABEL ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding: 6px 18px;
  background: rgba(200,150,30,0.1);
  border: 1px solid rgba(200,150,30,0.35);
  border-radius: 50px;
  margin-bottom: 14px;
}

/* ─── GOLD DIVIDER ─── */
.gold-divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 12px auto 0;
  display: block;
}
.gold-divider-left {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 12px 0 0;
  display: block;
}

/* ─── GOLD LINE (horizontal rule) ─── */
.gold-line-hr { border: none; border-top: 1px solid var(--gold); opacity: 1; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--mahogany);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(92,32,8,0.3);
}
.btn-primary:hover {
  background: var(--mahogany-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(92,32,8,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--mahogany);
  border: 2px solid var(--mahogany);
}
.btn-outline:hover {
  background: var(--mahogany);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(200,150,30,0.35);
}
.btn-gold:hover {
  background: #b0810f;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200,150,30,0.45);
}
.btn-sm { padding: 10px 22px; font-size: 11px; }

/* ─── TOP BAR ─── */
.karma-topbar {
  background: var(--mahogany-dark);
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 0;
  position: relative;
}
.topbar-ticker-wrap {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  margin-right: 12px;
}
.topbar-ticker {
  display: inline-flex;
  animation: karmaTickerScroll 38s linear infinite;
  white-space: nowrap;
  align-items: center;
}
.topbar-ticker:hover { animation-play-state: paused; }
@keyframes karmaTickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(250,246,240,0.8);
  padding: 0 22px;
}
.topbar-sep { color: var(--gold); font-size: 12px; padding: 0 4px; }
.topbar-coupon {
  background: rgba(200,150,30,0.25);
  border: 1px dashed var(--gold-light);
  border-radius: 3px;
  padding: 1px 7px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  font-size: 10px;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  padding-right: 16px;
}
.topbar-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  font-size: 10.5px;
  font-family: 'Montserrat', sans-serif;
  color: rgba(250,246,240,0.7);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.topbar-link:hover { color: var(--gold-light); }
.topbar-link-sep { width: 1px; height: 12px; background: rgba(250,246,240,0.15); }

/* ─── MAIN HEADER ─── */
.karma-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,240,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200,150,30,0.18);
  box-shadow: 0 2px 20px rgba(92,32,8,0.07);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
/* Logo always left */
.header-inner > .header-logo { justify-self: start; }
/* Search always center */
.header-inner > .header-search { justify-self: center; width: 100%; max-width: 460px; }
/* Icons always right */
.header-inner > .header-icons { justify-self: end; margin-left: 0; }
.header-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.header-logo img { height: 52px; width: 52px; object-fit: contain; border-radius: 50%; border: 1.5px solid rgba(200,150,30,0.4); }
.header-logo-text .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--mahogany);
  line-height: 1;
  display: block;
}
.header-logo-text .brand-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
}

/* ─── SEARCH BAR ─── */
.header-search {
  flex: 1;
  max-width: 460px;
  position: relative;
}
.header-search form { display: flex; }
.header-search input {
  flex: 1;
  padding: 10px 18px;
  background: var(--white);
  border: 1.5px solid rgba(200,150,30,0.25);
  border-right: none;
  border-radius: 50px 0 0 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search input:focus { border-color: var(--gold); }
.header-search button {
  padding: 10px 20px;
  background: var(--mahogany);
  color: var(--white);
  border: none;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}
.header-search button:hover { background: var(--mahogany-dark); }
.search-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(92,32,8,0.15);
  border: 1px solid rgba(200,150,30,0.18);
  max-height: 320px;
  overflow-y: auto;
  z-index: 300;
}
.suggestion-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(200,150,30,0.08);
  text-decoration: none;
  transition: background 0.15s;
}
.suggestion-item:hover { background: var(--bg-cream); }
.suggestion-item img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; border: 1px solid rgba(200,150,30,0.15); }
.suggestion-item .s-name { font-size: 13px; font-weight: 500; color: var(--text-dark); }
.suggestion-item .s-price { font-size: 12px; color: var(--gold); font-weight: 600; }

/* ─── HEADER ICONS ─── */
.header-icons { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--mahogany);
  font-size: 20px;
  transition: all 0.22s;
  text-decoration: none;
}
.icon-btn:hover { background: rgba(92,32,8,0.08); color: var(--mahogany-dark); }
.icon-btn .badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--mahogany);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

/* ─── USER DROPDOWN ─── */
.user-wrap { position: relative; }
.user-dropdown {
  position: absolute;
  right: 0; top: calc(100% + 10px);
  width: 200px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(92,32,8,0.15);
  border: 1px solid rgba(200,150,30,0.15);
  padding: 8px;
  z-index: 200;
  /* Fade + stay open briefly after the mouse leaves, so the gap between the
     icon and the menu doesn't slam it shut. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.35s;
}
/* Invisible bridge across the gap so hover is never lost between icon and menu. */
.user-dropdown::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -16px;
  height: 16px;
}
.user-wrap:hover .user-dropdown,
.user-wrap:focus-within .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s;
}
.dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 13px; color: var(--text-dark);
  text-decoration: none; transition: background 0.15s;
}
.dd-item:hover { background: var(--bg-cream); color: var(--mahogany); }
.dd-sep { border: none; border-top: 1px solid rgba(200,150,30,0.12); margin: 4px 0; }

/* ─── DESKTOP NAV ─── */
/* ═══ DESKTOP NAV ═══ */
.karma-nav {
  border-top: 1px solid rgba(200,150,30,0.12);
  position: relative;
}
.karma-nav-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(56px, 5vw, 80px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
}

/* Sliding pill that follows the active/hovered link */
.karma-nav-inner::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--ind-left, 0px);
  width: var(--ind-width, 0px);
  height: 2.5px;
  background: linear-gradient(90deg, var(--mahogany), var(--gold));
  border-radius: 2px 2px 0 0;
  transition: left 0.32s cubic-bezier(.4,0,.2,1), width 0.32s cubic-bezier(.4,0,.2,1), opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
.karma-nav-inner.nav-indicator-ready::before { opacity: 1; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.22s;
  white-space: nowrap;
}

/* Hover shimmer — text colour shift */
.nav-link:hover {
  color: var(--mahogany);
}

/* Active link */
.nav-link.active {
  color: var(--mahogany);
  font-weight: 600;
}

/* Dot accent on active */
.nav-link.active::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--mahogany);
  border-radius: 50%;
  animation: navDotPop 0.3s cubic-bezier(.34,1.56,.64,1) forwards;
}

@keyframes navDotPop {
  from { transform: translateX(-50%) scale(0); opacity: 0; }
  to   { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* Hover flyout label — small tooltip beneath each link */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20px; right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
  border-radius: 1px;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active::after { display: none; }

/* ─── MOBILE NAV OVERLAY ─── */
.mobile-header { display: none; }
.mob-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(44,18,8,0.7);
  z-index: 148;
  backdrop-filter: blur(4px);
}
.mob-overlay.open { display: block; }
.mob-nav {
  position: fixed;
  top: 0; left: 0;
  width: min(86vw, 360px); height: 100dvh;
  background: var(--white);
  z-index: 149;
  transform: translateX(-105%);
  transition: transform 0.34s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  box-shadow: 10px 0 40px rgba(92,32,8,0.2);
  border-right: 1px solid rgba(200,150,30,0.15);
}
.mob-nav.open { transform: translateX(0); }
.mob-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(200,150,30,0.12);
  background: var(--bg-cream);
}
.mob-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,150,30,0.07);
  transition: all 0.2s;
}
.mob-nav-item button, button.mob-nav-item { width: 100%; border-left: 0; border-right: 0; cursor: pointer; text-align: left; background: transparent; font-family: inherit; }
.mob-nav-item .mob-shop-chevron { width: auto; margin-left: auto; transition: transform .2s ease; }
.mob-shop-toggle[aria-expanded="true"] .mob-shop-chevron { transform: rotate(180deg); }
.mob-shop-submenu { display: grid; grid-template-rows: 0fr; overflow: hidden; background: var(--bg-ivory); transition: grid-template-rows .25s ease; }
.mob-shop-submenu.open { grid-template-rows: 1fr; }
.mob-shop-submenu::after { content: ''; min-height: 0; }
.mob-subnav-item { min-height: 0; padding: 0 20px 0 54px; color: var(--text-muted); font-size: 13px; text-decoration: none; overflow: hidden; transition: padding .25s ease; }
.mob-shop-submenu.open .mob-subnav-item { padding-top: 11px; padding-bottom: 11px; border-bottom: 1px solid rgba(200,150,30,.08); }
.mob-nav-item:hover { color: var(--mahogany); background: var(--bg-ivory); padding-left: 26px; }
.mob-nav-item i { color: var(--gold); font-size: 16px; width: 20px; }

/* ─── MOBILE SEARCH OVERLAY ─── */
.mob-search-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(44,18,8,0.85);
  z-index: 300;
  align-items: flex-start;
  padding: 70px 20px 0;
  backdrop-filter: blur(8px);
}
.mob-search-overlay.open { display: flex; }
.mob-search-inner {
  width: 100%;
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(92,32,8,0.2);
}

/* ─── MOBILE BOTTOM NAV ─── */
.mob-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: rgba(250,246,240,0.97);
  border-top: 1px solid rgba(200,150,30,0.18);
  backdrop-filter: blur(20px);
  padding: 8px 0;
  justify-content: space-around;
}
@media (max-width: 768px) { .mob-bottom-nav { display: flex; } }
@media (max-width: 768px) {
  body.mobile-drawer-open { overflow: hidden; }
  .mobile-header {
    display: block;
    background: rgba(250,246,240,.98);
    border-bottom: 1px solid rgba(200,150,30,.18);
  }
  .mobile-header-row {
    min-height: 62px;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
  }
  .mobile-menu-trigger, .mobile-action {
    width: 42px; height: 42px; border: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--mahogany); background: transparent; font-size: 19px;
  }
  .mobile-menu-trigger { cursor: pointer; }
  .mobile-menu-trigger:focus-visible, .mobile-action:focus-visible, .mobile-brand:focus-visible,
  .mob-nav-item:focus-visible, .mob-subnav-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .mobile-brand { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--mahogany); text-decoration: none; }
  .mobile-brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; border: 1px solid rgba(200,150,30,.4); }
  .mobile-brand span { font-family: 'Cormorant Garamond',serif; font-size: clamp(14px,4.2vw,18px); font-weight: 700; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-header-actions { display: flex; align-items: center; gap: 0; }
  .mobile-action { position: relative; text-decoration: none; }
  .mobile-action .badge { top: 3px; right: 1px; }
  .mobile-search-row { position: relative; display: flex; align-items: center; gap: 9px; margin: 0 14px 10px; padding: 0 8px 0 14px; height: 44px; background: #fff; border: 1px solid rgba(200,150,30,.25); border-radius: 14px; box-shadow: 0 4px 18px rgba(92,32,8,.06); }
  .mobile-search-row > i { color: var(--gold); font-size: 14px; }
  .mobile-search-row input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text-dark); font: 13px 'DM Sans',sans-serif; }
  .mobile-search-row input::placeholder { color: var(--text-muted); }
  .mobile-search-row button { width: 30px; height: 30px; border: 0; border-radius: 9px; color: #fff; background: var(--mahogany); cursor: pointer; }
  .mobile-search-row .search-suggestions { top: calc(100% + 8px); left: 0; right: 0; }
  .header-inner { display: none; }
  .karma-nav { display: none !important; }
}
.mob-bottom-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px;
  font-size: 10px;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  padding: 2px 12px;
}
.mob-bottom-item i { font-size: 20px; }
.mob-bottom-item:hover, .mob-bottom-item.active { color: var(--mahogany); }

/* ─── PRODUCT CARD ─── */
.product-card {
  background: var(--white);
  border: 1px solid rgba(200,150,30,0.14);
  border-radius: 18px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 0 0 2px var(--gold), 0 12px 40px rgba(92,32,8,0.1);
  transform: translateY(-3px);
}
.product-card-img {
  position: relative;
  overflow: hidden;
  background: var(--bg-cream);
  aspect-ratio: 1;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(44,18,8,0.7), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
  display: flex; gap: 8px; justify-content: center;
}
.product-card:hover .product-card-overlay { opacity: 1; transform: translateY(0); }
.card-icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(250,246,240,0.9);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--mahogany);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}
.card-icon-btn:hover { background: var(--white); }

.product-card-body { padding: 16px; }
.product-card-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.product-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-name a { color: inherit; text-decoration: none; }
.stars { display: flex; align-items: center; gap: 2px; margin-bottom: 10px; }
.stars i { font-size: 11px; color: var(--gold); }
.stars span { font-size: 11px; color: var(--text-muted); margin-left: 4px; }
.product-card-price {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.price-current { font-size: 18px; font-weight: 700; color: var(--mahogany); }
.price-original { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.product-card-actions { display: flex; gap: 8px; }
.btn-cart {
  flex: 1;
  padding: 9px;
  border: 1.5px solid rgba(92,32,8,0.4);
  background: transparent;
  color: var(--mahogany);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: all 0.22s;
  font-family: 'DM Sans', sans-serif;
}
.btn-cart:hover { background: var(--mahogany); color: var(--white); }
.btn-buy {
  flex: 1;
  padding: 9px;
  background: var(--mahogany);
  color: var(--white);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  text-decoration: none;
  transition: all 0.22s;
  font-family: 'DM Sans', sans-serif;
  border: none; cursor: pointer;
}
.btn-buy:hover { background: var(--mahogany-dark); }

/* ─── PRODUCT BADGES ─── */
.badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
.badge-new        { background: var(--sage); color: var(--white); }
.badge-discount   { background: var(--mahogany); color: var(--white); }
.badge-bestseller { background: var(--gold); color: var(--white); }

/* ─── HERO SECTION ─── */
.hero-section { position: relative; overflow: hidden; }
.hero-desktop { display: block; }
.hero-mobile  { display: none; }
@media (max-width: 767px) { .hero-desktop { display:none; } .hero-mobile { display:block; } }

.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 4;
}
.hero-smoke-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

/* ─── CATEGORY GRID ─── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px)  { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

/* ─── CATEGORY PILLS ─── */
.cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--white);
  border: 1.5px solid rgba(200,150,30,0.2);
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s;
  flex-shrink: 0;
  white-space: nowrap;
}
.cat-pill:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  transform: scale(1.03);
}
.cat-pill.active { border-color: var(--mahogany); background: rgba(92,32,8,0.06); }
.cat-pill-icon { color: var(--mahogany); font-size: 20px; flex-shrink: 0; width: 22px; text-align: center; }
.cat-pill-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ─── ABOUT SECTION ─── */
.about-section {
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}
.about-stat { text-align: center; }
.about-stat .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--mahogany);
  display: block;
}
.about-stat .stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ─── WHY CHOOSE US ─── */
.why-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.why-overlay {
  position: absolute; inset: 0;
  background: rgba(61,18,5,0.6);
}
.why-box {
  background: rgba(250,246,240,0.07);
  border: 1px solid rgba(232,201,106,0.25);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.28s ease;
  backdrop-filter: blur(4px);
}
.why-box:hover {
  background: rgba(250,246,240,0.14);
  transform: translateY(-4px);
  border-color: rgba(232,201,106,0.5);
}
.why-box-icon { color: var(--gold-light); font-size: 36px; margin-bottom: 16px; }
.why-box-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 8px;
}
.why-box-desc { font-size: 13px; color: rgba(250,246,240,0.72); line-height: 1.7; }

/* ─── HOW-TO-USE GRID ─── */
.use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px)  { .use-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .use-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; } }

/* ─── HOW TO USE CARDS ─── */
.use-card {
  background: var(--white);
  border: 1px solid rgba(200,150,30,0.15);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.28s;
}
.use-card:hover {
  box-shadow: 0 8px 32px rgba(92,32,8,0.1);
  transform: scale(1.03);
}
.use-card svg { width: 64px; height: 64px; margin: 0 auto 16px; display: block; }
.use-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.use-card-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; }

/* ─── REEL CARDS ─── */
.reel-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 9/16;
  background: var(--bg-cream);
  transition: all 0.28s;
}
.reel-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 0 2px var(--gold), 0 12px 40px rgba(92,32,8,0.2);
}
.reel-card video, .reel-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.reel-play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(44,18,8,0.25);
  transition: opacity 0.25s;
}
.reel-card:hover .reel-play-icon { opacity: 0; }
.reel-card-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(44,18,8,0.85), transparent);
}
.reel-card-product { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 8px; }

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid rgba(200,150,30,0.15); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--text-dark);
  transition: color 0.2s;
  list-style: none;
  gap: 16px;
  border: none; background: none; width: 100%; text-align: left;
}
.faq-question:hover { color: var(--mahogany); }
.faq-question i { color: var(--gold); font-size: 16px; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 18px; }

/* ─── TESTIMONIAL CARD ─── */
.testimonial-card {
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(92,32,8,0.07);
  border: 1px solid rgba(200,150,30,0.12);
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.testimonial-stars i { color: var(--gold); font-size: 14px; }
.testimonial-text { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; font-style: italic; }
.testimonial-author { font-size: 13px; font-weight: 600; color: var(--mahogany); }
.testimonial-product { font-size: 11px; color: var(--gold); margin-top: 2px; }

/* ─── FOOTER ─── */
.karma-footer {
  background: var(--mahogany-dark);
  border-top: 2px solid var(--gold);
  color: rgba(250,246,240,0.7);
  position: relative;
  overflow: hidden;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-light);
}
.footer-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}
.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-heading::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
}
.footer-link {
  display: block;
  font-size: 13.5px;
  color: rgba(250,246,240,0.6);
  text-decoration: none;
  margin-bottom: 10px;
  transition: all 0.2s;
}
.footer-link:hover { color: var(--gold-light); padding-left: 4px; }
.footer-social-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,150,30,0.12);
  border: 1px solid rgba(200,150,30,0.25);
  color: var(--gold);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.22s;
}
.footer-social-btn:hover {
  background: rgba(200,150,30,0.28);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(200,150,30,0.15);
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(250,246,240,0.35);
}
.footer-bottom-link {
  color: rgba(250,246,240,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-link:hover { color: var(--gold); }

/* ─── NEWSLETTER INPUT ─── */
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  background: rgba(250,246,240,0.08);
  border: 1px solid rgba(200,150,30,0.3);
  border-right: none;
  border-radius: 50px 0 0 50px;
  color: rgba(250,246,240,0.8);
  font-size: 13px;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(250,246,240,0.35); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  padding: 11px 18px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--gold-light); }

/* ─── FLOATING ELEMENTS ─── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
  transition: all 0.3s;
  text-decoration: none;
  color: var(--white); font-size: 24px;
}
.whatsapp-float:hover { transform: scale(1.12) rotate(8deg); }
.back-to-top {
  position: fixed; bottom: 24px; right: 90px; z-index: 999;
  width: 44px; height: 44px;
  background: var(--mahogany);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 16px;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: all 0.3s;
  box-shadow: 0 4px 18px rgba(92,32,8,0.3);
  border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); background: var(--mahogany-dark); }

/* ─── ALERT TOAST ─── */
.karma-alert {
  position: fixed; top: 88px; right: 20px; z-index: 9999;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  max-width: 280px;
  box-shadow: 0 10px 36px rgba(92,32,8,0.15);
  animation: alertSlideIn 0.3s ease;
  font-family: 'DM Sans', sans-serif;
}
.karma-alert.success { background: var(--white); border: 1px solid rgba(200,150,30,0.35); color: var(--text-dark); }
.karma-alert.error   { background: #fff5f5; border: 1px solid #f87171; color: #991b1b; }
.karma-alert .close-alert { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 16px; }
@keyframes alertSlideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes alertSlideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(120%); opacity: 0; } }

/* ─── BESTSELLERS WRAP ─── */
.bestsellers-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 1024px) {
  .bestsellers-wrap { flex-direction: row; align-items: flex-start; }
  .bs-left { display: block !important; flex-shrink: 0; width: 280px; }
  .bs-right { flex: 1; }
}

/* ─── BESTSELLERS SECTION ─── */
.bestsellers-section {
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 20px 60px rgba(92,32,8,0.07), 0 -20px 60px rgba(92,32,8,0.05);
  position: relative;
}

/* ─── SWIPER CUSTOMIZATION ─── */
.swiper-button-next, .swiper-button-prev {
  --swiper-navigation-size: 18px;
  width: 44px !important; height: 44px !important;
  border-radius: 50% !important;
  background: var(--white) !important;
  border: 1.5px solid rgba(92,32,8,0.2) !important;
  color: var(--mahogany) !important;
  box-shadow: 0 4px 16px rgba(92,32,8,0.12) !important;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--mahogany) !important;
  color: var(--white) !important;
  border-color: var(--mahogany) !important;
}
.swiper-pagination-bullet { background: rgba(92,32,8,0.25) !important; }
.swiper-pagination-bullet-active { background: var(--mahogany) !important; }

/* ─── PRODUCT GRID ─── */
.prod-grid-4 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px)  { .prod-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .prod-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ─── SCROLL HIDDEN ─── */
.scroll-hidden { scrollbar-width: none; -ms-overflow-style: none; }
.scroll-hidden::-webkit-scrollbar { display: none; }

/* ─── SECTION STANDARD SPACING ─── */
.section-py { padding: 72px 0; }
.section-py-sm { padding: 48px 0; }

/* ─── RESPONSIVE HELPERS ─── */
@media (max-width: 768px) {
  body { padding-bottom: 68px; }
  .section-py { padding: 48px 0; }
  .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .show-mobile-only { display: none !important; }
  .header-search { display: flex; }
  .mob-search-trigger { display: none; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — COMPREHENSIVE MOBILE/TABLET OVERRIDES
   ═══════════════════════════════════════════════════ */

/* ─── SMALL MOBILE (≤ 479px) ─── */
@media (max-width: 479px) {
  .container { padding: 0 14px; }
  .section-py { padding: 40px 0; }

  /* Buttons */
  .btn { padding: 11px 20px; font-size: 11px; gap: 6px; }
  .btn-sm { padding: 8px 14px; font-size: 10px; }

  /* Product grid: 2 columns, tighter */
  .prod-grid-4 { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .product-card-body { padding: 12px; }
  .product-card-name { font-size: 13px; }
  .price-current { font-size: 15px; }
  .price-original { font-size: 11px; }
  .product-card-actions { gap: 5px; }
  .btn-cart, .btn-buy { padding: 8px 4px; font-size: 11px; gap: 3px; }

  /* Topbar */
  .karma-topbar { height: 28px; }
  .topbar-item { font-size: 9px; padding: 0 10px; }

  /* Header — on mobile collapse to logo-left / icons-right */
  .header-inner {
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
    gap: 8px;
  }
  .header-inner > .header-search { display: none; }
  .header-logo img { height: 40px; width: 40px; }

  /* Section labels */
  .section-label { font-size: 9.5px; padding: 5px 12px; }

  /* FAQ */
  .faq-question { font-size: 13px; padding: 14px 0; }

  /* Testimonial */
  .testimonial-card { padding: 16px; }
  .testimonial-text { font-size: 12.5px; }

  /* Bestseller swiper nav hidden on small mobile */
  .bestseller-prev, .bestseller-next { display: none !important; }

  /* Footer */
  .footer-brand-name { font-size: 17px; }
  .footer-link { font-size: 12.5px; }

  /* WhatsApp + back-to-top */
  .whatsapp-float { width: 46px; height: 46px; font-size: 20px; bottom: 74px; right: 14px; }
  .back-to-top { width: 36px; height: 36px; bottom: 74px; right: 68px; }

  /* Cat filter pills on shop/category pages */
  .cat-filter-pill { padding: 5px 10px; font-size: 10.5px; }

  /* Reel cards */
  .reel-card { border-radius: 10px; }
}

/* ─── MOBILE (≤ 767px) ─── */
@media (max-width: 767px) {
  /* Typography */
  h1 { font-size: clamp(22px, 7vw, 38px); }
  h2 { font-size: clamp(20px, 6.5vw, 34px); }
  h3 { font-size: clamp(18px, 5.5vw, 26px); }

  /* Hero: always show mobile hero */
  .hero-desktop { display: none !important; }
  .hero-mobile  { display: block !important; }

  /* Hero mobile height fallback for browsers without svh */
  .hero-mobile > div { height: 100vh; height: 100svh; }

  /* About section: hide overflowing decorative rings on mobile */
  .about-section { overflow: hidden; }

  /* Cat pills on homepage */
  .cat-pill { padding: 10px 14px; }
  .cat-pill-name { font-size: 12.5px; }

  /* Bestseller: carousel full-width on mobile */
  .bs-right { width: 100%; }
  .bestsellers-wrap { flex-direction: column !important; }
  .bestseller-prev, .bestseller-next { display: none !important; }

  /* Why section grid: 1 col on mobile, 2 on small tablet */
  #whyGrid { grid-template-columns: repeat(2,1fr) !important; gap: 14px !important; }
  .why-box { padding: 22px 16px; }
  .why-box-icon { font-size: 28px; margin-bottom: 12px; }
  .why-box-title { font-size: 15px; }

  /* How-to-use grid: 2 cols on mobile */
  .use-grid { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
  .use-card { padding: 18px 12px; }
  .use-card svg, .use-card img { width: 48px !important; height: 48px !important; }
  .use-card-title { font-size: 13px; }
  .use-card-desc { font-size: 11.5px; }

  /* FAQ/Testimonials: stack vertically */
  #faqDivider { display: none !important; }
  #faqCol { padding: 0 !important; margin-bottom: 36px; }
  #testimonialCol { padding: 0 !important; }
  .faq-testimonial-wrap { flex-direction: column !important; }

  /* About: stack vertically */
  #aboutWrap { flex-direction: column !important; }
  #aboutWrap > div:first-child { width: 100% !important; max-width: 360px !important; margin: 0 auto; }
  #aboutWrap > div:last-child { max-width: 100% !important; }

  /* Swiper nav buttons on mobile (global) — hide unless explicitly shown */
  .swiper-button-next:not(.hero-next-desktop):not(.hero-prev-desktop),
  .swiper-button-prev:not(.hero-next-desktop):not(.hero-prev-desktop) { display: none !important; }

  /* Reels swiper on mobile — slides full width */
  .reelsSwiper .swiper-slide { width: 150px !important; }

  /* Product detail */
  #prodMainGrid { grid-template-columns: 1fr !important; }

  /* Cart grid */
  #cartGrid { grid-template-columns: 1fr !important; }

  /* Account grid */
  #accountGrid { grid-template-columns: 1fr !important; }
  #statsGrid { grid-template-columns: repeat(2,1fr) !important; }

  /* Shop filter pills wrap on mobile */
  .cat-filter-pill { font-size: 11px; padding: 6px 12px; }

  /* Product card actions: vertical on very small screens */
  @media (max-width: 380px) {
    .product-card-actions { flex-direction: column; }
    .btn-cart, .btn-buy { width: 100%; }
  }

  /* Floating popup: smaller on mobile */
  #floatingPopup { width: 150px !important; bottom: 76px !important; left: 12px !important; }
  #floatingPopup > div:nth-child(2) { width: 150px !important; height: 180px !important; }

  /* Footer newsletter */
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input { border-right: 1.5px solid rgba(200,150,30,0.3); border-radius: 50px; border-right-color: rgba(200,150,30,0.3); }
  .newsletter-form button { border-radius: 50px; padding: 11px 24px; }

  /* Footer policy links */
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom > div { justify-content: center; }

  /* Cart item layout: stack on very small */
  @media (max-width: 440px) {
    .cart-item-inner { flex-direction: column; }
  }

  /* Section heading centred on mobile */
  .section-heading-left { text-align: center !important; }
  .gold-divider-left { margin: 12px auto 0 !important; }

  /* Stat boxes in about: smaller font */
  .about-stat .stat-num { font-size: 28px; }

  /* Reduce padding on heavy sections */
  .bestsellers-section.section-py { padding: 40px 0; }
  .why-section.section-py { padding: 40px 0; }
}

/* ─── TABLET (768px – 1023px) ─── */
@media (min-width: 768px) and (max-width: 1023px) {
  .container { padding: 0 24px; }
  .section-py { padding: 60px 0; }

  /* Hero: show desktop hero on tablet */
  .hero-desktop { display: block !important; }
  .hero-mobile  { display: none !important; }

  /* Product grid: 3 cols on tablet */
  .prod-grid-4 { grid-template-columns: repeat(3,1fr) !important; }

  /* About: stack on tablet */
  #aboutWrap { flex-direction: column !important; align-items: center !important; }
  #aboutWrap > div:first-child { width: 100% !important; max-width: 440px !important; }

  /* Why: 2 cols on tablet */
  #whyGrid { grid-template-columns: repeat(2,1fr) !important; }

  /* Use-grid: 3 cols on tablet */
  .use-grid { grid-template-columns: repeat(3,1fr) !important; }

  /* Cat grid: 4 cols on tablet */
  .cat-grid { grid-template-columns: repeat(4,1fr) !important; }

  /* Bestseller: on tablet, keep it single column */
  .bs-right { width: 100% !important; }

  /* Footer grid: 2+2 */
  #footerGrid { grid-template-columns: repeat(2,1fr) !important; }

  /* Account/cart: standard */
  #accountGrid { grid-template-columns: 240px 1fr !important; }
  #cartGrid { grid-template-columns: 1fr 340px !important; }
  #statsGrid { grid-template-columns: repeat(4,1fr) !important; }
  #prodMainGrid { grid-template-columns: 1fr 1fr !important; }
}

/* ─── LARGE DESKTOP (≥ 1280px) ─── */
@media (min-width: 1280px) {
  .container { padding: 0 32px; }
  .prod-grid-4 { grid-template-columns: repeat(4,1fr); gap: 22px; }
}

/* ─── EXTRA UTILITIES ─── */
img { max-width: 100%; height: auto; }
* { min-width: 0; }
.overflow-x-clip { overflow-x: clip; }
body { overflow-x: hidden; }

/* Fix: swiper overflow on mobile */
.swiper { overflow: hidden !important; }

/* Fix: hero smoke wisps don't overflow horizontally */
.hero-smoke-wrap { overflow: hidden; }

/* Fix: about section decorative circles contained */
#aboutWrap > div:first-child { position: relative; overflow: visible; }

/* Product card: prevent text overflow */
.product-card-name a { word-break: break-word; }
.product-card-price { flex-wrap: wrap; }

/* Cart item responsive */
.cart-item-inner { display: flex; gap: 16px; align-items: center; }
@media (max-width: 440px) { .cart-item-inner { align-items: flex-start; } }

/* Prod detail price block: wrap on mobile */
@media (max-width: 479px) {
  #prodMainGrid .price-block { flex-direction: column; gap: 8px; }
}

/* FAQ answer text: smaller on mobile */
@media (max-width: 767px) {
  .faq-answer { font-size: 13px; }
  .faq-question { font-size: 13.5px; }
}

/* Bestseller swiper: force correct height */
.bestsellerSwiper .product-card { height: 100%; }

/* Testimonials: height auto on mobile */
.testimonialsSwiper .swiper-slide { height: auto !important; }
.testimonial-card { height: 100%; box-sizing: border-box; }
