/* ==========================================================================
   ggl-theme — theme.css
   Ported from index-v2.html <style> (Demo 2, purple-accent dark-default)
   + WooCommerce overrides mapped to the rgb(var(--c-*)) token palette
   + explicit rules for JS-injected markup (Tailwind CDN JIT only scans
     the initial DOM, so runtime-injected classes are defined here).
   Tailwind CDN config/boot lives in functions.php — NOT duplicated here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens — :root dark (default) + [data-theme="light"] override
   -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --c-ink: 10 12 16;
  --c-coal: 15 18 24;
  --c-card: 20 24 34;
  --c-raise: 26 31 43;
  --c-line: 36 43 58;
  --c-volt: 167 139 250;
  --c-volt-glow: 167 139 250;
  --c-ink-on-volt: 10 12 16;
  --c-mist: 154 164 178;
  --c-snow: 233 237 243;
  --c-flame: 255 111 97;
  --c-aqua: 124 196 255;
  --c-mint: 74 222 128;
  --c-gold: 245 184 61;
  --c-violet: 183 166 255;
  --c-orange: 245 167 66;
  --c-coral: 255 138 138;
  --c-glass1: rgba(255,255,255,.025);
  --c-glass2: rgba(255,255,255,.06);
  --c-glass3: rgba(255,255,255,.12);
  --c-hairline: rgba(255,255,255,.10);
  --c-shadow: rgba(0,0,0,.88);
  --c-card-glow: rgb(167 139 250 / 0.25);
}
html[data-theme="light"] {
  color-scheme: light;
  --c-ink: 247 248 245;
  --c-coal: 255 255 255;
  --c-card: 255 255 255;
  --c-raise: 238 240 234;
  --c-line: 226 229 220;
  --c-volt: 124 58 237;
  --c-volt-glow: 224 214 253;
  --c-ink-on-volt: 16 21 26;
  --c-mist: 93 102 112;
  --c-snow: 16 21 26;
  --c-flame: 255 111 97;
  --c-aqua: 20 110 190;
  --c-mint: 21 128 61;
  --c-gold: 180 83 9;
  --c-violet: 124 92 240;
  --c-orange: 217 119 6;
  --c-coral: 224 82 82;
  --c-glass1: rgba(10,12,16,.03);
  --c-glass2: rgba(10,12,16,.06);
  --c-glass3: rgba(10,12,16,.12);
  --c-hairline: rgba(10,12,16,.10);
  --c-shadow: rgba(10,12,16,.30);
  --c-card-glow: rgba(10,12,16,.32);
}
html[data-theme="light"] .bg-volt { color: #fff; }
html[data-theme="light"] ::selection { background-color: rgb(var(--c-volt-glow)); color: rgb(var(--c-ink-on-volt)); }
.tgl-sun { display: block; }
.tgl-moon { display: none; }
html[data-theme="light"] .tgl-sun { display: none; }
html[data-theme="light"] .tgl-moon { display: block; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { font-variant-numeric: tabular-nums; }
.noise::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. Reveal-on-scroll, row-scroll, carousel slides, WA pulse, hero scrim
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0ms); }
.js [data-reveal].revealed { opacity: 1; transform: none; }
.row-scroll { scrollbar-width: thin; scrollbar-color: rgb(var(--c-line)) transparent; }
.row-scroll::-webkit-scrollbar { height: 6px; }
.row-scroll::-webkit-scrollbar-track { background: transparent; }
.row-scroll::-webkit-scrollbar-thumb { background: rgb(var(--c-line)); border-radius: 99px; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide {
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .65s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide.active {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
  z-index: 2;
}
.slide.is-exit {
  clip-path: inset(0 100% 0 0);
  z-index: 1;
  pointer-events: none;
}
#hero.dir-back .slide:not(.active):not(.is-exit) { clip-path: inset(0 100% 0 0); }
#hero.dir-back .slide.is-exit { clip-path: inset(0 0 0 100%); }
.slide.active .slide-img { animation: kb 7s ease-out both; }
@keyframes kb { from { transform: scale(1.07); } to { transform: scale(1.01); } }
.slide .cap-el { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.slide.active .cap-el { opacity: 1; transform: none; }
.slide.active .cap-el:nth-child(2) { transition-delay: .15s; }
.slide.active .cap-el:nth-child(3) { transition-delay: .3s; }
.slide.active .cap-el:nth-child(4) { transition-delay: .45s; }
.slide .cap-el { text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 8px 30px rgba(0,0,0,.5); }
.slide .cap-el.font-mono { background: rgba(4,10,20,.55); border: 1px solid rgba(255,255,255,.14); padding: .45rem .8rem; border-radius: .6rem; backdrop-filter: blur(4px); }
.slide h2.cap-el { color: #fff; }
.slide .cap-el.text-mist { color: rgba(255,255,255,.94); }
.slide .cap-el.font-mono.text-volt { color: #F2C511; }
.slide .cap-el.font-mono.text-flame { color: #FF8A75; }
/* FIX (Debate ruling 3): header element has id="site-header" and no header class */
#site-header {
  transition: box-shadow .25s ease, background-color .25s ease;
}
#site-header .header-bar,
#site-header .header-logo,
#site-header img {
  transition: height .25s ease, padding .25s ease, opacity .2s ease;
}
#site-header.is-stuck {
  box-shadow: 0 12px 32px -18px var(--c-shadow);
  background: rgb(var(--c-ink) / .94);
}
#site-header.is-stuck .header-bar { padding-top: .4rem; padding-bottom: .4rem; }
#site-header.is-stuck .header-logo,
#site-header.is-stuck img,
.woocommerce #site-header.is-stuck img,
.woocommerce-page #site-header.is-stuck img {
  height: 2.5rem;
  width: auto;
}
@media (min-width: 640px) {
  #site-header.is-stuck .header-logo,
  #site-header.is-stuck img,
  .woocommerce #site-header.is-stuck img,
  .woocommerce-page #site-header.is-stuck img {
    height: 2.75rem;
  }
}
#site-header.is-stuck .header-pops { display: none; }
#site-header.is-stuck #search-form label { padding-top: .4rem; padding-bottom: .4rem; }
.wa-pulse { position: relative; }
.wa-pulse::before { content: ""; position: absolute; inset: 0; border-radius: 9999px; background: #25D366; opacity: .35; animation: wap 2.4s ease-out infinite; z-index: -1; }
@keyframes wap { 0% { transform: scale(1); opacity: .35; } 70% { transform: scale(1.55); opacity: 0; } 100% { transform: scale(1.55); opacity: 0; } }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 55%, transparent); }
html[data-theme="light"] .hero-scrim { background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.4) 55%, rgba(0,0,0,.05)); }
#countdown [id^="cd-"].tick {
  display: inline-block;
  animation: digit-in .28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes digit-in {
  from { clip-path: inset(100% 0 0 0); opacity: .35; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
#cart-count.pop { animation: cartpop .32s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes cartpop {
  0% { transform: scale(.55); }
  70% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
section[aria-label="Categorías"] a.group img {
  clip-path: inset(0);
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), clip-path .5s cubic-bezier(0.16, 1, 0.3, 1);
}
section[aria-label="Categorías"] a.group:hover img {
  clip-path: inset(2% 2% 10% 2%);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .slide,
  .slide.active,
  .slide.is-exit,
  #hero.dir-back .slide:not(.active):not(.is-exit),
  #hero.dir-back .slide.is-exit {
    clip-path: none;
    transition: none;
  }
  .slide { opacity: 0; }
  .slide.active { opacity: 1; }
  .slide.active .slide-img { animation: none; }
  .wa-pulse::before { animation: none; opacity: 0; }
  #countdown [id^="cd-"].tick { animation: none; }
  #cart-count.pop { animation: none; }
  section[aria-label="Categorías"] a.group img,
  section[aria-label="Categorías"] a.group:hover img {
    clip-path: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   3. To-top button (ported verbatim from index-v2.html line 1100)
   -------------------------------------------------------------------------- */
.to-top{opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .3s ease,transform .3s ease}.to-top.show{opacity:1;transform:none;pointer-events:auto}

/* ==========================================================================
   4. WooCommerce overrides — all colors via rgb(var(--c-*)) tokens so they
      stay dark+light compatible. WooCommerce's own base CSS + icon font
      remain enqueued; these rules restyle them to the theme palette.
   ========================================================================== */

/* --- Notices (message / error / info) --- */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  color: rgb(var(--c-snow));
  padding: 1rem 1.25rem 1rem 3rem;
  position: relative;
  box-shadow: 0 12px 32px -18px var(--c-shadow);
}
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  font-family: "WooCommerce", sans-serif;
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
}
.woocommerce-message::before { content: "\e015"; color: rgb(var(--c-mint)); }
.woocommerce-error::before { content: "\e016"; color: rgb(var(--c-flame)); }
.woocommerce-info::before { content: "\e028"; color: rgb(var(--c-aqua)); }
.woocommerce-message a,
.woocommerce-error a,
.woocommerce-info a { color: rgb(var(--c-volt)); font-weight: 600; }
.woocommerce-message a:hover,
.woocommerce-error a:hover,
.woocommerce-info a:hover { color: rgb(var(--c-violet)); }
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button { margin-right: .5rem; }

