/* Onyx Distribution — shared styles.
   Matches onyxwindowfilms.com: cream bg, white surfaces, Onyx orange #F0631C,
   Plus Jakarta Sans / Inter, soft shadows, dark charcoal footer. */
:root {
  --bg: #F7F5F2;
  --surface: #FFFFFF;
  --surface-2: #F3F0EB;
  --surface-3: #ECE7DF;
  --border: rgba(28, 24, 20, 0.07);
  --border-hot: rgba(240, 99, 28, 0.18);
  --text: #1C1A18;
  --text-dim: #6E6A63;
  --text-mute: #A29C92;
  --accent: #F0631C;
  --accent-hover: #D6531A;
  --accent-deep: #D6531A;
  --accent-soft: #FFEFE3;
  --ok: #1e9e5a;
  --font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Inter', 'Plus Jakarta Sans', sans-serif;
  --maxw: 1100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  -webkit-font-smoothing: antialiased; line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
main { flex: 1 0 auto; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 18px; } }

/* ===== HEADER ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 242, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar .inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brandlogo img { height: 26px; width: auto; }
.brandlogo .sub {
  display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--accent); margin-top: 3px; padding-left: 2px;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links > a {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--text-dim); letter-spacing: 0.02em;
}
.nav-links > a:hover, .nav-links > a.active { color: var(--text); }
@media (max-width: 600px) {
  .topbar .inner { height: 56px; gap: 8px; }
  .brandlogo img { height: 18px; }
  .brandlogo .sub { font-size: 7.5px; letter-spacing: 0.24em; }
  .nav-links { gap: 10px; }
  .nav-links > a[data-page] { font-size: 13px; }
  .cartbtn { width: 36px; height: 36px; border-radius: 10px; }
  .btn-small { padding: 8px 13px; font-size: 11.5px; }
  /* Sign In stays; Create Account lives on the sign-in page too.
     Signed in: just the name (account page has Sign Out). */
  #nav-auth .btn-primary { display: none; }
  #nav-auth .btn-ghost { margin-left: 0 !important; }
  #nav-signout { display: none; }
}
/* very small phones: icon-only call button, wordmark only */
@media (max-width: 440px) {
  .brandlogo .sub { display: none; }
  .topbar .phone .calltxt { display: none; }
  .topbar .phone { padding: 6px; }
  .nav-links { gap: 8px; }
}

/* header phone — same treatment as the live site */
.topbar .phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--text); white-space: nowrap;
}
.topbar .phone .pic {
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; color: #fff; flex: none;
}
.topbar .phone .pic svg { width: 15px; height: 15px; }
.topbar .phone:hover { color: var(--accent-deep); }
.topbar .phone .calltxt { display: none; }
@media (max-width: 900px) {
  .topbar .phone { background: var(--accent); color: #fff; padding: 7px 13px 7px 7px; border-radius: 999px; font-size: 13.5px; box-shadow: 0 4px 12px rgba(240, 99, 28, 0.28); }
  .topbar .phone:hover { color: #fff; }
  .topbar .phone .num { display: none; }
  .topbar .phone .calltxt { display: inline; letter-spacing: 0.06em; }
  .topbar .phone .pic { width: 26px; height: 26px; background: rgba(255, 255, 255, 0.18); }
  .topbar .phone .pic svg { width: 13px; height: 13px; }
}

/* call-to-order card — ported from the live site */
.callcard {
  display: inline-flex; align-items: center; gap: 18px;
  border: 2px solid var(--accent); border-radius: 18px; padding: 20px 28px;
  background: linear-gradient(180deg, var(--accent-soft), #fff);
  box-shadow: 0 10px 28px rgba(240, 99, 28, 0.16);
  transition: box-shadow 0.15s, transform 0.08s;
}
.callcard:hover { box-shadow: 0 16px 38px rgba(240, 99, 28, 0.28); transform: translateY(-2px); }
.callcard:active { transform: translateY(0); }
.callcard .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; flex: none; }
.callcard .ico svg { width: 25px; height: 25px; }
.callcard .txt { text-align: left; }
.callcard .label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 3px; }
.callcard .num { display: block; font-family: var(--font-display); font-size: clamp(24px, 4vw, 32px); font-weight: 800; color: var(--accent-deep); letter-spacing: 0.01em; line-height: 1; white-space: nowrap; }
.hint { margin: 14px 0 0; font-size: 13.5px; color: var(--text-mute); }
@media (max-width: 440px) {
  .callcard { gap: 14px; padding: 18px 20px; width: 100%; }
  .callcard .num { white-space: normal; font-size: 22px; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 14px 24px; border-radius: 12px; border: 0; cursor: pointer;
  transition: background 0.15s, transform 0.06s, box-shadow 0.15s, border-color 0.15s, color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(240, 99, 28, 0.22); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 10px 18px; font-size: 12.5px; border-radius: 10px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ===== TYPE ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
h1.display {
  font-family: var(--font-display); margin: 0 0 18px; font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.04; font-size: clamp(34px, 5.8vw, 58px);
}
h1.display .hl { color: var(--accent); }
h2.title { font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-dim); margin: 0 0 32px; max-width: 560px; line-height: 1.6; }

/* soft orange radial glow behind heroes, like the live site */
.glow { position: relative; }
.glow::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 84% 4%, rgba(240, 99, 28, 0.10), transparent 58%),
    radial-gradient(760px 520px at 4% 100%, rgba(240, 99, 28, 0.06), transparent 60%);
}
.glow > * { position: relative; z-index: 1; }

