.product-detail-page {
  --product-panel: #181b1f;
  --product-line: #30343a;
}

.product-v2-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(217, 255, 67, .11), transparent 24rem),
    linear-gradient(135deg, #101214, #1d2024 62%, #111315);
}

.product-v2-hero::after {
  content: "";
  position: absolute;
  right: -14rem;
  bottom: -19rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(217, 255, 67, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(217, 255, 67, .025), 0 0 0 12rem rgba(217, 255, 67, .015);
  pointer-events: none;
}

.product-v2-hero .product-layout { position: relative; z-index: 1; }
.product-v2-hero .product-summary { min-width: 0; }
.product-v2-hero .product-summary h1 { max-width: 680px; }
.product-v2-hero .product-copy { font-size: 1.08rem; }

.hero-verified {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 1.25rem 0 0;
  color: #bfc4c9;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-verified::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: .72rem;
}

.product-v2-hero .product-photo {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .13);
  background: #25282c;
  transform: rotate(1deg);
}

.product-v2-hero .product-photo img {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.product-v2-hero .product-photo p {
  position: absolute;
  inset: auto .8rem .65rem;
  margin: 0;
  padding: .45rem .65rem;
  border-radius: 8px;
  background: rgba(17, 19, 21, .78);
  color: #e8eaec;
  font-size: .7rem;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.product-subnav {
  position: sticky;
  z-index: 35;
  top: 74px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(17, 19, 21, .05);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.product-subnav::-webkit-scrollbar { display: none; }
.product-subnav .container { display: flex; min-width: max-content; }

.product-subnav a {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding-inline: 1rem;
  color: #4e5359;
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
}

.product-subnav a:first-child { padding-left: 0; }
.product-subnav a:hover,
.product-subnav a:focus-visible { color: var(--red); }

.key-spec-section {
  position: relative;
  z-index: 3;
  margin-top: -2.7rem;
}

.product-key-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.key-spec {
  min-width: 0;
  padding: 1.3rem 1.4rem;
}

.key-spec + .key-spec { border-left: 1px solid var(--line); }
.key-spec span { display: block; color: var(--muted); font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.key-spec strong { display: block; margin-top: .25rem; font-size: clamp(1.2rem, 2.4vw, 1.75rem); line-height: 1.1; letter-spacing: -.035em; }
.key-spec small { display: block; margin-top: .4rem; color: #767b81; font-size: .72rem; font-weight: 750; }

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.overview-grid h2 { max-width: 760px; }
.overview-copy { max-width: 760px; margin: 1.4rem 0 0; color: #3d4247; font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.75; }

.cycle-notice {
  max-width: 760px;
  margin: 1.35rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--lime);
  border-radius: 0 12px 12px 0;
  background: #edf2dc;
  color: #303715;
  font-size: .92rem;
}

.fit-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(17, 19, 21, .07);
}

.fit-card ul {
  display: grid;
  gap: .8rem;
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.fit-card li { position: relative; padding-left: 1.5rem; color: #3f4449; }
.fit-card li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 950; }
.fit-card .button { width: 100%; }

.dark-spec-section {
  background: var(--ink);
  color: var(--white);
}

.dark-spec-section .kicker { color: var(--lime); }
.dark-spec-section .section-note { color: #b9bdc2; }

.product-section-head h2 { margin-bottom: 0; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.spec-card {
  overflow: hidden;
  border: 1px solid var(--product-line);
  border-radius: var(--radius);
  background: var(--product-panel);
}

.spec-card h3 {
  margin: 0;
  padding: 1.2rem 1.3rem;
  border-bottom: 1px solid var(--product-line);
  color: var(--lime);
  font-size: 1.02rem;
}

.spec-card dl { margin: 0; }

.spec-card dl > div {
  display: grid;
  grid-template-columns: minmax(105px, .75fr) minmax(0, 1.25fr);
  gap: 1rem;
  padding: .95rem 1.3rem;
}

.spec-card dl > div + div { border-top: 1px solid var(--product-line); }
.spec-card dt { color: #9fa4aa; font-size: .78rem; font-weight: 800; }
.spec-card dd { margin: 0; color: #f6f7f8; font-size: .9rem; font-weight: 800; text-align: right; }
.spec-card dd small { display: block; margin-top: .25rem; color: #9fa4aa; font-size: .68rem; font-weight: 650; }

.soft-section { background: #e8ebed; }

.product-media-section { background: #e8ebed; }

.product-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-media-grid.single { grid-template-columns: minmax(0, 820px); justify-content: center; }

.product-media-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #d1d5d9;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(17, 19, 21, .08);
}

.product-media-grid a { display: block; overflow: hidden; background: #dfe3e6; }
.product-media-grid img { width: 100%; height: auto; transition: transform .3s ease; }
.product-media-grid a:hover img { transform: scale(1.01); }
.product-media-grid figcaption { padding: .9rem 1rem; color: #4e5359; font-size: .86rem; font-weight: 750; }

.product-detail-page[data-model="byd-sealion-5"] .product-price {
  width: fit-content;
  padding: .45rem .75rem;
  border: 1px solid rgba(217, 255, 67, .35);
  border-radius: 999px;
  background: rgba(217, 255, 67, .1);
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.variant-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border: 1px solid #d2d6da;
  border-radius: var(--radius);
  background: var(--white);
}

.variant-card::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: var(--lime);
  opacity: .55;
}

.variant-label { margin: 0; color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.variant-card h3 { position: relative; z-index: 1; margin: .35rem 0 1rem; font-size: 1.7rem; line-height: 1.1; }
.variant-card ul { display: grid; gap: .55rem; margin: 0; padding-left: 1.2rem; color: #41464c; }
.variant-card .model-link { color: var(--red); }

.product-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-highlight {
  min-height: 230px;
  padding: 1.4rem;
  border-top: 3px solid var(--ink);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(17, 19, 21, .06);
}

.product-highlight > span { color: var(--red); font-size: .76rem; font-weight: 900; }
.product-highlight h3 { margin: 2.3rem 0 .55rem; font-size: 1.18rem; }
.product-highlight p { margin: 0; color: #555a60; font-size: .9rem; }

.faq-section { background: var(--white); }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.faq-layout > div:first-child { position: sticky; top: 150px; }
.faq-layout > div:first-child p:last-child { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 0;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .4rem; top: 1rem; color: var(--red); font-size: 1.5rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -.35rem 3rem 1.25rem 0; color: #51565c; }

.source-section { background: #edf0f2; }

.source-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.source-layout > div:first-child > p:not(.kicker) { color: #51565c; }
.source-date { font-size: .86rem; }

.source-card {
  padding: 1.35rem;
  border: 1px solid #d2d6da;
  border-radius: var(--radius);
  background: var(--white);
}

.source-card ul { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.source-card li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.source-card a { color: var(--red); font-weight: 850; text-underline-offset: 3px; }
.source-card li span { padding: .25rem .5rem; border-radius: 999px; background: #edf2dc; color: #465319; font-size: .66rem; font-weight: 900; text-transform: uppercase; }
.source-card > p { margin: 1rem 0 0; color: var(--muted); font-size: .82rem; }

.product-final-cta .product-disclosure { margin-top: 1.2rem; color: #aeb2b7; font-size: .78rem; }

@media (max-width: 980px) {
  .product-key-specs { grid-template-columns: repeat(2, 1fr); }
  .key-spec:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .key-spec:nth-child(4) { border-top: 1px solid var(--line); }
  .spec-grid { grid-template-columns: 1fr; }
  .product-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .product-v2-hero { padding-top: 3rem; padding-bottom: 5.5rem; }
  .product-v2-hero .product-layout { gap: 2rem; }
  .product-v2-hero .product-photo { order: -1; transform: none; }
  .product-v2-hero .product-photo img { aspect-ratio: 16 / 10; }
  .product-v2-hero .product-summary h1 { font-size: clamp(2.6rem, 15vw, 4.4rem); }
  .product-subnav { top: 74px; }
  .product-subnav a { min-height: 48px; padding-inline: .8rem; font-size: .8rem; }
  .product-subnav a:first-child { padding-left: 0; }
  .key-spec-section { margin-top: -2rem; }
  .product-key-specs { grid-template-columns: 1fr 1fr; }
  .key-spec { padding: 1rem; }
  .key-spec strong { font-size: 1.12rem; }
  .overview-grid, .faq-layout, .source-layout { grid-template-columns: 1fr; }
  .product-media-grid { grid-template-columns: 1fr; }
  .faq-layout > div:first-child { position: static; }
  .product-highlight-grid { grid-template-columns: 1fr; }
  .product-highlight { min-height: 0; }
  .product-highlight h3 { margin-top: 1.2rem; }
  .spec-card dl > div { grid-template-columns: minmax(90px, .85fr) minmax(0, 1.15fr); padding-inline: 1rem; }
  .source-card li { grid-template-columns: 1fr; gap: .45rem; }
  .source-card li span { width: fit-content; }
}
