/* Product detail layout extends the catalogue and shared site styles. */
.product-panel { padding-bottom: 28px; }
.product-panel .catalog-panel-heading { margin-bottom: 14px; }
.product-overview { display: grid; grid-template-columns: minmax(260px, 46%) minmax(0, 1fr); gap: 26px; align-items: stretch; min-height: 390px; }
.product-gallery { display: flex; flex-direction: column; min-width: 0; }
.product-photo-frame { flex: 1; min-height: 0; border: 1px solid #e7e7e7; background: #fff; display: grid; place-items: center; overflow: hidden; }
.product-photo-frame img { display: block; width: 100%; height: 100%; object-fit: contain; transform: scale(1.03); }
.product-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; margin-top: 16px; color: #85919a; }
.product-gallery-controls[hidden] { display: none; }
.product-gallery-controls button { width: 38px; height: 42px; border: 0; cursor: pointer; display: grid; place-items: center; background: #f1f1f1; color: #b6c0c6; font-size: 37px; font-family: Arial, sans-serif; line-height: 1; transition: background .2s, color .2s; }
.product-gallery-controls button:hover { background: #069bd4; color: #fff; }
#gallery-caption { flex: 1; min-width: 0; font-size: 13px; text-align: center; }
.product-copy { display: flex; flex-direction: column; min-width: 0; }
.product-copy h1 { margin: 5px 0 14px; padding-bottom: 12px; border-bottom: 1px dotted #e2e6e9; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: #333; }
.product-copy > p { margin: 0 0 24px; color: #697781; font-size: 14px; line-height: 1.95; }
.product-inquiry { background: #f2f2f2; padding: 16px 18px; margin-top: auto; }
.product-inquiry p { margin: 0 0 10px; color: #666; font-size: 14px; }
.product-inquiry strong { color: #059bd7; font-size: 24px; font-weight: 500; vertical-align: middle; }
.product-inquiry a { display: inline-block; background: #079bd4; color: #fff; font-size: 16px; font-weight: 600; padding: 9px 22px; transition: background .2s; }
.product-inquiry a:hover { background: #087da9; }
.product-information { margin-top: 26px; }
.product-information h2 { margin: 0; width: 100%; min-height: 42px; border-top: 2px solid #0b9bd3; background: linear-gradient(90deg, #fff 0 145px, #efefef 145px 100%); color: #049bd5; font-size: 16px; font-weight: 500; padding: 9px 22px; }
.product-information-body { padding: 18px 4px 20px; color: #6a7881; font-size: 14px; line-height: 1.9; }
.product-information-body p { margin: 0 0 13px; }
.product-information-body dl { margin: 14px 0; border-top: 1px solid #edf0f2; }
.product-information-body dl > div { display: grid; grid-template-columns: 80px 1fr; gap: 15px; border-bottom: 1px solid #edf0f2; padding: 8px 2px; }
.product-information-body dt { color: #3b4a54; font-weight: 600; }
.product-information-body dd { margin: 0; }
.related-products h2 { background: #079bd4; color: #fff; font-size: 16px; margin: 0 0 14px; padding: 7px 12px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card { display: block; min-width: 0; text-align: center; color: #737d85; font-size: 13px; }
.related-card img { display: block; width: 100%; height: auto; aspect-ratio: 210 / 180; object-fit: contain; border: 1px solid #e7e7e7; background: #fff; transition: border-color .2s, box-shadow .2s; }
.related-card span { display: block; padding: 7px 3px 0; }
.related-card:hover { color: #078fc8; }
.related-card:hover img { border-color: #078fc8; box-shadow: 0 7px 16px #16364914; }
.product-page :is(a, button, summary):focus-visible { outline: 2px solid #0b88bf; outline-offset: 3px; }
@media (max-width: 1050px) { .product-overview { grid-template-columns: minmax(220px, 45%) minmax(0, 1fr); gap: 18px; } .product-inquiry strong { font-size: 21px; } }
@media (max-width: 760px) { .product-overview { grid-template-columns: 1fr; gap: 22px; min-height: 0; } .product-gallery { max-width: 500px; width: 100%; justify-self: center; } .product-photo-frame { flex: none; aspect-ratio: 416 / 356; } .product-photo-frame img { transform: none; } .product-copy { min-height: 0; } .product-copy > p { margin-bottom: 20px; } .product-inquiry { margin-top: 0; } }
@media (max-width: 540px) { .product-overview { gap: 16px; } .product-gallery-controls { margin-top: 10px; } .product-copy h1 { font-size: 21px; } .product-inquiry { padding: 14px; } .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .related-card { font-size: 12px; } .product-information h2 { background: linear-gradient(90deg, #fff 0 120px, #efefef 120px 100%); padding-left: 16px; } }
@media (prefers-reduced-motion: reduce) { .product-gallery-controls button, .product-inquiry a, .related-card img { transition: none; } }
