/* ===== OGS Pro Upgrade — typography, motion & polish ===== */
:root, html[data-theme="light"] {
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Manrope", "Inter", system-ui, sans-serif;
  --font-label: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}
body { font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility; letter-spacing: -0.003em; }
h1, h2, h3, h4, .brand-name { font-family: var(--font-display); letter-spacing: -0.035em; }
h1 { line-height: 1.02; }
h2 { letter-spacing: -0.03em; }
.eyebrow, .topbar, .stat-label, .sec-sub { font-feature-settings: "tnum"; }
.eyebrow, .topbar { font-family: var(--font-label); letter-spacing: 0.14em; }

/* Scroll progress bar */
#ogsProgress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 9999;
  background: var(--gradient-brand); transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(214, 0, 0, .6); pointer-events: none;
}

/* Cursor glow (desktop) */
#ogsGlow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 0; left: 0; top: 0;
  background: radial-gradient(circle, rgba(214, 0, 0, .13), transparent 62%);
  transform: translate3d(-50%, -50%, 0); transition: opacity .4s; mix-blend-mode: screen;
}
html[data-theme="light"] #ogsGlow { mix-blend-mode: multiply; opacity: .5; }
@media (hover: none) { #ogsGlow { display: none; } }

/* Hero: animated aurora + grain */
.hero-landing { position: relative; isolation: isolate; overflow: hidden; }
.hero-landing::before {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background:
    radial-gradient(40% 35% at 20% 30%, rgba(255, 32, 43, .28), transparent 70%),
    radial-gradient(35% 30% at 80% 20%, rgba(143, 0, 0, .35), transparent 70%),
    radial-gradient(45% 40% at 60% 85%, rgba(214, 0, 0, .18), transparent 70%);
  filter: blur(40px); animation: ogs-aurora 18s ease-in-out infinite alternate;
}
.hero-landing::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
html[data-theme="light"] .hero-landing::after { background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px); }
@keyframes ogs-aurora {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(4%, -3%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(-3%, 4%, 0) rotate(-6deg) scale(1.02); }
}

/* Shimmering gradient text */
.grad {
  background-image: linear-gradient(100deg, #FF4D57 0%, #D60000 30%, #FF8A8F 50%, #D60000 70%, #8F0000 100%) !important;
  background-size: 220% auto !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: ogs-shine 6s linear infinite;
}
@keyframes ogs-shine { to { background-position: -220% center; } }

/* Hero heading word entrance */
.hero-landing h1 .ogs-w {
  display: inline-block; opacity: 0; transform: translateY(0.6em) rotate(3deg); filter: blur(8px);
  animation: ogs-word .9s var(--ease-out) forwards;
}
@keyframes ogs-word { to { opacity: 1; transform: none; filter: blur(0); } }

/* Buttons: shine sweep + lift */
.btn { position: relative; overflow: hidden; transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out), background-color .25s, border-color .25s !important; will-change: transform; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease-out); pointer-events: none;
}
.btn:hover::after { left: 140%; }
.btn:hover { transform: translateY(-2px); }
.btn-red:hover { box-shadow: 0 12px 30px -8px rgba(214, 0, 0, .65); }
.btn:active { transform: translateY(0) scale(.97); }

/* Cards: lift, spotlight border, image zoom */
.prod, .cat-card, .stat-card, .how-step, .feat-card, .tile, .rc-card, .why-point, .step {
  position: relative;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s !important;
}
.prod:hover, .cat-card:hover, .stat-card:hover, .how-step:hover, .feat-card:hover, .tile:hover, .rc-card:hover, .why-point:hover, .step:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(214, 0, 0, .45), 0 0 0 1px rgba(255, 77, 87, .35);
}
.ogs-spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 77, 87, .16), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.ogs-spot:hover::before { opacity: 1; }
.prod img, .cat-card img { transition: transform .8s var(--ease-out) !important; }
.prod:hover img, .cat-card:hover img { transform: scale(1.07); }

