.product-detail { padding-block: clamp(1.25rem, 3vw, 2.75rem) 3.5rem; }
.detail-crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .65rem; padding: 0; margin: 0 0 1.4rem; list-style: none; font-size: .86rem; color: #4b5342; }
.detail-crumbs li + li::before { content: '/'; margin-right: .65rem; color: #676b5c; }
.detail-layout, .detail-opening { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.25rem, 3.5vw, 3.4rem); align-items: start; }
.detail-layout { grid-template-areas: "media info"; }
.detail-column { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; min-width: 0; }
.detail-media-column { grid-area: media; }
.detail-info-column { grid-area: info; }
.detail-facts:not(:has(> dl)) { display: none; }
.detail-facts .detail-dimensions { margin-top: 0; }
.detail-facts .detail-highlights:first-child { margin-top: 0; }
.detail-gallery { min-width: 0; }
.detail-image-frame { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 12px; border: 1px solid #d9d8ca; aspect-ratio: 4 / 3; background: #fffefa; }
.detail-image-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.detail-image-frame span { position: absolute; right: .8rem; bottom: .8rem; padding: .36rem .65rem; background: #fffefa; border: 1px solid #d9d8ca; border-radius: 5px; font-size: .85rem; }
.detail-thumbs { display: flex; max-width: 100%; gap: .55rem; overflow-x: auto; padding: .7rem 3px .35rem; }
.detail-thumbs a { display: block; flex: 0 0 clamp(60px, 7vw, 88px); border: 2px solid transparent; border-radius: 7px; background: #fffefa; padding: 2px; }
.detail-thumbs a[aria-current] { border-color: #62724f; }
.detail-thumbs a:hover { border-color: #87967a; }
.detail-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.detail-category { font-size: .95rem; font-weight: 700; color: #465438; text-underline-offset: .15em; }
.detail-summary h1 { font-size: clamp(1.85rem, 3.3vw, 3.25rem); line-height: 1.07; margin: .45rem 0 1.2rem; overflow-wrap: anywhere; }
.detail-offer { border: 1px solid #d8ddcd; background: #eff1e7; border-radius: 10px; padding: clamp(.85rem, 2vw, 1.4rem); }
.detail-offer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; align-items: center; margin-bottom: .9rem; }
.detail-merchant, .detail-price, .detail-availability, .detail-shop-note { margin: 0; }
.detail-merchant { color: #4f5946; font-size: .85rem; font-weight: 660; }
.detail-price { font-size: clamp(1.65rem, 3vw, 2.6rem); font-weight: 740; line-height: 1.3; }
.detail-availability { color: #31482c; background: #dfe8d5; padding: .28rem .65rem; border-radius: 5px; font-size: .88rem; }
.detail-availability.unavailable { color: #5d4a40; background: #eee1d6; }
.detail-shop { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; padding: .6rem .95rem; border-radius: 6px; background: #914731; color: #fff; text-decoration: none; font-weight: 730; }
.detail-shop:hover { background: #753824; }
.detail-shop-note { color: #4b5544; font-size: .82rem; line-height: 1.45; margin-top: .7rem; }
.detail-offer .detail-shop-note { margin: 0 0 .65rem; }
.detail-dimensions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 88px), 1fr)); gap: .5rem; margin: 1.2rem 0 .75rem; }
.detail-dimensions div { background: #fffdf8; border: 1px solid #dedccf; border-radius: 7px; padding: .6rem .7rem; }
.detail-dimensions dt, .detail-highlights dt { font-size: .83rem; color: #545a4b; }
.detail-dimensions dd, .detail-highlights dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.detail-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; margin: .75rem 0 0; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; margin-top: clamp(1.5rem, 4vw, 3.1rem); }
.detail-copy { display: grid; gap: 1rem; }
.detail-box { background: #fffefa; border: 1px solid #dedccf; border-radius: 10px; padding: clamp(.9rem, 2vw, 1.6rem); }
.detail-box h2 { margin: 0 0 .7rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.detail-box p { margin: 0 0 .65rem; overflow-wrap: anywhere; }
.detail-box p:last-child { margin-bottom: 0; }
.detail-box .detail-source { display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: #555b4c; font-size: .84rem; border-top: 1px solid #e3e0d6; margin-top: .85rem; padding-top: .8rem; }
.detail-packages summary { color: #425139; cursor: pointer; font-weight: 650; }
.detail-packages li { margin-block: .3rem; }
.detail-specifications { margin: 0; border-top: 1px solid #e1dfd4; }
.detail-specifications div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: .65rem; padding: .58rem .45rem; border-bottom: 1px solid #e1dfd4; overflow-wrap: anywhere; font-size: .93rem; }
.detail-specifications div:nth-child(odd) { background: #f6f5ee; }
.detail-specifications dt { font-weight: 660; }
.detail-specifications dd { margin: 0; }
.detail-category-back { display: inline-block; margin-top: 1.5rem; font-weight: 700; }
.detail-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.detail-lightbox { width: fit-content; max-width: 94vw; max-height: 94vh; border: 0; border-radius: 10px; padding: 0; background: #fffefa; }
.detail-lightbox::backdrop { background: #20231ddc; }
.detail-lightbox img { display: block; width: auto; max-width: 100%; max-height: 91vh; object-fit: contain; }
.detail-lightbox-close { position: absolute; top: .6rem; right: .6rem; width: 2.75rem; height: 2.75rem; border: 1px solid #d3d3c7; border-radius: 6px; background: #fffefa; color: #292d23; font-size: 1.5rem; cursor: pointer; }
.detail-lightbox-nav:not([hidden]) { position: absolute; inset: auto auto .6rem 50%; transform: translateX(-50%); display: flex; align-items: center; gap: .6rem; white-space: nowrap; padding: .2rem; border: 1px solid #d3d3c7; border-radius: 7px; background: #fffefa; color: #292d23; }
.detail-lightbox-nav button { width: 2.75rem; height: 2.75rem; border: 0; border-radius: 5px; background: #eff1e7; color: #292d23; font: inherit; cursor: pointer; }
.detail-lightbox-nav button:hover { background: #dfe8d5; }
@media (max-width: 780px) {
  .detail-opening, .detail-content { grid-template-columns: minmax(0, 1fr); }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "summary" "gallery" "description" "facts" "specifications" "delivery";
    gap: 1rem;
  }
  .detail-layout .detail-column { display: contents; }
  .detail-layout .detail-summary { grid-area: summary; }
  .detail-layout .detail-gallery { grid-area: gallery; }
  .detail-facts { grid-area: facts; }
  .detail-description-box { grid-area: description; }
  .detail-specifications-box { grid-area: specifications; }
  .detail-delivery-box { grid-area: delivery; }
  .detail-summary h1 { margin-bottom: .85rem; }
}
