/* ============================================================================
   Cucudo Child — strona produktu (ładowany tylko na is_product(), wp_body_open
   PO arkuszach parenta — patrz inc/cucudo-core.php).

   2026-07-23: SPŁASZCZONY z dwóch warstw historycznych (v1 = redesign 2026-07-17
   przeniesiony z cucudo-child.css [audyt A8] + v2 = konfigurator wg
   SPEC-2026-07-konfigurator-v2.md, który nadpisywał v1 kaskadą). Teraz jedna
   warstwa: każdy selektor zadeklarowany raz, wartości = stan wynikowy kaskady
   v1+v2 (zweryfikowano computed-style diffem na 3 produktach × 2 szerokości).
   Kolory v2 1:1 z makiety „Cucudo Konfigurator Produktu": akcent zielony
   #0A7D45 / tło #F0FAF4, CTA #C2410C (hover #9A3412), „dodano" #3E7C3A,
   błąd #C2410C.

   SPIS SEKCJI (kolejność = kolejność w DOM strony):
     1. Fonty licencyjne (kafle podglądu LED)
     2. Keyframes
     3. Hero: siatka galeria + panel
     4. Galeria v2 (track, licznik, miniatury) + lightbox + modal „+N"
     5. Panel: typografia, cena, rating, omnibus
     6. Formularz konfiguratora (variations, kafle, dropdown, FPF, upload,
        checkboxy, informacja, CTA)
     7. Karta sumy + boxy dostawy + modal montażu
     8. Pasek CTA (buybar, mobile)
     9. Sekcje treści (opis, specyfikacja, dlaczego warto, product_ct)
    10. Opinie
    11. Mobile ≤900px
   ========================================================================== */

/* ---- 1. Licensed fonts for the LED font-preview tiles (served from the child theme,
   loaded by the browser only when a page actually uses the family).
   2026-07-23 (audyt, A3): woff2 = subset latin+latin-ext (komplet PL zweryfikowany
   fontTools) — 561 KB (otf/ttf) -> 126 KB. Oryginały zostają na dysku jako źródło
   (fallback src dla starożytnych przeglądarek bez woff2). */
@font-face {
	font-family: 'Arno Pro';
	src: url('../fonts/ArnoPro-Bold.woff2') format('woff2'),
	     url('../fonts/ArnoPro-Bold.otf') format('opentype');
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: 'Myriad Pro';
	src: url('../fonts/MyriadPro-Bold.woff2') format('woff2'),
	     url('../fonts/MyriadPro-Bold.otf') format('opentype');
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: 'Avalon Pro';
	src: url('../fonts/AvalonPro-Bold.woff2') format('woff2'),
	     url('../fonts/AvalonPro-Bold.ttf') format('truetype');
	font-weight: 700;
	font-display: swap;
}

/* ---- 2. Keyframes ---- */
@keyframes ccdFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ---- 3. Hero: gallery left (sticky on desktop), configurator panel right.
   Cała strona produktu żyje w bootstrapowym .container (wyśrodkowany, ~1140/1320px) — dokładnie
   jak sekcje homepage__products na stronie głównej. Padding poziomy daje kontener, więc bloki
   nie mają już 4vw z boków. ---- */
.ccd-hero {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	align-items: start;
}
/* position:relative = kotwica dla .ccd-badge/lupki <992px; na desktopie sticky
   przejmuje (sticky też jest containing blockiem dla absolute). 2026-07-23: sticky
   ożywione — wcześniej martwe, bo relative stało PO bloku @media i wygrywało remis. */
.ccd-hero__gallery {
	position: relative;
	padding: 0 0 40px 0;
	min-width: 0;
}
@media (min-width: 992px) {
	.ccd-hero__gallery {
		position: sticky;
		top: 20px;
		align-self: start;
	}
}
.ccd-hero__gallery .wpa-woocommerce-product-gallery,
.ccd-hero__gallery .woocommerce-product-gallery {
	width: 100% !important;
	float: none;
}
/* CLS (SPEC-2026-07-24, A8) — ŹRÓDŁO przesunięcia 0,108 z raportu PSI.
   Galerię buduje JS: do jego uruchomienia w kontenerze siedzi galeria wtyczki,
   potem JS ją ukrywa i wstawia .ccd-gallery. Zmierzone na żywo (mobile 375px):
   kontener miał 101 px przed JS i 391 px po — SKOK 290 px, czyli 35,7% wysokości
   okna, na samej górze strony. Przy dławieniu 4G (tak mierzy PSI) JS wchodzi po
   pierwszym malowaniu, więc skok jest widoczny i liczy się do CLS; lokalnie bez
   dławienia nie da się go odtworzyć — stąd pomiar przez symulację stanu pre-JS.

   Rezerwacja: kwadrat 1/1 = dokładnie tyle, ile zajmie .ccd-gal-slide (też 1/1).
   Marginesu 32 px nie da się zdjąć bez !important — parent style.css?ver=1.6 ma
   `margin-bottom: inherit !important` na tym selektorze. Miniatury wtyczki chowamy,
   bo po podmianie zastępuje je .ccd-thumbs, a bez tego rezerwacja jest zawyżona.
   Po zmianie zmierzone: przed JS 391 px, po JS 391 px — skok 0. */
.ccd-hero__gallery .wpa-woocommerce-product-gallery {
	aspect-ratio: 1 / 1 !important;
	margin-bottom: 0 !important;
}
.ccd-hero__gallery .wpa-woocommerce-product-gallery .wpa-product-gallery-thumbs {
	display: none !important;
}

/* design: jedna główna fotka + siatka miniatur — JS buduje .ccd-gallery z obrazków wtyczki
   i dodaje klasę .ccd-gallery-on, która ukrywa całą karuzelę wtyczki (fallback bez JS:
   wtyczka renderuje się normalnie — główna fotka zostaje, miniatury wtyczki nie) */
.ccd-gallery-on .wpa-woocommerce-product-gallery {
	display: none !important;
}

