/*
Theme Name: Hot Aminos
Template: hello-elementor
Version: 1.9.0
Description: Hot Aminos child theme. Tokens, header, footer, motion. Page copy lives in Elementor.
Text Domain: hot-aminos
*/

/* ---------- Tokens (mirror the Elementor Variables) ---------- */
:root, body {
  /* Light (default): warm, friendly, sizzling */
  --ha-ink: #FFF8F1;
  --ha-card: #FFFFFF;
  --ha-line: #F1E1D3;
  --ha-text: #2A1A12;
  --ha-muted: #7A6558;
  --ha-glass: rgba(255,248,241,.82);
  --ha-imgbg: #FFF1E6;
  --ha-soft: #FFE9D9;
  --ha-shadow: 0 18px 40px -22px rgba(200,60,0,.35);
  --ha-fire: var(--e-global-color-primary, #FF4D00);
  --ha-fire-2: var(--e-global-color-accent, #FF8A00);
  --ha-fire-3: var(--e-global-color-ha_gold, #FFC23A);
  --ha-red: var(--e-global-color-secondary, #E0213F);
  --ha-link: #D63A00;
  --ha-grad: linear-gradient(100deg, var(--ha-red), var(--ha-fire) 40%, var(--ha-fire-2) 75%, var(--ha-fire-3));
  --ha-radius: 18px;
  --ha-head: "Archivo", "Arial Black", system-ui, sans-serif;
  --ha-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ha-wrap: 1240px;
  color-scheme: light;
}
:root[data-theme="dark"], :root[data-theme="dark"] body {
  --ha-ink: #0F0B09;
  --ha-card: #1A1411;
  --ha-line: #2E241F;
  --ha-text: #FFF6EE;
  --ha-muted: #C4B2A6;
  --ha-glass: rgba(15,11,9,.82);
  --ha-imgbg: #221915;
  --ha-soft: #2A1C14;
  --ha-shadow: 0 24px 50px -24px rgba(255,77,0,.55);
  --ha-link: #FF9A3C;
  color-scheme: dark;
}

@view-transition { navigation: auto; }

html { scroll-behavior: smooth; }
body {
  background: var(--ha-ink);
  color: var(--ha-text);
  font-family: var(--ha-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .ha-head { font-family: var(--ha-head); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
a { color: var(--ha-link); }
a:hover { color: var(--ha-fire); }
::selection { background: var(--ha-fire); color: #000; }

:focus-visible { outline: 3px solid var(--ha-fire-3); outline-offset: 3px; border-radius: 4px; }
.ha-skip { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--ha-fire); color: #000; padding: 10px 16px; font-weight: 700; }
.ha-skip:focus { left: 12px; top: 12px; }
.ha-wrap { max-width: var(--ha-wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons, chips, badges, cards (Global Class equivalents) ---------- */
.ha-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce .single_add_to_cart_button, .elementor-button {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--ha-grad); color: #000 !important; border: 0; border-radius: 999px;
  padding: .85em 1.6em; font-family: var(--ha-head); font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  background-size: 200% 100%; background-position: 0 0;
  transition: background-position .5s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 0 0 rgba(255,77,0,0);
}
.ha-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .elementor-button:hover {
  background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(255,77,0,.6);
}
.ha-btn--ghost { background: transparent; color: var(--ha-text) !important; box-shadow: inset 0 0 0 2px var(--ha-fire); }
.ha-chip { display: inline-block; border: 1px solid var(--ha-line); border-radius: 999px; padding: .3em .9em; font-size: .85rem; color: var(--ha-muted); }
.ha-badge { display: inline-block; background: var(--ha-red); color: #fff; border-radius: 6px; padding: .2em .6em; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ha-card { background: var(--ha-card); border: 1px solid var(--ha-line); border-radius: var(--ha-radius); }

/* ---------- Announcement strip ---------- */
.ha-strip { background: var(--ha-grad); color: #000; font-weight: 800; font-size: .85rem; text-align: center; padding: 8px 12px; letter-spacing: .03em; }
.ha-strip a { color: #000; text-decoration: underline; }

/* ---------- Header ---------- */
.ha-header { position: sticky; top: 0; z-index: 900; background: var(--ha-glass); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--ha-line); view-transition-name: ha-header; }
.ha-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.ha-logo img { max-height: 44px; width: auto; display: block; }
.ha-logo__text { font-family: var(--ha-head); font-weight: 900; font-size: 1.5rem; color: var(--ha-text); text-decoration: none; text-transform: uppercase; }
.ha-logo__text span { background: var(--ha-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ha-nav { flex: 1; }
.ha-nav > ul, .ha-nav > div > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ha-nav li { position: relative; }
.ha-nav a { display: block; padding: 10px 14px; color: var(--ha-text); text-decoration: none; font-weight: 600; border-radius: 8px; }
.ha-nav a:hover, .ha-nav .current-menu-item > a { color: var(--ha-fire-2); background: rgba(255,77,0,.08); }
/* CSS mega panel */
.ha-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 260px; list-style: none; margin: 0; padding: 12px;
  background: var(--ha-card); border: 1px solid var(--ha-line); border-radius: var(--ha-radius); box-shadow: var(--ha-shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 2px; }
.ha-nav li:hover > .sub-menu, .ha-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ha-tools { display: flex; align-items: center; gap: 10px; }
.ha-search { position: relative; }
.ha-search input[type=search] { background: var(--ha-card); border: 1px solid var(--ha-line); color: var(--ha-text); border-radius: 999px; padding: 10px 16px; width: 220px; transition: width .25s, border-color .25s; }
.ha-search input[type=search]:focus { width: 280px; border-color: var(--ha-fire); }
.ha-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ha-text); background: var(--ha-card); border: 1px solid var(--ha-line); position: relative; text-decoration: none; }
.ha-icon:hover { border-color: var(--ha-fire); color: var(--ha-fire-2); }
.ha-icon svg { width: 20px; height: 20px; }
.ha-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ha-fire); color: #000; font-size: .7rem; font-weight: 900; display: grid; place-items: center; padding: 0 5px; }
.ha-burger { display: none; }
.ha-mnav { display: none; }

@media (max-width: 960px) {
  .ha-nav, .ha-search { display: none; }
  .ha-burger { display: inline-grid; }
  .ha-mnav[open] { display: block; }
  .ha-mnav { border-top: 1px solid var(--ha-line); padding: 12px 20px 20px; }
  .ha-mnav ul { list-style: none; margin: 0; padding: 0; }
  .ha-mnav a { display: block; padding: 12px 0; color: var(--ha-text); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--ha-line); }
  .ha-mnav .sub-menu a { padding-left: 16px; font-weight: 500; color: var(--ha-muted); }
  .ha-mnav input[type=search] { width: 100%; margin-bottom: 12px; background: var(--ha-card); border: 1px solid var(--ha-line); color: var(--ha-text); border-radius: 999px; padding: 12px 16px; }
}

/* ---------- Footer ---------- */
.ha-footer { margin-top: 80px; border-top: 1px solid var(--ha-line); background: radial-gradient(1200px 400px at 50% 120%, rgba(255,138,0,.22), transparent 70%), var(--ha-soft); padding: 56px 0 28px; color: var(--ha-muted); }
.ha-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.ha-footer h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ha-text); margin: 0 0 14px; }
.ha-footer ul { list-style: none; margin: 0; padding: 0; }
.ha-footer li a { color: var(--ha-muted); text-decoration: none; line-height: 2; }
.ha-footer li a:hover { color: var(--ha-fire-2); }
.ha-ruo { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--ha-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.ha-ruo strong { color: var(--ha-fire-3); }
@media (max-width: 760px) { .ha-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Hero with embers (CSS only) ---------- */
.ha-hero { position: relative; overflow: hidden; isolation: isolate; }
.ha-hero::before { content: ""; position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(40% 50% at 70% 60%, rgba(255,77,0,.35), transparent 70%), radial-gradient(30% 40% at 20% 90%, rgba(200,16,46,.35), transparent 70%);
  animation: ha-glow 9s ease-in-out infinite alternate; }
.ha-embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ha-embers i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: var(--ha-fire-3); box-shadow: 0 0 8px 2px var(--ha-fire); opacity: 0; animation: ha-rise linear infinite; }
.ha-embers i:nth-child(1){left:8%;animation-duration:7s;animation-delay:0s}
.ha-embers i:nth-child(2){left:18%;animation-duration:9s;animation-delay:1.5s;width:3px;height:3px}
.ha-embers i:nth-child(3){left:29%;animation-duration:6s;animation-delay:3s}
.ha-embers i:nth-child(4){left:41%;animation-duration:10s;animation-delay:.6s;width:5px;height:5px}
.ha-embers i:nth-child(5){left:52%;animation-duration:8s;animation-delay:2.2s}
.ha-embers i:nth-child(6){left:63%;animation-duration:7.5s;animation-delay:4s;width:3px;height:3px}
.ha-embers i:nth-child(7){left:72%;animation-duration:9.5s;animation-delay:1s}
.ha-embers i:nth-child(8){left:81%;animation-duration:6.5s;animation-delay:2.8s;width:5px;height:5px}
.ha-embers i:nth-child(9){left:90%;animation-duration:8.5s;animation-delay:.3s}
.ha-embers i:nth-child(10){left:96%;animation-duration:11s;animation-delay:3.6s;width:3px;height:3px}
@keyframes ha-rise { 0%{transform:translate(0,0) scale(1);opacity:0} 10%{opacity:1} 100%{transform:translate(30px,-110vh) scale(.3);opacity:0} }
@keyframes ha-glow { to { transform: translate3d(-4%, -3%, 0) scale(1.08); } }
.ha-grad-text { background: var(--ha-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Product grid + cards ---------- */
.ha-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.ha-pcard { position: relative; display: flex; flex-direction: column; background: var(--ha-card); border: 1px solid var(--ha-line); border-radius: var(--ha-radius); overflow: hidden; transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.ha-pcard:hover, .ha-pcard:focus-within { transform: translateY(-6px) rotate(-.4deg); border-color: rgba(255,77,0,.6); box-shadow: var(--ha-shadow); }
.ha-pcard__img { aspect-ratio: 1; background: radial-gradient(60% 60% at 50% 60%, rgba(255,77,0,.18), transparent 70%), var(--ha-imgbg); display: grid; place-items: center; }
.ha-pcard__img img { width: 82%; height: 82%; object-fit: contain; transition: transform .4s ease; }
.ha-pcard:hover .ha-pcard__img img { transform: scale(1.06) rotate(-2deg); }
.ha-pcard__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ha-pcard__title { font-family: var(--ha-head); font-weight: 800; font-size: 1.05rem; margin: 0; }
.ha-pcard__title a { color: var(--ha-text); text-decoration: none; }
.ha-pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ha-pcard__price { color: var(--ha-fire-3); font-weight: 800; }
.ha-pcard__actions { margin-top: auto; display: flex; gap: 8px; position: relative; z-index: 2; }
.ha-pcard__actions .ha-btn { padding: .6em 1em; font-size: .8rem; }
.ha-pcard .ha-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* ---------- Quick details dialog ---------- */
dialog.ha-qd { width: min(560px, 92vw); border: 1px solid var(--ha-line); border-radius: 18px; background: var(--ha-card); color: var(--ha-text); padding: 0; }
dialog.ha-qd::backdrop { background: rgba(42,26,18,.45); backdrop-filter: blur(4px); }
dialog.ha-qd[open] { animation: ha-pop .25s ease; }
.ha-qd__in { padding: 24px; display: grid; gap: 14px; }
.ha-qd__x { position: absolute; top: 10px; right: 10px; }
@keyframes ha-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ---------- Reveal on scroll ---------- */
@supports (animation-timeline: view()) {
  .ha-reveal, .ha-pcard { animation: ha-in linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes ha-in { from { opacity: 0; transform: translateY(30px); } }
}

/* ---------- Batch / COA ---------- */
.ha-batch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border: 1px solid var(--ha-line); border-left: 4px solid var(--ha-fire); border-radius: 10px; background: var(--ha-card); }
.ha-table-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.ha-table-tools input, .ha-table-tools select { background: var(--ha-card); border: 1px solid var(--ha-line); color: var(--ha-text); border-radius: 8px; padding: 10px 12px; }
table.ha-table { width: 100%; border-collapse: collapse; }
table.ha-table th, table.ha-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--ha-line); }
table.ha-table th { color: var(--ha-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.ha-status--active { color: #4ade80; } .ha-status--archived { color: var(--ha-muted); }

/* ---------- Account status card ---------- */
.ha-acct { padding: 20px; border-radius: var(--ha-radius); background: var(--ha-card); border: 1px solid var(--ha-line); border-left: 4px solid var(--ha-fire); margin-bottom: 24px; }
.ha-acct--approved { border-left-color: #4ade80; }

/* ---------- Gate overlay (content stays in HTML) ---------- */
dialog.ha-gate { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; }
dialog.ha-gate::backdrop { background: rgba(255,236,220,.9); backdrop-filter: blur(10px); }
.ha-gate__card { width: min(460px, 92vw); margin: 12vh auto 0; padding: 36px 28px; text-align: center; background: var(--ha-card); border: 1px solid var(--ha-line); border-radius: 20px; box-shadow: 0 40px 120px -30px rgba(255,77,0,.5); }
.ha-gate__card h2 { font-size: 1.8rem; margin: 0 0 10px; }
.ha-gate__row { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* ---------- WooCommerce polish ---------- */
.woocommerce ul.products li.product { background: var(--ha-card); border: 1px solid var(--ha-line); border-radius: var(--ha-radius); padding: 14px; transition: transform .25s, border-color .25s; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); border-color: rgba(255,77,0,.6); }
.woocommerce div.product p.price, .woocommerce ul.products li.product .price { color: var(--ha-fire-3); font-weight: 800; }
.woocommerce .ha-ruo-note { margin-top: 16px; font-size: .85rem; color: var(--ha-muted); }
.ha-sticky-buy { display: none; }
@media (max-width: 760px) {
  .single-product .ha-sticky-buy { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 800; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--ha-glass); border-top: 1px solid var(--ha-line); backdrop-filter: blur(10px); }
}

/* ---------- Block-editor homepage sections ---------- */
.ha-hero { padding: clamp(64px, 12vw, 160px) 20px !important; text-align: center; width: 100vw; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; }
.ha-hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); margin: 0 auto 18px; max-width: 14ch; text-transform: uppercase; }
.ha-hero p { color: var(--ha-muted); font-size: 1.15rem; max-width: 56ch; margin: 0 auto; }
.ha-hero .wp-block-buttons { justify-content: center; margin-top: 28px; }
.ha-section { max-width: var(--ha-wrap); margin: 0 auto; padding: 64px 20px; }
.ha-section > h2 { font-size: clamp(1.8rem, 4vw, 3rem); text-transform: uppercase; }
.ha-trust { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ha-trust > * { background: var(--ha-card); border: 1px solid var(--ha-line); border-radius: var(--ha-radius); padding: 22px; margin: 0 !important; }
.ha-trust h3 { font-size: 1.1rem; margin: 0 0 6px; color: var(--ha-fire-2); }
.ha-trust p { margin: 0; color: var(--ha-muted); }
.ha-band { background: var(--ha-grad); color: #000; border-radius: 24px; padding: 48px 32px !important; text-align: center; }
.ha-band h2 { color: #000; font-size: clamp(1.8rem, 4vw, 3rem); text-transform: uppercase; margin: 0 0 10px; }
.ha-band p { color: #111; font-weight: 600; }
.ha-band .wp-block-button__link { background: #000 !important; color: #fff !important; }
.wp-block-button__link { background: var(--ha-grad); color: #000; border-radius: 999px; font-family: var(--ha-head); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .9em 1.7em; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--ha-text); box-shadow: inset 0 0 0 2px var(--ha-fire); }
.ha-faq details { border-bottom: 1px solid var(--ha-line); padding: 16px 0; }
.ha-faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.ha-faq summary::marker { color: var(--ha-fire); }
.home .page-header, .home .entry-title { display: none; }
.home .site-main, .page .site-main { max-width: none; padding: 0; }


/* =========================================================
   WOW LAYER
   ========================================================= */
/* Scroll progress bar */
.ha-progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 99999; background: var(--ha-grad); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .ha-progress { animation: ha-prog linear both; animation-timeline: scroll(root); }
  @keyframes ha-prog { to { transform: scaleX(1); } }
}
body.admin-bar .ha-progress { top: 32px; }

/* Hero v2: split layout with floating vials */
.ha-hero2 { position: relative; overflow: hidden; isolation: isolate; width: 100vw; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; padding: clamp(40px, 7vw, 96px) max(20px, calc(50vw - 620px)) !important;
  background:
    radial-gradient(50% 60% at 78% 45%, rgba(255,138,0,.32), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(224,33,63,.18), transparent 70%),
    radial-gradient(60% 80% at 50% -10%, #FFE3CC, transparent 70%),
    var(--ha-ink); }
:root[data-theme="dark"] .ha-hero2 { background: radial-gradient(50% 60% at 78% 45%, rgba(255,77,0,.35), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(224,33,63,.25), transparent 70%), var(--ha-ink); }
.ha-hero2 > .wp-block-columns { align-items: center !important; gap: clamp(24px, 4vw, 64px); margin: 0; }
.ha-hero2 h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); line-height: .92; letter-spacing: -.035em; text-transform: uppercase; margin: 14px 0 18px; }
.ha-hero2 p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ha-muted); max-width: 46ch; }
.ha-hero2 .wp-block-buttons { margin-top: 26px; }
.ha-hero2 .ha-mini { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-weight: 700; font-size: .9rem; color: var(--ha-text); }
.ha-hero2 .ha-mini span::before { content: "✦ "; color: var(--ha-fire); }
.ha-cursor-glow { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,120,0,.28), transparent 60%); transform: translate(-50%, -50%); left: var(--mx, 70%); top: var(--my, 40%); transition: left .25s ease-out, top .25s ease-out; }

/* Word-by-word headline reveal */
.ha-words .ha-w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(3deg); animation: ha-word .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 90ms + 120ms); }
@keyframes ha-word { to { opacity: 1; transform: none; } }
.ha-words .ha-grad-text { background-size: 200% 100%; animation: ha-word .7s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 90ms + 120ms) forwards, ha-shift 6s ease-in-out 1s infinite alternate; }
@keyframes ha-shift { to { background-position: 100% 0; } }

/* Floating vial stack */
.ha-stack { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; perspective: 900px; }
.ha-stack__ring { position: absolute; inset: 8%; border-radius: 50%; z-index: 0;
  background: conic-gradient(from 0deg, var(--ha-red), var(--ha-fire), var(--ha-fire-2), var(--ha-fire-3), var(--ha-fire), var(--ha-red));
  filter: blur(28px); opacity: .55; animation: ha-spin 14s linear infinite; }
.ha-stack__ring::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: var(--ha-ink); filter: blur(10px); }
@keyframes ha-spin { to { transform: rotate(360deg); } }
.ha-stack__item { position: absolute; z-index: 1; display: block; width: 46%; text-decoration: none; color: var(--ha-text); transition: transform .3s ease-out; will-change: transform; }
.ha-stack__item img { width: 100%; height: auto; border-radius: 22px; background: var(--ha-card); box-shadow: 0 30px 60px -25px rgba(120,40,0,.55), 0 0 0 1px var(--ha-line); animation: ha-float 6s ease-in-out infinite; }
.ha-stack__item--0 { left: 27%; top: 14%; z-index: 3; width: 50%; }
.ha-stack__item--1 { left: 0; top: 36%; z-index: 2; }
.ha-stack__item--2 { right: 0; top: 30%; z-index: 2; }
.ha-stack__item--1 img { animation-delay: -2s; transform: rotate(-6deg); }
.ha-stack__item--2 img { animation-delay: -4s; transform: rotate(6deg); }
@keyframes ha-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.ha-stack__tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; font-size: .78rem; font-weight: 700; background: var(--ha-card); border: 1px solid var(--ha-line); border-radius: 999px; padding: 6px 12px; box-shadow: var(--ha-shadow); opacity: 0; transition: opacity .25s, bottom .25s; }
.ha-stack__tag strong { color: var(--ha-link); margin-left: 4px; }
.ha-stack__item:hover .ha-stack__tag, .ha-stack__item:focus-visible .ha-stack__tag { opacity: 1; bottom: -22px; }
.ha-stack__item--0 .ha-stack__tag { opacity: 1; }

/* Text ticker (editable paragraphs inside a .ha-marquee group) */
.ha-marquee { width: 100vw; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; overflow: hidden; background: var(--ha-text); color: var(--ha-ink); padding: 16px 0 !important; transform: rotate(-1.2deg) scale(1.02); margin-block: 10px !important; }
.ha-marquee__track { display: flex; gap: 48px; width: max-content; animation: ha-marq 28s linear infinite; }
.ha-marquee p { margin: 0 !important; white-space: nowrap; font-family: var(--ha-head); font-weight: 900; font-size: clamp(1.1rem, 2.2vw, 1.7rem); text-transform: uppercase; letter-spacing: .02em; }
.ha-marquee p::after { content: " ✦"; color: var(--ha-fire); margin-left: 48px; }
.ha-marquee:hover .ha-marquee__track { animation-play-state: paused; }
@keyframes ha-marq { to { transform: translateX(-50%); } }

/* Product image strip */
.ha-pmarquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ha-pmarquee__track { display: flex; gap: 18px; width: max-content; animation: ha-marq 40s linear infinite; padding: 10px 0; }
.ha-pmarquee:hover .ha-pmarquee__track { animation-play-state: paused; }
.ha-pmarquee__item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 170px; text-decoration: none; color: var(--ha-text); font-weight: 700; font-size: .85rem; text-align: center; }
.ha-pmarquee__item img { width: 170px; height: 170px; object-fit: cover; border-radius: 20px; background: var(--ha-card); border: 1px solid var(--ha-line); transition: transform .3s; }
.ha-pmarquee__item:hover img { transform: translateY(-6px) rotate(-2deg) scale(1.04); }

/* Stats */
.ha-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 0; }
.ha-stat { background: var(--ha-card); border: 1px solid var(--ha-line); border-radius: var(--ha-radius); padding: 22px; position: relative; overflow: hidden; }
.ha-stat::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,138,0,.25), transparent 70%); }
.ha-stat dt { color: var(--ha-muted); font-weight: 600; font-size: .9rem; order: 2; }
.ha-stat dd { margin: 0; font-family: var(--ha-head); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.ha-stat dd span { background: var(--ha-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.ha-stat { display: flex; flex-direction: column-reverse; gap: 6px; }

/* Section kickers */
.ha-kicker { display: inline-flex !important; align-items: center; gap: 10px; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ha-link); margin-bottom: 6px !important; }
.ha-kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--ha-grad); }