/* Nav link underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--gradient-brand); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav.ogs-scrolled { box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); border-bottom: 1px solid var(--border); }

/* Logo float */
.brand-logo { transition: transform .6s var(--ease-spring); }
.brand:hover .brand-logo { transform: rotate(-10deg) scale(1.1); }

/* Page (view) transitions */
.view.active { animation: ogs-view .6s var(--ease-out) both; }
@keyframes ogs-view { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Scroll reveal (generic, added by script) */
.ogs-rv { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.ogs-rv.ogs-in { opacity: 1; transform: none; }

/* Stats number pop */
.stat-num { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.sbar-ic, .how-ic { transition: transform .6s var(--ease-spring); }
.stat-card:hover .sbar-ic, .how-step:hover .how-ic { transform: rotate(-8deg) scale(1.15); }

/* Marquee edge fade */
.marquee, .topbar { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--red), var(--red-deep)); border-radius: 10px; border: 2px solid var(--bg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ogs-rv, .hero-landing h1 .ogs-w { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ===== Scroll blur-in reveal ===== */
.js .reveal { filter: blur(10px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out) !important; }
.reveal.in { filter: none !important; }
.ogs-rv { filter: blur(10px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); }
.ogs-rv.ogs-in { filter: none; }
.nav.ogs-scrolled { background: color-mix(in srgb, var(--bg) 62%, transparent) !important; backdrop-filter: blur(18px) saturate(160%) !important; -webkit-backdrop-filter: blur(18px) saturate(160%) !important; }

/* ===== Mobile fixes & performance ===== */
@media (max-width: 760px) {
  html, body { overflow-x: clip; }
  /* lighter effects = no lag */
  .hero-landing::before { filter: blur(24px); animation-duration: 30s; inset: -10%; }
  html:not([data-theme="light"]) :is(.cat-card, .tile, .feat-card, .faq-item, .rc-card, .step, .compare-col, .deliv-card),
  html[data-theme="light"] :is(.cat-card, .tile, .feat-card, .faq-item, .rc-card, .step, .compare-col, .deliv-card) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .prod:hover, .cat-card:hover, .stat-card:hover, .how-step:hover, .feat-card:hover, .tile:hover, .rc-card:hover, .why-point:hover, .step:hover { transform: none; box-shadow: none; }
  .prod:hover img, .cat-card:hover img { transform: none; }
  .btn:hover { transform: none; }
  .js .reveal, .ogs-rv { filter: blur(6px); transform: translateY(18px); }
  /* simple fade for hero words (no blur jank) */
  .hero-landing h1 .ogs-w { filter: none; transform: translateY(0.35em); animation-duration: .6s; }
  .view.active { animation: ogs-view-m .4s var(--ease-out) both; }
  @keyframes ogs-view-m { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

  /* stats: no overflow */
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .6rem !important; }
  .stat-card { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .85rem .9rem; }
  .stat-card .sbar-ic { width: 34px; height: 34px; }
  .stat-card .sbar-ic svg { width: 17px; height: 17px; }
  .stat-num { font-size: clamp(1.25rem, 6.2vw, 1.5rem) !important; letter-spacing: -0.02em; }
  .stat-label { font-size: .72rem; line-height: 1.3; }

  /* categories: readable names */
  .cat-card { gap: .55rem !important; padding: .7rem .65rem !important; }
  .cat-tile { width: 42px !important; height: 42px !important; border-radius: 12px !important; }
  .cat-tile svg { width: 22px; height: 22px; }
  .cat-name { font-size: .76rem !important; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  .cat-n { font-size: .7rem !important; }
  .cat-chev { width: 22px !important; height: 22px !important; }

  /* headings not oversized */
  h2 { font-size: clamp(1.6rem, 7.5vw, 2.1rem); }
  .hero-landing h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
}

/* ===== Scroll scrub mode: JS drives the reveal, disable class-based hiding ===== */
html.ogs-scrub .js .reveal, html.ogs-scrub.js .reveal, html.ogs-scrub .reveal, html.ogs-scrub .ogs-rv {
  opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important;
}
html.ogs-scrub [data-ogs-sc] { will-change: transform, filter, opacity; transition: box-shadow .5s var(--ease-out), border-color .3s !important; }
html.ogs-scrub [data-ogs-sc][data-ogs-done="1"] { will-change: auto; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s !important; }

/* Hero floating icons */
.ogs-float {
  position: absolute; z-index: 0; width: 64px; height: 64px; object-fit: cover; border-radius: 18px;
  opacity: .22; filter: blur(1px) saturate(1.2); pointer-events: none;
  box-shadow: 0 20px 40px -10px rgba(214,0,0,.5);
  animation: ogs-floaty 9s ease-in-out infinite;
}
@keyframes ogs-floaty { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
@media (max-width: 760px) { .ogs-float { width: 40px; height: 40px; border-radius: 12px; opacity: .16; } }

/* Product cards: stronger price + red accent line */
.prod { overflow: hidden; }
.prod .price b { font-family: var(--font-display); font-weight: 800; font-size: 1.25em; letter-spacing: -0.02em; }
.prod::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gradient-brand); transform: scaleX(.25); transform-origin: left; opacity: .7;
  transition: transform .6s var(--ease-out);
}
.prod:hover::after { transform: scaleX(1); }

/* Alternating section tint */
.view.active > section:nth-of-type(even) {
  background: linear-gradient(180deg, transparent, rgba(214,0,0,.035) 20%, rgba(214,0,0,.035) 80%, transparent);
}

/* Category icon shine */
.cat-tile::before {
  content: ""; position: absolute; top: 0; left: -150%; width: 60%; height: 100%; z-index: 2;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg);
  animation: ogs-tile-shine 5s ease-in-out infinite;
}
.cat-card:nth-child(2n) .cat-tile::before { animation-delay: 1.2s; }
.cat-card:nth-child(3n) .cat-tile::before { animation-delay: 2.4s; }
@keyframes ogs-tile-shine { 0%, 70% { left: -150%; } 100% { left: 200%; } }

/* Cart pop & fly */
.ogs-pop { animation: ogs-pop .45s var(--ease-spring); }
@keyframes ogs-pop { 0% { transform: scale(1); } 35% { transform: scale(.85); } 100% { transform: scale(1); } }
.ogs-fly { position: fixed; z-index: 10000; border-radius: 14px; object-fit: cover; pointer-events: none; background: var(--gradient-brand); box-shadow: 0 10px 30px rgba(214,0,0,.6); }
.ogs-bump { animation: ogs-bump .5s var(--ease-spring); }
@keyframes ogs-bump { 0% { transform: scale(1); } 40% { transform: scale(1.25) rotate(-8deg); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) { .ogs-float, .cat-tile::before { display: none; } }

/* Product controls: one cart action, predictable space for every label. */
.prod-actions > * { max-width: 100%; min-width: 0; }
.prod-actions [data-order-label] { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.prod-actions svg { flex: none; }
@media (max-width: 760px) {
  .prod h3, .prod p, .prod .price, .prod .best-badge { min-width: 0; max-width: 100%; letter-spacing: 0; }
  .prod-actions {
    display: grid; grid-template-columns: 44px minmax(0, 1fr);
    gap: .5rem; margin-top: auto; width: 100%;
  }
  .prod .prod-actions .btn {
    min-height: 44px; padding: .6rem .5rem; gap: .4rem;
    font-size: .8rem; line-height: 1.35; white-space: normal;
    text-align: center; letter-spacing: 0; border-radius: 8px;
  }
  .prod-actions > a:first-child { grid-column: 1 / -1; }
  #shopGrid .prod-actions [data-order-label] { font-size: 0; }
  #shopGrid .prod-actions [data-order-label]::after { content: "WhatsApp"; font-size: .8rem; }
  #shopGrid .prod-actions > a:last-child { font-size: .72rem; }
  .prod .prod-actions [data-add-cart] { font-size: 0; padding: 0; width: 44px; height: 44px; }
  .prod .prod-actions [data-add-cart] svg { width: 19px; height: 19px; }
  .prod .row-cart-btn, .prod .row-chev { display: none !important; }
  .prod .dur-chips { flex-wrap: wrap; min-width: 0; max-width: 100%; }

  /* Popular rows keep artwork intact, with actions in their own bottom row. */
  #homeBestGrid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  #homeBestGrid .prod {
    display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(52px, auto);
    grid-template-areas: "icon name price" "icon type price" "icon badge price" "actions actions actions";
    gap: .3rem .65rem; padding: .85rem; align-items: center;
  }
  #homeBestGrid .gc-top, #homeBestGrid .gc-info { display: contents; }
  #homeBestGrid .prod.has-pair .gift-card.gc-photo {
    grid-area: icon; display: flex; width: 72px; height: 94px; max-width: 72px;
    aspect-ratio: auto; margin: 0; padding: 0; border: 0;
  }
  #homeBestGrid .gc-hole, #homeBestGrid .gc-name,
  #homeBestGrid .gc-desc, #homeBestGrid .fav-btn, #homeBestGrid .dur-chips { display: none; }
  #homeBestGrid .prod h3 {
    grid-area: name; font-size: .98rem; line-height: 1.35; padding: 0; margin: 0;
    display: block; overflow: visible; overflow-wrap: anywhere;
  }
  #homeBestGrid .plan-label { grid-area: type; font-size: .65rem; margin: 0; }
  #homeBestGrid .best-badge {
    grid-area: badge; position: static; justify-self: start; align-self: start;
    font-size: .56rem; padding: .3rem .45rem; gap: .25rem; margin: 0;
    white-space: normal; box-shadow: none;
  }
  #homeBestGrid .price { grid-area: price; flex-direction: column; align-items: flex-end; gap: .1rem; margin: 0; }
  #homeBestGrid .price .from { display: none; }
  #homeBestGrid .price b { font-size: 1.08rem; }
  #homeBestGrid .price .per { font-size: .68rem; }
  #homeBestGrid .prod-actions {
    grid-area: actions; display: grid; grid-template-columns: minmax(0, 1fr) 44px;
    margin-top: .6rem; padding-top: .65rem; border-top: 1px solid var(--border);
  }
  #homeBestGrid .prod-actions > a:first-child { grid-column: 1; }
  #homeBestGrid .prod-actions > a:last-child {
    grid-column: 1 / -1; min-height: 32px; padding: .2rem;
    border: 0; background: transparent; color: var(--muted);
  }
}