/* ---- 4. Galeria v2: track + licznik + rząd miniatur + modal „+N" + lightbox ---- */
.ccd-gallery {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
}
.ccd-gal-track {
	display: block;
}
.ccd-gal-slide {
	display: none;
	width: 100%;
	aspect-ratio: 1 / 1;
	cursor: zoom-in;
}
.ccd-gal-slide.is-current {
	display: block;
}
.ccd-gal-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
	display: block;
}
.ccd-gal-counter {
	display: none;
	position: absolute;
	right: 10px;
	bottom: 10px;
	background: rgba(18, 19, 26, .75);
	color: #fff;
	font-size: 12px;
	padding: 5px 10px;
	border-radius: 8px;
	z-index: 2;
	pointer-events: none;
}
.ccd-gal-counter.is-on {
	display: block;
}
/* badge on the gallery image (ACF product_badge) */
.ccd-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 6;
	background: #12131A;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 9px 15px;
	border-radius: 10px;
	letter-spacing: .5px;
}
.ccd-zoom-main {
	position: absolute;
	right: 14px;
	bottom: 14px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	border: 0;
	background: rgba(255, 255, 255, .92);
	cursor: pointer;
	font-size: 18px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
	z-index: 5;
	transition: background .15s, color .15s;
}
.ccd-zoom-main:hover {
	background: #0A7D45; /* 2026-07-23: wyrównanie hoverów v1 do zieleni v2 */
	color: #fff;
}
/* rząd miniatur: zawsze jeden rząd (6 kolumn jak mockup) zamiast siatki */
.ccd-thumbs {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	margin-top: 10px;
}
.ccd-thumb {
	padding: 2px;
	background: #fff;
	border-radius: 9px;
	border: 1px solid #E2E2E2;
	cursor: pointer;
	transition: border-color .12s;
}
.ccd-thumb:hover {
	border-color: #0A7D45;
}
.ccd-thumb.is-active {
	border-color: #0A7D45;
}
.ccd-thumb img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 7px;
	display: block;
}
.ccd-thumb--more span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 7px;
	background: #F2F0EB;
	font-size: 13px;
	font-weight: 500;
	color: #0A7D45;
}

/* Lightbox (design: dark overlay, caption, ✕) */
.ccd-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(10, 10, 12, .88);
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 4vw;
	cursor: zoom-out;
	animation: ccdFadeIn .18s ease;
}
.ccd-lightbox.is-open {
	display: flex;
}
.ccd-lightbox img {
	max-width: 92vw;
	max-height: 82vh;
	border-radius: 10px;
	background: #fff;
	object-fit: contain;
}
.ccd-lightbox p {
	color: #fff;
	font-size: 15px;
	margin: 16px 0 0;
}
.ccd-lightbox__close {
	position: absolute;
	top: 22px;
	right: 26px;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
}

/* Modal „+N" (pełna siatka zdjęć galerii) */
.ccd-galmodal {
	position: fixed;
	inset: 0;
	z-index: 10060;
	background: rgba(18, 19, 26, .82);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px;
}
.ccd-galmodal.is-open {
	display: flex;
	animation: ccdFadeIn .15s ease;
}
.ccd-galmodal__card {
	max-width: 860px;
	width: 100%;
	background: #fff;
	border-radius: 14px;
	padding: 26px;
	max-height: 82vh;
	overflow: auto;
}
.ccd-galmodal__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
}
.ccd-galmodal__head h3 {
	font-size: 19px;
	font-weight: 500;
	margin: 0;
}
.ccd-galmodal__close {
	border: 1px solid #E2E2E2;
	background: #fff;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	cursor: pointer;
	font-size: 14px;
}
.ccd-galmodal__close:hover {
	border-color: #0A7D45;
	color: #0A7D45;
}
.ccd-galmodal__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.ccd-galmodal__thumb {
	padding: 2px;
	background: #fff;
	border-radius: 9px;
	border: 1px solid #E2E2E2;
	cursor: pointer;
}
.ccd-galmodal__thumb:hover,
.ccd-galmodal__thumb.is-active {
	border-color: #0A7D45;
}
.ccd-galmodal__thumb img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 7px;
	display: block;
}

/* ---- 5. Panel: tło, typografia, cena, rating, omnibus ---- */
.ccd-hero__panel {
	background: #F9F9F9;
	padding: 40px 40px 48px 44px;
	min-width: 0;
}
@media (max-width: 991px) {
	.ccd-hero__panel {
		padding: 32px 24px 40px;
	}
}

/* WooCommerce layout CSS floats div.summary to 48% — kill it inside the panel
   (selector mirrors woocommerce-layout.css specificity so the later child file wins) */
.woocommerce div.product .ccd-hero__panel div.summary,
div.product .ccd-hero__panel div.summary {
	float: none;
	width: 100%;
	margin-bottom: 0;
}
/* Parent hides the price range on variable products (.product-type-variable
   .product--rightcol p.price) — the redesign shows a live total there instead. */
.ccd-product .ccd-hero__panel .summary > p.price {
	display: block;
}

/* Panel typography */
.ccd-hero__panel .product_title {
	font-size: 34px;
	line-height: 1.18;
	font-weight: 500;
	margin: 0 0 10px;
}
.ccd-hero__panel .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}
.ccd-hero__panel .summary > p.price,
.ccd-hero__panel .summary > p.price .woocommerce-Price-amount {
	font-size: 40px !important; /* parent styles amounts green/small — design: big ink */
	font-weight: 500;
	color: #12131A !important;
}
.ccd-hero__panel .summary > p.price {
	margin: 14px 0 4px;
}
/* rating row: stars gold + numeric average, like the design */
.ccd-hero__panel .woocommerce-product-rating .star-rating,
.ccd-hero__panel .woocommerce-product-rating .star-rating span::before,
.ccd-hero__panel .woocommerce-product-rating .star-rating span:before {
	color: #FFB600 !important;
}
.ccd-rating-num {
	font-size: 15px;
	font-weight: 500;
}
.ccd-hero__panel .woocommerce-product-rating a.woocommerce-review-link {
	font-size: 13px;
	color: #12131A;
}
.ccd-hero__panel .ccd-price-detail {
	font-size: 14px;
	color: #767676;
	font-weight: 400;
	margin-left: 12px;
}
/* Omnibus line (WP Desk Omnibus output, relocated under the price by JS) */
.ccd-hero__panel #omnibus-price-data {
	display: block;
	font-size: 12px;
	color: #767676;
	margin: 0 0 22px;
}

