/* =========================================================
   3SZLAKI – wygląd stron WooCommerce
   Produkt, kategorie, koszyk, zamówienie, Moje konto, komunikaty.
   Działa z klasycznymi stronami (shortcode) i z blokami WooCommerce.
   Selektory z „body” przebijają style motywu (np. różowe przyciski Hello).
   ========================================================= */

body.woocommerce-page,
body.woocommerce-account,
body.woocommerce-cart,
body.woocommerce-checkout { background: var(--szl-paper); }

body:is(.woocommerce, .woocommerce-page) :is(.site-main, .woocommerce, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) {
  font-family: var(--szl-f-body);
  color: var(--szl-ink);
}
body:is(.woocommerce, .woocommerce-page) .site-main {
  max-width: 1180px;
  margin-inline: auto;
  padding: 48px 20px 88px;
}
@media (max-width: 767px) { body:is(.woocommerce, .woocommerce-page) .site-main { padding: 28px 16px 64px; } }

body:is(.woocommerce, .woocommerce-page) .site-main :is(h1, h2, h3, .page-title, .entry-title, .product_title, .woocommerce-loop-product__title, .wc-block-components-title) {
  font-family: var(--szl-f-display);
  font-weight: 700;
  color: var(--szl-ink);
  letter-spacing: -0.01em;
}
body:is(.woocommerce, .woocommerce-page) :is(.page-title, .entry-title) { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.02; margin: 0 0 24px; }
body:is(.woocommerce, .woocommerce-page) .site-main a:not(.button):not(.wc-block-components-button):not(.wp-element-button) { color: var(--szl-forest); text-decoration-color: var(--szl-yellow); text-underline-offset: 3px; }
body:is(.woocommerce, .woocommerce-page) .site-main a:not(.button):not(.wc-block-components-button):not(.wp-element-button):hover { color: var(--szl-ink); }

/* ---------- przyciski ---------- */
body :is(.woocommerce, .woocommerce-page, .szl-product__actions) :is(a.button, button.button, input.button, #respond input#submit),
body :is(.wc-block-components-button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wp-block-button__link.wp-element-button, .wc-block-components-product-button__button),
body .woocommerce :is(button[type="submit"], .woocommerce-button) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px;
  border: 2px solid var(--szl-forest) !important; border-radius: 999px !important;
  background: var(--szl-forest) !important; color: var(--szl-on-forest) !important;
  font-family: var(--szl-f-body) !important; font-weight: 700 !important; font-size: 1rem !important; line-height: 1.1;
  text-transform: none; letter-spacing: normal; text-decoration: none !important; white-space: normal; text-align: center;
  box-shadow: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
body :is(.woocommerce, .woocommerce-page, .szl-product__actions) :is(a.button, button.button, input.button):is(:hover, :focus),
body :is(.wc-block-components-button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wp-block-button__link.wp-element-button, .wc-block-components-product-button__button):is(:hover, :focus),
body .woocommerce :is(button[type="submit"], .woocommerce-button):is(:hover, :focus) {
  background: var(--szl-forest) !important; color: var(--szl-on-forest) !important;
  transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(29, 58, 36, .8);
}
/* główne akcje: dodaj do koszyka, przejdź do kasy, zamów – żółte */
body .woocommerce :is(.single_add_to_cart_button, .checkout-button, #place_order, a.button.alt, button.button.alt),
body :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button) {
  background: var(--szl-yellow) !important; border-color: var(--szl-yellow) !important; color: var(--szl-forest) !important;
  min-height: 54px; font-size: 1.0625rem !important; padding: 0 30px;
}
body .woocommerce :is(.single_add_to_cart_button, .checkout-button, #place_order, a.button.alt, button.button.alt):is(:hover, :focus),
body :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button):is(:hover, :focus) {
  background: var(--szl-yellow) !important; color: var(--szl-forest) !important;
}
/* drugorzędne: zaktualizuj koszyk, zastosuj kupon */
body .woocommerce :is(button[name="update_cart"], button[name="apply_coupon"], .woocommerce-orders-table .button, .woocommerce-MyAccount-content .button:not(.alt)) {
  background: transparent !important; color: var(--szl-forest) !important; min-height: 42px; padding: 0 18px; font-size: .9375rem !important;
}
body .woocommerce :is(button[name="update_cart"], button[name="apply_coupon"], .woocommerce-orders-table .button, .woocommerce-MyAccount-content .button:not(.alt)):is(:hover, :focus) {
  background: var(--szl-sand) !important; color: var(--szl-forest) !important;
}
body .woocommerce :is(.button, button):disabled, body .woocommerce .button.disabled { opacity: .45; cursor: not-allowed; transform: none; }
body .woocommerce a.added_to_cart { margin-left: 10px; font-weight: 700; color: var(--szl-forest); }

/* ---------- pola formularzy ---------- */
body .woocommerce :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], textarea, select),
body :is(.wc-block-components-text-input input, .wc-block-components-textarea, .wc-blocks-components-select__select, .wc-block-components-combobox .components-combobox-control__input) {
  min-height: 48px; padding: 10px 14px;
  background: #FFFDF8 !important; color: var(--szl-ink) !important;
  border: 1px solid var(--szl-line) !important; border-radius: 10px !important;
  font-family: var(--szl-f-body); font-size: 1rem; box-shadow: none !important;
}
body .woocommerce textarea { min-height: 110px; }
body .woocommerce :is(input, textarea, select):focus,
body :is(.wc-block-components-text-input input, .wc-blocks-components-select__select):focus {
  border-color: var(--szl-forest) !important; outline: 3px solid rgba(233, 180, 42, .45); outline-offset: 0;
}
body .woocommerce form .form-row label, body .woocommerce label { font-weight: 600; color: var(--szl-ink); margin-bottom: 4px; }
body .woocommerce .required { color: var(--szl-red); text-decoration: none; }
body .woocommerce .select2-container--default .select2-selection--single { height: 48px; border: 1px solid var(--szl-line); border-radius: 10px; background: #FFFDF8; }
body .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; color: var(--szl-ink); }
body .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
body .woocommerce .quantity .qty { width: 84px; min-height: 54px; text-align: center; font-family: var(--szl-f-data); font-weight: 700; font-size: 1.25rem; }
body .woocommerce input[type="checkbox"], body .woocommerce input[type="radio"] { accent-color: var(--szl-forest); width: 18px; height: 18px; }

