/* =====================================================================
   Innoa — Dark, code-inspired design system
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #07080D;
  --bg-2: #0A0C13;
  --bg-soft: #0A0C13;
  --surface: #10121B;
  --surface-2: #151826;
  --surface-3: #1B1F30;
  --line: rgba(148, 163, 199, .14);
  --line-2: rgba(148, 163, 199, .28);
  --text: #EEF1FA;
  --muted: #9BA2B8;
  --faint: #6A7188;
  --volt: #5B8CFF;
  --volt-2: #7CA6FF;
  --volt-ink: #5B8CFF;
  --volt-dim: rgba(91, 140, 255, .14);
  --volt-glow: rgba(91, 140, 255, .45);
  --accent: #5B8CFF;
  --accent-2: #22D3EE;
  --grad: linear-gradient(100deg, #5B8CFF 10%, #22D3EE 90%);
  --dark: #06070B;
  --orange: #FBBF24;
  --blue: #22D3EE;
  --green: #4ADE80;
  --amber: #FBBF24;
  --red: #F87171;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 44px rgba(2, 4, 12, .5);
  --shadow-sm: 0 10px 40px rgba(91, 140, 255, .14);
  --header-bg: rgba(7, 8, 13, .78);
  --header-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15.5px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.05; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
table { border-collapse: collapse; }
::selection { background: var(--volt); color: var(--dark); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--volt); color: var(--dark); padding: 10px 16px; z-index: 300; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- layout ---------- */
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--volt-ink); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--volt); }
.section-title { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; font-weight: 700; }
.section-sub { color: var(--muted); max-width: 560px; margin-top: 8px; }
.link-arrow { color: var(--volt-ink); font-weight: 600; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.link-arrow:hover { gap: 10px; }
.link-arrow::after { content: "→"; }

.grid { display: grid; gap: 22px; }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase; border: 1.5px solid transparent;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
  user-select: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--volt); color: var(--dark); }
.btn-primary:hover { background: var(--volt-2); box-shadow: 0 8px 24px -8px var(--volt-glow); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--volt-ink); color: var(--volt-ink); }
.btn-dark { background: var(--dark); color: var(--text); border-color: var(--line-2); }
.btn-dark:hover { border-color: var(--volt-ink); }
.btn-danger { background: transparent; border-color: rgba(248, 113, 113, .4); color: var(--red); }
.btn-danger:hover { background: rgba(248, 113, 113, .1); }
.btn-sm { padding: 9px 16px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- badges & pills ---------- */
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.badge-volt { background: var(--volt); color: var(--dark); }
.badge-sale { background: var(--orange); color: var(--dark); }
.badge-new { background: var(--blue); color: var(--dark); }
.badge-muted { background: var(--surface-3); color: var(--muted); }
.badge-green { background: rgba(74, 222, 128, .15); color: var(--green); }
.badge-blue { background: rgba(94, 162, 255, .15); color: var(--blue); }
.badge-amber { background: rgba(251, 191, 36, .15); color: var(--amber); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field label .req { color: var(--orange); }
.input, .select, .textarea {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 15px; color: var(--text);
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--volt-ink); box-shadow: 0 0 0 3px var(--volt-dim); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { color: var(--red); font-size: 12.5px; display: none; }
.field.invalid .input, .field.invalid .textarea, .field.invalid .select { border-color: var(--red); }
.field.invalid .field-error { display: block; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.checkbox input { accent-color: var(--volt-ink); width: 17px; height: 17px; margin-top: 2px; flex: none; }
.checkbox a { color: var(--volt-ink); }
.hint { font-size: 12.5px; color: var(--faint); }

/* ---------- promo bar ---------- */
.promo-bar { background: var(--volt); color: var(--dark); font-size: 13px; font-weight: 600; text-align: center; padding: 8px 16px; letter-spacing: .02em; }
.promo-bar b { font-weight: 800; text-transform: uppercase; }
.promo-bar a { text-decoration: underline; font-weight: 700; margin-left: 8px; }

/* The editor wraps the header in a section div; that div is the sticky box so
   the header stays on screen past its own height. */
.tiendy-section-header { position: sticky; top: 0; z-index: 100; }
.site-header { position: relative; top: auto; z-index: auto; background: transparent; border-bottom: 1px solid transparent; }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 27px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; flex: none; }
.logo .bolt { width: 30px; height: 30px; background: var(--volt); color: var(--dark); border-radius: 9px; display: grid; place-items: center; }
.logo .bolt svg { width: 16px; height: 16px; }
.logo span em { color: var(--volt-ink); font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .15s, background .15s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--volt-ink); }
.nav-link .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }

/* --- mega dropdown (Shop): 2 levels = categories -> subcategories --- */
.nav-item.has-mega { position: static; }
.mega {
  position: absolute; top: calc(100% + 1px); left: 50%; transform: translateX(-50%) translateY(10px);
  /* Shrink to the columns it really has: no empty track on the right. */
  width: max-content; max-width: min(1080px, 92vw); background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 90;
}
.nav-item:hover .mega, .nav-item:focus-within .mega, .mega.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(225deg) translateY(-2px); }
/* One track per column the menu really has (--mega-cols comes from the
   template), so the panel never leaves an empty column on the right. */
.mega-grid { display: grid; grid-template-columns: repeat(var(--mega-cols, 6), minmax(0, 1fr)); gap: 26px; align-items: start; }
.mega-grid.has-feature { grid-template-columns: repeat(var(--mega-cols, 6), minmax(0, 1fr)) 250px; }
.mega-col { min-width: 0; }
.mega-col .mega-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--text); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 2px solid var(--line); transition: color .15s, border-color .15s; }
.mega-col .mega-head:hover { color: var(--volt-ink); border-color: var(--volt-ink); }
.mega-sub { display: block; padding: 5px 0; color: var(--muted); font-size: 13.5px; transition: color .15s, padding-left .15s; }
.mega-sub:hover { color: var(--volt-ink); padding-left: 4px; }
.mega-feature { background: linear-gradient(135deg, var(--volt-dim), transparent), var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mega-feature .mf-img { border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; background: var(--surface-3); }
.mega-feature .mf-img img { width: 100%; height: 100%; object-fit: cover; }
.mega-feature .mf-kicker { color: var(--volt-ink); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.mega-feature h4 { font-size: 21px; text-transform: uppercase; }
.mega-feature p { color: var(--muted); font-size: 13px; margin: 0; }

/* --- header actions --- */
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color .15s, background .15s; }
.icon-btn:hover, .icon-btn.active { color: var(--text); background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; background: var(--volt); color: var(--dark); border-radius: 999px; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.header-wishlist { position: relative; }
.wishlist-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--volt); color: var(--dark); border-radius: 999px;
  font-size: 11px; font-weight: 800; line-height: 1; display: none;
  align-items: center; justify-content: center; border: 2px solid var(--bg);
}
.wishlist-count.show { display: inline-flex; }
.header-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; width: 230px; transition: border-color .15s, width .25s; }
.header-search:focus-within { border-color: var(--volt-ink); width: 280px; }
.header-search svg { width: 16px; height: 16px; color: var(--faint); flex: none; }
.header-search input { background: none; border: 0; outline: none; width: 100%; font-size: 14px; color: var(--text); }
.header-search input::placeholder { color: var(--faint); }

/* account mini-menu */
.account-wrap { position: relative; }
.account-menu { position: absolute; top: calc(100% + 8px); right: 0; width: 210px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; z-index: 95; }
.account-wrap:hover .account-menu, .account-wrap:focus-within .account-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.account-menu a, .account-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); text-align: left; }
/* inline SVGs have no intrinsic size — constrain them or they render ~300px wide */
.account-menu svg { width: 16px; height: 16px; flex: none; }
.account-menu a:hover, .account-menu button:hover { background: var(--surface-2); color: var(--text); }
.account-menu .menu-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account-menu .menu-head b { display: block; color: var(--text); font-size: 14px; }
.account-menu .menu-head span { font-size: 12.5px; color: var(--faint); }

/* burger + mobile drawer */
.burger { display: none; }
.mobile-nav { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.mobile-nav .overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s; }
.mobile-nav .panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: var(--bg-2); border-right: 1px solid var(--line); transform: translateX(-100%); transition: transform .28s ease; padding: 20px; overflow-y: auto; }
.mobile-nav.open { pointer-events: auto; }
.mobile-nav.open .overlay { opacity: 1; }
.mobile-nav.open .panel { transform: none; }
.mobile-nav .panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav .panel a, .mobile-nav .acc { display: block; padding: 13px 10px; font-weight: 600; font-size: 16px; border-radius: 10px; }
.mobile-nav .panel a:hover { background: var(--surface-2); }
.mobile-nav .acc { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.mobile-nav .acc .chev { transition: transform .2s; }
.mobile-nav .acc.open .chev { transform: rotate(180deg); }
.mobile-sub { display: none; padding: 2px 0 8px 14px; }
.mobile-sub.open { display: block; }
.mobile-cat .m-cat { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 9px 10px; color: var(--text); font-weight: 600; font-size: 14.5px; border-radius: 8px; }
.mobile-cat .m-cat:hover { background: var(--surface-2); }
.mobile-cat .m-subs { display: none; padding: 2px 0 6px 16px; }
.mobile-cat .m-subs.open { display: block; }
.mobile-cat .m-subs a { display: block; padding: 7px 10px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.mobile-cat .m-subs a:hover { color: var(--volt-ink); }

.mobile-nav .d-link.active { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); margin-top: 80px; }
.footer-newsletter { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--line); }
.footer-newsletter h3 { font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; }
.footer-newsletter p { color: var(--muted); margin: 6px 0 0; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form .input { flex: 1; }
.newsletter-note { font-size: 12px; color: var(--faint); margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding: 46px 0; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 300px; margin-top: 14px; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: all .15s; }
.footer-social a:hover { color: var(--dark); background: var(--volt); border-color: var(--volt-ink); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 17px; text-transform: uppercase; margin-bottom: 16px; letter-spacing: .06em; }
.footer-col a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; transition: color .15s, padding-left .15s; }
.footer-col a:hover { color: var(--volt-ink); padding-left: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; flex-wrap: wrap; }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 9px; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }

/* ---------- product card ---------- */
.p-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s, border-color .22s, box-shadow .22s; position: relative; }
.p-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.p-media { position: relative; aspect-ratio: 4/4.4; background: linear-gradient(150deg, var(--surface-3), var(--surface)); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-media .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.p-media .p-off { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--dark); color: var(--orange); border: 1px solid rgba(255, 120, 71, .4); font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 6px; }
.p-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(8px); transition: all .22s; }
.p-card:hover .p-quick { opacity: 1; transform: none; }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-cat { font-size: 11.5px; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.p-name { font-family: var(--font-body); font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.p-name a:hover { color: var(--volt-ink); }
.p-rating { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.stars { position: relative; display: inline-block; font-size: 13px; line-height: 1; letter-spacing: 2px; color: var(--surface-3); }
.stars .fill { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; color: var(--volt-ink); }
.p-price { display: flex; align-items: baseline; gap: 9px; margin-top: auto; padding-top: 6px; }
.p-price .now { font-weight: 800; font-size: 17px; }
.p-price .old { color: var(--faint); text-decoration: line-through; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 16, 21, .96) 22%, rgba(14, 16, 21, .72) 55%, rgba(14, 16, 21, .25)); }
.hero-inner { position: relative; padding: 96px 0 104px; max-width: 620px; }
.hero .kicker { font-size: 13px; }
.hero h1 { font-size: clamp(46px, 7vw, 84px); text-transform: uppercase; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--volt-ink); }
.hero p { color: #c3cad8; font-size: 17px; max-width: 480px; margin: 18px 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { position: relative; display: flex; gap: 44px; padding: 26px 0 0; margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--volt-ink); }
.hero-stats span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- hero slider (section hero-slider) ---------- */
/* Full-width slideshow offered as an alternative to .hero above. Same contract
   as the rest of the templates (.hs-track, .hs-slide states, arrows, dots):
   without JavaScript the track stays a native horizontal scroller and the
   controls ship hidden; app.js stacks the slides and drives the transition.
   Copy over a photo keeps its own ink/paper pair (--hs-ink) instead of --text,
   because the slide ground is the picture, not the page: a paper veil needs ink
   copy and an ink veil needs paper copy in either colour scheme. The ground,
   the buttons and the accent come from the theme tokens, so the dark default
   and the light preset both stay readable. */

.hero-slider {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: rgb(var(--hs-ground)); color: rgb(var(--hs-ink));
  --hs-duration: 600ms; --hs-ink: 238, 241, 248; --hs-veil: 12, 14, 18; --hs-ground: 12, 14, 18;
}
/* Dark tone is ink copy over a paper veil, so both the copy and the ground a
   slide without a picture falls back to follow the picture, not the page. */
.hero-slider--tone-dark { --hs-ink: 12, 14, 18; --hs-veil: 244, 245, 248; --hs-ground: 244, 245, 248; }
.hero-slider--compact { --hs-height: clamp(320px, 42vh, 440px); }
.hero-slider--medium { --hs-height: clamp(440px, 58vh, 600px); }
.hero-slider--tall { --hs-height: clamp(520px, 76vh, 760px); }

.hero-slider .hs-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.hero-slider .hs-track::-webkit-scrollbar { display: none; }
.hero-slider .hs-track:focus-visible { outline: 2px solid var(--volt); outline-offset: -4px; }

.hero-slider .hs-slide { position: relative; flex: 0 0 100%; min-height: var(--hs-height); display: grid; align-content: center; scroll-snap-align: center; scroll-snap-stop: always; padding-block: 84px; overflow: hidden; }

.hero-slider .hs-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-slider .hs-slide--focal-top .hs-media { object-position: 50% 16%; }
.hero-slider .hs-slide--focal-bottom .hs-media { object-position: 50% 84%; }

/* The veil reuses the gradient of .hero-media::after, mixed from the tone. */
.hero-slider .hs-scrim { position: absolute; inset: 0; }
.hero-slider .hs-scrim--soft { background: linear-gradient(90deg, rgba(var(--hs-veil), .96) 22%, rgba(var(--hs-veil), .72) 55%, rgba(var(--hs-veil), .25)); }
.hero-slider .hs-scrim--strong { background: rgba(var(--hs-veil), .88); }
.hero-slider .hs-scrim--none { background: none; }
/* Centred copy reads better with the veil falling from the top. */
.hero-slider .hs-slide--center .hs-scrim--soft { background: linear-gradient(180deg, rgba(var(--hs-veil), .42) 0%, rgba(var(--hs-veil), .84) 100%); }

.hero-slider .hs-container { position: relative; }
.hero-slider .hs-inner { max-width: 620px; }
.hero-slider .hs-slide--center .hs-inner { max-width: 820px; margin-inline: auto; text-align: center; }

/* The eyebrow follows .kicker: tracked caps behind a volt rule. */
.hero-slider .hs-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: rgb(var(--hs-ink)); margin-bottom: 14px; }
.hero-slider .hs-eyebrow::before { content: ""; width: 22px; height: 2px; flex: none; background: var(--volt); }

.hero-slider .hs-slide .hs-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(42px, 6.2vw, 76px); line-height: .98; letter-spacing: .01em; text-transform: uppercase; max-width: 18ch; margin: 0; color: rgb(var(--hs-ink)); }
.hero-slider .hs-slide--center .hs-title { margin-inline: auto; }
.hero-slider .hs-slide .hs-text { color: rgba(var(--hs-ink), .82); font-size: 17px; line-height: 1.6; max-width: 480px; margin: 18px 0 0; }
.hero-slider .hs-slide--center .hs-text { margin-inline: auto; }

.hero-slider .hs-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-slider .hs-slide--center .hs-ctas { justify-content: center; }
/* The template's pill buttons, tuned for a photo: the ghost button borrows the
   slide ink so it never disappears on the veil (its page colour would). */
.hero-slider .hs-ctas .btn-primary { background: var(--volt); color: var(--dark); }
.hero-slider .hs-ctas .btn-primary:hover { background: var(--volt-2); box-shadow: 0 8px 24px -8px var(--volt-glow); }
.hero-slider .hs-ctas .btn-ghost { color: rgb(var(--hs-ink)); border-color: rgba(var(--hs-ink), .45); background: transparent; }
.hero-slider .hs-ctas .btn-ghost:hover { color: rgb(var(--hs-ink)); border-color: var(--volt); background: var(--volt-dim); }

.hero-slider .hs-nav { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-slider .hs-nav[hidden], .hero-slider .hs-dots[hidden] { display: none; }
/* The arrows sit together at the bottom right, away from the copy column, so
   they never cross the headline at narrow desktop widths. */
.hero-slider .hs-arrow { position: absolute; bottom: 24px; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(var(--hs-ink), .35); border-radius: 50%; background: rgba(var(--hs-veil), .42); color: rgb(var(--hs-ink)); pointer-events: auto; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .18s, border-color .18s, color .18s; }
.hero-slider .hs-arrow:hover { background: var(--volt); border-color: var(--volt); color: var(--dark); }
.hero-slider .hs-arrow:focus-visible, .hero-slider .hs-dot:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
.hero-slider .hs-arrow svg { width: 18px; height: 18px; }
.hero-slider .hs-arrow--prev { right: 82px; }
.hero-slider .hs-arrow--next { right: 24px; }

.hero-slider .hs-dots { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hero-slider .hs-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(var(--hs-ink), .45); cursor: pointer; transition: width .18s, background .18s; }
.hero-slider .hs-dot:hover { background: rgba(var(--hs-ink), .7); }
.hero-slider .hs-dot[aria-current="true"] { width: 26px; background: var(--volt); }

/* app.js stacks the slides and drives the transition itself; until it runs (and
   without JavaScript) the track above stays a native horizontal scroller. The
   swipe stays on the X axis so a vertical drag keeps scrolling the page. */
.hero-slider[data-hs-mode] .hs-track { display: grid; overflow: hidden; touch-action: pan-y; }
.hero-slider[data-hs-mode] .hs-slide { grid-area: 1 / 1; transition: transform var(--hs-duration) ease, opacity var(--hs-duration) ease; will-change: transform, opacity; pointer-events: none; }
.hero-slider[data-hs-mode] .hs-slide[data-hs-state="active"] { pointer-events: auto; z-index: 2; }
.hero-slider[data-hs-booting] .hs-slide { transition: none; }

/* Horizontal: the entering slide waits on the right. */
.hero-slider[data-hs-mode="horizontal"] .hs-slide { transform: translateX(100%); }
.hero-slider[data-hs-mode="horizontal"] .hs-slide[data-hs-state="prev"] { transform: translateX(-100%); }
.hero-slider[data-hs-mode="horizontal"] .hs-slide[data-hs-state="active"] { transform: none; }

/* Vertical: the entering slide waits above, so the slideshow moves downwards. */
.hero-slider[data-hs-mode="vertical"] .hs-slide { transform: translateY(-100%); }
.hero-slider[data-hs-mode="vertical"] .hs-slide[data-hs-state="prev"] { transform: translateY(100%); }
.hero-slider[data-hs-mode="vertical"] .hs-slide[data-hs-state="active"] { transform: none; }

/* Fade: every slide shares the same box and only the active one is opaque. */
.hero-slider[data-hs-mode="fade"] .hs-slide { opacity: 0; }
.hero-slider[data-hs-mode="fade"] .hs-slide[data-hs-state="active"] { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-slider .hs-track { scroll-behavior: auto; }
  /* Beats the theme-wide .01ms rule: the slideshow is instant instead. */
  .hero-slider[data-hs-mode] .hs-slide { transition-duration: 0s !important; }
}

@media (max-width: 860px) {
  /* The copy spans the full width here, so the soft veil falls vertically
     instead of fading out under the last lines. */
  .hero-slider .hs-slide--left .hs-scrim--soft { background: linear-gradient(180deg, rgba(var(--hs-veil), .4) 0%, rgba(var(--hs-veil), .82) 100%); }
  .hero-slider .hs-arrow { display: none; }
  .hero-slider .hs-dots { bottom: 18px; }
}

@media (max-width: 640px) {
  .hero-slider .hs-slide { padding-block: 68px; }
  .hero-slider .hs-inner, .hero-slider .hs-slide--center .hs-inner { max-width: none; }
  .hero-slider .hs-slide .hs-title { font-size: clamp(34px, 10vw, 46px); max-width: none; }
  .hero-slider .hs-slide .hs-text { font-size: 15.5px; }
  .hero-slider .hs-ctas { margin-top: 24px; }
  .hero-slider .hs-ctas .btn { flex: 1 1 auto; }
}

/* ---------- category tiles ---------- */
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.6; border: 1px solid var(--line); display: block; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 16, 21, 0) 35%, rgba(14, 16, 21, .92)); }
.cat-tile .ct-label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.cat-tile h3 { font-size: 26px; text-transform: uppercase; }
.cat-tile span { color: var(--volt-ink); font-size: 13px; font-weight: 600; }