/* ===== PANELS / CARDS ===== */
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 20px 50px rgba(28, 24, 20, 0.07);
}
.portal-card {
  display: flex; flex-direction: column; gap: 14px; padding: 34px 30px;
  transition: box-shadow 0.18s, transform 0.12s, border-color 0.18s;
}
a.portal-card:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(28, 24, 20, 0.12); border-color: var(--border-hot); }
.portal-card .ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft);
  color: var(--accent-deep); display: grid; place-items: center;
}
.portal-card .ico svg { width: 26px; height: 26px; }
.portal-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin: 0; letter-spacing: -0.01em; color: var(--text); }
.portal-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-dim); flex: 1; }
.portal-card .go { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* ===== FORMS ===== */
.field { margin-bottom: 15px; }
.field label {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px;
}
.field input {
  width: 100%; padding: 13px 15px; font-size: 15px; color: var(--text);
  background: var(--surface); border: 1px solid rgba(28, 24, 20, 0.14); border-radius: 12px;
  font-family: var(--font); outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240, 99, 28, 0.13); }
.form-error { color: #C53929; font-size: 14px; margin: 12px 0 0; min-height: 20px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle {
  position: absolute; top: 50%; right: 7px; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; color: var(--text-mute);
  padding: 7px; border-radius: 9px; display: grid; place-items: center;
}
.pw-toggle:hover { color: var(--text); background: var(--surface-2); }
.pw-toggle svg { width: 20px; height: 20px; }
.auth-card { max-width: 470px; margin: 0 auto; padding: 38px 36px; }
@media (max-width: 480px) { .auth-card { padding: 28px 22px; } }
.auth-side {
  font-size: 14px; color: var(--text-dim); text-align: center; margin-top: 18px;
}
.auth-side a { font-weight: 700; }
.notice {
  background: var(--accent-soft); color: var(--accent-deep); border: 1px solid var(--border-hot);
  border-radius: 12px; padding: 12px 15px; font-size: 13.5px; font-weight: 600; line-height: 1.5;
}

/* ===== SHOP ===== */
.chip {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid rgba(28, 24, 20, 0.12); border-radius: 999px; background: var(--surface);
  padding: 8px 16px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--text-dim);
  transition: all 0.15s;
}
.chip.on { border-color: var(--accent); color: #fff; background: var(--accent); box-shadow: 0 6px 16px rgba(240, 99, 28, 0.25); }
.chip:not(.on):hover { color: var(--text); border-color: rgba(28, 24, 20, 0.3); }

.spec { text-align: center; padding: 11px 6px; background: var(--surface-2); border-radius: 12px; }
.spec b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--accent-deep); }
.spec span { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.tag.ca { background: rgba(30, 158, 90, 0.1); color: var(--ok); }
.tag.tx { background: var(--accent-soft); color: var(--accent-deep); }

.variant-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 12px; background: var(--surface-2); font-size: 14px;
}
.variant-row + .variant-row { margin-top: 7px; }
.variant-row .price { font-family: var(--font-display); font-weight: 800; color: var(--text); }

/* ===== CART / BUY ===== */
.cartbtn {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  transition: border-color 0.15s, color 0.15s;
}
.cartbtn:hover { border-color: var(--accent); color: var(--accent); }
.cartbtn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: -7px; right: -7px; display: none; place-items: center;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 11px; font-weight: 800;
}