/* Card tilt + shine */
.ha-pcard { transform-style: preserve-3d; }
.ha-pcard.is-tilting { transition: transform .08s linear, box-shadow .25s, border-color .25s; }
.ha-pcard::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.55), transparent 45%); opacity: 0; transition: opacity .25s; mix-blend-mode: soft-light; }
.ha-pcard:hover::before { opacity: 1; }
.ha-badge { box-shadow: 0 6px 14px -6px rgba(224,33,63,.8); }
.ha-pcard .ha-badge::before { content: "🔥 "; }

/* Button heat */
.ha-btn, .wp-block-button__link { position: relative; overflow: hidden; }
.ha-btn::after, .wp-block-button:not(.is-style-outline) .wp-block-button__link::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.ha-btn:hover::after, .wp-block-button__link:hover::after { left: 130%; }
.wp-block-button__link { transition: transform .2s ease, box-shadow .25s; will-change: transform; }
.wp-block-button__link:hover { box-shadow: 0 14px 30px -10px rgba(255,77,0,.6); }

/* Proof band v2 */
.ha-band { position: relative; overflow: hidden; background-size: 200% 200% !important; animation: ha-bandmove 10s ease-in-out infinite alternate; }
@keyframes ha-bandmove { to { background-position: 100% 100%; } }
.ha-band::after { content: "COA"; position: absolute; right: -10px; top: 50%; translate: 0 -50%; font-family: var(--ha-head); font-weight: 900; font-size: clamp(6rem, 16vw, 14rem); line-height: 1; color: rgba(0,0,0,.08); rotate: -12deg; pointer-events: none; animation: ha-stamp 5s ease-in-out infinite; }
@keyframes ha-stamp { 50% { scale: 1.06; color: rgba(0,0,0,.12); } }