/* --- Buttons (.button, .alt, submit, #respond) --- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  color: rgb(var(--c-snow));
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25rem;
  padding: .7rem 1.25rem;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: rgb(var(--c-card));
  border-color: rgb(var(--c-volt) / .5);
  color: rgb(var(--c-volt));
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background: rgb(var(--c-volt));
  border-color: rgb(var(--c-volt));
  color: rgb(var(--c-ink-on-volt));
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
  background: rgb(var(--c-violet));
  border-color: rgb(var(--c-violet));
  color: rgb(var(--c-ink-on-volt));
}
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
.woocommerce a.button.alt:active,
.woocommerce button.button.alt:active,
.woocommerce input.button.alt:active { transform: scale(.98); }
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce input.button.disabled,
.woocommerce input.button:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
.woocommerce a.button.loading,
.woocommerce button.button.loading,
.woocommerce input.button.loading { opacity: .7; }

/* --- Form inputs / selects / textareas --- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection--single,
.woocommerce form.login input.input-text,
.woocommerce form.register input.input-text,
.woocommerce form.checkout_coupon input.input-text,
.woocommerce form.checkout input.input-text,
.woocommerce form.checkout textarea,
.woocommerce form.checkout select {
  background: rgb(var(--c-card));
  border: 1px solid rgb(var(--c-line));
  border-radius: .6rem;
  color: rgb(var(--c-snow));
  font-size: .875rem;
  line-height: 1.5rem;
  padding: .6rem .85rem;
  min-height: 2.75rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row .select2-container--focus .select2-selection--single,
.woocommerce form.checkout input.input-text:focus,
.woocommerce form.checkout textarea:focus,
.woocommerce form.checkout select:focus {
  border-color: rgb(var(--c-volt));
  box-shadow: 0 0 0 3px rgb(var(--c-volt) / .18);
  outline: none;
}
.woocommerce form .form-row label { color: rgb(var(--c-mist)); font-size: .8125rem; font-weight: 600; }
.woocommerce form .form-row .required { color: rgb(var(--c-flame)); }
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered { color: rgb(var(--c-snow)); line-height: 2.5rem; }
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow b { border-top-color: rgb(var(--c-mist)); }
.woocommerce form .form-row .select2-container--open .select2-selection--single .select2-selection__arrow b { border-bottom-color: rgb(var(--c-mist)); }
.woocommerce .select2-dropdown { background: rgb(var(--c-card)); border: 1px solid rgb(var(--c-line)); border-radius: .6rem; color: rgb(var(--c-snow)); }
.woocommerce .select2-results__option { color: rgb(var(--c-snow)); }
.woocommerce .select2-results__option--highlighted[aria-selected] { background: rgb(var(--c-volt)); color: rgb(var(--c-ink-on-volt)); }
.woocommerce form .form-row .input-checkbox { accent-color: rgb(var(--c-volt)); }
.woocommerce form .form-row textarea { min-height: 7rem; }

/* --- Checkout --- */
.woocommerce-checkout #payment {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
}
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid rgb(var(--c-line)); padding: 1.25rem; }
.woocommerce-checkout #payment div.payment_box {
  background: rgb(var(--c-card));
  border: 1px solid rgb(var(--c-line));
  border-radius: .6rem;
  color: rgb(var(--c-mist));
  margin-top: .75rem;
  padding: .9rem 1rem;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: rgb(var(--c-card)); }
