/* MYKObyPRZ – karta produktu (D-080). Galeria 360°/zdjęcia z powiększaniem, blok zakupowy, sekcje opisu, noty. */
.nprz-body .nprz-pdp { padding: 48px 40px 96px; background: var(--nprz-white); }
.nprz-body .nprz-pdp__inner { max-width: 1600px; margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 96px); align-items: start; }

/* galeria */
.nprz-body .nprz-pdp__gallery { position: sticky; top: calc(var(--nprz-header-h) + 24px); }
.nprz-body .nprz-pdp__stage { position: relative; aspect-ratio: 1 / 1; max-height: calc(100vh - var(--nprz-header-h) - 130px); width: 100%; background: var(--nprz-grey-light); overflow: hidden; }
.nprz-body .nprz-pdp__panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; overflow: hidden; transition: opacity .35s var(--nprz-ease); }
.nprz-body .nprz-pdp__panel.is-active { opacity: 1; visibility: visible; }
.nprz-body .nprz-pdp__panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.nprz-body .nprz-pdp__panel[data-nprz-zoom] > img { visibility: visible; }
.nprz-body .nprz-pdp__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 4; padding: 9px 16px; background: rgba(20,41,39,.86); color: var(--nprz-white); font: 500 12px var(--nprz-font-cap); letter-spacing: var(--nprz-track); text-transform: uppercase; white-space: nowrap; pointer-events: none; transition: opacity .4s var(--nprz-ease); }
.nprz-body .nprz-pdp__hint.is-hidden { opacity: 0; }
.nprz-body .nprz-pdp__stamp { position: absolute; right: 14px; top: 14px; z-index: 3; width: clamp(84px, 9vw, 132px); height: auto; pointer-events: none; }
.nprz-body .nprz-zoombar { position: absolute; right: 14px; bottom: 14px; z-index: 5; display: flex; flex-direction: column; gap: 1px; background: rgba(20,41,39,.2); }
.nprz-body .nprz-zoombar button { all: unset; box-sizing: border-box; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(247,245,241,.94); color: var(--nprz-dark); font: 500 20px/1 var(--nprz-font-cap); cursor: pointer; transition: background-color .25s var(--nprz-ease), color .25s var(--nprz-ease); }
.nprz-body .nprz-zoombar button:hover, .nprz-body .nprz-zoombar button:focus-visible { background: var(--nprz-teal); color: #fff; outline: 0; }
.nprz-body .nprz-zoombar button[disabled] { opacity: .4; cursor: default; }
.nprz-body .nprz-pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.nprz-body .nprz-pdp__thumb { all: unset; box-sizing: border-box; position: relative; flex: 0 0 auto; width: 76px; height: 76px; background: var(--nprz-grey-light); cursor: pointer; border: 2px solid transparent; transition: border-color .25s var(--nprz-ease); }
.nprz-body .nprz-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nprz-body .nprz-pdp__thumb:hover { border-color: var(--nprz-grey); }
.nprz-body .nprz-pdp__thumb.is-active { border-color: var(--nprz-teal); }
.nprz-body .nprz-pdp__thumb:focus-visible { outline: 2px solid var(--nprz-teal); outline-offset: 2px; }
.nprz-body .nprz-pdp__thumb span { position: absolute; left: 0; bottom: 0; padding: 2px 6px; background: rgba(20,41,39,.86); color: var(--nprz-white); font: 500 10px var(--nprz-font-cap); letter-spacing: .1em; }

/* blok zakupowy */
.nprz-body .nprz-pdp__buy { padding-top: 8px; }
.nprz-body .nprz-pdp__buy .nprz-eyebrow { margin: 0 0 14px; }
.nprz-body .nprz-pdp__title { margin: 0 0 18px; font-family: var(--nprz-font-head); font-weight: 600; font-size: clamp(44px, 4.6vw, 84px); line-height: .94; text-transform: uppercase; color: var(--nprz-dark); }
.nprz-body .nprz-pdp__tagline { margin: 0 0 32px; max-width: 34ch; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.45; color: rgba(20,41,39,.82); }
.nprz-body .nprz-pdp__facts { margin: 0 0 32px; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--nprz-grey); border-bottom: 1px solid var(--nprz-grey); }
.nprz-body .nprz-pdp__facts > div { padding: 16px 16px 16px 0; }
.nprz-body .nprz-pdp__facts > div + div { padding-left: 18px; border-left: 1px solid var(--nprz-grey); }
.nprz-body .nprz-pdp__facts dt { font: 500 11px var(--nprz-font-cap); letter-spacing: .12em; text-transform: uppercase; color: rgba(20,41,39,.55); }
.nprz-body .nprz-pdp__facts dd { margin: 6px 0 0; font-size: 18px; font-weight: 500; }
.nprz-body .nprz-pdp__price { margin: 0 0 20px; font-family: var(--nprz-font-body); font-weight: 500; font-size: clamp(32px, 2.6vw, 44px); line-height: 1; letter-spacing: -.01em; }
.nprz-body .nprz-pdp__price .woocommerce-price-suffix { margin-left: 10px; font: 400 13px var(--nprz-font-cap); letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.nprz-body .nprz-pdp__delivery { margin: -8px 0 20px; font-family: var(--nprz-font-cap); font-size: 13px; letter-spacing: .07em; text-transform: uppercase; opacity: .7; }
.nprz-body .nprz-pdp__price del { font-size: .55em; opacity: .5; margin-right: 8px; }
.nprz-body .nprz-pdp__price ins { text-decoration: none; color: var(--nprz-amber); }
.nprz-body .nprz-pdp__cart { display: flex; gap: 12px; align-items: stretch; margin: 0 0 24px; }
.nprz-body .nprz-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--nprz-grey); background: #fff; }
.nprz-body .nprz-qty button { all: unset; box-sizing: border-box; width: 46px; display: flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; color: var(--nprz-dark); transition: background-color .2s var(--nprz-ease); }
.nprz-body .nprz-qty button:hover, .nprz-body .nprz-qty button:focus-visible { background: var(--nprz-grey-light); outline: 0; }
.nprz-body .nprz-qty input { width: 46px; border: 0; padding: 0; text-align: center; font: 500 17px var(--nprz-font-body); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.nprz-body .nprz-qty input::-webkit-outer-spin-button, .nprz-body .nprz-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nprz-body .nprz-pdp__add { flex: 1; min-height: 58px; font-size: 15px; justify-content: center; }
.nprz-body .nprz-pdp__soldout { margin: 0 0 24px; padding: 16px; background: var(--nprz-grey-light); font: 500 14px var(--nprz-font-cap); letter-spacing: var(--nprz-track); text-transform: uppercase; }
.nprz-body .nprz-pdp__trust { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.nprz-body .nprz-pdp__trust li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.4; }
.nprz-body .nprz-pdp__trust li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px; border-left: 2px solid var(--nprz-teal); border-bottom: 2px solid var(--nprz-teal); transform: rotate(-45deg) translateY(-2px); }
.nprz-body .nprz-pdp__legal { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: rgba(20,41,39,.65); }
.nprz-body .nprz-pdp__legal a { color: var(--nprz-teal); }
.nprz-body .nprz-pdp__more { font: 500 13px var(--nprz-font-cap); letter-spacing: var(--nprz-track); text-transform: uppercase; color: var(--nprz-dark); text-decoration: none; border-bottom: 1px solid var(--nprz-teal); padding-bottom: 2px; }
.nprz-body .nprz-pdp__more:hover { color: var(--nprz-teal); }