/* ===== Owner round (2026-10-25) ===== */
/* Floating red WhatsApp: restore fixed position overridden in index.html */
.wa-float {
  position: fixed !important; right: 18px; bottom: 18px; left: auto !important; top: auto !important;
  z-index: 90; width: 56px; height: 56px; padding: 0 !important; border-radius: 50% !important;
  display: grid !important; place-items: center; background: var(--red) !important; color: #fff !important;
  box-shadow: 0 10px 26px rgba(214,0,0,.45); margin: 0 !important;
}
.wa-float > *:not(svg) { display: none !important; }
.wa-float svg { width: 28px; height: 28px; }
body.menu-open .wa-float, html.cart-open .wa-float { display: none !important; }
/* Category page: no big banner */
#categoryRoot .page-head-media { display: none !important; }
/* Who runs OGS removed */
#who { display: none !important; }
/* Home: 6 categories + view more */
#homeCatGrid:not(.ogs-all) .cat-card.ogs-extra { display: none !important; }
.ogs-more-wrap { display: flex; justify-content: center; margin-top: 1rem; }
/* Badges always on top */
.prod { overflow: visible !important; }
.best-badge.abs { z-index: 6 !important; top: 8px !important; left: 8px !important; }
.prod .gc-top { padding-top: 1.2rem; }
/* Minimal How It Works */
#how-it-works .how-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; position: relative; }
#how-it-works .how-step {
  background: none !important; border: 0 !important; box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  text-align: center; padding: .5rem !important;
}
#how-it-works .how-ic {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto .7rem; display: grid; place-items: center;
  background: var(--gradient-brand, var(--red)); color: #fff; box-shadow: 0 8px 20px rgba(214,0,0,.35);
}
#how-it-works h3 { font-size: 1rem; margin: 0 0 .3rem; }
#how-it-works p { font-size: .85rem; color: var(--muted); margin: 0 auto; max-width: 18rem; }
@media (max-width: 760px) {
  #how-it-works .how-grid { grid-template-columns: 1fr; gap: .4rem; }
  #how-it-works .how-step { display: grid; grid-template-columns: 44px 1fr; column-gap: .8rem; text-align: left; align-items: start; }
  #how-it-works .how-ic { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  #how-it-works p { margin: 0; }
}
/* Shop: shorter cards, icon untouched */
#shopGrid .prod p.desc, #shopGrid .prod .gc-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#shopGrid .prod { padding-bottom: .8rem; }
#shopGrid .prod .price { margin-bottom: .4rem; }
/* Product page: small feature chips */
.fchips { gap: .3rem !important; margin: .6rem 0 .9rem !important; }
.fchip { font-size: .62rem !important; padding: .22rem .45rem !important; letter-spacing: .02em !important; text-transform: none !important; font-weight: 600 !important; border-radius: 7px !important; }
.fchip svg { width: 10px; height: 10px; }