.woocommerce-checkout #payment div.form-row { padding: 1.25rem; }
.woocommerce-checkout #payment .payment_method_paypal img,
.woocommerce-checkout #payment .payment_method_ppcp-gateway img { max-height: 2rem; width: auto; }
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  padding: 1.25rem;
}
.woocommerce-checkout h3,
.woocommerce-order-received h2,
.woocommerce-order-received h3 { color: rgb(var(--c-snow)); font-weight: 700; }
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #ship-to-different-address { color: rgb(var(--c-snow)); }

/* --- Cart + checkout tables --- */
.woocommerce table.shop_table {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  border-collapse: separate;
  border-spacing: 0;
  color: rgb(var(--c-snow));
  overflow: hidden;
}
.woocommerce table.shop_table th {
  background: rgb(var(--c-card));
  border-bottom: 1px solid rgb(var(--c-line));
  color: rgb(var(--c-mist));
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.woocommerce table.shop_table td {
  border-top: 1px solid rgb(var(--c-line));
  color: rgb(var(--c-snow));
  padding: .9rem 1rem;
}
.woocommerce table.shop_table td.product-name a,
.woocommerce table.shop_table td a { color: rgb(var(--c-snow)); font-weight: 600; }
.woocommerce table.shop_table td.product-name a:hover,
.woocommerce table.shop_table td a:hover { color: rgb(var(--c-volt)); }
.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td { border-top: 1px solid rgb(var(--c-line)); }
.woocommerce table.shop_table .order-total th,
.woocommerce table.shop_table .order-total td { color: rgb(var(--c-volt)); font-weight: 700; }
.woocommerce table.shop_table td.actions { border-top: 1px solid rgb(var(--c-line)); }
.woocommerce-cart .cart_totals h2,
.woocommerce-cart .cart-collaterals h2 { color: rgb(var(--c-snow)); font-weight: 700; }
.woocommerce-cart .cart_totals table.shop_table { background: rgb(var(--c-raise)); }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { font-size: 1rem; padding: .9rem 1.5rem; }
.woocommerce table.shop_table_responsive tr:nth-child(2n) td { background: transparent; }
.woocommerce table.shop_table_responsive tr td::before { color: rgb(var(--c-mist)); font-weight: 600; }

/* --- Pagination --- */
.woocommerce nav.woocommerce-pagination { margin-top: 2rem; }
.woocommerce nav.woocommerce-pagination ul {
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  overflow: hidden;
}
.woocommerce nav.woocommerce-pagination ul li { border-right: 1px solid rgb(var(--c-line)); }
.woocommerce nav.woocommerce-pagination ul li:last-child { border-right: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: rgb(var(--c-raise));
  color: rgb(var(--c-snow));
  font-weight: 600;
  min-width: 2.75rem;
  padding: .6rem .9rem;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus { background: rgb(var(--c-card)); color: rgb(var(--c-volt)); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: rgb(var(--c-volt)); color: rgb(var(--c-ink-on-volt)); }

/* --- Star ratings --- */
.woocommerce .star-rating { color: rgb(var(--c-gold)); }
.woocommerce .star-rating span::before { color: rgb(var(--c-gold)); }
.woocommerce p.stars a { color: rgb(var(--c-gold)); }
.woocommerce p.stars a:hover,
.woocommerce p.stars a.active { color: rgb(var(--c-gold)); }

/* --- Quantity input --- */
.woocommerce .quantity .qty {
  background: rgb(var(--c-card));
  border: 1px solid rgb(var(--c-line));
  border-radius: .6rem;
  color: rgb(var(--c-snow));
  font-weight: 700;
  height: 2.75rem;
  padding: 0 .5rem;
  text-align: center;
  width: 4.25rem;
}
.woocommerce .quantity .qty:focus { border-color: rgb(var(--c-volt)); box-shadow: 0 0 0 3px rgb(var(--c-volt) / .18); outline: none; }

/* --- Product tabs --- */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid rgb(var(--c-line));
  margin: 0 0 1.5rem;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom: 1px solid rgb(var(--c-line)); }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: rgb(var(--c-mist));
  display: inline-block;
  font-weight: 600;
  padding: .8rem 1.1rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: rgb(var(--c-volt)); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: transparent;
  border-bottom: 2px solid rgb(var(--c-volt));
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: rgb(var(--c-volt)); }
.woocommerce div.product .woocommerce-tabs .panel {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  color: rgb(var(--c-mist));
  padding: 1.25rem;
}
.woocommerce div.product .woocommerce-tabs .panel h2 { color: rgb(var(--c-snow)); font-size: 1.1rem; font-weight: 700; }

