.catalog-card {
  min-width: 0;
  border-radius: 14px;
  background: var(--white);
}

.catalog-card .product-card-media {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.catalog-card .product-card-image,
.catalog-card .product-card-placeholder {
  aspect-ratio: 5 / 4;
  object-fit: contain;
}

.catalog-card .mount-size-tag {
  inset: 10px auto auto 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.catalog-card .product-card-info {
  gap: 7px;
  padding: clamp(12px, 2vw, 22px);
}

.catalog-card h3 {
  font-size: clamp(.98rem, 1.6vw, 1.19rem);
  overflow-wrap: anywhere;
  text-wrap: wrap;
}

.catalog-card-type,
.catalog-product-type {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.catalog-card-facts,
.catalog-product-fit {
  display: grid;
  gap: 6px;
  margin: 0;
}

.catalog-card-facts > div,
.catalog-product-fit > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1px 10px;
  min-width: 0;
}

.catalog-card-facts {
  margin-block: 4px;
  font-size: .82rem;
  line-height: 1.35;
}

.catalog-card-facts dt,
.catalog-product-fit dt { color: var(--muted); }
.catalog-card-facts dd,
.catalog-product-fit dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }

.catalog-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 5px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.catalog-card-footer .price { font-size: clamp(.98rem, 1.6vw, 1.24rem); }
.catalog-card-footer .price-row { gap: 0 7px; }
.catalog-card-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
}

.catalog-availability {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 640;
}

.catalog-availability::before {
  width: .4rem;
  height: .4rem;
  flex: none;
  border-radius: 50%;
  background: currentColor;
  content: '';
}

