/* ==========================================================================
   Glow & Grow — Enhancement Layer 2 (enhance2.css)
   Reviews-with-photos, live assistant, loyalty/referral, 3D/AR, ingredient
   showcase, before/after, UGC wall, stats, banners, popups, coupons,
   connection/error states. Loaded AFTER enhance.css — reuses its tokens.
   ========================================================================== */

/* ==========================================================================
   0. SHARED PRIMITIVES (sheet/modal, chips, mini inputs — namespaced gg2-
      so nothing here can collide with enhance.css's own component classes)
   ========================================================================== */
.gg2-sheet {
  position: fixed; inset: 0; z-index: 9850;
  display: none; align-items: center; justify-content: center;
  background: rgba(8, 24, 16, .55); backdrop-filter: blur(4px);
  padding: 16px;
}
.gg2-sheet.open { display: flex; }
.gg2-sheet__panel {
  background: var(--bg-card, #fff); color: var(--ink, #12201a);
  border-radius: var(--radius-lg, 22px); width: min(640px, 100%);
  max-height: 88vh; overflow: auto; padding: clamp(18px, 4vw, 26px);
  box-shadow: var(--shadow-lg); position: relative;
}
.gg2-sheet__close {
  position: absolute; top: 12px; right: 12px; width: var(--btn-icon-md, 42px); height: var(--btn-icon-md, 42px);
  border-radius: 50%; border: none; cursor: pointer;
  background: var(--g-100, #eafcf1); color: var(--g-900, #064a29);
  display: inline-flex; align-items: center; justify-content: center;
}
.gg2-sheet__title { margin: 0 0 6px; font-size: clamp(17px, 4.4vw, 21px); font-weight: 700; }
.gg2-sheet__sub { margin: 0 0 16px; color: var(--muted, #5c6b64); font-size: 13px; }
.gg2-field { display: block; margin-bottom: 12px; }
.gg2-field > span { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; color: var(--muted); }
.gg2-input, .gg2-textarea {
  width: 100%; box-sizing: border-box; min-height: 44px;
  padding: 10px 14px; font: inherit; font-size: 13.5px;
  border: 1.5px solid var(--line, rgba(12,123,69,.14)); border-radius: 14px;
  background: var(--bg-page, #fbfdfc); color: var(--ink);
}
.gg2-textarea { min-height: 90px; resize: vertical; }
.gg2-input:focus, .gg2-textarea:focus { outline: none; border-color: var(--g-600, #12ad60); }
.gg2-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px;
  font-size: 12.5px; font-weight: 600; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line-strong, rgba(12,123,69,.28)); background: var(--bg-card); color: var(--ink);
}
.gg2-chip.active { background: var(--g-800, #0c7b45); color: #fff; border-color: transparent; }
.gg2-hp { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .gg2-anim, .gg2-anim * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   1. REVIEWS — stars, photo grid, sort/filter, helpful votes, upload
   ========================================================================== */
.gg2-rev-summary {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  padding: 16px; border-radius: var(--radius-md, 16px);
  background: var(--g-100, #eafcf1); margin-bottom: 16px;
}
.gg2-rev-summary__score { font-size: clamp(30px, 8vw, 40px); font-weight: 800; color: var(--g-900, #064a29); line-height: 1; }
.gg2-rev-summary__stars { color: var(--gold-500, #ffc94d); font-size: 14px; margin: 4px 0; }
.gg2-rev-summary__count { font-size: 12px; color: var(--muted); }
.gg2-rev-summary__bars { flex: 1; min-width: 160px; display: grid; gap: 4px; }
.gg2-rev-bar { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.gg2-rev-bar__track { flex: 1; height: 6px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; }
.gg2-rev-bar__fill { height: 100%; background: var(--gold-500, #ffc94d); border-radius: 999px; }

.gg2-rev-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
.gg2-rev-toolbar select.gg2-input { width: auto; min-height: 38px; padding: 0 12px; font-size: 12.5px; }
.gg2-rev-toolbar .gg2-chip { min-height: 30px; }

.gg2-review-card {
  border: 1px solid var(--line, rgba(12,123,69,.14)); border-radius: var(--radius-md, 16px);
  padding: 14px; margin-bottom: 12px; background: var(--bg-card, #fff);
}
.gg2-review-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.gg2-review-card__avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--g-800, #0c7b45); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: none;
}
.gg2-review-card__name { font-size: 13.5px; font-weight: 700; }
.gg2-review-card__meta { font-size: 11px; color: var(--muted); }
.gg2-review-card__stars { color: var(--gold-500, #ffc94d); font-size: 12.5px; margin-left: auto; white-space: nowrap; }
.gg2-review-card__verified {
  font-size: 10px; font-weight: 700; color: var(--g-800); background: var(--g-100);
  border-radius: 999px; padding: 2px 8px; display: inline-flex; align-items: center; gap: 4px; margin-left: 6px;
}
.gg2-review-card__text { font-size: 13px; line-height: 1.6; color: var(--ink); margin: 6px 0 10px; }
.gg2-review-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.gg2-review-photos img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.gg2-review-card__foot { display: flex; align-items: center; gap: 10px; }
.gg2-helpful-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 1.5px solid var(--line-strong);
  border-radius: 999px; padding: 5px 12px; font-size: 11.5px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.gg2-helpful-btn.active { background: var(--g-100); color: var(--g-800); border-color: var(--g-600); }
.gg2-helpful-btn:disabled { opacity: .6; cursor: default; }

.gg2-star-selector { display: inline-flex; gap: 4px; font-size: 26px; cursor: pointer; }
.gg2-star-selector span { color: var(--line-strong); transition: color .15s ease, transform .15s ease; }
.gg2-star-selector span.on { color: var(--gold-500, #ffc94d); transform: scale(1.08); }

.gg2-photo-upload { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gg2-photo-upload__add {
  width: 56px; height: 56px; border-radius: 12px; border: 1.5px dashed var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); font-size: 16px;
}
.gg2-photo-upload__thumb { position: relative; width: 56px; height: 56px; }
.gg2-photo-upload__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.gg2-photo-upload__thumb button {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%;
  border: none; background: #e5484d; color: #fff; font-size: 10px; cursor: pointer; line-height: 1;
}

.gg2-lightbox {
  position: fixed; inset: 0; z-index: 9950; display: none; align-items: center; justify-content: center;
  background: rgba(6,18,12,.94);
}
.gg2-lightbox.open { display: flex; }
.gg2-lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; object-fit: contain; }
.gg2-lightbox button {
  position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.15); color: #fff; cursor: pointer;
}

/* ==========================================================================
   2. LIVE ASSISTANT (rule-based, honest labeling — see JS header note)
   ========================================================================== */
.gg2-assist-fab {
  position: fixed; z-index: 9260; right: clamp(12px, 3vw, 24px);
  bottom: clamp(196px, 34vw, 224px);
  width: clamp(48px, 12vw, 54px); height: clamp(48px, 12vw, 54px);
  border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--g-700, #0e9251), var(--g-900, #064a29));
  color: #fff; font-size: 20px; box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; justify-content: center;
}
.gg2-assist-fab .dot {
  position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%;
  background: #35d07f; border: 2px solid #fff;
}
.gg2-assist-panel {
  position: fixed; z-index: 9270; right: clamp(12px, 3vw, 24px);
  bottom: clamp(258px, 44vw, 288px);
  width: min(330px, calc(100vw - 32px)); max-height: min(64vh, 480px);
  background: var(--bg-card, #fff); border-radius: 20px; box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden;
}
.gg2-assist-panel.open { display: flex; }
.gg2-assist-panel__head { background: var(--g-900, #064a29); color: #fff; padding: 12px 14px; }
.gg2-assist-panel__head b { font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.gg2-assist-panel__head small { display: block; opacity: .8; font-size: 10.5px; margin-top: 2px; }
.gg2-assist-body { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.gg2-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 12.8px; line-height: 1.5; }
.gg2-msg--bot { background: var(--g-100, #eafcf1); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.gg2-msg--user { background: var(--g-800, #0c7b45); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.gg2-msg--bot a { color: var(--g-900); font-weight: 700; }
.gg2-assist-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.gg2-assist-form { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); }
.gg2-assist-form input { flex: 1; min-height: 38px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 14px; font-size: 12.5px; }
.gg2-assist-form button { width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--g-800); color: #fff; cursor: pointer; }
.gg2-typing { display: inline-flex; gap: 3px; padding: 4px 0; }
.gg2-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: gg2-bounce 1.1s infinite ease-in-out; }
.gg2-typing span:nth-child(2) { animation-delay: .15s; } .gg2-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes gg2-bounce { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ==========================================================================
   3. LOYALTY, REFERRAL, VIP TIER
   ========================================================================== */
.gg2-loyalty-card {
  border-radius: 20px; padding: 20px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--g-900, #064a29), var(--g-600, #12ad60));
}
.gg2-loyalty-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.1); }
.gg2-loyalty-card__pts { font-size: clamp(28px, 8vw, 38px); font-weight: 800; }
.gg2-loyalty-card__tier { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.18); padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; margin-top: 8px; }
.gg2-loyalty-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.25); margin-top: 14px; overflow: hidden; }
.gg2-loyalty-track__fill { height: 100%; background: var(--gold-500, #ffc94d); border-radius: 999px; transition: width .6s ease; }
.gg2-loyalty-note { font-size: 11.5px; margin-top: 8px; opacity: .9; }
.gg2-tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 16px; }
.gg2-tier-box { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.gg2-tier-box.active { border-color: var(--g-600); background: var(--g-100); }
.gg2-tier-box i { font-size: 18px; color: var(--gold-600); }
.gg2-tier-box b { display: block; font-size: 12.5px; margin: 4px 0 2px; }
.gg2-tier-box span { font-size: 10.5px; color: var(--muted); }

.gg2-ref-code {
  display: flex; align-items: center; gap: 8px; background: var(--g-100); border-radius: 14px;
  padding: 12px 14px; font-family: ui-monospace, Menlo, monospace; font-size: 15px; font-weight: 700; letter-spacing: .08em;
  color: var(--g-900); margin: 10px 0;
}
.gg2-ref-code button { margin-left: auto; }
.gg2-ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.gg2-ref-stats div { text-align: center; padding: 10px; background: var(--bg-page); border-radius: 12px; }
.gg2-ref-stats b { display: block; font-size: 18px; color: var(--g-800); }
.gg2-ref-stats span { font-size: 10.5px; color: var(--muted); }

/* ==========================================================================
   4. 3D ROTATE + AR ARCHITECTURE
   ========================================================================== */
.gg2-3d-wrap { position: relative; border-radius: var(--radius-md, 16px); overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.gg2-3d-wrap:active { cursor: grabbing; }
.gg2-3d-wrap img { width: 100%; display: block; pointer-events: none; }
.gg2-3d-hint {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  background: rgba(6,18,12,.68); color: #fff; font-size: 11px; padding: 5px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px; pointer-events: none; transition: opacity .3s ease;
}
.gg2-3d-dots { position: absolute; bottom: 10px; right: 12px; display: flex; gap: 4px; }
.gg2-3d-dots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.5); }
.gg2-3d-dots span.on { background: #fff; }
.gg2-ar-btn { margin-top: 10px; }
.gg2-ar-note { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* ==========================================================================
   5. INGREDIENT SHOWCASE + HOTSPOTS
   ========================================================================== */
.gg2-ingred-strip { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; }
.gg2-ingred-chip {
  flex: 0 0 108px; scroll-snap-align: start; text-align: center; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 8px; background: var(--bg-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gg2-ingred-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--g-600); }
.gg2-ingred-chip .ring {
  width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--g-100); color: var(--g-800); font-size: 20px;
  animation: gg2-ingred-pulse 3.2s ease-in-out infinite;
}
@keyframes gg2-ingred-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(12,123,69,.18); } 50% { box-shadow: 0 0 0 8px rgba(12,123,69,0); } }
.gg2-ingred-chip b { display: block; font-size: 11.8px; line-height: 1.3; }
.gg2-ingred-detail { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 4px; }

/* ==========================================================================
   6. BEFORE / AFTER SLIDER
   ========================================================================== */
.gg2-ba {
  position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-md, 16px);
  overflow: hidden; user-select: none; touch-action: pan-y;
}
.gg2-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gg2-ba__after { clip-path: inset(0 0 0 50%); }
.gg2-ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15); cursor: ew-resize;
}
.gg2-ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; justify-content: center; color: var(--g-800); font-size: 13px; cursor: ew-resize;
}
.gg2-ba__label { position: absolute; top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); padding: 3px 10px; background: rgba(0,0,0,.32); border-radius: 999px; }
.gg2-ba__label--before { left: 10px; }
.gg2-ba__label--after { right: 10px; }

/* ==========================================================================
   7. CUSTOMER PHOTO WALL + UGC CAROUSEL + TESTIMONIAL VIDEO
   ========================================================================== */
.gg2-photowall { columns: 2; column-gap: 8px; }
@media (min-width: 640px) { .gg2-photowall { columns: 3; } }
@media (min-width: 960px) { .gg2-photowall { columns: 4; } }
.gg2-photowall img { width: 100%; border-radius: 12px; margin-bottom: 8px; display: block; cursor: zoom-in; break-inside: avoid; }

.gg2-ugc-track { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.gg2-ugc-card {
  flex: 0 0 180px; scroll-snap-align: start; position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 9/16; background: #0c1a13; cursor: pointer;
}
.gg2-ugc-card img, .gg2-ugc-card video { width: 100%; height: 100%; object-fit: cover; }
.gg2-ugc-card .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; background: rgba(0,0,0,.15); }
.gg2-ugc-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }

/* ==========================================================================
   8. STATS COUNTER, BRAND TIMELINE, WHY-SECTION, EDITORIAL
   ========================================================================== */
.gg2-stat-num { font-variant-numeric: tabular-nums; }
.gg2-story-track { position: relative; padding-left: 26px; }
.gg2-story-track::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--line-strong); }
.gg2-story-step { position: relative; padding-bottom: 26px; }
.gg2-story-step::before { content: ""; position: absolute; left: -22px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--g-600); box-shadow: 0 0 0 4px var(--g-100); }
.gg2-story-step h4 { margin: 0 0 4px; font-size: 14.5px; }
.gg2-story-step p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.65; }

.gg2-editorial { display: grid; gap: 0; grid-template-columns: 1fr; border-radius: var(--radius-lg, 22px); overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-sm); }
@media (min-width: 760px) { .gg2-editorial { grid-template-columns: 1fr 1fr; align-items: stretch; } .gg2-editorial.gg2-rev { direction: rtl; } .gg2-editorial.gg2-rev > * { direction: ltr; } }
.gg2-editorial img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.gg2-editorial__body { padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; justify-content: center; }
.gg2-editorial__tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--g-700); font-weight: 800; margin-bottom: 8px; }
.gg2-editorial__body h3 { font-size: clamp(19px, 4.6vw, 26px); margin: 0 0 10px; }
.gg2-editorial__body p { font-size: 13.6px; color: var(--muted); line-height: 1.7; margin: 0 0 16px; }

/* ==========================================================================
   9. SEASONAL BANNER + PROMO BAR + WELCOME/RETURNING GREETING
   ========================================================================== */
.gg2-promobar {
  background: var(--g-900, #064a29); color: #fff; overflow: hidden; position: relative;
  font-size: 12.5px; font-weight: 600;
}
.gg2-promobar__track { display: flex; white-space: nowrap; animation: gg2-marquee 22s linear infinite; }
.gg2-promobar__track span { padding: 9px 34px; display: inline-flex; align-items: center; gap: 8px; }
@keyframes gg2-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.gg2-promobar:hover .gg2-promobar__track { animation-play-state: paused; }

.gg2-greeting {
  border-radius: var(--radius-md, 16px); padding: 14px 16px; margin: 14px 0;
  background: var(--g-100, #eafcf1); display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.gg2-greeting i { font-size: 20px; color: var(--g-700); }
.gg2-greeting strong { font-size: 13.5px; }
.gg2-greeting p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.gg2-greeting .gg-btn { margin-left: auto; }

/* ==========================================================================
   10. SCROLL PROGRESS + SECTION DOTS + SMART STICKY CTA + DISCOUNT WIDGET
   ========================================================================== */
.gg2-scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--g-600), var(--gold-500)); z-index: 9500; transition: width .1s linear; }

.gg2-secdots {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 900;
  display: none; flex-direction: column; gap: 10px;
}
@media (min-width: 1100px) { .gg2-secdots { display: flex; } }
.gg2-secdots button { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; padding: 0; }
.gg2-secdots button.active { background: var(--g-700); border-color: var(--g-700); transform: scale(1.3); }

.gg2-smartcta {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(140%); bottom: 22px; z-index: 9200;
  max-width: calc(100vw - 120px); width: auto; pointer-events: none;
  transition: transform .3s var(--ease, ease);
}
.gg2-smartcta.show { transform: translateX(-50%) translateY(0); pointer-events: auto; }
body.gg-has-bottomnav .gg2-smartcta { bottom: 78px; }
.gg2-smartcta .gg-btn {
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(12, 38, 28, 0.35);
  font-size: 14.5px;
  padding: 12px 22px;
}
@media (max-width: 768px) {
  .gg2-smartcta {
    bottom: 20px;
    max-width: calc(100vw - 110px);
  }
  body.gg-has-bottomnav .gg2-smartcta {
    bottom: 74px;
  }
  .gg2-smartcta .gg-btn {
    font-size: 13.5px;
    padding: 10px 18px;
  }
}

.gg2-discount-fab {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%) rotate(-90deg) translateY(-50%); transform-origin: left top;
  z-index: 900; background: var(--gold-500, #ffc94d); color: var(--ink); font-size: 11.5px; font-weight: 800;
  padding: 8px 14px; border-radius: 0 0 10px 10px; cursor: pointer; border: none; letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   11. WELCOME / EXIT-INTENT / NEWSLETTER POPUPS
   ========================================================================== */
.gg2-popup-card {
  border-radius: 22px; overflow: hidden; max-width: 380px; margin: 0 auto; background: var(--bg-card);
}
.gg2-popup-card__top {
  background: linear-gradient(135deg, var(--g-900, #064a29), var(--g-700, #0e9251));
  color: #fff; padding: 26px 24px 22px; text-align: center;
}
.gg2-popup-card__top i { font-size: 30px; color: var(--gold-500); margin-bottom: 8px; }
.gg2-popup-card__top h3 { margin: 0 0 6px; font-size: 19px; }
.gg2-popup-card__top p { margin: 0; font-size: 12.5px; opacity: .88; }
.gg2-popup-card__body { padding: 20px 22px 24px; }
.gg2-popup-code {
  text-align: center; font-family: ui-monospace, Menlo, monospace; font-weight: 800; font-size: 20px;
  letter-spacing: .12em; background: var(--g-100); color: var(--g-900); border-radius: 12px; padding: 12px; margin-bottom: 14px;
}

/* ==========================================================================
   12. COUPON COPY / APPLY
   ========================================================================== */
.gg2-coupon-list { display: grid; gap: 10px; }
.gg2-coupon {
  display: flex; align-items: center; gap: 12px; border: 1.5px dashed var(--line-strong); border-radius: 14px;
  padding: 12px 14px; background: var(--bg-card);
}
.gg2-coupon__code { font-family: ui-monospace, Menlo, monospace; font-weight: 800; font-size: 14.5px; color: var(--g-900); }
.gg2-coupon__desc { font-size: 11.8px; color: var(--muted); }
.gg2-coupon__actions { margin-left: auto; display: flex; gap: 6px; flex: none; }

/* ==========================================================================
   13. CONNECTION / OFFLINE / ERROR STATES
   ========================================================================== */
.gg2-offline-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9990; background: #b45309; color: #fff;
  text-align: center; font-size: 12.5px; font-weight: 700; padding: 8px 12px;
  transform: translateY(-100%); transition: transform .25s ease;
}
.gg2-offline-bar.show { transform: translateY(0); }
.gg2-offline-bar.back-online { background: var(--g-700, #0e9251); }

.gg2-error-banner {
  border: 1.5px solid #fecaca; background: #fef2f2; color: #991b1b; border-radius: 14px;
  padding: 14px 16px; font-size: 12.8px; margin: 14px 0; display: none; align-items: flex-start; gap: 10px;
}
.gg2-error-banner.show { display: flex; }
.gg2-error-banner i { margin-top: 1px; }
.gg2-error-banner button { margin-left: auto; background: none; border: none; color: #991b1b; cursor: pointer; font-size: 13px; }

/* ==========================================================================
   14. SUCCESS ANIMATION + SKELETON LOADERS
   ========================================================================== */
.gg2-success-burst {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--g-700, #0e9251); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  transform: translate(-50%, -50%) scale(0); opacity: 0;
}
.gg2-success-burst.go { animation: gg2-burst .7s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes gg2-burst {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  35% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  70% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.gg2-skel { position: relative; overflow: hidden; background: var(--line, rgba(12,123,69,.12)); border-radius: 14px; }
.gg2-skel::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: gg2-shimmer 1.4s infinite;
}
@keyframes gg2-shimmer { 100% { transform: translateX(100%); } }
.gg2-skel-card { aspect-ratio: 1; margin-bottom: 8px; }
.gg2-skel-line { height: 12px; margin-bottom: 6px; }

/* Footer launcher controls (quiz / gift cards / delivery area).
   These open modals, so they are <button>s rather than dead href="#" anchors —
   this rule makes them visually identical to the real footer links beside them. */
footer .footer-grid ul li .gg-linklike,
.gg-linklike {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: inline-block;
  line-height: inherit;
  transition: color .2s ease, opacity .2s ease;
}
footer .footer-grid ul li .gg-linklike:hover,
.gg-linklike:hover { color: var(--gold, #c9a227); opacity: 1; }
.gg-linklike:focus-visible {
  outline: 2px solid var(--gold, #c9a227);
  outline-offset: 3px;
  border-radius: 3px;
}