/* --- Order received / thank-you --- */
.woocommerce-order-received .woocommerce-thankyou-order-received {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-mint) / .4);
  border-radius: .75rem;
  color: rgb(var(--c-mint));
  font-weight: 700;
  padding: 1rem 1.25rem;
}
.woocommerce ul.order_details {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  padding: 1.25rem;
}
.woocommerce ul.order_details li { border-right: 1px solid rgb(var(--c-line)); color: rgb(var(--c-snow)); }
.woocommerce ul.order_details li strong { color: rgb(var(--c-snow)); }
.woocommerce ul.order_details li:last-child { border-right: 0; }
.woocommerce .woocommerce-customer-details address,
.woocommerce .woocommerce-order-details .woocommerce-table--order-details {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  color: rgb(var(--c-snow));
  padding: 1.25rem;
}
.woocommerce .woocommerce-order-details__title,
.woocommerce .woocommerce-columns--addresses h2 { color: rgb(var(--c-snow)); font-weight: 700; }

/* --- Misc WooCommerce bits --- */
.woocommerce .price { color: rgb(var(--c-volt)); font-weight: 700; }
.woocommerce .price del { color: rgb(var(--c-mist)); font-weight: 400; }
.woocommerce .price ins { text-decoration: none; }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: .6rem;
  color: rgb(var(--c-snow));
  padding: .5rem .75rem;
}
.woocommerce .woocommerce-ordering select:focus { border-color: rgb(var(--c-volt)); outline: none; }
.woocommerce .woocommerce-breadcrumb { color: rgb(var(--c-mist)); }
.woocommerce .woocommerce-breadcrumb a { color: rgb(var(--c-volt)); }
.woocommerce .woocommerce-breadcrumb a:hover { color: rgb(var(--c-violet)); }
.woocommerce .woocommerce-message .button.wc-forward,
.woocommerce .woocommerce-info .button.wc-forward { float: right; }