/* Feature cards with icons */
.ha-trust > * { position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ha-trust > *:hover { transform: translateY(-6px); border-color: var(--ha-fire); box-shadow: var(--ha-shadow); }
.ha-trust h3::before { display: block; font-size: 1.8rem; margin-bottom: 8px; }
.ha-trust > *:nth-child(1) h3::before { content: "🧪"; }
.ha-trust > *:nth-child(2) h3::before { content: "🔖"; }
.ha-trust > *:nth-child(3) h3::before { content: "🚀"; }
.ha-trust > *:nth-child(4) h3::before { content: "🎁"; }

@media (max-width: 781px) {
  .ha-stack { max-width: 360px; margin-top: 10px; }
  .ha-cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ha-words .ha-w { opacity: 1; transform: none; }
  .ha-marquee__track, .ha-pmarquee__track { animation: none !important; flex-wrap: wrap; width: auto; }
}


/* =========================================================
   WOW 2: 3D vial, finder, compare, spec sheet, COA 2.0, polish
   ========================================================= */
/* 3D vial */
.ha-v3d { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; }
.ha-v3d__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; z-index: 2; }
.ha-v3d__canvas:active { cursor: grabbing; }
.ha-v3d.is-3d .ha-stack__item { opacity: 0; pointer-events: none; transition: opacity .6s; }
.ha-v3d.is-3d .ha-stack__ring { opacity: .45; }
.ha-v3d__hs { position: absolute; z-index: 4; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #fff; box-shadow: 0 0 0 4px rgba(255,77,0,.55), 0 4px 12px rgba(0,0,0,.25); transition: opacity .25s, transform .2s; }
.ha-v3d__hs::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--ha-fire); animation: ha-ping 1.8s ease-out infinite; }
.ha-v3d__hs:hover { transform: scale(1.2); }
.ha-v3d__hs.is-back { opacity: 0; pointer-events: none; }
@keyframes ha-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ha-v3d__card { position: absolute; z-index: 5; transform: translate(18px, -50%); min-width: 200px; max-width: 260px; padding: 14px 16px; border-radius: 14px; background: var(--ha-card); border: 1px solid var(--ha-line); box-shadow: var(--ha-shadow); display: grid; gap: 4px; animation: ha-pop .25s ease; }
.ha-v3d__card span { color: var(--ha-muted); font-size: .9rem; }
.ha-v3d__card a { font-weight: 800; }
.ha-v3d::after { content: "Drag to spin"; position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ha-muted); opacity: 0; transition: opacity .6s; }
.ha-v3d.is-3d::after { opacity: 1; }

