/*
Theme Name:   Storefront Child
Theme URI:
Author:
Author URI:
Description:  Child theme for Storefront
Version:      1.0.0
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Template:     storefront
Text Domain:  storefront-child
*/

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS — spójne z landingiem (Kadence)
═══════════════════════════════════════════════════════════ */
:root {
	--global-palette1:        hsl(220.29deg 59.32% 23.14%);
	--global-palette2:        #3a93d0;
	--global-palette3:        #363538;
	--global-palette4:        #8c8b89;
	--global-palette5:        #d2d3d3;
	--global-palette6:        #de127b;
	--global-palette7:        #f6f6f6;
	--global-palette8:        #52d6f4;
	--global-palette9:        #ffffff;
	--global-palette-btn:     #ffffff;
	--global-content-edge-padding: 1.5rem;
	/** Alias jak w zymon-frontend `global.css` — footer / header paddings */
	--content-edge:          var(--global-content-edge-padding);
	--link-color:             rgba(54,53,56,0.8);
	--link-hover:             hsl(220.29deg 59.32% 23.14%);
}

@media (max-width: 1024px) {
	:root {
		--global-content-edge-padding: 1rem;
	}
}

@media (max-width: 781px) {
	:root {
		--global-content-edge-padding: 0.5rem;
	}
}

/* Nagłówek / breadcrumbs / widget-strip — jak Base.astro `#site-header .container` (.col-full w Storefront zamiast .container). */
#masthead.site-header .col-full,
.header-widget-region .col-full,
.storefront-breadcrumb .col-full {
	max-width: 100%;
	box-sizing: border-box;
	padding-left: calc(var(--content-edge, 1rem) + 1rem);
	padding-right: calc(var(--content-edge, 1rem) + 1rem);
}

/* Storefront kapuje `.col-full` przy ~1064 px. Od ≥1280 px: główna treść jak kasa Astro (max 120rem);
   nagłówek na pełną szerokość. Stopka — jak Base.astro: tło na całą szerokość, treść max 120rem wyśrodkowana
   (nie rozciągać .col-full footera na 100vw — szczególnie checkout). */
@media (min-width: 1280px) {
	#content.site-content > .col-full {
		max-width: 120rem;
		box-sizing: border-box;
		padding-left: max(2.617924em, var(--global-content-edge-padding));
		padding-right: max(2.617924em, var(--global-content-edge-padding));
	}

	/* Nagłówek Storefront — szerokość; padding jak Base.astro (calc + 1rem) wyżej */
	#masthead.site-header,
	#masthead.site-header .storefront-primary-navigation {
		width: 100%;
		max-width: none;
	}

	#masthead.site-header .col-full,
	.header-widget-region .col-full,
	.storefront-breadcrumb .col-full {
		max-width: 100% !important;
		width: 100%;
		box-sizing: border-box;
	}
}

/* ═══════════════════════════════════════════════════════════
   CHECKOUT SCOPE — body.zymon-checkout
═══════════════════════════════════════════════════════════ */

/* ── Typografia bazowa ─────────────────────────────────── */
.zymon-checkout {
	font-family: 'Open Sans', sans-serif;
	background: var(--global-palette7);
	color: var(--global-palette3);
	font-size: 1rem;
	line-height: 1.6;
}

.zymon-checkout h1,
.zymon-checkout h2,
.zymon-checkout h3,
.zymon-checkout h4 {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.016rem;
	color: var(--global-palette3);
}

/* ── Ukryj elementy Storefront zbędne na kasie ─────────── */
.zymon-checkout .storefront-handheld-footer-bar,
.zymon-checkout .entry-header,
.zymon-checkout .woocommerce-form-coupon-toggle,
.zymon-checkout .checkout_coupon,
.zymon-checkout #order_review_heading {
	display: none !important;
}

/* ── Obszar treści ─────────────────────────────────────── */
.zymon-checkout #primary,
.zymon-checkout .site-main,
.zymon-checkout .entry-content {
	padding: 0;
	margin: 0;
}

.zymon-checkout .woocommerce {
	padding: 2.5rem 0 4rem;
}

/* Pełna szerokość treści kasy (Storefront z sidebarem zwęża #primary) */
body.zymon-checkout #primary.content-area {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin-left: auto;
	margin-right: auto;
}

/* Kasa jak w mockupie: bez kolumny widgetów */
body.zymon-checkout #secondary {
	display: none !important;
}

.zymon-checkout #main.site-main {
	max-width: 120rem;
	margin-left: auto;
	margin-right: auto;

}

/* Po remove_all_actions( storefront_header ) zostaje pusty <header> — ukrywamy go wizualnie */
body.zymon-checkout #masthead.site-header,
body.zymon-checkout .header-widget-region {
	display: none !important;
}

/* ── Nagłówek strony (mockup: toolbar + wyśrodkowany tytuł) ─ */
.zymon-checkout-heading {
	margin: 0 auto 1.75rem;
}

.zymon-checkout-heading__toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 0.65rem;
}

.zymon-page-title-block {
	text-align: center;
}

.zymon-page-title {
	font-size: clamp(1.75rem, 3.2vw, 2.25rem) !important;
	margin: 0 auto !important;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid var(--global-palette6);
	display: inline-block;
}

.zymon-page-lead {
	margin: 0.75rem 0 0;
	color: var(--global-palette4);
	font-size: 1rem;
	line-height: 1.5;
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
}

.zymon-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border: 1px solid var(--global-palette3);
	border-radius: 5px;
	color: var(--global-palette3);
	text-decoration: none;
	background: var(--global-palette9);
	transition: all 0.2s ease;
}

.zymon-back-link:hover {
	border-color: var(--global-palette6);
	color: var(--global-palette2);
	background: var(--global-palette7);
	transform: translateY(-1px);
}

/* ── Surface — glass card ──────────────────────────────── */
.zymon-surface {
	position: relative;
	overflow: hidden;
	border-radius: 5px;
	border: 1px solid var(--global-palette4);
	background: rgba(246, 246, 246, 0.85);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 10px 40px rgba(0,0,0,0.08);
	padding: 2rem;
	margin: 0 auto;
	max-width: 1600px;
}

.zymon-surface::before {
	content: "";
	position: absolute;
	inset: -30%;
	background:
		radial-gradient(closest-side at 20% 20%, rgba(58,147,208,.2),   transparent 62%),
		radial-gradient(closest-side at 80% 25%, rgba(221,18,123,.18),  transparent 64%),
		radial-gradient(closest-side at 50% 110%, rgba(58,147,208,.12), transparent 62%);
	filter: blur(28px);
	opacity: .9;
	pointer-events: none;
}

.zymon-surface > * {
	position: relative;
	z-index: 1;
}

/* ── Badge ─────────────────────────────────────────────── */
.zymon-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, var(--global-palette1), var(--global-palette2));
	color: var(--global-palette9);
	padding: 0.45rem 0.9rem;
	border-radius: 5px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

.zymon-badge--gift {
	background: var(--global-palette6);
}

