.product-page { padding-top: 7.5rem; padding-bottom: 4rem; min-height: 75vh; }
.product-page .crumb { margin-bottom: 1.5rem; }
.product-page a:not(.btn) { color: var(--blue); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.product-layout h1 { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.2; overflow-wrap: anywhere; }
.product-price { font-size: 1.8rem; font-weight: 700; margin: 1rem 0; }
.product-price del { margin-inline-start: .75rem; font-size: 1rem; opacity: .65; }
.product-photo { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border: 1px solid #dce1e9; border-radius: 12px; background: white; padding: .5rem; cursor: zoom-in; }
.product-photo img { width: 100%; height: 100%; object-fit: contain; }
.photo-controls { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: .5rem; }
.photo-controls[hidden] { display: none; }
.photo-controls button, #closeZoom { border: 1px solid #c8d0dd; border-radius: 8px; background: white; color: #17233d; cursor: pointer; min-width: 44px; min-height: 44px; font-size: 1.5rem; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.product-thumbs button { width: clamp(54px, 10vw, 76px); aspect-ratio: 1; padding: 3px; background: white; border: 2px solid #dce1e9; border-radius: 8px; cursor: pointer; }
.product-thumbs button[aria-pressed="true"] { border-color: var(--blue); }
.product-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-description { margin-top: 2.5rem; border-top: 1px solid #dce1e9; padding-top: 1.5rem; }
.product-description p { white-space: pre-line; overflow-wrap: anywhere; }
.photo-dialog { position: fixed; inset: 0; margin: auto; padding: .75rem; border: none; border-radius: 10px; background: white; max-width: 95vw; max-height: 95vh; }
.photo-dialog::backdrop { background: rgb(0 0 0 / 80%); }
.photo-dialog img { display: block; max-width: 88vw; max-height: 78vh; object-fit: contain; margin-top: .5rem; }
@media (max-width: 720px) {
  .product-page { padding-top: 6rem; }
  .product-layout { grid-template-columns: minmax(0, 1fr); }
}

.product-actions { align-items: center; }
.product-actions .add-to-cart-button { background: var(--sale-red, #bf1638); border-color: var(--sale-red, #bf1638); }
.product-actions .add-to-cart-button:hover { background: #a41230; border-color: #a41230; }
.product-actions .product-contact {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  flex: 0 0 44px;
}
.product-contact svg { width: 21px; height: 21px; }
.product-actions .btn--outline { color: var(--blue); }
.product-actions .btn--outline:hover { color: #fff; }

#basket-success:not(:empty) { margin-top: .45rem; color: #12613a; }

@media (prefers-reduced-motion: no-preference) {
  .product-page #product:not([hidden]) .product-layout > *,
  .product-page #product:not([hidden]) .product-description:not([hidden]) {
    animation: product-page-enter .5s cubic-bezier(.2, .7, .25, 1) both;
  }

  .product-page #product:not([hidden]) .product-layout > *:nth-child(2) {
    animation-delay: .09s;
  }

  .product-page #product:not([hidden]) .product-description:not([hidden]) {
    animation-delay: .16s;
  }

  .product-page #product:not([hidden]) :is(.product-layout > *, .product-description):focus-within {
    animation: none;
  }
}

@keyframes product-page-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-description > section { margin-top: 1.5rem; }
.product-description h3 { margin-bottom: .65rem; }
.product-specs dl {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  max-width: 850px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce1e9;
  border-radius: 12px;
}
.product-specs :is(dt, dd) {
  margin: 0;
  padding: .65rem clamp(.6rem, 2vw, 1rem);
  border-bottom: 1px solid #dce1e9;
  overflow-wrap: anywhere;
}
.product-specs dt { background: #f1f5fc; font-weight: 600; }
.product-specs dd { background: #fff; }
.product-specs :is(dt, dd):nth-last-child(-n+2) { border-bottom: 0; }
.product-video iframe {
  display: block;
  width: min(100%, 850px);
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
}
.product-downloads ul { display: flex; gap: 1rem; flex-wrap: wrap; padding: 0; list-style: none; }
.product-downloads a { color: var(--blue); text-decoration: underline; }

.compare-callout[hidden] { display: none; }
