/* Cucudo Child overrides
   ======================
   1. Homepage hero fix (2026-07-16)
   2. Product page redesign 2026-07 (ccd-*) — Claude Design "Strona Produktowa"
   3. Global footer + newsletter restyle
   Design tokens: ink #12131A · muted #767676 · green #879F84 · CTA #C2410C
   panel #F9F9F9 · alt section #F2F0EB · borders #E2E2E2/#C6C6C6 · radius 10px */

/* ---- 1. Hero slider: parent renders inline `background: url(...)` shorthand, which resets
   background-size to auto + background-repeat to repeat -> image tiles instead of covering.
   Inline shorthand beats a class selector, so !important is required to win here. */
.cucudo__hello .cucudo__hello--bg {
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

/* ---- 2a. 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). */
@font-face {
	font-family: 'Arno Pro';
	src: url('../fonts/ArnoPro-Bold.otf') format('opentype');
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: 'Myriad Pro';
	src: url('../fonts/MyriadPro-Bold.otf') format('opentype');
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: 'Avalon Pro';
	src: url('../fonts/AvalonPro-Bold.ttf') format('truetype');
	font-weight: 700;
	font-display: swap;
}

/* ---- 2b. 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;
}
.ccd-hero__gallery {
	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;
}
/* 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) */
.ccd-gallery-on .wpa-woocommerce-product-gallery {
	display: none !important;
}
.ccd-gallery {
	position: relative;
}
.ccd-gallery__main {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
	cursor: zoom-in;
	background: #F2F0EB;
	display: block;
}
.ccd-thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-top: 10px;
}
.ccd-thumb {
	padding: 2px;
	background: #fff;
	border: 1px solid #E2E2E2;
	border-radius: 9px;
	cursor: pointer;
}
.ccd-thumb.is-active {
	border-color: #12131A;
}
.ccd-thumb img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 7px;
	display: block;
}
.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: #12131A;
	color: #fff;
}

/* 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;
}
@keyframes ccdFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
.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;
}
/* 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-hero__gallery {
	position: relative;
}
.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;
}

/* Form: 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;
}
/* barwa światła: glowing chip tiles — podwójna klasa, bo bazowy .ccd-tile (flex-direction:
   column) stoi NIŻEJ w tym pliku i przy równej specyficzności by wygrał */
.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;
}
/* mini-zoom on colour swatch tiles */
.ccd-tile--swatch {
	position: relative;
	overflow: visible;
}
.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;
}
/* „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: #12131A;
}
.ccd-wz-btn__t {
	font-size: 14px;
	font-weight: 500;
	color: #12131A;
}
.ccd-wz-btn__d {
	font-size: 12px;
	color: #767676;
}
/* 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;
}
/* colour swatch tiles (variation image per value) */
.ccd-tile--swatch {
	padding: 3px;
	width: 72px;
	height: 72px;
	min-width: 0;
	align-items: stretch;
}
.ccd-tile--swatch.ccd-tile--active {
	padding: 2px;
}
.ccd-tile--swatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

/* FPF fields */
.ccd-hero__panel .fpf-field {
	margin-bottom: 22px;
}
/* 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: #12131A;
}
.ccd-hero__panel .fpf-field input.input-text.ccd-invalid {
	border-color: #C2410C;
}
/* 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;
}
.ccd-field-hint.ccd-invalid {
	color: #C2410C;
}

/* 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;
}
.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 .15s;
	text-align: left;
}
.ccd-tile:hover {
	border-color: #12131A;
}
.ccd-tile.ccd-tile--active {
	border: 2px solid #12131A;
	padding: 11px 17px;
}
.ccd-tile.ccd-invalid {
	border-color: #C2410C;
}
.ccd-tile__sub {
	font-size: 12px;
	color: #767676;
	font-weight: 400;
}
/* Montaż: ikona elementu na górze kafla + zoom (jak swatche kolorów) */
.ccd-tile--montaz {
	position: relative;
	align-items: center;
	text-align: center;
	min-width: 128px;
}
.ccd-tile__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 56px;
	margin-bottom: 2px;
}
.ccd-tile__icon img {
	max-width: 100%;
	max-height: 56px;
	object-fit: contain;
	display: block;
}
.ccd-tile__icon--none {
	color: #B0B0B0;
}
/* 🔍 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;
}
/* 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; }

/* Czcionka 1-10 (FPF 28356): styled dropdown mirroring the hidden select —
   the native <select> popup is OS-rendered and can't be styled */
