/* PRO LED FILM — 3D Hologram Fan product page */

:root {
  --font-heading: 'Chakra Petch', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-heading-weight: 600;

  --ink: #171a1e;
  --paper: #f4f4f2;
  --card: #ffffff;
  --line: #e4e3e0;
  --muted: #6d7178;
  --red: #c8102e;
  --red-tint: #fbe9ec;
  --amber: #d99114;
  --pill: #ececea;

  --shadow-sm: 0 1px 3px rgba(23, 26, 30, 0.08), 0 1px 2px rgba(23, 26, 30, 0.04);
  --shadow-md: 0 8px 24px rgba(23, 26, 30, 0.10), 0 2px 6px rgba(23, 26, 30, 0.05);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shell: 1280px;
  --gap-section: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.tnum { font-feature-settings: 'tnum' 1; }

a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--red); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--red-tint); color: var(--ink); }

.page { width: 100%; padding: 28px clamp(16px, 3vw, 32px) 0; min-height: 100vh; }
.shell { max-width: var(--shell); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--ink); color: #fff; z-index: 100;
}
.skip-link:focus { left: clamp(16px, 3vw, 32px); color: #fff; }

/* ---------- Animation ---------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.965); }
  to { opacity: 1; transform: scale(1); }
}

.anim-zoom { animation: zoomIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.anim-up { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Masthead ---------- */

.masthead {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 16px;
}
.brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 22px; letter-spacing: -0.01em;
}
.cart-btn {
  justify-self: end; position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card);
  color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease;
}
.cart-btn:hover { border-color: var(--ink); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--red); color: #fff; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-feature-settings: 'tnum' 1;
}
.cart-count[hidden] { display: none; }

/* ---------- Product layout ---------- */

.product {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px; align-items: start;
  margin-top: 36px;
}

/* ---------- Gallery ---------- */

.gallery {
  position: sticky; top: 24px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--pill);
}
.gallery-main { aspect-ratio: 10 / 13; width: 100%; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.thumb {
  aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--card); box-shadow: var(--shadow-sm);
  background: var(--card); padding: 0; cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.thumb[aria-current='true'] { border-color: var(--ink); }

/* ---------- Buy column ---------- */

.eyebrow {
  display: inline-block; padding: 8px 16px;
  border-radius: var(--radius-pill); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.product-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: clamp(26px, 5.5vw, 34px); line-height: 1.18;
  letter-spacing: -0.015em; margin: 16px 0 10px;
}
.rating-line {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px; font-size: 13.5px; color: var(--muted);
}
.price-line {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 18px; font-feature-settings: 'tnum' 1;
}
.price {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 26px;
}
.price-compare { font-size: 16px; text-decoration: line-through; color: var(--muted); }
.price-badge {
  font-size: 13px; padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--red-tint); color: var(--red);
}

.urgency {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14.5px; color: var(--muted);
}
.urgency svg { color: var(--red); flex: none; }
.urgency strong { color: var(--ink); font-feature-settings: 'tnum' 1; }

.lede {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-bottom: 8px;
}
.body-copy { font-size: 14.5px; line-height: 1.7; color: var(--muted); margin-bottom: 12px; }
.body-copy:last-of-type { margin-bottom: 20px; }

.btn-cart {
  width: 100%; padding: 17px 24px;
  border-radius: var(--radius-pill); border: 0;
  background: var(--ink); color: #fff;
  font-family: var(--font-body); font-size: 16px; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-cart:hover { background: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-cart:active { transform: translateY(0); }
.btn-cart.is-added { background: var(--red); }

.benefits {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin: 20px 0 6px; font-size: 13.5px; color: var(--muted);
}
.benefits strong { color: var(--ink); }

.panel {
  margin-top: 18px; border: 1px solid var(--line);
  border-radius: 14px; padding: 20px;
}
.panel + .panel { margin-top: 12px; }
.panel-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px;
}
.included { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.included li {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 14px; line-height: 1.55; color: var(--muted);
}
.included li::before { content: '•'; color: var(--red); }
.included { list-style: none; padding: 0; margin-left: 0; }

.ship-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px 24px; margin-top: 16px;
}
.ship-item { display: flex; gap: 12px; align-items: center; }
.ship-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--pill); display: flex;
  align-items: center; justify-content: center; flex: none;
}
.ship-label { display: block; font-size: 12px; color: var(--muted); }
.ship-value { font-size: 14.5px; }
.fine-print { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Sections ---------- */

.section { margin-top: var(--gap-section); }

.section-h2 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 26px; letter-spacing: -0.01em; margin-bottom: 20px;
}
.section-h2.lg {
  font-size: clamp(28px, 5.5vw, 36px); line-height: 1.12; margin-bottom: 20px;
}
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 32px 64px; align-items: start;
}
.split.tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.prose { font-size: 15px; line-height: 1.75; color: var(--muted); margin-bottom: 16px; }
.prose:last-child { margin-bottom: 0; }