/* product card: glossy dark band header (reads like tinted film), body below */
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.prod-hero {
  position: relative; padding: 30px 28px 26px;
  background: linear-gradient(115deg, #101012 0%, #26262c 52%, #101012 100%);
  border-bottom: 3px solid var(--accent);
}
.prod-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.07) 43%, transparent 50%),
    linear-gradient(115deg, transparent 58%, rgba(255, 255, 255, 0.04) 66%, transparent 74%);
}
.prod-hero .ph-line {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.prod-hero h3 {
  font-family: var(--font-display); color: #fff; font-size: 26px; font-weight: 800;
  letter-spacing: -0.01em; margin: 0; line-height: 1.1;
}
.prod-hero .ph-sub { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin-top: 7px; font-weight: 600; letter-spacing: 0.02em; }
.prod-body { padding: 22px 28px 26px; display: flex; flex-direction: column; flex: 1; }

.sel-label { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin: 18px 0 9px; }

.buyrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.price-big { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.price-big .per { font-size: 13px; font-weight: 600; color: var(--text-mute); letter-spacing: 0; }

.qty { display: inline-flex; align-items: center; border: 1px solid rgba(28, 24, 20, 0.14); border-radius: 12px; background: var(--surface); overflow: hidden; }
.qty button {
  width: 36px; height: 40px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--text-dim);
}
.qty button:hover { color: var(--accent); background: var(--surface-2); }
.qty .n { min-width: 34px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 100;
  background: #1C1A18; color: #EDEAE4; border-radius: 14px; padding: 14px 22px;
  font-size: 14.5px; box-shadow: 0 18px 44px rgba(28, 24, 20, 0.35);
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
  max-width: calc(100vw - 36px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--accent); font-weight: 800; }

/* checkout fulfillment option cards */
.opt {
  display: flex; gap: 13px; align-items: flex-start; cursor: pointer;
  border: 1px solid rgba(28, 24, 20, 0.14); border-radius: 14px; padding: 16px;
  transition: border-color 0.15s, background 0.15s;
}
.opt:hover { border-color: rgba(28, 24, 20, 0.3); }
.opt.on { border-color: var(--accent); background: var(--accent-soft); }
.opt input { margin-top: 3px; accent-color: var(--accent); }
.opt b { font-family: var(--font-display); font-size: 15px; display: block; }
.opt .sub { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.opt .fee { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 14px; white-space: nowrap; }
.opt .fee.free { color: var(--ok); }

.sumrow { display: flex; justify-content: space-between; font-size: 14.5px; padding: 7px 0; }
.sumrow b { font-family: var(--font-display); }
.sumrow.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 800; font-family: var(--font-display); }

/* promo banner strip (giveaways style: orange, uppercase, dark accents) */
.promo-strip {
  background: var(--accent); color: #fff; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 13.5px;
  letter-spacing: 0.5px; padding: 10px 16px; text-transform: uppercase;
}
.promo-strip b { color: #1C1A18; }
@media (max-width: 600px) { .promo-strip { font-size: 10.5px; padding: 8px 10px; letter-spacing: 0.3px; } }

/* ===== SHOP: one section per line, each with its own slider =====
   Section = header (title + blurb + spec tiles) over a sliding row of
   cards (one per shade/option). Arrows + touch swipe + gentle autoplay.
   No dot indicators — arrows and line tabs only. */
.shop-tabs { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 22px; justify-content: center; }
.shop-tabs .chip { padding: 10px 20px; }

.shop-block { padding: 40px 0 22px; scroll-margin-top: 84px; }
.shop-block.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.block-head { max-width: 720px; margin: 0 auto 6px; text-align: center; padding: 0 18px; }
.block-head h2 {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px);
  font-weight: 800; letter-spacing: -0.015em; margin: 0 0 8px;
}
.block-head h2 .hl { color: var(--accent); }
.block-head p { color: var(--text-dim); font-size: 14.5px; margin: 0; line-height: 1.6; }

.specrow {
  display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 16px;
}
.specrow .spec { flex: 0 1 130px; min-width: 90px; }
.spec-note { font-size: 12px; color: var(--text-mute); margin: 10px 0 0; }

/* per-shade real specs strip on shade cards */
.shade-specs {
  display: flex; justify-content: space-between; gap: 6px;
  background: var(--surface-2); border-radius: 10px; padding: 9px 12px; margin-bottom: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dim);
}
.shade-specs b { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--accent-deep); margin-right: 3px; }

/* product rows: swipeable scroll-snap carousels at EVERY width (format
   copied from the giveaways products page: glowing next arrow, position
   dots, edge fade, one-time auto-nudge, neon "swipe" pill on mobile).
   Desktop shows 3 cards per view and scrolls for the rest; phones show
   one card at 80% width with the next peeking in. */
