/* ==========================================================================
   Glow & Grow — Enhancement Layer (enhance.css)
   1) Unified button sizing system (mobile + desktop)
   2) Styles for all added feature modules
   Loaded AFTER style.css / responsive.css / premium.css
   ========================================================================== */

/* ==========================================================================
   SECTION 1 — BUTTON SIZING SYSTEM
   One scale for the whole site. Desktop = comfortable, Mobile = 44px+ tap.
   ========================================================================== */
:root{
  /* heights */
  --btn-h-xs: 32px;
  --btn-h-sm: 38px;
  --btn-h-md: 44px;
  --btn-h-lg: 52px;
  /* horizontal padding */
  --btn-px-xs: 10px;
  --btn-px-sm: 14px;
  --btn-px-md: 20px;
  --btn-px-lg: 28px;
  /* font sizes */
  --btn-fs-xs: 12px;
  --btn-fs-sm: 13px;
  --btn-fs-md: 14.5px;
  --btn-fs-lg: 16px;
  /* icon-only square buttons */
  --btn-icon-sm: 36px;
  --btn-icon-md: 42px;
  --btn-icon-lg: 48px;
  --btn-radius: 12px;
  --btn-radius-pill: 999px;
  --tap-min: 44px;
}

/* Shared base for every interactive control */
.buy-btn,
.view-btn,
.order-btn,
.footer-btn,
.category-btn,
.drawer-checkout-btn,
.gg-btn,
button.gg-btn,
a.gg-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:var(--btn-h-md);
  padding:0 var(--btn-px-md);
  font-family:inherit;
  font-size:var(--btn-fs-md);
  font-weight:600;
  line-height:1.15;
  border-radius:var(--btn-radius);
  text-decoration:none;
  text-align:center;
  white-space:nowrap;
  cursor:pointer;
  transition:transform .18s var(--ease,ease), box-shadow .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
  -webkit-tap-highlight-color:transparent;
}

.buy-btn:active,
.view-btn:active,
.order-btn:active,
.gg-btn:active{ transform:translateY(1px) scale(.985); }

.buy-btn[disabled],
.view-btn[disabled],
.gg-btn[disabled],
.buy-btn:disabled,
.gg-btn:disabled{
  opacity:.5; cursor:not-allowed; transform:none !important; box-shadow:none !important;
}

/* Size modifiers — add these classes anywhere */
.gg-btn-xs{ min-height:var(--btn-h-xs); padding:0 var(--btn-px-xs); font-size:var(--btn-fs-xs); border-radius:9px; }
.gg-btn-sm{ min-height:var(--btn-h-sm); padding:0 var(--btn-px-sm); font-size:var(--btn-fs-sm); border-radius:10px; }
.gg-btn-md{ min-height:var(--btn-h-md); padding:0 var(--btn-px-md); font-size:var(--btn-fs-md); }
.gg-btn-lg{ min-height:var(--btn-h-lg); padding:0 var(--btn-px-lg); font-size:var(--btn-fs-lg); border-radius:14px; }
.gg-btn-block{ width:100%; }
.gg-btn-pill{ border-radius:var(--btn-radius-pill); }