/* ── Grid dwukolumnowy ─────────────────────────────────── */
.zymon-checkout-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	align-items: start;
}

/* Storefront ustawia #order_review { width: 41%; float: right } — reset do grid */
.zymon-checkout #order_review,
.zymon-checkout #order_review_heading {
	width: auto !important;
	float: none !important;
	clear: none !important;
	margin-right: 0 !important;
}

/* ── Karty (lewa i prawa kolumna) ──────────────────────── */
.zymon-card {
	background: var(--global-palette9);
	border-radius: 5px;
	border: 1px solid var(--global-palette4);
	padding: 1.25rem;
	box-shadow: 0 10px 28px rgba(0,0,0,0.06);
	min-width: 0;
}

/* Lewa kolumna: jedna karta, sekcje pod sobą (bez Woo .col2-set — float) */
.zymon-customer-details .zymon-checkout-billing,
.zymon-customer-details .zymon-checkout-shipping {
	float: none !important;
	width: 100% !important;
	padding: 0 !important;
	clear: both;
}

/* ── Nagłówki kart ─────────────────────────────────────── */
.zymon-card-title {
	font-size: 1rem !important;
	margin: 0 0 0.5rem !important;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--global-palette5);
}

.zymon-card-lead {
	font-size: 0.85rem;
	color: var(--global-palette4);
	margin: 0 0 1.25rem !important;
	line-height: 1.5;
}

/* ── Nagłówki sekcji wewnętrznych ──────────────────────── */
.zymon-section-heading {
	font-size: 1rem !important;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	margin: 1.5rem 0 0.35rem !important;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--global-palette5);
	color: var(--global-palette3);
}

.zymon-section-lead {
	font-size: 0.85rem;
	color: var(--global-palette4);
	margin: 0 0 0.85rem !important;
	line-height: 1.5;
}

/* Nagłówek sekcji "Adres rozliczeniowy" — renderowany przez WC jako h3 wewnątrz billing fields */
.zymon-checkout .woocommerce-billing-fields__field-wrapper + h3,
.zymon-checkout .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper ~ * h3 {
	font-size: 1rem !important;
	margin: 1.5rem 0 0.35rem !important;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--global-palette5);
}

/* "Additional information" z form-shipping.php */
.zymon-checkout .woocommerce-additional-fields > h3 {
	font-size: 1rem !important;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	margin: 1.5rem 0 0.5rem !important;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--global-palette5);
}

/* ── Pola formularza ───────────────────────────────────── */
.zymon-checkout .woocommerce-billing-fields__field-wrapper,
.zymon-checkout .woocommerce-shipping-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.zymon-checkout p.form-row {
	float: none !important;
	width: 100% !important;
	flex: 1 1 100%;
	margin: 0 !important;
	padding: 0 !important;
}

.zymon-checkout p.form-row-first,
.zymon-checkout p.form-row-last {
	flex: 1 1 calc(50% - 0.5rem);
	width: auto !important;
	min-width: 140px;
}

.zymon-checkout p.form-row label,
.zymon-checkout p.form-row > label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--global-palette3);
	margin-bottom: 0.4rem;
}

.zymon-checkout p.form-row label .required {
	color: var(--global-palette6);
	text-decoration: none;
}

.zymon-checkout p.form-row .input-text,
.zymon-checkout p.form-row input[type="text"],
.zymon-checkout p.form-row input[type="email"],
.zymon-checkout p.form-row input[type="tel"],
.zymon-checkout p.form-row input[type="password"],
.zymon-checkout p.form-row textarea,
.zymon-checkout p.form-row select {
	width: 100% !important;
	padding: 0.875rem 1rem;
	border: 1px solid var(--global-palette4) !important;
	border-radius: 5px !important;
	font-size: 1rem;
	font-family: 'Open Sans', sans-serif;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background: var(--global-palette9) !important;
	color: var(--global-palette3);
	box-shadow: none !important;
}

.zymon-checkout p.form-row .input-text:focus,
.zymon-checkout p.form-row input:focus,
.zymon-checkout p.form-row textarea:focus,
.zymon-checkout p.form-row select:focus {
	outline: none !important;
	border-color: var(--global-palette1) !important;
	box-shadow: 0 0 0 3px rgba(24,47,94,0.10) !important;
}

.zymon-checkout p.form-row textarea.input-text,
.zymon-checkout p.form-row textarea.zymon-gift-note {
	min-height: 110px;
	resize: vertical;
}

/* Walidacja WooCommerce */
.zymon-checkout p.form-row.woocommerce-invalid .input-text,
.zymon-checkout p.form-row.woocommerce-invalid input,
.zymon-checkout p.form-row.woocommerce-invalid select,
.zymon-checkout p.form-row.woocommerce-invalid textarea {
	border-color: #b00020 !important;
	box-shadow: 0 0 0 3px rgba(176,0,32,0.12) !important;
}

.zymon-checkout p.form-row.woocommerce-invalid label {
	color: #b00020;
}

.zymon-checkout p.form-row.woocommerce-validated .input-text {
	border-color: #5a9e47 !important;
}

/* ── Podsumowanie wyborów (jak #orderChoicesSummary w mockupie) ─ */
.zymon-order-choices-summary {
	margin: 1rem 0 1.25rem;
}

.zymon-order-choices-summary__line {
	margin: 0 0 0.45rem;
	line-height: 1.5;
}

.zymon-order-choices-summary__line:last-child {
	margin-bottom: 0;
}