/* ==========================================================================
   5. Explicit rules for JS-injected markup — Tailwind CDN JIT only scans the
      initial DOM, so classes added at runtime are defined here (ID-scoped for
      specificity over Tailwind's single-class utilities).
   ========================================================================== */

/* --- #toast-zone children (theme.js toast()) --- */
#toast-zone > div {
  pointer-events: auto;
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  color: rgb(var(--c-snow));
  font-size: .875rem;
  line-height: 1.25rem;
  padding: .75rem 1rem;
  border-radius: .75rem;
  box-shadow: 0 16px 40px -12px var(--c-shadow);
  opacity: 1;
  transform: none;
  transition: opacity .3s ease, transform .3s ease;
}
#toast-zone > div.opacity-0 { opacity: 0; }
#toast-zone > div.translate-y-2 { transform: translateY(.5rem); }

/* --- span#cart-count (WC fragment + theme.js toggle hidden/grid) --- */
#cart-count {
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 .25rem;
  border-radius: 5px;
  background: rgb(var(--c-volt));
  color: rgb(var(--c-ink-on-volt));
  font-size: 10px;
  font-weight: 700;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  line-height: 1;
}
#cart-count.hidden { display: none; }
#cart-count.grid { display: grid; }

/* --- .pp-buy states (theme.js swaps featured/outline variants at runtime) --- */
.pp-buy {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  border-radius: .75rem;
  padding: .75rem 1rem;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, filter .15s ease, transform .15s ease;
}
.pp-buy.bg-volt {
  background: rgb(var(--c-volt));
  border: 1px solid rgb(var(--c-volt));
  color: rgb(var(--c-ink-on-volt));
}
.pp-buy.bg-volt:hover { filter: brightness(1.1); }
.pp-buy.bg-volt:active { transform: scale(.98); }
.pp-buy.bg-raise {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  color: rgb(var(--c-snow));
}
.pp-buy.bg-raise:hover { border-color: rgb(var(--c-volt) / .5); color: rgb(var(--c-volt)); }
.pp-buy.bg-raise:active { transform: scale(.98); }

