/**
 * COALZILLA store UI — dark theme: black base, fire orange accents, high contrast.
 */
:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --elevated: #111111;
  --cream: #141414;
  --cream-dark: #0e0e0e;
  --surface: #161616;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.58);
  --accent: #ff5c2e;
  --accent-hover: #ff7a4d;
  --accent-soft: rgba(255, 92, 46, 0.2);
  --accent-border: rgba(255, 140, 80, 0.45);
  --violet: #ffb84d;
  --violet-soft: rgba(255, 184, 77, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 20px 56px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 4px 28px rgba(0, 0, 0, 0.45);
  --glow-warm: 0 0 40px rgba(255, 92, 46, 0.12);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.6;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 70% at 85% -5%, rgba(255, 80, 0, 0.14) 0%, transparent 42%),
    radial-gradient(ellipse 90% 55% at 5% 105%, rgba(200, 30, 0, 0.1) 0%, transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
}

a {
  color: var(--violet);
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  flex-wrap: wrap;
  background: rgba(6, 6, 6, 0.88);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-sm), var(--glow-warm);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.15;
}
.brand:hover {
  color: var(--accent-hover);
  text-decoration: none;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* COALZILLA wordmark (PNG) */
a.brand--logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
a.brand--logo:hover {
  opacity: 0.92;
}
.brand-logo {
  height: 42px;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
  display: block;
}
@media (min-width: 640px) {
  .brand-logo {
    height: 50px;
    max-width: 280px;
  }
}

nav.main-nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  align-items: center;
}
nav.main-nav a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
nav.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  text-decoration: none;
}
nav.main-nav a[aria-current='page'] {
  background: var(--accent-soft);
  color: var(--accent-hover);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 98;
}
.menu-close {
  display: none;
}

@media (max-width: 760px) {
  html.menu-open,
  html.menu-open body {
    overflow: hidden;
  }
  .site-header .inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }
  a.brand--logo {
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand-logo {
    max-width: min(170px, 44vw);
    height: 38px;
  }
  .currency-switch {
    order: 2;
    flex: 0 0 auto;
  }
  .currency-flag {
    display: none;
  }
  .currency-switch select {
    min-width: 3.1rem;
    padding-left: 0.55rem;
    padding-right: 0.65rem;
  }
  .menu-toggle {
    order: 3;
    display: inline-flex;
    flex: 0 0 auto;
  }
  nav.main-nav {
    order: 4;
    display: block;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 160;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease;
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 8, 8, 0.97);
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }
  nav.main-nav a {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 0.5rem;
    pointer-events: auto;
  }
  .menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin: 0 0 0.8rem auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }
  html.menu-open nav.main-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  html.menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.currency-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--elevated);
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.2rem 0.35rem;
}
.currency-flag {
  font-family: 'Segoe UI Emoji', 'Segoe UI Symbol', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
}
.currency-switch select {
  /* Use system + emoji fonts for reliable flag rendering in native selects */
  font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  border: none;
  background: transparent;
  padding: 0.34rem 0.95rem 0.34rem 0.45rem;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.currency-switch select option {
  font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  color: #101010;
  background-color: #ffffff;
}
.currency-switch select:focus {
  box-shadow: 0 0 0 2px rgba(255, 122, 77, 0.25);
}

/* ─── Hero ─── */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero--split::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 70% 70% at 80% 45%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 62%, rgba(0, 0, 0, 0.92) 100%),
    url('/assets/images/m50-2-main.webp');
  background-repeat: no-repeat, no-repeat;
  background-position: right 14% center, right 12% center;
  background-size: 100% 100%, min(640px, 52vw) auto;
  opacity: 0.95;
  filter: drop-shadow(0 24px 80px rgba(0, 0, 0, 0.55));
}
@media (max-width: 760px) {
  /* Hide homepage hero image layer on mobile */
  .hero--split::before {
    background-image: none;
    filter: none;
    opacity: 1;
  }
}

.hero--split .hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .hero--split .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-visual {
  position: relative;
  min-height: 0;
  display: none;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 1rem;
  text-transform: capitalize;
}

.hero p.lead {
  max-width: 32rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.hero-badges span {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--elevated);
  color: var(--ink-soft);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink-soft);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: rgba(255, 92, 46, 0.08);
}
.btn-wa {
  background: #128c7e;
  color: #fff;
  border-color: #128c7e;
}
.btn-wa:hover {
  background: #0f7a6e;
  border-color: #0f7a6e;
  color: #fff;
}
.btn-tg {
  background: #2aabee;
  color: #fff;
  border-color: #2aabee;
}
.btn-tg:hover {
  background: #1f9ad8;
  border-color: #1f9ad8;
  color: #fff;
}
.btn-call {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: transparent;
}
.btn-call:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: transparent;
  color: #ffffff;
}
.brand-icon {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  display: inline-block;
}
.call-icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  line-height: 1;
  color: currentColor;
}

/* ─── Sections ─── */
section {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.section-heading {
  margin-bottom: 1.75rem;
}
.section-heading .eyebrow {
  margin-bottom: 0.5rem;
}
section h2,
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  text-transform: capitalize;
}

