/*
 * Karta produktu — układ „Pracownia” (24.10.2026). Dokłada się do main.css + styl.css; markup: inc/pdp.php,
 * template-parts/laris-product.php, woocommerce/content-single-product.php.
 * Zasady: jedna czcionka, zieleń marki, len i biel; pasek faktów z ikonami, ciemnozielony pasek dostawy, bez gradientów.
 * Stała wysokość pól (aspect-ratio / min-height) — bez przesunięć układu.
 */

/* Nagłówek: linia nad H1 i H1 z frazą kluczową */
.pdp-eyebrow { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 13.5px; font-weight: 600; color: var(--acc); letter-spacing: 0.01em; margin: 0; }
.pdp-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--acc); border-radius: 2px; }
.pdp-title--seo { display: block; font-size: clamp(30px, 3.1vw, 42px); font-weight: 600; letter-spacing: -0.028em; line-height: 1.07; margin: 0; text-wrap: balance; }
.pdp-title--seo + .pdp-sub { font-size: 17px; line-height: 1.45; color: var(--ink-2); margin-top: 0; max-width: 46ch; }

/* Pasek faktów (4 kafle, ikona + etykieta + wartość + podpis) */
.pf { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.pf-i { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px 22px 22px 24px; min-height: 124px; }
.pf-i + .pf-i { border-left: 1px solid var(--line); }
.pf-ico { box-sizing: content-box; width: 26px; height: 26px; padding: 11px; border-radius: 50%; background: var(--acc-tint); color: var(--acc); }
.pf-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pf-t small { font-size: 13px; font-weight: 500; color: var(--mute); }
.pf-t b { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; overflow-wrap: anywhere; }
.pf-t em { font-style: normal; font-size: 13px; line-height: 1.4; color: var(--ink-2); margin-top: 3px; }

/* Pasek dostawy i zwrotów */
.ps { margin-top: 16px; background: var(--forest); color: #F1EDE4; border-radius: var(--r-lg); padding: 6px 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.ps ul { list-style: none; margin: 0; padding: 0; flex: 1 1 760px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 16px 18px; font-size: 13.5px; line-height: 1.4; color: #CFE0D5; }
.ps li + li { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.ps b { display: block; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.ps .pf-ico { background: none; padding: 0; color: var(--cu-light); width: 24px; height: 24px; }
.ps-more { color: var(--cu-light); font-size: 14px; font-weight: 600; margin: 0 14px; white-space: nowrap; }

/* Opis, dane techniczne, poradnik */
.pdp-more { margin-top: 64px; gap: 48px; }
.pdp-desc { flex: 6 1 480px; }
.pdp-desc p { font-size: 16.5px; line-height: 1.65; max-width: 62ch; }
.pdp-more .pdp-specs { flex: 5 1 420px; }
.specs { border-top: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--hair); }
.specs tr:nth-child(even) th, .specs tr:nth-child(even) td { background: #FBF9F5; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { font-weight: 500; }
.specs td { font-weight: 500; }

.pdp-guide { margin-top: 64px; padding: 36px; background: var(--studio); border-radius: var(--r-lg); }
.pdp-guide h2 { text-transform: none; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; font-weight: 600; line-height: 1.15; margin: 0 0 20px; max-width: 30ch; }
.pdp-guide-b { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pdp-guide .prose p { font-size: 16px; line-height: 1.65; margin: 0 0 14px; max-width: 60ch; }
.pdp-guide-t { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--hair); font-size: 15px; }
.pdp-guide-t caption { caption-side: top; text-align: left; padding: 0 0 10px; font-size: 13.5px; color: var(--mute); }
.pdp-guide-t th, .pdp-guide-t td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.pdp-guide-t thead th { font-size: 13px; font-weight: 600; color: var(--mute); background: #FBF9F5; }
.pdp-guide-t tbody th { font-weight: 600; }
.pdp-guide-t tr:last-child th, .pdp-guide-t tr:last-child td { border-bottom: 0; }

/* Rozmiary i pytania */
.pdp-compare, .pdp-faq, .pdp-rel { margin-top: 64px; }
.pdp-faq { max-width: 920px; }
.pdp-faq details { border-top: 1px solid var(--line-2); }
.pdp-faq summary { font-weight: 600; font-size: 17px; padding: 16px 0; }
.pdp-faq details p { font-size: 16px; line-height: 1.6; }
.pdp-rel h2 { text-transform: none; font-size: 24px; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 18px; }
.pdp-rel-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* Zdjęcie: ramka i miniatury */
.pdp--prem .gal-main { border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.pdp--prem .gal-thumbs { gap: 10px; }
.pdp--prem .gal-thumb { width: 84px; height: 84px; border-radius: var(--r-sm); }

@media (max-width: 1100px) {
	.pf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pf-i:nth-child(3) { border-left: 0; }
	.pf-i:nth-child(n+3) { border-top: 1px solid var(--line); }
	.ps ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ps li:nth-child(3) { border-left: 0; }
	.ps li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
	.pdp-guide-b { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.pdp-rel-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.pdp-eyebrow { order: 0; }
	.pdp .gal { order: 3; }
	.pdp-title--seo { font-size: 29px; }
	.pdp-title--seo + .pdp-sub { font-size: 15px; }
	.pf { margin-top: 28px; grid-template-columns: minmax(0, 1fr); border-radius: var(--r); }
	.pf-i { min-height: 0; padding: 16px; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
	.pf-i + .pf-i { border-left: 0; border-top: 1px solid var(--line); }
	.pf-i:nth-child(3) { border-top: 1px solid var(--line); }
	.pf-t b { font-size: 19px; }
	.ps { border-radius: var(--r); padding: 4px 6px; }
	.ps ul { grid-template-columns: minmax(0, 1fr); flex-basis: 100%; }
	.ps li + li, .ps li:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
	.ps li { padding: 13px 12px; }
	.ps-more { margin: 0 12px 12px; }
	.pdp-more, .pdp-guide, .pdp-compare, .pdp-faq, .pdp-rel { margin-top: 40px; }
	.pdp-guide { padding: 22px 18px; border-radius: var(--r); }
	.pdp-desc p { font-size: 16px; }
	.pdp-rel-g { grid-template-columns: minmax(0, 1fr); }
	.pdp--prem .gal-thumb { width: 64px; height: 64px; }
}
.pdp-guide-b--text { grid-template-columns: minmax(0, 76ch); }
.pdp-guide:has(.pdp-guide-b--text) { max-width: 980px; }

/* Producent Laris (25.10.2026): wiersz pod nagłówkiem i blok GPSR */
.pdp-maker { margin: 6px 0 0; font-size: 14px; color: var(--muted, #5b5b57); }
.pdp-maker b { color: inherit; font-weight: 600; }
.pdp-gpsr { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--hair, #e3e1dc); border-radius: var(--r, 8px); font-size: 13.5px; line-height: 1.55; }
.pdp-gpsr h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.pdp-gpsr p { margin: 0; }