/* --- #hero-dots button states (theme.js creates + toggles w-7 / !bg-white) --- */
#hero-dots button {
  height: .25rem;
  width: .75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.5);
  transition: all .3s ease;
}
#hero-dots button:hover { background: rgba(255,255,255,.75); }
#hero-dots button.w-7 { width: 1.75rem; }
#hero-dots button.\!bg-white { background: #fff !important; }

/* ==========================================================================
   6. WooCommerce img size-class overrides
   WC's woocommerce.css ships `.woocommerce img { height: auto; }`
   (specificity 0,1,1), which beats Tailwind's single-class height utilities
   (0,1,0) on pages where body carries .woocommerce/.woocommerce-page — the
   header/footer logos would render at natural size. These higher-specificity
   rules restore the Tailwind dimensions on WC pages.
   ========================================================================== */
.woocommerce img.h-10, .woocommerce-page img.h-10 { height: 2.5rem; }
.woocommerce img.h-12, .woocommerce-page img.h-12 { height: 3rem; }
.woocommerce img.h-16, .woocommerce-page img.h-16 { height: 4rem; }
.woocommerce img.h-20, .woocommerce-page img.h-20 { height: 5rem; }
.woocommerce img.h-24, .woocommerce-page img.h-24 { height: 6rem; }
.woocommerce img.w-auto, .woocommerce-page img.w-auto { width: auto; }
.woocommerce img.h-full, .woocommerce-page img.h-full { height: 100%; }
@media (min-width: 640px) {
  .woocommerce img.sm\:h-10, .woocommerce-page img.sm\:h-10 { height: 2.5rem; }
  .woocommerce img.sm\:h-12, .woocommerce-page img.sm\:h-12 { height: 3rem; }
  .woocommerce img.sm\:h-16, .woocommerce-page img.sm\:h-16 { height: 4rem; }
  .woocommerce img.sm\:h-20, .woocommerce-page img.sm\:h-20 { height: 5rem; }
  .woocommerce img.sm\:h-24, .woocommerce-page img.sm\:h-24 { height: 6rem; }
}

/* ==========================================================================
   7. WooCommerce product gallery (single product)
   ========================================================================== */
.woocommerce-product-gallery {
  background: rgb(var(--c-coal));
  border: 1px solid rgb(var(--c-line));
  border-radius: 1rem; /* rounded-2xl */
  overflow: hidden;
}
.woocommerce-product-gallery__wrapper img {
  width: 100%;
  height: auto;
}
.woocommerce-product-gallery .flex-control-thumbs li img {
  width: 80px;
  height: auto;
  border: 1px solid rgb(var(--c-line));
  border-radius: .5rem; /* rounded-lg */
  opacity: .6;
  cursor: pointer;
  transition: opacity .15s ease, border-color .15s ease;
}
.woocommerce-product-gallery .flex-control-thumbs li img:hover { opacity: .85; }
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
  opacity: 1;
  border-color: rgb(var(--c-volt));
}
/* Photoswipe lightbox overlay matches the ink background */
.pswp,
.pswp__bg { background: rgb(var(--c-ink)); }

/* ==========================================================================
   8. (removed) Quantity stepper now consolidated in section 18
   ========================================================================== */

/* ==========================================================================
   9. Comment / review form (#respond, .comment-form)
   ========================================================================== */
.woocommerce #respond .comment-form input[type="text"],
.woocommerce #respond .comment-form input[type="email"],
.woocommerce #respond .comment-form input[type="url"],
.woocommerce #respond .comment-form textarea {
  background: rgb(var(--c-coal));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem; /* rounded-xl */
  color: rgb(var(--c-snow));
  padding: .75rem 1rem; /* px-4 py-3 */
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.woocommerce #respond .comment-form input:focus,
.woocommerce #respond .comment-form textarea:focus {
  border-color: rgb(var(--c-volt) / .6);
  outline: none;
}
.woocommerce #respond .comment-form textarea { min-height: 8rem; }
.woocommerce #respond .comment-form label { color: rgb(var(--c-mist)); font-size: .875rem; font-weight: 600; }
.woocommerce #respond .comment-form-rating .stars span a { color: rgb(var(--c-gold)); }
.woocommerce #respond .comment-form-cookies-consent label { color: rgb(var(--c-mist)); font-size: .875rem; font-weight: 400; }
.woocommerce #respond input#submit.submit {
  background: rgb(var(--c-volt));
  border-color: rgb(var(--c-volt));
  color: rgb(var(--c-ink-on-volt));
  border-radius: .75rem;
  font-weight: 600;
}
.woocommerce #respond input#submit.submit:hover {
  background: rgb(var(--c-violet));
  border-color: rgb(var(--c-violet));
  color: rgb(var(--c-ink-on-volt));
}