/* ---- 6. Formularz konfiguratora ---- */
/* Separator above the configurator. Design has NO margin above the border — the gap
   is only the 22px bottom-margin of the price/omnibus block above it (padding-top:22px inside). */
.ccd-hero__panel form.cart {
	border-top: 1px solid #E2E2E2;
	padding-top: 22px;
	margin-top: 0;
}

/* Native variation table is fully replaced by our tiles — hide it whole (selects stay in
   the DOM, submit and fire change events even when their table is display:none). This also
   removes the WooCommerce "Clear" (.reset_variations) link and the empty row's vertical gap
   that otherwise sat between the colour tiles and the Numer field.
   ⚠️ IVPA injects an inline <style>: `body div .variations_form .variations{display:table!important}`
   — specificity (0,2,2), which beats a plain `.ccd-hero__panel table.variations` (0,2,1) even with
   !important. We out-specify it: (0,3,2) with the extra .variations_form class + form element. */
.ccd-hero__panel form.variations_form table.variations {
	display: none !important;
}

/* IVPA (Improved Variable Product Attributes) is fully hidden — our own tiles built
   from the native selects replace it (its JS init proved unreliable with this layout). */
.ccd-hero__panel .ivpa-register {
	display: none !important;
}
/* variation tile group injected by JS (label + tiles above the hidden variations table) */
.ccd-variation {
	margin-bottom: 22px;
}
.ccd-opt-row {
	display: flex;
	width: 100%;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 10px;
}
.ccd-opt-row .ccd-opt-label {
	margin-bottom: 0;
}
.ccd-opt-label {
	display: block;
	font-size: 15px;
	font-weight: 500;
	margin-bottom: 10px;
}
/* Etykiety pól: 15px/500 wg makiety (parent/FPF dawał 16px/700 — za ciężko) */
.ccd-hero__panel .summary .form-row > label,
.ccd-hero__panel .summary .form-row > label .fpf-field-tooltip,
.ccd-hero__panel .ccd-opt-label {
	font-size: 15px;
	font-weight: 500;
}
/* link „Zobacz: …" — osobna linia pod nagłówkiem pola, nad kontrolką, do lewej */
.ccd-see-link {
	display: block;
	border: 0;
	background: none;
	padding: 0;
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 400;
	text-align: left;
	text-decoration: underline;
	cursor: pointer;
	color: #12131A;
}