/* Finder */
dialog.ha-find { width: min(680px, 94vw); margin-top: 10vh; padding: 0; border: 1px solid var(--ha-line); border-radius: 20px; background: var(--ha-card); color: var(--ha-text); box-shadow: 0 40px 100px -30px rgba(120,40,0,.45); }
dialog.ha-find::backdrop { background: rgba(42,26,18,.35); backdrop-filter: blur(6px); }
dialog.ha-find[open] { animation: ha-pop .2s ease; }
.ha-find__box { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--ha-line); }
.ha-find__box input { flex: 1; border: 0; background: transparent; color: var(--ha-text); font-size: 1.2rem; outline: none; }
kbd { font: 700 .72rem var(--ha-body); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--ha-line); background: var(--ha-ink); color: var(--ha-muted); }
.ha-find__res { list-style: none; margin: 0; padding: 8px; max-height: 55vh; overflow: auto; }
.ha-find__grp { padding: 10px 10px 4px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ha-link); }
.ha-find__it { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; cursor: pointer; }
.ha-find__it.is-sel, .ha-find__it:hover { background: var(--ha-soft); }
.ha-find__it img, .ha-find__ico { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--ha-imgbg); display: grid; place-items: center; flex: none; }
.ha-find__it span { display: flex; flex-direction: column; }
.ha-find__it small { color: var(--ha-muted); }
.ha-find__none { padding: 18px; color: var(--ha-muted); text-align: center; }
.ha-find__hint { margin: 0; padding: 10px 18px; border-top: 1px solid var(--ha-line); font-size: .8rem; color: var(--ha-muted); }