/* ---------- benefits strip ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.benefit .b-icon { width: 46px; height: 46px; flex: none; background: var(--volt-dim); color: var(--volt-ink); border-radius: 12px; display: grid; place-items: center; }
.benefit .b-icon svg { width: 22px; height: 22px; }
.benefit b { display: block; font-size: 14.5px; }
.benefit span { font-size: 13px; color: var(--muted); }

/* ---------- banner / CTA ---------- */
.promo-banner { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 14, 18, .94) 30%, rgba(12, 14, 18, .35)); }
.promo-banner .pb-inner { position: relative; z-index: 2; padding: 60px 48px; max-width: 560px; }
.promo-banner h3 { font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; }
.promo-banner h3 em { color: var(--volt-ink); font-style: normal; }
.promo-banner p { color: #c3cad8; margin: 12px 0 24px; }

/* ---------- toolbar / filters (shop) ---------- */
.page-head { padding: 44px 0 8px; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 12px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--volt-ink); }
.breadcrumb .sep::before { content: "/"; margin-right: 8px; }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 24px; }
.filter-block { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.filter-block:last-child { border: 0; }
.filter-block h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.filter-link { display: flex; justify-content: space-between; align-items: center; padding: 7px 2px; color: var(--muted); font-size: 14px; border-radius: 8px; transition: color .15s; }
.filter-link:hover { color: var(--text); }
.filter-link.active { color: var(--volt-ink); font-weight: 700; }
.filter-link .f-count { font-size: 12px; color: var(--faint); }
.filter-group-sub { margin: 2px 0 6px 14px; display: none; }
.filter-group-sub.open { display: block; }
.filter-group-sub a { display: block; padding: 5px 8px; color: var(--muted); font-size: 13.5px; border-radius: 6px; }
.filter-group-sub a:hover { color: var(--volt-ink); }
.filter-group-sub a.active { color: var(--volt-ink); font-weight: 700; }
.filter-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.filter-check input { accent-color: var(--volt-ink); width: 16px; height: 16px; }
.filter-check:hover { color: var(--text); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar .result-count { color: var(--muted); font-size: 14px; }
.toolbar .result-count b { color: var(--text); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.toolbar .select { width: auto; padding-top: 9px; padding-bottom: 9px; font-size: 13.5px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.chip button { color: var(--faint); font-size: 15px; line-height: 1; }
.chip button:hover { color: var(--red); }
.chip-clear { color: var(--volt-ink); font-size: 13px; font-weight: 600; align-self: center; }

/* ---------- pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.page-btn { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 14px; display: grid; place-items: center; transition: all .15s; }
.page-btn:hover:not([disabled]):not(.active) { border-color: var(--volt-ink); color: var(--volt-ink); }
.page-btn.active { background: var(--volt); color: var(--dark); border-color: var(--volt-ink); }
.page-btn[disabled] { opacity: .35; cursor: default; }
.page-ellipsis { color: var(--faint); padding: 0 4px; }

/* ---------- product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 12px; }
.pd-main-img { aspect-ratio: 4/4.1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(150deg, var(--surface-3), var(--surface)); position: relative; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pd-main-img:hover img { transform: scale(1.4); }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); cursor: pointer; padding: 0; background: var(--surface-2); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--volt-ink); }
.pd-thumb:hover { border-color: var(--line-2); }
.pd-thumb.v-flip img { transform: scaleX(-1); }
.pd-thumb.v-pos img { object-position: 70% 30%; }
.pd-info .p-cat { font-size: 12.5px; }
.pd-info h1 { font-size: clamp(30px, 4vw, 42px); text-transform: uppercase; margin: 8px 0 12px; }
.pd-rating { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.pd-rating a { color: var(--volt-ink); text-decoration: underline; text-underline-offset: 3px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-price .now { font-size: 32px; font-weight: 800; font-family: var(--font-display); }
.pd-price .old { font-size: 18px; color: var(--faint); text-decoration: line-through; }
.pd-price .save { color: var(--orange); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.opt-label { font-size: 13.5px; font-weight: 700; margin: 20px 0 10px; display: flex; justify-content: space-between; }
.opt-label span { color: var(--muted); font-weight: 500; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line-2); position: relative; transition: transform .15s; }
.swatch:hover { transform: scale(1.08); }
.swatch.active { border-color: var(--volt-ink); }
.swatch.active::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 2px solid var(--bg); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn { min-width: 46px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 13.5px; transition: all .15s; }
.size-btn:hover { border-color: var(--line-2); }
.size-btn.active { border-color: var(--volt-ink); color: var(--volt-ink); background: var(--volt-dim); }
.size-btn[disabled] { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.pd-actions { display: flex; gap: 12px; margin: 26px 0 18px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.qty button { width: 40px; height: 46px; font-size: 18px; color: var(--muted); transition: color .15s; }
.qty button:hover { color: var(--volt-ink); }
.qty .q-val { width: 38px; text-align: center; font-weight: 700; }
.pd-stock { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.pd-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pd-perks { display: grid; gap: 10px; margin-top: 24px; }
.pd-perk { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.pd-perk svg { width: 18px; height: 18px; color: var(--volt-ink); flex: none; }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 60px 0 0; overflow-x: auto; }
.tab { padding: 14px 22px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab.active { color: var(--volt-ink); border-color: var(--volt-ink); }
.tab-panel { display: none; padding: 30px 0 10px; }
.tab-panel.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tab-panel h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 14px; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 10px; margin: 18px 0 0; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.feature-list li::before { content: "✓"; color: var(--volt-ink); font-weight: 800; }
.spec-table { width: 100%; max-width: 640px; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table td:first-child { color: var(--muted); width: 38%; }
.spec-table td:last-child { font-weight: 600; }

/* reviews */
.reviews-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.rating-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.rating-summary .big { font-family: var(--font-display); font-size: 58px; font-weight: 700; line-height: 1; }
.rating-summary .stars { font-size: 16px; }
.rating-summary .count { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.rbar { display: grid; grid-template-columns: 30px 1fr 34px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.rbar .track { height: 7px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.rbar .track i { display: block; height: 100%; background: var(--volt); border-radius: 99px; }
.review-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.review-item:first-child { padding-top: 4px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-3); color: var(--volt-ink); display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.review-head b { display: block; font-size: 14.5px; }
.review-head .rv-meta { font-size: 12.5px; color: var(--faint); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.review-item h5 { margin: 6px 0 4px; font-size: 15px; }
.review-item p { color: var(--muted); font-size: 14.5px; margin: 0; }
.verified { color: var(--green); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.review-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 30px; }
.star-select { display: flex; gap: 4px; font-size: 26px; color: var(--surface-3); }
.star-select button { color: inherit; transition: color .1s; padding: 0 2px; }
.star-select button.on { color: var(--volt-ink); }

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; align-items: center; }
.cart-item .ci-img { width: 96px; height: 108px; border-radius: 10px; overflow: hidden; background: var(--surface-3); }
.cart-item .ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-name { font-weight: 600; font-size: 15px; }
.ci-name a:hover { color: var(--volt-ink); }
.ci-meta { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ci-price { font-weight: 800; font-size: 16.5px; }
.ci-remove { color: var(--faint); font-size: 12.5px; display: inline-flex; gap: 5px; align-items: center; }
.ci-remove:hover { color: var(--red); }
.qty.sm button { height: 36px; width: 32px; }
.qty.sm .q-val { width: 30px; font-size: 14px; }
.summary-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary-card h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); padding: 7px 0; }
.sum-row b { color: var(--text); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 16px; }
.sum-row.total b { font-size: 20px; font-family: var(--font-display); }
.sum-row .free { color: var(--green); font-weight: 700; }
.sum-row .discount { color: var(--volt-ink); }
.ship-progress { background: var(--surface-2); border-radius: 99px; height: 8px; overflow: hidden; margin: 10px 0 4px; }
.ship-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--volt-2), var(--volt)); border-radius: 99px; transition: width .4s; }
.ship-note { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.ship-note b { color: var(--volt-ink); }
.promo-row { display: flex; gap: 8px; margin: 16px 0 6px; }
.promo-row .input { flex: 1; padding: 10px 14px; font-size: 13.5px; text-transform: uppercase; }
.promo-applied { display: flex; justify-content: space-between; align-items: center; background: var(--volt-dim); border: 1px dashed var(--volt); border-radius: 8px; padding: 8px 12px; font-size: 13px; color: var(--volt-ink); margin: 12px 0 0; }
.promo-applied button { color: var(--muted); font-size: 12px; text-decoration: underline; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .es-icon { width: 90px; height: 90px; margin: 0 auto 24px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--faint); }
.empty-state .es-icon svg { width: 38px; height: 38px; }
.empty-state h2 { font-size: 32px; text-transform: uppercase; margin-bottom: 10px; }
.empty-state p { color: var(--muted); max-width: 420px; margin: 0 auto 26px; }

/* ---------- checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.steps { display: flex; align-items: center; gap: 0; margin: 34px 0 34px; }
.step { display: flex; align-items: center; gap: 10px; flex: none; }
.step .s-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1.5px solid var(--line-2); color: var(--muted); display: grid; place-items: center; font-size: 13px; font-weight: 800; transition: all .2s; }
.step .s-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.step.active .s-dot { background: var(--volt); border-color: var(--volt-ink); color: var(--dark); }
.step.active .s-label { color: var(--text); }
.step.done .s-dot { background: var(--volt-dim); border-color: var(--volt-ink); color: var(--volt-ink); }
.step-line { flex: 1; height: 1.5px; background: var(--line-2); margin: 0 12px; min-width: 24px; }
.step-line.done { background: var(--volt); }
.co-panel { display: none; }
.co-panel.active { display: block; animation: fadeIn .25s ease; }
.co-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.co-card h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 20px; }
.co-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; }
.ship-methods { display: grid; gap: 12px; margin-bottom: 6px; }
.ship-method { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.ship-method:hover { border-color: var(--line-2); }
.ship-method.active { border-color: var(--volt-ink); background: var(--volt-dim); }
.ship-method input { accent-color: var(--volt-ink); width: 17px; height: 17px; }
.ship-method b { display: block; font-size: 14.5px; }
.ship-method span { font-size: 13px; color: var(--muted); }
.ship-method .sm-price { margin-left: auto; font-weight: 800; }
.ship-method .sm-price.free { color: var(--green); }
.pay-methods { display: grid; gap: 12px; }
.pay-method { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-method.active { border-color: var(--volt-ink); background: var(--volt-dim); }
.pay-method input { accent-color: var(--volt-ink); width: 17px; height: 17px; }
.pay-method .pm-icon { width: 42px; height: 28px; border-radius: 6px; background: var(--surface-3); display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .04em; flex: none; }
.pay-method b { display: block; font-size: 14.5px; }
.pay-method span { font-size: 12.5px; color: var(--muted); }
.card-fields { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.card-input-wrap { position: relative; }
.card-input-wrap .ci-brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 800; color: var(--faint); }
.review-block { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; background: var(--bg-2); }
.review-block .rb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-block .rb-head h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-family: var(--font-body); }
.review-block .rb-head button { color: var(--volt-ink); font-size: 13px; font-weight: 600; }
.review-block p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.co-items { display: flex; flex-direction: column; gap: 14px; }
.co-item { display: flex; gap: 14px; align-items: center; }
.co-item .co-img { width: 58px; height: 66px; border-radius: 8px; overflow: hidden; background: var(--surface-3); position: relative; flex: none; }
.co-item .co-img img { width: 100%; height: 100%; object-fit: cover; }
.co-item .co-img .q { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text); font-size: 11px; font-weight: 700; border-radius: 50%; display: grid; place-items: center; }
.co-item b { font-size: 14px; display: block; }
.co-item span { font-size: 12.5px; color: var(--faint); }
.co-item .ci-price { margin-left: auto; }
.secure-note { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--faint); font-size: 12.5px; margin-top: 16px; }
.secure-note svg { width: 14px; height: 14px; color: var(--green); }
.checkout-success { text-align: center; padding: 60px 20px; max-width: 640px; margin: 0 auto; }
.checkout-success .ok-ring { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; background: var(--volt-dim); border: 2px solid var(--volt); display: grid; place-items: center; color: var(--volt-ink); }
.checkout-success .ok-ring svg { width: 40px; height: 40px; }
.checkout-success h1 { font-size: clamp(32px, 5vw, 48px); text-transform: uppercase; }
.checkout-success .order-num { display: inline-block; background: var(--surface); border: 1px dashed var(--volt); color: var(--volt-ink); font-weight: 800; letter-spacing: .1em; padding: 10px 22px; border-radius: 10px; margin: 18px 0; }
.checkout-success p { color: var(--muted); }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- auth pages ---------- */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth-media { position: relative; overflow: hidden; display: none; }
@media (min-width: 900px) { .auth-media { display: block; } }
.auth-media img { width: 100%; height: 100%; object-fit: cover; }
.auth-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 14, 18, .92) 0%, rgba(12, 14, 18, .25) 55%); }
.auth-quote { position: absolute; left: 44px; right: 44px; bottom: 44px; z-index: 2; }
.auth-quote h3 { font-size: 34px; text-transform: uppercase; max-width: 420px; }
.auth-quote h3 em { color: var(--volt-ink); font-style: normal; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.auth-box { width: min(440px, 100%); }
.auth-box h1 { font-size: 38px; text-transform: uppercase; margin-bottom: 8px; }
.auth-box .sub { color: var(--muted); margin-bottom: 28px; }
.auth-alt { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
.auth-alt a { color: var(--volt-ink); font-weight: 700; }
.demo-hint { background: var(--volt-dim); border: 1px dashed var(--volt); border-radius: 10px; padding: 12px 16px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.demo-hint b { color: var(--volt-ink); }
.demo-hint button { color: var(--volt-ink); font-weight: 700; text-decoration: underline; }
.pw-meter { display: flex; gap: 6px; margin-top: 8px; }
.pw-meter i { height: 4px; flex: 1; background: var(--surface-3); border-radius: 99px; transition: background .2s; }
.pw-meter i.on-1 { background: var(--red); }
.pw-meter i.on-2 { background: var(--amber); }
.pw-meter i.on-3 { background: var(--green); }
.pw-label { font-size: 12px; color: var(--faint); margin-top: 6px; }

/* ---------- account ---------- */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.account-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.account-user { display: flex; gap: 12px; align-items: center; padding: 6px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.account-user .avatar { width: 46px; height: 46px; font-size: 17px; }
.account-user b { display: block; font-size: 15px; }
.account-user span { font-size: 12.5px; color: var(--faint); }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14.5px; margin-bottom: 2px; transition: all .15s; }
.account-nav a svg { width: 18px; height: 18px; }
.account-nav a:hover { background: var(--surface-2); color: var(--text); }
.account-nav a.active { background: var(--volt-dim); color: var(--volt-ink); }
.account-nav hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.account-head h1 { font-size: 34px; text-transform: uppercase; }
.account-head .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.stat-cards-4 { grid-template-columns: repeat(4, 1fr); }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat-card .sc-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--volt-dim); color: var(--volt-ink); display: grid; place-items: center; margin-bottom: 14px; }
.stat-card .sc-icon svg { width: 20px; height: 20px; }
.stat-card b { font-family: var(--font-display); font-size: 28px; display: block; }
.stat-card span { color: var(--muted); font-size: 13px; }
.stat-card span a:hover { color: var(--volt-ink); }

/* tables */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; min-width: 640px; }
.table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); font-weight: 700; padding: 15px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.table td { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: rgba(255, 255, 255, .02); }
.table .order-num { color: var(--volt-ink); font-weight: 700; }
.table .t-strong { font-weight: 700; }
.table .t-muted { color: var(--muted); font-size: 13px; }
.filter-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-tab { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); font-size: 13.5px; font-weight: 600; transition: all .15s; }
.filter-tab:hover { border-color: var(--line-2); color: var(--text); }
.filter-tab.active { background: var(--volt); border-color: var(--volt-ink); color: var(--dark); }