/* „Wzorniki i wymiary" — przyciski otwierające lightbox */
.ccd-wzorniki {
	margin: 0 0 26px;
}
.ccd-wzorniki__btns {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.ccd-wz-btn {
	flex: 1;
	min-width: 170px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	border: 1px solid #C6C6C6;
	background: #fff;
	border-radius: 10px;
	padding: 12px 16px;
	cursor: pointer;
	text-align: left;
	transition: border-color .15s;
}
.ccd-wz-btn:hover {
	border-color: #0A7D45; /* 2026-07-23: wyrównanie hoverów v1 do zieleni v2 */
}
.ccd-wz-btn__t {
	font-size: 14px;
	font-weight: 500;
	color: #12131A;
}
.ccd-wz-btn__d {
	font-size: 12px;
	color: #767676;
}

/* ===== Kafelki (mockup v2: sel = 2px #0A7D45 + tło #F0FAF4) ===== */
.ccd-tiles {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 10px;
}
.ccd-tile {
	border: 1px solid #C6C6C6;
	background: #fff;
	border-radius: 10px;
	cursor: pointer;
	padding: 12px 18px;
	min-width: 96px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: flex-start;
	font-size: 15px;
	font-weight: 500;
	color: #12131A;
	transition: border-color .12s;
	text-align: left;
}
.ccd-tile:hover {
	border-color: #0A7D45;
}
.ccd-tile.ccd-tile--active {
	border: 2px solid #0A7D45;
	padding: 11px 17px;
	background: #F0FAF4;
	box-shadow: none;
}
.ccd-tile.ccd-invalid {
	border-color: #C2410C;
}
.ccd-tile__sub {
	font-size: 12px;
	color: #767676;
	font-weight: 400;
}

/* kafel „samego labelu" (np. Model/Wzór): bez min-width, dopasowany do treści, wyśrodkowany
   — makieta padding 13/22 (aktywny 12/21 kompensuje 2px ramkę). Bazowy .ccd-tile jest
   stylem dla Wymiaru (label+cena, kolumna, lewo) i był tu za duży/nierówny. */
.ccd-tile--plain {
	min-width: 0;
	padding: 13px 22px;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.ccd-tile--plain.ccd-tile--active {
	padding: 12px 21px;
}

/* barwa światła: glowing chip tiles — podwójna klasa historycznie biła bazowy .ccd-tile;
   zostaje dla stabilności (JS emituje „ccd-tile ccd-tile--chip") */
.ccd-tile.ccd-tile--chip {
	flex-direction: row;
	align-items: center;
	gap: 10px;
	min-width: 140px;
	text-align: left;
}
.ccd-chip {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	flex: none;
	border: 1px solid #D8D8D8;
}
.ccd-tile__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	align-items: flex-start;
}

/* colour swatch tiles (variation image per value) + mini-zoom.
   Swatch dziedziczy padding/min-width bazowego kafla (width:72 jest podłogowane
   przez min-width:96 — zostaje, bo usunięcie zmieniłoby szerokość na auto).
   Dawny design 72×72/3px skasowany decyzją właściciela 2026-07-23. */
.ccd-tile--swatch {
	position: relative;
	overflow: visible;
	width: 72px;
	height: 72px;
}
.ccd-tile--swatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}
.ccd-tile__zoom {
	position: absolute;
	right: -5px;
	bottom: -5px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	font-size: 9px;
	cursor: pointer;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Font-preview tiles (LED): sample rendered in the actual production font */
.ccd-tile--font {
	align-items: center;
	min-width: 110px;
	padding: 14px 18px;
}
.ccd-tile--font.ccd-tile--active {
	padding: 13px 17px;
}
.ccd-tile__sample {
	font-size: 26px;
	line-height: 1;
	color: #12131A;
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ccd-font-1 { font-family: 'Arno Pro', serif; font-weight: 700; }
.ccd-font-2 { font-family: 'Myriad Pro', sans-serif; font-weight: 700; }
.ccd-font-3 { font-family: 'Avalon Pro', sans-serif; font-weight: 700; }

/* Montaż wg makiety (l.899-913): siatka minmax(130,1fr), kadr obrazka 4/3 zaokrąglony,
   padding 8/8/12 (aktywny 7/7/11 kompensuje 2px ramkę). Ikona + lupka jak swatche. */
.ccd-tiles--montaz {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
}
.ccd-tile--montaz {
	position: relative;
	align-items: center;
	text-align: center;
	width: 100%;
	min-width: 0;
	gap: 6px;
	padding: 8px 8px 12px;
}
.ccd-tile--montaz.ccd-tile--active {
	padding: 7px 7px 11px;
}
.ccd-tile--montaz .ccd-tile__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	border-radius: 7px;
	background: #fff; /* zdjęcia elementów na białym tle */
	overflow: hidden;
	margin-bottom: 0;
}
.ccd-tile--montaz .ccd-tile__icon img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}
/* „Brak w zestawie" (bez zdjęcia) — placeholder beżowy, ikona SVG szara (currentColor) */
.ccd-tile__icon--none {
	color: #B0B0B0;
}
.ccd-tile--montaz .ccd-tile__icon--none {
	background: #F2F0EB;
}
/* 🔍 przy ikonie (prawy górny róg kafla), nie kolidując z ceną pod spodem */
.ccd-tile--montaz .ccd-tile__zoom {
	top: 6px;
	right: 6px;
	bottom: auto;
}
.ccd-tile--montaz > span:not(.ccd-tile__sub) {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

/* przełącznik segmentowany (pola z listy „Przełączniki" w opcjach ACF) */
.ccd-tiles--toggle {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ccd-tiles--toggle .ccd-tile {
	flex: 1 1 150px;
	min-width: 150px;
	align-items: flex-start;
	text-align: left;
	padding: 12px 18px;
}

/* ===== Lista z próbką (.ccd-dd — pełny restyle wg mockupu) ===== */
.ccd-dd {
	position: relative;
	margin-top: 6px;
}
.ccd-dd__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid #C6C6C6;
	background: #fff;
	border-radius: 10px;
	padding: 13px 18px;
	cursor: pointer;
	text-align: left;
	font: inherit;
	transition: border-color .12s;
}
.ccd-dd__toggle:hover {
	border-color: #0A7D45;
}
.ccd-dd__toggle.ccd-invalid {
	border-color: #C2410C;
}
.ccd-dd__toggle.is-placeholder .ccd-dd__code {
	color: #767676;
	font-weight: 400;
}
.ccd-dd__chip {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	flex: none;
	border: 1px solid rgba(0, 0, 0, .14);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
	background-size: cover;
	background-position: center;
}
.ccd-dd__chip--none {
	background: repeating-linear-gradient(45deg, #F2F0EB, #F2F0EB 4px, #E2E2E2 4px, #E2E2E2 8px);
}
/* przycisk zwiniętego dropdownu: chip 28px jak w makiecie (wiersze listy zostają 26px) */
.ccd-dd__toggle .ccd-dd__chip {
	width: 28px;
	height: 28px;
}
.ccd-dd__code {
	font-size: 15px;
	font-weight: 500;
	color: #12131A;
}
.ccd-dd__name {
	font-size: 13px;
	color: #767676;
}
.ccd-dd__arrow {
	margin-left: auto;
	color: #0A7D45;
	font-size: 12px;
}
.ccd-dd__list {
	position: absolute;
	z-index: 31;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	margin: 0;
	list-style: none;
	background: #fff;
	border: 1px solid #C6C6C6;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
	max-height: 300px;
	overflow: auto;
	padding: 6px;
	animation: ccdFadeIn .12s ease;
}
.ccd-dd__list[hidden] {
	display: none;
}
.ccd-dd__opt {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 0;
	background: none;
	border-radius: 8px;
	padding: 10px 12px;
	cursor: pointer;
	text-align: left;
	margin: 0;
}
.ccd-dd__opt:hover {
	background: #F0FAF4;
}
.ccd-dd__opt.is-selected {
	background: #F0FAF4;
}
.ccd-dd__opt .ccd-dd__code {
	font-size: 14px;
	min-width: 30px;
}
.ccd-dd__opt .ccd-dd__name {
	font-size: 13px;
}
.ccd-dd__check {
	margin-left: auto;
	font-size: 14px;
	color: #0A7D45;
	visibility: hidden;
}
.ccd-dd__opt.is-selected .ccd-dd__check {
	visibility: visible;
}

/* ===== FPF fields ===== */
/* margines pola + animacja zwijania pól logiki warunkowej (bez adresu / czujnik) */
.ccd-hero__panel .fpf-field {
	margin-bottom: 22px;
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows .2s ease, opacity .2s ease;
}
.ccd-hero__panel .fpf-field > * {
	min-height: 0;
}
.ccd-hero__panel .fpf-field.ccd-collapsed {
	grid-template-rows: 0fr;
	opacity: 0;
	margin: 0 !important;
	pointer-events: none;
	visibility: hidden;
}
.ccd-hero__panel .fpf-field.ccd-collapsed > * {
	overflow: hidden;
}
/* Cyfry: hidden per-character radio (fieldset.select-option) — parent hides only the
   fieldset, leaving its .fpf-field wrapper as a phantom 22px gap. Collapse the wrapper.
   Category-scoped (numbers-and-signs) so LED radios are untouched. */
.numbers-and-signs .ccd-hero__panel .fpf-field.fpf-radio {
	display: none;
}
.ccd-hero__panel .fpf-field .form-row {
	margin: 0;
	padding: 0;
}
.ccd-hero__panel .fpf-field label {
	font-size: 15px;
	font-weight: 500;
	max-width: none; /* parent: .fpf-field.fpf-select label{max-width:200px} — łamie etykiety */
}
.ccd-hero__panel .fpf-field .optional {
	display: none; /* "(optional)" next to required fields — plugin quirk, pure noise */
}
.ccd-hero__panel .fpf-field abbr.required {
	color: #C2410C;
	text-decoration: none;
}
.ccd-hero__panel .fpf-field input.input-text {
	width: 100%;
	border: 1px solid #C6C6C6;
	border-radius: 10px;
	font-size: 17px;
	padding: 15px 20px;
	outline: none;
	background: #fff;
	box-shadow: none;
}
.ccd-hero__panel .fpf-field input.input-text:focus {
	border-color: #0A7D45; /* 2026-07-23: wyrównanie focusu v1 do zieleni v2 */
}
.ccd-hero__panel .fpf-field input.input-text.ccd-invalid,
.ccd-hero__panel .fpf-field select.ccd-invalid {
	border-color: #C2410C;
	box-shadow: 0 0 0 3px rgba( 194, 65, 12, .15 );
}
/* live helper line under text fields (char counter / address hint), injected by JS */
.ccd-field-hint {
	font-size: 13px;
	color: #767676;
	margin: 8px 0 0;
}
/* FPF selects turned into tiles by JS: original select is hidden, tiles keep it in sync */
.ccd-hero__panel .fpf-select .woocommerce-input-wrapper select.ccd-tiled {
	display: none;
}
/* FPF's own tooltip icon (ⓘ) — we surface the tooltip text inline instead */
.ccd-hero__panel .fpf-field-tooltip-icon {
	display: none !important;
}

/* ===== Upload (FPF PRO — mechanika wtyczki, wygląd mockupu) ===== */
.ccd-hero__panel .fpf-file-draggable {
	position: relative;
	display: block;
}
.ccd-hero__panel .fpf-file-draggable-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}
.ccd-hero__panel .fpf-file-draggable-content {
	display: block;
	border: 1px dashed #C6C6C6;
	background: #F9F9F9;
	border-radius: 10px;
	padding: 26px 18px;
	text-align: center;
	transition: border-color .12s, background .12s;
}
.ccd-hero__panel .fpf-file-draggable:hover .fpf-file-draggable-content {
	border-color: #0A7D45;
	background: #F0FAF4;
}
.ccd-upload__main {
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 4px;
}
.ccd-upload__sub {
	display: block;
	font-size: 12px;
	color: #767676;
}
.ccd-hero__panel .fpf-file-draggable-error {
	display: block;
	font-size: 13px;
	color: #C2410C;
	margin-bottom: 6px;
}
.ccd-hero__panel .fpf-file-draggable-error[hidden] {
	display: none;
}
.ccd-hero__panel .fpf-file-draggable-preview {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #0A7D45;
}
.ccd-hero__panel .fpf-file-draggable-preview[hidden] {
	display: none;
}
.ccd-hero__panel .fpf-file-draggable-delete {
	margin-top: 8px;
	background: none;
	border: 0;
	padding: 0;
	font-size: 12px;
	color: #767676;
	text-decoration: underline;
	cursor: pointer;
	position: relative;
	z-index: 3;
}

/* ===== FPF checkboxes (KLEJ, czujnik zmierzchowy) as full-width cards ===== */
.ccd-hero__panel .fpf-checkbox .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}
.ccd-hero__panel .fpf-checkbox .form-row label.checkbox,
.ccd-hero__panel .fpf-checkbox label.checkbox {
	display: flex !important; /* woocommerce.css: form .form-row label.checkbox{display:inline} */
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 4px 12px;
	width: 100%;
	background: #fff;
	border: 1px solid #E2E2E2;
	border-radius: 10px;
	padding: 14px 16px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 500;
}
.ccd-hero__panel .fpf-checkbox input.input-checkbox {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: #0A7D45;
	flex: none;
}
/* description line inside the card (FPF tooltip) */
.ccd-checkbox-desc {
	flex-basis: 100%;
	/* wyrównanie do tekstu etykiety: checkbox 18px + margin-right 8px + column-gap 12px */
	padding-left: 38px;
	color: #767676;
	font-size: 13px;
	font-weight: 400;
}