/* Compare */
.ha-cmp-tick { position: relative; z-index: 4; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--ha-muted); cursor: pointer; }
.ha-pcard .ha-cmp-tick { margin: 0 16px 14px; }
.ha-cmp-tick input { accent-color: var(--ha-fire); width: 16px; height: 16px; }
.ha-cmp { position: fixed; z-index: 950; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 999px; background: var(--ha-text); color: var(--ha-ink); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); animation: ha-pop .25s ease; }
.ha-cmp[hidden] { display: none; }
.ha-cmp__thumbs { display: flex; gap: 6px; }
.ha-cmp__thumbs span { position: relative; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); overflow: visible; }
.ha-cmp__thumbs img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #fff; }
.ha-cmp__thumbs button { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--ha-fire); color: #000; font-weight: 900; line-height: 1; cursor: pointer; padding: 0; }
.ha-cmp__empty { border: 2px dashed rgba(255,255,255,.3); }
.ha-cmp__go { padding: .6em 1.2em; }
.ha-cmp__go:disabled { opacity: .5; }
.ha-cmp__clear { background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; text-decoration: underline; }
.ha-cmp.is-msg::after { content: attr(data-msg); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--ha-fire); color: #000; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
dialog.ha-cmpd { width: min(980px, 96vw); }
.ha-cmpd__wrap { overflow-x: auto; }
.ha-cmpd th img { width: 90px; height: 90px; object-fit: contain; display: block; margin-bottom: 6px; border-radius: 12px; background: var(--ha-imgbg); }
.ha-cmpd thead a { color: var(--ha-text); text-decoration: none; font-weight: 800; }

/* Spec sheet flip */
.woocommerce div.product .ha-flip { float: left; width: 48%; position: relative; perspective: 1400px; }
.woocommerce div.product .ha-flip div.images { float: none; width: 100%; }
.ha-flip__btn { position: absolute; z-index: 9; top: 12px; right: 12px; border: 0; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .8rem; background: var(--ha-text); color: var(--ha-ink); box-shadow: var(--ha-shadow); }
.ha-flip.is-spec div.images { display: none; }
.ha-spec { min-height: 420px; padding: 26px; border-radius: 18px; color: #DCEBFF; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(160deg, #10243f, #0b1a2e);
  box-shadow: inset 0 0 0 2px rgba(220,235,255,.25), var(--ha-shadow); animation: ha-flipin .55s cubic-bezier(.2,.8,.2,1); }