.prow {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 14px 2px 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.prow::-webkit-scrollbar { display: none; }
.prow > * { flex: 0 0 calc((100% - 36px) / 3); max-width: calc((100% - 36px) / 3); scroll-snap-align: start; }
@media (max-width: 820px) {
  .prow > * { flex: 0 0 80%; max-width: 80%; scroll-snap-align: center; }
}

/* ===== PRODUCT SHOWCASE — showroom turntable (Julio's pick, Aug 17) =====
   Approved mockups as a 3D glass pane on a dark stage: the pane swivels
   slowly like a product on a turntable while a sheen sweeps the glass.
   Images crossfade on a timer; spec tiles jump to their stat's image.
   The glare + TSER mockups carry live overlay effects (beaming sun /
   flowing energy) that switch on only while that image is showing. */
.showstage { max-width: 860px; margin: 26px auto 8px; }
.showstage .persp { perspective: 1100px; max-width: 680px; margin: 0 auto; }
/* the pane is a true 3D glass slab: image front + acrylic side faces.
   NO filter/opacity on .showcase itself — either would flatten the 3D box;
   the shadow lives on the .floorline below instead. */
.showcase {
  --pd: 26px; /* slab thickness */
  position: relative; aspect-ratio: 16 / 9; transform-style: preserve-3d; will-change: transform;
  animation: turnSway 9s ease-in-out infinite;
}
.showcase img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 8px; opacity: 0; transition: opacity 0.9s ease;
}
.showcase img.on { opacity: 1; }
.showcase .rim {
  position: absolute; inset: 0; border-radius: 8px; pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3), inset 0 0 26px rgba(255, 255, 255, 0.08);
}
.showcase .sheen {
  position: absolute; inset: 0; border-radius: 8px; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.2) 46%, transparent 58%);
  background-size: 250% 100%; background-position: 130% 0;
  animation: sheenSweep 9s ease-in-out infinite;
}
/* acrylic slab sides — fold backward from each edge so thickness shows as
   the pane swivels, like the 3D renders */
.showcase .edge {
  position: absolute; pointer-events: none;
  background: linear-gradient(180deg, rgba(228, 240, 249, 0.75), rgba(168, 198, 219, 0.5));
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.5);
}
.showcase .e-l { top: 0; bottom: 0; left: 0; width: var(--pd); transform-origin: left center; transform: rotateY(90deg); }
.showcase .e-r { top: 0; bottom: 0; right: 0; width: var(--pd); transform-origin: right center; transform: rotateY(-90deg); }
.showcase .e-t { left: 0; right: 0; top: 0; height: var(--pd); transform-origin: center top; transform: rotateX(-90deg); background: linear-gradient(90deg, rgba(228, 240, 249, 0.8), rgba(190, 214, 231, 0.55)); }
.showcase .e-b { left: 0; right: 0; bottom: 0; height: var(--pd); transform-origin: center bottom; transform: rotateX(90deg); background: linear-gradient(90deg, rgba(200, 222, 238, 0.6), rgba(150, 180, 202, 0.4)); }
.showcase .backface {
  position: absolute; inset: 0; border-radius: 8px; pointer-events: none;
  transform: translateZ(calc(var(--pd) * -1));
  background: rgba(232, 242, 249, 0.18);
}
@keyframes turnSway {
  0%, 100% { transform: rotateY(-12deg) rotateX(2deg); }
  50% { transform: rotateY(12deg) rotateX(-1.5deg); }
}
@keyframes sheenSweep {
  0%, 100% { background-position: 130% 0; }
  50% { background-position: -30% 0; }
}
/* pre-rendered transparent 3D slab art (every film line): swivels slowly
   like the showroom turntable Julio picked on /demo-panes */
.showstage { perspective: 1100px; }
.slabwrap {
  position: relative; max-width: 680px; margin: 0 auto;
  aspect-ratio: 1929 / 1271; will-change: transform;
  animation: slabTurn 9s ease-in-out infinite;
}
.slabwrap img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity 0.9s ease;
  filter: drop-shadow(0 22px 34px rgba(240, 99, 28, 0.24)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}
.slabwrap img.on { opacity: 1; }
@keyframes slabTurn {
  0%, 100% { transform: rotateY(-10deg) rotateX(1.5deg) translateY(0); }
  50% { transform: rotateY(10deg) rotateX(-1deg) translateY(-6px); }
}

