.product-page { font-size: 16px; }
.product-page .site-header { background: var(--paper); }
.product-main { padding: 0 var(--gutter); }
.product-breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 0 20px; font-size: 16px; }
.product-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 5px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.product-gallery { position: relative; display: grid; gap: 16px; }
.product-gallery-stage { display: block; }
.product-gallery[data-gallery-ready] .product-photo { display: none; }
.product-gallery[data-gallery-ready] .product-photo.is-active { display: block; }
.product-photo { display: block; position: relative; background: var(--ground); overflow: hidden; }
.product-photo img { width: 100%; aspect-ratio: 4 / 3; max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); object-fit: contain; transition: transform .6s ease; }
.product-photo:hover img { transform: scale(1.035); }
.photo-enlarge { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--paper); font-size: 24px; }
.product-gallery-nav { position: absolute; bottom: 16px; left: 50%; z-index: 2; display: none; width: max-content; max-width: calc(100% - 32px); align-items: center; gap: 8px; padding: 8px; background: rgb(239 239 235 / .9); background: color-mix(in srgb, var(--paper) 90%, transparent); transform: translateX(-50%); }
.product-gallery[data-gallery-ready] .product-gallery-nav { display: flex; }
.product-gallery-arrow { flex: 0 0 36px; min-height: 36px; border: 0; background: var(--ground); color: var(--ink); cursor: pointer; font-size: 18px; }
.product-gallery-arrow:hover { background: var(--sage); }
.product-thumbnails { display: flex; flex: 1; gap: 8px; overflow-x: auto; padding: 2px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.product-thumbnail { flex: 0 0 72px; padding: 0; border: 1px solid transparent; background: var(--ground); cursor: pointer; opacity: .65; scroll-snap-align: start; transition: opacity .2s, border-color .2s; }
.product-thumbnail:hover, .product-thumbnail.is-active { opacity: 1; }
.product-thumbnail.is-active { border-color: var(--ink); }
.product-thumbnail img { display: block; width: 100%; aspect-ratio: 10 / 9; object-fit: contain; }
.product-gallery-arrow:focus-visible, .product-thumbnail:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.product-purchase h1 { font-size: 60px; max-width: 18ch; overflow-wrap: anywhere; }
.product-intro { margin-top: 24px; font-size: 16px; line-height: 1.5; }
.product-price { margin-top: 24px; font-size: 36px; font-weight: 600; letter-spacing: -.04em; }
.product-tax-note { margin-top: 2px; font-size: 14px; color: var(--muted); }
.product-availability { margin-top: 4px; font-size: 16px; }
.product-buy { margin-top: 24px; }
.product-buy label { display: block; font-size: 16px; margin-bottom: 10px; }
.product-buy-controls { display: flex; gap: 12px; }
.product-buy input[type="number"] { width: 82px; min-height: 56px; border: 0; border-radius: 0; padding: 12px; background: var(--ground); color: var(--ink); }
.product-buy .button { flex: 1; justify-content: center; min-height: 56px; padding: 14px; border: 0; border-radius: 0; }
.product-buy button:disabled { background: var(--ground); color: var(--muted); cursor: not-allowed; }
.product-demo { padding: 16px 20px; margin-top: 24px; background: var(--ground); font-size: 16px; }
.product-demo p + p { margin-top: 12px; }
.product-shipping { margin-top: 24px; font-size: 16px; }
.product-shipping summary { min-height: 44px; padding: 10px 0; font-weight: 600; }
.product-shipping p { margin: 12px 0; }
.product-reference { margin-top: 12px; font-size: 14px; }
.product-error { margin-top: 24px; padding: 16px; background: var(--sage); }
.product-story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; margin: 120px calc(-1 * var(--gutter)) 0; padding: 72px var(--gutter); background: var(--ink); color: var(--paper); }
.product-story > div:first-child > p { margin-top: 24px; font-size: 24px; }
.product-story > div > h2 { font-size: 36px; }
.product-description { max-width: 60ch; }
.product-description h2, .product-description h3 { font-size: 24px; letter-spacing: -.035em; margin: 32px 0 16px; }
.product-description h2:first-child { margin-top: 0; }
.product-description p { font-size: 16px; }
.product-description p + p { margin-top: 20px; }
.product-help { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 64px 0; }
.product-help h2 { font-size: 36px; max-width: 20ch; }
.product-help .button { flex-shrink: 0; }
.product-related { margin: 56px 0 96px; }
.related-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.related-heading h2 { font-size: 36px; }
.product-related .catalog-product-heading h3 { font-size: 24px; }
.product-page .catalog-footer .footer-brand { font-size: 60px; }
.product-lightbox { border: 0; padding: 64px 20px 20px; background: var(--paper); color: var(--ink); width: min(1100px, 96vw); max-height: 94dvh; }
.product-lightbox::backdrop { background: rgb(0 0 0 / .7); }
.product-lightbox button { position: absolute; top: 12px; right: 20px; min-height: 44px; border: 0; padding: 8px 16px; background: var(--ink); color: var(--paper); }
.product-lightbox img { max-height: 75dvh; width: 100%; object-fit: contain; }
[data-product-reveal].is-revealing { animation: reveal .65s cubic-bezier(.2,.65,.25,1) both; }
@media (max-width: 900px) {
    .product-layout { gap: 32px; grid-template-columns: 1fr 1fr; }
    .product-purchase h1 { font-size: 36px; }
    .product-story { gap: 32px; }
}
@media (max-width: 600px) {
    .product-breadcrumbs { padding: 12px 0 16px; gap: 8px; }
    .product-layout { grid-template-columns: 1fr; gap: 28px; }
    .product-photo img { aspect-ratio: 5 / 3; }
    .product-gallery-nav { bottom: 8px; max-width: calc(100% - 16px); gap: 4px; padding: 4px; }
    .product-gallery-arrow { flex-basis: 28px; min-height: 28px; font-size: 16px; }
    .product-thumbnail { flex-basis: 48px; }
    .product-purchase h1 { font-size: 36px; max-width: none; }
    .product-intro { margin-top: 16px; }
    .product-price { margin-top: 16px; }
    .product-story { grid-template-columns: 1fr; margin-top: 72px; padding-top: 48px; padding-bottom: 48px; }
    .product-story > div:first-child > p { font-size: 16px; }
    .product-page .catalog-footer .footer-brand { font-size: 36px; }
    .product-help, .related-heading { align-items: start; flex-direction: column; }
    .product-help { padding: 48px 0; }
    .product-related { margin: 32px 0 64px; }
    .product-related .catalog-grid { grid-template-columns: 1fr; }
    .product-related .catalog-product-image img { aspect-ratio: 5 / 3; }
}
@media (prefers-reduced-motion: reduce) {
    .product-photo img { transition: none; }
    [data-product-reveal].is-revealing { animation: none; }
}