/* ===== Decent sizing pass (tablet + desktop) ===== */
.prod .prod-actions .btn { min-height: 38px; padding: .5rem .8rem; font-size: .8rem; border-radius: 10px; }
.ogs-more-wrap .btn { min-height: 38px; padding: .5rem 1.1rem; font-size: .8rem; }
@media (min-width: 761px) {
  :is(#homeBestGrid, #shopGrid, .prod-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: .8rem !important; }
  .prod.has-pair .gift-card.gc-photo { max-height: 210px; width: auto; margin-inline: auto; }
  .prod.has-pair .gc-art img { max-height: 210px; object-fit: contain; }
  .prod h3 { font-size: .98rem; }
  .prod .gc-desc { font-size: .78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .prod-actions { display: grid !important; grid-template-columns: minmax(0,1fr) 40px; gap: .4rem; }
  .prod-actions > a:first-child { grid-column: 1; }
  .prod .prod-actions [data-add-cart] { font-size: 0; padding: 0; width: 40px; gap: 0; }
  .prod .prod-actions [data-add-cart] svg { width: 18px; height: 18px; }
  .prod .prod-actions > a:last-child { grid-column: 1 / -1; min-height: 28px; padding: .15rem; border: 0; background: transparent; color: var(--muted); font-size: .76rem; }
  .stat-card { padding: .8rem 1rem; }
}
@media (min-width: 1100px) { :is(#homeBestGrid, #shopGrid, .prod-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
/* Frosted glass on cards & header always */
html:not([data-theme="light"]) :is(.prod, .cat-card, .stat-card, .faq-item, .why-acc-box) {
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.025)) !important;
  border-color: rgba(255,255,255,.14) !important;
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.nav { background: color-mix(in srgb, var(--bg) 70%, transparent) !important; backdrop-filter: blur(16px) saturate(160%) !important; -webkit-backdrop-filter: blur(16px) saturate(160%) !important; }

/* AI layout helper */
.ogs-ai-fab { position: fixed; left: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--ink); border: 1px solid rgba(255,255,255,.18);
  background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.ogs-ai-fab svg { color: var(--red-bright); }
.ogs-ai-panel { position: fixed; left: 18px; bottom: 74px; z-index: 95; width: min(360px, calc(100vw - 36px)); max-height: min(70vh, 560px); overflow: auto;
  padding: 1rem; border-radius: 16px; border: 1px solid rgba(255,255,255,.16); color: var(--ink);
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 50px rgba(0,0,0,.5); font-size: .86rem; }
.ogs-ai-panel[hidden] { display: none; }
.ogs-ai-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); }
.ogs-ai-x { background: none; border: 0; color: var(--muted); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.ogs-ai-sub { color: var(--muted); margin: .3rem 0 .6rem; font-size: .8rem; }
.ogs-ai-panel textarea { width: 100%; resize: vertical; border-radius: 10px; padding: .6rem; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); }
.ogs-ai-send { width: 100%; margin-top: .5rem; min-height: 38px; font-size: .82rem; }
.ogs-ai-out ul { padding-left: 1.1rem; margin: .7rem 0 0; } .ogs-ai-out li { margin-bottom: .45rem; }
.ogs-ai-err { color: var(--red-bright); } .ogs-ai-wait { color: var(--muted); }

/* ===== White theme redesign (default) ===== */
html[data-theme="light"] {
  --bg: #FFFFFF; --surface: #FFFFFF; --elevated: #F6F7F9; --border: #ECEDF0;
  --ink: #0F1115; --muted: #5B616B; --faint: #8A9099; --red-bright: #D60000;
  --nav-bg: rgba(255,255,255,.82); --menu-bg: rgba(255,255,255,.98); --chip-bg: #FFFFFF;
  --gradient-dark: linear-gradient(180deg, #FFFFFF 0%, #FFF6F6 100%);
  --soft-shadow: 0 1px 2px rgba(15,17,21,.04), 0 8px 24px -12px rgba(15,17,21,.12);
  --lift-shadow: 0 2px 4px rgba(15,17,21,.04), 0 22px 40px -18px rgba(214,0,0,.22);
}
html[data-theme="light"] body { background: #FFFFFF; color: var(--ink); }
/* calm background: no red tints/aurora noise */
html[data-theme="light"] .view.active > section:nth-of-type(even) { background: #FAFAFB; }
html[data-theme="light"] .hero-landing::before { opacity: .35; filter: blur(60px); }
html[data-theme="light"] .hero-landing::after { opacity: .35; }
html[data-theme="light"] #ogsGlow { display: none; }
html[data-theme="light"] .ogs-float { opacity: .12; box-shadow: none; }
/* clean solid cards */
html[data-theme="light"] :is(.prod, .cat-card, .stat-card, .tile, .feat-card, .faq-item, .why-acc-box, .rc-card, .buy-panel, .deliv-card, .compare-col, .step, .search-box, .sort-box, .pay-strip, .review-form, .honest-panel, .empty-state) {
  background: #FFFFFF !important; border: 1px solid var(--border) !important;
  box-shadow: var(--soft-shadow) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html[data-theme="light"] :is(.prod, .cat-card, .feat-card, .tile):hover { box-shadow: var(--lift-shadow) !important; border-color: rgba(214,0,0,.25) !important; }
html[data-theme="light"] .prod { border-radius: 18px; }
html[data-theme="light"] .prod::after { opacity: .9; }
/* header */
html[data-theme="light"] .nav, html[data-theme="light"] .nav.ogs-scrolled {
  background: rgba(255,255,255,.8) !important; border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 20px -16px rgba(15,17,21,.25);
}
html[data-theme="light"] :is(.theme-btn, .nav-search-btn, .cart-btn, .burger, .cur-select) { background: #FFFFFF; border-color: var(--border); color: var(--ink); }
html[data-theme="light"] .topbar { background: #0F1115; color: #FFFFFF; }
/* typography */
html[data-theme="light"] h1, html[data-theme="light"] h2 { color: var(--ink); }
html[data-theme="light"] .grad { background-image: linear-gradient(100deg, #E0101B, #B80000 50%, #E0101B) !important; background-size: 200% auto !important; }
html[data-theme="light"] .sec-sub, html[data-theme="light"] .lead { color: var(--muted); }
/* chips / pills */
html[data-theme="light"] :is(.dur-chip, .filter-btn, .fchip, .var-btn) { background: #F6F7F9 !important; border-color: var(--border) !important; color: var(--ink); }
html[data-theme="light"] :is(.dur-chip.sel, .filter-btn.active, .var-btn.selected) { background: #FFF1F1 !important; border-color: #D60000 !important; color: #B80000; }
html[data-theme="light"] .btn-ghost { background: #FFFFFF; border-color: var(--border); color: var(--ink); }
html[data-theme="light"] .btn-red { box-shadow: 0 8px 18px -8px rgba(214,0,0,.55); }
/* category tiles keep colour, softer shadow */
html[data-theme="light"] .cat-chev { background: #F6F7F9; }
/* How it works icons */
html[data-theme="light"] #how-it-works .how-ic { box-shadow: 0 8px 18px -6px rgba(214,0,0,.45); }
/* footer */
html[data-theme="light"] footer { background: #0F1115 !important; color: #E9EAEE; }
html[data-theme="light"] footer :is(h3, h4, .foot-head, b, strong) { color: #FFFFFF; }
html[data-theme="light"] footer :is(a, p, li) { color: #A9AEB7; }
/* AI helper & scrollbar */
html[data-theme="light"] .ogs-ai-fab, html[data-theme="light"] .ogs-ai-panel { background: rgba(255,255,255,.92); border-color: var(--border); box-shadow: 0 16px 40px -16px rgba(15,17,21,.3); }
html[data-theme="light"] ::-webkit-scrollbar-track { background: #F4F5F7; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { border-color: #F4F5F7; }
/* gentler scroll blur on white */
html[data-theme="light"] .js .reveal, html[data-theme="light"] .ogs-rv { filter: blur(6px); }
@media (max-width: 560px) {
  .cat-chev { display: none !important; }
  .cat-card { padding: .65rem .6rem !important; }
  .cat-name { font-size: .8rem !important; }
}
@media (max-width: 760px) {
  .prod .prod-actions .btn[data-add-cart] { font-size: 0 !important; padding: 0 !important; width: 44px; min-width: 44px; gap: 0; }
}
@media (min-width: 761px) { .prod .prod-actions .btn[data-add-cart] { font-size: 0 !important; padding: 0 !important; gap: 0; } }

/* Remove floating hero icons */
.ogs-float { display: none !important; }

/* IPTV plans: TV-style plan cards, different from normal products */
#categoryRoot.ogs-iptv .page-head { background: linear-gradient(135deg, #0F1115, #2a0606); }
#categoryRoot.ogs-iptv .page-head h1, #categoryRoot.ogs-iptv .page-head .lead, #categoryRoot.ogs-iptv .page-head .eyebrow,
#categoryRoot.ogs-iptv .crumbs, #categoryRoot.ogs-iptv .crumbs a { color: #fff !important; }
#categoryRoot.ogs-iptv .prod-grid { gap: 1.1rem; }
#categoryRoot.ogs-iptv .prod {
  background: linear-gradient(180deg, #14161B, #0F1115) !important; color: #E9EAEE;
  border: 1px solid rgba(255,255,255,.08) !important; border-radius: 20px; overflow: hidden;
  padding-top: 2.3rem; position: relative; box-shadow: 0 18px 40px -18px rgba(214,0,0,.45) !important;
}
#categoryRoot.ogs-iptv .prod:has([data-add-cart])::before {
  content: "● LIVE TV PLAN"; position: absolute; inset: 0 0 auto 0; height: 1.9rem;
  display: flex; align-items: center; padding: 0 1rem; font: 700 .68rem/1 "JetBrains Mono", monospace;
  letter-spacing: .12em; color: #fff; background: linear-gradient(90deg, #D60000, #8a0000); z-index: 2;
}
#categoryRoot.ogs-iptv .prod h3, #categoryRoot.ogs-iptv .prod b, #categoryRoot.ogs-iptv .prod .price { color: #fff !important; }
#categoryRoot.ogs-iptv .prod p, #categoryRoot.ogs-iptv .prod .per, #categoryRoot.ogs-iptv .prod small { color: #A9AEB7 !important; }
#categoryRoot.ogs-iptv .prod .price b { font-size: 1.6rem; }
#categoryRoot.ogs-iptv .prod .fchip, #categoryRoot.ogs-iptv .prod .dur-chip { background: rgba(255,255,255,.07) !important; color: #E9EAEE !important; border-color: rgba(255,255,255,.12) !important; }
#categoryRoot.ogs-iptv .prod:hover { border-color: #D60000 !important; transform: translateY(-3px); }
#categoryRoot.ogs-iptv .prod .btn-ghost, #categoryRoot.ogs-iptv .prod .prod-actions a:last-child { color: #E9EAEE; border-color: rgba(255,255,255,.18); }