/* Wysyłka wyłącznie elektroniczna — wyraźniej niż zwykła linia „nie" */
.zymon-order-choices-summary__e-delivery {
	margin: 0.75rem 0 0.6rem;
	padding: 0.75rem 0.9rem;
	border-radius: 4px;
	background: rgba( 54, 134, 151, 0.09 );
}
.zymon-order-choices-summary__e-delivery-title {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var( --global-palette3, #333 );
}
.zymon-order-choices-summary__e-delivery-text {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.5;
	color: var( --global-palette3, #333 );
}

/* Podpowiedzi: jeden e-mail / różne adresy (checkout) */
.zymon-delivery-hint-pair {
	margin: 0 0 0.9rem;
}
.zymon-delivery-hint {
	margin: 0 0 0.5rem;
	font-size: 0.86rem;
	line-height: 1.55;
	color: var( --global-palette3, #333 );
}
.zymon-delivery-hint--same {
	padding: 0.65rem 0.8rem;
	border-radius: 5px;
	background: rgba( 54, 134, 151, 0.06 );
	border: 1px solid rgba( 54, 134, 151, 0.22 );
}
.zymon-delivery-hint--mixed {
	padding: 0.65rem 0.8rem;
	border-radius: 5px;
	background: rgba( 176, 0, 32, 0.06 );
	border: 1px solid rgba( 176, 0, 32, 0.22 );
}

/* ── Sekcja wysyłki elektronicznej ─────────────────────── */
.zymon-delivery-info {
	margin-top: 0.25rem;
}

/* Jednostki kuponów (Σ qty > 1) — jak .checkout-coupon-unit w mockupie */
.zymon-checkout-coupon-unit {
	padding: 1rem;
	margin-bottom: 1rem;
	border: 1px solid var(--global-palette5);
	border-radius: 5px;
	background: var(--global-palette7);
	text-align: left;
}

.zymon-checkout-coupon-unit__head {
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 0.65rem;
	color: var(--global-palette3);
}

.zymon-checkout-coupon-unit__sku {
	font-weight: 400;
	color: var(--global-palette4);
	font-size: 0.82rem;
	margin-left: 0.35rem;
}

.zymon-checkout-coupon-unit p {
	margin: 0.35rem 0;
	font-size: 0.88rem;
	line-height: 1.45;
}

/* Pola edycji prezentu / PDF (doklejone do lewej karty) */
.zymon-delivery-fields p.form-row {
	clear: both;
	float: none !important;
	width: 100% !important;
	margin: 0 0 0.85rem !important;
	padding: 0 !important;
}

.zymon-delivery-fields label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--global-palette3);
	margin-bottom: 0.4rem;
}

.zymon-delivery-fields label .required {
	color: var(--global-palette6);
	text-decoration: none;
}

.zymon-delivery-fields .input-text {
	width: 100% !important;
}

/* ── Info-boxy ─────────────────────────────────────────── */
.zymon-info-box {
	margin: 0 0 0.5rem;
	padding: 0.75rem 0.9rem;
	border-radius: 5px;
	border: 1px solid rgba(54,134,151,0.3);
	background: rgba(54,134,151,0.05);
	color: var(--global-palette3);
	font-size: 0.85rem;
	line-height: 1.5;
}

.zymon-info-box p {
	margin: 0 0 0.35rem;
}

.zymon-info-box p:last-child {
	margin-bottom: 0;
}

.zymon-info-box strong {
	color: var(--global-palette2);
}

.zymon-info-box--gift {
	border-color: rgba(221,18,123,0.3);
	background: rgba(221,18,123,0.05);
}

.zymon-info-box--gift strong {
	color: var(--global-palette6);
}

.zymon-gift-message {
	margin-top: 0.4rem;
	padding: 0.65rem 0.75rem;
	background: var(--global-palette7);
	border-left: 3px solid var(--global-palette6);
	border-radius: 3px;
	font-style: italic;
	font-size: 0.9rem;
	color: var(--global-palette3);
}

/* ── Tabela zamówienia ─────────────────────────────────── */
.zymon-checkout table.shop_table.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	border: none;
	background: transparent;
	margin: 0 0 1rem;
	font-size: 0.9rem;
}

.zymon-checkout .woocommerce-checkout-review-order-table th,
.zymon-checkout .woocommerce-checkout-review-order-table td {
	padding: 0.65rem 0.5rem;
	border-bottom: 1px solid var(--global-palette5);
	border-top: none;
	border-left: none;
	border-right: none;
	vertical-align: top;
	background: transparent;
}

.zymon-checkout .woocommerce-checkout-review-order-table thead th {
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--global-palette4);
}

.zymon-checkout .woocommerce-checkout-review-order-table .product-total {
	text-align: right;
}

.zymon-checkout .woocommerce-checkout-review-order-table tfoot th,
.zymon-checkout .woocommerce-checkout-review-order-table tfoot td {
	font-size: 0.9rem;
	font-weight: 600;
}

.zymon-checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
.zymon-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
	font-size: 1.05rem;
	font-weight: 800;
	border-bottom: none;
	padding-top: 0.85rem;
}

.zymon-checkout .woocommerce-checkout-review-order-table .product-name small {
	display: block;
	margin-top: 0.2rem;
	font-weight: 400;
	color: var(--global-palette4);
}

/* ── Sekcja płatności ──────────────────────────────────── */
.zymon-checkout #payment {
	background: transparent;
	border: none;
	padding: 0;
}

.zymon-checkout #payment > h3 {
	font-size: 1rem !important;
	margin: 1rem 0 0.75rem !important;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--global-palette5);
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
}

.zymon-checkout #payment ul.payment_methods {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
	border: none;
}

/* Radio + label w jednym rzędzie; payment_box na całą szerokość pod spodem (nie obok!) */
.zymon-checkout #payment ul.payment_methods > li.wc_payment_method {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 0.75rem;
	row-gap: 0;
	align-items: start;
	padding: 0.85rem 0.9rem;
	border: 1px solid var(--global-palette4) !important;
	border-radius: 5px;
	background: var(--global-palette7);
	margin-bottom: 0.65rem;
	cursor: pointer;
	transition: border-color 0.3s ease, background 0.3s ease;
}

.zymon-checkout #payment ul.payment_methods > li.wc_payment_method:hover {
	border-color: var(--global-palette1) !important;
	background: var(--global-palette9);
}

.zymon-checkout #payment ul.payment_methods > li.wc_payment_method:has(input:checked) {
	border-color: #4a8f2a !important;
	background: linear-gradient(180deg, rgba(88, 144, 46, 0.22) 0%, rgba(88, 144, 46, 0.09) 100%);
	box-shadow:
		0 0 0 2px rgba(88, 144, 46, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.zymon-checkout #payment ul.payment_methods > li.wc_payment_method:has(input:checked) > label {
	color: #2d5016;
}

.zymon-checkout #payment ul.payment_methods > li.wc_payment_method:has(input:checked) > .payment_box {
	color: #3a4a38;
}

.zymon-checkout #payment ul.payment_methods > li.wc_payment_method > input.input-radio {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	accent-color: var(--global-palette1);
	cursor: pointer;
	grid-column: 1;
	grid-row: 1;
}

.zymon-checkout #payment ul.payment_methods > li.wc_payment_method > label {
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	margin: 0;
	color: var(--global-palette3);
	grid-column: 2;
	grid-row: 1;
}

.zymon-checkout #payment ul.payment_methods > li.wc_payment_method > .payment_box {
	grid-column: 1 / -1;
	grid-row: 2;
	margin-top: 0.65rem;
	padding: 0 0 0 0;
	font-size: 0.85rem;
	color: var(--global-palette4);
	line-height: 1.5;
}

/* Nagłówek "Płatność" wewnątrz #payment — renderowany przez WC */
.zymon-checkout #payment .payment_methods + h3,
.zymon-checkout .woocommerce-checkout-review-order .payment-title {
	font-size: 1rem !important;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	margin: 1rem 0 0.75rem !important;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--global-palette5);
}

/* ── Przycisk "Zamawiam i płacę" ───────────────────────── */
.zymon-checkout #place_order,
.zymon-checkout .woocommerce-checkout .button#place_order {
	width: 100%;
	padding: 1rem 1.5rem !important;
	background: linear-gradient(135deg, var(--global-palette1), #2a5a8a) !important;
	color: var(--global-palette-btn) !important;
	border: 2px solid var(--global-palette1) !important;
	border-radius: 5px !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	font-family: 'Open Sans', sans-serif !important;
	cursor: pointer;
	transition: all 0.3s ease !important;
	text-shadow: none !important;
	display: block;
	text-align: center;
}

