/*
Theme Name: BONSAI Event
Theme URI: https://www.bonsaipilates.pl
Description: Lekki motyw sprzedaży biletów na wydarzenia BONSAI Pilates & Yoga Studio (WooCommerce + Przelewy24). Zakup bez konta: imię, nazwisko, telefon, e-mail.
Author: BONSAI Pilates & Yoga Studio
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
WC requires at least: 8.5
Text Domain: bonsai-event
License: Proprietary
*/

/* =========================================================================
   Tokeny – paleta i typografia z bonsaipilates.pl
   ========================================================================= */
:root {
	--beige: #D8CBBE;       /* pasek górny, stopka */
	--sand: #F0EBE3;        /* sekcja kontaktu */
	--cream: #F7F3EE;
	--white: #FFFFFF;
	--brown: #844C1C;       /* logo */
	--brown-dark: #5F350F;
	--brown-menu: #523313;  /* hover menu */
	--ink: #2B2B2B;
	--ink-warm: #3D2B1F;
	--text: #5A4E45;
	--muted: #8C7B6B;
	--line: #E3D9CD;
	--pink: #E0407E;        /* akcent z plakatu – oszczędnie */
	--error: #A8322D;
	--ok: #3E7A4A;

	--serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
	--sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

	--wrap: 1140px;
	--gutter: 20px;
	--radius: 2px;
	--shadow: 0 18px 50px -24px rgba(61, 43, 31, .35);
}