/* order detail */
.order-status-band { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 30px; flex-wrap: wrap; }
.order-status-band h1 { font-size: 30px; text-transform: uppercase; }
.order-status-band .osb-meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 34px 0 8px; }
.tl-step { position: relative; text-align: center; }
.tl-step::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--line-2); }
.tl-step:first-child::before { display: none; }
.tl-step.done::before, .tl-step.current::before { background: var(--volt); }
.tl-dot { width: 28px; height: 28px; margin: 0 auto; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line-2); position: relative; z-index: 2; display: grid; place-items: center; color: transparent; }
.tl-step.done .tl-dot { background: var(--volt); border-color: var(--volt-ink); color: var(--dark); }
.tl-step.done .tl-dot svg { width: 14px; height: 14px; }
.tl-step.current .tl-dot { border-color: var(--volt-ink); box-shadow: 0 0 0 5px var(--volt-dim); }
.tl-step.current .tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--volt); }
.tl-step b { display: block; font-size: 13.5px; margin-top: 10px; }
.tl-step span { font-size: 12px; color: var(--faint); }
.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; margin-top: 34px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.info-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; font-family: var(--font-body); }
.info-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.info-card p b { color: var(--text); }
.address-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.address-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.address-card .ac-type { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.address-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 4px; }
.address-card p b { color: var(--text); }
.ac-actions { display: flex; gap: 6px; margin-top: 16px; }
.ac-actions button { font-size: 13px; font-weight: 600; color: var(--muted); padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-2); }
.ac-actions button:hover { color: var(--volt-ink); border-color: var(--volt-ink); }
.ac-actions button.del:hover { color: var(--red); border-color: var(--red); }
.address-card .badge { position: absolute; top: 18px; right: 18px; }

/* modal */
.modal-root { position: fixed; inset: 0; z-index: 250; display: none; }
.modal-root.open { display: block; }
.modal-root .overlay { position: absolute; inset: 0; background: rgba(5, 7, 10, .7); backdrop-filter: blur(4px); }
.modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 32px)); max-height: 88vh; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.modal-head h3 { font-size: 22px; text-transform: uppercase; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--muted); display: grid; place-items: center; font-size: 18px; }
.modal-close:hover { color: var(--text); }

/* ---------- blog ---------- */
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.post-card .po-media { aspect-ratio: 16/9.5; overflow: hidden; background: var(--surface-3); position: relative; }
.post-card .po-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.post-card:hover .po-media img { transform: scale(1.06); }
.post-card .po-media .badge { position: absolute; top: 12px; left: 12px; }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--faint); flex-wrap: wrap; }
.post-card h3 { font-size: 21px; line-height: 1.2; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.post-card h3 a:hover { color: var(--volt-ink); }
.post-card p { color: var(--muted); font-size: 14px; margin: 0; }
.post-card .link-arrow { margin-top: auto; padding-top: 8px; }
.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-bottom: 40px; }
.featured-post .fp-media { min-height: 340px; position: relative; overflow: hidden; }
.featured-post .fp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-post .fp-body { padding: 44px 42px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: center; }
.featured-post h2 { font-size: clamp(26px, 3.4vw, 38px); font-family: var(--font-body); font-weight: 800; line-height: 1.15; letter-spacing: 0; }
.featured-post h2 a:hover { color: var(--volt-ink); }
.featured-post p { color: var(--muted); }