/* ---------- komunikaty ---------- */
body .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments),
body .wc-block-components-notice-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  margin: 0 0 24px; padding: 16px 20px; list-style: none;
  background: var(--szl-surface); color: var(--szl-ink);
  border: 1px solid var(--szl-line); border-left: 6px solid var(--szl-green); border-radius: 12px;
  font-family: var(--szl-f-body); font-size: 1rem;
}
body .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { display: none; }
body .woocommerce .woocommerce-info, body .wc-block-components-notice-banner.is-info { border-left-color: var(--szl-yellow); }
body .woocommerce .woocommerce-error, body .wc-block-components-notice-banner.is-error { border-left-color: var(--szl-red); }
body .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button { order: 2; margin-left: auto; min-height: 40px; font-size: .9375rem !important; }
body .wc-block-components-notice-banner > svg { fill: currentColor; background: none; }

/* ---------- lista produktów (kategorie, „Podobne produkty”) ---------- */
body .woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px; padding: 0; }
body .woocommerce ul.products::before, body .woocommerce ul.products::after { display: none; }
body .woocommerce ul.products li.product {
  float: none; width: auto !important; margin: 0 !important; padding: 0 0 18px;
  display: flex; flex-direction: column; gap: 6px;
  background: var(--szl-surface); border: 1px solid var(--szl-line); border-radius: var(--szl-r); overflow: hidden; box-shadow: var(--szl-shadow);
}
body .woocommerce ul.products li.product a img { margin: 0 0 6px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; }
body .woocommerce ul.products li.product :is(.woocommerce-loop-product__title, h2, h3) { padding: 0 18px !important; font-size: 1.25rem !important; line-height: 1.15; }
body .woocommerce ul.products li.product .price { padding: 0 18px; margin: 0; font-family: var(--szl-f-data); font-weight: 800; font-size: 1.375rem; color: var(--szl-forest); }
body .woocommerce ul.products li.product .button { margin: auto 18px 0 !important; align-self: flex-start; }
body .woocommerce ul.products li.product .onsale { top: 12px; left: 12px; right: auto; margin: 0; min-height: 0; min-width: 0; padding: 4px 11px; line-height: 1.3; border-radius: 999px; background: var(--szl-yellow); color: var(--szl-forest); font-weight: 700; font-size: .8125rem; }
@media (max-width: 1024px) { body .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { body .woocommerce ul.products { grid-template-columns: 1fr; } }
body .woocommerce :is(.woocommerce-result-count, .woocommerce-ordering) { margin-bottom: 20px; color: var(--szl-ink-2); }
body .woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; }
body .woocommerce nav.woocommerce-pagination ul li { border: 0; }
body .woocommerce nav.woocommerce-pagination ul li :is(a, span) { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--szl-line); background: var(--szl-surface); color: var(--szl-ink); font-weight: 700; }
body .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--szl-forest); color: var(--szl-on-forest); border-color: var(--szl-forest); }

/* ---------- okruszki ---------- */
body .woocommerce .woocommerce-breadcrumb { margin: 0 0 20px; font-size: .9375rem; color: var(--szl-ink-2); }
body .woocommerce .woocommerce-breadcrumb a { color: var(--szl-ink-2) !important; text-decoration: none; }

