/* ===== Single Product Page (EARMOR) ===== */

/* ----- Breadcrumbs ----- */
.pd-crumbs { background: #0a0a0a; border-bottom: 1px solid rgba(255,255,255,0.06); }
.pd-crumbs__inner {
  width: min(1350px, 100%);
  margin: 0 auto;
  padding: 32px 24px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.pd-crumbs a { color: rgba(255,255,255,0.55); text-decoration: none; }
.pd-crumbs a:hover { color: #F1B300; }
.pd-crumbs__sep { color: rgba(241,179,0,0.6); }
.pd-crumbs__cur { color: #fff; }

/* ----- Hero: image gallery (left thumbnails + right main image) ----- */
.pd-hero {
  --pd-stage-h: 560px;        /* fixed main-image height; thumbnails match it */
  background: #0a0a0a;
  color: #fff;
  padding: 60px;
  max-width: 1400px;
  margin: 0 auto 32px;
}
.pd-hero__grid {
  display: grid;
  grid-template-columns: 130px 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* Thumbnails (left column) — pure image, no text.
   Fixed to the main-image height; when the list overflows,
   up/down arrows appear so visitors can scroll it. */
.pd-hero__posters {
  display: flex;
  flex-direction: column;
  gap: 0px;
/*   border: 1px solid rgba(241,179,0,0.5); */
  background: #0d0d0d;
  padding: 10px;
  height: var(--pd-stage-h, 560px);
}
.pd-posters__viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.pd-posters__viewport::-webkit-scrollbar { width: 0; height: 0; }
/* Up / down arrows — hidden until the list is taller than the box */
.pd-posters__nav {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 26px;
  flex: 0 0 auto;
  padding: 0;
  background: rgba(241,179,0,0.10);
  border: 1px solid rgba(241,179,0,0.35);
  color: #F1B300;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.pd-hero__posters.has-overflow .pd-posters__nav { display: flex; }
.pd-posters__nav--up { margin-bottom: 6px; }
.pd-posters__nav--down { margin-top: 6px; }
.pd-posters__nav:hover:not(:disabled) { background: #F1B300; color: #0a0a0a; }
.pd-posters__nav:disabled { opacity: 0.3; cursor: default; }
.pd-posters__nav svg { width: 15px; height: 15px; display: block; }
.pd-poster {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0;
  margin: 0;
  background: #111;
  line-height: 0;            /* kill inline-image baseline gap */
  display: block;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}
.pd-poster:hover { border-color: rgba(241,179,0,0.6); }
.pd-poster.is-active { border-color: #F1B300; transform: translateY(-2px); }
.pd-poster__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.pd-poster__empty {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 20px 0;
  margin: 0;
}

/* Main image (right big image) — pure image, no overlay text */
.pd-hero__stage {
  position: relative;
  background: #141414;
  border: 1px solid rgba(241,179,0,0.5);
  height: var(--pd-stage-h, 560px);   /* fixed main-image size */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}
.pd-stage__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.28s ease;
}
.pd-stage__img.is-switching { opacity: 0; }
.pd-stage__placeholder {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

/* Right info column (independent of gallery switch) */
.pd-hero__info {
  background: #0d0d0d;
  border: 1px solid rgba(241,179,0,0.5);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: var(--pd-stage-h, 560px);   /* match the main image height */
  overflow-y: auto;
}
.pd-info__title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.15;
}
.pd-info__eyebrow {
  color: #F1B300;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
.pd-info__desc {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.pd-info__colors {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-info__label {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.pd-info__swatches { display: flex; gap: 12px; }
.pd-info__swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.22);
  display: inline-block;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.pd-info__swatch:hover { border-color: rgba(241,179,0,0.7); transform: translateY(-1px); }
.pd-info__swatch.is-active { border-color: #F1B300; box-shadow: 0 0 0 2px rgba(241,179,0,0.2); }

/* ----- Specs table ----- */
.pd-specs { background: #0a0a0a; color: #fff; border-top: 1px solid rgba(241,179,0,0.22); }
.pd-specs__inner {
  width: min(1350px, 100%);
  margin: 0 auto;
  padding: 30px 24px;
}
.pd-specs__title {
  color: #F1B300;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 28px;
}
.pd-specs__group { margin-top: 4px; }
.pd-specs__toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F1B300;
  color: #0a0a0a;
  border: 1px solid #F1B300;
  border-radius: 2px;
  padding: 14px 18px;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.pd-specs__toggle:hover { background: #0a0a0a; color: #F1B300; }
.pd-specs__toggle-label { line-height: 1; }
.pd-specs__arrow {
  position: relative;
  width: 12px;
  height: 12px;
  transition: transform .25s ease;
  flex: 0 0 auto;
}
.pd-specs__arrow::before,
.pd-specs__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}
.pd-specs__arrow::before { transform: translate(-50%, -50%) rotate(45deg); }
.pd-specs__arrow::after  { transform: translate(-50%, -50%) rotate(-45deg) translate(0, 0); }
.pd-specs__toggle[aria-expanded="false"] .pd-specs__arrow {
  transform: rotate(180deg);
}
.pd-specs__content {
  overflow: hidden;
  max-height: 4000px;
  transition: max-height .35s ease;
  padding-top: 18px;
}
.pd-specs__group.is-collapsed .pd-specs__content {
  max-height: 0;
  padding-top: 0;
}
.pd-specs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 300px;
}
.pd-specs__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(241,179,0,0.16);
}
.pd-specs__label {
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}
.pd-specs__value {
  color: #fff;
  font-size: 15px;
  text-align: left;
}

/* ----- Stay Connected block ----- */
.pd-stay { background: #0a0a0a; color: #fff; border-top: 1px solid rgba(241,179,0,0.22); }
.pd-stay__inner {
  width: min(1350px, 100%);
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 480px;
}
.pd-stay--has-media .pd-stay__text {
  position: relative;
  z-index: 1;
  max-width: 52%;
	top:-40px;
}
.pd-stay__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
	width:100%;
	height:70%
}
.pd-stay__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-stay__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.12) 100%);
}
.pd-stay__title {
  color: #fff;
  font-size: clamp(28px, 4vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.pd-stay__title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #F1B300;
  margin: 18px 0 0;
}
.pd-stay__desc {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 26px;
}
.pd-stay__cta {
  display: inline-block;
  background: #F1B300;
  color: #0a0a0a;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s;
}
.pd-stay__cta:hover { background: #ffc427; }

/* ----- Feature icons ----- */
.pd-features { background: #0d0d0d; color: #fff; }
.pd-features__inner {
  width: min(1350px, 100%);
  margin: 0 auto;
  padding: 30px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pd-feature {
  text-align: center;
  padding: 36px 28px 32px;
  background: #141414;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border-color .2s ease, transform .2s ease;
}
.pd-feature:hover {
  border-color: #F1B300;
  transform: translateY(-2px);
}
.pd-feature__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  color: #F1B300;
  display: flex; align-items: center; justify-content: center;
}
.pd-feature__icon svg { width: 100%; height: 100%; }
.pd-feature__icon--img { width: 56px; height: 56px; padding: 0; }
.pd-feature__icon--img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-feature__title {
  font-size: 15px; font-weight: 700; margin: 0 0 8px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.pd-feature__desc {
  font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; margin: 0;
}

/* ----- Video ----- */
.pd-video { background: #0a0a0a; padding: 48px 24px; }
.pd-video__inner { width: min(1350px, 100%); margin: 0 auto; }
.pd-video__el { width: 100%; height: auto; display: block; background: #000; }
/* YouTube / Vimeo 播放器：16:9 自适应，铺满容器 */
.pd-video__frame-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.pd-video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@supports not (aspect-ratio: 16 / 9) {
  .pd-video__frame-wrap { height: 0; padding-bottom: 56.25%; }
}

/* ----- Feature blocks ----- */
.pd-block { background: #0a0a0a; color: #fff; }
.pd-block__inner {
  width: min(1350px, 100%);
  margin: 0 auto;
  padding: 0px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.pd-block--rev .pd-block__text { order: 2; }
.pd-block--rev .pd-block__media { order: 1; }
.pd-block__text {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.pd-block__eyebrow {
  color: #F1B300; font-weight: 800; letter-spacing: 0.12em;
  font-size: 13px; margin: 0 0 12px; text-transform: uppercase;
  position: relative; padding-top: 16px;
}
.pd-block__eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 56px; height: 3px; background: #F1B300;
}
.pd-block__title {
  font-size: clamp(24px, 3vw, 38px); font-weight: 800;
  margin: 0 0 18px; line-height: 1.2; text-transform: uppercase;
}
.pd-block__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.pd-block__list li {
  position: relative; padding-left: 30px;
  font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6;
}
.pd-block__list li::before {
  content: "✓";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background: #F1B300; color: #0a0a0a;
  font-size: 13px; font-weight: 900;
  line-height: 18px; text-align: center;
}
.pd-block__media img { width: 100%; height: auto; display: block; }

/* ----- FAQ ----- */
.pd-faq { background: #0d0d0d; color: #fff; }
.pd-faq__inner { width: min(1350px, 100%); margin: 0 auto; padding: 64px 24px; }
.pd-faq__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.pd-faq__media img { width: 100%; height: auto; display: block; border-radius: 4px; }
.pd-faq__list-wrap { min-width: 0; }
.pd-faq__title {
  color: #F1B300; font-size: clamp(24px, 3vw, 34px);
  font-weight: 800; letter-spacing: 0.1em; margin: 0 0 24px;
}
.pd-faq__item { border-bottom: 1px solid rgba(241,179,0,0.25); }
.pd-faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; background: none; border: none; color: #fff;
  font-size: 15px; font-weight: 700; text-align: left;
  padding: 18px 0; cursor: pointer;
}
.pd-faq__toggle::before { content: "+"; color: #F1B300; font-size: 20px; font-weight: 700; }
.pd-faq__item.is-open .pd-faq__toggle::before { content: "\2013"; }
.pd-faq__a {
  padding: 0 0 18px;
  font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7;
}

/* ----- Related products ----- */
.pd-related { background: #0a0a0a; color: #fff; border-top: 1px solid #F1B300; }
.pd-related__inner { width: min(1350px, 100%); margin: 0 auto; padding: 56px 24px; }
.pd-related__title {
  color: #fff; font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800; letter-spacing: 0.08em; margin: 0 0 24px;
}
.pd-related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pd-rel-card {
  display: block; text-decoration: none; color: #fff;
  background: #0d0d0d; border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s, transform 0.2s;
}
.pd-rel-card:hover { border-color: #F1B300; transform: translateY(-3px); }
.pd-rel-card__media {
  display: block; aspect-ratio: 3 / 2; background: #141414; overflow: hidden;
}
.pd-rel-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-rel-card__title {
  display: block; font-size: 14px; font-weight: 700;
  padding: 14px 14px 18px; line-height: 1.4;
}
.pd-related__carousel { position: relative; }
.pd-related__viewport { overflow: hidden; padding: 6px 0; }
.pd-related__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  background: rgba(10,10,10,0.7); color: #F1B300;
  border: 1px solid rgba(241,179,0,0.35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.pd-related__arrow svg { width: 20px; height: 20px; display: block; }
.pd-related__arrow:hover:not(:disabled) {
  background: #F1B300; color: #0a0a0a; border-color: #F1B300;
}
.pd-related__arrow:disabled { opacity: 0.35; cursor: default; }
.pd-related__arrow--prev { left: -46px; }
.pd-related__arrow--next { right: -46px; }
.pd-rel-card--hidden { display: none; }

/* ----- IPSC block ----- */
.pc-ipsc {
  background-color: #0a0a0a;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'><g fill='none' stroke='%23F1B300' stroke-opacity='0.08' stroke-width='1'><path d='M28 1L55 16L55 48L28 63L1 48L1 16Z'/><path d='M28 51L55 66L55 98L28 113L1 98L1 66Z'/></g></svg>");
  background-size: 56px 100px;
  background-repeat: repeat;
  border-top: 1px solid rgba(241, 179, 0, 0.25);
  color: #fff;
  text-align: center;
}
.pc-ipsc__inner {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 64px 24px;
}
.pc-ipsc__title {
  color: #F1B300;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  line-height: 1.1;
}
.pc-ipsc__desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .pd-hero__grid { grid-template-columns: 130px 1fr; }
  .pd-hero__info { grid-column: 1 / -1; height: auto; }
}
@media (max-width: 900px) {
  .pd-hero { padding: 18px; --pd-stage-h: 360px; }
  .pd-hero__grid { grid-template-columns: 1fr; }
  /* thumbnails become a horizontal strip — the vertical arrows are not used */
  .pd-hero__posters {
    flex-direction: row;
    height: auto;
    padding: 8px;
  }
  .pd-posters__viewport {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
  }
  .pd-posters__nav { display: none !important; }
  .pd-poster {
    flex: 0 0 120px;
    min-width: 120px;
    margin-right: 0;
  }
  .pd-hero__stage { padding: 10px; }
  .pd-faq__layout { grid-template-columns: 1fr; gap: 32px; }
  .pd-specs__grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .pd-hero { --pd-stage-h: 300px; }
  .pd-hero__stage { padding: 8px; }
  .pd-specs__inner { padding: 44px 18px; }
}
.pd-hero .pd-crumbs { background: transparent; border-bottom: none; margin-bottom: 8px; }
.pd-hero .pd-crumbs__inner { padding: 0; }