/* article */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article-hero { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/8; margin: 26px 0 34px; background: var(--surface-3); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; font-family: var(--font-body); font-weight: 800; letter-spacing: -.01em; }
.article-content { font-size: 16.5px; color: #c9d0dd; }
.article-content h2 { font-size: 27px; margin: 34px 0 14px; font-family: var(--font-body); letter-spacing: -.01em; }
.article-content p { line-height: 1.8; }
.article-content ul li { margin-bottom: 10px; line-height: 1.7; }
.article-content strong { color: var(--text); }
.article-content blockquote { margin: 30px 0; padding: 22px 28px; background: var(--surface); border-left: 3px solid var(--volt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 19px; line-height: 1.6; color: var(--text); font-weight: 500; }
.author-box { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-top: 34px; }
.author-box .avatar { width: 54px; height: 54px; font-size: 19px; }
.author-box b { display: block; }
.author-box span { color: var(--muted); font-size: 13.5px; }
.share-row { display: flex; gap: 10px; margin-top: 30px; align-items: center; }
.share-row span { color: var(--faint); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-right: 4px; }
.share-row button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); }
.share-row button:hover { color: var(--volt-ink); border-color: var(--volt-ink); }
.share-row svg { width: 16px; height: 16px; }
.blog-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card h4 { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.side-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.side-post:last-of-type { border: 0; }
.side-post .sp-img { width: 72px; height: 56px; border-radius: 8px; overflow: hidden; flex: none; background: var(--surface-3); }
.side-post .sp-img img { width: 100%; height: 100%; object-fit: cover; }
.side-post b { font-size: 13.5px; line-height: 1.35; display: block; font-weight: 600; }
.side-post span { font-size: 12px; color: var(--faint); }
.side-post b a:hover { color: var(--volt-ink); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; transition: all .15s; }
.tag-pill:hover, .tag-pill.active { border-color: var(--volt-ink); color: var(--volt-ink); background: var(--volt-dim); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.article-nav a { max-width: 46%; }
.article-nav .an-label { font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: 6px; }
.article-nav b { font-size: 15.5px; }
.article-nav a:hover b { color: var(--volt-ink); }
.article-nav .next { text-align: right; margin-left: auto; }

/* ---------- about / content ---------- */
.about-hero { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; display: flex; align-items: flex-end; }
.about-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 14, 18, .94) 0%, rgba(12, 14, 18, .2) 60%); }
.about-hero .ah-inner { position: relative; z-index: 2; padding: 44px; max-width: 640px; }
.about-hero h1 { font-size: clamp(38px, 6vw, 64px); text-transform: uppercase; }
.about-hero h1 em { color: var(--volt-ink); font-style: normal; }
.about-hero p { color: #c3cad8; font-size: 17px; margin-top: 12px; }
.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.stats-band b { display: block; font-family: var(--font-display); font-size: 42px; color: var(--volt-ink); }
.stats-band span { color: var(--muted); font-size: 14px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, border-color .2s; }
.value-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.value-card .vc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--volt-dim); color: var(--volt-ink); display: grid; place-items: center; margin-bottom: 18px; }
.value-card .vc-icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 21px; text-transform: uppercase; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.prose { max-width: 760px; font-size: 16.5px; color: #c9d0dd; }
.prose h2 { font-size: 30px; margin: 36px 0 14px; }
.prose blockquote { margin: 26px 0; padding: 20px 26px; background: var(--surface); border-left: 3px solid var(--volt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text); font-size: 18px; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info-card { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.contact-info-card .b-icon { width: 46px; height: 46px; flex: none; background: var(--volt-dim); color: var(--volt-ink); border-radius: 12px; display: grid; place-items: center; }
.contact-info-card .b-icon svg { width: 21px; height: 21px; }
.contact-info-card b { display: block; font-size: 15px; margin-bottom: 3px; }
.contact-info-card p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-info-card a { color: var(--volt-ink); }
.map-box { position: relative; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 16/8; background: linear-gradient(150deg, #1a1e29, #12141b); margin-top: 16px; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 42px 42px; opacity: .5; }
.map-pin { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -100%); text-align: center; }
.map-pin .pin { width: 34px; height: 34px; margin: 0 auto; background: var(--volt); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 0 0 10px var(--volt-dim); animation: pulse 2s infinite; }
.map-pin .pin svg { width: 16px; height: 16px; transform: rotate(45deg); color: var(--dark); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91, 140, 255, .35); } 70% { box-shadow: 0 0 0 16px rgba(91, 140, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 140, 255, 0); } }
.map-pin span { display: inline-block; margin-top: 20px; background: var(--dark); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 15px; text-align: left; }
.faq-q .chev { transition: transform .2s; color: var(--faint); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--volt-ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a > div { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 260px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 90px 20px 100px; }
.error-code { font-family: var(--font-display); font-size: clamp(110px, 22vw, 210px); font-weight: 700; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--line-2); position: relative; display: inline-block; }
.error-code b { color: var(--volt-ink); -webkit-text-stroke: 2px var(--volt-ink); }
.error-page h1 { font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; margin: 18px 0 12px; }
.error-page p { color: var(--muted); max-width: 460px; margin: 0 auto 30px; }
.error-search { display: flex; gap: 10px; max-width: 460px; margin: 0 auto 44px; }
.error-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.error-links a { padding: 10px 20px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; transition: all .15s; }
.error-links a:hover { color: var(--volt-ink); border-color: var(--volt-ink); }

/* ---------- toast ---------- */
.toast-root { position: fixed; bottom: 24px; right: 24px; z-index: 400; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; background: var(--bg-2); border: 1px solid var(--line-2); border-left: 3px solid var(--volt); border-radius: 12px; padding: 14px 20px; min-width: 280px; max-width: 360px; box-shadow: var(--shadow); animation: toastIn .25s ease; font-size: 14px; }
.toast.t-error { border-left-color: var(--red); }
.toast.t-success { border-left-color: var(--green); }
.toast .t-icon { color: var(--volt-ink); flex: none; display: grid; place-items: center; }
.toast.t-error .t-icon { color: var(--red); }
.toast.t-success .t-icon { color: var(--green); }
.toast .t-icon svg { width: 18px; height: 18px; }
.toast.hide { animation: toastOut .25s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- misc ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.flex { display: flex; } .between { justify-content: space-between; } .center { align-items: center; } .wrap { flex-wrap: wrap; } .gap-1 { gap: 8px; } .gap-2 { gap: 16px; }
.noscript-msg { padding: 20px; background: var(--orange); color: var(--dark); text-align: center; font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mega-grid, .mega-grid.has-feature { grid-template-columns: repeat(var(--mega-cols, 6), minmax(0, 1fr)); }
  .mega-feature { display: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .burger { display: grid; }
  .header-search { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .filter-block { flex: 1 1 220px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .reviews-layout { grid-template-columns: 1fr; }
  .rating-summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .account-user { width: 100%; border: 0; }
  .account-nav a { margin: 0; }
  .account-nav hr { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .blog-side { position: static; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .fp-media { min-height: 240px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-newsletter { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 26px 8px; }
  .tl-step:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .account-wrap { display: none; } /* account lives in the drawer on phones */
  .logo { font-size: 23px; }
  .logo .bolt { width: 26px; height: 26px; }
  .header-inner { gap: 14px; }
  .header-actions { gap: 2px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-2, .grid-3, .blog-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 0 72px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .promo-banner .pb-inner { padding: 40px 26px; }
  .field-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 76px 1fr; }
  .cart-item .ci-img { width: 76px; height: 88px; }
  .ci-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .p-quick { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .pd-actions { flex-wrap: wrap; }
  .steps { overflow-x: auto; padding-bottom: 6px; }
  .step .s-label { display: none; }
  .step.active .s-label { display: block; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
}

/* ---------- card quick actions: wishlist + compare ---------- */
.p-flags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.p-flags .badge, .p-media .p-off { position: static; }
.p-actions { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; }
.p-card:hover .p-actions, .p-actions:focus-within { opacity: 1; transform: none; }
.p-act { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--muted); display: grid; place-items: center; transition: all .16s; box-shadow: var(--shadow-sm); }
.p-act svg { width: 17px; height: 17px; }
.p-act:hover { color: var(--volt-ink); border-color: var(--volt); transform: scale(1.08); }
.p-act.active, .p-act.is-active { color: var(--dark); background: var(--volt); border-color: var(--volt); }
.p-act.active svg, .p-act.is-active svg { fill: currentColor; }
.p-act:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; border-radius: 50%; }
@media (max-width: 960px) { .p-actions { opacity: 1; transform: none; } }
@media (hover: none) { .p-actions { opacity: 1; transform: none; } }

/* wishlist / compare buttons on product page */
.btn svg { flex: none; width: 17px; height: 17px; }
.btn-ghost.wish-on, .btn-ghost.cmp-on { border-color: var(--volt); color: var(--volt-ink); background: var(--volt-dim); }
.btn-ghost.wish-on:focus-visible, .btn-ghost.cmp-on:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }
.pd-secondary { display: flex; gap: 12px; flex-wrap: wrap; margin: -6px 0 0; }
.pd-secondary .btn { flex: 1; white-space: nowrap; }
.pd-wish { flex: none; width: 46px; height: 46px; border-radius: 999px; }
.pd-wish svg { width: 19px; height: 19px; }
.pd-wish.is-active { color: var(--dark); background: var(--volt); border-color: var(--volt); }
.pd-wish.is-active svg { fill: currentColor; }

/* ---------- floating compare bar ---------- */
.compare-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 320; display: flex; align-items: center; gap: 14px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 10px 9px 18px; box-shadow: var(--shadow); max-width: calc(100vw - 28px); animation: fadeIn .25s ease; }
.compare-bar .cb-thumbs { display: flex; padding-left: 4px; }
.compare-bar .cb-thumbs img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--bg-2); outline: 1px solid var(--line-2); object-fit: cover; margin-left: -12px; background: var(--surface-2); }
.compare-bar .cb-thumbs img:first-child { margin-left: 0; }
.compare-bar .cb-label { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.compare-bar .cb-clear { color: var(--faint); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.compare-bar .cb-clear:hover { color: var(--red); }
.compare-bar .cb-go { pointer-events: auto; }
.compare-bar .cb-hint { color: var(--faint); font-size: 12.5px; white-space: nowrap; }
@media (max-width: 640px) {
  .compare-bar { bottom: 12px; gap: 10px; padding: 8px 8px 8px 14px; }
  .compare-bar .cb-label { display: none; }
}
body.has-compare-bar { padding-bottom: 86px; }

/* ---------- compare page ---------- */
.cmp-scroll { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.cmp-table { width: 100%; min-width: 780px; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table tbody th { width: 172px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-weight: 700; padding-top: 22px; white-space: nowrap; }
.cmp-item { display: flex; flex-direction: column; gap: 8px; min-width: 190px; }
.cmp-item .cmp-img { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.cmp-item .cmp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cmp-item:hover .cmp-img img { transform: scale(1.05); }
.cmp-item .cmp-cat { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.cmp-item .cmp-name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.cmp-item .cmp-name a:hover { color: var(--volt-ink); }
.cmp-remove { color: var(--faint); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; background: none; padding: 0; text-align: left; }
.cmp-remove:hover { color: var(--red); }
.cmp-price { font-weight: 800; font-size: 18px; font-family: var(--font-display); letter-spacing: .01em; }
.cmp-price .old { color: var(--faint); text-decoration: line-through; font-size: 13px; margin-left: 8px; font-family: var(--font-body); font-weight: 500; }
.cmp-best-chip { display: inline-flex; margin-left: 8px; vertical-align: 2px; }
.cmp-stars { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.cmp-swatches { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 2px; }
.cmp-swatch { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); }
.cmp-muted { color: var(--faint); font-size: 13px; }
.cmp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cmp-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.cmp-list li::before { content: "✓"; color: var(--volt-ink); font-weight: 800; flex: none; }
.cmp-spec { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.cmp-stock { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.cmp-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.cmp-tools { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.cmp-tools .hint b { color: var(--volt-ink); }

/* ---------- wishlist page ---------- */
.wish-tools { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.wish-tools span { color: var(--muted); font-size: 14px; }
.wish-tools span b { color: var(--text); }
.wishlist-page { padding-top: 0; }
.wish-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wish-row {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) auto 44px;
  align-items: center; gap: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px 14px 14px;
  transition: border-color .2s, transform .2s;
}
.wish-row:hover { border-color: var(--line-2); }
.wish-media { display: block; width: 104px; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-3); border: 1px solid var(--line); }
.wish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.wish-row:hover .wish-media img { transform: scale(1.05); }
.wish-info { min-width: 0; }
.wish-name { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.wish-name a:hover { color: var(--volt-ink); }
.wish-variant { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.wish-stock { display: inline-flex; align-items: center; gap: 7px; margin: 9px 0 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.wish-stock .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.wish-stock.is-out { color: var(--red); }
.wish-stock.is-out .dot { background: var(--red); }
.wish-buy { display: grid; justify-items: end; gap: 10px; }
.wish-price { font-family: var(--font-display); font-size: 24px; letter-spacing: .02em; }
.wish-buy .btn { white-space: nowrap; }
.wish-remove { margin: 0; }
.wish-remove-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--faint); background: transparent;
  transition: border-color .18s, color .18s, background .18s;
}
.wish-remove-btn svg { width: 16px; height: 16px; }
.wish-remove-btn:hover { border-color: var(--red); color: var(--red); background: rgba(248, 113, 113, .1); }
.wish-empty { padding-top: 46px; padding-bottom: 80px; }

/* ---------- theme toggle ---------- */
#themeBtn svg { transition: transform .35s ease; }
#themeBtn:hover svg { transform: rotate(40deg); }
[data-theme="light"] #themeBtn:hover svg { transform: rotate(-40deg); }

/* ---------- light-theme refinements ---------- */
[data-theme="light"] .btn-dark { background: #171a22; color: #ffffff; border-color: #171a22; }
[data-theme="light"] .table tbody tr:hover { background: rgba(21, 26, 40, .03); }
[data-theme="light"] .article-content, [data-theme="light"] .prose { color: #333b4a; }
/* text over dark photo scrims stays light in both themes */
[data-theme="light"] .hero h1, [data-theme="light"] .cat-tile h3,
[data-theme="light"] .promo-banner h3, [data-theme="light"] .auth-quote h3,
[data-theme="light"] .about-hero h1 { color: #ffffff; }
[data-theme="light"] .hero h1 em, [data-theme="light"] .cat-tile span,
[data-theme="light"] .promo-banner h3 em, [data-theme="light"] .auth-quote h3 em,
[data-theme="light"] .about-hero h1 em, [data-theme="light"] .hero .kicker { color: var(--volt); }
[data-theme="light"] .hero-stats span { color: #b7bfce; }
[data-theme="light"] .hero .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, .45); }
[data-theme="light"] .hero .btn-ghost:hover { border-color: var(--volt); color: var(--volt); }
[data-theme="light"] .logo span em { color: var(--volt-ink); }
[data-theme="light"] .error-code { -webkit-text-stroke-color: #c9cfda; }
[data-theme="light"] .error-code b { -webkit-text-stroke-color: var(--volt-ink); }

/* =====================================================================
   Innoa for Tiendy — palettes + store chrome
   The three palettes are chosen in Ajustes generales → Paleta de color
   and applied with body[data-palette]. Base = Índigo (design original).
   Each palette rethemes the accent family over the same dark base.
   ===================================================================== */

/* ---------- Palettes (accent family over the dark base) ---------- */
/* Palette 2 — Cyan (the prototype's secondary colour as the accent) */
body[data-palette="cyan"] {
  --volt: #22D3EE;
  --volt-2: #67E8F9;
  --volt-ink: #22D3EE;
  --volt-dim: rgba(34, 211, 238, .14);
  --volt-glow: rgba(34, 211, 238, .45);
  --accent-2: #5B8CFF;
  --grad: linear-gradient(100deg, #22D3EE 10%, #5B8CFF 90%);
}
/* Palette 3 — Violet (soft indigo companion) */
body[data-palette="violet"] {
  --volt: #A78BFA;
  --volt-2: #C4B5FD;
  --volt-ink: #A78BFA;
  --volt-dim: rgba(167, 139, 250, .14);
  --volt-glow: rgba(167, 139, 250, .45);
  --accent-2: #22D3EE;
  --grad: linear-gradient(100deg, #A78BFA 10%, #22D3EE 90%);
}

/* ---------- Store chrome (server-side elements the static demo injects) ---------- */
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Scrim shared by the mobile nav and the cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(6, 8, 12, .6); backdrop-filter: blur(2px); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.scrim.show { opacity: 1; visibility: visible; }

/* Generic slide-in drawer (mobile nav + cart). Inherits .drawer from nav styles below. */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: var(--bg-2); border-left: 1px solid var(--line); z-index: 210; transform: translateX(105%); transition: transform .28s ease; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 19px; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot .btn { width: 100%; }
.drawer-empty { text-align: center; padding: 40px 12px; color: var(--muted); }
.drawer-empty .empty-ico { width: 72px; height: 72px; margin: 0 auto 16px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--faint); }
.drawer-empty .empty-ico svg { width: 30px; height: 30px; }
.drawer-note { font-size: 12.5px; color: var(--faint); }

/* Cart drawer lines */
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line-media { width: 64px; height: 74px; border-radius: 10px; overflow: hidden; background: var(--surface-3); }
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info { min-width: 0; }
.cart-line-title { display: block; font-weight: 600; font-size: 14.5px; }
.cart-line-title:hover { color: var(--volt-ink); }
.cart-line-meta { font-size: 12.5px; color: var(--muted); }
.cart-line-total { font-weight: 800; font-size: 15px; white-space: nowrap; }
.drawer-foot .sum-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.drawer-foot .sum-row b { color: var(--text); }

/* Mobile nav drawer links (two-level accordion) */
.drawer-nav { padding: 8px 20px 28px; overflow-y: auto; }
.drawer-search { display: flex; gap: 8px; margin-bottom: 14px; }
.drawer-search input { flex: 1; min-width: 0; }
.drawer-search button { width: 46px; flex: none; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface-2); color: var(--text); display: grid; place-items: center; }
.d-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 4px; font-weight: 600; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--line); text-align: left; }
.d-acc .d-toggle svg { transition: transform .2s; }
.d-acc.is-open .d-toggle svg { transform: rotate(180deg); }
.d-panel { display: none; padding: 6px 0 12px 6px; border-bottom: 1px solid var(--line); }
.d-acc.is-open .d-panel { display: block; }
.d-group-title { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 8px 0 4px; }
.d-sub { display: block; padding: 6px 0; font-size: 14.5px; color: var(--muted); }
.d-sub:hover { color: var(--volt-ink); }

/* Header cart badge */
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; background: var(--volt); color: var(--dark); border-radius: 999px; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.cart-count.is-empty { display: none; }

/* Back to top */
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 120; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s, background .2s, color .2s; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--volt); color: var(--dark); border-color: var(--volt); }
.back-top svg { width: 19px; height: 19px; }

/* Toast (add-to-cart / form feedback) */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: 92vw; }
.toast-wrap .toast { min-width: 0; animation: toastIn .28s cubic-bezier(.34, 1.4, .64, 1); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; } }

/* Buttons used by the chrome that the base set may not define */
.btn-outline { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--volt-ink); color: var(--volt-ink); }

/* Modal (used by quick views / confirmations) */
.modal-root { position: fixed; inset: 0; z-index: 250; display: none; }
.modal-root.open { display: block; }
.modal-root .overlay { position: absolute; inset: 0; background: rgba(5, 7, 10, .7); backdrop-filter: blur(4px); }
.modal-root .modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

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

/* ---------- Contact / account form compatibility ----------
   Tiendy's {% form %} markup uses a few structural classes the static design
   doesn't define. These restyle them with the design's tokens so the platform
   forms keep working and stay on-brand. */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .span-2 { grid-column: span 2; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--muted); }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; margin-bottom: 6px; }
.check-line input { accent-color: var(--volt-ink); width: 17px; height: 17px; margin-top: 2px; flex: none; }
.check-line a { color: var(--volt-ink); }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin-bottom: 18px; line-height: 1.5; border: 1px solid rgba(248, 113, 113, .35); background: rgba(248, 113, 113, .1); color: var(--red); }
.form-success { text-align: center; padding: 20px 8px; }
.form-success .succ-ico { width: 64px; height: 64px; margin: 0 auto 16px; background: var(--volt-dim); color: var(--volt-ink); border-radius: 50%; display: grid; place-items: center; }
.form-success .succ-ico svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.form-success p { color: var(--muted); max-width: 42ch; margin: 0 auto; }
.contact-hint { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--faint); margin: 6px 0 0; }
.contact-hint svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--volt-ink); }
.contact-hint:empty { display: none; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: span 1; } }

/* ---------- Shared section chrome compatibility ----------
   Sections kept from the base plumbing (FAQ, product accordions, section
   headers) use a couple of structural hooks the static design doesn't define.
   They are restyled here with the design's accordion vocabulary (.faq-*) and
   color tokens, so one visual language covers every surface. */
.overline { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.overline .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); margin-right: 8px; transform: translateY(-1px); }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.acc { display: flex; flex-direction: column; gap: 12px; }
.acc--narrow { max-width: 820px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; transition: border-color .2s; }
.acc-item:hover { border-color: var(--line-2); }
.acc-item.is-open { border-color: var(--volt-dim); }
.acc-item h3 { font: inherit; letter-spacing: normal; line-height: inherit; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: 0; text-align: left; font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.45; color: var(--text); cursor: pointer; }
.acc-btn svg { width: 16px; height: 16px; flex: none; color: var(--faint); transition: transform .2s, color .2s; }
.acc-item.is-open .acc-btn svg { transform: rotate(180deg); color: var(--volt-ink); }
.acc-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .28s ease, visibility .28s; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; visibility: visible; }
.acc-panel-inner { overflow: hidden; }
.acc-content { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.acc-content p + p { margin-top: 10px; }
.acc-content ul { list-style: disc; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.acc-content strong { color: var(--text); }
.acc-content a { color: var(--volt-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.acc-content table { width: 100%; border-collapse: collapse; }
.acc-content td, .acc-content th { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.acc-content td:last-child { color: var(--text); font-weight: 600; }
@media (max-width: 560px) { .acc-btn { padding: 15px 16px; font-size: 14.5px; } .acc-content { padding: 0 16px 18px; } }

/* ---------- Ported-surface compatibility ----------
   Small gaps between the design sheet and the surfaces Tiendy renders itself. */
.announce { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 46px; background: var(--volt); color: var(--dark); font-size: 13px; font-weight: 700; text-align: center; }
.announce a { color: var(--dark); text-decoration: underline; text-underline-offset: 2px; }
.announce-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--dark); }
.announce-close:hover { background: rgba(0, 0, 0, .12); }
.announce-close svg { width: 14px; height: 14px; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 16px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.qty input { width: 46px; border: 0; background: transparent; text-align: center; font: inherit; color: var(--text); }

.logo-img { height: 34px; width: auto; display: block; }
@media (max-width: 560px) { .logo-img { height: 28px; } }

.f-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.f-legal a { color: var(--faint); }
.f-legal a:hover { color: var(--text); }

.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.pd-stock.is-out .dot { background: var(--red); }
.pd-stock.is-back .dot { background: var(--amber); }

.star-select { flex-direction: row-reverse; justify-content: flex-end; }
.star-select label { cursor: pointer; transition: color .12s; }
.star-select input:checked ~ label { color: var(--volt); }
.star-select label:hover, .star-select label:hover ~ label { color: var(--volt-ink); }

/* The filter form is a GET wrapper around the design's .filter-block panels. */
.filters > form { display: contents; }
/* The filters sidebar is always visible on desktop: the toggle is a mobile drawer. */
@media (min-width: 961px) { .toolbar [data-filters-open] { display: none; } }

.share-row a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; }
.share-row a svg { width: 17px; height: 17px; }

.breadcrumb svg { width: 13px; height: 13px; flex: none; color: var(--faint); }
.link-arrow svg { width: 15px; height: 15px; }
.page-head .sub, .page-head .section-sub { color: var(--muted); margin-top: 8px; }

/* ---------- Mobile filter drawer ----------
   Below 961px the design turns the sidebar into a slide-in panel opened from
   the toolbar toggle; app.js drives .is-open and the shared overlay. */
.filters-close { display: none; }

@media (max-width: 960px) {
  .toolbar [data-filters-open] { display: inline-flex; align-items: center; gap: 6px; }
  .toolbar [data-filters-open] svg { width: 16px; height: 16px; }

  .filters {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 210;
    width: min(340px, 92vw);
    margin: 0;
    padding: 22px 20px 32px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s;
  }
  .filters.is-open { transform: none; visibility: visible; }

  .filters-close {
    display: inline-flex;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
  }
  .filters-close:hover { border-color: var(--volt); color: var(--volt-ink); }
  .filters-close svg { width: 16px; height: 16px; }

  .filters > .filter-block:first-of-type { padding-right: 44px; }
  .filter-block { flex: 0 0 auto; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 18px; }
  .filter-block:last-child { border-bottom: 0; padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .filters { transition: none; }
}

/* ---------- wishlist motion and small screens ---------- */
@media (max-width: 960px) {
  .stat-cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .wish-row { grid-template-columns: 88px minmax(0, 1fr) 44px; row-gap: 12px; }
  .wish-media { width: 88px; grid-row: 1 / span 2; }
  .wish-info { grid-column: 2; }
  .wish-remove { grid-column: 3; grid-row: 1; }
  .wish-buy { grid-column: 2 / span 2; grid-row: 2; display: flex; align-items: center; justify-content: space-between; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .wish-row, .wish-media img, .p-act, .pd-wish, .wish-remove-btn { transition: none !important; }
}

/* =====================================================================
   INNOA — brand layer
   Dark, code-inspired aesthetic · indigo → cyan accents
   Ported from the Innoa prototype (prototipo/styles.css).
   ===================================================================== */

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
}
.mono { font-family: var(--font-mono); }
.faint { color: var(--faint); }
.container { width: min(1160px, 100% - 48px); }
ul, ol { padding-left: 0; }
::selection { background: rgba(91, 140, 255, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- decorative background ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-decor .blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; }
.bg-decor .blob-1 {
  width: 560px; height: 560px; top: -180px; left: -140px;
  background: radial-gradient(circle, rgba(91, 140, 255, .30), transparent 65%);
  animation: innoaDrift 26s ease-in-out infinite alternate;
}
.bg-decor .blob-2 {
  width: 520px; height: 520px; bottom: -200px; right: -160px;
  background: radial-gradient(circle, rgba(34, 211, 238, .20), transparent 65%);
  animation: innoaDrift 32s ease-in-out infinite alternate-reverse;
}
.bg-decor .bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 199, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 199, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.15) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.15) 100%);
}
@keyframes innoaDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 50px) scale(1.12); }
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #06070B; }
.btn-primary:hover { background: var(--grad); color: #06070B; box-shadow: 0 10px 40px rgba(91, 140, 255, .28); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(148, 163, 199, .05); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(91, 140, 255, .10); color: var(--text); }
.btn-outline { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--text); background: transparent; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- labels ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--volt);
  margin-bottom: 14px;
}
.kicker::before { content: none; }
.overline { font-family: var(--font-mono); text-transform: none; letter-spacing: .02em; color: var(--volt); }

