:root {
  --paper: #ffffff;
  --ink: #151515;
  --soft: #f3f0ef;
  --line: #ded7d5;
  --mint: #72bb9b;
  --rose: #e7b3b3;
}

.product-page {
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}

.product-header {
  height: 76px;
}

.product-header .header-actions {
  gap: 0;
}

.support-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1440px;
  aspect-ratio: 1440 / 638;
  margin: 0 auto;
  overflow: hidden;
  background: #f5f5f5;
}

.support-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-callout {
  position: absolute;
  z-index: 2;
  max-width: 265px;
  padding: 9px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  font-size: 14px;
  line-height: 1.2;
}

.hero-callout::after {
  position: absolute;
  width: 75px;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
  content: "";
}

.callout-kicker {
  display: block;
  margin-top: 5px;
  font-weight: 700;
}

.callout-photo {
  display: block;
  width: min(100%, 145px);
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.callout-text {
  display: block;
}

.weld-callout {
  top: 31%;
  left: max(7%, calc(50% - 530px));
}

.weld-callout::after {
  top: 50%;
  right: -74px;
  transform: rotate(29deg);
  transform-origin: left center;
}

.material-callout {
  top: 9%;
  right: max(6%, calc(50% - 565px));
}

.material-callout::after {
  bottom: -35px;
  left: 32px;
  transform: rotate(54deg);
  transform-origin: left center;
}

.thickness-callout {
  right: max(4%, calc(50% - 535px));
  bottom: 19%;
}

.thickness-callout::after {
  top: 50%;
  left: -73px;
  transform: rotate(-23deg);
  transform-origin: right center;
}

.hero-more {
  position: absolute;
  z-index: 4;
  bottom: -18px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 38px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  transform: translateX(-50%);
}

.product-intro {
  width: min(100% - 40px, 1100px);
  margin: 0 auto;
  padding: 40px 0 26px;
  text-align: center;
}

.product-intro h2 {
  display: inline-block;
  margin: 0;
  padding: 0 18px 5px;
  border-bottom: 10px solid #d7c9ca;
  border-radius: 999px;
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1;
}

.technical-section,
.strength-section,
.product-purchase {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
}

.technical-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 8vw, 125px);
  align-items: start;
  padding: 10px 0 44px;
}

.technical-section h2 {
  margin: 0 0 20px;
  font-size: 19px;
  font-weight: 400;
}

.drawing-stage {
  position: relative;
  min-height: 330px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.drawing-stage img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(88%, 389px);
  max-height: 366px;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}

.measure {
  position: absolute;
  z-index: 1;
  padding: 3px 6px;
  border-radius: 5px;
  color: #252525;
  background: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1;
}

.measure::before {
  position: absolute;
  width: 30px;
  height: 1px;
  background: #555;
  content: "";
}

.measure-top {
  top: 22px;
  left: 62%;
}

.measure-top::before {
  bottom: -13px;
  left: -4px;
  transform: rotate(72deg);
  transform-origin: left center;
}

.measure-left {
  top: 48%;
  left: 0;
}

.measure-left::before {
  top: 50%;
  right: -33px;
}

.measure-bottom {
  right: 1px;
  bottom: -22px;
}

.measure-bottom::before {
  top: -11px;
  left: 12px;
  width: 64px;
  transform: rotate(-15deg);
}

.measure-base {
  bottom: 36px;
  left: 2px;
}

.measure-base::before {
  top: 50%;
  right: -34px;
}

.technical-description {
  font-size: 16px;
  line-height: 1.33;
}

.technical-description p {
  margin: 0 0 19px;
}

.lifestyle-section {
  position: relative;
  width: 100%;
  max-width: 1440px;
  aspect-ratio: 1440 / 625;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.lifestyle-section > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lifestyle-note {
  position: absolute;
  max-width: 245px;
  padding: 14px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.17);
  font-size: 15px;
  line-height: 1.17;
}

.lifestyle-note-right {
  top: 26px;
  right: max(6%, calc(50% - 500px));
}

.lifestyle-note-left {
  bottom: 35px;
  left: max(5%, calc(50% - 520px));
}

.strength-section {
  display: grid;
  grid-template-columns: 250px minmax(300px, 1fr) 240px;
  gap: clamp(30px, 5vw, 75px);
  align-items: center;
  padding: 42px 0 32px;
}

.strength-card,
.strength-checklist {
  min-height: 240px;
  border-radius: 18px;
}

.strength-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 16px 10px;
  border: 5px solid var(--mint);
  background: #eefaf4;
  text-align: center;
}

.strength-card img {
  width: min(100%, 229px);
  height: auto;
  margin: auto;
  object-fit: contain;
}

.strength-card span {
  font-size: 15px;
}

.strength-copy {
  text-align: center;
}

.strength-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.03;
  text-transform: uppercase;
}

.strength-copy p,
.strength-copy li,
.strength-checklist p {
  font-size: 15px;
  line-height: 1.35;
}

.strength-copy p {
  margin: 0 0 12px;
}

