:root {
  --product-accent: #f3a319;
}

.product-page {
  background: #f2f2ee;
}

.product-page-header {
  grid-template-columns: minmax(260px, 1fr) auto minmax(150px, 1fr);
}

.back-to-series {
  justify-self: end;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0b0d0e;
  color: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.pdp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(430px, .85fr);
  min-height: 100vh;
  padding-top: 108px;
}

.product-visual {
  position: sticky;
  top: 0;
  min-height: calc(100vh - 108px);
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 42%, var(--product-accent), transparent 34%),
    linear-gradient(145deg, #e9e8e2, #f7f7f3 62%);
  transition: background .4s ease;
}

.product-visual::before {
  position: absolute;
  content: "";
  width: 46%;
  height: 160%;
  top: -30%;
  right: 4%;
  border-radius: 999px;
  background: var(--product-accent);
  opacity: .72;
  transform: rotate(27deg);
}

.product-visual-grid {
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(11, 13, 14, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 13, 14, .08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 85%);
}

.product-visual > img {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(84%, 840px);
  max-width: none;
  transform: translate(-50%, -50%) rotate(-5deg);
  filter: drop-shadow(0 40px 34px rgba(11, 13, 14, .25));
  transition: opacity .18s ease, transform .38s cubic-bezier(.2, .8, .2, 1);
}

.product-visual.is-changing > img {
  opacity: 0;
  transform: translate(-48%, -48%) rotate(-2deg) scale(.97);
}

.product-shadow {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 19%;
  width: 54%;
  height: 7%;
  border-radius: 50%;
  background: rgba(11, 13, 14, .25);
  filter: blur(25px);
  transform: translateX(-45%) rotate(-4deg);
}

.product-style-stamp,
.product-terrain-label {
  position: absolute;
  z-index: 3;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: 900;
  letter-spacing: .08em;
}

.product-style-stamp {
  top: 36px;
  left: 38px;
  font-size: clamp(64px, 8vw, 126px);
  color: rgba(11, 13, 14, .09);
  line-height: 1;
}

.product-terrain-label {
  top: 42px;
  right: 38px;
  padding: 10px 14px;
  border: 1px solid rgba(11, 13, 14, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  font-size: 11px;
}

.visual-note {
  position: absolute;
  z-index: 3;
  left: 38px;
  bottom: 32px;
  margin: 0;
  font-family: "Podlers Modern", Arial, sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-style: italic;
  font-weight: 800;
  line-height: .92;
}

.product-info {
  align-self: start;
  padding: clamp(60px, 7vw, 112px) clamp(32px, 5vw, 76px) 80px;
  background: #fff;
}

.product-kicker {
  margin: 0;
  color: var(--accent);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: .08em;
}

.product-info h1 {
  margin: 13px 0 18px;
  font-size: clamp(64px, 7vw, 108px);
  line-height: .84;
  letter-spacing: -.065em;
}

.product-lead {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.price-lockup {
  margin: 38px 0 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-lockup > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-label {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.price-lockup strong {
  font-size: clamp(40px, 4.5vw, 66px);
  line-height: .85;
}

.selection-block {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.selection-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 14px;
}

.selection-heading span {
  color: var(--muted);
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-option {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(11, 13, 14, .13);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.color-option span {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(11, 13, 14, .1);
  border-radius: 50%;
  background: var(--swatch);
}

.color-option.is-selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink);
}

.size-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(42px, 1fr));
  gap: 8px;
}

.size-options button {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.size-options button:hover,
.size-options button.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.size-options button:disabled {
  border-color: #ecece8;
  background: #f3f3ef;
  color: #b8b8b2;
  cursor: not-allowed;
  text-decoration: line-through;
}

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

.fit-note span {
  margin-right: 7px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
}

.availability-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.product-cta {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 50px rgba(11, 13, 14, .18);
  transition: transform .2s ease, background .2s ease;
}

.product-cta:hover {
  transform: translateY(-3px);
  background: #232826;
}

.product-cta span {
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
}

.product-cta strong {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.product-facts span {
  color: var(--muted);
  font-size: 12px;
}

.product-facts b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 18px;
}

.terrain-story {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  color: #fff;
}

.terrain-story > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terrain-story-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 9, 9, .82), rgba(7, 9, 9, .12) 74%);
}