/* ---------- header ---------- */
.site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: none;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.03em;
  text-transform: none;
  color: var(--text);
}
.logo:hover { text-decoration: none; }
.logo-bracket { color: var(--volt); font-weight: 500; }
.logo-word { color: var(--text); }
.logo-img { height: 30px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; height: 100%; margin-left: auto; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(148, 163, 199, .08); }
.nav-link.active { color: var(--text); background: rgba(91, 140, 255, .14); }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: 0; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; color: var(--muted); }
.icon-btn:hover, .icon-btn.active { color: var(--text); background: rgba(148, 163, 199, .08); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count, .wishlist-count {
  background: var(--grad);
  color: #06070B;
  border: 2px solid var(--bg);
  font-weight: 700;
}
.header-cta { margin-left: 0; }
.header-search-panel {
  border-top: 1px solid var(--line);
  background: rgba(10, 12, 19, .96);
  padding: 14px 0;
}
.header-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 10px 18px;
}
.header-search-form svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.header-search-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font-size: 15px; }
.header-search-form input::placeholder { color: var(--faint); }

/* ---------- mobile drawer (uses the shared chrome classes) ---------- */
.mobile-nav.is-open { pointer-events: auto; }
.mobile-nav.is-open .overlay { opacity: 1; }
.mobile-nav.is-open .panel { transform: none; }
.mobile-nav .panel { background: #0B0D15; border-right: 1px solid var(--line-2); }
.mobile-nav .panel .logo { font-size: 20px; }
.mobile-nav .d-link { background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text); }
.mobile-nav .d-link:hover { background: rgba(148, 163, 199, .06); }
.mobile-nav .d-sub { color: var(--muted); }
.mobile-help { color: var(--faint); font-size: 13px; margin: 18px 4px 0; }