.section-muted {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 42rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Home feature split */
.feature-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 980px) {
  .feature-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.25rem;
    align-items: center;
  }
}
.feature-copy {
  margin: 0;
  color: var(--muted);
  max-width: 52rem;
  line-height: 1.75;
}
.feature-media {
  display: flex;
  justify-content: flex-end;
}
.feature-video {
  width: min(520px, 100%);
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), var(--glow-warm);
  border-color: var(--accent-border);
}
.card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(180deg, #0d0d0d 0%, #1c1c1c 100%);
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-image img {
  transform: scale(1.04);
}
.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.4rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-transform: capitalize;
}
.card .sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.5;
}
.card .price {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.card .actions .btn {
  flex: 1;
  min-width: 120px;
  font-size: 0.88rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.why-grid article {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.why-grid article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--violet));
  border-radius: 4px 0 0 4px;
}
.why-grid h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--ink);
  text-transform: capitalize;
}
.why-grid p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
}

/* CTA band */
.cta-band {
  margin-top: 1rem;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: linear-gradient(160deg, #1a0a02 0%, #000000 55%, #0d0602 100%);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 140, 60, 0.12);
}
.cta-band h2 {
  color: #fff;
}
.cta-band .eyebrow {
  color: rgba(255, 180, 100, 0.85);
}
.cta-band .lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .cta-row {
  justify-content: center;
  margin-top: 1.25rem;
}

.site-footer {
  padding: 2.5rem 0 2rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer a {
  color: var(--violet);
}
.site-footer code {
  font-size: 0.85em;
  background: var(--elevated);
  color: var(--ink-soft);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* ─── Product page ─── */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 0.5rem;
}
@media (max-width: 860px) {
  .product-hero {
    grid-template-columns: 1fr;
  }
}

.gallery-wrap {
  position: sticky;
  top: 5.5rem;
}
@media (max-width: 860px) {
  .gallery-wrap {
    position: static;
  }
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--elevated);
  box-shadow: var(--shadow-card);
  aspect-ratio: 1;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}
.gallery-thumbs button {
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--elevated);
  transition: border-color 0.2s, transform 0.2s;
}
.gallery-thumbs button:hover {
  transform: scale(1.05);
}
.gallery-thumbs button[aria-selected='true'] {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--ink);
  line-height: 1.15;
  text-transform: capitalize;
}
.product-info .badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.35rem;
}
.product-info .sub {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 0.75rem;
}
.product-info .price-big {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.5rem 0 1rem;
  font-variant-numeric: tabular-nums;
}
.product-info .desc {
  color: var(--muted);
  margin-bottom: 1.35rem;
  line-height: 1.65;
}

.product-cta-box {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.product-cta-box .cta-row {
  margin-bottom: 0.65rem;
}
.product-cta-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}
.spec-table th {
  color: var(--muted);
  font-weight: 500;
  width: 42%;
  text-align: left;
  background: var(--elevated);
}
.spec-table td {
  color: var(--ink-soft);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.video-card {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}
.video-card .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.video-card .play svg {
  display: block;
  margin-left: 4px;
}
.video-card .title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 2;
  line-height: 1.4;
  color: #fff;
}

/* <button> used as video poster card (modal trigger) */
button.video-card {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  width: 100%;
  display: block;
  text-align: left;
}

/* In-page video popup */
.video-modal[hidden] {
  display: none !important;
}
.video-modal:not([hidden]) {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}
.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 96vw);
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md), var(--glow-warm);
  overflow: hidden;
}
.video-modal__frame {
  aspect-ratio: 16/9;
  position: relative;
  background: #000;
}
.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.video-modal__close:hover {
  background: rgba(255, 92, 46, 0.9);
  transform: scale(1.05);
}

.accessory-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.accessory-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.accessory-table tr:last-child td {
  border-bottom: none;
}
.accessory-table td:first-child {
  color: var(--ink-soft);
  font-weight: 500;
}
.accessory-table td:last-child {
  text-align: right;
}

.not-found {
  padding: 4rem 0;
  text-align: center;
}
.not-found h1 {
  font-family: var(--font-display);
  color: var(--ink);
  text-transform: capitalize;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: capitalize;
}

.catalog-hero-tight {
  padding-bottom: 1.5rem;
}

.footer-back {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob {
    animation: none;
  }
  .card:hover,
  .card:hover .card-image img,
  .btn:hover,
  .video-card:hover {
    transform: none;
  }
}

/* Product page section titles inside main */
[data-product-root] section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0 0 1rem;
  text-transform: capitalize;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-form {
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 0.45rem;
}
.field--full {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.field-input:focus {
  border-color: rgba(255, 122, 77, 0.75);
  box-shadow: 0 0 0 4px rgba(255, 92, 46, 0.18);
  background: rgba(255, 255, 255, 0.06);
}
.field-input--invalid {
  border-color: rgba(255, 92, 92, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 92, 92, 0.18);
}
textarea.field-input {
  resize: vertical;
  min-height: 130px;
}

.field-error {
  min-height: 1.1em;
  font-size: 0.82rem;
  color: #ff8f8f;
}

.form-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.form-note--success {
  color: rgba(255, 255, 255, 0.9);
}
.form-note--error {
  color: #ff9c9c;
}