.ccd-dd {
	position: relative;
	margin-top: 4px;
}
.ccd-dd__toggle {
	width: 100%;
	text-align: left;
	background: #fff;
	border: 1px solid #C6C6C6;
	border-radius: 10px;
	padding: 12px 44px 12px 16px;
	color: #12131A;
	cursor: pointer;
	position: relative;
}
.ccd-dd__toggle:hover,
.ccd-dd__toggle[aria-expanded="true"] {
	border-color: #12131A;
}
.ccd-dd__toggle::after {
	content: '';
	position: absolute;
	right: 18px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #767676;
	border-bottom: 2px solid #767676;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .15s;
}
.ccd-dd__toggle[aria-expanded="true"]::after {
	transform: translateY(-30%) rotate(-135deg);
}
.ccd-dd__toggle.is-placeholder {
	color: #767676;
}
.ccd-dd__toggle.ccd-invalid {
	border-color: #C2410C;
}
.ccd-dd__list {
	position: absolute;
	z-index: 30;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #C6C6C6;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
	max-height: 280px;
	overflow: auto;
}
.ccd-dd__list[hidden] {
	display: none;
}
.ccd-dd__opt {
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
}
.ccd-dd__opt:hover {
	background: #F2F2F2;
}
.ccd-dd__opt.is-selected {
	background: #12131A;
	color: #fff;
}

/* 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: #879F84;
	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;
}
/* FPF's own tooltip icon (ⓘ) — we surface the tooltip text inline instead */
.ccd-hero__panel .fpf-field-tooltip-icon {
	display: none !important;
}

/* 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 */
}
/* woocommerce.css + parent style.css hit this with .button.alt(.disabled) selectors
   up to (0,4,1) — !important on the brand properties ends the race */
.ccd-hero__panel button.single_add_to_cart_button,
.ccd-hero__panel .single_add_to_cart_button {
	font-size: 15px !important;
	font-weight: 500;
	color: #fff !important;
	border: 0;
	border-radius: 10px;
	padding: 19px 55px !important;
	cursor: pointer;
	transition: background .15s, opacity .15s;
	background: #C2410C !important;
	border-top: 0;
	margin-top: 24px;
	width: auto;
	line-height: 1 !important;
}
.ccd-hero__panel button.single_add_to_cart_button:hover,
.ccd-hero__panel .single_add_to_cart_button:hover {
	background: #9A3412 !important;
	color: #fff !important;
}
.ccd-hero__panel .single_add_to_cart_button.disabled,
.ccd-hero__panel .single_add_to_cart_button:disabled {
	opacity: .45;
	cursor: not-allowed;
}
/* CTA row: button + availability inline (design) */
.ccd-cta-row {
	display: flex;
	gap: 14px;
	align-items: center;
	flex-wrap: wrap;
	border-top: 1px solid #E2E2E2;
	padding-top: 24px;
	margin-top: 24px;
}
.ccd-cta-row .single_add_to_cart_button {
	margin-top: 0 !important;
}
.ccd-cta-row .ccd-stock {
	margin: 0;
}
.ccd-cta-hint {
	font-size: 13px;
	color: #C2410C;
	margin: 10px 0 0;
}

/* Stock + trust boxes */
.ccd-stock {
	font-size: 14px;
	color: #3E7C3A;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 18px 0 0;
}
.ccd-stock__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3E7C3A;
	flex: none;
}
.ccd-trust__boxes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	margin-top: 16px;
}
.ccd-trust__box {
	background: #fff;
	border-radius: 10px;
	padding: 13px 16px;
	font-size: 13px;
	line-height: 1.5;
}
.ccd-trust__box strong {
	font-weight: 500;
}
.ccd-trust__box span {
	color: #767676;
}
.ccd-files-open {
	border: 0;
	background: none;
	padding: 0;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
	color: #12131A;
}