.zymon-checkout #place_order:hover {
	background: linear-gradient(135deg, var(--global-palette1), var(--global-palette2)) !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(24,47,94,0.4) !important;
}

.zymon-checkout #payment .form-row.place-order {
	float: none;
	width: 100%;
	padding: 0;
	margin: 0.75rem 0 0;
}

/* Akceptacja regulaminu — +20% i wyraźniejszy kontrast (Storefront/WC domyślnie małe) */
.zymon-checkout #payment .place-order p.form-row.validate-required,
.zymon-checkout #payment .place-order p.form-row.terms {
	font-size: calc(0.8rem * 1.2);
	line-height: 1.55;
	color: var(--global-palette3);
	margin-bottom: 1rem !important;
	padding: 0;
}

.zymon-checkout #payment .place-order p.form-row.validate-required label.woocommerce-form__label-for-checkbox,
.zymon-checkout #payment .place-order p.form-row.terms label.woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-size: inherit;
	font-weight: 600;
	color: var(--global-palette3);
	line-height: inherit;
	cursor: pointer;
	margin: 0;
}

.zymon-checkout #payment .place-order p.form-row.validate-required input[type="checkbox"],
.zymon-checkout #payment .place-order p.form-row.terms input[type="checkbox"] {
	width: calc(1rem * 1.2);
	height: calc(1rem * 1.2);
	min-width: calc(1rem * 1.2);
	margin: 0.12rem 0 0;
	flex-shrink: 0;
	accent-color: var(--global-palette2);
	cursor: pointer;
}

.zymon-checkout #payment .place-order .woocommerce-terms-and-conditions-checkbox-text {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.zymon-checkout #payment .place-order a.woocommerce-terms-and-conditions-link {
	color: var(--global-palette1);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.zymon-checkout #payment .place-order a.woocommerce-terms-and-conditions-link:hover,
.zymon-checkout #payment .place-order a.woocommerce-terms-and-conditions-link:focus-visible {
	color: var(--global-palette2);
}

.zymon-checkout #payment .place-order abbr.required {
	color: var(--global-palette6);
	font-size: 1.1em;
	text-decoration: none;
	cursor: help;
}

/* Nota bezpieczeństwa pod przyciskiem */
.zymon-checkout .woocommerce-privacy-policy-text {
	font-size: 0.8rem;
	color: var(--global-palette4);
	margin-top: 0.75rem;
	text-align: center;
	line-height: 1.5;
}

/* ── Notka o blokadzie qty ─────────────────────────────── */
.zymon-qty-notice {
	margin: 0 0 1rem;
	padding: 0.5rem 0.65rem;
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--global-palette4);
	background: rgba(58,147,208,0.08);
	border-radius: 4px;
}

/* ── Notices WooCommerce ────────────────────────────────── */
.zymon-checkout .woocommerce-notices-wrapper .woocommerce-message,
.zymon-checkout .woocommerce-notices-wrapper .woocommerce-error,
.zymon-checkout .woocommerce-notices-wrapper .woocommerce-info {
	border-radius: 5px;
	margin-bottom: 1rem;
}

/* ── Responsywność ─────────────────────────────────────── */
@media (max-width: 980px) {
	.zymon-checkout-grid {
		grid-template-columns: 1fr;
	}

	.zymon-surface {
		padding: 1.25rem;
	}

	/* Karty kolumn jak w devtools mobile: bez tła/obramówki/opakowania, tylko cień */
	.zymon-card {
		background: transparent;
		border: none;
		padding: 0;
		border-radius: 5px;
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
		min-width: 0;
	}

	/* Wyłączenie białego tła z Woo (np. #ffffff) — jak w devtools z zakomentowanym bg */
	.zymon-checkout #order_review {
		background: transparent !important;
	}

	.zymon-checkout-heading {
		max-width: 100%;
	}
}

@media (max-width: 700px) {
	.zymon-checkout p.form-row-first,
	.zymon-checkout p.form-row-last {
		flex: 1 1 100%;
	}

	.zymon-checkout-heading__toolbar {
		justify-content: stretch;
	}

	.zymon-checkout-heading__toolbar .zymon-back-link {
		width: 100%;
		justify-content: center;
	}
}

/* ═══════════════════════════════════════════════════════════
   Thank you (mockup: thank-you.html)
   ═══════════════════════════════════════════════════════════ */

body.zymon-thankyou #content.site-content,
body.zymon-thankyou #content.site-content > .col-full {
	max-width: 120rem;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	width: 100%;
}

/* Szczegóły zamówienia są renderowane poza `.zymon-thankyou-inner`; bez limitu wizualnie „rozjechałyby się” przy szerokiej kolumnie. */
body.zymon-thankyou .woocommerce-order-details {
	max-width: 1600px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2rem;
	padding-left: 1rem;
	padding-right: 1rem;
	box-sizing: border-box;
}

.zymon-thankyou-order-overview--hidden {
	display: none !important;
}

.zymon-thankyou-order {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	overflow-y: hidden;
}

.zymon-thankyou-inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 1rem 2.5rem;
	width: 100%;
	box-sizing: border-box;
}

.zymon-thankyou-brand {
	width: max-content;
	margin: 0 auto;
	padding: 1rem 0 1.5rem;
}

.zymon-thankyou-brand__link img {
	margin: 0 auto;
	width: 256px;
}

.zymon-thankyou-success {
	position: relative;
	overflow: visible;
	border-radius: 5px;
	border: 1px solid var(--global-palette4);
	background: rgba(246, 246, 246, 0.85);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	padding: 3rem 2.5rem;
	text-align: center;
	animation: zymon-thankyou-fade-in 0.6s ease-out;
}

.zymon-thankyou-success::before {
	content: "";
	position: absolute;
	inset: -30%;
	background:
		radial-gradient(closest-side at 50% 50%, rgba(24, 47, 94, 0.18), transparent 60%),
		radial-gradient(closest-side at 30% 70%, rgba(54, 134, 151, 0.12), transparent 65%),
		radial-gradient(closest-side at 70% 30%, rgba(221, 18, 123, 0.1), transparent 62%);
	filter: blur(28px);
	opacity: 0.9;
	pointer-events: none;
}

.zymon-thankyou-success > * {
	position: relative;
	z-index: 1;
}