@keyframes ha-flipin { from { transform: rotateY(-80deg); opacity: 0; } }
.ha-spec__head { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .14em; opacity: .75; border-bottom: 1px dashed rgba(220,235,255,.35); padding-bottom: 10px; }
.ha-spec h2 { font-family: var(--ha-head); color: #fff; margin: 16px 0; font-size: 1.8rem; }
.ha-spec dl { margin: 0; display: grid; gap: 0; }
.ha-spec dl > div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(220,235,255,.2); }
.ha-spec dt { opacity: .7; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }
.ha-spec dd { margin: 0; color: #fff; font-weight: 600; }
.ha-spec a { color: #FFC23A; }
.ha-spec__foot { margin: 16px 0 0; font-size: .72rem; opacity: .7; }
@media (max-width: 768px) { .woocommerce div.product .ha-flip { float: none; width: 100%; } }

/* COA library 2.0 */
.ha-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ha-chipbtn { border: 1px solid var(--ha-line); background: var(--ha-card); color: var(--ha-text); border-radius: 999px; padding: 7px 14px; font-weight: 700; cursor: pointer; }
.ha-chipbtn.is-on { background: var(--ha-grad); color: #000; border-color: transparent; }
dialog.ha-pdf { width: min(900px, 94vw); height: 88vh; padding: 14px; }
dialog.ha-pdf iframe { width: 100%; height: calc(100% - 40px); border: 0; border-radius: 12px; background: #fff; }

/* Storage explorer */
.ha-temp { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ha-temp > * { cursor: pointer; padding: 22px !important; border-radius: var(--ha-radius); background: var(--ha-card); border: 2px solid var(--ha-line); transition: transform .3s, border-color .3s, box-shadow .3s, opacity .3s; opacity: .55; margin: 0 !important; }
.ha-temp > .is-on { opacity: 1; transform: translateY(-6px); border-color: var(--ha-fire); box-shadow: var(--ha-shadow); }
.ha-temp > *:nth-child(1) h3::before { content: "🧊 "; } .ha-temp > *:nth-child(2) h3::before { content: "❄️ "; } .ha-temp > *:nth-child(3) h3::before { content: "🌡️ "; }
.ha-temp__ctl { --t: 0; display: grid; gap: 8px; max-width: 520px; margin: 0 0 20px; font-weight: 700; }
.ha-temp__ctl input { width: 100%; height: 14px; -webkit-appearance: none; appearance: none; border-radius: 14px; background: linear-gradient(90deg, #5bb8ff, #c9e8ff 50%, var(--ha-fire-2)); }
.ha-temp__ctl input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--ha-fire); box-shadow: var(--ha-shadow); cursor: grab; }
.ha-temp__ctl output { font-family: var(--ha-head); font-size: 1.3rem; }

/* Polish: morph, shimmer, cursor, sound */
.single-product .woocommerce-product-gallery__image:first-child img { view-transition-name: ha-hero-img; }
::view-transition-group(ha-hero-img) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
.ha-shimmer { background: linear-gradient(100deg, var(--ha-imgbg) 30%, var(--ha-card) 50%, var(--ha-imgbg) 70%) 0 0 / 300% 100% !important; animation: ha-shim 1.2s linear infinite; }
@keyframes ha-shim { to { background-position: -150% 0; } }
.ha-cursor { position: fixed; z-index: 100000; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; pointer-events: none; background: var(--ha-fire); box-shadow: 0 0 14px 4px rgba(255,120,0,.55); mix-blend-mode: multiply; transition: width .2s, height .2s, left .2s, top .2s, opacity .2s, background .2s; }
.ha-cursor.is-link { width: 38px; height: 38px; left: -19px; top: -19px; background: rgba(255,138,0,.22); box-shadow: 0 0 0 2px var(--ha-fire); }
.ha-cursor.is-off { opacity: 0; }
:root[data-theme="dark"] .ha-cursor { mix-blend-mode: screen; }
.ha-sound { background: none; border: 1px solid var(--ha-line); border-radius: 999px; padding: 5px 12px; color: var(--ha-muted); cursor: pointer; font-size: .8rem; }
.ha-sound[aria-pressed="true"] { color: var(--ha-link); border-color: var(--ha-fire); }


/* ---------- Affiliates and Rewards + Holler At Them: Hot Aminos light skin ---------- */
.aarew-card, .aarew-stat-card, .aarew-account-hero, .aarew-redeem-widget, .aarew-leaderboard, .aarew-raf-wrap, .aarew-share-section, .aarew-affiliates-table-card, .aarew-dashboard .aarew-card,
.hat-referral-box, .hat-waitlist-box, .hat-wheel-wallet, .hat-coupon-reveal, .hat-panel {
  background: var(--ha-card) !important; color: var(--ha-text) !important; border: 1px solid var(--ha-line) !important; border-radius: var(--ha-radius) !important; box-shadow: var(--ha-shadow);
}
.aarew-myaccount-wrap, .aarew-dashboard, .hat-wheel-wallet--account { color: var(--ha-text); background: transparent !important; }
.aarew-account-hero { background: linear-gradient(135deg, var(--ha-soft), var(--ha-card)) !important; }
.aarew-table, .aarew-gc-table { width: 100%; border-collapse: collapse; }
.aarew-table th, .aarew-table td, .aarew-gc-table th, .aarew-gc-table td { padding: 10px 12px; border-bottom: 1px solid var(--ha-line) !important; color: var(--ha-text) !important; background: transparent !important; }
.aarew-raf-link-input, .hat-popup__form input, .hat-waitlist-form input, .hat-referral-box input { background: var(--ha-ink) !important; color: var(--ha-text) !important; border: 1px solid var(--ha-line) !important; border-radius: 999px !important; padding: 10px 14px !important; }
.aarew-myaccount-wrap button, .aarew-raf-wrap button, .aarew-share-section a, .hat-popup button[type=submit], .hat-prize-wheel__controls button, .hat-referral-box button, .hat-waitlist-form button {
  background: var(--ha-grad) !important; color: #000 !important; border: 0 !important; border-radius: 999px !important; font-family: var(--ha-head); font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
.hat-popup, .hat-exit-popup, .hat-giveaway-popup, .hat-spin-to-win { background: var(--ha-card) !important; color: var(--ha-text) !important; border-radius: 22px !important; box-shadow: 0 40px 100px -30px rgba(120,40,0,.5) !important; }
.hat-popup h2, .hat-popup h3, .hat-prize-wheel h2, .hat-prize-wheel h3 { font-family: var(--ha-head); font-weight: 900; color: var(--ha-text); }
.hat-prize-wheel { color: var(--ha-text); }
.hat-prize-wheel__result, .hat-prize-wheel__prizes, .hat-prize-wheel__choice-list > * { background: var(--ha-card); border-color: var(--ha-line); color: var(--ha-text); border-radius: 14px; }
.hat-promo-bar, .hat-countdown-bar { background: var(--ha-grad) !important; color: #000 !important; font-weight: 800; }
.hat-promo-bar a, .hat-countdown-bar a { color: #000 !important; text-decoration: underline; }
.hat-social-proof { background: var(--ha-card) !important; color: var(--ha-text) !important; border: 1px solid var(--ha-line) !important; border-radius: 16px !important; box-shadow: var(--ha-shadow) !important; }

.aarew-btn, .aarew-btn--primary, .aarew-form button[type=submit] { background: var(--ha-grad) !important; color: #000 !important; border: 0 !important; border-radius: 999px !important; font-family: var(--ha-head); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .85em 1.6em !important; transition: transform .2s, box-shadow .25s; }
.aarew-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(255,77,0,.6); }
.aarew-btn--secondary, .aarew-btn--outline { background: transparent !important; color: var(--ha-text) !important; box-shadow: inset 0 0 0 2px var(--ha-fire); }
.aarew-form input, .aarew-form textarea, .aarew-form select { background: var(--ha-ink) !important; color: var(--ha-text) !important; border: 1px solid var(--ha-line) !important; border-radius: 12px !important; }
.aarew-form input:focus, .aarew-form textarea:focus { border-color: var(--ha-fire) !important; outline: none; box-shadow: 0 0 0 4px rgba(255,77,0,.15); }
.aarew-registration h2, .aarew-registration h3, .aarew-card h2, .aarew-card h3 { font-family: var(--ha-head); font-weight: 900; color: var(--ha-text); }


/* ---------- Guides / articles ---------- */
.single-post .site-main .page-content, .single-post .entry-content { max-width: 760px; margin-inline: auto; }
.ha-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 22px; color: var(--ha-muted); font-size: .9rem; }
.ha-byline span + span::before { content: "·"; margin-right: 18px; color: var(--ha-fire); }
.ha-byline strong { color: var(--ha-text); }
.ha-toc { margin: 0 0 28px; padding: 16px 20px; border-radius: var(--ha-radius); background: var(--ha-soft); border-left: 4px solid var(--ha-fire); }
.ha-toc summary { cursor: pointer; font-family: var(--ha-head); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.ha-toc ol { margin: 10px 0 0; padding-left: 20px; }
.ha-toc a { text-decoration: none; }
.single-post h2[id] { scroll-margin-top: 100px; }
.ha-related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ha-line); }
.ha-sources, .ha-sources ol { font-size: .9rem; color: var(--ha-muted); }
/* ---------- COA timeline ---------- */
.ha-timeline__month { margin: 0 0 24px; }
.ha-timeline__month h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.ha-timeline__item { border: 1px solid var(--ha-line); border-radius: 12px; background: var(--ha-card); margin: 0 0 8px; padding: 12px 16px; }
.ha-timeline__item summary { cursor: pointer; }
.ha-timeline__item dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 12px 0; }
.ha-timeline__item dt { font-size: .75rem; text-transform: uppercase; color: var(--ha-muted); }
.ha-timeline__item dd { margin: 0; font-weight: 700; }
/* ---------- Business tools (cart) ---------- */
.ha-biztools { margin-top: 24px; padding: 22px; }
.ha-biztools h2 { font-size: 1.2rem; text-transform: uppercase; margin: 0 0 6px; }
.ha-biztools__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ha-biztools__row form { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.ha-biztools__row input { flex: 1 1 200px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--ha-line); background: var(--ha-ink); color: var(--ha-text); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ha-embers { display: none; }
  @view-transition { navigation: none; }
}

/* ---------- Light-mode sizzle ---------- */
body { background: var(--ha-ink); }
.ha-hero { background: radial-gradient(60% 80% at 50% 0%, #FFE3CC 0%, transparent 70%), var(--ha-ink); }
:root[data-theme="dark"] .ha-hero { background: none; }
.ha-hero::before { opacity: .75; }
.ha-pcard, .ha-trust > *, .ha-card, .woocommerce ul.products li.product { box-shadow: 0 6px 18px -14px rgba(120,50,10,.35); }
.ha-embers i { box-shadow: 0 0 10px 3px var(--ha-fire-2); }
.ha-btn--ghost, .is-style-outline .wp-block-button__link { color: var(--ha-text) !important; }
.ha-chip { background: var(--ha-card); }
.ha-sizzle { display: inline-block; animation: ha-sizzle 2.4s ease-in-out infinite; }
@keyframes ha-sizzle { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) scale(1.04); } }

/* ---------- Theme toggle ---------- */
.ha-theme-toggle { cursor: pointer; }
.ha-theme-toggle .ha-moon { display: none; }
:root[data-theme="dark"] .ha-theme-toggle .ha-moon { display: block; }
:root[data-theme="dark"] .ha-theme-toggle .ha-sun { display: none; }

/* ---------- Shopper features ---------- */
.ha-ship { margin: 0 0 20px; padding: 14px 16px; background: var(--ha-soft); border: 1px solid var(--ha-line); border-radius: var(--ha-radius); }
.ha-ship p { margin: 0 0 8px; }
.ha-ship__bar { height: 10px; border-radius: 10px; background: var(--ha-line); overflow: hidden; }
.ha-ship__bar span { display: block; height: 100%; background: var(--ha-grad); border-radius: 10px; transition: width .6s ease; }
.ha-countdown { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.ha-countdown__t { color: var(--ha-red); font-variant-numeric: tabular-nums; }
.ha-lowstock { color: var(--ha-red); font-weight: 700; }
.ha-lowstock::before { content: "\1F525  "; }
.ha-toast { position: fixed; z-index: 2000; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ha-text); color: var(--ha-ink); padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: var(--ha-shadow); transition: .3s ease; display: flex; gap: 12px; align-items: center; }
.ha-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ha-toast a { color: var(--ha-fire-3); }
.ha-bump { animation: ha-bump .6s ease; }
@keyframes ha-bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95); } }
.ha-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.ha-cat a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px; text-align: center; text-decoration: none; color: var(--ha-text); background: var(--ha-card); border: 1px solid var(--ha-line); border-radius: var(--ha-radius); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ha-cat a:hover { transform: translateY(-4px); border-color: var(--ha-fire); box-shadow: var(--ha-shadow); }
.ha-cat__img { width: 96px; height: 96px; border-radius: 50%; background: var(--ha-imgbg); display: grid; place-items: center; overflow: hidden; }
.ha-cat__img img { width: 80%; height: 80%; object-fit: contain; }
.ha-cat__name { font-family: var(--ha-head); font-weight: 800; }
.ha-recent { margin-top: 48px; }

/* ---------- Card fit ---------- */
.ha-pcard__actions { flex-wrap: wrap; }
.ha-pcard__actions .ha-btn { white-space: nowrap; flex: 1 1 auto; justify-content: center; padding: .65em .9em; font-size: .72rem; }
.ha-cat a { height: 100%; }
.ha-section h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); text-transform: uppercase; }
.ha-faq h2, .ha-section h2.wp-block-heading { font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.ha-section > h2:first-child { font-size: clamp(1.8rem, 4vw, 3rem); }

/* ---------- Signup ---------- */
.ha-acct-type { border: 1px solid var(--ha-line); border-radius: 12px; padding: 12px 16px; }
.ha-acct-type label { display: inline-flex; gap: 8px; margin-right: 18px; font-weight: 600; }
.woocommerce form.register, .woocommerce form.login { background: var(--ha-card); border: 1px solid var(--ha-line) !important; border-radius: var(--ha-radius); padding: 24px !important; box-shadow: var(--ha-shadow); }
.woocommerce input.input-text, .woocommerce select, .woocommerce textarea { background: var(--ha-card); color: var(--ha-text); border: 1px solid var(--ha-line); border-radius: 10px; padding: 10px 12px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--ha-link); }