/* ===== Blok „Informacja" (ACF per produkt) ===== */
.ccd-info-block {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	border: 1px solid #E2E2E2;
	background: #F9F9F9;
	border-radius: 10px;
	padding: 14px 16px;
	margin: 14px 0;
	font-size: 13px;
	line-height: 1.5;
}
.ccd-info-block__icon {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #0A7D45;
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-style: normal;
}
.ccd-info-block__body strong {
	display: block;
	font-weight: 500;
	color: #12131A;
	margin-bottom: 2px;
}
.ccd-info-block__body span {
	color: #4A4A4A;
}

/* ===== Add to cart row ===== */
.ccd-hero__panel .single_variation_wrap {
	display: block;
	margin-top: 0;
	border-top: 0;
	padding-top: 0;
}
/* per-unit variation price hidden — the top price shows the live total */
.ccd-hero__panel .woocommerce-variation-price {
	display: none;
}
.ccd-hero__panel .woocommerce-variation-add-to-cart {
	display: block;
}
.ccd-hero__panel .quantity {
	display: none !important; /* configurator products are single-piece by nature; qty=1 posted */
}
/* Stan surowy (pre-JS): przycisk MUSI być ostylowany zanim JS zbuduje kartę sumy i go
   przeniesie — inaczej do tego czasu renderuje się domyślny fiolet Woo (regresja vs
   batch 1 wykryta 2026-07-24; v1 miał taką regułę w cucudo-child.css, konsolidacja v2
   ją zgubiła, a computed-style diff nie widzi stanów pre-JS). Wartości 1:1 z reguły
   .ccd-sumcard niżej — ta sama specyficzność, karta wygrywa późniejszą pozycją w pliku. */