/* ---------- strona produktu ---------- */
body.single-product div.product:not(.elementor) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: start; }
body.single-product div.product:not(.elementor) > :is(.woocommerce-tabs, .related, .upsells, .up-sells) { grid-column: 1 / -1; }
body.single-product div.product:not(.elementor) :is(div.images, div.summary) { float: none; width: auto !important; margin: 0; }
body.single-product div.product:not(.elementor) div.images img { border-radius: var(--szl-r); }
body.single-product div.product:not(.elementor) div.images .flex-control-thumbs { display: flex; gap: 8px; margin-top: 8px; }
body.single-product div.product:not(.elementor) div.images .flex-control-thumbs li { width: 72px !important; }
body.single-product div.product:not(.elementor) div.images .flex-control-thumbs img { border-radius: 10px; opacity: .6; }
body.single-product div.product:not(.elementor) div.images .flex-control-thumbs img.flex-active { opacity: 1; outline: 3px solid var(--szl-yellow); }
body.single-product div.product:not(.elementor) .product_title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; margin: 0 0 12px; }
body.single-product div.product:not(.elementor) :is(p.price, span.price) { font-family: var(--szl-f-data); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--szl-forest) !important; margin: 0 0 18px; }
body.single-product div.product:not(.elementor) :is(p.price, span.price) del { font-size: .6em; color: var(--szl-ink-2); }
body.single-product div.product:not(.elementor) :is(p.price, span.price) ins { text-decoration: none; }
body.single-product div.product:not(.elementor) .woocommerce-product-details__short-description { color: var(--szl-ink-2); font-size: 1.0625rem; line-height: 1.6; margin-bottom: 20px; }
body.single-product div.product:not(.elementor) form.cart { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0 0 22px; padding: 22px; background: var(--szl-surface); border: 1px solid var(--szl-line); border-top: 8px solid var(--szl-yellow); border-radius: var(--szl-r); box-shadow: var(--szl-shadow); }
body.single-product div.product:not(.elementor) form.cart::before, body.single-product div.product:not(.elementor) form.cart::after { display: none; }
body.single-product div.product:not(.elementor) form.cart .quantity { float: none; margin: 0 !important; }
body.single-product div.product:not(.elementor) form.cart .single_add_to_cart_button { float: none; flex: 1 1 200px; }
body.single-product div.product:not(.elementor) form.variations_form { display: block; }
body.single-product div.product:not(.elementor) form.cart table.variations { width: 100%; margin: 0 0 14px; border: 0; }
body.single-product div.product:not(.elementor) form.cart table.variations :is(th, td) { display: block; padding: 0 0 6px; border: 0; background: none; text-align: left; line-height: 1.3; }
body.single-product div.product:not(.elementor) form.cart table.variations th label { font-weight: 700; }
body.single-product div.product:not(.elementor) form.cart table.variations select { width: 100%; max-width: none; margin: 0; }
body.single-product div.product:not(.elementor) form.cart .reset_variations { font-size: .875rem; }
body.single-product div.product:not(.elementor) form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
body.single-product div.product:not(.elementor) .woocommerce-variation-price .price { font-size: 1.75rem; margin: 6px 0 12px; }
body.single-product div.product:not(.elementor) p.stock { font-weight: 700; color: var(--szl-green); }
body.single-product div.product:not(.elementor) p.stock.out-of-stock { color: var(--szl-red); }
body.single-product div.product:not(.elementor) .product_meta { font-size: .875rem; color: var(--szl-ink-2); display: grid; gap: 4px; }
body.single-product div.product:not(.elementor) .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 18px; padding: 0; border-bottom: 1px solid var(--szl-line); }
body.single-product div.product:not(.elementor) .woocommerce-tabs ul.tabs::before, body.single-product div.product:not(.elementor) .woocommerce-tabs ul.tabs li::before, body.single-product div.product:not(.elementor) .woocommerce-tabs ul.tabs li::after { display: none; }
body.single-product div.product:not(.elementor) .woocommerce-tabs ul.tabs li { margin: 0 0 -1px; padding: 0; border: 0; background: none; border-radius: 0; }
body.single-product div.product:not(.elementor) .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 14px; font-weight: 600; color: var(--szl-ink-2) !important; text-decoration: none; border-bottom: 3px solid transparent; }
body.single-product div.product:not(.elementor) .woocommerce-tabs ul.tabs li.active a { color: var(--szl-ink) !important; border-bottom-color: var(--szl-green); }
body.single-product div.product:not(.elementor) .woocommerce-tabs .panel { max-width: 75ch; font-size: 1.0625rem; line-height: 1.65; color: var(--szl-ink); }
body.single-product div.product:not(.elementor) .woocommerce-tabs .panel > h2:first-child { display: none; }
body.single-product div.product:not(.elementor) table.woocommerce-product-attributes { border: 1px solid var(--szl-line); border-radius: 12px; overflow: hidden; }
body.single-product div.product:not(.elementor) table.woocommerce-product-attributes :is(th, td) { padding: 12px 16px; border-color: var(--szl-line); background: var(--szl-surface); font-style: normal; }
body.single-product .related > h2, body.single-product .upsells > h2 { font-size: 2rem; margin: 24px 0 18px; }
body.single-product div.product:not(.elementor) span.onsale { top: 14px; left: 14px; min-height: 0; min-width: 0; padding: 5px 12px; line-height: 1.3; border-radius: 999px; background: var(--szl-yellow); color: var(--szl-forest); font-weight: 700; }
@media (max-width: 860px) { body.single-product div.product:not(.elementor) { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- tabele (koszyk, zamówienie, Moje konto) ---------- */
body .woocommerce table.shop_table {
  border: 1px solid var(--szl-line); border-radius: var(--szl-r); border-collapse: separate; border-spacing: 0; overflow: hidden;
  background: var(--szl-surface); box-shadow: var(--szl-shadow); margin: 0 0 24px;
}
body .woocommerce table.shop_table :is(th, td) { padding: 14px 16px; border-top: 1px solid var(--szl-line); border-left: 0; border-right: 0; background: none; vertical-align: middle; }
body .woocommerce table.shop_table thead th { border-top: 0; background: var(--szl-sand); font-family: var(--szl-f-display); font-weight: 700; color: var(--szl-ink); }
body .woocommerce table.shop_table tbody tr:first-child td { border-top: 0; }
body .woocommerce table.shop_table :is(.amount, .order-total .amount) { font-family: var(--szl-f-data); font-weight: 700; font-size: 1.125rem; color: var(--szl-forest); }
body .woocommerce table.shop_table .order-total .amount { font-size: 1.5rem; }
body .woocommerce table.shop_table td.product-name a { font-weight: 700; color: var(--szl-ink) !important; text-decoration: none; }
body .woocommerce table.shop_table td.product-thumbnail img { width: 72px; border-radius: 10px; }
body .woocommerce table.cart td.actions { background: var(--szl-paper); }
body .woocommerce table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
body .woocommerce table.cart td.actions .coupon .input-text { width: 180px; margin: 0; }
body .woocommerce a.remove { width: 30px; height: 30px; line-height: 28px; border-radius: 50%; border: 1px solid var(--szl-line); color: var(--szl-red) !important; font-size: 1.25rem; background: none; }
body .woocommerce a.remove:hover { background: var(--szl-red); color: #fff !important; }
body .woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 480px; margin-left: auto; }
body .woocommerce .cart-collaterals .cart_totals > h2 { font-size: 1.75rem; margin: 0 0 12px; }
body .woocommerce .wc-proceed-to-checkout { padding: 0; }
body .woocommerce .wc-proceed-to-checkout .checkout-button { width: 100%; margin: 0; }
@media (max-width: 767px) {
  body .woocommerce table.shop_table_responsive tr td { padding: 10px 14px; }
  body .woocommerce table.shop_table_responsive tr td::before { font-weight: 700; color: var(--szl-ink-2); }
  body .woocommerce table.shop_table_responsive tbody tr { display: block; border-top: 1px solid var(--szl-line); }
  body .woocommerce table.shop_table_responsive tbody tr:first-child { border-top: 0; }
  body .woocommerce table.cart td.actions .coupon .input-text { width: 100%; }
}

/* ---------- zamówienie (klasyczne) ---------- */
body.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 48px; align-items: start; }
body.woocommerce-checkout form.checkout > :is(.woocommerce-NoticeGroup, .woocommerce-notices-wrapper) { grid-column: 1 / -1; grid-row: 1; }
body.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 2; }
body.woocommerce-checkout form.checkout #customer_details :is(.col-1, .col-2) { float: none; width: 100%; }
body.woocommerce-checkout form.checkout :is(#order_review_heading, #order_review) { grid-column: 2; }
body.woocommerce-checkout form.checkout #order_review_heading { grid-row: 2; align-self: start; height: 40px; margin: 0; font-size: 1.75rem; line-height: 40px; }
body.woocommerce-checkout form.checkout #order_review { grid-row: 2; align-self: start; margin-top: 56px; position: sticky; top: calc(var(--szl-sticky-top, 0px) + 24px); }
body.woocommerce-checkout #payment { background: var(--szl-surface); border: 1px solid var(--szl-line); border-radius: var(--szl-r); box-shadow: var(--szl-shadow); }
body.woocommerce-checkout #payment ul.payment_methods { padding: 18px 20px; border-bottom: 1px solid var(--szl-line); }
body.woocommerce-checkout #payment ul.payment_methods li { line-height: 1.5; }
body.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; }
body.woocommerce-checkout #payment div.payment_box { background: var(--szl-paper); color: var(--szl-ink-2); border-radius: 10px; }
body.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--szl-paper); }
body.woocommerce-checkout #payment div.form-row { padding: 18px 20px; }
body.woocommerce-checkout #payment #place_order { width: 100%; float: none; }
body.woocommerce-checkout .woocommerce-checkout h3 { font-size: 1.5rem; margin: 8px 0 14px; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info, body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { border-left-color: var(--szl-green); }
@media (max-width: 980px) {
  body.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  body.woocommerce-checkout form.checkout > * { grid-column: 1 !important; grid-row: auto !important; }
  body.woocommerce-checkout form.checkout #order_review { position: static; }
}

/* ---------- koszyk i zamówienie (bloki WooCommerce) ---------- */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) { font-family: var(--szl-f-body); color: var(--szl-ink); }
body :is(.wc-block-components-sidebar .wc-block-components-panel, .wc-block-components-totals-wrapper, .wc-block-checkout__sidebar, .wp-block-woocommerce-cart-order-summary-block) { border-color: var(--szl-line) !important; }
body :is(.wc-block-cart__sidebar, .wc-block-checkout__sidebar) .wc-block-components-sidebar-layout__sidebar,
body .wc-block-components-sidebar { background: var(--szl-surface); border: 1px solid var(--szl-line); border-radius: var(--szl-r); padding: 20px !important; box-shadow: var(--szl-shadow); }
body .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body .wc-block-components-product-price, body .wc-block-formatted-money-amount { font-family: var(--szl-f-data); font-weight: 700; color: var(--szl-forest); }
body .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 1.5rem; }
body .wc-block-components-product-name { font-weight: 700; color: var(--szl-ink) !important; text-decoration: none; }
body .wc-block-cart-items { border-color: var(--szl-line) !important; }
body .wc-block-cart-items th { font-family: var(--szl-f-display); color: var(--szl-ink-2); }
body .wc-block-components-quantity-selector { border-radius: 999px !important; border-color: var(--szl-line) !important; }
body .wc-block-components-quantity-selector::after { border-color: var(--szl-line) !important; border-radius: 999px !important; }
body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { background: none !important; border: 0 !important; color: var(--szl-ink) !important; min-width: 36px; padding: 0 !important; }
body .wc-block-components-checkout-step__title, body .wc-block-cart__totals-title { font-family: var(--szl-f-display) !important; font-weight: 700 !important; color: var(--szl-ink); }
body .wc-block-components-radio-control__option, body .wc-block-components-radio-control-accordion-option { border-color: var(--szl-line) !important; }
body .wc-block-components-radio-control__input:checked { border-color: var(--szl-forest) !important; }
body .wc-block-components-radio-control__input:checked::before { background: var(--szl-forest) !important; }
body .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--szl-forest); border-color: var(--szl-forest); }
body .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
body .wc-block-components-text-input.is-active label, body .wc-block-components-text-input label { color: var(--szl-ink-2); }
body .wc-block-cart__empty-cart__title { font-family: var(--szl-f-display); }