/* pasek zakupowy (telefon/tablet) */
.nprz-body .nprz-pdp__sticky { display: none; }

/* opis: sekcje redakcyjne (bloki w treści produktu) */
.nprz-body .nprz-pdp-content { display: block; }
.nprz-body .nprz-row--center { align-items: center; }
.nprz-body .nprz-pdimg, .nprz-body .nprz-pdimg img { display: block; width: 100%; height: auto; margin: 0; }
.nprz-body .nprz-pdimg--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.nprz-body .nprz-pdimg--wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.nprz-body .nprz-pd-lead { margin: 0 auto; max-width: 30ch; text-align: center; font-family: var(--nprz-font-head); font-weight: 600; font-size: clamp(30px, 3.4vw, 56px); line-height: 1.04; text-transform: uppercase; }
.nprz-body .nprz-pd-intro { margin: 28px auto 0; max-width: 62ch; text-align: center; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; }
.nprz-body .nprz-sec--dark .nprz-pd-text, .nprz-body .nprz-sec--dark .nprz-pd-text p { color: var(--nprz-white); opacity: .9; }
.nprz-body .nprz-pd-text { max-width: 54ch; font-size: 18px; line-height: 1.65; }
.nprz-body .nprz-pd-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.nprz-body .nprz-pd-trio .wp-block-image { margin: 0; }