/* ==========================================================================
   10. Catalog ordering + result count
   ========================================================================== */
.woocommerce .woocommerce-ordering select {
  background: rgb(var(--c-coal));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  color: rgb(var(--c-snow));
  font-size: .875rem;
  min-height: 2.75rem;
  padding: .6rem 2.25rem .6rem .85rem;
  cursor: pointer;
}
.woocommerce .woocommerce-ordering select:focus {
  border-color: rgb(var(--c-volt));
  box-shadow: 0 0 0 3px rgb(var(--c-volt) / .18);
  outline: none;
}
.woocommerce .woocommerce-result-count {
  color: rgb(var(--c-mist));
  font-size: .875rem;
}

/* ==========================================================================
   11. Shop sidebar widgets (.shop-filters)
   ========================================================================== */
.shop-filters .widget-title,
.shop-filters h2,
.shop-filters h3 {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgb(var(--c-mist));
}
.shop-filters .price-range-list a,
.shop-filters .price-list a {
  display: block;
  padding: .5rem .75rem; /* px-3 py-2 */
  border-radius: .5rem; /* rounded-lg */
  font-size: .875rem; /* text-sm */
  color: rgb(var(--c-mist));
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.shop-filters .price-range-list a:hover,
.shop-filters .price-list a:hover {
  color: rgb(var(--c-snow));
  background: rgb(var(--c-raise));
}
.shop-filters .price-range-list a.active,
.shop-filters .price-list a.active {
  background: rgb(var(--c-volt) / .1);
  color: rgb(var(--c-volt));
  border-left: 2px solid rgb(var(--c-volt));
}
.shop-filters ul.product-categories li a,
.shop-filters .cat-list a {
  display: block;
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: .875rem;
  color: rgb(var(--c-mist));
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.shop-filters ul.product-categories li a:hover,
.shop-filters .cat-list a:hover {
  color: rgb(var(--c-snow));
  background: rgb(var(--c-raise));
}
.shop-filters ul.product-categories li.current-cat a,
.shop-filters .cat-list a.active {
  color: rgb(var(--c-volt));
  background: rgb(var(--c-volt) / .1);
  border-left: 2px solid rgb(var(--c-volt));
}

/* ==========================================================================
   12. WhatsApp outline CTA (.ggl-wa-outline) — single, checkout, cart-empty, 404
   ========================================================================== */
.ggl-wa-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: transparent;
  border: 1px solid #25D366;
  border-radius: .75rem;
  color: #25D366;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25rem;
  padding: .7rem 1.25rem;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.ggl-wa-outline:hover {
  background: #25D366;
  border-color: #25D366;
  color: #0a0c10;
}
.ggl-wa-outline:active { transform: scale(.98); }
.ggl-wa-outline svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }

/* ==========================================================================
   13. Single product extras (info/trust boxes)
   ========================================================================== */
.single-product .ggl-info-card,
.single-product .info-card {
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  padding: 1rem 1.25rem;
}
.single-product .ggl-info-card h3,
.single-product .info-card h3 {
  color: rgb(var(--c-snow));
  font-size: .875rem;
  font-weight: 700;
}
.single-product .ggl-info-card p,
.single-product .info-card p {
  color: rgb(var(--c-mist));
  font-size: .875rem;
}
.single-product .woocommerce-message { margin-bottom: 1.5rem; }

/* ==========================================================================
   14. Empty cart state
   ========================================================================== */
.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  background: rgb(var(--c-raise));
  border: 1px solid rgb(var(--c-line));
  border-radius: 1rem;
}
.cart-empty-state h2 {
  color: rgb(var(--c-snow));
  font-weight: 700;
}
.cart-empty-state p {
  color: rgb(var(--c-mist));
}
.cart-empty-state .button,
.cart-empty-state a.button {
  margin-top: 1rem;
}

/* ==========================================================================
   15. Card consistency — related/upsell grids equal-height cards
   (article already carries flex flex-col; only the height fill is added)
   ========================================================================== */