/* =========================================================================
   Baza
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--serif);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--brown-menu); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink-warm); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .02em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.center { text-align: center; }

.icon { flex: none; width: 1.1em; height: 1.1em; }

/* Cormorant ma domyślnie cyfry nautyczne – w cenach, datach i godzinach używamy wyrównanych. */
.buy__price, .co__price, .sticky-buy__info, .facts strong, .facts span, .co__facts, .ty-event, .tl h3, .step__no, .cta__big { font-variant-numeric: lining-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.wrap--text { max-width: 860px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

/* Etykieta – Inter, wersaliki, rozstrzelona (jak „ADRES / TELEFON” na stronie studia) */
.label {
	display: block;
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--muted);
	line-height: 1.4;
}

/* Tytuł sekcji – jak .sec-title na bonsaipilates.pl */
.sec-title { text-align: center; margin: 0 auto 48px; max-width: 760px; }
.sec-title h1,
.sec-title h2 { font-size: clamp(32px, 4.4vw, 44px); color: #444; letter-spacing: 2px; margin-bottom: 8px; }
.sec-title .desc-text { font-style: italic; font-size: 24px; color: var(--muted); margin: 0; }
.sec-title--compact { margin-bottom: 32px; }
.styled-line { position: relative; width: 140px; height: 2px; margin: 26px auto 0; }
.styled-line::before,
.styled-line::after { content: ''; position: absolute; bottom: 0; height: 2px; background: var(--beige); }
.styled-line::before { left: 0; width: 20px; }
.styled-line::after { right: 0; width: 110px; }

/* =========================================================================
   Przyciski
   ========================================================================= */
.btn,
.woocommerce #place_order,
#place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 34px;
	border: 1px solid var(--brown);
	border-radius: var(--radius);
	background: var(--brown);
	color: #fff;
	font-family: var(--serif);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
	-webkit-appearance: none;
	appearance: none;
}
.btn:hover,
#place_order:hover { background: var(--brown-dark); border-color: var(--brown-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--sm { padding: 9px 20px; font-size: 14px; letter-spacing: 1.5px; }
.btn--lg { padding: 17px 38px; font-size: 18px; }
.btn--outline { background: #fff; color: var(--ink) !important; border-color: var(--beige); }
.btn--outline:hover { background: var(--cream); color: var(--ink) !important; border-color: var(--brown); }

/* =========================================================================
   Nagłówek
   ========================================================================= */
.topbar { background: var(--beige); color: var(--ink); font-family: var(--sans); font-size: 13px; font-weight: 500; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--brown-menu); }
.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__social { display: flex; align-items: center; gap: 12px; }
.topbar__follow { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.topbar .icon { width: 16px; height: 16px; }
.topbar__social .icon { width: 18px; height: 18px; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo img { width: 104px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav--right { justify-content: flex-end; }
.nav > a:not(.btn),
.nav__secure {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #666;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.nav > a:not(.btn):hover { color: var(--brown-menu); }
.nav__secure { color: var(--muted); font-size: 15px; }
.site-header--checkout .logo img { width: 84px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding: 56px 0 80px; overflow: hidden; }
.hero::before { /* beżowe tło do połowy – jak sekcja „Miejsce stworzone dla kobiet…” */
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 58%;
	background: var(--beige);
	z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero__poster { margin: 0; box-shadow: var(--shadow); background: #1b2fa8; aspect-ratio: 720 / 899; }
.hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.hero__body { background: #fff; padding: 44px 44px 40px; box-shadow: var(--shadow); }
.hero__title {
	font-size: clamp(52px, 7vw, 86px);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 4px;
	line-height: .95;
	color: var(--ink-warm);
	margin: 14px 0 6px;
}
.amp { color: var(--pink); font-style: italic; font-weight: 500; text-transform: none; }
.hero__sub { font-style: italic; font-size: 26px; color: var(--muted); margin: 0 0 18px; }
.hero__lead { font-size: 22px; color: var(--ink-warm); margin-bottom: 26px; }

.facts { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts .icon { width: 24px; height: 24px; color: var(--brown); margin-top: 4px; }
.facts strong { display: block; font-size: 21px; color: var(--ink-warm); line-height: 1.3; margin-top: 2px; }
.facts strong a { color: inherit; border-bottom: 1px solid var(--beige); }
.facts strong a:hover { color: var(--brown); border-color: var(--brown); }
.facts span:not(.label) { display: block; font-size: 18px; color: var(--muted); line-height: 1.35; }

/* =========================================================================
   Blok zakupu
   ========================================================================= */
.buy__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.buy__price strong { display: block; font-size: 44px; line-height: 1; color: var(--ink-warm); margin-top: 6px; }
.buy__price .woocommerce-Price-currencySymbol { font-size: .6em; margin-left: 2px; }
.buy__left { margin: 16px 0 0; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--pink); }
.buy__note { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.buy__note .icon { width: 16px; height: 16px; color: var(--ok); }
.buy__status { font-size: 28px; color: var(--ink-warm); margin: 0; }
.buy--cta { background: #fff; padding: 30px 34px; box-shadow: var(--shadow); text-align: left; margin: 34px auto 0; max-width: 620px; }

/* =========================================================================
   Sekcje
   ========================================================================= */
.section { padding: 96px 0; }
.intro { padding-top: 40px; }
.intro__text { font-size: 24px; text-align: center; color: var(--ink-warm); margin: 0 auto; max-width: 720px; }

.program { background: var(--cream); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: tl; }
.tl { background: #fff; padding: 34px 28px 30px; border-top: 3px solid var(--beige); transition: transform .3s ease, box-shadow .3s ease; }
.tl:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tl--gift { border-top-color: var(--pink); }
.tl__time { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--brown); margin-bottom: 14px; }
.tl h3 { font-size: 27px; margin-bottom: 12px; }
.tl p { font-size: 19px; margin: 0; line-height: 1.55; }

.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 980px; text-align: center; }
.step__no {
	display: inline-flex; align-items: center; justify-content: center;
	width: 62px; height: 62px; border: 1px solid var(--beige); border-radius: 50%;
	font-size: 30px; font-weight: 700; color: var(--brown); margin-bottom: 18px;
}
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { font-size: 19px; margin: 0; }
.how__note { margin: 46px auto 0; max-width: 640px; text-align: center; font-style: italic; font-size: 21px; color: var(--ink-warm); padding: 18px 24px; border: 1px solid var(--line); }

.cta { background: var(--beige); text-align: center; }
.cta__big { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; color: var(--ink-warm); font-weight: 700; margin: 0; }
.cta__big em { font-weight: 500; color: var(--brown-dark); }
.cta__bye { margin: 34px 0 0; font-style: italic; font-size: 22px; color: var(--ink-warm); }

.contact { background: var(--sand); padding: 72px 0 80px; }
.contact .sec-title { margin-bottom: 36px; }
.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.contact__item { text-align: center; padding: 0 24px; }
.contact__item + .contact__item { border-left: 1px solid rgba(140, 123, 107, .3); }
.contact__item .label { margin-bottom: 14px; }
.contact__item a { font-size: 23px; font-weight: 500; color: var(--ink-warm); line-height: 1.5; }
.contact__item a:hover { color: var(--brown); }

/* Pasek „Kup bilet” na telefonie */
.sticky-buy { display: none; }

/* =========================================================================
   Stopka
   ========================================================================= */
.site-footer { background: var(--beige); color: var(--ink); }
.site-footer__grid { display: grid; grid-template-columns: 150px repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer__logo img { width: 120px; }
.site-footer h2 { font-size: 24px; color: var(--ink); margin-bottom: 14px; letter-spacing: 1px; }
.site-footer p,
.site-footer li { font-size: 18px; line-height: 1.7; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.site-footer a:hover { color: var(--brown-menu); }
.site-footer .icon { width: 16px; height: 16px; }
.site-footer__bottom { border-top: 1px solid rgba(43, 43, 43, .12); padding: 16px 0; font-family: var(--sans); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }

/* =========================================================================
   Strony tekstowe (Regulamin, Polityka prywatności)
   ========================================================================= */
.page { padding: 64px 0 96px; }
.prose { font-size: 19px; line-height: 1.7; color: var(--text); }
.prose h2 { font-size: 27px; margin: 2.2em 0 .7em; padding-bottom: .4em; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 22px; margin: 1.6em 0 .6em; }
.prose p { margin: 0 0 .8em; }
.prose .lg-sub { padding-left: 1.6em; }
.prose .lg-lead { font-size: 21px; color: var(--ink-warm); background: var(--cream); padding: 20px 24px; }
.prose .lg-form { border: 1px solid var(--line); padding: 26px 28px; background: #fff; }
.prose .lg-center { text-align: center; }
.prose .lg-right { text-align: right; }
.prose a { border-bottom: 1px solid var(--beige); }

/* =========================================================================
   Zamówienie (checkout)
   ========================================================================= */
.page--shop { background: var(--cream); padding-top: 48px; }

.co { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1000px; margin: 0 auto; }
.co__event { position: sticky; top: 24px; background: #fff; box-shadow: var(--shadow); }
.co__poster { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 12%; }
.co__event-body { padding: 24px 26px 26px; }
.co__title { font-size: 40px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; line-height: 1; margin: 10px 0 4px; }
.co__sub { font-style: italic; color: var(--muted); margin: 0 0 16px; }
.co__facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.co__facts li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.35; color: var(--ink-warm); }
.co__facts .icon { color: var(--brown); margin-top: 3px; }
.co__price { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 0; }
.co__price strong { font-size: 34px; color: var(--ink-warm); }

.co__form { background: #fff; padding: 34px 38px 38px; box-shadow: var(--shadow); }
.co__form h3,
.woocommerce-billing-fields > h3,
#order_review_heading {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 18px;
}
#order_review_heading { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }

/* Pola */
.woocommerce form .form-row,
.co__form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce-billing-fields__field-wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; }
.form-row-wide { width: 100%; }
.form-row-first,
.form-row-last { width: calc(50% - 8px); }
.co__form label {
	display: block;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-warm);
	margin-bottom: 6px;
	line-height: 1.4;
}
.co__form .required { color: var(--brown); text-decoration: none; border: 0; }
.co__form .optional { color: var(--muted); font-weight: 400; }
.bonsai-invoice-toggle .optional,
.bonsai-invoice-field .optional { display: none; }

.co__form input.input-text,
.co__form textarea,
.co__form select {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #D6CABD;
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px; /* ≥16px – iOS nie przybliża ekranu */
	font-weight: 400;
	line-height: 1.4;
	transition: border-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.co__form input.input-text:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(132, 76, 28, .14); }
.co__form .woocommerce-invalid input.input-text { border-color: var(--error); }
.co__form .woocommerce-validated input.input-text { border-color: #B9C9B4; }
.co__form .description { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 6px; }

/* Checkboxy */
.co__form label.checkbox,
.co__form .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
}
.co__form label.checkbox > .required { margin-left: -6px; }
.co__form input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--brown); }
.bonsai-invoice-toggle { margin-top: 4px !important; padding-top: 14px !important; border-top: 1px dashed var(--line); }
.bonsai-invoice-field { animation: bonsai-fade .25s ease; }
@keyframes bonsai-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Podsumowanie */
.co__form table.shop_table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; font-weight: 400; margin: 0 0 22px; }
.co__form table.shop_table th,
.co__form table.shop_table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.co__form table.shop_table thead th { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.co__form table.shop_table td:last-child,
.co__form table.shop_table th:last-child { text-align: right; }
.co__form table.shop_table .product-quantity { color: var(--muted); }
.co__form table.shop_table tfoot .order-total th,
.co__form table.shop_table tfoot .order-total td { font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 0; }
.co__form table.shop_table tfoot .cart-subtotal { display: none; } /* jedna pozycja – wystarczy „Łącznie” */

/* Metody płatności */
#payment { background: transparent; }
#payment ul.payment_methods { list-style: none; margin: 0 0 18px; padding: 0; }
#payment ul.payment_methods li { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink); }
#payment ul.payment_methods li input[type="radio"] { accent-color: var(--brown); margin-right: 8px; vertical-align: middle; }
#payment ul.payment_methods li label { display: inline; font-size: 15px; }
#payment ul.payment_methods li img { display: inline-block; max-height: 26px; width: auto; vertical-align: middle; margin-left: 6px; }
#payment .payment_box { margin-top: 10px; font-size: 13px; font-weight: 400; color: var(--text); }
#payment .payment_box p:last-child { margin-bottom: 0; }
#payment .woocommerce-notice,
#payment li.woocommerce-notice { border: 0; padding: 0; }
#payment .place-order { margin: 0; padding: 0; }

.woocommerce-terms-and-conditions-wrapper { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--text); line-height: 1.55; }
.woocommerce-privacy-policy-text p { margin: 0 0 12px; font-size: 12px; color: var(--muted); }
.woocommerce-terms-and-conditions-wrapper .validate-required { margin: 0 0 10px; }
.woocommerce-terms-and-conditions-wrapper a { border-bottom: 1px solid var(--beige); }
.bonsai-legal-note { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); margin: 0 0 18px; line-height: 1.5; }

#place_order { width: 100%; padding: 18px 24px; font-size: 19px; margin-top: 4px; }
#place_order:disabled { opacity: .6; cursor: wait; }

/* Komunikaty */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-NoticeGroup .woocommerce-error {
	list-style: none;
	margin: 0 0 22px;
	padding: 14px 18px;
	border-left: 3px solid var(--brown);
	background: var(--cream);
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 400;
	color: var(--ink);
}
.woocommerce-error { border-left-color: var(--error); background: #FBF0EE; }
.woocommerce-error li + li { margin-top: 6px; }
.woocommerce-NoticeGroup { grid-column: 1 / -1; }

/* jQuery blockUI (przeliczanie zamówienia) */
.blockUI.blockOverlay { background: rgba(255, 255, 255, .7) !important; }

/* =========================================================================
   Dziękujemy (order-received)
   ========================================================================= */
.page--thankyou .woocommerce-order { background: #fff; padding: 36px 38px; box-shadow: var(--shadow); }
.woocommerce-thankyou-order-received { font-size: 22px; color: var(--ink-warm); text-align: center; margin-bottom: 26px; }
.ty-title { display: block; font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.ty-event { text-align: center; background: var(--cream); padding: 24px 20px 26px; margin: 0 0 28px; }
.ty-event .label { margin-bottom: 10px; }
.ty-event__line { margin: 0 0 4px; font-size: 20px; color: var(--ink-warm); }
.ty-event .btn { margin-top: 16px; }
ul.woocommerce-order-overview { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }
ul.woocommerce-order-overview strong { display: block; font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 600; }
.woocommerce-order-details,
.woocommerce-customer-details { font-family: var(--sans); font-size: 14px; font-weight: 400; }
.woocommerce-order-details__title,
.woocommerce-column__title { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin: 24px 0 12px; }
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; }
.woocommerce-table--order-details th,
.woocommerce-table--order-details td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-table--order-details td:last-child,
.woocommerce-table--order-details tfoot td { text-align: right; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.7; border: 1px solid var(--line); padding: 16px 18px; }
.woocommerce-customer-details--phone,
.woocommerce-customer-details--email { margin: 4px 0 0; }

/* =========================================================================
   Responsywność
   ========================================================================= */
@media (max-width: 1080px) {
	.timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; gap: 0; max-width: 620px; margin: 0 auto; }
	.hero__poster { max-width: 440px; margin: 0 auto -40px; position: relative; z-index: 1; width: 82%; }
	.hero__body { padding: 70px 30px 32px; }
	.hero::before { height: 36%; }
	.co { grid-template-columns: 1fr; max-width: 640px; }
	.co__event { position: static; display: grid; grid-template-columns: 140px 1fr; }
	.co__poster { aspect-ratio: auto; height: 100%; object-position: 50% 15%; }
	.co__event-body { padding: 18px 20px; }
	.co__title { font-size: 30px; }
	.co__facts li { font-size: 16px; }
	.co__price strong { font-size: 28px; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__logo { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	body { font-size: 19px; }
	.topbar__follow,
	.topbar__contact a:first-child span { display: none; }
	.topbar__inner { min-height: 38px; }
	.site-header__inner { grid-template-columns: 1fr auto 1fr; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
	.nav--right .btn--sm { padding: 9px 14px; font-size: 13px; letter-spacing: 1px; }
	.nav--left > a:not(.nav__back) { display: none; }
	.nav--right > a:not(.btn) { display: none; }
	.nav__back span,
	.nav__secure span { display: none; }
	.logo { grid-column: 2; justify-self: center; }
	.nav--left { grid-column: 1; grid-row: 1; }
	.nav--right { grid-column: 3; grid-row: 1; }
	.logo img { width: 78px; }
	.site-header--checkout .logo img { width: 68px; }

	.section { padding: 64px 0; }
	.intro { padding-top: 24px; }
	.sec-title { margin-bottom: 34px; }
	.sec-title .desc-text { font-size: 20px; }
	.hero { padding: 28px 0 56px; }
	.hero__body { padding: 64px 22px 26px; }
	.hero__title { letter-spacing: 2px; }
	.hero__sub { font-size: 23px; }
	.hero__lead { font-size: 20px; }
	.facts strong { font-size: 19px; }
	.facts span:not(.label) { font-size: 16px; }
	.buy__row .btn { width: 100%; }
	.buy__price strong { font-size: 38px; }
	.buy--cta { padding: 24px 20px; }
	.intro__text { font-size: 21px; }

	.timeline { grid-template-columns: 1fr; gap: 14px; }
	.tl { padding: 26px 22px; }
	.steps { grid-template-columns: 1fr; gap: 30px; }

	.contact__grid { grid-template-columns: 1fr; gap: 26px; }
	.contact__item + .contact__item { border-left: 0; border-top: 1px solid rgba(140, 123, 107, .3); padding-top: 26px; }

	.site-footer__grid { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; }

	/* Przyklejony pasek zakupu */
	.home { padding-bottom: 76px; }
	.sticky-buy {
		display: flex;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 50;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .97);
		border-top: 1px solid var(--line);
		box-shadow: 0 -8px 24px -12px rgba(61, 43, 31, .25);
	}
	.sticky-buy__info strong { display: block; font-size: 26px; line-height: 1; color: var(--ink-warm); }
	.sticky-buy__info span { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); }
	.sticky-buy .btn { padding: 13px 26px; }

	/* Checkout */
	.page--shop { padding-top: 28px; padding-bottom: 56px; }
	.page--shop .wrap { padding: 0 12px; }
	.co { gap: 14px; }
	.co__event { grid-template-columns: 96px 1fr; }
	.co__event .label,
	.co__sub { display: none; }
	.co__title { font-size: 24px; margin-top: 0; }
	.co__facts { border-top: 0; }
	.co__facts li { padding: 4px 0; border: 0; font-size: 15px; }
	.co__facts .icon { display: none; }
	.co__price { margin-top: 8px; }
	.co__price .label { display: none; }
	.co__form { padding: 24px 18px 26px; }
	.form-row-first,
	.form-row-last { width: 100%; }
	.page--thankyou .woocommerce-order { padding: 26px 18px; }
}

@media (max-width: 380px) {
	.co__event { grid-template-columns: 1fr; }
	.co__poster { display: none; }
}