/* Variants */
.gg-btn-primary{
  background:linear-gradient(135deg,var(--g-700),var(--g-900));
  color:#fff; border:none; box-shadow:var(--shadow-glow,0 8px 24px rgba(12,123,69,.3));
}
.gg-btn-primary:hover{ filter:brightness(1.06); transform:translateY(-1px); }
.gg-btn-outline{
  background:transparent; color:var(--g-800); border:2px solid var(--line-strong,rgba(12,123,69,.28));
}
.gg-btn-outline:hover{ border-color:var(--g-700); background:var(--g-100,#eafcf1); }
.gg-btn-ghost{ background:transparent; color:var(--muted,#5c6b64); border:1px solid var(--line,rgba(12,123,69,.14)); }
.gg-btn-ghost:hover{ color:var(--g-800); border-color:var(--g-700); }
.gg-btn-gold{
  background:linear-gradient(135deg,var(--gold-500,#ffc94d),var(--gold-600,#f5b636));
  color:#33280a; border:none; font-weight:700;
}
.gg-btn-danger{ background:#c0392b; color:#fff; border:none; }
.gg-btn-wa{ background:#25d366; color:#fff; border:none; font-weight:700; }
.gg-btn-wa:hover{ background:#1ebe5a; }

/* Icon-only buttons — always square, always tappable */
.gg-icon-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:var(--btn-icon-md); height:var(--btn-icon-md);
  min-width:var(--btn-icon-md); min-height:var(--btn-icon-md);
  padding:0; border-radius:50%;
  border:1px solid var(--line,rgba(12,123,69,.14));
  background:var(--bg-card,#fff); color:var(--g-800);
  font-size:15px; cursor:pointer; line-height:1;
  transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.gg-icon-btn:hover{ background:var(--g-100,#eafcf1); transform:translateY(-1px); }
.gg-icon-btn:active{ transform:scale(.94); }
.gg-icon-btn.gg-icon-sm{ width:var(--btn-icon-sm); height:var(--btn-icon-sm); min-width:var(--btn-icon-sm); min-height:var(--btn-icon-sm); font-size:13px; }
.gg-icon-btn.gg-icon-lg{ width:var(--btn-icon-lg); height:var(--btn-icon-lg); min-width:var(--btn-icon-lg); min-height:var(--btn-icon-lg); font-size:18px; }
.gg-icon-btn.is-active{ background:var(--g-800); color:#fff; border-color:var(--g-800); }

/* Normalise existing site buttons to the scale */
.view-btn{ min-height:var(--btn-h-sm) !important; padding:0 var(--btn-px-sm) !important; font-size:var(--btn-fs-sm) !important; }
.buy-btn{ min-height:var(--btn-h-md) !important; padding:0 var(--btn-px-md) !important; font-size:var(--btn-fs-md) !important; }
.category-btn{ min-height:var(--btn-h-sm) !important; padding:0 16px !important; font-size:var(--btn-fs-sm) !important; border-radius:var(--btn-radius-pill) !important; }
.order-btn,.nav-order-btn{ min-height:var(--btn-h-sm) !important; padding:0 16px !important; font-size:var(--btn-fs-sm) !important; }
.footer-btn{ min-height:var(--btn-h-md) !important; padding:0 var(--btn-px-md) !important; font-size:var(--btn-fs-md) !important; }
.drawer-checkout-btn{ min-height:var(--btn-h-lg) !important; font-size:var(--btn-fs-lg) !important; }
.nav-action-btn{ min-width:42px !important; min-height:42px !important; }
.qty-selector .qty-btn{ min-width:36px !important; min-height:36px !important; font-size:16px !important; }
.qty-selector .qty-input{ min-height:36px !important; }
.theme-picker-btn{ min-height:var(--btn-h-sm) !important; padding:0 12px !important; }
.wishlist{ min-width:38px !important; min-height:38px !important; }
.product-buttons{ display:flex; flex-direction:column; gap:8px; }
.product-button-row{ display:flex; gap:8px; align-items:stretch; }
.product-button-row > *{ flex:1 1 auto; }
.product-buy-row .qty-selector{ flex:0 0 auto; }
.product-buy-row .buy-btn{ flex:1 1 auto; }

/* ---- Mobile: every control clears the 44px tap target ---- */
@media (max-width:768px){
  :root{
    --btn-h-xs: 36px;
    --btn-h-sm: 42px;
    --btn-h-md: 46px;
    --btn-h-lg: 52px;
    --btn-px-md: 16px;
    --btn-px-lg: 22px;
    --btn-fs-md: 14px;
    --btn-fs-lg: 15px;
    --btn-icon-sm: 40px;
    --btn-icon-md: 44px;
    --btn-icon-lg: 50px;
  }
  .view-btn{ min-height:42px !important; font-size:13px !important; }
  .buy-btn{ min-height:46px !important; font-size:14px !important; }
  .category-btn{ min-height:42px !important; }
  .nav-action-btn{ min-width:44px !important; min-height:44px !important; }
  .qty-selector .qty-btn{ min-width:42px !important; min-height:42px !important; }
  .qty-selector .qty-input{ min-height:42px !important; width:52px !important; }
  .wishlist{ min-width:42px !important; min-height:42px !important; }
  .product-button-row{ flex-wrap:wrap; }
  .product-buy-row{ flex-wrap:nowrap; }
  /* stop iOS zoom-on-focus */
  input, select, textarea{ font-size:16px !important; }
}
@media (max-width:420px){
  .buy-btn{ font-size:13.5px !important; padding:0 12px !important; }
  .product-button-row .view-btn{ flex:1 1 calc(50% - 4px); }
}
/* ---- Large desktop: slightly roomier ---- */
@media (min-width:1280px){
  :root{ --btn-h-md:46px; --btn-h-lg:54px; --btn-fs-md:15px; }
}

/* ==========================================================================
   SECTION 2 — SHARED PRIMITIVES
   ========================================================================== */
.gg-sheet-overlay{
  position:fixed; inset:0; background:rgba(8,26,18,.55); backdrop-filter:blur(3px);
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease; z-index:9200;
}
.gg-sheet-overlay.active{ opacity:1; visibility:visible; }

.gg-modal{
  position:fixed; z-index:9300; left:50%; top:50%; transform:translate(-50%,-46%) scale(.96);
  width:min(560px,92vw); max-height:86vh; overflow:auto;
  background:var(--bg-card,#fff); color:var(--ink,#12201a);
  border-radius:var(--radius-lg,20px); box-shadow:var(--shadow-lg,0 26px 60px rgba(12,45,30,.2));
  opacity:0; visibility:hidden; transition:all .25s var(--ease,ease);
}
.gg-modal.active{ opacity:1; visibility:visible; transform:translate(-50%,-50%) scale(1); }
.gg-modal-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 18px; border-bottom:1px solid var(--line,rgba(12,123,69,.14));
  position:sticky; top:0; background:var(--bg-card,#fff); z-index:2; border-radius:var(--radius-lg,20px) var(--radius-lg,20px) 0 0;
}
.gg-modal-head h3{ font-size:17px; margin:0; display:flex; align-items:center; gap:8px; color:var(--g-800); }
.gg-modal-body{ padding:18px; }
.gg-modal-foot{ padding:14px 18px; border-top:1px solid var(--line,rgba(12,123,69,.14)); display:flex; gap:10px; }

.gg-field{ margin-bottom:12px; }
.gg-field label{ display:block; font-size:12.5px; font-weight:600; color:var(--muted,#5c6b64); margin-bottom:5px; }
.gg-input, .gg-select, .gg-textarea{
  width:100%; min-height:var(--btn-h-md); padding:10px 12px;
  border:1.5px solid var(--line,rgba(12,123,69,.18)); border-radius:10px;
  font-family:inherit; font-size:14px; background:var(--bg-page,#fbfdfc); color:var(--ink,#12201a);
}
.gg-textarea{ min-height:84px; resize:vertical; }
.gg-input:focus,.gg-select:focus,.gg-textarea:focus{ outline:none; border-color:var(--g-700); }

.gg-chip{
  display:inline-flex; align-items:center; gap:6px;
  min-height:32px; padding:0 12px; border-radius:var(--btn-radius-pill);
  background:var(--g-100,#eafcf1); color:var(--g-800);
  border:1px solid var(--line,rgba(12,123,69,.14));
  font-size:12.5px; font-weight:600; cursor:pointer; white-space:nowrap;
}
.gg-chip:hover{ background:var(--g-700); color:#fff; }
.gg-chip .gg-chip-x{ font-size:14px; line-height:1; opacity:.7; }

.gg-section{ padding:34px 0; }
.gg-section-title{
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px;
}
.gg-section-title h2{ font-size:22px; color:var(--g-800); display:flex; align-items:center; gap:9px; margin:0; }
@media (max-width:768px){ .gg-section-title h2{ font-size:18px; } }

.gg-scroll-row{
  display:flex; gap:12px; overflow-x:auto; padding:4px 2px 12px;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
}
.gg-scroll-row::-webkit-scrollbar{ height:5px; }
.gg-scroll-row::-webkit-scrollbar-thumb{ background:var(--line-strong,rgba(12,123,69,.28)); border-radius:8px; }
.gg-scroll-row > *{ scroll-snap-align:start; flex:0 0 auto; }

/* Mini product tile used by recommendations / recently viewed */
.gg-tile{
  width:168px; background:var(--bg-card,#fff); border:1px solid var(--line,rgba(12,123,69,.14));
  border-radius:14px; overflow:hidden; text-decoration:none; color:inherit; display:block;
  transition:transform .2s ease, box-shadow .2s ease;
}
.gg-tile:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md,0 14px 34px rgba(12,45,30,.14)); }
.gg-tile img{ width:100%; height:130px; object-fit:contain; background:var(--bg-page,#fbfdfc); padding:8px; }
.gg-tile-body{ padding:9px 10px 12px; }
.gg-tile-name{ font-size:12.8px; font-weight:600; line-height:1.3; margin-bottom:4px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.gg-tile-price{ font-size:13.5px; font-weight:700; color:var(--g-800); }
.gg-tile-old{ font-size:11.5px; text-decoration:line-through; color:var(--muted,#5c6b64); margin-left:5px; font-weight:500; }
@media (max-width:480px){ .gg-tile{ width:146px; } .gg-tile img{ height:110px; } }

/* ==========================================================================
   SECTION 3 — SEARCH: autocomplete, trending, voice
   ========================================================================== */
.gg-ac-wrap{ position:relative; }
.gg-autocomplete{
  position:absolute; left:0; right:0; top:calc(100% + 6px); z-index:40;
  background:var(--bg-card,#fff); border:1px solid var(--line,rgba(12,123,69,.14));
  border-radius:12px; box-shadow:var(--shadow-md,0 14px 34px rgba(12,45,30,.14));
  overflow:hidden; display:none; max-height:320px; overflow-y:auto;
}
.gg-autocomplete.show{ display:block; }
.gg-ac-item{
  display:flex; align-items:center; gap:10px; padding:9px 12px; cursor:pointer;
  border-bottom:1px solid var(--line,rgba(12,123,69,.08)); font-size:13.5px;
}
.gg-ac-item:last-child{ border-bottom:none; }
.gg-ac-item:hover,.gg-ac-item.is-active{ background:var(--g-100,#eafcf1); }
.gg-ac-item img{ width:36px; height:36px; object-fit:contain; border-radius:7px; background:var(--bg-page,#fbfdfc); }
.gg-ac-item mark{ background:rgba(255,201,77,.45); color:inherit; padding:0 1px; border-radius:3px; }
.gg-ac-head{ padding:8px 12px 4px; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted,#5c6b64); font-weight:700; }

.gg-trending{ display:flex; flex-wrap:wrap; gap:7px; margin-top:10px; }
.gg-trend-rank{ font-size:11px; font-weight:800; opacity:.6; }

.gg-voice-btn.is-listening{ background:#c0392b; color:#fff; border-color:#c0392b; animation:ggPulse 1.1s infinite; }
@keyframes ggPulse{ 0%{box-shadow:0 0 0 0 rgba(192,57,43,.5);} 70%{box-shadow:0 0 0 12px rgba(192,57,43,0);} 100%{box-shadow:0 0 0 0 rgba(192,57,43,0);} }

/* ==========================================================================
   SECTION 4 — STICKY ADD-TO-CART BAR
   ========================================================================== */
.gg-sticky-atc{
  position:fixed; left:0; right:0; bottom:0; z-index:8800;
  background:var(--bg-card,#fff); border-top:1px solid var(--line-strong,rgba(12,123,69,.2));
  box-shadow:0 -8px 28px rgba(12,45,30,.14);
  padding:10px 14px; display:flex; align-items:center; gap:12px;
  transform:translateY(120%); transition:transform .3s var(--ease,ease);
  padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));
}
.gg-sticky-atc.show{ transform:translateY(0); }
.gg-sticky-atc img{ width:44px; height:44px; object-fit:contain; border-radius:9px; background:var(--bg-page,#fbfdfc); flex:0 0 auto; }
.gg-sticky-atc-info{ flex:1 1 auto; min-width:0; }
.gg-sticky-atc-name{ font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gg-sticky-atc-price{ font-size:14px; font-weight:800; color:var(--g-800); }
.gg-sticky-atc-actions{ display:flex; gap:8px; flex:0 0 auto; }
@media (max-width:560px){
  .gg-sticky-atc img{ display:none; }
  .gg-sticky-atc-actions .gg-btn{ padding:0 12px; font-size:13px; }
}
body.gg-has-sticky-atc{ padding-bottom:74px; }
body.gg-has-bottomnav.gg-has-sticky-atc .gg-sticky-atc{ bottom:62px; }

/* ==========================================================================
   SECTION 5 — BOTTOM MOBILE NAV
   ========================================================================== */
.gg-bottomnav{
  position:fixed; left:0; right:0; bottom:0; z-index:8700; display:none;
  background:var(--bg-card,#fff); border-top:1px solid var(--line,rgba(12,123,69,.14));
  box-shadow:0 -6px 20px rgba(12,45,30,.1);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
.gg-bottomnav-inner{ display:grid; grid-template-columns:repeat(5,1fr); }
.gg-bottomnav a,.gg-bottomnav button{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  min-height:58px; padding:6px 2px; border:none; background:none; cursor:pointer;
  color:var(--muted,#5c6b64); font-size:10.5px; font-weight:600; text-decoration:none; font-family:inherit;
  position:relative; -webkit-tap-highlight-color:transparent;
}
.gg-bottomnav i{ font-size:17px; }
.gg-bottomnav a.is-active{ color:var(--g-800); }
.gg-bottomnav a.is-active i{ transform:translateY(-1px); }
.gg-bn-badge{
  position:absolute; top:6px; right:calc(50% - 20px);
  min-width:16px; height:16px; padding:0 4px; border-radius:9px;
  background:var(--g-800); color:#fff; font-size:9.5px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
@media (max-width:768px){
  .gg-bottomnav{ display:block; }
  body.gg-has-bottomnav{ padding-bottom:62px; }
  body.gg-has-bottomnav .whatsapp{ bottom:78px !important; }
  body.gg-has-bottomnav #scrollTop{ bottom:142px !important; }
}

/* ==========================================================================
   SECTION 6 — FLOATING WHATSAPP CHAT PANEL
   ========================================================================== */
.gg-wa-panel{
  position:fixed; right:20px; bottom:92px; z-index:9400; width:310px; max-width:calc(100vw - 36px);
  background:var(--bg-card,#fff); border-radius:18px; overflow:hidden;
  box-shadow:var(--shadow-lg,0 26px 60px rgba(12,45,30,.25));
  transform:translateY(14px) scale(.96); opacity:0; visibility:hidden;
  transition:all .24s var(--ease,ease);
}
.gg-wa-panel.show{ transform:translateY(0) scale(1); opacity:1; visibility:visible; }
body.gg-has-bottomnav .gg-wa-panel,
body.gg-has-sticky-atc .gg-wa-panel,
body.gg-has-smartcta .gg-wa-panel{
  bottom: 148px !important;
}
.gg-wa-head{ background:#075e54; color:#fff; padding:13px 14px; display:flex; align-items:center; gap:10px; }
.gg-wa-head img{ width:36px; height:36px; border-radius:50%; object-fit:cover; background:#fff; }
.gg-wa-head strong{ font-size:13.5px; display:block; }
.gg-wa-head span{ font-size:11px; opacity:.85; }
.gg-wa-body{ padding:14px; background:#ece5dd; }
.gg-wa-bubble{
  background:#fff; border-radius:0 10px 10px 10px; padding:10px 12px;
  font-size:13px; line-height:1.45; color:#222; box-shadow:0 1px 2px rgba(0,0,0,.12);
}
.gg-wa-quick{ display:flex; flex-direction:column; gap:6px; margin-top:10px; }
.gg-wa-quick button{
  text-align:left; background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:9px;
  padding:8px 10px; font-size:12.5px; cursor:pointer; font-family:inherit; color:#075e54; font-weight:600;
  min-height:38px;
}
.gg-wa-quick button:hover{ background:#f1faf6; }
.gg-wa-foot{ padding:10px 12px; background:var(--bg-card,#fff); }
@media (max-width:768px){
  .gg-wa-panel{ right:14px; bottom:80px; }
  body.gg-has-bottomnav .gg-wa-panel,
  body.gg-has-sticky-atc .gg-wa-panel,
  body.gg-has-smartcta .gg-wa-panel{ bottom:140px !important; right:14px !important; }
}

/* ==========================================================================
   SECTION 7 — GALLERY / LIGHTBOX / MAGNIFIER / VIDEO
   ========================================================================== */
.gg-lightbox{
  position:fixed; inset:0; z-index:9500; background:rgba(4,14,9,.94);
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease;
}
.gg-lightbox.active{ opacity:1; visibility:visible; }
.gg-lightbox-stage{
  flex:1 1 auto; width:100%; display:flex; align-items:center; justify-content:center;
  padding:56px 16px 10px; overflow:hidden;
}
.gg-lightbox-stage img{
  max-width:min(94vw,1100px); max-height:78vh; object-fit:contain;
  transition:transform .2s ease; cursor:zoom-in; user-select:none;
}
.gg-lightbox-stage img.zoomed{ cursor:zoom-out; transform:scale(2); }
.gg-lightbox-close{
  position:absolute; top:14px; right:14px;
  width:44px; height:44px; border-radius:50%; border:none;
  background:rgba(255,255,255,.14); color:#fff; font-size:22px; cursor:pointer; line-height:1;
}
.gg-lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:46px; height:46px; border-radius:50%; border:none;
  background:rgba(255,255,255,.14); color:#fff; font-size:22px; cursor:pointer;
}
.gg-lightbox-prev{ left:14px; } .gg-lightbox-next{ right:14px; }
.gg-lightbox-strip{ display:flex; gap:8px; padding:10px 14px 22px; overflow-x:auto; max-width:100vw; }
.gg-lightbox-strip img{
  width:56px; height:56px; object-fit:contain; background:rgba(255,255,255,.1);
  border-radius:8px; cursor:pointer; opacity:.55; border:2px solid transparent; padding:3px;
}
.gg-lightbox-strip img.active{ opacity:1; border-color:#fff; }
.gg-lightbox-counter{ position:absolute; top:20px; left:18px; color:#fff; font-size:13px; opacity:.8; }

/* Instagram-style grid gallery */
.gg-iggrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:12px; }
.gg-iggrid button{
  position:relative; border:none; padding:0; cursor:pointer; background:var(--bg-page,#fbfdfc);
  aspect-ratio:1/1; border-radius:10px; overflow:hidden;
}
.gg-iggrid img{ width:100%; height:100%; object-fit:contain; padding:6px; }
.gg-iggrid button::after{
  content:"\f00e"; font-family:"Font Awesome 6 Free"; font-weight:900;
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(12,123,69,.55); color:#fff; font-size:18px; opacity:0; transition:opacity .2s ease;
}
.gg-iggrid button:hover::after{ opacity:1; }
@media (max-width:480px){ .gg-iggrid{ grid-template-columns:repeat(4,1fr); gap:5px; } }

/* Desktop magnifier */
.gg-magnifier{
  position:absolute; pointer-events:none; border:2px solid var(--g-700);
  border-radius:50%; width:170px; height:170px; z-index:60;
  background-repeat:no-repeat; box-shadow:0 8px 26px rgba(12,45,30,.3); display:none;
  background-color:#fff;
}
@media (hover:hover) and (min-width:992px){ .gg-magnifier.show{ display:block; } }

/* Video popup */
.gg-video-modal .gg-modal-body{ padding:0; }
.gg-video-frame{ position:relative; width:100%; aspect-ratio:16/9; background:#000; }
.gg-video-frame iframe,.gg-video-frame video{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ==========================================================================
   SECTION 8 — BADGES, STOCK, POPULARITY
   ========================================================================== */
.gg-badge-stack{ position:absolute; top:10px; left:10px; display:flex; flex-direction:column; gap:5px; z-index:5; align-items:flex-start; }
.gg-badge{
  display:inline-flex; align-items:center; gap:4px;
  padding:3px 9px; border-radius:var(--btn-radius-pill);
  font-size:10.5px; font-weight:800; letter-spacing:.02em; color:#fff; line-height:1.4;
  box-shadow:0 3px 10px rgba(0,0,0,.14);
}
.gg-badge-sale{ background:linear-gradient(135deg,#e74c3c,#c0392b); }
.gg-badge-hot{ background:linear-gradient(135deg,#ff8a00,#e65100); animation:ggBadgeGlow 2.4s ease-in-out infinite; }
.gg-badge-new{ background:linear-gradient(135deg,var(--g-600,#12ad60),var(--g-800,#0c7b45)); }
.gg-badge-low{ background:linear-gradient(135deg,#f39c12,#d35400); }
.gg-badge-out{ background:#6b7280; }
.gg-badge-gold{ background:linear-gradient(135deg,var(--gold-500,#ffc94d),var(--gold-600,#f5b636)); color:#33280a; }
@keyframes ggBadgeGlow{ 0%,100%{ box-shadow:0 3px 10px rgba(230,81,0,.3);} 50%{ box-shadow:0 3px 18px rgba(230,81,0,.7);} }
.gg-badge-pop{ animation:ggBadgePop .45s var(--ease,ease) both; }
@keyframes ggBadgePop{ from{ transform:scale(.4); opacity:0; } to{ transform:scale(1); opacity:1; } }

.gg-stock{ margin:8px 0; }
.gg-stock-label{ font-size:12px; font-weight:600; display:flex; justify-content:space-between; margin-bottom:4px; }
.gg-stock-low .gg-stock-label{ color:#d35400; }
.gg-stock-track{ height:6px; border-radius:6px; background:var(--line,rgba(12,123,69,.14)); overflow:hidden; }
.gg-stock-bar{ height:100%; border-radius:6px; background:linear-gradient(90deg,var(--g-600),var(--g-800)); transition:width .6s var(--ease,ease); }
.gg-stock-low .gg-stock-bar{ background:linear-gradient(90deg,#f39c12,#d35400); }

.gg-popularity{
  display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600;
  color:var(--g-800); background:var(--g-100,#eafcf1); padding:4px 10px; border-radius:var(--btn-radius-pill);
}

/* ==========================================================================
   SECTION 9 — CATALOG CONTROLS (filters, view toggle, pagination)
   ========================================================================== */
.gg-catalog-layout{ display:grid; grid-template-columns:262px 1fr; gap:22px; align-items:start; }
@media (max-width:992px){ .gg-catalog-layout{ grid-template-columns:1fr; } }

.gg-filterbar{
  background:var(--bg-card,#fff); border:1px solid var(--line,rgba(12,123,69,.14));
  border-radius:var(--radius-md,14px); padding:16px; position:sticky; top:96px;
  max-height:calc(100vh - 120px); overflow-y:auto;
}
@media (max-width:992px){
  .gg-filterbar{
    position:fixed; inset:0 auto 0 0; width:min(320px,88vw); z-index:9250; border-radius:0;
    max-height:100vh; transform:translateX(-102%); transition:transform .28s var(--ease,ease);
    padding-top:18px;
  }
  .gg-filterbar.open{ transform:translateX(0); }
}
.gg-filter-group{ padding:12px 0; border-bottom:1px solid var(--line,rgba(12,123,69,.12)); }
.gg-filter-group:last-child{ border-bottom:none; }
.gg-filter-group h4{ font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--g-800); margin:0 0 10px; }
.gg-filter-opt{ display:flex; align-items:center; gap:9px; padding:6px 0; font-size:13.5px; cursor:pointer; min-height:34px; }
.gg-filter-opt input{ width:17px; height:17px; accent-color:var(--g-700); flex:0 0 auto; }
.gg-filter-count{ margin-left:auto; font-size:11.5px; color:var(--muted,#5c6b64); }

.gg-range{ padding:6px 2px 2px; }
.gg-range-vals{ display:flex; justify-content:space-between; font-size:12.5px; font-weight:700; color:var(--g-800); margin-bottom:8px; }
.gg-range-track{ position:relative; height:28px; }
.gg-range input[type=range]{
  position:absolute; left:0; width:100%; height:4px; top:12px; margin:0;
  -webkit-appearance:none; appearance:none; background:transparent; pointer-events:none;
}
.gg-range input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none; width:20px; height:20px; border-radius:50%;
  background:var(--g-800); border:2px solid #fff; box-shadow:0 2px 6px rgba(0,0,0,.25);
  pointer-events:auto; cursor:pointer;
}
.gg-range input[type=range]::-moz-range-thumb{
  width:20px; height:20px; border-radius:50%; background:var(--g-800); border:2px solid #fff;
  pointer-events:auto; cursor:pointer;
}
.gg-range-rail{ position:absolute; left:0; right:0; top:12px; height:4px; border-radius:4px; background:var(--line,rgba(12,123,69,.18)); }
.gg-range-fill{ position:absolute; top:12px; height:4px; border-radius:4px; background:var(--g-700); }

.gg-star-filter{ display:flex; flex-direction:column; gap:2px; }
.gg-star-filter button{
  display:flex; align-items:center; gap:7px; background:none; border:none; cursor:pointer;
  padding:6px 8px; border-radius:8px; font-family:inherit; font-size:13px; min-height:36px;
  color:var(--ink,#12201a); width:100%; text-align:left;
}
.gg-star-filter button:hover{ background:var(--g-100,#eafcf1); }
.gg-star-filter button.is-active{ background:var(--g-800); color:#fff; }
.gg-star-filter .gg-stars{ color:var(--gold-600,#f5b636); letter-spacing:1px; }
.gg-star-filter button.is-active .gg-stars{ color:var(--gold-500,#ffc94d); }

.gg-toolbar{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  background:var(--bg-card,#fff); border:1px solid var(--line,rgba(12,123,69,.14));
  border-radius:var(--radius-md,14px); padding:10px 12px; margin-bottom:14px;
}
.gg-toolbar.is-stuck{ position:sticky; top:82px; z-index:60; box-shadow:var(--shadow-sm,0 4px 14px rgba(12,45,30,.08)); }
.gg-toolbar-spacer{ flex:1 1 auto; }
.gg-toolbar-count{ font-size:13px; color:var(--muted,#5c6b64); font-weight:600; }
.gg-viewtoggle{ display:inline-flex; border:1px solid var(--line,rgba(12,123,69,.18)); border-radius:10px; overflow:hidden; }
.gg-viewtoggle button{
  width:40px; min-height:38px; border:none; background:transparent; cursor:pointer;
  color:var(--muted,#5c6b64); font-size:14px;
}
.gg-viewtoggle button.is-active{ background:var(--g-800); color:#fff; }

.gg-activefilters{ display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
.gg-activefilters:empty{ display:none; }

/* filter transitions + list view */
.products-grid.gg-fading{ opacity:.25; transform:translateY(6px); }
.products-grid{ transition:opacity .22s ease, transform .22s ease; }
.products-grid.gg-list-view{ display:flex !important; flex-direction:column; gap:14px; }
.products-grid.gg-list-view .product-card{ display:grid; grid-template-columns:190px 1fr; align-items:center; }
.products-grid.gg-list-view .product-image img{ height:180px; }
@media (max-width:640px){
  .products-grid.gg-list-view .product-card{ grid-template-columns:118px 1fr; }
  .products-grid.gg-list-view .product-image img{ height:120px; }
}

.gg-pagination{ display:flex; justify-content:center; align-items:center; gap:6px; flex-wrap:wrap; margin-top:24px; }
.gg-pagination button{
  min-width:40px; min-height:40px; padding:0 10px; border-radius:10px;
  border:1px solid var(--line,rgba(12,123,69,.18)); background:var(--bg-card,#fff);
  color:var(--ink,#12201a); font-family:inherit; font-size:13.5px; font-weight:600; cursor:pointer;
}
.gg-pagination button.is-active{ background:var(--g-800); color:#fff; border-color:var(--g-800); }
.gg-pagination button[disabled]{ opacity:.4; cursor:not-allowed; }
.gg-empty{ text-align:center; padding:48px 18px; color:var(--muted,#5c6b64); }
.gg-empty i{ font-size:38px; color:var(--line-strong,rgba(12,123,69,.28)); margin-bottom:12px; display:block; }

/* ==========================================================================
   SECTION 10 — COMPARISON DRAWER
   ========================================================================== */
.gg-compare-tab{
  position:fixed; right:0; top:50%; transform:translateY(-50%) translateX(102%); z-index:8600;
  background:var(--g-800); color:#fff; border:none; cursor:pointer;
  writing-mode:vertical-rl; padding:16px 9px; border-radius:12px 0 0 12px;
  font-family:inherit; font-size:12.5px; font-weight:700; letter-spacing:.04em;
  transition:transform .28s var(--ease,ease);
}
.gg-compare-tab.show{ transform:translateY(-50%) translateX(0); }
.gg-compare-drawer{
  position:fixed; left:0; right:0; bottom:0; z-index:9260; max-height:82vh; overflow:auto;
  background:var(--bg-card,#fff); border-radius:20px 20px 0 0;
  box-shadow:0 -14px 44px rgba(12,45,30,.24);
  transform:translateY(102%); transition:transform .3s var(--ease,ease);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
.gg-compare-drawer.open{ transform:translateY(0); }
.gg-compare-table{ width:100%; border-collapse:collapse; font-size:13px; }
.gg-compare-table th,.gg-compare-table td{
  padding:10px 12px; border-bottom:1px solid var(--line,rgba(12,123,69,.12)); text-align:left; vertical-align:top;
}
.gg-compare-table th{ width:130px; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted,#5c6b64); }
.gg-compare-table img{ width:74px; height:74px; object-fit:contain; }
.gg-compare-scroll{ overflow-x:auto; }

/* ==========================================================================
   SECTION 11 — BUNDLE BUILDER + QUIZ
   ========================================================================== */
.gg-bundle-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; }
.gg-bundle-pick{
  border:2px solid var(--line,rgba(12,123,69,.14)); border-radius:13px; padding:10px; cursor:pointer;
  background:var(--bg-card,#fff); text-align:center; transition:all .2s ease; position:relative;
}
.gg-bundle-pick.selected{ border-color:var(--g-700); background:var(--g-100,#eafcf1); }
.gg-bundle-pick.selected::after{
  content:"\f00c"; font-family:"Font Awesome 6 Free"; font-weight:900;
  position:absolute; top:7px; right:7px; width:22px; height:22px; border-radius:50%;
  background:var(--g-800); color:#fff; font-size:10px; display:flex; align-items:center; justify-content:center;
}
.gg-bundle-pick img{ width:100%; height:92px; object-fit:contain; margin-bottom:6px; }
.gg-bundle-pick-name{ font-size:12px; font-weight:600; line-height:1.3; }
.gg-bundle-pick-price{ font-size:12.5px; font-weight:800; color:var(--g-800); margin-top:3px; }
.gg-bundle-summary{
  margin-top:16px; background:var(--g-100,#eafcf1); border-radius:14px; padding:14px;
  display:flex; flex-wrap:wrap; align-items:center; gap:12px;
}
.gg-bundle-total{ font-size:19px; font-weight:800; color:var(--g-800); }
.gg-bundle-save{ font-size:12.5px; font-weight:700; color:#c0392b; }

.gg-quiz-step{ display:none; }
.gg-quiz-step.active{ display:block; animation:ggFade .3s ease; }
@keyframes ggFade{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:none;} }
.gg-quiz-opts{ display:grid; gap:9px; margin-top:12px; }
.gg-quiz-opt{
  display:flex; align-items:center; gap:10px; padding:12px 14px; min-height:var(--btn-h-lg);
  border:2px solid var(--line,rgba(12,123,69,.14)); border-radius:12px; cursor:pointer;
  background:var(--bg-card,#fff); font-size:14px; font-weight:600; text-align:left; font-family:inherit;
  color:var(--ink,#12201a); transition:all .18s ease;
}
.gg-quiz-opt:hover{ border-color:var(--g-700); background:var(--g-100,#eafcf1); }
.gg-quiz-progress{ height:5px; border-radius:5px; background:var(--line,rgba(12,123,69,.14)); overflow:hidden; margin-bottom:14px; }
.gg-quiz-progress span{ display:block; height:100%; background:var(--g-700); transition:width .3s ease; }

/* Education cards */
.gg-edu-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; }
.gg-edu-card{
  background:var(--bg-card,#fff); border:1px solid var(--line,rgba(12,123,69,.14));
  border-radius:var(--radius-md,14px); padding:18px; transition:transform .2s ease, box-shadow .2s ease;
}
.gg-edu-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md,0 14px 34px rgba(12,45,30,.14)); }
.gg-edu-icon{
  width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:var(--g-100,#eafcf1); color:var(--g-800); font-size:19px; margin-bottom:11px;
}
.gg-edu-card h4{ font-size:15px; margin:0 0 6px; color:var(--g-800); }
.gg-edu-card p{ font-size:13px; line-height:1.55; color:var(--muted,#5c6b64); margin:0; }

/* ==========================================================================
   SECTION 12 — CHECKOUT EXTRAS (gift, shipping, delivery)
   ========================================================================== */
.gg-addon{
  border:1.5px solid var(--line,rgba(12,123,69,.16)); border-radius:13px;
  padding:13px 14px; margin-bottom:12px; background:var(--bg-card,#fff);
}
.gg-addon-head{ display:flex; align-items:center; gap:10px; cursor:pointer; min-height:34px; }
.gg-addon-head input[type=checkbox]{ width:19px; height:19px; accent-color:var(--g-700); flex:0 0 auto; }
.gg-addon-head strong{ font-size:14px; }
.gg-addon-price{ margin-left:auto; font-size:13px; font-weight:800; color:var(--g-800); }
.gg-addon-body{ display:none; padding-top:11px; }
.gg-addon.open .gg-addon-body{ display:block; }
.gg-wrap-styles{ display:flex; gap:8px; flex-wrap:wrap; }
.gg-wrap-style{
  border:2px solid var(--line,rgba(12,123,69,.14)); border-radius:11px; padding:8px 12px;
  cursor:pointer; font-size:12.5px; font-weight:600; min-height:38px; display:flex; align-items:center; gap:6px;
}
.gg-wrap-style.selected{ border-color:var(--g-700); background:var(--g-100,#eafcf1); color:var(--g-800); }

.gg-eta{
  display:flex; align-items:center; gap:11px; background:var(--g-100,#eafcf1);
  border-radius:12px; padding:12px 14px; margin:12px 0;
}
.gg-eta i{ font-size:20px; color:var(--g-800); }
.gg-eta-main{ font-size:13.5px; font-weight:700; color:var(--g-800); }
.gg-eta-sub{ font-size:12px; color:var(--muted,#5c6b64); }
.gg-area-result{ margin-top:10px; font-size:13px; padding:10px 12px; border-radius:10px; }
.gg-area-ok{ background:rgba(12,123,69,.1); color:var(--g-800); }
.gg-area-warn{ background:rgba(243,156,18,.14); color:#9a5b00; }
.gg-ship-rows{ margin-top:10px; font-size:13.5px; }
.gg-ship-row{ display:flex; justify-content:space-between; padding:6px 0; border-bottom:1px dashed var(--line,rgba(12,123,69,.14)); }
.gg-ship-row:last-child{ border-bottom:none; font-weight:800; color:var(--g-800); }

.gg-giftcard{
  background:linear-gradient(135deg,var(--g-800),var(--g-900)); color:#fff;
  border-radius:16px; padding:18px; position:relative; overflow:hidden;
}
.gg-giftcard::after{
  content:""; position:absolute; right:-40px; top:-40px; width:150px; height:150px;
  border-radius:50%; background:rgba(255,255,255,.07);
}
.gg-giftcard-code{
  font-family:ui-monospace,Menlo,Consolas,monospace; font-size:19px; font-weight:800; letter-spacing:.14em;
  background:rgba(255,255,255,.14); border-radius:10px; padding:10px 12px; margin:10px 0; text-align:center;
}
.gg-giftcard-amt{ font-size:26px; font-weight:800; }

/* ==========================================================================
   SECTION 13 — ORDERS: timeline, invoice, reorder
   ========================================================================== */
.gg-timeline{ position:relative; padding-left:30px; }
.gg-timeline::before{
  content:""; position:absolute; left:11px; top:8px; bottom:8px; width:2px;
  background:var(--line,rgba(12,123,69,.18));
}
.gg-tl-item{ position:relative; padding:0 0 20px; }
.gg-tl-dot{
  position:absolute; left:-30px; top:1px; width:24px; height:24px; border-radius:50%;
  background:var(--bg-card,#fff); border:2px solid var(--line-strong,rgba(12,123,69,.28));
  display:flex; align-items:center; justify-content:center; font-size:10px; color:var(--muted,#5c6b64);
}
.gg-tl-item.done .gg-tl-dot{ background:var(--g-800); border-color:var(--g-800); color:#fff; }
.gg-tl-item.current .gg-tl-dot{ border-color:var(--g-700); color:var(--g-700); animation:ggPulseG 1.6s infinite; }
@keyframes ggPulseG{ 0%{box-shadow:0 0 0 0 rgba(14,146,81,.45);} 70%{box-shadow:0 0 0 10px rgba(14,146,81,0);} 100%{box-shadow:0 0 0 0 rgba(14,146,81,0);} }
.gg-tl-title{ font-size:14px; font-weight:700; }
.gg-tl-item.done .gg-tl-title{ color:var(--g-800); }
.gg-tl-time{ font-size:11.5px; color:var(--muted,#5c6b64); }
.gg-tl-desc{ font-size:12.8px; color:var(--muted,#5c6b64); margin-top:3px; line-height:1.5; }

.gg-order-card{
  background:var(--bg-card,#fff); border:1px solid var(--line,rgba(12,123,69,.14));
  border-radius:var(--radius-md,14px); padding:16px; margin-bottom:14px;
}
.gg-order-head{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:10px; }
.gg-order-id{ font-weight:800; color:var(--g-800); font-size:14.5px; }
.gg-order-status{
  font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:var(--btn-radius-pill);
  background:var(--g-100,#eafcf1); color:var(--g-800);
}
.gg-order-actions{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.gg-order-items{ display:flex; gap:8px; flex-wrap:wrap; }
.gg-order-items img{ width:46px; height:46px; object-fit:contain; border-radius:8px; background:var(--bg-page,#fbfdfc); }

/* Printable invoice */
.gg-invoice{ font-family:inherit; color:#111; background:#fff; padding:28px; }
.gg-invoice table{ width:100%; border-collapse:collapse; margin:14px 0; font-size:13px; }
.gg-invoice th,.gg-invoice td{ border:1px solid #ddd; padding:8px 10px; text-align:left; }
.gg-invoice th{ background:#f4f7f5; }
@media print{
  body > *:not(.gg-print-root){ display:none !important; }
  .gg-print-root{ position:static !important; display:block !important; }
}

/* ==========================================================================
   SECTION 14 — MISC: breadcrumb, back-to-top, recent categories, popup, sound
   ========================================================================== */
.gg-breadcrumb{
  position:sticky; top:74px; z-index:55;
  background:color-mix(in srgb,var(--bg-page,#fbfdfc) 88%, transparent);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line,rgba(12,123,69,.12));
  padding:9px 0; font-size:12.8px;
}
.gg-breadcrumb ol{ list-style:none; display:flex; gap:7px; align-items:center; margin:0; padding:0; flex-wrap:wrap; }
.gg-breadcrumb a{ color:var(--muted,#5c6b64); text-decoration:none; }
.gg-breadcrumb a:hover{ color:var(--g-800); }
.gg-breadcrumb li[aria-current]{ color:var(--g-800); font-weight:700; }
.gg-breadcrumb .sep{ opacity:.4; }
@media (max-width:768px){ .gg-breadcrumb{ top:66px; font-size:12px; } }

#scrollTop.gg-progress-btn{ position:fixed; }
.gg-topring{ position:fixed; z-index:8500; pointer-events:none; }
.gg-topring circle{ fill:none; stroke-width:3; }

.gg-recent-cats{ display:flex; gap:8px; flex-wrap:wrap; }

.gg-recpop{
  position:fixed; left:20px; bottom:20px; z-index:8950; width:300px; max-width:calc(100vw - 32px);
  background:var(--bg-card,#fff); border-radius:16px; overflow:hidden;
  box-shadow:var(--shadow-lg,0 26px 60px rgba(12,45,30,.2));
  border:1px solid var(--line,rgba(12,123,69,.14));
  transform:translateY(16px); opacity:0; visibility:hidden; transition:all .3s var(--ease,ease);
}
.gg-recpop.show{ transform:none; opacity:1; visibility:visible; }
.gg-recpop-head{ display:flex; align-items:center; gap:8px; padding:10px 12px; background:var(--g-100,#eafcf1); font-size:12.5px; font-weight:700; color:var(--g-800); }
.gg-recpop-head button{ margin-left:auto; background:none; border:none; cursor:pointer; font-size:17px; line-height:1; color:var(--muted,#5c6b64); width:28px; height:28px; }
.gg-recpop-body{ display:flex; gap:11px; padding:12px; }
.gg-recpop-body img{ width:68px; height:68px; object-fit:contain; border-radius:10px; background:var(--bg-page,#fbfdfc); flex:0 0 auto; }
.gg-recpop-name{ font-size:13px; font-weight:600; line-height:1.35; margin-bottom:4px; }
.gg-recpop-price{ font-size:13.5px; font-weight:800; color:var(--g-800); margin-bottom:8px; }
@media (max-width:768px){ .gg-recpop{ left:12px; right:12px; width:auto; bottom:74px; } }

.gg-sound-btn.is-on i{ color:var(--g-700); }

/* Interactive product card polish */
.product-card.gg-interactive{ transition:transform .28s var(--ease,ease), box-shadow .28s ease; will-change:transform; }
.product-card.gg-interactive .product-image{ position:relative; overflow:hidden; }
.product-card.gg-interactive .product-image img{ transition:transform .45s var(--ease,ease); }
.product-card.gg-interactive:hover .product-image img{ transform:scale(1.06); }
.gg-card-quickrow{
  position:absolute; right:10px; bottom:10px; display:flex; flex-direction:column; gap:7px; z-index:6;
  opacity:0; transform:translateX(12px); transition:all .25s var(--ease,ease);
}
.product-card:hover .gg-card-quickrow,
.product-card:focus-within .gg-card-quickrow{ opacity:1; transform:none; }
@media (hover:none){ .gg-card-quickrow{ opacity:1; transform:none; } }

/* FAQ search */
.gg-faq-search{ position:relative; margin-bottom:16px; }
.gg-faq-hit{ background:rgba(255,201,77,.45); border-radius:3px; }
.gg-faq-empty{ text-align:center; padding:26px; color:var(--muted,#5c6b64); font-size:13.5px; }
.faq-card.gg-hidden,[data-gg-hidden]{ display:none !important; }

/* Toast tweak so it clears the bottom nav */
@media (max-width:768px){
  .gg-toast-container{ bottom:76px !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* ==========================================================================
   SECTION 15 — CONFLICT RESOLUTION WITH THE EXISTING LAYERS
   ========================================================================== */
/* premium.js injects .gg-sticky-cta at the bottom on mobile; the new bottom
   nav + sticky add-to-cart bar occupy that space, so retire the old bar. */
@media (max-width:768px){
  .gg-sticky-cta{ display:none !important; }
}

/* color-mix fallback for the sticky breadcrumb */
.gg-breadcrumb{ background:var(--bg-page,#fbfdfc); }
@supports (background: color-mix(in srgb, red 50%, transparent)){
  .gg-breadcrumb{ background:color-mix(in srgb,var(--bg-page,#fbfdfc) 88%, transparent); }
}

/* Back-to-top: give it a visible transition the smart controller can drive */
#scrollTop{
  transition:opacity .25s ease, visibility .25s ease, transform .25s ease !important;
  min-width:46px !important; min-height:46px !important;
}

/* Dark mode surfaces for the new components */
[data-theme="dark"] .gg-modal,
[data-theme="dark"] .gg-filterbar,
[data-theme="dark"] .gg-toolbar,
[data-theme="dark"] .gg-order-card,
[data-theme="dark"] .gg-edu-card,
[data-theme="dark"] .gg-addon,
[data-theme="dark"] .gg-tile,
[data-theme="dark"] .gg-bottomnav,
[data-theme="dark"] .gg-sticky-atc,
[data-theme="dark"] .gg-compare-drawer,
[data-theme="dark"] .gg-recpop,
[data-theme="dark"] .gg-autocomplete,
[data-theme="dark"] .gg-bundle-pick{
  background:#152219; color:#e8f3ec; border-color:rgba(255,255,255,.1);
}
[data-theme="dark"] .gg-modal-head,
[data-theme="dark"] .gg-wa-foot{ background:#152219; }
[data-theme="dark"] .gg-input,
[data-theme="dark"] .gg-select,
[data-theme="dark"] .gg-textarea{ background:#0f1b14; color:#e8f3ec; border-color:rgba(255,255,255,.14); }
[data-theme="dark"] .gg-tile img,
[data-theme="dark"] .gg-iggrid button,
[data-theme="dark"] .gg-order-items img{ background:#0f1b14; }
[data-theme="dark"] .gg-pagination button{ background:#152219; color:#e8f3ec; border-color:rgba(255,255,255,.12); }

/* The catalog sidebar must not sit under a sticky header on short screens */
@media (min-width:993px) and (max-height:700px){
  .gg-filterbar{ position:static; max-height:none; }
}