/* ---------- footer ---------- */
.site-footer { background: #06070B; border-top: 1px solid var(--line); margin-top: 0; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 44px; padding: 64px 0 48px; }
.footer-brand .logo { font-size: 22px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 30em; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: .04em;
  text-transform: none;
}
.footer-col a { color: var(--muted); font-size: 14px; padding: 6px 0; }
.footer-col a:hover { color: var(--accent-2); padding-left: 0; }
.footer-bottom { padding: 22px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: var(--text); }
.footer-note { color: var(--faint); font-size: 13px; margin: 0; padding-bottom: 26px; }
.footer-newsletter { padding: 44px 0; }
.footer-newsletter h3 { font-size: clamp(24px, 3vw, 32px); text-transform: none; }
.footer-social a { border-color: var(--line-2); color: var(--muted); }
.footer-social a:hover { background: var(--grad); color: #06070B; border-color: transparent; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 52px; flex-wrap: wrap; }
.sec-head { display: block; margin-bottom: 52px; max-width: 680px; }
.sec-label { font-family: var(--font-mono); font-size: 14px; color: var(--volt); margin-bottom: 14px; letter-spacing: .02em; }
.sec-head h2, .section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 18px; text-transform: none; }
.sec-lead, .section-sub { color: var(--muted); font-size: 17px; max-width: 36em; margin: 0; }
.section-title { margin-bottom: 10px; }

/* ---------- hero ---------- */
.tiendy-section-hero .hero { position: relative; padding: 72px 0 88px; border-bottom: 0; overflow: visible; }
.tiendy-section-hero .hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  max-width: none;
  padding: 0;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 18, 27, .7);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  margin: 0 0 26px;
  max-width: none;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok, var(--green)); box-shadow: 0 0 0 4px rgba(74, 222, 128, .15); animation: innoaPulse 2.4s ease-in-out infinite; }