/* ---------- Sizzle ---------- */
.ha-fly { position: fixed; z-index: 99998; border-radius: 16px; object-fit: contain; background: var(--ha-card); box-shadow: var(--ha-shadow); pointer-events: none; }
.ha-spark { position: fixed; z-index: 99999; width: 6px; height: 6px; border-radius: 50%; background: var(--ha-fire-3); box-shadow: 0 0 10px 3px var(--ha-fire); pointer-events: none; animation: ha-spark .85s ease-out forwards; }
@keyframes ha-spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.ha-ship--won { border-color: var(--ha-fire); animation: ha-won 1.2s ease; }
.ha-ship--won .ha-ship__bar span { background: linear-gradient(90deg, var(--ha-red), var(--ha-fire), var(--ha-fire-3), var(--ha-fire)); background-size: 300% 100%; animation: ha-shift 1.5s linear infinite; }
@keyframes ha-won { 30% { transform: scale(1.03); box-shadow: 0 0 0 6px rgba(255,138,0,.25), var(--ha-shadow); } }

/* ---------- Batch lookup ---------- */
.ha-verify { max-width: 640px; }
.ha-verify__form { display: flex; flex-wrap: wrap; gap: 10px; }
.ha-verify__form input { flex: 1 1 260px; font-size: 1.1rem; padding: 14px 18px; border-radius: 999px; border: 2px solid var(--ha-line); background: var(--ha-card); color: var(--ha-text); }
.ha-verify__form input:focus { border-color: var(--ha-fire); outline: none; box-shadow: 0 0 0 4px rgba(255,77,0,.15); }
.ha-verify__cam { width: 100%; max-width: 420px; border-radius: 18px; margin-top: 14px; border: 3px solid var(--ha-fire); }
.ha-verify__list { list-style: none; margin: 8px 0 0; padding: 0; border-radius: 14px; overflow: hidden; }
.ha-verify__list li { padding: 12px 16px; background: var(--ha-card); border-bottom: 1px solid var(--ha-line); cursor: pointer; }
.ha-verify__list li:hover, .ha-verify__list li:focus { background: var(--ha-soft); outline: none; }
.ha-verify__list span { color: var(--ha-muted); margin-left: 8px; }
.ha-verify__card { position: relative; margin-top: 20px; padding: 26px; border-radius: 20px; background: var(--ha-card); border: 1px solid var(--ha-line); box-shadow: var(--ha-shadow); animation: ha-pop .35s ease; }
.ha-verify__card--miss { border-left: 5px solid var(--ha-fire-2); }
.ha-stamp { position: absolute; top: 18px; right: 18px; padding: 6px 14px; border: 3px solid #15803d; color: #15803d; border-radius: 10px; font-family: var(--ha-head); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; rotate: -10deg; animation: ha-stampin .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes ha-stampin { from { scale: 2.6; opacity: 0; rotate: 8deg; } }
.ha-nav a { white-space: nowrap; }
ul.products li.product { position: relative; transform-style: preserve-3d; }
ul.products li.product::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.55), transparent 45%); opacity: 0; transition: opacity .25s; mix-blend-mode: soft-light; }
ul.products li.product:hover::before { opacity: 1; }
ul.products li.product.is-tilting { transition: transform .08s linear; }
.ha-v3d.is-3d .ha-stack__tag { display: none; }
.ha-spec__head { padding-left: 44px; }

