/* Endast den nya produktsidan. Befintliga produktlistor påverkas inte. */
.pz-product-page { width: 100%; clear: both; padding: 0 15px; }
.pz-product-page [hidden] { display: none !important; }
.pz-product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pz-product-page .pz-product-summary h1 { margin: 0 0 12px; font-size: 28px; line-height: 1.25; }
.pz-info-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pz-info-badges:empty { display: none; }
.pz-info-badges span { background: #20b8bb; color: white; padding: 4px 8px; border-radius: 4px; font-size: 12px; }
.pz-product-page .pz-info-heading { font-size: 13px; margin: 0 0 8px; color: #555; }
.pz-info-price-current { font-size: 28px; line-height: 1.3; }
.pz-info-sale { color: #e3222b; }
.pz-info-discount { background: #e3222b; color: white; padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.pz-info-reference { margin-top: 5px; font-size: 14px; color: #666; }
.pz-product-page .pz-info-meta { font-size: 14px; line-height: 1.6; margin: 16px 0 10px; }
.pz-product-page .pz-info-stock { font-weight: 700; margin: 12px 0; }
.pz-info-form { display: flex; flex-direction: column; gap: 14px; margin: 0; height: auto !important; }
.pz-info-form > label { display: block; margin: 0; font-weight: 400; }
.pz-info-form select { display: block; width: 100%; min-height: 44px; padding: 8px; border: 1px solid #bbb; border-radius: 5px; background: #fff; }
.pz-info-buy-row { display: flex; gap: 12px; align-items: flex-end; }
.pz-info-buy-row > label { flex: 0 0 auto; margin: 0; font-weight: 400; }
.pz-info-quantity { display: flex; align-items: stretch; box-sizing: border-box; height: 46px; border: 1px solid #bbb; border-radius: 5px; overflow: hidden; }
.pz-info-quantity button { display: flex; align-items: center; justify-content: center; box-sizing: border-box; flex: 0 0 44px; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; background: #f5f5f5; font-size: 20px; line-height: 1; }
.pz-info-quantity input[type="number"] { display: block; box-sizing: border-box; flex: 0 0 48px; width: 48px; min-width: 0; height: 44px; min-height: 0; margin: 0; border: 0; border-radius: 0; padding: 0; font-size: 16px; line-height: 44px; text-align: center; background: #fff; color: #222; appearance: textfield; -moz-appearance: textfield; }
.pz-info-quantity input::-webkit-inner-spin-button, .pz-info-quantity input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.pz-info-buy-row .product-buy-btn { display: flex; align-items: center; justify-content: center; box-sizing: border-box; flex: 1; min-width: 0; height: 46px; min-height: 46px; margin: 0; padding: 0 16px; float: none; font-size: 17px; font-weight: 700; line-height: 1.2; }
.pz-product-page .pz-info-delivery { margin: 18px 0 0; padding: 12px 0; border-top: 1px solid #ddd; font-size: 14px; line-height: 1.6; }
.pz-info-gallery { min-width: 0; }
.pz-info-gallery > a { display: block; }
.pz-info-gallery [data-gallery-main] { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.pz-info-gallery [data-gallery-controls] { display: flex; align-items: center; justify-content: center; gap: 12px; }
.pz-info-gallery button { min-width: 44px; min-height: 44px; border: 1px solid #ccc; background: #fff; border-radius: 4px; }
.pz-info-thumbs { display: flex; overflow-x: auto; gap: 8px; padding: 8px 0; }
.pz-info-thumbs:empty { display: none; }
.pz-info-thumbs button { flex: 0 0 64px; padding: 3px; }
.pz-info-thumbs button[aria-pressed="true"] { border: 2px solid #e3222b; }
.pz-info-thumbs img { width: 56px; height: 56px; object-fit: contain; }
.pz-info-gallery dialog { max-width: 95vw; max-height: 95vh; border: 0; border-radius: 6px; padding: 12px; }
.pz-info-gallery dialog::backdrop { background: rgba(0,0,0,.7); }
.pz-info-gallery dialog img { display: block; max-width: 85vw; max-height: 75vh; object-fit: contain; }
.pz-info-gallery dialog:not([open]) { display: none; }
.pz-product-page .pz-info-tabs { margin: 20px 0 0; padding: 0; }
.pz-info-tabs > [role="tabpanel"] > :last-child { margin-bottom: 0; }
.pz-info-tab-buttons { display: flex; overflow-x: auto; border-bottom: 1px solid #ddd; margin-bottom: 18px; }
.pz-info-tab-buttons button { flex: 0 0 auto; min-height: 44px; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; background: #fff; color: #333; font-size: 17px; font-weight: 700; }
.pz-info-tab-buttons button[aria-selected="true"] { color: #d9222a; border-bottom-color: #d9222a; }
.pz-info-tabs table { table-layout: fixed; width: 100%; }
.pz-info-tabs td, .pz-info-tabs th { overflow-wrap: anywhere; }
.pz-info-tabs .table-striped > thead > tr > th { background-color: #eef1f3; border-color: #e1e5e8; }
.pz-info-tabs .table-striped > tbody > tr:nth-of-type(odd),
.pz-info-tabs .table-striped > tbody > tr:nth-of-type(odd) > td { background-color: #f5f7f8; }
.pz-info-tabs .table-striped > tbody > tr:nth-of-type(even),
.pz-info-tabs .table-striped > tbody > tr:nth-of-type(even) > td { background-color: #fff; }
.pz-info-tabs .table-striped > tbody > tr > td { border-color: #e1e5e8; }
.pz-info-faq { border-bottom: 1px solid #ddd; padding: 12px 0; }
.pz-info-faq summary { cursor: pointer; font-weight: 700; min-height: 44px; padding: 10px 0; }
.pz-product-page .pz-info-related { margin: 20px 0 0; padding: 0; }
.pz-info-related > h2 { margin-top: 0; }
.pz-product-page button:focus-visible, .pz-product-page a:focus-visible, .pz-product-page input:focus-visible, .pz-product-page select:focus-visible { outline: 2px solid #222; outline-offset: 3px; }
@media (max-width: 767px) {
    .pz-info-buy-row .product-buy-btn { font-size: 14px; }
    .pz-product-page { padding: 0 10px; }
    .pz-product-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .pz-product-page .pz-product-summary h1 { font-size: 24px; }
    .pz-info-price-current { font-size: 24px; }
    .pz-info-tab-buttons button { padding: 10px 8px; font-size: 16px; }
}