/* grounding shadow — carries the depth now that the stage is transparent */
.showstage .floorline {
  height: 36px; margin: 20px auto 0; max-width: 600px; filter: blur(3px);
  background:
    radial-gradient(50% 100% at 50% 0%, rgba(28, 24, 20, 0.3), transparent 72%),
    radial-gradient(38% 75% at 50% 0%, rgba(240, 99, 28, 0.18), transparent 70%);
}

/* live overlay effects, clipped to the pane */
.fx {
  position: absolute; inset: 0; border-radius: 10px; overflow: hidden;
  pointer-events: none; opacity: 0; transition: opacity 0.6s ease;
}
.fx.on { opacity: 1; }
.fx i, .fx b { position: absolute; display: block; }
/* glare: the sun beams — big soft pulse on the blinding side, slow-turning
   rays, a twinkle on the protected side's crisp sun */
.fx-glare .sunL {
  left: 0; top: -4%; width: 50%; aspect-ratio: 1; mix-blend-mode: screen; filter: blur(2px);
  background: radial-gradient(circle, rgba(255, 247, 228, 0.85) 0%, rgba(255, 233, 195, 0.32) 38%, transparent 66%);
  animation: sunPulse 3.4s ease-in-out infinite;
}
.fx-glare .raysL {
  left: -8%; top: -22%; width: 62%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: screen;
  background: repeating-conic-gradient(from 0deg, rgba(255, 250, 235, 0.16) 0deg 5deg, transparent 5deg 16deg);
  -webkit-mask: radial-gradient(circle, #000 0 42%, transparent 70%);
  mask: radial-gradient(circle, #000 0 42%, transparent 70%);
  animation: raySpin 42s linear infinite;
}
.fx-glare .sunR {
  left: 66%; top: 6%; width: 15%; aspect-ratio: 1; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 8%, rgba(255, 255, 255, 0.25) 32%, transparent 62%);
  animation: twinkle 2.6s ease-in-out infinite;
}
@keyframes sunPulse { 0%, 100% { transform: scale(1); opacity: 0.75; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes raySpin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0.4; transform: scale(0.92); } 50% { opacity: 0.95; transform: scale(1.06); } }
/* TSER: the energy flows — light streams along the incoming beam, sparks
   pop where it hits the glass, the weakened exit beam breathes */
.fx-tser .beam { left: -4%; top: 5%; width: 58%; height: 36%; transform: rotate(10deg); mix-blend-mode: screen; filter: blur(1px); overflow: hidden; }
.fx-tser .beam::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 18%, rgba(255, 219, 160, 0.45) 46%, transparent 62%);
  animation: beamFlow 2.6s linear infinite;
}
@keyframes beamFlow { from { transform: translateX(-70%); } to { transform: translateX(170%); } }
.fx-tser .exit {
  left: 56%; top: 40%; width: 42%; height: 16%; transform: rotate(7deg); mix-blend-mode: screen; filter: blur(2px);
  background: linear-gradient(90deg, rgba(255, 244, 220, 0.35), transparent 85%);
  animation: exitPulse 2.6s ease-in-out infinite;
}
@keyframes exitPulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.65; } }
.fx-tser .sparks { left: 42%; top: 22%; width: 22%; height: 54%; }
.fx-tser .sparks b {
  width: 5px; height: 5px; border-radius: 50%; background: #ffd9a0;
  box-shadow: 0 0 9px 3px rgba(255, 180, 90, 0.8);
  animation: spark 2.8s ease-in-out infinite;
}
.fx-tser .sparks b:nth-child(1) { left: 20%; top: 12%; }
.fx-tser .sparks b:nth-child(2) { left: 58%; top: 28%; animation-delay: 0.4s; }
.fx-tser .sparks b:nth-child(3) { left: 8%; top: 52%; animation-delay: 0.8s; }
.fx-tser .sparks b:nth-child(4) { left: 72%; top: 60%; animation-delay: 1.2s; }
.fx-tser .sparks b:nth-child(5) { left: 34%; top: 76%; animation-delay: 1.6s; }
.fx-tser .sparks b:nth-child(6) { left: 84%; top: 18%; animation-delay: 2s; }
.fx-tser .sparks b:nth-child(7) { left: 48%; top: 44%; animation-delay: 2.4s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1.15); } }

@media (prefers-reduced-motion: reduce) {
  .showcase, .showcase .sheen, .slabwrap, .fx i, .fx b, .fx-tser .beam::before { animation: none !important; }
  .slabwrap { transform: none !important; }
  .showcase img, .slabwrap img { transition: none; }
}
.spec-link { cursor: pointer; transition: background 0.15s, box-shadow 0.15s; }
.spec-link:hover { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--border-hot); }