.ccd-hero__panel button.single_add_to_cart_button,
.ccd-hero__panel .single_add_to_cart_button {
	font-size: 15px;
	font-weight: 500;
	color: #fff !important;
	border: 0;
	border-radius: 10px;
	padding: 18px 40px !important;
	cursor: pointer;
	transition: background .15s;
	background: #C2410C !important;
	text-transform: none;
	letter-spacing: 0;
	height: auto;
	line-height: 1.2;
}
.ccd-hero__panel .single_add_to_cart_button.disabled,
.ccd-hero__panel .single_add_to_cart_button:disabled {
	opacity: .45;
	cursor: not-allowed;
}
/* hint renderuje się wyłącznie wewnątrz .ccd-sumcard (JS wstawia go po .ccd-sumcard__main) */
.ccd-cta-hint {
	font-size: 13px;
	font-weight: 600;
	color: #C2410C;
	margin: 10px 0 0;
}
/* pusty hint nie zajmuje miejsca; wyróżniony tylko gdy JS wstawi treść */
.ccd-cta-hint:empty {
	display: none;
}
.ccd-cta-hint:not( :empty )::before {
	content: "⚠ ";
}

/* ---- 7. Karta sumy — w normalnym flow (nie klei się, nie nachodzi na konfigurator);
   pływający pasek CTA przejmuje rolę „zawsze widocznej ceny" wyłącznie na mobile
   (patrz .ccd-buybar) ---- */
.ccd-sumcard {
	background: #fff;
	border: 1px solid #E2E2E2;
	border-radius: 14px;
	padding: 18px 22px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
	margin-top: 18px;
}
.ccd-sumcard__toggle {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
	font-size: 13px;
	color: #767676;
	font-family: inherit;
}
.ccd-sumcard__chev {
	color: #0A7D45;
	font-size: 11px;
}
.ccd-sumcard__rows {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 0 4px;
	border-bottom: 1px solid #E2E2E2;
	margin-bottom: 12px;
	animation: ccdFadeIn .15s ease;
}
.ccd-sumcard__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: #4A4A4A;
}
.ccd-sumcard__main {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 10px;
}
.ccd-sumcard__total {
	display: flex;
	flex-direction: column;
	flex: none;
}
.ccd-sumcard__total > span {
	font-size: 12px;
	color: #767676;
}
.ccd-sumcard__amount {
	font-size: 26px;
	font-weight: 500;
	color: #12131A;
	line-height: 1.2;
}
/* CTA przeniesione do karty — pełne stylowanie tu (nadpisuje style motywu/child).
   Podwójny selektor jak w v1: wariant button. daje (0,2,1) — remis z woocommerce.css
   (.woocommerce button.button: radius 3px, font-weight 700), wygrywamy pozycją. */
.ccd-sumcard button.single_add_to_cart_button,
.ccd-sumcard .single_add_to_cart_button {
	flex: 1;
	min-width: 200px;
	font-size: 15px;
	font-weight: 500;
	color: #fff !important;
	border: 0;
	border-radius: 10px;
	padding: 18px 40px !important; /* parent bije padding !important-em (jak tło) — dociągnięcie do makiety */
	cursor: pointer;
	transition: background .15s;
	background: #C2410C !important;
	text-transform: none;
	letter-spacing: 0;
	height: auto;
	line-height: 1.2;
}
.ccd-sumcard .single_add_to_cart_button:hover {
	background: #9A3412 !important;
}
.ccd-sumcard .single_add_to_cart_button.ccd-added,
.ccd-buybar__cta.ccd-added {
	background: #3E7C3A !important;
}
.ccd-sumcard__time {
	font-size: 13px;
	color: #3E7C3A;
	margin: 10px 0 0;
}
/* stepper ilości (produkty proste) w karcie */
.ccd-sumcard .quantity {
	margin: 0 !important;
}

/* ===== Boxy Dostawa / Zwroty pod kartą sumy ===== */
.ccd-delboxes {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}
.ccd-delboxes:empty {
	display: none;
}
.ccd-delbox {
	background: #fff;
	border: 1px solid #E2E2E2;
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 13px;
	line-height: 1.55;
}
.ccd-delbox__head {
	font-weight: 500;
	display: block;
	margin-bottom: 2px;
	color: #12131A;
}
.ccd-delbox__body {
	color: #4A4A4A;
}
.ccd-delbox__time {
	font-weight: 500;
	color: #0A7D45;
}
.ccd-delbox__body a {
	color: #12131A;
	text-decoration: underline;
}
.ccd-delbox__body a:hover {
	color: #0A7D45;
}

/* ===== Modal montażu (lupka na kafelku — treść ze słownika opcji) ===== */
.ccd-mmodal {
	position: fixed;
	inset: 0;
	z-index: 10060;
	background: rgba(18, 19, 26, .82);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 32px;
}
.ccd-mmodal.is-open {
	display: flex;
	animation: ccdFadeIn .15s ease;
}
.ccd-mmodal__card {
	max-width: 860px;
	width: 100%;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	max-height: 86vh;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	position: relative;
}
.ccd-mmodal__close {
	position: absolute;
	right: 14px;
	top: 14px;
	z-index: 2;
	border: 1px solid #E2E2E2;
	background: #fff;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	cursor: pointer;
	font-size: 14px;
}
.ccd-mmodal__close:hover {
	border-color: #0A7D45;
	color: #0A7D45;
}
.ccd-mmodal__img {
	background: #fff; /* zdjęcie elementu na białym tle */
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ccd-mmodal__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.ccd-mmodal__body {
	padding: 36px 34px;
	overflow: auto;
}
.ccd-mmodal__title {
	font-size: 24px;
	font-weight: 500;
	margin: 0 0 4px;
	padding-right: 40px;
}
.ccd-mmodal__price {
	font-size: 15px;
	color: #0A7D45;
	font-weight: 500;
	margin: 0 0 16px;
}
.ccd-mmodal__desc {
	font-size: 14px;
	line-height: 1.65;
	color: #2A2A2A;
	margin: 0 0 20px;
}
.ccd-mmodal__h {
	font-size: 14px;
	font-weight: 500;
	margin: 0 0 8px;
}
.ccd-mmodal__incl {
	font-size: 14px;
	line-height: 1.7;
	color: #2A2A2A;
	margin: 0 0 20px;
	padding-left: 20px;
}
.ccd-mmodal__surf {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}
.ccd-mmodal__chip {
	border: 1px solid #E2E2E2;
	background: #F9F9F9;
	border-radius: 50px;
	padding: 6px 14px;
	font-size: 13px;
}
.ccd-mmodal__pick {
	width: 100%;
	font-size: 15px;
	font-weight: 500;
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 16px 30px;
	cursor: pointer;
	transition: background .15s;
	background: #C2410C;
	font-family: inherit;
}
.ccd-mmodal__pick:hover {
	background: #9A3412;
}
.ccd-mmodal__pick.is-picked {
	background: #3E7C3A;
}

/* ---- 8. Sticky pasek CTA v2 (viewport, gdy karta sumy poza ekranem) ---- */
.ccd-buybar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10050;
	background: #fff;
	border-top: 1px solid #E2E2E2;
	box-shadow: 0 -8px 28px rgba(0, 0, 0, .08);
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	transform: translateY(110%);
	transition: transform .2s ease;
}
.ccd-buybar--on {
	transform: translateY(0);
}
/* fade z makiety: treść przewijana pod paskiem gaśnie w biel tuż nad nim (makieta l.1006).
   Jedzie razem z transformem paska → widoczny tylko gdy pasek wjechany. */