@keyframes innoaPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, .06); }
}
.tiendy-section-hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  text-transform: none;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 22px;
}
.tiendy-section-hero h1 .grad { display: block; }
.tiendy-section-hero .lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 34em; margin: 0 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.tiendy-section-hero .hero-stats {
  display: flex;
  gap: 0;
  border-top: 0;
  padding: 0;
  margin: 0;
  position: static;
}
.stat { display: flex; flex-direction: column; gap: 2px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stat .num {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-stats .stat-label { color: var(--faint); font-size: 13px; letter-spacing: .02em; text-transform: none; }

/* terminal */
.hero-visual { position: relative; min-width: 0; }
.terminal {
  position: relative;
  background: rgba(13, 15, 23, .92);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 60px rgba(91, 140, 255, .10);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
}
.terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 30% 0%, rgba(91, 140, 255, .08), transparent 55%);
  pointer-events: none;
}
.term-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(148, 163, 199, .04);
}
.tdot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.tdot.r { background: #FF5F57; }
.tdot.y { background: #FEBC2E; }
.tdot.g { background: #28C840; }
.term-title { margin-left: 10px; color: var(--faint); font-size: 12px; }
.term-body { position: relative; z-index: 1; padding: 20px 22px 24px; min-height: 292px; }
.term-line { white-space: pre-wrap; word-break: break-word; }
.term-line.cmd { color: var(--text); }
.term-line.out { color: var(--muted); }
.term-line.ok { color: var(--green); }
.term-line.gap { height: 12px; }
.t-prompt { color: var(--accent-2); margin-right: 2px; }
.t-cursor {
  display: inline-block;
  width: 9px;
  height: 17px;
  margin-left: 5px;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: innoaBlink 1s steps(1) infinite;
}
@keyframes innoaBlink { 50% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(10, 12, 19, .6);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee-track .mq-item {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--faint);
  white-space: nowrap;
}
.marquee-track .mq-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(91, 140, 255, .55); flex: none; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(91, 140, 255, .45); box-shadow: var(--shadow), 0 0 40px rgba(91, 140, 255, .12); }
.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91, 140, 255, .18), rgba(34, 211, 238, .12));
  border: 1px solid rgba(91, 140, 255, .30);
  color: var(--accent);
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 19px; margin: 0 0 10px; text-transform: none; }
.service-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags .chip {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(148, 163, 199, .06);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
/* Scoped to .process-grid: the checkout stepper also uses .step (display: flex). */
.process-grid .step { display: block; position: relative; padding-top: 26px; border-top: 1px solid var(--line-2); }
.process-grid .step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: .9;
}
.process-grid .step h3 { font-size: 18px; margin: 16px 0 10px; text-transform: none; }
.process-grid .step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.work-card:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, .4); box-shadow: var(--shadow), 0 0 40px rgba(34, 211, 238, .10); }
.work-visual {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.work-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 199, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 199, .07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.v-erp  { background: linear-gradient(135deg, rgba(91, 140, 255, .30), rgba(91, 140, 255, .05)); }
.v-shop { background: linear-gradient(135deg, rgba(167, 139, 250, .28), rgba(91, 140, 255, .05)); }
.v-app  { background: linear-gradient(135deg, rgba(34, 211, 238, .26), rgba(34, 211, 238, .04)); }
.v-site { background: linear-gradient(135deg, rgba(52, 211, 153, .24), rgba(34, 211, 238, .04)); }
.glyph {
  position: relative;
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 600;
  color: rgba(238, 241, 250, .85);
  text-shadow: 0 0 30px rgba(91, 140, 255, .55);
}
.work-body { padding: 24px 26px 26px; }
.work-body h3 { font-size: 18.5px; margin: 0 0 10px; text-transform: none; }
.work-body h3 a:hover { color: var(--accent-2); }
.work-body p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.work-more { display: inline-block; margin-top: 14px; color: var(--accent); font-size: 13px; }
.work-more:hover { color: var(--accent-2); }
.work-note { margin-top: 26px; color: var(--faint); font-size: 13px; }

/* Grid items default to min-width:auto: a wide code line would otherwise push
   the whole grid past the viewport and create a horizontal scrollbar. */
.about-grid > *, .contact-grid > * { min-width: 0; }
.about-copy, .skills, .contact-info, .contact-form-wrap { min-width: 0; }
.code-card { max-width: 100%; }
.code-card pre { max-width: 100%; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.about-copy .sec-head { margin-bottom: 34px; }
.about-copy p:not(.sec-lead) { color: var(--muted); margin-bottom: 18px; max-width: 36em; }
.about-copy strong { color: var(--text); }
.code-card {
  margin-top: 30px;
  background: #0B0D15;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.code-bar {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  background: rgba(148, 163, 199, .04);
}
.code-card pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.8; color: #D6DEEB; }
.code-card .k { color: #C792EA; }
.code-card .cl { color: #82AAFF; }
.code-card .f { color: #22D3EE; }
.code-card .p { color: #F78C6C; }
.code-card .c { color: #5C6478; font-style: italic; }
.skills {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.skill-group h4 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.skill-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.skill-chips .chip, .skills .chip {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(148, 163, 199, .06);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.about-story-grid--full { grid-template-columns: minmax(0, 1fr); }
.about-story-grid--full .prose { max-width: 760px; margin-inline: auto; }

/* ---------- values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.value-card:hover { transform: translateY(-4px); border-color: rgba(91, 140, 255, .4); }
.value-card .value-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(91, 140, 255, .10));
  border: 1px solid rgba(34, 211, 238, .28);
  color: var(--accent-2);
  margin-bottom: 18px;
}
.value-card .value-icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 16.5px; margin: 0 0 8px; text-transform: none; }
.value-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info { min-width: 0; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.info-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(91, 140, 255, .12);
  border: 1px solid rgba(91, 140, 255, .28);
  color: var(--accent);
}
.info-icon svg { width: 20px; height: 20px; }
.info-card h4 { font-size: 14px; margin: 0 0 3px; color: var(--text); text-transform: none; }
.info-card p, .info-card a { color: var(--muted); font-size: 14.5px; margin: 0; }
.info-card a:hover { color: var(--accent-2); }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; box-shadow: 0 0 0 3px rgba(74, 222, 128, .16); }
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form-title { font-size: 20px; margin: 0 0 20px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form .field label, .contact-form .label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; letter-spacing: .02em; }
.contact-form .req { color: var(--accent-2); }
.contact-form .input, .contact-form .select, .contact-form .textarea,
.field .input, .field .select, .field .textarea, .input, .select, .textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form .input:focus, .contact-form .select:focus, .contact-form .textarea:focus,
.field .input:focus, .field .select:focus, .field .textarea:focus,
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91, 140, 255, .18); }
.contact-form .textarea, .textarea { resize: vertical; min-height: 120px; }
.contact-form .select, .select { padding-right: 40px; }
.contact-form .input::placeholder, .contact-form .textarea::placeholder, .input::placeholder, .textarea::placeholder { color: var(--faint); }
.contact-form .form-grid { gap: 0 16px; }
.contact-form .check-line { margin-top: 4px; margin-bottom: 14px; color: var(--faint); font-size: 12.5px; }
.contact-form .check-line a { color: var(--muted); text-decoration: underline; }
.contact-form .form-actions { margin-top: 6px; }
.contact-hint { color: var(--faint); font-size: 12.5px; display: none; }
.contact-hint.is-visible { display: flex; }
.contact-hint svg { color: var(--accent); }
.form-success { margin-top: 10px; padding: 22px; border: 1px solid rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .07); border-radius: var(--radius-sm); text-align: center; }
.form-success h3 { color: #4ADE80; text-transform: none; font-size: 16px; margin-bottom: 6px; }
.form-success p { color: var(--muted); font-size: 14px; margin: 0; }
.form-success .succ-ico { background: rgba(74, 222, 128, .12); color: #4ADE80; }

/* ---------- inner pages: prototype typography ---------- */
.section-title, .pd-info h1, .about-hero h1, .value-card h3, .cat-tile h3,
.promo-banner h3, .tab-panel h3, .summary-card h3, .co-card h3, .auth-box h1,
.auth-quote h3, .account-head h1, .order-status-band h1, .modal-head h3,
.side-card h4, .wish-name, .error-page h1, .checkout-success h1,
.footer-newsletter h3, .mega-col .mega-head, .mega-feature h4 {
  text-transform: none;
  letter-spacing: -.02em;
}
.pd-info h1 { font-size: clamp(28px, 3.6vw, 40px); }
.value-card h3 { font-size: 16.5px; }
.p-cat { font-family: var(--font-mono); font-weight: 400; letter-spacing: .06em; }
.p-name { font-family: var(--font-body); font-weight: 600; }
.p-card { border-radius: var(--radius); }
.p-price .now { font-weight: 700; }
.breadcrumb { font-family: var(--font-mono); font-size: 13px; }
.page-head { padding: 40px 0 8px; }
.page-head .section-title { margin-bottom: 8px; }
.article-body h1 { font-family: var(--font-display); font-weight: 700; }
.article-content { color: var(--muted); }
.article-content strong { color: var(--text); }
.prose { max-width: 70ch; }
.prose p { margin-bottom: 18px; }
.check-line input, .checkbox input { accent-color: var(--accent); }
.form-alert { border-radius: var(--radius-sm); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header-search-panel .container { width: min(1160px, 100% - 40px); }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .burger { display: grid; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .tiendy-section-hero .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 900px) {
  .tiendy-section-hero .hero { padding: 48px 0 64px; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 0 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 76px 0; }
  .container { width: min(1160px, 100% - 40px); }
  .services-grid, .process-grid, .values-grid, .work-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .stat { padding-right: 18px; margin-right: 18px; }
  .stat .num { font-size: 28px; }
  .skills, .contact-form-wrap { padding: 24px; }
  .contact-form .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-form .form-grid .span-2 { grid-column: auto; }
  .header-inner { gap: 12px; }
  .logo { font-size: 20px; }
  .icon-btn { width: 38px; height: 38px; }
  .header-actions { gap: 0; }
  .header-wishlist { display: none; }
  .term-body { min-height: 0; }
}
@media (max-width: 420px) {
  .header-wishlist, .search-toggle { display: none; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}
html.js-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
}
html.js-ready .reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; }
.reveal-delay-4 { transition-delay: .40s; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-decor .blob, .hero-badge .dot, .t-cursor, .marquee-track { animation: none !important; }
  html.js-ready .reveal { opacity: 1; transform: none; transition: none; }
  .service-card, .work-card, .value-card, .btn { transition: none; }
}
