:root {
  --night: #050b18;
  --night-soft: #0a1630;
  --navy: #0d2145;
  --navy-light: #17345f;
  --gold: #e7ad43;
  --gold-bright: #ffd77a;
  --gold-pale: #fff0bd;
  --amber: #b97822;
  --text: #f8f1df;
  --muted: #b9b4aa;
  --line: rgba(231, 173, 67, 0.24);
  --line-bright: rgba(255, 215, 122, 0.58);
  --surface: rgba(8, 19, 42, 0.86);
  --surface-soft: rgba(14, 33, 69, 0.7);
  --ink: #fff9e9;
  --danger: #dc6b63;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --gold-shadow: 0 0 34px rgba(231, 173, 67, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(37, 78, 141, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(223, 160, 52, 0.13), transparent 24rem),
    radial-gradient(circle at 45% 78%, rgba(24, 56, 112, 0.25), transparent 34rem),
    linear-gradient(145deg, #030711 0%, #071329 48%, #030916 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 231, 168, 0.88) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.56) 0 0.8px, transparent 1.2px);
  background-position: 0 0, 38px 54px;
  background-size: 106px 106px, 73px 73px;
  opacity: 0.28;
  content: "";
  pointer-events: none;
  animation: starDrift 45s linear infinite;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  content: "";
  pointer-events: none;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(231, 173, 67, 0.36);
  color: #fff;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 9, 22, 0.78);
  padding: 13px 32px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px) saturate(145%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(3, 9, 22, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.site-header > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 120px;
  filter: drop-shadow(0 5px 15px rgba(231, 173, 67, 0.26));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.brand:hover {
  filter: drop-shadow(0 6px 19px rgba(255, 215, 122, 0.46));
  transform: translateY(-1px);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 12px;
  line-height: 1;
}

.brand-logo {
  border: 0;
  width: 120px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.search input {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 20, 44, 0.66);
  padding: 12px 16px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.search input::placeholder {
  color: #898c95;
}

.search input:focus {
  outline: 0;
  border-color: var(--gold);
  background: rgba(12, 28, 59, 0.92);
  box-shadow: 0 0 0 3px rgba(231, 173, 67, 0.12), 0 0 24px rgba(231, 173, 67, 0.1);
}

.header-nav,
.header-actions,
.site-footer nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.header-nav a,
.site-footer a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.header-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  content: "";
  transition: transform 0.25s ease;
}

.header-nav a:hover,
.site-footer a:hover {
  color: var(--gold-pale);
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(23, 52, 95, 0.72), rgba(8, 20, 44, 0.82));
  padding: 10px 14px;
  min-height: 42px;
  color: var(--gold-pale);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-button:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24), 0 0 20px rgba(231, 173, 67, 0.12);
  transform: translateY(-2px);
}

main {
  margin: 0 auto;
  padding: 26px 32px 64px;
  max-width: 1480px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 24px;
  color: #8e9199;
  font-size: 13px;
}

.breadcrumbs a {
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--gold-bright);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 38px;
  align-items: start;
}

.gallery {
  min-width: 0;
}

.gallery-main {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 22px;
  background: #050b17;
  aspect-ratio: 1 / 1;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 240, 189, 0.06) inset,
    0 0 42px rgba(231, 173, 67, 0.13);
  isolation: isolate;
}

.gallery-main::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 242, 204, 0.17);
  border-radius: inherit;
  box-shadow: inset 0 0 45px rgba(0, 0, 0, 0.16);
  content: "";
  pointer-events: none;
}