/* ---------- Moje konto ---------- */
body.woocommerce-account .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
body.woocommerce-account .woocommerce > :is(.woocommerce-notices-wrapper, .u-columns, #customer_login, .woocommerce-form-login, .woocommerce-ResetPassword, h2) { grid-column: 1 / -1; }
body.woocommerce-account .woocommerce::before, body.woocommerce-account .woocommerce::after { display: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation, body.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; background: var(--szl-surface); border: 1px solid var(--szl-line); border-radius: var(--szl-r); box-shadow: var(--szl-shadow); position: sticky; top: calc(var(--szl-sticky-top, 0px) + 24px); }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li { margin: 0; padding: 0; border: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 10px; font-weight: 600; color: var(--szl-ink) !important; text-decoration: none !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover { background: var(--szl-sand); }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--szl-forest); color: var(--szl-on-forest) !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--szl-line); }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--szl-ink-2) !important; }
body.woocommerce-account .woocommerce-MyAccount-content { font-size: 1.0625rem; line-height: 1.6; }
body.woocommerce-account .woocommerce-MyAccount-content > p:first-child { padding: 20px 22px; background: var(--szl-surface); border: 1px solid var(--szl-line); border-top: 8px solid var(--szl-green); border-radius: var(--szl-r); box-shadow: var(--szl-shadow); }
body.woocommerce-account .woocommerce-MyAccount-content :is(h2, h3) { font-size: 1.625rem; margin: 18px 0 12px; }
body.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
body.woocommerce-account .woocommerce-Addresses::before, body.woocommerce-account .woocommerce-Addresses::after { display: none; }
body.woocommerce-account .woocommerce-Address { float: none; width: auto; padding: 20px 22px; background: var(--szl-surface); border: 1px solid var(--szl-line); border-radius: var(--szl-r); }
body.woocommerce-account .woocommerce-Address address { font-style: normal; color: var(--szl-ink-2); }
body.woocommerce-account mark { background: var(--szl-sand); color: var(--szl-ink); padding: 0 6px; border-radius: 6px; font-weight: 700; }
/* logowanie i rejestracja */
body.woocommerce-account #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body.woocommerce-account #customer_login::before, body.woocommerce-account #customer_login::after { display: none; }
body.woocommerce-account #customer_login > :is(.u-column1, .u-column2) { float: none; width: auto; padding: 28px; background: var(--szl-surface); border: 1px solid var(--szl-line); border-radius: var(--szl-r); box-shadow: var(--szl-shadow); }
body.woocommerce-account #customer_login > .u-column1 { border-top: 8px solid var(--szl-green); }
body.woocommerce-account #customer_login > .u-column2 { border-top: 8px solid var(--szl-yellow); }
body.woocommerce-account #customer_login h2 { margin: 0 0 14px; font-size: 1.75rem; }
body.woocommerce-account :is(form.login, form.register, form.lost_reset_password) { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0; }
body.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login), body.woocommerce-account form.lost_reset_password { max-width: 520px; padding: 28px !important; background: var(--szl-surface); border: 1px solid var(--szl-line) !important; border-top: 8px solid var(--szl-green) !important; border-radius: var(--szl-r) !important; box-shadow: var(--szl-shadow); }
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 4px 16px 10px 0; font-weight: 500; }
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit { width: 100%; margin: 4px 0 0; }
body.woocommerce-account .woocommerce-form-register .woocommerce-form-register__submit { width: 100%; }
body.woocommerce-account .woocommerce-LostPassword { margin: 14px 0 0; font-size: .9375rem; }
body.woocommerce-account .woocommerce-privacy-policy-text { font-size: .8125rem; color: var(--szl-ink-2); }
body.woocommerce-account .woocommerce-password-strength { border-radius: 8px; font-size: .875rem; }
@media (max-width: 860px) {
  body.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 20px; }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul { position: static; display: flex; overflow-x: auto; scrollbar-width: none; padding: 6px; }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul li a { white-space: nowrap; }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
  body.woocommerce-account :is(#customer_login, .woocommerce-Addresses) { grid-template-columns: 1fr; }
}