.strength-copy ul {
  display: inline-grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  text-align: left;
  list-style: none;
}

.strength-copy li::before {
  margin-right: 7px;
  color: var(--mint);
  content: "●";
}

.strength-checklist {
  padding: 20px;
  border: 4px solid var(--rose);
  background: #fffafa;
}

.strength-checklist img {
  display: block;
  width: min(100%, 229px);
  height: auto;
  margin: 0 auto 14px;
  border-radius: 10px;
}

.strength-checklist h3 {
  margin: 0 0 13px;
  font-size: 18px;
  text-transform: uppercase;
}

.strength-checklist p {
  margin: 0;
}

.product-story {
  width: min(100% - 48px, 1100px);
  margin: 0 auto;
  padding: 12px 0 42px;
  border-bottom: 1px solid var(--line);
}

.product-story h2 {
  margin: 0 0 15px;
  font-size: 20px;
  line-height: 1.12;
  text-transform: uppercase;
}

.product-story p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.42;
}

.product-purchase {
  padding: 42px 0 35px;
}

.product-purchase > h2 {
  margin: 0 0 32px;
  font-size: clamp(25px, 2.6vw, 37px);
  line-height: 1.06;
}

.purchase-grid {
  display: grid;
  grid-template-columns: 225px minmax(240px, 1fr) minmax(255px, 0.8fr);
  gap: clamp(24px, 5vw, 66px);
  align-items: center;
}

.purchase-photo {
  min-height: 313px;
  border-radius: 19px;
  background: #f5f5f5;
}

.purchase-photo img {
  display: block;
  width: min(100%, 345px);
  height: auto;
  max-height: 313px;
  margin: 0 auto;
  object-fit: contain;
}

.purchase-specs {
  display: grid;
  gap: 7px;
  margin: 0;
}

.purchase-specs div {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 12px;
  font-size: 15px;
  line-height: 1.25;
}

.purchase-specs dt {
  color: #575757;
}

.purchase-specs dd {
  margin: 0;
  font-weight: 700;
}

.purchase-side {
  display: grid;
  gap: 10px;
}

.product-cart-form {
  display: grid;
  grid-template-columns: 110px minmax(150px, 1fr);
  gap: 10px;
  align-items: end;
}

.product-cart-form label {
  display: grid;
  gap: 5px;
  color: #555;
  font-size: 12px;
}

.product-cart-form input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  padding: 7px 10px;
  font: inherit;
  font-size: 15px;
}

.product-cart-button {
  min-height: 42px;
  border: 1px solid #111;
  padding: 9px 15px;
  color: #fff;
  background: #111;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-transform: uppercase;
}

.product-cart-button:hover {
  background: #333;
}

.product-price {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  font-size: 29px;
  font-weight: 700;
}

.stock-note {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  color: #535353;
  font-size: 14px;
  line-height: 1.25;
}

.cart-soon {
  justify-self: end;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #fff;
  background: #292929;
  cursor: not-allowed;
  opacity: 0.78;
  font: inherit;
  font-size: 14px;
}

.bottom-photo {
  width: 100%;
  max-width: 1440px;
  aspect-ratio: 1440 / 568;
  height: auto;
  margin: 0 auto;
}

.bottom-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-footer {
  padding-top: 28px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 900px) {
  .technical-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .technical-description {
    max-width: 680px;
  }

  .strength-section {
    grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.2fr);
  }

  .strength-checklist {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .purchase-grid {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .purchase-side {
    grid-column: 1 / -1;
    grid-template-columns: minmax(200px, 0.7fr) 1fr;
    align-items: start;
  }

  .cart-soon {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .product-header {
    height: auto;
  }

  .hero-callout {
    max-width: min(76vw, 270px);
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero-callout::after {
    display: none;
  }

  .weld-callout {
    top: 28px;
    left: 16px;
  }

  .material-callout {
    top: 135px;
    right: 16px;
  }

  .thickness-callout {
    right: auto;
    bottom: 41px;
    left: 16px;
  }

  .product-intro,
  .technical-section,
  .strength-section,
  .product-purchase,
  .product-story {
    width: min(100% - 32px, 1120px);
  }

  .product-intro {
    padding-top: 34px;
  }

  .product-intro h2 {
    padding-right: 3px;
    padding-left: 3px;
    border-bottom-width: 6px;
  }

  .drawing-stage {
    min-height: 280px;
  }

  .lifestyle-note {
    max-width: 205px;
    padding: 10px;
    font-size: 13px;
  }

  .lifestyle-note-right {
    top: 15px;
    right: 15px;
  }

  .lifestyle-note-left {
    bottom: 15px;
    left: 15px;
  }

  .strength-section,
  .purchase-grid,
  .purchase-side {
    grid-template-columns: 1fr;
  }

  .strength-card {
    max-width: 260px;
    margin: 0 auto;
  }

  .strength-checklist,
  .purchase-side,
  .cart-soon {
    grid-column: auto;
  }

  .purchase-photo {
    max-width: 245px;
  }

  .product-price {
    font-size: 25px;
  }

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