.catalog-availability[data-availability="available"] { color: #226344; }

.page-lead:has(+ .catalog-product) { padding-block: clamp(24px, 4vw, 48px) clamp(16px, 2.4vw, 30px); }
.page-lead:has(+ .catalog-product) h1 { font-size: clamp(1.9rem, 4vw, 3.4rem); }
.page-lead + .catalog-product { padding-top: 0; }

.catalog-product .detail-layout {
  gap: clamp(14px, 3.5vw, 46px);
}

.catalog-product .details-image,
.catalog-product .gallery-viewport {
  background: var(--soft);
}

.catalog-product .gallery-extra a[aria-current="true"] img {
  box-shadow: 0 0 0 1px var(--blue);
}

.catalog-product-overview {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.catalog-product-overview h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
.catalog-product-summary { color: var(--ink); overflow-wrap: anywhere; }

.catalog-product-fit {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--paper);
  font-size: .92rem;
}

.catalog-product-purchase {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.catalog-product-purchase .price { font-size: clamp(1.32rem, 2.6vw, 1.85rem); }

.catalog-specifications {
  margin-top: clamp(18px, 3vw, 34px);
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.catalog-specifications h2 { margin-bottom: 10px; font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.catalog-specifications .specs > div:last-child { border-bottom: 0; padding-bottom: 0; }
.catalog-specifications .specs dt { overflow-wrap: anywhere; }

.order-card--product {
  margin-inline: auto;
  padding: clamp(16px, 4vw, 32px);
}

.order-card--product .order-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.order-card--product .order-summary--image { grid-template-columns: 58px minmax(0, 1fr) auto; }
.order-summary-image {
  width: 58px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  object-fit: contain;
}
.order-summary-copy { min-width: 0; overflow-wrap: anywhere; }
.order-summary-copy .note { margin-top: 3px; line-height: 1.35; }

.order-card--product .subtotal,
.order-card--product .checkout-fees { background: var(--paper); }
.order-card--product .checkout-fees { border: 1px solid var(--line); }
.order-card--product .checkout-branch { background: var(--paper); }

.order-submit {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 18px;
}

.order-submit .note { max-width: 45ch; }
.order-card--product .order-submit {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

@media (max-width: 520px) {
  .catalog-card-arrow { width: 27px; height: 27px; }
  .catalog-card-facts { font-size: .76rem; }
  .catalog-card-type { font-size: .78rem; }
  .catalog-card .mount-size-tag { inset: 7px auto auto 7px; }
  .catalog-product-overview { gap: 12px; }
  .catalog-product-purchase > .button { flex: 1 0 auto; }
  .order-card--product .order-summary { grid-template-columns: minmax(0, 1fr); }
  .order-card--product .order-summary--image { grid-template-columns: 44px minmax(0, 1fr); }
  .order-summary-image { width: 44px; height: 44px; }
  .order-summary--image > :last-child { grid-column: 2; }
  .order-submit > .button { width: 100%; }
}
#protection-types .choice-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: stretch; }
#protection-types .choice-card { padding: 28px; gap: 20px; border-radius: 18px; background: white; }
#protection-types .choice-card h3 { font-size: 1.4rem; line-height: 1.22; }
#protection-types .choice-card .price { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
#protection-types .choice-card > .text-link { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
#protection-types .choice-card[aria-current="true"] { border-color: var(--blue); background: #f2f6ff; }
.size-help { padding: 20px 24px; }
.size-help summary { cursor: pointer; font-weight: 650; }
.size-help[open] > p { margin-top: 16px; }
@media (max-width: 760px) {
  #protection-types .choice-card { padding: 22px; gap: 14px; }
  #protection-types .choice-card .stack { gap: 8px; }
}

/* Product and ordering surfaces share the homepage's spacing and blue accents. */
body:has(.catalog-product) { background: #f8fafb; }
.catalog-product .detail-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); }
.catalog-product .details-gallery { min-width: 0; }
.catalog-product .details-image, .catalog-product .gallery-viewport {
  border: 0;
  border-radius: 24px;
  background: #eaf0f5;
}
.catalog-product .details-image { aspect-ratio: 1.12; }
.catalog-product .gallery-viewport .details-image { border-radius: 0; }
.catalog-product .gallery-extra { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.catalog-product .gallery-extra a { width: 76px; border-radius: 12px; }
.catalog-product .gallery-extra img { border-radius: 12px; aspect-ratio: 1; background: #eaf0f5; }
.catalog-product .gallery-extra a[aria-current="true"] img { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.catalog-product .catalog-product-overview { padding: 10px 0 0; border: 0; background: none; border-radius: 0; gap: 24px; }
.catalog-product-overview h2 { font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.045em; line-height: 1.08; }
.catalog-product-type { color: var(--blue); font-weight: 650; font-size: .95rem; }
.catalog-product-summary { color: #526069; font-size: 1.05rem; line-height: 1.75; white-space: pre-line; }
.catalog-product-fit { background: white; border: 1px solid #dfe6ed; border-radius: 16px; padding: 8px 20px; gap: 0; }
.catalog-product-fit > div { padding: 13px 0; gap: 6px 16px; }
.catalog-product-fit > div + div { border-top: 1px solid #e8edf2; }
.catalog-product-purchase { padding-top: 24px; align-items: center; }
.catalog-product-purchase .price { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.catalog-product-purchase .catalog-availability { margin-top: 6px; }
.catalog-product-purchase > .product-quantity { flex: 1 0 100%; }
.product-quantity[hidden], .product-subtotal[hidden] { display: none; }
.product-quantity label { font-size: .88rem; font-weight: 600; }
.product-quantity .quantity-stepper { gap: 8px; }
.product-quantity input, .product-quantity button { min-height: 50px; border-radius: 12px; }
.quantity-stepper button:disabled { opacity: .4; cursor: default; }
.catalog-product-purchase .product-subtotal { display: flex; flex: 1 0 100%; align-items: baseline; justify-content: space-between; gap: 16px; }
.catalog-product-purchase .product-subtotal[hidden] { display: none; }
.product-subtotal span { color: var(--muted); font-size: .88rem; }
.product-subtotal output { font-size: 1.3rem; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.catalog-product-purchase .button, .order-card .button { min-height: 50px; padding-inline: 24px; border-radius: 28px; }
.catalog-specifications { margin-top: 56px; padding: 32px; border: 0; border-radius: 24px; background: #edf2f6; }
.catalog-specifications h2 { margin-bottom: 24px; font-size: clamp(1.5rem, 2.7vw, 2.2rem); letter-spacing: -.035em; }
.catalog-specifications .specs > div { gap: 12px 24px; padding-block: 15px; }
.catalog-specifications .specs dd { font-weight: 550; overflow-wrap: anywhere; }
.catalog-order-section { background: #eaf0f5; padding-block: clamp(48px, 6vw, 96px); }
.order-card--product {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 32px;
  max-width: none;
  padding: 0;
  background: none;
  border: 0;
}
.order-card--product > * { margin-top: 0; min-width: 0; }
.order-card--product > h2, .order-card--product > .error { grid-column: 1 / -1; }
.order-card--product > h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; line-height: 1.1; margin-bottom: 4px; }
.order-card--product .order-summary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  position: sticky;
  top: 108px;
  padding: 24px;
  border: 0;
  border-radius: 24px;
  background: #082c54;
  color: white;
}
.order-card--product .order-summary-image { width: 100%; height: auto; aspect-ratio: 4 / 3; border: 0; border-radius: 14px; background: #eef3f8; }
.order-card--product .order-summary-copy strong { display: block; font-size: 1.3rem; line-height: 1.3; letter-spacing: -.025em; }
.order-card--product .order-summary .note { color: #c6d8e9; font-size: .87rem; margin-top: 10px; }
.order-card--product .order-summary .price { color: white; font-size: 1.75rem; letter-spacing: -.035em; }
.order-card--product .order-summary .price-row { border-top: 1px solid #ffffff30; padding-top: 20px; }
.order-card--product .order-summary del { color: #c6d8e9; }
.order-fields { padding: clamp(20px, 3vw, 36px); background: white; border-radius: 24px; min-width: 0; }
.order-fields .fields { gap: 22px 20px; }
.order-fields .field label, .order-fields legend { font-size: .88rem; font-weight: 600; }
.order-fields .field input, .order-fields .field select, .order-fields .field textarea {
  min-height: 50px;
  padding: 12px 14px;
  border-color: #cdd7e1;
  border-radius: 12px;
  font-size: 1rem;
}
.order-fields .field input[readonly] { background: #f3f6f8; color: #526069; }
.order-fields .field textarea { min-height: 96px; }
.order-fields .field input:focus-visible, .order-fields .field select:focus-visible, .order-fields .field textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--blue);
}
.order-fields .subtotal { padding: 18px 20px; border-radius: 14px; background: #edf3fa; align-items: center; justify-content: space-between; }
.order-fields .subtotal .price { font-size: 1.7rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.order-fields .checkout-branch { padding: 20px; border-radius: 16px; background: #f6f8fa; }
.order-fields .checkout-fees { padding: 20px; border: 0; border-radius: 16px; background: #edf3fa; }
.order-fields .checkout-fees dl > div { gap: 8px 16px; padding-block: 6px; }
.order-fields .checkout-add-on { padding: 16px; border-color: #dce4ec; border-radius: 14px; }
.order-fields .order-submit { flex-direction: column; align-items: stretch; gap: 18px; padding-top: 24px; }
.order-fields .order-submit .note { max-width: none; font-size: .84rem; line-height: 1.65; }
.order-fields .order-submit .button { width: 100%; justify-content: space-between; }
.order-fields .quantity-stepper { gap: 8px; }
.order-fields .quantity-stepper button { border-radius: 12px; background: #edf3fa; }
@media (prefers-reduced-motion: no-preference) {
  .order-fields input, .order-fields select, .order-fields textarea { transition: border-color 180ms ease, background-color 180ms ease; }
  .catalog-product .gallery-extra img { transition: border-color 180ms ease, box-shadow 180ms ease; }
}
@media (max-width: 900px) {
  .catalog-product .detail-layout { grid-template-columns: 1fr 1fr; gap: 24px; }
  .order-card--product { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.3fr); gap: 22px; }
  .order-fields .fields.two { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .catalog-product .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .catalog-product .details-image { aspect-ratio: 4/3; }
  .catalog-product .catalog-product-overview { gap: 20px; }
  .catalog-product .gallery-extra a { width: 60px; }
  .catalog-product .details-image, .catalog-product .gallery-viewport { border-radius: 18px; }
  .catalog-product-purchase { gap: 20px; }
  .catalog-product-purchase > .button { width: 100%; }
  .catalog-specifications { margin-top: 32px; padding: 22px; border-radius: 18px; }
  .order-card--product { grid-template-columns: 1fr; gap: 22px; }
  .order-card--product .order-summary { position: static; display: grid; grid-template-columns: 70px minmax(0, 1fr); padding: 20px; gap: 16px; border-radius: 18px; }
  .order-card--product .order-summary-image { width: 70px; height: 70px; aspect-ratio: 1; border-radius: 10px; }
  .order-card--product .order-summary-copy strong { font-size: 1.05rem; }
  .order-card--product .order-summary > .price-row { grid-column: 1 / -1; padding-top: 14px; }
  .order-card--product .order-summary:not(.order-summary--image) { grid-template-columns: 1fr; }
  .order-card--product .order-summary .price { font-size: 1.5rem; }
  .order-fields { padding: 22px 18px; border-radius: 18px; }
  .order-fields .fields { gap: 20px; }
  .order-fields .checkout-branch { padding: 14px; }
  .order-fields .subtotal { padding: 16px; }
}
