
:root {
  --bg-1: #020705;
  --bg-2: #04100c;
  --bg-3: #071610;
  --panel: linear-gradient(180deg, rgba(10, 28, 21, 0.96) 0%, rgba(6, 17, 13, 0.98) 100%);
  --panel-soft: linear-gradient(180deg, rgba(12, 32, 24, 0.95) 0%, rgba(7, 19, 14, 0.98) 100%);
  --line: rgba(157, 226, 190, 0.10);
  --line-strong: rgba(157, 226, 190, 0.18);
  --text: #edf4ef;
  --muted: #9db0a4;
  --accent: #84e0b2;
  --accent-2: #4caf7f;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.34);
  --max-width: 1320px;
  --sidebar-width: 370px;
  --cut-xl: 28px;
  --cut-lg: 20px;
  --cut-md: 14px;
  --cut-sm: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(35, 110, 77, 0.22), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(35, 110, 77, 0.18), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(20, 72, 52, 0.16), transparent 22%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 45%, var(--bg-3));
  overflow-x: hidden;
}
body::before,
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; }
body::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.28;
}
body::after {
  opacity: 0.06;
  background-image: radial-gradient(rgba(255,255,255,0.26) 0.6px, transparent 0.6px);
  background-size: 10px 10px;
  mix-blend-mode: soft-light;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.page-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 18px 36px;
}
.brand,
.contact-chip,
.product-sidecard,
.section-card,
.gallery-stage,
.gallery-thumb,
.feature-chips span,
.brand-wrap,
.contact-chip,
.gallery-thumb img {
  clip-path: polygon(
    var(--cut-md) 0,
    calc(100% - var(--cut-md)) 0,
    100% var(--cut-md),
    100% calc(100% - var(--cut-md)),
    calc(100% - var(--cut-md)) 100%,
    var(--cut-md) 100%,
    0 calc(100% - var(--cut-md)),
    0 var(--cut-md)
  );
}
.topbar { display: none; }
.page-brand {
  display: block;
  margin: 8px 0 22px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text);
}
.brand-wrap { min-width: 0; }
.brand,
.contact-chip,
.product-sidecard,
.section-card,
.gallery-thumb,
.gallery-stage {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand::before,
.contact-chip::before,
.product-sidecard::before,
.section-card::before,
.gallery-thumb::before,
.gallery-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 14%, rgba(185, 255, 216, 0.018) 28%, transparent 38%);
  pointer-events: none;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 24px 36px;
  background: var(--panel-soft);
  color: var(--text);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 26px;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(132, 224, 178, 0.16), rgba(76, 175, 127, 0.14));
  border-color: rgba(132, 224, 178, 0.2);
  position: relative;
  top: 20px;
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(280px, var(--sidebar-width)) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.product-sidecard { position: sticky; top: 24px; padding: 28px; }
.section-card { padding: 28px; }
.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 14px;
  color: var(--accent);
  background: rgba(132, 224, 178, 0.07);
  border: 1px solid rgba(132, 224, 178, 0.16);
  clip-path: polygon(
    var(--cut-sm) 0,
    calc(100% - var(--cut-sm)) 0,
    100% var(--cut-sm),
    100% calc(100% - var(--cut-sm)),
    calc(100% - var(--cut-sm)) 100%,
    var(--cut-sm) 100%,
    0 calc(100% - var(--cut-sm)),
    0 var(--cut-sm)
  );
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.product-sidecard h1,
.section-card h2 { margin: 0; letter-spacing: -0.04em; }
.product-sidecard h1 { font-size: clamp(1.9rem, 2.6vw, 2.8rem); }
.price { margin: 12px 0 0; font-size: 1.8rem; font-weight: 800; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.feature-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  background: rgba(132, 224, 178, 0.07);
  border: 1px solid rgba(132, 224, 178, 0.16);
  font-size: 0.92rem;
  font-weight: 600;
}
.key-facts { margin: 0; display: grid; gap: 14px; }
.key-facts div { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.key-facts div:last-child { padding-bottom: 0; border-bottom: none; }
.key-facts dt,
.spec-name,
.gallery-meta,
.gallery-help,
.hero-card p,
.compact-card p { color: var(--muted); }
.key-facts dd { margin: 0; font-weight: 700; }
.product-content { display: grid; gap: 22px; }
.hero-card h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.hero-card p,
.compact-card p { line-height: 1.7; }
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-heading-row h2,
.compact-card h2 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); }
.spec-table { display: grid; }
.spec-row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.spec-row:first-child { border-top: none; padding-top: 0; }
.spec-value { font-weight: 700; }
.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bullet-list { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.bullet-list li { line-height: 1.6; }
.gallery-card { padding: 22px; }
.product-gallery { display: grid; gap: 16px; }
.gallery-stage {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.94);
  box-shadow: inset 0 0 0 1px rgba(12,25,20,0.06), 0 10px 28px rgba(0,0,0,0.12);
  aspect-ratio: 4 / 3;
}
.gallery-stage::before { background: none; }
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 16px; background: #ffffff; }
.gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}
.gallery-caption { display: none; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.gallery-thumb {
  padding: 8px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-align: left;
}
.gallery-thumb:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.gallery-thumb.is-active { border-color: rgba(132, 224, 178, 0.26); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24); }
.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin-bottom: 0;
  padding: 6px;
  background: #ffffff;
}
.gallery-thumb.is-preview-hidden { display: none; }
.gallery-more-button {
  appearance: none;
  border: 1px solid rgba(132, 224, 178, 0.16);
  background: linear-gradient(180deg, rgba(15, 36, 27, 0.98) 0%, rgba(9, 22, 16, 0.98) 100%);
  color: var(--text);
  min-height: 100%;
  width: 100%;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  clip-path: polygon(
    var(--cut-md) 0,
    calc(100% - var(--cut-md)) 0,
    100% var(--cut-md),
    100% calc(100% - var(--cut-md)),
    calc(100% - var(--cut-md)) 100%,
    var(--cut-md) 100%,
    0 calc(100% - var(--cut-md)),
    0 var(--cut-md)
  );
}
.gallery-more-button:hover { border-color: var(--line-strong); }
@media (max-width: 1080px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-sidecard { position: static; }
}
@media (max-width: 760px) {
  .page-shell { padding: 14px 14px 28px; }
  .section-card,
  .product-sidecard { padding: 20px; }
  .split-grid { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-row { grid-template-columns: 1fr; gap: 8px; }
}

.gallery-stage { cursor: grab; touch-action: pan-y; }
.gallery-stage.is-dragging { cursor: grabbing; }
.gallery-lightbox-open { overflow: hidden; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background: rgba(5, 12, 9, 0.92);
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox-stage-wrap {
  width: min(92vw, 1400px);
  display: grid;
  gap: 12px;
}
.gallery-lightbox-stage {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  clip-path: polygon(
    var(--cut-lg) 0,
    calc(100% - var(--cut-lg)) 0,
    100% var(--cut-lg),
    100% calc(100% - var(--cut-lg)),
    calc(100% - var(--cut-lg)) 100%,
    var(--cut-lg) 100%,
    0 calc(100% - var(--cut-lg)),
    0 var(--cut-lg)
  );
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}
.gallery-lightbox-image {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.gallery-lightbox-meta {
  display: flex;
  justify-content: flex-end;
  color: rgba(255,255,255,0.9);
}
.gallery-lightbox-close,
.gallery-lightbox-nav {
  appearance: none;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  width: 52px;
  height: 52px;
  clip-path: polygon(
    var(--cut-md) 0,
    calc(100% - var(--cut-md)) 0,
    100% var(--cut-md),
    100% calc(100% - var(--cut-md)),
    calc(100% - var(--cut-md)) 100%,
    var(--cut-md) 100%,
    0 calc(100% - var(--cut-md)),
    0 var(--cut-md)
  );
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}
.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}
@media (max-width: 760px) {
  .gallery-lightbox { padding: 14px; gap: 10px; }
  .gallery-lightbox-nav { display: none; }
  .gallery-lightbox-stage-wrap { width: 100%; }
  .gallery-lightbox-stage { min-height: 48vh; }
}

@media (max-width: 760px) {
  .gallery-more-button { min-height: 72px; }
}