/* specyfikacja */
.nprz-body .nprz-pdp__spec { margin: 0; border-top: 1px solid var(--nprz-grey); }
.nprz-body .nprz-pdp__spec .nprz-spec__row { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--nprz-grey); }
.nprz-body .nprz-pdp__spec dt { margin: 0; font: 500 13px var(--nprz-font-cap); letter-spacing: var(--nprz-track); text-transform: uppercase; color: rgba(20,41,39,.65); }
.nprz-body .nprz-pdp__spec dd { margin: 0; font-size: 18px; }

/* noty prawne */
.nprz-body .nprz-pnotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; max-width: 1100px; margin: 0 auto; }
.nprz-body .nprz-pnote { display: flex; gap: 22px; align-items: flex-start; }
.nprz-body .nprz-pnote--wide { grid-column: 1 / -1; padding-top: 36px; border-top: 1px solid var(--nprz-grey, #CFCCC3); }
.nprz-body .nprz-pnote--wide p { max-width: 70ch; }
.nprz-body .nprz-pnote p { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 500; }
.nprz-body svg.nprz-pnote__icon { flex: 0 0 38px; width: 38px; height: 38px; fill: var(--nprz-dark); }

@media (max-width: 1024px) {
	.nprz-body .nprz-pdp { padding: 24px 20px 64px; }
	.nprz-body .nprz-pdp__inner { grid-template-columns: 1fr; padding: 0; gap: 32px; }
	.nprz-body .nprz-pdp__gallery { position: static; }
	.nprz-body .nprz-pdp__stage { max-height: none; }
	.nprz-body .nprz-pd-trio { grid-template-columns: 1fr; gap: 16px; }
	.nprz-body .nprz-pnotes { grid-template-columns: 1fr; gap: 28px; }
	.nprz-body .nprz-pdp__sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(247,245,241,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--nprz-grey); transform: translateY(110%); transition: transform .35s var(--nprz-ease); }
	.nprz-body .nprz-pdp__sticky.is-on { transform: none; }
	.nprz-body .nprz-pdp__sticky-info { display: grid; min-width: 0; }
	.nprz-body .nprz-pdp__sticky-info strong { font: 600 18px var(--nprz-font-head); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.nprz-body .nprz-pdp__sticky-info span { font-weight: 500; }
	.nprz-body .nprz-pdp__add2 { padding: 13px 20px; white-space: nowrap; }
}
@media (max-width: 767px) {
	.nprz-body .nprz-pdp__sticky { bottom: calc(60px + env(safe-area-inset-bottom)); padding-bottom: 10px; }
	.nprz-body .nprz-pdp__title { font-size: 44px; }
	.nprz-body .nprz-pdp__facts > div { padding-right: 8px; }
	.nprz-body .nprz-pdp__facts > div + div { padding-left: 12px; }
	.nprz-body .nprz-pdp__hint { font-size: 11px; padding: 8px 12px; bottom: 10px; max-width: 88%; white-space: normal; text-align: center; }
	.nprz-body .nprz-pdp__thumb { width: 64px; height: 64px; }
	.nprz-body .nprz-pdp__spec .nprz-spec__row { grid-template-columns: 1fr; gap: 6px; }
	.nprz-body .nprz-zoombar button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .nprz-body .nprz-pdp__panel, .nprz-body .nprz-pdp__sticky { transition: none; } }

/* kadrowanie klatek 360° w galerii (okno ~1,2:1): ten sam środek produktu */
.nprz-body .nprz-pdp__panel[data-nprz-360] > img { object-position: 50% 39%; }

/* D-176: dostępność na karcie produktu (status, bez ilości) */
.nprz-body .nprz-pdp__avail { display: flex; align-items: center; gap: 8px; margin: -8px 0 4px; font-family: var(--nprz-font-cap); font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }
.nprz-body .nprz-pdp__avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nprz-teal); }
.nprz-body .nprz-pdp__avail--out { margin-bottom: 16px; }
.nprz-body .nprz-pdp__avail--out::before { background: var(--nprz-amber); }
.nprz-body .nprz-pdp__avail + .nprz-pdp__delivery { margin-top: 0; }

/* D-177: dwie noty na karcie produktu – obok siebie, bez linii rozdzielającej */
.nprz-body .nprz-pnotes:has(> .nprz-pnote:nth-child(2):last-child) .nprz-pnote--wide { grid-column: auto; padding-top: 0; border-top: 0; }
.nprz-body .nprz-pnotes:has(> .nprz-pnote:nth-child(2):last-child) .nprz-pnote--wide p { max-width: none; }