.gallery-main::after {
  position: absolute;
  z-index: 2;
  top: -25%;
  left: -80%;
  width: 45%;
  height: 150%;
  background: linear-gradient(90deg, transparent, rgba(255, 230, 163, 0.17), transparent);
  transform: skewX(-18deg);
  content: "";
  pointer-events: none;
  animation: galleryShine 8s ease-in-out infinite;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transition: opacity 0.24s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-main:hover img {
  transform: scale(1.018);
}

.gallery-main img.is-changing {
  opacity: 0;
  transform: scale(0.985);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 215, 122, 0.52);
  border-radius: 50%;
  background: rgba(4, 12, 28, 0.76);
  width: 46px;
  height: 46px;
  color: var(--gold-pale);
  font-size: 32px;
  line-height: 1;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.gallery-nav:hover {
  border-color: var(--gold-bright);
  background: rgba(17, 40, 80, 0.9);
  transform: translateY(-50%) scale(1.07);
}

.gallery-nav.previous {
  left: 18px;
}

.gallery-nav.next {
  right: 18px;
}

.thumbnail-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.thumbnail {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 0;
  aspect-ratio: 1 / 1;
  opacity: 0.68;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail:hover {
  border-color: rgba(255, 215, 122, 0.6);
  opacity: 1;
  transform: translateY(-3px);
}

.thumbnail.is-active {
  border-color: var(--gold);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(231, 173, 67, 0.15), 0 10px 30px rgba(0, 0, 0, 0.25);
}

.product-panel,
.article-box {
  --pointer-x: 50%;
  --pointer-y: 0%;
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 215, 122, 0.09), transparent 34%),
    linear-gradient(155deg, rgba(14, 35, 74, 0.94), rgba(5, 15, 34, 0.96));
  box-shadow: var(--shadow), var(--gold-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.product-panel::before,
.article-box::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 215, 122, 0.09);
  border-radius: 13px;
  content: "";
  pointer-events: none;
}

.product-panel {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border-radius: 20px;
  padding: 28px;
}

.seller-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.seller-avatar {
  display: block;
  border: 1px solid var(--gold);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(231, 173, 67, 0.25);
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.seller-name {
  margin: 0;
  color: var(--gold-pale);
  font-weight: 700;
}

.product-eyebrow,
.article-box-kicker {
  margin: 0 0 5px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  background: linear-gradient(180deg, #fffbe9 10%, #f2c96f 70%, #ba7926);
  background-clip: text;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 2.4vw, 38px);
  line-height: 1.1;
  text-wrap: balance;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.28));
}

