/* L02 i L03. Wyłącznie lokalne karty produktów, bez zmian globalnych tekstów. */
.legacy-product-page { background: #fff; }
.product-intro { padding-top: 26px; padding-bottom: 64px; }
.product-breadcrumbs { margin-bottom: 36px; }
.product-layout { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(0,1fr); column-gap: clamp(36px,5vw,80px); row-gap: 26px; align-items: start; }
.product-heading { grid-column: 2; grid-row: 1; }
.product-heading .eyebrow { margin-bottom: 14px; }
.product-heading h1 { font-size: clamp(30px,3vw,44px); line-height: 1.19; letter-spacing: -.022em; text-wrap: pretty; }
.product-title-dimension { white-space: nowrap; }
.product-availability { color: var(--muted); font-size: 15px; margin-top: 18px; }
.product-summary { grid-column: 2; grid-row: 2; min-width: 0; }
.product-gallery { grid-column: 1; grid-row: 1 / 3; position: sticky; top: 154px; min-width: 0; }
.product-gallery-stage { position: relative; aspect-ratio: 1.12; border: 1px solid #e0dcd7; border-radius: 4px; background: #f5f3ef; overflow: hidden; touch-action: pan-y; }
.product-gallery-stage::after { content: ''; pointer-events: none; position: absolute; top: 0; right: 0; width: 28px; height: 23px; border-top: 3px solid var(--orange); border-right: 3px solid var(--orange); }
.product-gallery-stage figure,.product-photo-open { width: 100%; height: 100%; }
.product-photo-open { padding: 0; display: block; cursor: zoom-in; }
.product-photo-open img { width: 100%; height: 100%; object-fit: cover; }
.product-photo-open:focus-visible { outline-offset: -5px; }
.product-zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; pointer-events: none; font-size: 13px; color: var(--ink); background: #fffffff0; padding: 8px 11px; border-radius: 3px; }
.product-zoom-hint .icon { width: 16px; height: 16px; }
.product-gallery-controls { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; font-size: 14px; color: var(--muted); }
.product-gallery-controls>div { display: flex; gap: 8px; }
.product-gallery-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d6d1cb; border-radius: 3px; }
.product-gallery-arrow:hover:not(:disabled) { background: #f1eee9; color: #a74808; }
.product-thumbs { display: flex; gap: 10px; overflow: auto; position: relative; padding: 5px; margin: -5px; scrollbar-width: thin; scrollbar-color: #c3c8cc transparent; }
.product-thumbs button { flex: 0 0 74px; height: 66px; padding: 3px; border: 1px solid #ddd9d4; border-radius: 3px; }
.product-thumbs button[aria-pressed="true"] { border: 2px solid #ad4c08; padding: 2px; }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs button:hover { background: #f1eee9; }
.product-image-unavailable,.product-thumb-fallback { display: none; }
.image-unavailable>img,.image-unavailable>.product-photo-open { display: none; }
.image-unavailable>.product-image-unavailable { display: grid; place-content: center; height: 100%; padding: 24px; text-align: center; font-size: 16px; line-height: 1.7; color: var(--muted); }
.image-unavailable>.product-thumb-fallback { display: block; color: var(--muted); font-size: 15px; }
.product-price-block { border-top: 1px solid var(--line); padding-top: 24px; }
.product-price-label { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.product-price { font-size: clamp(34px,3.2vw,46px); line-height: 1.2; font-weight: 650; letter-spacing: -.025em; }
.product-price-quote { font-size: clamp(26px,2.3vw,33px); font-weight: 550; }
.product-price-detail { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.65; }
.product-inquiry { display: flex; width: 100%; gap: 18px; margin-top: 24px; }
.product-specs { margin: 28px 0 0; font-size: 16px; line-height: 1.55; }
.product-specs>div { display: grid; grid-template-columns: minmax(100px,.8fr) minmax(0,1.2fr); gap: 18px; padding: 13px 0; border-bottom: 1px solid #e3e0db; }
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; font-weight: 550; }
.product-price-scope { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 22px; }
.product-purchase-link { font-size: 15px; margin-top: 20px; }
.product-information { padding-block: 60px; background: #f4f1ed; }
.product-information-layout { display: grid; grid-template-columns: minmax(230px,.6fr) minmax(0,1.4fr); gap: clamp(40px,6vw,96px); align-items: start; }
.product-info-nav { position: sticky; top: 156px; }
.product-info-nav .eyebrow { margin-bottom: 20px; }
.product-info-nav h2 { font-size: 28px; letter-spacing: -.02em; }
.product-info-nav [role="tablist"] { border-top: 1px solid #d5d0ca; }
.product-info-nav [role="tab"] { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid #d5d0ca; text-align: left; font-size: 16px; line-height: 1.5; }
.product-info-nav [aria-selected="true"] { color: #98480e; font-weight: 700; }
.product-info-nav [role="tab"]:hover { background: #eeebe5; }
.product-info-nav [role="tab"] .icon { width: 18px; height: 18px; }
.product-info-contact { font-size: 15px; margin-top: 24px; }
.product-panels { min-width: 0; }
.product-original-copy { max-width: 70ch; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.reviewbar nav { min-width: 0; overflow-x: auto; white-space: nowrap; }
.reviewbar nav a { flex: none; }
.product-original-copy h2 { font-size: 32px; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 24px; }
.product-original-copy h2 strong { font-weight: 550; }
.product-original-copy h3 { font-size: 23px; line-height: 1.4; margin: 32px 0 16px; letter-spacing: -.01em; }
.product-original-copy p { margin-bottom: 20px; }
.product-original-copy ul,.product-original-copy ol { padding-left: 24px; margin: 18px 0 24px; }
.product-original-copy li { padding-left: 4px; margin-bottom: 9px; }
.product-original-copy :is(strong,b) { font-weight: 650; }
.product-original-copy>b { display: inline-block; margin-top: 12px; font-size: 21px; }
.product-original-copy p:has(>strong:only-child) { margin-top: 28px; }
.product-original-copy p:has(>strong:only-child)>strong:only-child { font-size: 20px; }
.product-original-copy a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #a74808; }
.product-original-copy a:hover { color: #a74808; }
.product-original-copy img { max-width: 100%; height: auto; }
.product-original-copy table { width: 100%; overflow: auto; }
body.product-lightbox-open { overflow: hidden; }
#product-lightbox { width: min(1180px,calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 5px; color: var(--ink); background: #f8f7f4; }
#product-lightbox::backdrop { background: #14202bc9; }
.product-lightbox-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; font-size: 14px; border-bottom: 1px solid var(--line); }
#product-lightbox button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d6d1cb; border-radius: 3px; }
#product-lightbox button:hover:not(:disabled) { background: #ece8e1; }
.product-lightbox-image { height: min(68dvh,750px); padding: 14px; }
.product-lightbox-image img { width: 100%; height: 100%; object-fit: contain; }
.product-lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; border-top: 1px solid var(--line); }
.product-lightbox-controls p { font-size: 14px; text-align: center; }
.product-lightbox-controls button { flex: none; }
@media(max-width:1100px) {
 .product-layout { column-gap: 32px; grid-template-columns: 1fr 1fr; }
 .product-gallery { position: static; }
 .product-information-layout { grid-template-columns: 225px minmax(0,1fr); gap: 36px; }
 .product-original-copy { font-size: 16px; }
 .product-breadcrumbs li:last-child { flex-basis: 100%; }
 .product-breadcrumbs li:last-child::before { content: none; }
}
@media(max-width:760px) {
 .product-intro { padding-block: 24px 40px; }
 .product-breadcrumbs { margin-bottom: 26px; }
 .product-breadcrumbs li:last-child { display: none; }
 .product-layout { display: flex; flex-direction: column; gap: 26px; }
 .product-heading,.product-gallery,.product-summary { width: 100%; }
 .product-heading h1 { font-size: clamp(29px,6.3vw,40px); }
 .product-heading .eyebrow { font-size: 13px; }
 .product-availability { margin-top: 14px; }
 .product-gallery-stage { aspect-ratio: 1.12; }
 .product-thumbs button { flex-basis: 66px; height: 60px; }
 .product-price { font-size: 39px; }
 .product-price-quote { font-size: 30px; }
 .product-information { padding-block: 36px; }
 .product-information-layout { display: block; }
 .product-info-nav { position: static; margin-bottom: 32px; }
 .product-info-nav [role="tab"] { padding-block: 14px; }
 .product-info-contact { margin-top: 20px; }
 .product-original-copy h2 { font-size: 28px; }
 .product-original-copy h3 { font-size: 22px; }
 #product-lightbox { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
 .product-lightbox-head { padding: 10px; }
 .product-lightbox-image { height: 58dvh; padding: 6px; }
 .product-lightbox-controls { padding: 10px; gap: 10px; }
 .product-lightbox-controls p { font-size: 12px; }
}