/* neon "swipe" pill (mobile only — desktop has the arrow) */
.swipe-hint { display: none; }
@media (max-width: 820px) {
  .swipe-hint {
    display: inline-flex; align-items: center; gap: 9px; margin: 0 0 2px;
    background: linear-gradient(135deg, #0d0d12, #191922); color: #fff;
    font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
    padding: 9px 17px; border-radius: 100px; border: 1px solid rgba(240, 99, 28, 0.5);
    box-shadow: 0 0 16px -2px rgba(240, 99, 28, 0.5), inset 0 0 14px rgba(240, 99, 28, 0.14);
  }
  .swipe-hint.done { display: none; }
}
.swipe-hint .chev { display: inline-flex; gap: 1px; font-size: 12px; }
.swipe-hint .chev i { font-style: normal; color: var(--accent); opacity: 0.25; animation: chevGlow 1.2s linear infinite; }
.swipe-hint .chev i:nth-child(2) { animation-delay: 0.18s; }
.swipe-hint .chev i:nth-child(3) { animation-delay: 0.36s; }

/* swipe zone: edge fade + glowing next arrow + dots */
.swipe-zone { position: relative; }
.swipe-zone::before {
  content: ""; position: absolute; top: 0; bottom: 24px; right: -2px; width: 46px; z-index: 3; pointer-events: none;
  background: linear-gradient(270deg, rgba(247, 245, 242, 0.92), rgba(247, 245, 242, 0));
}
.shop-block.alt .swipe-zone::before {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
}
/* rows that fully fit hide their scroll chrome (set by JS) */
.swipe-zone.fits::before { display: none; }
.swipe-next {
  position: absolute; z-index: 4; right: 2px; top: 42%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(240, 99, 28, 0.6);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  background: rgba(13, 13, 18, 0.78); backdrop-filter: blur(6px); color: #fff; font-size: 17px; line-height: 1;
  box-shadow: 0 0 18px rgba(240, 99, 28, 0.55), 0 0 40px -6px rgba(240, 99, 28, 0.7), inset 0 0 10px rgba(240, 99, 28, 0.28);
  animation: arrowGlow 1.7s ease-in-out infinite; transition: opacity 0.3s;
}
.swipe-next.off { opacity: 0; pointer-events: none; }
/* mirrored back arrow — appears once the row has scrolled */
.swipe-prev {
  position: absolute; z-index: 4; left: 2px; top: 42%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(240, 99, 28, 0.6);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  background: rgba(13, 13, 18, 0.78); backdrop-filter: blur(6px); color: #fff; font-size: 17px; line-height: 1;
  box-shadow: 0 0 18px rgba(240, 99, 28, 0.55), 0 0 40px -6px rgba(240, 99, 28, 0.7), inset 0 0 10px rgba(240, 99, 28, 0.28);
  animation: arrowGlowL 1.7s ease-in-out infinite; transition: opacity 0.3s;
}
.swipe-prev.off { opacity: 0; pointer-events: none; }
@keyframes arrowGlowL {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 0 26px rgba(240, 99, 28, 0.85), 0 0 56px -4px rgba(240, 99, 28, 0.9), inset 0 0 12px rgba(240, 99, 28, 0.4); }
}
.swipe-dots { display: flex; justify-content: center; gap: 6px; margin: -4px 0 4px; }
.swipe-zone.fits .swipe-dots { display: none; }
.swipe-dots i { width: 6px; height: 6px; border-radius: 100px; background: #ddd8d2; transition: 0.25s; cursor: pointer; }
.swipe-dots i.on { width: 18px; background: var(--accent); box-shadow: 0 0 10px rgba(240, 99, 28, 0.85); }
@keyframes chevGlow { 0%, 55%, 100% { opacity: 0.25; text-shadow: none; } 25% { opacity: 1; text-shadow: 0 0 9px rgba(240, 99, 28, 0.95); } }
@keyframes arrowGlow {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(5px);
    box-shadow: 0 0 26px rgba(240, 99, 28, 0.85), 0 0 56px -4px rgba(240, 99, 28, 0.9), inset 0 0 12px rgba(240, 99, 28, 0.4); }
}

/* shade card: compact dark hero band + one row per roll size.
   overflow stays visible so the ribbon can sit above the card edge;
   the hero band rounds its own top corners instead. */