.terrain-story-copy {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 6vw, 92px);
  bottom: clamp(44px, 8vw, 112px);
  width: min(720px, calc(100% - 44px));
}

.terrain-story-copy > p {
  margin: 0 0 18px;
  color: #b9e533;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.terrain-story-copy h2 {
  margin: 0;
  font-size: clamp(58px, 8vw, 126px);
  line-height: .88;
  letter-spacing: -.06em;
}

.terrain-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.terrain-points span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  font-size: 13px;
}

.detail-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  padding: clamp(72px, 9vw, 138px) clamp(20px, 5vw, 72px);
}

.detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 72px);
}

.detail-copy h2 {
  margin: 14px 0 22px;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .94;
}

.detail-copy > p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.detail-image {
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
}

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

.detail-image-tall {
  grid-row: span 2;
  min-height: 880px;
}

.colorway-section {
  padding: clamp(74px, 9vw, 132px) clamp(20px, 5vw, 72px);
  background: #fff;
}

.colorway-heading {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 22px 60px;
  align-items: end;
  margin-bottom: 54px;
}

.colorway-heading .product-kicker {
  grid-column: 1 / -1;
}

.colorway-heading h2 {
  margin: 0;
  font-size: clamp(58px, 7vw, 108px);
  line-height: .87;
}

.colorway-heading > p:last-child {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.colorway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.colorway-grid button {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f5f5f1;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}

.colorway-grid button:hover {
  transform: translateY(-5px);
  border-color: var(--ink);
}

.colorway-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform .25s ease;
}

.colorway-grid button:hover img {
  transform: scale(1.04) rotate(-2deg);
}

.colorway-grid span {
  display: block;
  padding: 2px 5px 8px;
  font-size: 14px;
  font-weight: 850;
}

.product-page-footer {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 42px clamp(20px, 5vw, 72px);
  background: #050505;
  color: #fff;
}

.product-page-footer img {
  width: 220px;
}

.product-page-footer p {
  margin: 0 auto 0 0;
  color: rgba(255, 255, 255, .56);
}

.product-page-footer a {
  font-weight: 800;
}

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

  .pdp-hero {
    grid-template-columns: 1fr;
  }

  .product-visual {
    position: relative;
    min-height: 68vh;
  }

  .product-info {
    padding-top: 60px;
  }

  .colorway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .back-to-series {
    padding: 10px 12px;
    font-size: 11px;
  }

  .product-visual {
    min-height: 62vh;
  }

  .product-visual > img {
    width: 104%;
  }

  .product-style-stamp {
    left: 20px;
    font-size: 64px;
  }

  .product-terrain-label {
    right: 18px;
  }

  .visual-note {
    left: 20px;
  }

  .product-info {
    padding: 52px 20px 64px;
  }

  .size-options {
    grid-template-columns: repeat(4, 1fr);
  }

  .terrain-story {
    min-height: 78vh;
  }

  .terrain-story-shade {
    background: linear-gradient(180deg, rgba(7, 9, 9, .08), rgba(7, 9, 9, .86));
  }

  .terrain-story-copy h2 {
    font-size: clamp(52px, 15vw, 82px);
  }

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

  .detail-image-tall {
    grid-row: auto;
    min-height: 520px;
  }

  .colorway-heading {
    grid-template-columns: 1fr;
  }

  .colorway-heading .product-kicker {
    grid-column: auto;
  }

  .colorway-grid {
    gap: 10px;
  }

  .colorway-grid button {
    padding: 10px;
    border-radius: 16px;
  }

  .product-page-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-page-footer p {
    margin: 0;
  }
}