@keyframes zymon-thankyou-fade-in {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes zymon-thankyou-scale-in {
	from { opacity: 0; transform: scale(0.8); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes zymon-thankyou-check {
	from { stroke-dashoffset: 100; }
	to { stroke-dashoffset: 0; }
}

.zymon-thankyou-success__icon {
	width: 120px;
	height: 120px;
	margin: 0 auto 1.5rem;
	background: linear-gradient(135deg, #de127b, #3a93d0);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: zymon-thankyou-scale-in 0.5s ease-out 0.3s both;
	box-shadow: 0 8px 30px rgba(221, 18, 123, 0.3);
}

.zymon-thankyou-checkmark path {
	stroke: var(--global-palette9);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	animation: zymon-thankyou-check 0.6s ease-out 0.6s forwards;
}

.zymon-thankyou-success__title {
	font-family: 'Raleway', sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	margin-bottom: 0.75rem;
	color: var(--global-palette1);
}

.zymon-thankyou-success__subtitle {
	font-size: 1.1rem;
	color: var(--global-palette4);
	margin-bottom: 2rem;
}

.zymon-thankyou-order-info {
	background: var(--global-palette9);
	border-radius: 5px;
	border: 1px solid var(--global-palette4);
	padding: 1.5rem;
	margin: 2rem 0;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	text-align: left;
	min-width: 0;
}

.zymon-thankyou-info-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--global-palette5);
}

.zymon-thankyou-info-label {
	flex: 0 1 auto;
	font-weight: 600;
	color: var(--global-palette4);
	font-size: 0.9rem;
}

.zymon-thankyou-info-value {
	flex: 1 1 12rem;
	min-width: 0;
	font-weight: 700;
	color: var(--global-palette3);
	font-size: 0.95rem;
	text-align: right;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.zymon-thankyou-order-number {
	font-size: 1.25rem;
	color: #3a93d0;
}

/* Szczegóły zamówienia (thank-you): karta jak .zymon-card / wiersze jak .zymon-thankyou-order-info */
.zymon-thankyou-order-details-card .zymon-thankyou-order-details-card__payment {
	border-bottom: none;
	padding-bottom: 0;
}

.zymon-thankyou-billing-in-card--spaced {
	margin-top: 0.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--global-palette5);
}

.zymon-thankyou-billing-in-card .zymon-card-title {
	margin-top: 0 !important;
}

.zymon-thankyou-billing-address address,
.zymon-thankyou-postal-shipping-address address {
	font-style: normal;
	margin: 0;
	line-height: 1.55;
	color: var(--global-palette3);
}

.zymon-thankyou-address-stack {
	margin-top: 0.65rem;
	padding-top: 0.65rem;
	border-top: 1px solid var(--global-palette5);
	text-align: left;
}

.zymon-thankyou-address-panel + .zymon-thankyou-address-panel {
	margin-top: 1.1rem;
	padding-top: 1.1rem;
	border-top: 1px dashed var(--global-palette5);
}

.zymon-thankyou-address-panel__title {
	margin: 0 0 0.55rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--global-palette4);
	line-height: 1.35;
	font-family: 'Raleway', sans-serif;
}

.zymon-thankyou-address-panel__line {
	margin: 0.5rem 0 0;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--global-palette3);
}

.zymon-thankyou-address-panel__line--email {
	font-weight: 500;
}

.zymon-thankyou-address-panel__line--email a {
	color: inherit;
	text-decoration: underline;
}

.zymon-thankyou-address-panel__line--phone .zymon-thankyou-address-panel__inline-label {
	display: inline;
	font-weight: 600;
	margin-right: 0.35rem;
}

.zymon-thankyou-address-panel__note {
	margin: 0.35rem 0 0 !important;
	padding: 0;
	font-weight: 400 !important;
	font-size: 0.875rem;
	color: #5c5c5c !important;
}

.zymon-thankyou-order-details-card .woocommerce-customer-details--phone,
.zymon-thankyou-order-details-card .woocommerce-customer-details--email {
	margin: 0.4rem 0 0;
}

.zymon-thankyou-muted {
	color: var(--global-palette4);
	font-size: 0.82rem;
}

.zymon-thankyou-coupon-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--global-palette5);
	text-align: left;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.zymon-thankyou-coupon-list__title {
	font-size: 1.05rem;
	margin-bottom: 0.75rem;
	color: var(--global-palette3);
	font-family: 'Raleway', sans-serif;
}

.zymon-thankyou-coupon-table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
	table-layout: fixed;
}