.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 24px; justify-content: start; margin-top: 28px; }
.stat-num {
  display: block; font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 26px; font-feature-settings: 'tnum' 1;
}
.stat-label { font-size: 13px; color: var(--muted); }

.figure { border-radius: var(--radius-lg); overflow: hidden; background: var(--pill); aspect-ratio: 16 / 10; }
.figure img { width: 100%; height: 100%; object-fit: cover; }

.section-h3 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 22px; letter-spacing: -0.01em; margin: 56px 0 6px;
}
.section-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.step-fig { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--pill); }
.step-fig img { width: 100%; height: 100%; object-fit: cover; }
.step-title {
  margin: 14px 0 4px; font-family: var(--font-heading);
  font-weight: var(--font-heading-weight); font-size: 16.5px;
}
.step-title span { color: var(--red); font-feature-settings: 'tnum' 1; }
.step-body { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ---------- Specs table ---------- */

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-md); overflow-x: auto; }
.spec-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14.5px; }
.spec-table thead tr { background: var(--pill); }
.spec-table th {
  text-align: left; padding: 14px 20px;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 14px;
}
.spec-table tbody { font-feature-settings: 'tnum' 1; }
.spec-table tbody tr { border-top: 1px solid var(--line); }
.spec-table td { padding: 13px 20px; }
.spec-table td:first-child { color: var(--muted); width: 40%; }

.use-list { display: flex; flex-direction: column; gap: 12px; }
.use-list p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.use-list strong { color: var(--ink); }

/* ---------- Reviews ---------- */

.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px 56px; align-items: start;
}
.score {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: clamp(64px, 12vw, 96px); line-height: 1;
  letter-spacing: -0.03em; font-feature-settings: 'tnum' 1;
}
.score span { font-size: 0.28em; color: var(--muted); letter-spacing: 0; }
.score-sub { margin-top: 12px; font-size: 14px; color: var(--muted); }

.bars { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-star { width: 12px; font-size: 13.5px; font-feature-settings: 'tnum' 1; }
.bar-track { flex: 1; height: 6px; border-radius: var(--radius-pill); background: var(--pill); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--ink); }

.review-card {
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 24px; position: relative;
}
.review-body { transition: opacity 0.25s ease, transform 0.25s ease; }
.review-body.is-fading { opacity: 0; transform: translateX(14px); }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review-name { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 17px; }
.review-date { font-size: 13px; color: var(--muted); }
.review-stars { display: flex; gap: 3px; margin: 8px 0 12px; }
.review-text { font-size: 14.5px; line-height: 1.65; color: var(--muted); font-style: italic; }
.review-next {
  position: absolute; right: -18px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: border-color 0.2s ease;
}
.review-next:hover { border-color: var(--ink); }

@media (max-width: 560px) {
  .review-next { right: 12px; top: auto; bottom: -20px; transform: none; }
  .review-card { margin-bottom: 24px; }
}

/* ---------- FAQ ---------- */

.faq { margin-top: 96px; }
.faq-eyebrow {
  text-align: center; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.faq-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: clamp(30px, 6vw, 42px); letter-spacing: -0.02em; line-height: 1.15;
  text-align: center; margin: 0 auto 36px; max-width: 16ch;
}
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border-radius: 26px; background: var(--pill);
  border: 1px solid transparent; overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[data-open='true'] { background: var(--card); border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  gap: 16px; background: none; border: 0; padding: 16px 16px 16px 24px;
  cursor: pointer; text-align: left;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 16px; color: var(--ink);
}
.faq-sym {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex: none;
  font-family: var(--font-body); font-size: 17px; line-height: 1;
}
.faq-a { display: none; padding: 0 24px 20px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.faq-item[data-open='true'] .faq-a { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 96px; padding: 24px 0 48px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.footer-brand { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 20px; }
.footer-rule { width: 100%; max-width: 640px; height: 1px; background: var(--line); margin: 30px 0; }
.socials { display: flex; gap: 22px; align-items: center; }
.socials a { display: flex; }
.copyright { margin-top: 26px; font-size: 13px; color: var(--muted); }

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  :root { --gap-section: 64px; }
  .gallery { position: static; }
}

@media (max-width: 480px) {
  .gallery-thumbs { gap: 6px; left: 8px; right: 8px; bottom: 8px; }
  .stats { grid-template-columns: repeat(2, auto); gap: 18px; }
}