.product-subtitle {
  margin: 13px 0 24px;
  color: var(--muted);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.price {
  color: var(--gold-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
}

.badge {
  border: 1px solid rgba(231, 173, 67, 0.26);
  border-radius: 999px;
  background: rgba(231, 173, 67, 0.1);
  padding: 6px 11px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 25px;
}

.spec-grid div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.spec-grid dt {
  color: #8f9199;
  font-size: 12px;
}

.spec-grid dd {
  margin: 4px 0 0;
  color: var(--gold-pale);
  font-weight: 700;
}

.cta-group {
  display: grid;
  gap: 11px;
  margin-bottom: 19px;
}

.button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  padding: 13px 16px;
  min-height: 50px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.button::after {
  position: absolute;
  top: -40%;
  left: -70%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-18deg);
  content: "";
  transition: left 0.55s ease;
}

.button:hover::after {
  left: 125%;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: #f0bf5d;
  background: linear-gradient(180deg, #f6cc72 0%, #c98427 58%, #9b5f18 100%);
  color: #17100a;
  box-shadow: 0 10px 28px rgba(185, 120, 34, 0.26), inset 0 1px 0 #fff1ba;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
}

.button.primary:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 14px 34px rgba(185, 120, 34, 0.38), 0 0 24px rgba(231, 173, 67, 0.18);
}

.button.secondary {
  background: linear-gradient(180deg, #163262, #0b1d3e);
  color: var(--gold-pale);
}

.button.secondary:hover,
.button.ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.button.ghost.is-saved {
  border-color: var(--gold);
  background: rgba(231, 173, 67, 0.11);
  color: var(--gold-bright);
}

.service-note {
  margin: 0 0 22px;
  color: #a5a6ac;
  font-size: 13px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 16px 0;
  width: 100%;
  color: var(--gold-pale);
  font-weight: 700;
  text-align: left;
  transition: color 0.2s ease;
}

.accordion-trigger:hover {
  color: var(--gold-bright);
}

.accordion-trigger span {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.accordion-trigger span::before {
  content: "+";
}

.accordion-trigger[aria-expanded="true"] span::before {
  content: "−";
}

.accordion-panel {
  border-bottom: 1px solid var(--line);
  padding: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  animation: panelOpen 0.28s ease both;
}

.accordion-panel p {
  margin: 0;
}

.article-box {
  overflow: hidden;
  margin-top: 48px;
  border-radius: 20px;
  padding: 30px;
  max-width: 900px;
}

.article-box-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
  margin-bottom: 20px;
}

.article-box h2 {
  margin: 0;
  color: var(--gold-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 3vw, 29px);
  line-height: 1.25;
}

.article-box-body {
  display: grid;
  gap: 25px;
}

.article-box-body p {
  margin: 0;
  color: var(--muted);
}

.article-box-body p a {
  color: var(--gold-bright);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(231, 173, 67, 0.38);
  text-underline-offset: 3px;
}

.article-box-body section {
  display: grid;
  gap: 12px;
}

.article-box-body h3 {
  margin: 0;
  color: var(--gold-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.3;
}

.article-box-body ul,
.article-box-body ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.article-box-body li::marker {
  color: var(--gold);
}

.article-box-body li strong {
  color: var(--gold-pale);
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: var(--gold-bright);
}

.faq-list details p {
  margin-top: 8px;
}

.review-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-list h3 {
  grid-column: 1 / -1;
}

.review-list figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(23, 52, 95, 0.5), rgba(7, 18, 39, 0.72));
  padding: 19px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.review-list figure::before {
  position: absolute;
  top: -13px;
  right: 13px;
  color: rgba(231, 173, 67, 0.12);
  font-family: Georgia, serif;
  font-size: 76px;
  line-height: 1;
  content: "“";
  pointer-events: none;
}

.review-list figure:hover {
  border-color: rgba(231, 173, 67, 0.48);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.23);
  transform: translateY(-3px);
}

.review-list blockquote {
  position: relative;
  margin: 0;
  color: var(--text);
}

.review-list figcaption {
  margin-top: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: rgba(3, 9, 22, 0.66);
  padding: 25px 32px;
  color: #888b93;
  font-size: 14px;
  backdrop-filter: blur(12px);
}

.site-footer p {
  margin: 0;
  color: var(--gold-pale);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes starDrift {
  to {
    background-position: 106px 106px, -35px 127px;
  }
}

@keyframes galleryShine {
  0%,
  58% {
    left: -80%;
    opacity: 0;
  }
  68% {
    opacity: 1;
  }
  88%,
  100% {
    left: 145%;
    opacity: 0;
  }
}

@keyframes panelOpen {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .search {
    grid-column: 1 / -1;
    order: 3;
  }

  .header-nav {
    display: none;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-panel {
    position: static;
  }

  .article-box {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }

  .icon-button {
    padding: 9px 11px;
  }

  main {
    padding: 17px 16px 40px;
  }

  .product-layout {
    gap: 24px;
  }

  .gallery-main {
    border-radius: 15px;
  }

  .gallery-nav {
    width: 39px;
    height: 39px;
    font-size: 27px;
  }

  .gallery-nav.previous {
    left: 10px;
  }

  .gallery-nav.next {
    right: 10px;
  }

  .thumbnail-strip {
    grid-template-columns: repeat(4, minmax(58px, 1fr));
  }

  .product-panel,
  .article-box {
    border-radius: 15px;
    padding: 21px;
  }

  h1 {
    font-size: 29px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .review-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 16px;
  }
}

@media (max-width: 600px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .brand-logo {
    width: 110px;
    height: 45px;
  }

  .search {
    grid-column: auto;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .thumbnail-strip {
    grid-template-columns: repeat(2, minmax(96px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}