.woocommerce .related.products article,
.woocommerce .upsells.products article,
.woocommerce ul.products li.product article {
  height: 100%;
}

/* ==========================================================================
   16. Row card stretch guard
   (one tall card must never stretch a whole horizontal scroll row)
   ========================================================================== */
.row-scroll > article {
  align-self: start;
}

/* ==========================================================================
   17. Round-4 UI fixes
   ========================================================================== */

/* --- 1. Light mode volt text: NEVER dark text on purple ---
   (belt+suspenders; the old non-important rule at line 65 is kept) */
html[data-theme="light"] .bg-volt { color: #fff !important; }
html[data-theme="light"] .bg-volt.text-ink { color: #fff !important; }

/* --- 2. cap-el never full width (mono label chip stretched 451px on mobile hero) --- */
.slide .cap-el { width: fit-content; max-width: 100%; }

/* --- 3. Hero dots centered on mobile --- */
@media (max-width: 639px) {
  #hero-dots { left: 50%; right: auto; transform: translateX(-50%); }
}

/* --- 4. Drag-scroll affordance (JS toggles .dragging) --- */
.row-scroll { cursor: grab; }
.row-scroll.dragging { cursor: grabbing; scroll-behavior: auto; }
.row-scroll.dragging * { pointer-events: none; }

/* --- 5. (removed) Qty stepper consolidated in section 18 --- */

/* --- 6. Gallery trigger button (bottom-right, SVG-ready) ---
   (font-size 0 + text-indent hides the emoji text; JS injects an SVG —
    if no JS, button is an empty circle, acceptable) */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: .85rem;
  bottom: .85rem;
  z-index: 20;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  background: rgba(10,12,16,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  font-size: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  transition: background .2s ease;
}
.woocommerce-product-gallery__trigger:hover { background: rgba(10,12,16,.8); }
.woocommerce-product-gallery__trigger img,
.woocommerce-product-gallery__trigger svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

/* --- 7. Footer mobile centered (desktop untouched; footer .grid > * = the 4 columns) --- */
@media (max-width: 767px) {
  footer .grid > * { text-align: center; }
  footer .grid > * > * { justify-content: center; }
  footer nav ul { display: inline-block; text-align: center; }
  footer .flex.items-center.gap-2 { justify-content: center; }
}

/* ==========================================================================
   18. Qty stepper (joined pill [−][input][+]) + gift cards + badge contrast
   ========================================================================== */
form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.woocommerce .quantity,
.quantity {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  position: relative !important;
  width: auto !important;
  margin: 0;
  border: 1px solid rgb(var(--c-line));
  border-radius: .75rem;
  overflow: hidden;
  background: rgb(var(--c-raise));
}
.woocommerce .quantity .qty-btn,
.quantity .qty-btn {
  position: static !important;
  transform: none !important;
  display: grid !important;
  place-items: center;
  width: 2.5rem !important;
  height: 2.75rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgb(var(--c-snow)) !important;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.woocommerce .quantity .qty-btn:hover,
.quantity .qty-btn:hover { background: rgb(var(--c-line) / .35) !important; color: rgb(var(--c-volt)) !important; }
.woocommerce .quantity .qty,
.quantity input.qty {
  width: 3.25rem !important;
  height: 2.75rem !important;
  padding: 0 !important;
  text-align: center;
  color: rgb(var(--c-snow)) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.woocommerce .quantity .qty:focus,
.quantity input.qty:focus { outline: none; }
.quantity input.qty::-webkit-inner-spin-button,
.quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html[data-theme="light"] .woocommerce .quantity .qty-btn,
html[data-theme="light"] .quantity .qty-btn { color: rgb(16 21 26) !important; }
html[data-theme="light"] .woocommerce .quantity .qty,
html[data-theme="light"] .quantity input.qty { color: rgb(16 21 26) !important; }
#grid-gifts,
#grid-pubg,
#grid-ff {
  align-items: stretch;
}
#grid-gifts article,
#grid-pubg article,
#grid-ff article {
  background: rgb(var(--c-coal));
  border: 1px solid rgb(var(--c-line));
}
html[data-theme="light"] #grid-gifts article,
html[data-theme="light"] #grid-pubg article,
html[data-theme="light"] #grid-ff article {
  background: #fff;
}
