.product-detail-main { padding: 24px max(24px, calc((100% - 1240px) / 2)) 64px; color: #eeeae3; background: #2c2c2c; }
.product-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 24px; color: #c7c4bd; font-size: 15px; line-height: 1.5; }
.product-breadcrumbs a:hover, .detail-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.product-detail > * { min-width: 0; }
.webshop-page .detail-gallery { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) 48px; aspect-ratio: 1; min-height: 0; margin: 0; border: 1px solid #746f65; background: #e8e7e3; overflow: hidden; touch-action: pan-y pinch-zoom; }
.webshop-page .detail-gallery:not(.product-gallery) { grid-template-rows: minmax(0, 1fr); }
.webshop-page .detail-gallery > .detail-photo { position: static; grid-area: 1 / 1; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.detail-photo-controls { display: flex; align-items: center; justify-content: center; gap: 14px; background: #333; color: #eeeae3; border-top: 1px solid #746f65; }
.detail-photo-controls .detail-photo-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.detail-photo-controls .detail-photo-button img { position: static; width: 20px; height: 20px; filter: invert(1); }
.detail-photo-controls .photo-count { position: static; inset: auto; display: block; min-width: 46px; padding: 0; border: 0; background: transparent; color: #eeeae3; text-align: center; font-size: 15px; font-weight: 400; }
.detail-no-photo { display: grid; place-items: center; color: #465057; font-size: 32px; }
.detail-category { display: inline-block; margin-bottom: 16px; padding-bottom: 5px; border-bottom: 2px solid #42b7b7; color: #9fdcdb; font-size: 17px; }
.detail-copy h1 { margin: 0 0 20px; font-size: 38px; line-height: 1.17; overflow-wrap: anywhere; }
.detail-pricing { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.detail-pricing .detail-price { margin: 0; font-size: 28px; line-height: 1.3; color: #eeeae3; }
.detail-pricing span { color: #c1beb8; font-size: 14px; }
.detail-stock { display: flex; align-items: center; gap: 9px; margin: 12px 0 24px; font-size: 16px; color: #cfe7e3; }
.detail-stock::before { content: ""; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #66c6bd; }
.detail-stock.is-unavailable { color: #d0c6b8; }
.detail-stock.is-unavailable::before { background: #a89d8b; }
.detail-description { margin-bottom: 24px; font-size: 18px; line-height: 1.65; overflow-wrap: anywhere; }
.detail-description p { margin: 0 0 14px; }
.detail-description p:last-child { margin-bottom: 0; }
.detail-description ul, .detail-description ol { padding-left: 24px; }
.detail-option { display: grid; gap: 8px; margin-bottom: 16px; }
.detail-option select { width: 100%; min-height: 46px; padding: 8px 12px; font: inherit; }
.detail-add { width: 100%; min-height: 50px; padding: 12px 18px; border: 1px solid #74aaa9; border-radius: 3px; background: var(--stone); color: #fff; font-size: 18px; cursor: pointer; }
.detail-add:disabled { opacity: 0.65; cursor: not-allowed; }
.detail-live-status { margin: 10px 0 0; font-size: 15px; line-height: 1.5; }
.detail-live-status:empty { display: none; }
.detail-service { margin: 26px 0 20px; border-top: 1px solid #655f54; font-size: 15px; line-height: 1.5; }
.detail-service > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid #655f54; }
.detail-service dt { color: #ddd6ca; }
.detail-service dd { margin: 0; color: #c6c3bc; }
.detail-back { display: inline-block; padding-block: 8px; color: #a3d8d5; font-size: 16px; }
.product-meta h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-visual .product-image-link { display: block; grid-area: 1 / 1 / 2 / -1; min-width: 0; min-height: 0; }
.product-visual .product-image-link img { position: static; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 859px) {
  .product-detail { gap: 28px; }
  .detail-copy h1 { font-size: 30px; }
}
@media (max-width: 639px) {
  .product-detail-main { padding: 18px 16px 36px; }
  .product-breadcrumbs { margin-bottom: 18px; font-size: 14px; gap: 5px 8px; }
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .webshop-page .detail-gallery { aspect-ratio: 1; max-height: 520px; }
  .detail-category { margin-bottom: 12px; }
  .detail-copy h1 { font-size: 30px; margin-bottom: 16px; }
  .detail-description { font-size: 17px; }
  .detail-service > div { grid-template-columns: 74px minmax(0, 1fr); gap: 12px; }
}