.shade-card { position: relative; overflow: visible; }
.shade-card .prod-hero { border-radius: 19px 19px 0 0; }
.shade-card .prod-hero::after { border-radius: inherit; }
.shade-card.hot { border-color: var(--accent); box-shadow: 0 22px 55px -18px rgba(240, 99, 28, 0.35); }
.ribbon {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%); z-index: 2;
  background: var(--accent); color: #fff; font-family: var(--font-display);
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.prod-hero.sm { padding: 20px 20px 16px; }
.prod-hero.sm .ph-line { margin-bottom: 6px; }
.prod-hero .ph-name {
  font-family: var(--font-display); color: #fff; font-size: 20px; font-weight: 800;
  letter-spacing: -0.01em; margin: 0; line-height: 1.15;
}
.shade-big { display: flex; align-items: center; gap: 10px; }
.shade-big b { font-family: var(--font-display); color: #fff; font-size: 30px; font-weight: 800; line-height: 1; }
.shade-big .vlt { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.5); }
.sw-big { width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.25); flex: none; }
.prod-body.sm { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }

.vrows { display: flex; flex-direction: column; gap: 7px; }
.vrows .variant-row { margin-top: 0; padding: 10px 12px; }
.vr-name { font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.vr-tags { display: inline-flex; gap: 4px; }
.vr-right { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.vr-right .price { font-family: var(--font-display); font-weight: 800; font-size: 15px; white-space: nowrap; }
.btn-mini { padding: 8px 14px; font-size: 11.5px; border-radius: 9px; }

/* ===== ORDER PROGRESS (account page) ===== */
.order-card { padding: 18px 20px; margin-top: 14px; }
.order-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.order-top .oid { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.order-top .ototal { font-family: var(--font-display); font-weight: 800; }
.otrack { display: flex; margin: 16px 0 2px; }
.ostep {
  flex: 1; text-align: center; position: relative;
  font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-mute);
}
.ostep::before {
  content: ''; display: block; width: 13px; height: 13px; border-radius: 50%;
  background: var(--surface-3); margin: 0 auto 6px; position: relative; z-index: 1;
}
.ostep::after {
  content: ''; position: absolute; top: 5px; right: 50%; width: 100%; height: 3px;
  background: var(--surface-3); z-index: 0;
}
.ostep:first-child::after { display: none; }
.ostep.done { color: var(--text); }
.ostep.done::before, .ostep.done::after { background: var(--accent); }
.ostep.now::before { box-shadow: 0 0 0 4px rgba(240, 99, 28, 0.18); }
.onote { font-size: 13px; color: var(--text-dim); margin: 12px 0 0; }
.tag.cancelled { background: rgba(197, 57, 41, 0.1); color: #C53929; }
@media (max-width: 480px) { .ostep { font-size: 8.5px; letter-spacing: 0.02em; } }

/* merch cards (giveaways gear style) */
.gear-card { overflow: hidden; }
.gear-img {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, #f3f0ec, #e9e5df);
  display: flex; align-items: center; justify-content: center;
  color: #b0aca6; font-family: var(--font-display); font-weight: 800; font-size: 18px;
}
.gear-img img { width: 100%; height: 100%; object-fit: cover; }
.gear-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.chiprow { display: flex; gap: 7px; flex-wrap: wrap; }
.chiprow .chip { padding: 7px 13px; font-size: 12.5px; }

/* slide-up cart bar (ported from the giveaways shop) */
.cart-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(20, 18, 16, 0.97); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -10px 40px -10px rgba(28, 24, 20, 0.35);
  padding: 13px 0; color: #fff;
  transform: translateY(120%); transition: transform 0.3s;
}
.cart-bar.show { transform: translateY(0); }
.cart-bar .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cart-bar .sum { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #EDEAE4; }
.cart-bar .sum b { color: var(--accent); font-weight: 800; }
.cart-bar .btn { padding: 12px 26px; }

/* scroll reveal (subtle fade-up on first paint) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* stronger hover lift, like the giveaways cards */
.product-card { transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.product-card:hover { transform: translateY(-4px); border-color: var(--border-hot); box-shadow: 0 26px 60px rgba(28, 24, 20, 0.12); }

/* shade swatch inside chips */
.chip .sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid rgba(28, 24, 20, 0.2); }
.chip.on .sw { border-color: rgba(255, 255, 255, 0.5); }
/* merch color swatches */
.chip .sw-b { background: #141414; }
.chip .sw-w { background: #fff; border-color: rgba(28, 24, 20, 0.35); }
/* merch tile awaiting its product photo — styled so it reads as intentional */
.gear-img .ph-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 82%; height: 78%; border: 2px dashed rgba(28, 24, 20, 0.18); border-radius: 14px;
}
.gear-img .ph-tile b { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #8a867f; }
.gear-img .ph-tile i {
  font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #b3afa8;
}

/* product image band — sits between the dark hero band and the body,
   like the approved demo card (demo_G) */
.prod-img { aspect-ratio: 16 / 9; overflow: hidden; background: #101012; position: relative; }
.pi-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.pi-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.45); transition: all 0.2s; }
.pi-dots span.on { background: var(--accent); width: 18px; }
.spec-link { cursor: pointer; transition: background 0.15s; }
.spec-link:hover { background: var(--accent-soft); }
.prod-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s ease;
}
.product-card:hover .prod-img img { transform: scale(1.03); }

/* small-screen shop & checkout */
@media (max-width: 520px) {
  .prod-hero { padding: 24px 20px 20px; }
  .prod-hero h3 { font-size: 22px; }
  .prod-body { padding: 18px 20px 22px; }
  .buyrow { flex-direction: column; align-items: stretch; gap: 12px; }
  .buyrow .price-big { font-size: 23px; }
  .buyrow > div:last-child { margin-left: 0 !important; width: 100%; justify-content: space-between; }
  .buyrow .add { flex: 1; }
  .portal-card { padding: 26px 22px; }
  .toast { bottom: 16px; width: calc(100vw - 28px); }
}

/* ===== TRUST STRIP ===== */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trust .inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; padding: 26px 0; }
.tb {
  display: inline-flex; align-items: center; gap: 11px; padding: 8px 30px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text);
}
.tb svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.tb + .tb { border-left: 1px solid var(--border); }
@media (max-width: 680px) {
  .trust .inner { flex-direction: column; gap: 18px; }
  .tb { padding: 0; }
  .tb + .tb { border-left: none; }
}

/* ===== FOOTER ===== */
.foot { flex: none; background: #1C1A18; color: #EDEAE4; margin-top: 70px; }
.foot .inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 30px 0; }
.foot .fname { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: 0.2em; color: #fff; }
.foot .tagline { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: #8f8a82; margin-top: 6px; }
.foot .fright { text-align: right; font-size: 13px; color: #a8a29a; line-height: 1.7; }
.foot .fright a { color: #EDEAE4; font-weight: 700; }
.foot .fright a:hover { color: var(--accent); }
@media (max-width: 560px) { .foot .inner { flex-direction: column; text-align: center; } .foot .fright { text-align: center; } }

/* ===== UTIL ===== */
.grid { display: grid; gap: 20px; }
@media (min-width: 760px) {
  .grid.c2 { grid-template-columns: 1fr 1fr; }
  .grid.c3 { grid-template-columns: repeat(3, 1fr); }
  .grid.c4 { grid-template-columns: repeat(4, 1fr); }
}
.muted { color: var(--text-dim); }
.center { text-align: center; }

/* ===== "Speak to a representative" corner popup ===== */
.rep-pop {
  position: fixed; right: 18px; bottom: 18px; z-index: 58;
  max-width: 330px; padding: 16px 38px 14px 16px;
  background: var(--surface); border: 1px solid var(--border-hot); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(28, 24, 20, 0.18), 0 0 0 4px rgba(240, 99, 28, 0.06);
  opacity: 0; transform: translateY(16px); transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.rep-pop.show { opacity: 1; transform: none; pointer-events: auto; }
.rep-pop .rp-main { display: flex; align-items: flex-start; gap: 12px; }
.rep-pop .rp-fact {
  margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2);
}
.rep-pop .rp-fact-label {
  display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 3px;
}
.rep-pop .rp-fact-text {
  display: block; font-size: 12.5px; line-height: 1.5; color: var(--text-dim);
  transition: opacity 0.3s ease;
}
/* ride above the slide-up cart bar when it's open */
body:has(.cart-bar.show) .rep-pop { bottom: 92px; }
.rep-pop .rp-ico {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px rgba(240, 99, 28, 0.35);
}
.rep-pop .rp-ico svg { width: 19px; height: 19px; }
.rep-pop .rp-txt b {
  display: block; font-family: var(--font-display); font-size: 14px; font-weight: 800;
  line-height: 1.35; color: var(--text); margin-bottom: 4px;
}
.rep-pop .rp-txt a {
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent-deep);
  white-space: nowrap;
}
.rep-pop .rp-x {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px;
  border: 0; background: none; cursor: pointer; color: var(--text-mute);
  font-size: 17px; line-height: 1; border-radius: 8px; display: grid; place-items: center;
}
.rep-pop .rp-x:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 480px) {
  .rep-pop { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); }
}