.ccd-buybar::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 48px;
	background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
	pointer-events: none;
}
.ccd-buybar__in {
	max-width: 1350px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 14px;
}
.ccd-buybar__total {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: none;
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
}
.ccd-buybar__total > span {
	font-size: 11px;
	color: #767676;
}
.ccd-buybar__amount {
	font-size: 20px;
	font-weight: 500;
	color: #12131A;
	line-height: 1.2;
}
.ccd-buybar__cta {
	flex: 1;
	background: #C2410C;
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 15px 24px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background .15s;
	font-family: inherit;
}
.ccd-buybar__cta:hover {
	background: #9A3412;
}
.ccd-buybar__rows {
	max-width: 1350px;
	margin: 0 auto 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	border-bottom: 1px solid #E2E2E2;
	padding-bottom: 8px;
}
.ccd-buybar__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: #4A4A4A;
}
.ccd-buybar__msg {
	max-width: 1350px;
	margin: 0 auto 6px;
	font-size: 13px;
	color: #C2410C;
	display: none;
}
.ccd-buybar--msg .ccd-buybar__msg {
	display: block;
}
/* desktop: zero pływającego overlaya — karta sumy jest w flow i wystarcza */
@media (min-width: 901px) {
	.ccd-buybar {
		display: none;
	}
}

/* ---- 9. Content sections — pełnoszerokie tło, treść w wyśrodkowanym bootstrapowym .container
   (~1140/1320px, z paddingiem Bootstrapa) — dokładnie jak sekcje na stronie głównej. Sekcja daje
   tylko padding pionowy; szerokość i wyśrodkowanie treści załatwia kontener. ---- */
.ccd-section {
	padding: 64px 0;
}
.ccd-section .h2-cucudo {
	font-size: 32px;
	font-weight: 500;
	margin: 0 0 22px;
}

/* Opis produktu — alt background, text left / stat boxes right */
.ccd-section--desc {
	background: #F2F0EB;
	padding: 72px 0;
}
.ccd-desc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 32px 64px;
	align-items: start;
}
.ccd-desc-grid--single {
	grid-template-columns: 1fr;
}
.ccd-desc-content h1,
.ccd-desc-content h2 {
	font-size: 36px;
	line-height: 1.2;
	font-weight: 500;
	margin: 0 0 20px;
}
.ccd-desc-content p {
	font-size: 17px;
	line-height: 1.7;
	color: #2A2A2A;
}
.ccd-stats {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ccd-stat {
	background: #fff;
	border-radius: 10px;
	padding: 18px 22px;
	display: flex;
	gap: 14px;
	align-items: baseline;
}
.ccd-stat__value {
	font-size: 22px;
	font-weight: 700;
	color: #0A7D45;
	min-width: 92px;
	flex: none;
}
.ccd-stat__text {
	font-size: 14px;
	line-height: 1.5;
	color: #2A2A2A;
}

/* Split (media + body) used by Specyfikacja and product_ct sections */
.ccd-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 48px;
	align-items: center;
}
.ccd-split__media img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}
/* alternate sections flip media to the right on desktop */
@media (min-width: 992px) {
	.ccd-section--addinfo-alt .ccd-split__media {
		order: 2;
	}
}

/* Specyfikacja — siatka jak w designie (grid „max-content 1fr"), NIE <table>: <table> nie
   przycina border-radius na rogach (tło szarej kolumny „wystaje" poza zaokrąglenie). Kolumna
   kluczy szara, kolumna wartości biała, wspólna ramka z zaokrągleniem i overflow:hidden. */
.ccd-spec {
	display: grid;
	grid-template-columns: max-content 1fr;
	font-size: 15px;
	line-height: 1.5;
	border: 1px solid #E2E2E2;
	border-radius: 10px;
	overflow: hidden;
}
.ccd-spec__k,
.ccd-spec__v {
	padding: 13px 20px;
	border-bottom: 1px solid #E2E2E2;
	min-width: 0; /* pozwól wartościom się zawijać przy długim kluczu */
}
.ccd-spec__k {
	font-weight: 500;
	background: #F9F9F9;
}
.ccd-spec__v {
	font-style: normal;
}
.ccd-spec__v p {
	margin: 0;
}
/* ostatni wiersz (dwa ostatnie elementy siatki) bez dolnej ramki */
.ccd-spec > :nth-last-child(-n+2) {
	border-bottom: 0;
}

/* Dlaczego warto */
.ccd-section--why {
	background: #F2F0EB;
}
.ccd-why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}
.ccd-why-card {
	background: #fff;
	border-radius: 10px;
	padding: 28px;
}
.ccd-why-card__icon img,
.ccd-why-card__icon svg {
	height: 56px;
	width: auto;
	margin-bottom: 14px;
	display: block;
}
.ccd-why-card h3 {
	font-size: 18px;
	font-weight: 500;
	margin: 0 0 8px;
}
.ccd-why-card p {
	font-size: 14px;
	color: #4A4A4A;
	line-height: 1.55;
	margin: 0;
}

/* Sekcje dodatkowe (product_ct) */
.ccd-addinfo__content {
	font-size: 14px;
	line-height: 1.65;
	color: #2A2A2A;
}
.ccd-addinfo__content h3 {
	font-size: 18px;
	font-weight: 500;
	margin: 0 0 10px;
}
.ccd-addinfo__content ul {
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 22px;
}