/* ---------- podziękowanie za zamówienie ---------- */
body .woocommerce-order .woocommerce-thankyou-order-received { font-family: var(--szl-f-display); font-size: 1.75rem; font-weight: 700; color: var(--szl-forest); padding: 22px 24px; background: var(--szl-surface); border: 1px solid var(--szl-line); border-top: 8px solid var(--szl-green); border-radius: var(--szl-r); }
body .woocommerce ul.order_details { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 28px; padding: 0; list-style: none; border: 1px solid var(--szl-line); border-radius: var(--szl-r); overflow: hidden; background: var(--szl-surface); }
body .woocommerce ul.order_details::before, body .woocommerce ul.order_details::after { display: none; }
body .woocommerce ul.order_details li { flex: 1 1 160px; margin: 0; padding: 14px 18px; border: 0; border-right: 1px solid var(--szl-line); font-size: .8125rem; text-transform: none; color: var(--szl-ink-2); }
body .woocommerce ul.order_details li strong { display: block; margin-top: 2px; font-family: var(--szl-f-data); font-size: 1.25rem; color: var(--szl-ink); }
body .woocommerce .woocommerce-customer-details address { padding: 18px 20px; border: 1px solid var(--szl-line); border-radius: var(--szl-r); background: var(--szl-surface); font-style: normal; }

/* ---------- mini koszyk Elementor Pro (jeśli używany) ---------- */
body .elementor-menu-cart__main { background: var(--szl-paper); font-family: var(--szl-f-body); }
body .elementor-menu-cart__footer-buttons .elementor-button { border-radius: 999px; background: var(--szl-forest); color: var(--szl-on-forest); font-weight: 700; }
body .elementor-menu-cart__footer-buttons .elementor-button--checkout { background: var(--szl-yellow); color: var(--szl-forest); }

/* ---------- kasa: bilet dla kolejnej osoby ---------- */
.szl-checkout-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 0 0 24px; padding: 16px 20px; background: var(--szl-surface); border: 1px solid var(--szl-line); border-left: 6px solid var(--szl-yellow); border-radius: 12px; font-family: var(--szl-f-body); color: var(--szl-ink); }
.szl-checkout-note__btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--szl-forest); color: var(--szl-forest) !important; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.szl-checkout-note__btn:hover { background: var(--szl-sand); }

/* =========================================================
   Zakup biletu w 4 krokach (body.szl-bilet)
   ========================================================= */