/* ---------- Crew ---------- */
.ha-crewsec > .wp-block-columns { align-items: center !important; gap: clamp(24px, 4vw, 56px); }
.ha-phone { max-width: 300px; margin-inline: auto; padding: 10px !important; border-radius: 38px; background: #1a1411; box-shadow: 0 40px 80px -30px rgba(120,40,0,.55), inset 0 0 0 2px #3a2a22; rotate: -3deg; transition: rotate .4s; }
.ha-phone:hover { rotate: 0deg; }
.ha-phone video { display: block; width: 100%; border-radius: 30px; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.ha-phone figure { margin: 0; }
.ha-crew { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ha-crew figure { margin: 0 !important; position: relative; border-radius: 20px; overflow: hidden; background: #2b2b2f; box-shadow: var(--ha-shadow); animation: ha-bob 4s ease-in-out infinite; transition: transform .3s; }
.ha-crew figure:nth-child(2n) { animation-delay: -1.3s; }
.ha-crew figure:nth-child(3n) { animation-delay: -2.6s; }
.ha-crew figure:hover { transform: translateY(-8px) rotate(-2deg) scale(1.03); z-index: 2; }
.ha-crew img { display: block; width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; }
.ha-crew figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 !important; padding: 18px 10px 8px; text-align: center; color: #fff; font-family: var(--ha-head); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
@keyframes ha-bob { 50% { translate: 0 -8px; } }
@media (max-width: 781px) { .ha-crew { grid-template-columns: repeat(2, 1fr); } }
/* Crew moments (404, empty cart, order received) */
.ha-moment { display: grid !important; grid-template-columns: minmax(160px, 260px) 1fr; gap: 28px; align-items: center; }
.ha-moment figure { margin: 0 !important; border-radius: 24px; overflow: hidden; box-shadow: var(--ha-shadow); animation: ha-wave 3s ease-in-out infinite; transform-origin: 50% 100%; }
.ha-moment img { display: block; width: 100%; }
@keyframes ha-wave { 25% { rotate: -3deg; } 75% { rotate: 3deg; } }
@media (max-width: 600px) { .ha-moment { grid-template-columns: 1fr; } .ha-moment figure { max-width: 220px; } }

.ha-v3d__card[hidden] { display: none; }