.zymon-thankyou-coupon-table th {
	text-align: left;
	padding: 0.5rem 0.4rem;
	background: var(--global-palette7);
	border-bottom: 2px solid var(--global-palette5);
	font-weight: 600;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.zymon-thankyou-coupon-table thead th:first-child {
	width: 2.25rem;
}

.zymon-thankyou-coupon-table td {
	padding: 0.55rem 0.4rem;
	border-bottom: 1px solid var(--global-palette5);
	vertical-align: top;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.zymon-thankyou-coupon-list__note {
	margin-top: 0.65rem;
	line-height: 1.45;
}

.zymon-thankyou-coupon-status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.zymon-thankyou-coupon-status--done {
	background: rgba(54, 134, 151, 0.15);
	border: 1px solid rgba(54, 134, 151, 0.4);
	color: var(--global-palette2);
}

.zymon-thankyou-coupon-status--pending {
	background: rgba(255, 140, 0, 0.15);
	border: 1px solid rgba(255, 140, 0, 0.4);
	color: #e65100;
}

.zymon-thankyou-coupon-status--shipping {
	background: rgba(54, 134, 151, 0.15);
	border: 1px solid rgba(54, 134, 151, 0.4);
	color: var(--global-palette2);
}

.zymon-thankyou-highlight {
	background: linear-gradient(135deg, rgba(221, 18, 123, 0.08), rgba(58, 147, 208, 0.08));
	padding: 1.25rem;
	border-radius: 5px;
	margin: 1.5rem 0;
	text-align: left;
}

.zymon-thankyou-highlight__title {
	color: #de127b;
	display: block;
	margin-bottom: 0.5rem;
	font-size: 1.05rem;
}

.zymon-thankyou-highlight__text {
	color: var(--global-palette3);
	line-height: 1.6;
	margin: 0;
}

.zymon-thankyou-validity {
	font-size: 0.9rem;
	color: var(--global-palette4);
	margin-top: 0.5rem;
	padding: 0.5rem 0;
	border-top: 1px solid var(--global-palette5);
}

.zymon-thankyou-validity strong {
	color: var(--global-palette3);
}

.zymon-thankyou-next {
	margin: 2rem 0;
	text-align: left;
}

.zymon-thankyou-next__heading {
	font-size: 1.25rem;
	margin-bottom: 1rem;
	color: var(--global-palette3);
	font-family: 'Raleway', sans-serif;
}

.zymon-thankyou-step {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
	align-items: flex-start;
}

.zymon-thankyou-step__num {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	background: linear-gradient(135deg, #de127b, #3a93d0);
	color: var(--global-palette9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.9rem;
}

.zymon-thankyou-step__body p {
	color: var(--global-palette3);
	line-height: 1.6;
	margin: 0;
}

.zymon-thankyou-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
	justify-content: center;
}

.zymon-thankyou-btn {
	flex: 1 1 12rem;
	max-width: 22rem;
	min-width: 0;
	padding: 1rem 1.5rem;
	border-radius: 5px;
	font-size: 1rem;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-decoration: none;
	box-sizing: border-box;
}

.zymon-thankyou-btn--primary {
	background: linear-gradient(135deg, var(--global-palette1), #2a5a8a);
	color: var(--global-palette9);
	border: 2px solid var(--global-palette1);
}

.zymon-thankyou-btn--primary:hover {
	background: linear-gradient(135deg, var(--global-palette1), var(--global-palette2));
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(24, 47, 94, 0.4);
	color: var(--global-palette9);
}

.zymon-thankyou-btn--secondary {
	background: var(--global-palette9);
	color: var(--global-palette3);
	border-color: var(--global-palette4);
}

.zymon-thankyou-btn--secondary:hover {
	background: var(--global-palette7);
	border-color: var(--global-palette2);
	transform: translateY(-2px);
	color: var(--global-palette3);
}

/* Confetti (uproszczone) */
.zymon-thankyou-confetti {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.zymon-thankyou-confetti__bit {
	position: absolute;
	width: 10px;
	height: 10px;
	top: -10px;
	animation: zymon-confetti-fall 3s ease-out forwards;
	opacity: 0.9;
}

.zymon-thankyou-confetti__bit:nth-child(1) { left: 10%; background: #de127b; animation-delay: 0s; }
.zymon-thankyou-confetti__bit:nth-child(2) { left: 20%; background: #3a93d0; animation-delay: 0.2s; }
.zymon-thankyou-confetti__bit:nth-child(3) { left: 30%; background: #de127b; animation-delay: 0.4s; }
.zymon-thankyou-confetti__bit:nth-child(4) { left: 40%; background: #3a93d0; animation-delay: 0.1s; }
.zymon-thankyou-confetti__bit:nth-child(5) { left: 50%; background: #de127b; animation-delay: 0.3s; }
.zymon-thankyou-confetti__bit:nth-child(6) { left: 60%; background: #3a93d0; animation-delay: 0.5s; }
.zymon-thankyou-confetti__bit:nth-child(7) { left: 70%; background: #de127b; animation-delay: 0.2s; }
.zymon-thankyou-confetti__bit:nth-child(8) { left: 80%; background: #3a93d0; animation-delay: 0.4s; }
.zymon-thankyou-confetti__bit:nth-child(9) { left: 90%; background: #de127b; animation-delay: 0.1s; }

@keyframes zymon-confetti-fall {
	0% { transform: translateY(0) rotate(0deg); opacity: 1; }
	100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@media (max-width: 600px) {
	.zymon-thankyou-success {
		padding: 2rem 1.5rem;
	}

	/* jak „spłaszczona” karta po zakomentowaniu w DevTools — bez ramki/obramowania nad sekcją danych */
	.zymon-thankyou-order-info {
		background: transparent;
		border: none;
		border-radius: 0;
		padding: 0;
		margin: 2rem 0;
		box-shadow: none;
		text-align: left;
	}

	.zymon-thankyou-actions {
		flex-direction: column;
	}

	.zymon-thankyou-btn {
		flex: none;
		max-width: none;
		min-width: auto;
		width: 100%;
	}

	.zymon-thankyou-info-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	.zymon-thankyou-info-value {
		flex: none;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		text-align: left;
	}

	.zymon-thankyou-coupon-list {
		overflow-x: visible;
	}

	/* Tabela → karta: pola jedno pod drugim (mobile) */
	.zymon-thankyou-coupon-table {
		table-layout: auto;
		width: 100%;
		max-width: 100%;
	}

	.zymon-thankyou-coupon-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		clip-path: inset(50%);
		white-space: nowrap;
		border: 0;
	}

	.zymon-thankyou-coupon-table tbody {
		display: block;
	}

	.zymon-thankyou-coupon-table tbody tr {
		display: block;
		box-sizing: border-box;
		margin: 0 0 1rem;
		padding: 1rem 1rem;
		border: 1px solid var(--global-palette5);
		border-radius: 5px;
		background: var(--global-palette9);
	}

	.zymon-thankyou-coupon-table tbody tr:last-child {
		margin-bottom: 0;
	}

	.zymon-thankyou-coupon-table td {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.2rem;
		width: 100%;
		padding: 0.55rem 0;
		box-sizing: border-box;
		border-bottom: none;
		border-top: 1px solid var(--global-palette5);
		vertical-align: top;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.zymon-thankyou-coupon-table tbody td:first-child {
		border-top: none;
		padding-top: 0;
	}

	.zymon-thankyou-coupon-table td::before {
		content: attr(data-label);
		font-weight: 600;
		color: var(--global-palette4);
		font-size: 0.78rem;
		line-height: 1.3;
	}
}

/* ═══════════════════════════════════════════════════════════
   FOOTER — jak Base.astro (landing Zymon Kupony)
═══════════════════════════════════════════════════════════ */
.site-footer.zymon-footer-skin {
	--footer-nav-link: #e8ecf4;
	--footer-nav-link-hover: var(--global-palette9);
	--footer-accent-heading: var(--global-palette8);
	--footer-focus-ring: var(--global-palette8);
	--footer-logo-glow-cyan: rgba(82, 214, 244, 0.5);
	--footer-logo-glow-cyan-mid: rgba(82, 214, 244, 0.32);
	--footer-logo-glow-white: rgba(255, 255, 255, 0.14);
	background: linear-gradient(
		180deg,
		hsl(220deg 50% 21%) 0%,
		hsl(220deg 14% 26%) 32%,
		hsl(220deg 10% 24%) 100%
	);
	color: var(--global-palette5);
	padding: clamp(2rem, 5vw, 3rem) 0 clamp(1.35rem, 4vw, 1.9rem);
	margin-top: auto;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	clear: both;
}

/* Jak Astro: `.container` w stopce — max 120rem, wyśrodkowanie, ten sam poziom paddingu co Base.astro `.footer-wrap.container`. */
.site-footer.zymon-footer-skin .zymon-footer-col-full {
	max-width: 120rem;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	float: none;
	box-sizing: border-box;
}

.site-footer.zymon-footer-skin .footer-wrap.container {
	padding-left: max(var(--content-edge, 1rem), clamp(1.05rem, 4.75vw, 2.35rem));
	padding-right: max(var(--content-edge, 1rem), clamp(1.05rem, 4.75vw, 2.35rem));
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
}

.site-footer.zymon-footer-skin .footer-shell {
	display: flex;
	flex-direction: column;
	gap: clamp(1.35rem, 3.5vw, 2rem);
	padding-inline: clamp(0, 1.75vw, 0.85rem);
}

.site-footer.zymon-footer-skin .footer-preface {
	text-align: center;
	margin-inline: auto;
}

.site-footer.zymon-footer-skin .footer-preface-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.45rem 0.95rem;
	padding-top: clamp(0.15rem, 0.75vw, 0.35rem);
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer.zymon-footer-skin .footer-preface-link {
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	font-size: clamp(0.84rem, 2.05vw, 0.975rem);
	color: var(--footer-nav-link);
	padding: 0.3rem 0.2rem;
	text-decoration: none;
	text-underline-offset: 3px;
	transition:
		color 0.15s ease,
		text-decoration-color 0.15s ease,
		text-decoration-thickness 0.15s ease;
}

.site-footer.zymon-footer-skin .footer-preface-link:hover {
	color: var(--footer-nav-link-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.site-footer.zymon-footer-skin .footer-preface-link:focus-visible {
	outline: 2px solid var(--footer-focus-ring);
	outline-offset: 3px;
	border-radius: 2px;
	color: var(--footer-nav-link-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.site-footer.zymon-footer-skin .footer-preface-contact {
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(0.8rem, 1.95vw, 0.9375rem);
}

.site-footer.zymon-footer-skin .footer-intro-copy {
	margin-top: 0.9rem;
	margin-inline: auto;
	font-size: calc(0.875rem * 0.85);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.site-footer.zymon-footer-skin .footer-intro-inline {
	font-size: inherit;
	font-weight: 600;
	color: var(--footer-nav-link);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition:
		color 0.15s ease,
		text-decoration-color 0.15s ease,
		text-decoration-thickness 0.15s ease;
}

.site-footer.zymon-footer-skin .footer-intro-inline:hover {
	color: var(--footer-nav-link-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.site-footer.zymon-footer-skin .footer-intro-inline:focus-visible {
	outline: 2px solid var(--footer-focus-ring);
	outline-offset: 3px;
	border-radius: 2px;
	color: var(--footer-nav-link-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.site-footer.zymon-footer-skin .footer-main {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	align-items: start;
	padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer.zymon-footer-skin .footer-identity {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.site-footer.zymon-footer-skin .footer-identity .footer-logo {
	display: inline-block;
	line-height: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 0;
	box-shadow: none;
}

.site-footer.zymon-footer-skin .footer-identity .footer-logo:focus-visible {
	outline: 2px solid var(--footer-focus-ring);
	outline-offset: 4px;
	border-radius: 2px;
}

.site-footer.zymon-footer-skin .footer-identity .footer-logo img {
	height: 58px;
	width: auto;
	display: block;
	filter:
		brightness(1.06)
		contrast(1.05)
		drop-shadow(0 0 9px var(--footer-logo-glow-cyan))
		drop-shadow(0 0 20px var(--footer-logo-glow-cyan-mid))
		drop-shadow(0 0 32px var(--footer-logo-glow-white))
		drop-shadow(0 1px 3px rgba(15, 23, 42, 0.45));
	animation: zymon-footer-logo-glow-pulse 5.5s ease-in-out infinite;
}

@keyframes zymon-footer-logo-glow-pulse {
	0%,
	100% {
		filter:
			brightness(1.06)
			contrast(1.05)
			drop-shadow(0 0 9px var(--footer-logo-glow-cyan))
			drop-shadow(0 0 20px var(--footer-logo-glow-cyan-mid))
			drop-shadow(0 0 32px var(--footer-logo-glow-white))
			drop-shadow(0 1px 3px rgba(15, 23, 42, 0.45));
	}
	50% {
		filter:
			brightness(1.12)
			contrast(1.08)
			drop-shadow(0 0 14px rgba(82, 214, 244, 0.58))
			drop-shadow(0 0 26px rgba(82, 214, 244, 0.4))
			drop-shadow(0 0 38px rgba(255, 255, 255, 0.18))
			drop-shadow(0 1px 3px rgba(15, 23, 42, 0.45));
	}
}

.site-footer.zymon-footer-skin .footer-tagline {
	margin-top: 0.85rem;
	font-size: 0.875rem;
	color: rgba(210, 211, 211, 0.75);
	font-style: italic;
}

.site-footer.zymon-footer-skin .footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1rem;
}

.site-footer.zymon-footer-skin .footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--footer-nav-link);
	border: 1px solid rgba(255, 255, 255, 0.14);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer.zymon-footer-skin .footer-social-link:hover {
	background: var(--global-palette2);
	border-color: var(--global-palette2);
	color: #fff;
}

.site-footer.zymon-footer-skin .footer-social-link:focus-visible {
	outline: 2px solid var(--footer-focus-ring);
	outline-offset: 3px;
}

.site-footer.zymon-footer-skin .footer-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 769px) {
	.site-footer.zymon-footer-skin .footer-main {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		gap: 1.75rem clamp(1.5rem, 3.5vw, 2.5rem);
	}

	.site-footer.zymon-footer-skin .footer-columns {
		grid-template-columns: 1fr 1fr;
	}
}

.site-footer.zymon-footer-skin .footer-nav-block h4 {
	display: flex;
	align-items: center;
	color: var(--footer-accent-heading);
	font-size: 0.92rem;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	margin: 0 0 0.85rem;
	padding: 0.5rem 0.5rem 0.5rem 0.65rem;
	min-height: 2.625rem;
	border-left: 2px solid var(--global-palette6);
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
}

.site-footer.zymon-footer-skin .footer-nav-block ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.site-footer.zymon-footer-skin .footer-nav-block ul a {
	font-size: clamp(0.8125rem, 1.85vw, 0.8875rem);
	font-weight: 600;
	color: var(--footer-nav-link);
	text-decoration: none;
	text-underline-offset: 3px;
	padding: 0.22rem 0;
	transition:
		color 0.15s ease,
		text-decoration-color 0.15s ease,
		text-decoration-thickness 0.15s ease;
}

.site-footer.zymon-footer-skin .footer-nav-block ul a:hover {
	color: var(--footer-nav-link-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.site-footer.zymon-footer-skin .footer-nav-block ul a:focus-visible {
	outline: 2px solid var(--footer-focus-ring);
	outline-offset: 3px;
	border-radius: 2px;
	color: var(--footer-nav-link-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.site-footer.zymon-footer-skin .footer-legal-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	flex-shrink: 0;
}

.site-footer.zymon-footer-skin .footer-meta {
	text-align: center;
	padding-top: 0.25rem;
}

.site-footer.zymon-footer-skin .footer-meta-copy {
	font-size: 0.8125rem;
	color: rgba(210, 211, 211, 0.88);
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.site-footer.zymon-footer-skin .footer-meta-line {
	font-size: 0.78rem;
	color: var(--global-palette4);
	line-height: 1.5;
}

.site-footer.zymon-footer-skin .footer-meta-credit {
	margin-top: 0.65rem;
	font-size: 0.75rem;
	color: var(--global-palette4);
}

.site-footer.zymon-footer-skin .footer-meta-credit a {
	color: rgba(210, 211, 211, 0.72);
	text-decoration: none;
	transition: color 0.15s ease;
}

.site-footer.zymon-footer-skin .footer-meta-credit a:hover {
	color: var(--footer-nav-link-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer.zymon-footer-skin .footer-meta-credit a:focus-visible {
	outline: 2px solid var(--footer-focus-ring);
	outline-offset: 3px;
	border-radius: 2px;
}

@media (max-width: 768px) {
	.site-footer.zymon-footer-skin .footer-preface-legal {
		flex-direction: column;
		align-items: center;
		gap: 0.4rem;
	}

	.site-footer.zymon-footer-skin .footer-preface-legal .footer-legal-dot {
		display: none;
	}

	.site-footer.zymon-footer-skin .footer-identity {
		align-items: center;
	}

	.site-footer.zymon-footer-skin .footer-social {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-footer.zymon-footer-skin .footer-identity .footer-logo img {
		animation: none;
	}

	.site-footer.zymon-footer-skin .footer-nav-block ul a,
	.site-footer.zymon-footer-skin .footer-preface-link,
	.site-footer.zymon-footer-skin .footer-intro-inline {
		transition: none;
	}
}

/*
 * Checkout / WooCommerce Checkout block: szeroki selektor typu
 * `.site-footer a:not(.button):not(.components-button)` bywa ładowany po child theme
 * i nadpisuje kolory/podkreślenia. Kotwiczymy przy #colophon (wysoka specyficzność).
 */
#colophon.site-footer.zymon-footer-skin .footer-nav-block ul a:not(.button):not(.components-button),
#colophon.site-footer.zymon-footer-skin a.footer-preface-link:not(.button):not(.components-button),
#colophon.site-footer.zymon-footer-skin a.footer-intro-inline:not(.button):not(.components-button),
#colophon.site-footer.zymon-footer-skin a.footer-logo:not(.button):not(.components-button),
#colophon.site-footer.zymon-footer-skin a.footer-social-link:not(.button):not(.components-button),
#colophon.site-footer.zymon-footer-skin .footer-meta-credit a:not(.button):not(.components-button) {
	font-weight: 600;
	color: var(--footer-nav-link);
	text-decoration: none;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	background: transparent;
	border-bottom: none;
	box-shadow: none;
}

#colophon.site-footer.zymon-footer-skin a.footer-preface-link:not(.footer-preface-contact):not(.button):not(.components-button) {
	font-family: 'Raleway', sans-serif;
	font-size: clamp(0.84rem, 2.05vw, 0.975rem);
}

#colophon.site-footer.zymon-footer-skin a.footer-intro-inline:not(.button):not(.components-button) {
	font-size: calc(0.875rem * 0.85);
}

/* .footer-nav-block ul a — rozmiar jak w Astro */
#colophon.site-footer.zymon-footer-skin .footer-nav-block ul a:not(.button):not(.components-button) {
	font-size: clamp(0.8125rem, 1.85vw, 0.8875rem);
	padding: 0.22rem 0;
}

#colophon.site-footer.zymon-footer-skin .footer-nav-block ul a:not(.button):not(.components-button):hover,
#colophon.site-footer.zymon-footer-skin .footer-nav-block ul a:not(.button):not(.components-button):active,
#colophon.site-footer.zymon-footer-skin a.footer-preface-link:not(.button):not(.components-button):hover,
#colophon.site-footer.zymon-footer-skin a.footer-preface-link:not(.button):not(.components-button):active,
#colophon.site-footer.zymon-footer-skin a.footer-intro-inline:not(.button):not(.components-button):hover,
#colophon.site-footer.zymon-footer-skin a.footer-intro-inline:not(.button):not(.components-button):active {
	color: var(--footer-nav-link-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

/* Tel / mail jasniejszy akcent */
#colophon.site-footer.zymon-footer-skin a.footer-preface-link.footer-preface-contact:not(.button):not(.components-button) {
	color: rgba(255, 255, 255, 0.88);
	font-weight: 600;
	font-size: clamp(0.8rem, 1.95vw, 0.9375rem);
	font-family: 'Open Sans', sans-serif;
}

#colophon.site-footer.zymon-footer-skin a.footer-preface-link.footer-preface-contact:not(.button):not(.components-button):hover,
#colophon.site-footer.zymon-footer-skin a.footer-preface-link.footer-preface-contact:not(.button):not(.components-button):active {
	color: var(--footer-nav-link-hover);
}

/* :focus-visible zamiast szerokiego :focus przy tabie */
#colophon.site-footer.zymon-footer-skin .footer-nav-block ul a:not(.button):not(.components-button):focus:not(:focus-visible),
#colophon.site-footer.zymon-footer-skin a.footer-preface-link:not(.button):not(.components-button):focus:not(:focus-visible),
#colophon.site-footer.zymon-footer-skin a.footer-intro-inline:not(.button):not(.components-button):focus:not(:focus-visible) {
	outline: none;
}

#colophon.site-footer.zymon-footer-skin .footer-nav-block ul a:not(.button):not(.components-button):focus-visible,
#colophon.site-footer.zymon-footer-skin a.footer-preface-link:not(.button):not(.components-button):focus-visible,
#colophon.site-footer.zymon-footer-skin a.footer-intro-inline:not(.button):not(.components-button):focus-visible {
	outline: 2px solid var(--footer-focus-ring);
	outline-offset: 3px;
	border-radius: 2px;
	color: var(--footer-nav-link-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

#colophon.site-footer.zymon-footer-skin a.footer-logo:not(.button):not(.components-button):hover,
#colophon.site-footer.zymon-footer-skin a.footer-logo:not(.button):not(.components-button):focus-visible {
	text-decoration: none;
}

/* Social — Storefront `.site-footer a { color: #333 }` ma niższą specyficzność, ale ładujemy explicite */
#colophon.site-footer.zymon-footer-skin a.footer-social-link:not(.button):not(.components-button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	font-weight: 400;
	color: var(--footer-nav-link);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
}

#colophon.site-footer.zymon-footer-skin a.footer-social-link:not(.button):not(.components-button):hover,
#colophon.site-footer.zymon-footer-skin a.footer-social-link:not(.button):not(.components-button):active,
#colophon.site-footer.zymon-footer-skin a.footer-social-link:not(.button):not(.components-button):focus-visible {
	color: #fff;
	background: var(--global-palette2);
	border-color: var(--global-palette2);
	text-decoration: none;
}

#colophon.site-footer.zymon-footer-skin .footer-meta-credit a:not(.button):not(.components-button) {
	font-weight: 400;
	font-size: 0.75rem;
	color: rgba(210, 211, 211, 0.72);
}

#colophon.site-footer.zymon-footer-skin .footer-meta-credit a:not(.button):not(.components-button):hover,
#colophon.site-footer.zymon-footer-skin .footer-meta-credit a:not(.button):not(.components-button):active,
#colophon.site-footer.zymon-footer-skin .footer-meta-credit a:not(.button):not(.components-button):focus-visible {
	color: var(--footer-nav-link-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

/* ── Strony prawne — template-zymon-legal.php (minimalny widok headless) ── */
.zymon-legal-topbar {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	justify-content: flex-end;
	padding: 0.6rem 1rem;
	background: #ffffff;
	border-bottom: 1px solid #e6e6e6;
}

.zymon-legal-close {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 1.1rem;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	color: #ffffff;
	background: #de127b;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}

.zymon-legal-close:hover,
.zymon-legal-close:focus-visible {
	background: #b30e64;
}

.zymon-legal-content {
	max-width: 820px;
	margin: 2.25rem auto 3.5rem;
	padding: 0 1.25rem;
}

.zymon-legal-title {
	margin: 0 0 1.25rem;
}

.icon-wrapper {
	margin-bottom: 16px;
	margin-top: 8px;
	position: relative;
	display: none;
}

.payment-confirmation-container.success:before {
	display: none;
}
.woocommerce-order.zymon-thankyou-order .payment-confirmation-container.success{
	background-color: transparent;
}