body.szl-bilet form.cart { position: relative; display: block !important; padding: 0 !important; margin: 0 0 32px !important; background: none !important; border: 0 !important; box-shadow: none !important; font-family: var(--szl-f-body); color: var(--szl-ink); }
body.szl-bilet form.cart > * { max-width: 100%; }
/* kroki */
.szl-stepper { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.szl-stepper li { margin: 0; padding: 0; }
.szl-stepper li.is-empty { display: none; }
body .szl-stepper button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 58px; text-align: left; white-space: normal; background: var(--szl-surface) !important; color: var(--szl-ink) !important; border: 1px solid var(--szl-line) !important; border-radius: 14px !important; font: inherit; font-size: .9375rem; cursor: pointer; box-shadow: none; transform: none; }
body .szl-stepper button:hover, body .szl-stepper button:focus { background: var(--szl-surface) !important; color: var(--szl-ink) !important; border-color: var(--szl-forest) !important; }
.szl-stepper__n { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--szl-sand); font-family: var(--szl-f-data); font-weight: 800; font-size: 1.0625rem; }
.szl-stepper__t { display: grid; min-width: 0; line-height: 1.2; }
.szl-stepper__t b { font-weight: 700; }
.szl-stepper__t small { font-size: .75rem; color: var(--szl-ink-2); }
.szl-stepper li.is-current button { border-color: var(--szl-forest) !important; box-shadow: inset 0 0 0 1px var(--szl-forest); }
.szl-stepper li.is-current .szl-stepper__n { background: var(--szl-forest); color: var(--szl-on-forest); }
.szl-stepper li.is-done .szl-stepper__n { background: var(--szl-green); color: #fff; font-size: 0; }
.szl-stepper li.is-done .szl-stepper__n::after { content: "✓"; font-size: 1rem; }
@media (max-width: 760px) {
  .szl-stepper { gap: 6px; }
  body .szl-stepper button { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 4px; min-height: 0; text-align: center; }
  .szl-stepper__t small { display: none; }
  .szl-stepper__t b { font-size: .75rem; }
}
/* komunikat o brakach */
.szl-steps-error { margin: 0 0 16px; padding: 14px 18px; background: #FFF4F2; border: 1px solid #F0C9C3; border-left: 6px solid var(--szl-red); border-radius: 12px; font-size: .9688rem; }
.szl-steps-error ul { margin: 6px 0 0; padding-left: 1.2em; }
/* kafelki trasy i opcji */
form.szl-picks-on table.variations, form.szl-picks-on .reset_variations { display: none !important; }
.szl-picks { display: grid; gap: 18px; margin: 0 0 14px; }
.szl-pick__label { margin: 0 0 8px; font-family: var(--szl-f-display); font-weight: 700; font-size: 1.25rem; color: var(--szl-ink); }
.szl-pick__list { display: flex; flex-wrap: wrap; gap: 8px; }
body .szl-pick__opt { min-height: 46px; padding: 0 20px; background: var(--szl-surface) !important; color: var(--szl-ink) !important; border: 2px solid var(--szl-line) !important; border-radius: 999px !important; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; white-space: normal; box-shadow: none; transform: none; text-align: left; }
body .szl-pick__opt:hover, body .szl-pick__opt:focus { background: var(--szl-surface) !important; color: var(--szl-ink) !important; border-color: var(--szl-forest) !important; }
body .szl-pick__opt[aria-checked="true"], body .szl-pick__opt[aria-checked="true"]:hover, body .szl-pick__opt[aria-checked="true"]:focus { background: var(--szl-forest) !important; color: var(--szl-on-forest) !important; border-color: var(--szl-forest) !important; }
body .szl-pick__opt:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.szl-pick--routes .szl-pick__list { display: grid; gap: 10px; }
body .szl-pick--routes .szl-pick__opt { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; min-height: 0; padding: 16px 18px 16px 16px; border-radius: var(--szl-r) !important; }
body .szl-pick--routes .szl-pick__opt[aria-checked="true"], body .szl-pick--routes .szl-pick__opt[aria-checked="true"]:hover, body .szl-pick--routes .szl-pick__opt[aria-checked="true"]:focus { background: var(--szl-surface) !important; color: var(--szl-ink) !important; border-color: var(--c) !important; box-shadow: inset 0 0 0 1px var(--c); }
.szl-pick__bar { align-self: stretch; min-height: 46px; border-radius: 999px; background: var(--c, var(--szl-line)); }
.szl-pick__main { display: grid; gap: 2px; min-width: 0; }
.szl-pick__main strong { font-family: var(--szl-f-data); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.szl-pick__main small { font-weight: 500; font-size: .875rem; color: var(--szl-ink-2); }
.szl-pick__side { display: grid; justify-items: end; gap: 2px; }
.szl-pick__side b { font-family: var(--szl-f-data); font-weight: 800; font-size: 2rem; line-height: 1; }
.szl-pick__side b small { font-size: .55em; }
.szl-pick__side i { font-style: normal; font-weight: 700; font-size: .875rem; color: var(--szl-forest); }
/* widoczność elementów w krokach */
form.szl-tkroki:not([data-step="0"]) :is(.szl-picks, table.variations, .single_variation) { display: none !important; }
form.szl-tkroki[data-step="0"] :is(.wcpa_form_outer, .e-atc-qty-button-holder, .single_add_to_cart_button, .quantity) { display: none !important; }
form.szl-tkroki:not([data-step="3"]) :is(.wcpa_price_summary, .single_add_to_cart_button, .e-atc-qty-button-holder) { display: none !important; }
form.szl-tkroki .single_variation .woocommerce-variation-price { display: none; }
form.szl-tkroki .single_variation .stock { margin: 4px 0 0; font-size: .875rem; }
form.szl-tkroki-off :is(.szl-stepper, .szl-steps-bar .szl-steps-bar__back, .szl-steps-bar .szl-steps-bar__next) { display: none !important; }
/* sekcje WCPA jako karty */
body.szl-bilet .wcpa_form_outer { margin: 0 !important; }
body.szl-bilet .wcpa_section { margin: 0 0 14px !important; padding: 20px 22px !important; background: var(--szl-surface) !important; border: 1px solid var(--szl-line) !important; border-radius: var(--szl-r) !important; box-shadow: var(--szl-shadow); }
body.szl-bilet .wcpa_section_head { margin: 0 0 12px !important; padding: 0 !important; background: none !important; border: 0 !important; }
body.szl-bilet .wcpa_sec_title { margin: 0 !important; font-family: var(--szl-f-display) !important; font-weight: 700 !important; font-size: 1.375rem !important; color: var(--szl-ink) !important; }
body.szl-bilet .wcpa_field_label { font-weight: 700 !important; color: var(--szl-ink) !important; margin-bottom: 6px; }
body.szl-bilet .wcpa_required_ast { color: var(--szl-red); }
body.szl-bilet .wcpa_field_desc { font-size: .875rem !important; line-height: 1.5 !important; color: var(--szl-ink-2) !important; }
body.szl-bilet :is(.wcpa_radio, .wcpa_checkbox) label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; margin: 0 0 6px; border: 1px solid var(--szl-line); border-radius: 12px; background: #FFFDF8; cursor: pointer; font-weight: 600; }
body.szl-bilet :is(.wcpa_radio, .wcpa_checkbox) label:has(input:checked) { border-color: var(--szl-forest); box-shadow: inset 0 0 0 1px var(--szl-forest); background: var(--szl-surface); }
body.szl-bilet .wcpa_group_field:not(.wcpa_has_image) { display: flex; flex-wrap: wrap; gap: 0 8px; }
body.szl-bilet .wcpa_option_price { color: var(--szl-ink-2); font-weight: 500; }
body.szl-bilet .wcpa_field_price { font-family: var(--szl-f-data); font-weight: 700; color: var(--szl-forest); }
body.szl-bilet .wcpa_image label { border-radius: 12px; }
body.szl-bilet .wcpa_field_error:not(:empty) { margin-top: 6px; color: var(--szl-red); font-weight: 700; font-size: .875rem; }
body.szl-bilet .wcpa_type_content .wcpa_field { font-size: .9375rem; line-height: 1.55; color: var(--szl-ink-2); }
body.szl-bilet .wcpa_price_summary { margin: 0 0 14px !important; padding: 16px 20px !important; background: var(--szl-surface) !important; border: 1px solid var(--szl-line) !important; border-radius: var(--szl-r) !important; }
body.szl-bilet .wcpa_price_summary > div { display: flex; justify-content: space-between; padding: 4px 0; }
body.szl-bilet .wcpa_price_summary .wcpa_total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--szl-line); font-weight: 800; }
body.szl-bilet .wcpa_price_summary .wcpa_total .wcpa_price_outer { font-family: var(--szl-f-data); font-size: 1.75rem; color: var(--szl-forest); }
body.szl-bilet .single_add_to_cart_button { width: 100%; }
/* pasek z sumą i przyciskami */
.szl-steps-bar { position: sticky; bottom: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--szl-paper); border: 1px solid var(--szl-line); border-radius: 16px; box-shadow: 0 -12px 24px -18px rgba(0,0,0,.45); }
.szl-steps-bar__sum { display: grid; justify-items: center; line-height: 1.1; }
.szl-steps-bar__sum small { font-size: .75rem; color: var(--szl-ink-2); }
.szl-steps-bar__sum b { font-family: var(--szl-f-data); font-weight: 800; font-size: 1.625rem; color: var(--szl-forest); }
body .szl-steps-bar button { min-height: 48px; padding: 0 20px; border-radius: 999px !important; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; white-space: nowrap; box-shadow: none; transform: none; }
body .szl-steps-bar .szl-steps-bar__next, body .szl-steps-bar .szl-steps-bar__next:hover, body .szl-steps-bar .szl-steps-bar__next:focus { grid-column: 3; background: var(--szl-yellow) !important; color: var(--szl-forest) !important; border: 2px solid var(--szl-yellow) !important; }
body .szl-steps-bar .szl-steps-bar__back, body .szl-steps-bar .szl-steps-bar__back:hover, body .szl-steps-bar .szl-steps-bar__back:focus { grid-column: 1; background: transparent !important; color: var(--szl-forest) !important; border: 2px solid var(--szl-line) !important; }
.szl-steps-bar button[hidden] { display: none !important; }
.szl-steps-bar__sum { grid-column: 2; }
@media (max-width: 480px) { body .szl-steps-bar button { padding: 0 14px; font-size: .9375rem; } .szl-steps-bar__sum b { font-size: 1.375rem; } }
/* wąska kolumna (np. formularz obok zdjęcia produktu) */
body.szl-bilet form.cart { container-type: inline-size; }
@container (max-width: 620px) {
  body .szl-stepper button { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 4px; min-height: 0; text-align: center; }
  .szl-stepper__t small { display: none; }
  .szl-stepper__t b { font-size: .8125rem; }
  body .szl-pick--routes .szl-pick__opt { gap: 12px; padding: 14px 14px 14px 12px; }
  .szl-pick__main strong { font-size: 1.25rem; }
  .szl-pick__side b { font-size: 1.625rem; }
  body .szl-steps-bar button { padding: 0 14px; }
}

