/*
 * Shared image-led product-detail mode.
 * Kept separate from site.css so the SS catalog rebuild can regenerate the
 * global bundle without overwriting the remaining product-page contract.
 */
.page-product-detail {
  background: var(--surface-white);
}

.page-product-detail .kicker,
.page-product-detail .section-head .kicker,
.page-product-detail .image-card > span,
.page-product-detail .image-card > small {
  color: var(--brand-red);
}

.page-product-detail h1 span,
.page-product-detail h2 span {
  color: var(--brand-red);
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  min-height: var(--inner-hero-height);
  background: var(--surface-black);
  color: var(--surface-white);
}

.product-detail-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 36px clamp(34px, 4vw, 64px);
}

.product-detail-hero-copy .kicker {
  margin-bottom: 14px;
  color: var(--brand-red);
}

.product-detail-hero-copy h1 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(42px, 4.1vw, 62px);
  line-height: .95;
}

.product-detail-hero-copy h1 span {
  display: block;
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.product-detail-hero-lead {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--text-gray-on-dark);
  font-size: 15px;
  line-height: 1.55;
}

.product-detail-hero .actions {
  margin-top: 20px;
}

.product-detail-hero-copy dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 20px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--line-on-dark);
}

.product-detail-hero-copy dl div {
  min-width: 0;
}

.product-detail-hero-copy dt {
  margin-bottom: 4px;
  color: var(--text-gray-on-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.product-detail-hero-copy dd {
  margin: 0;
  color: var(--surface-white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.product-detail-hero-media {
  display: grid;
  min-width: 0;
  min-height: var(--inner-hero-height);
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  background: #deddd8;
  color: var(--surface-black);
}

.product-detail-hero-media > a {
  display: block;
  min-height: 0;
  overflow: hidden;
}

.product-detail-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(.88) contrast(1.03);
  transition: transform 320ms ease, filter 320ms ease;
}

.product-detail-hero-media > a:hover img,
.product-detail-hero-media > a:focus-visible img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.015);
}

.product-detail-hero-media figcaption {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 22px;
  border-top: 1px solid var(--line-on-light);
  background: var(--surface-white);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.product-detail-hero-media figcaption span {
  color: var(--text-gray-on-light);
}

.product-detail-hero-media figcaption strong {
  color: var(--surface-black);
}

.product-detail-decisions {
  padding-top: 70px;
  padding-bottom: 78px;
}

.product-detail-decisions .section-head {
  margin-bottom: 30px;
}

.product-detail-decisions .section-head > p {
  max-width: 470px;
}

.product-detail-decisions .three-decisions article {
  min-height: 224px;
}

.page-product-detail .band {
  padding-top: 82px;
  padding-bottom: 82px;
}

.page-product-detail .band.product-detail-decisions {
  padding-top: 70px;
  padding-bottom: 78px;
}

.page-product-detail .overview-split > div:first-child {
  border-color: var(--line-on-light-strong);
}

.page-product-detail .dark .option-grid article,
.page-product-detail .dark .checkpoint-grid article {
  border-color: var(--line-on-dark);
  background: color-mix(in srgb, var(--surface-white) 3%, transparent);
}

.page-product-detail .product-gallery-card img {
  filter: saturate(.88) contrast(1.02);
  transition: transform 260ms ease, filter 260ms ease;
}

.page-product-detail .product-gallery-card:hover img,
.page-product-detail .product-gallery-card:focus-visible img {
  filter: saturate(1) contrast(1.03);
}

@media (min-width: 901px) {
  .product-detail-hero,
  .product-detail-hero-media {
    height: var(--inner-hero-height);
    min-height: var(--inner-hero-height);
    max-height: var(--inner-hero-height);
  }

  .product-detail-hero-copy {
    padding: 20px clamp(28px, 3.6vw, 54px);
  }

  .product-detail-hero-copy .kicker {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .product-detail-hero-copy h1 {
    margin-bottom: 8px;
    font-size: clamp(34px, 3.2vw, 48px);
    line-height: .96;
  }

  .product-detail-hero-lead {
    font-size: 14px;
    line-height: 1.4;
  }

  .product-detail-hero .actions {
    gap: 8px;
    margin-top: 12px;
  }

  .product-detail-hero .button {
    min-height: 40px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 10px;
  }

  .product-detail-hero-copy dl {
    gap: 8px 14px;
    margin-top: 12px;
    padding-top: 10px;
  }

  .product-detail-hero-copy dt {
    font-size: 8px;
  }

  .product-detail-hero-copy dd {
    font-size: 11px;
  }
}

@media (max-width: 1000px) {
  .product-detail-hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
  }

  .product-detail-hero-copy {
    padding-right: 28px;
    padding-left: 28px;
  }

  .product-detail-hero-copy h1 {
    font-size: clamp(34px, 4.3vw, 42px);
  }

  .product-detail-hero .button {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 900px) {
  .product-detail-hero {
    grid-template-columns: 1fr;
  }

  .product-detail-hero-copy {
    min-height: 0;
    padding: 46px 20px 38px;
  }

  .product-detail-hero-copy .kicker {
    margin-bottom: 12px;
  }

  .product-detail-hero-copy h1 {
    max-width: 520px;
    font-size: clamp(38px, 11vw, 52px);
  }

  .product-detail-hero-lead {
    font-size: 14px;
  }

  .product-detail-hero .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .product-detail-hero .actions .button {
    width: 100%;
    min-height: 48px;
    padding: 0 10px;
    font-size: 10px;
  }

  .product-detail-hero-copy dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .product-detail-hero-copy dt {
    font-size: 8px;
  }

  .product-detail-hero-copy dd {
    font-size: 11px;
  }

  .product-detail-hero-media {
    min-height: 300px;
    grid-template-rows: 256px auto;
  }

  .product-detail-hero-media figcaption {
    min-height: 44px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 9px;
  }

  .product-detail-decisions .section-head > p {
    max-width: none;
  }

  .page-product-detail .band,
  .page-product-detail .band.product-detail-decisions {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .product-detail-decisions .three-decisions article {
    min-height: 0;
  }
}