/* ---- 2c. 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: #879F84;
	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ą teraz scalone w .ccd-spec przez PHP — osobna tabela
   .woocommerce-product-attributes nie jest już renderowana w tej sekcji.) */

/* ---- 2d. Reviews — design cards (child override of woocommerce/single-product/review.php) ---- */
/* 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 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;
}
.ccd-reviews .star-rating,
.ccd-reviews .star-rating span::before,
.ccd-reviews .star-rating span:before {
	color: #FFB600 !important;
	margin: 0;
}
.ccd-reviews .woocommerce-pagination {
	background: transparent;
}
.ccd-review__text p {
	font-size: 14px;
	line-height: 1.55;
	color: #4A4A4A;
	margin: 0;
}
/* 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 {
	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 {
	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;
}
.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 .comment-text {
	font-size: 14px;
	line-height: 1.55;
	color: #4A4A4A;
}
.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 .add-comments-section {
	text-align: center;
	margin-top: 28px;
}

/* ---- 3. Global: newsletter (join_to_us) + footer restyle ---- */
.join_to_us {
	background: #F2F0EB;
	padding: 56px 0;
}
.join_to_us .h3-beforetitle {
	font-size: 12px;
	letter-spacing: 2px;
	color: #879F84;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 8px;
}
.join_to_us .h2-cucudo {
	font-size: 30px;
	font-weight: 500;
	margin: 0 0 18px;
}
/* parent scopes these under .join_to_us--leftcol — match that specificity to win */
.join_to_us .join_to_us--leftcol form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.join_to_us .join_to_us--leftcol form input[type=text] {
	flex: 1;
	min-width: 220px;
	width: auto;
	border: 1px solid #C6C6C6;
	border-radius: 10px;
	font-size: 15px;
	padding: 15px 20px;
	outline: none;
	background: #fff;
}
.join_to_us .join_to_us--leftcol form button[type=submit] {
	margin-left: 0;
	font-size: 15px;
	font-weight: 500;
	color: #fff !important;
	background: #879F84;
	border: 0;
	border-radius: 10px;
	padding: 15px 34px;
	cursor: pointer;
	transition: background .15s;
}
.join_to_us .join_to_us--leftcol form button[type=submit]:hover {
	background: #12131A;
}
.join_to_us .socialmedia--links a {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

/* parent uses footer#page__footer — match that specificity */
footer#page__footer {
	background: #12131A;
	color: #fff;
	font-size: 14px;
}
footer#page__footer .col-footer h3,
footer#page__footer .col-footer h3 button {
	font-size: 15px;
	font-weight: 500;
	color: #fff;
}
footer#page__footer .col-footer .footer-menu ul li a,
footer#page__footer .footer-menu a {
	color: #B5B5B5;
	text-decoration: none;
	line-height: 2;
}
footer#page__footer .col-footer .footer-menu ul li a:hover,
footer#page__footer .footer-menu a:hover {
	color: #fff;
}
footer#page__footer .col-cp,
footer#page__footer .col-cp a {
	color: #B5B5B5;
	font-size: 13px;
}

/* ---- Wysuwany koszyk (Side Cart / xoo-wsc): "Zamówienie" w kolorze CTA ----
   kolory z wtyczki (zieleń #879F84) siedzą w inline <style> z ustawień —
   nadpisujemy klasą przycisku checkout; !important zgodnie z konwencją repo */
.xoo-wsc-ft-btn.xoo-wsc-ft-btn-checkout {
	background: #C2410C !important;
	border-color: #C2410C !important;
	color: #fff !important;
}
.xoo-wsc-ft-btn.xoo-wsc-ft-btn-checkout:hover {
	background: #9A3412 !important;
	border-color: #9A3412 !important;
	color: #fff !important;
}

/* Woo dokleja link "View cart" (a.added_to_cart) po ajaxowym dodaniu do koszyka —
   zbędny przy wysuwanym side carcie (szuflada otwiera się sama), do tego bez tłumaczenia */
a.added_to_cart {
	display: none !important;
}