/* =========================================================
   Nagłówek biletu (widżet „Nagłówek biletu”) – wersja B
   ========================================================= */
.szl-th { position: relative; overflow: hidden; background: var(--szl-forest); color: var(--szl-paper); font-family: var(--szl-f-body); }
.szl-th::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 300px; height: 300px; opacity: .1; background: repeating-linear-gradient(135deg, #fff 0 18px, transparent 18px 36px); pointer-events: none; }
.szl-th__in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 44px 24px 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.szl-th--noposter .szl-th__in { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.szl-th__crumb { margin: 0 0 14px; font-size: .875rem; color: var(--szl-on-forest-2, #C3C9B2); }
.szl-th__crumb a { color: inherit !important; text-decoration: none; }
.szl-th__crumb a:hover { color: var(--szl-paper) !important; }
.szl-th__kick { margin: 0 0 8px; font-family: var(--szl-f-data); font-weight: 700; font-size: .9375rem; letter-spacing: .06em; text-transform: uppercase; color: var(--szl-yellow); }
.szl-th__title { margin: 0; font-family: var(--szl-f-display) !important; font-weight: 800 !important; font-size: clamp(2.75rem, 6vw, 4.5rem) !important; line-height: .98 !important; letter-spacing: -.02em; color: var(--szl-paper) !important; }
.szl-th__sub { margin: 8px 0 0; font-family: var(--szl-f-display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.25; color: #C3C9B2; }
.szl-th__status { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); }
.szl-th__status strong { display: block; font-size: 1rem; }
.szl-th__status small { display: block; font-size: .875rem; color: #C3C9B2; }
.szl-th__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0 0; border-top: 1px solid rgba(255,255,255,.15); }
.szl-th__facts div { padding: 12px 12px 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.szl-th__facts dt { font-size: .8125rem; color: #C3C9B2; }
.szl-th__facts dd { margin: 2px 0 0; font-family: var(--szl-f-data); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--szl-paper); }
.szl-th__km { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.szl-th__km span { display: inline-flex; align-items: center; gap: 4px; }
.szl-th__km span::before { content: ""; width: 4px; height: 1em; border-radius: 2px; background: var(--c); }
.szl-th__km small { font-size: .875rem; }
.szl-th__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
body .szl-th__btn, body .szl-th a.szl-th__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--szl-yellow) !important; border: 2px solid var(--szl-yellow) !important; color: var(--szl-forest) !important; font-weight: 800; font-size: 1.0625rem; text-decoration: none !important; transition: transform .15s ease; }
body .szl-th__btn:hover { transform: translateY(-2px); }
body .szl-th a.szl-th__btn--ghost { background: transparent !important; border-color: rgba(255,255,255,.3) !important; color: var(--szl-paper) !important; font-weight: 700; }
.szl-th__partner { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: .875rem; color: #C3C9B2; }
.szl-th__partner b { color: var(--szl-paper); }
.szl-th__plogo { width: auto !important; height: 36px !important; max-width: 90px; padding: 4px; border-radius: 8px; background: #fff; object-fit: contain; }
.szl-th__card { position: relative; margin: 0; padding: 12px 12px 14px; background: var(--szl-paper); border-radius: 12px; transform: rotate(2.5deg); box-shadow: 0 30px 50px -25px rgba(0,0,0,.7); }
.szl-th__card::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; margin-left: -55px; background: rgba(233,180,42,.85); transform: rotate(-4deg); }
.szl-th__card img { width: 100%; height: auto; display: block; border-radius: 6px; }
.szl-th__card figcaption { display: flex; justify-content: space-between; gap: 10px; margin: 10px 4px 0; font-family: var(--szl-f-data); font-weight: 700; font-size: .9375rem; color: var(--szl-forest); }
.szl-th__card figcaption a { color: var(--szl-forest) !important; text-decoration: underline; text-decoration-color: var(--szl-yellow); text-underline-offset: 3px; }
.szl-th__strip { max-width: 1240px; margin: 24px auto 0; padding: 0 24px; }
.szl-th__ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 18px; align-items: center; padding: 18px 22px; background: var(--szl-surface); border: 1px solid var(--szl-line); border-radius: 16px; font-family: var(--szl-f-body); }
.szl-th__ticks p { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .9375rem; line-height: 1.35; color: var(--szl-ink); }
.szl-th__ticks p::before { content: ""; flex: none; width: 6px; height: 22px; border-radius: 3px; background: var(--c); }
.szl-th__links { display: flex; gap: 16px; font-weight: 700; font-size: .875rem; white-space: nowrap; }
.szl-th__links a { color: var(--szl-forest) !important; text-decoration: underline; text-decoration-color: var(--szl-yellow); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .szl-th__in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 30px 16px 40px; }
  .szl-th__card { max-width: 340px; margin: 0 auto; }
  .szl-th__ticks { grid-template-columns: minmax(0, 1fr); }
  .szl-th__strip { padding: 0 16px; }
}
@media (max-width: 560px) {
  .szl-th__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .szl-th__facts div:nth-child(3) { grid-column: 1 / -1; }
  .szl-th__btns .szl-th__btn { width: 100%; }
}
.szl-th__km { flex-wrap: nowrap; }
.szl-th__card figcaption { flex-wrap: wrap; }
.szl-th__card figcaption a { white-space: nowrap; }
.szl-th:not(:has(.szl-th__km)) .szl-th__title { font-size: clamp(2.25rem, 4.5vw, 3.5rem) !important; }

/* =========================================================
   Produkt promocyjny – karnet na sezon (widżet „Nagłówek promocji”)
   ========================================================= */
.szl-promo { position: relative; overflow: hidden; background: #0F2316; color: var(--szl-paper); font-family: var(--szl-f-body); }
.szl-promo::before { content: ""; position: absolute; inset: 0; background: url("../img/serca-kwadrat.jpg") center / 520px repeat; opacity: .14; mix-blend-mode: screen; pointer-events: none; }
.szl-promo::after { content: ""; position: absolute; left: -10%; right: -10%; top: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--szl-yellow) 0 40px, #0F2316 40px 56px); }
.szl-promo__in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 56px 24px 64px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.szl-promo__ribbon { display: inline-block; margin: 0 0 14px; padding: 6px 18px 6px 14px; background: var(--szl-yellow); color: #0F2316; font-family: var(--szl-f-data); font-weight: 800; font-size: 1.125rem; letter-spacing: .14em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%); transform: rotate(-2deg); }
.szl-promo__kick { margin: 0 0 8px; font-family: var(--szl-f-data); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--szl-yellow); }
.szl-promo__title { margin: 0; font-family: var(--szl-f-display) !important; font-weight: 800 !important; font-size: clamp(2.5rem, 5.6vw, 4.25rem) !important; line-height: .98 !important; letter-spacing: -.02em; color: var(--szl-paper) !important; }
.szl-promo__lead { margin: 16px 0 0; max-width: 56ch; font-size: 1.1875rem; line-height: 1.5; color: #C3C9B2; }
.szl-promo__price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 20px; margin: 26px 0 0; }
.szl-promo__price > b { font-family: var(--szl-f-data); font-weight: 800; font-size: clamp(3.5rem, 7vw, 5.25rem); line-height: .9; color: var(--szl-yellow); }
.szl-promo__price span { display: grid; line-height: 1.15; }
.szl-promo__price s { font-family: var(--szl-f-data); font-weight: 700; font-size: 1.625rem; color: #C3C9B2; text-decoration-thickness: 3px; text-decoration-color: var(--szl-red); }
.szl-promo__price small { font-size: .8125rem; color: #C3C9B2; }
.szl-promo__price em { align-self: center; padding: 6px 14px; border-radius: 999px; background: var(--szl-red); color: #fff; font-style: normal; font-weight: 800; font-size: 1rem; transform: rotate(-3deg); }
.szl-promo .szl-count { margin: 22px 0 0; }
.szl-promo__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 24px 0 0; }
.szl-promo__left { font-weight: 700; color: var(--szl-yellow); }
.szl-promo__soldout { font-weight: 800; font-size: 1.125rem; color: var(--szl-paper); padding: 12px 20px; border: 2px solid rgba(255,255,255,.3); border-radius: 999px; }
/* karnet */
.szl-pass { position: relative; max-width: 420px; margin-left: auto; padding: 22px 22px 0; background: var(--szl-paper); color: var(--szl-forest); border-radius: 18px; transform: rotate(3deg); box-shadow: 0 40px 60px -30px rgba(0,0,0,.8); animation: szl-pass-in .8s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes szl-pass-in { from { opacity: 0; transform: rotate(12deg) translateY(30px) scale(.9); } to { opacity: 1; transform: rotate(3deg); } }
.szl-pass::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 8px; background: linear-gradient(90deg, var(--szl-red) 0 33.3%, var(--szl-paper) 0 36%, var(--szl-yellow) 0 64%, var(--szl-paper) 0 66.6%, #3fae5b 0); border-radius: 0 0 4px 4px; }
.szl-pass__top { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-family: var(--szl-f-data); font-weight: 800; letter-spacing: .1em; }
.szl-pass__brand { font-size: 1.25rem; }
.szl-pass__season { padding: 3px 10px; border-radius: 6px; background: var(--szl-forest); color: var(--szl-yellow); font-size: .875rem; }
.szl-pass__name { margin: 14px 0 6px; font-family: var(--szl-f-display); font-weight: 800; font-size: 2.25rem; line-height: 1; }
.szl-pass__code { margin: 0 0 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9375rem; letter-spacing: .08em; color: var(--szl-ink-2); }
.szl-pass__stubs { list-style: none; margin: 0 -22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px dashed var(--szl-sand-2); position: relative; }
.szl-pass__stubs::before, .szl-pass__stubs::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: #0F2316; }
.szl-pass__stubs::before { left: -12px; } .szl-pass__stubs::after { right: -12px; }
.szl-pass__stubs li { display: grid; gap: 2px; padding: 14px 12px 18px; border-left: 2px dashed var(--szl-sand-2); }
.szl-pass__stubs li:first-child { border-left: 0; padding-left: 22px; }
.szl-pass__stubs li span { font-family: var(--szl-f-data); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--szl-ink-2); }
.szl-pass__stubs li span::before { content: ""; display: block; width: 26px; height: 5px; margin-bottom: 6px; border-radius: 3px; background: var(--c); }
.szl-pass__stubs li b { font-family: var(--szl-f-data); font-weight: 800; font-size: 1.625rem; line-height: 1; }
.szl-pass__stubs li small { font-size: .8125rem; color: var(--szl-ink-2); line-height: 1.25; }
@media (max-width: 900px) {
  .szl-promo__in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px 16px 48px; }
  .szl-pass { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .szl-pass { animation: none; } }
/* formularz i opis produktu */
.szl-pform { max-width: 760px; margin: 0 auto; font-family: var(--szl-f-body); }
.szl-pform h2 { margin: 0 0 16px; font-family: var(--szl-f-display); font-weight: 700; font-size: 2rem; color: var(--szl-ink); }
.szl-pform form.cart { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 22px; background: var(--szl-surface); border: 1px solid var(--szl-line); border-top: 8px solid var(--szl-yellow); border-radius: var(--szl-r); box-shadow: var(--szl-shadow); }
.szl-pform form.cart > * { flex: 1 1 100%; }
.szl-pform form.cart .quantity { flex: 0 0 auto; }
.szl-pform form.cart .single_add_to_cart_button { flex: 1 1 220px; }
.szl-pdesc { max-width: 75ch; font-family: var(--szl-f-body); font-size: 1.0625rem; line-height: 1.65; color: var(--szl-ink); }
.szl-pdesc h2, .szl-pdesc h3 { font-family: var(--szl-f-display); font-weight: 700; color: var(--szl-ink); }