/* (Atrybuty wariantów Woo są scalone w .ccd-spec przez PHP — osobna tabela
   .woocommerce-product-attributes nie jest renderowana w tej sekcji.) */

/* ---- 10. Reviews — design cards (child override of woocommerce/single-product/review.php) ---- */
.ccd-reviews {
	padding: 64px 0;
}
.ccd-reviews .product--reviews--top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}
/* licznik w nagłówku sekcji (JS buduje: gwiazdki + „4,93 / 5" + „· 15 opinii") */
.ccd-reviews .reviews--counter {
	display: flex;
	align-items: center;
	gap: 10px;
}
.ccd-score__stars {
	color: #FFB600;
	font-size: 18px;
	letter-spacing: 2px;
}
.ccd-score__avg {
	font-size: 17px;
	font-weight: 500;
}
.ccd-score__cnt {
	font-size: 14px;
	color: #767676;
}
/* nagłówek Woo „15 reviews for …" — design ma tylko własny nagłówek sekcji */
.ccd-reviews .woocommerce-Reviews-title {
	display: none;
}
/* theme clearfix ::before/::after would become grid items and steal the first cell */
.ccd-reviews ol.commentlist::before,
.ccd-reviews ol.commentlist::after {
	content: none !important;
}
.ccd-reviews ol.commentlist {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	align-items: start;
	padding: 0;
	margin: 0;
	list-style: none;
}
/* ⚠️ Parent style.css narzuca na karty opinii z !important I wysoką specyficznością (ID #comments):
   `.review { padding:84px 0 !important; margin-bottom:0 !important }` oraz
   `.review:nth-child(2n+1) { background:#F9F9F9 !important }` (specyficzność 1,5,0) — stąd wysoka,
   szara (co druga) karta z tekstem wciśniętym w lewą krawędź. Nasze `ol.commentlist > li` (0,2,2)
   nie miało szans. Bijemy równą specyficznością (1,5,0, klasa .ccd-review dokłada 5-tą) + !important,
   a nasz plik ładuje się PO parencie (wp_body_open), więc przy remisie wygrywa. */
.ccd-reviews .woocommerce-Reviews #comments .commentlist .review.ccd-review {
	background: #fff !important;
	border: 1px solid #EDEDED !important; /* woocommerce.css `border:0` ma 2 ID (2,2,2) — potrzebny !important */
	border-radius: 10px;
	padding: 24px !important;
	margin: 0 !important;
}
.ccd-reviews .wcpr-grid .comment_container,
.ccd-reviews ol.commentlist > li {
	border: 1px solid #EDEDED;
	border-radius: 10px;
	background: #fff;
	box-shadow: none !important;
}
.ccd-reviews ol.commentlist > li .comment_container {
	background: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ccd-review__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.ccd-review__author {
	font-size: 15px;
	font-weight: 500;
}
.ccd-review__verified {
	font-size: 11px;
	color: #3E7C3A;
	border: 1px solid #CDE3CC;
	border-radius: 6px;
	padding: 3px 8px;
	white-space: nowrap;
}
/* wariant badge'a emitowany przez wtyczkę Photo Reviews (celowo osobno od
   .ccd-review__verified — tamten ma white-space:nowrap, ten font-style:normal) */
.ccd-reviews .woocommerce-review__verified,
.ccd-reviews .wcpr-verified {
	font-size: 11px;
	color: #3E7C3A;
	border: 1px solid #CDE3CC;
	border-radius: 6px;
	padding: 3px 8px;
	font-style: normal;
}
.ccd-reviews .star-rating,
.ccd-reviews .star-rating span::before,
.ccd-reviews .star-rating span:before {
	color: #FFB600 !important;
	margin: 0;
}
.ccd-review__text p {
	font-size: 14px;
	line-height: 1.55;
	color: #4A4A4A;
	margin: 0;
}
.ccd-reviews .comment-text {
	font-size: 14px;
	line-height: 1.55;
	color: #4A4A4A;
}
/* Photo Reviews: customer photos as design thumbnails; helpful-vote widgets hidden */
.ccd-reviews .comment_container img {
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 8px;
}
.ccd-reviews .wcpr-comment-helpful-button-container,
.ccd-reviews .wcpr-comment-helpful-button-vote-container {
	display: none !important;
}
.ccd-reviews .woocommerce-pagination {
	background: transparent;
	text-align: center;
	margin-top: 28px;
}
.ccd-reviews .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.ccd-reviews .woocommerce-pagination .page-numbers li a,
.ccd-reviews .woocommerce-pagination .page-numbers li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 8px;
	border: 1px solid #E2E2E2;
	border-radius: 10px;
	background: #fff;
	color: #12131A;
	text-decoration: none;
	font-size: 14px;
}
.ccd-reviews .woocommerce-pagination .page-numbers li span.current {
	border-color: #12131A;
	font-weight: 500;
}
.ccd-reviews .add-comments-section {
	text-align: center;
	margin-top: 28px;
}

/* ---- 11. Mobile (≤900px): swipe w galerii, pasek zawsze podczas konfiguracji ---- */
@media (max-width: 900px) {
	/* galeria: przesuwanie palcem, bez miniatur */
	.ccd-thumbs {
		display: none;
	}
	.ccd-gal-track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.ccd-gal-track::-webkit-scrollbar {
		display: none;
	}
	.ccd-gal-slide {
		display: block;
		flex: 0 0 100%;
		scroll-snap-align: center;
	}
	.ccd-gal-counter {
		display: block;
		bottom: auto;
		top: 10px;
	}
	.ccd-zoom-main {
		display: none; /* tap w zdjęcie otwiera lightbox */
	}

	/* karta sumy nie klei się na mobile — pasek CTA przejmuje rolę */
	.ccd-sumcard {
		position: static;
		box-shadow: none;
	}
	/* miejsce na pasek na dole strony */
	.single-product #page {
		padding-bottom: 84px;
	}

	.ccd-buybar__amount {
		font-size: 18px;
	}
	.ccd-mmodal {
		padding: 12px;
	}
	.ccd-mmodal__body {
		padding: 24px 20px;
	}
	.ccd-mmodal__img {
		min-height: 200px;
	}
}
