/* ============================================================
   SPLOT TWINS — sklep WooCommerce: kolory + spacing + estetyka.
   BEZ zmian struktury układu (kolumny/responsywność zostają WooCommerce/Storefront).
   Redesign: ciepła paleta, terakota/szałwia zamiast fioletu WC, spójne karty/bordery.
   Ładowane tylko na stronach sklepu (po stw-main). Tokeny bazowe z :root w style.css.
============================================================ */

/* ---------- Ciepłe tokeny sklepu (lokalne, nie ruszają :root marki) ---------- */
body.is-shop {
  --stw-surface:        #FAF4EC;  /* karty/tabele */
  --stw-surface-strong: #EADCCD;  /* nagłówki tabel */
  --stw-field:          #FFFDF9;  /* pola formularza */
  --stw-border:         #D9C8B8;  /* obramowania */
  --stw-terracotta:     #A6533F;
  --stw-terracotta-h:   #8F4434;
  --stw-sage:           #7A8C6E;
  --stw-sage-h:         #65775A;
  --stw-text:           #3D2A22;
  --stw-muted:          #806F62;

  background: var(--cl-bg, #F2E8DC);
  color: var(--stw-text);
  font-family: var(--font-text, 'Bricolage Grotesque', system-ui, sans-serif);
}
.is-shop .stw-page-main { padding-block: clamp(26px, 4vw, 52px) clamp(64px, 7vw, 96px); }

/* ---------- Typografia ---------- */
.is-shop .stw-page-title,
.is-shop .woocommerce-products-header__title,
.is-shop .product_title,
.is-shop h1.entry-title,
.is-shop .cart_totals h2,
.is-shop .cross-sells > h2,
.is-shop .related > h2,
.is-shop .upsells > h2,
.is-shop #order_review_heading,
.is-shop .woocommerce-order-details__title,
.is-shop .woocommerce-customer-details h2,
.is-shop .woocommerce-checkout h3,
.is-shop .stw-product-description__title {
  font-family: var(--font-display, 'Lora', Georgia, serif);
  font-weight: 500; color: var(--stw-text); line-height: 1.2; font-style: italic;
}
.is-shop .stw-page-title,
.is-shop .woocommerce-products-header__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin: 0 0 28px; }
.is-shop a { color: var(--stw-terracotta); }
.is-shop a:hover { color: var(--stw-terracotta-h); }
.is-shop .woocommerce-breadcrumb { color: var(--stw-muted); font-size: .88rem; margin-bottom: 26px; }

/* ---------- Przyciski: terakota (główny) — !important by pokonać domyślny fiolet WC ---------- */
.is-shop a.button,
.is-shop button.button,
.is-shop input.button,
.is-shop .button,
.is-shop #respond input#submit,
.is-shop .single_add_to_cart_button,
.is-shop ul.products li.product a.button {
  background: var(--stw-terracotta) !important;
  color: #FFF9F2 !important;
  border: 1px solid var(--stw-terracotta) !important;
  border-radius: var(--r-pill, 999px) !important;
  font-family: var(--font-text); font-weight: 650; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.is-shop a.button:hover,
.is-shop button.button:hover,
.is-shop input.button:hover,
.is-shop .button:hover,
.is-shop #respond input#submit:hover,
.is-shop .single_add_to_cart_button:hover,
.is-shop ul.products li.product a.button:hover {
  background: var(--stw-terracotta-h) !important; border-color: var(--stw-terracotta-h) !important; color: #FFF9F2 !important;
}

/* CTA „Przejdź do płatności" — szałwiowa zieleń (życzenie właściciela) */
.is-shop a.checkout-button,
.is-shop .wc-proceed-to-checkout a.checkout-button {
  background: var(--stw-sage) !important; border-color: var(--stw-sage) !important; color: #FFF9F2 !important;
  min-height: 54px; font-size: 1.08rem; width: 100%; max-width: 460px; margin-inline: auto;
}
.is-shop a.checkout-button:hover,
.is-shop .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--stw-sage-h) !important; border-color: var(--stw-sage-h) !important;
}

/* Główne CTA pełnej szerokości */
.is-shop .single_add_to_cart_button { min-height: 48px; font-size: 1.05rem; }
.is-shop #place_order { width: 100%; min-height: 52px; font-size: 1.12rem; }

/* Drugorzędne (kontur): „Zaktualizuj koszyk", „Wróć do sklepu" */
.is-shop button[name="update_cart"],
.is-shop input[name="update_cart"],
.is-shop .stw-thankyou .button:not(.alt) {
  background: transparent !important; color: var(--stw-text) !important; border: 1px solid var(--stw-border) !important;
}
.is-shop button[name="update_cart"]:hover,
.is-shop input[name="update_cart"]:hover,
.is-shop .stw-thankyou .button:not(.alt):hover {
  background: var(--cl-card-warm, #F1DEC1) !important; border-color: var(--cl-primary, #C8A882) !important;
}
.is-shop button[name="update_cart"]:disabled,
.is-shop input[name="update_cart"]:disabled,
.is-shop .button.disabled,
.is-shop .button[disabled] {
  background: #E5D9CD !important; color: #99887A !important; border-color: var(--stw-border) !important; opacity: 1 !important;
}

/* ---------- Ceny ---------- */
.is-shop .price,
.is-shop span.price,
.is-shop .amount,
.is-shop .woocommerce-Price-amount { color: var(--stw-terracotta); font-weight: 700; }
.is-shop del,
.is-shop del .amount { color: var(--stw-muted); opacity: .7; font-weight: 400; }

/* ---------- Pola formularza (rozmiar + kolory; BEZ zmiany układu) ---------- */
.is-shop .woocommerce form .form-row input.input-text,
.is-shop .woocommerce form .form-row select,
.is-shop .woocommerce .select2-container .select2-selection,
.is-shop .woocommerce .select2-container--default .select2-selection--single {
  height: 46px; padding: 0 14px; background: var(--stw-field);
  border: 1px solid var(--stw-border); border-radius: 10px;
  font-family: var(--font-text); color: var(--stw-text); box-sizing: border-box;
}
.is-shop .woocommerce form .form-row textarea,
.is-shop #order_comments {
  min-height: 96px; padding: 12px 14px; background: var(--stw-field);
  border: 1px solid var(--stw-border); border-radius: 10px; font-family: var(--font-text); color: var(--stw-text);
}
.is-shop .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; }
.is-shop .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.is-shop .woocommerce form .form-row input.input-text:focus,
.is-shop .woocommerce form .form-row textarea:focus,
.is-shop .woocommerce form .form-row select:focus {
  outline: none; border-color: var(--stw-sage); box-shadow: 0 0 0 3px rgba(122, 140, 110, .18);
}
.is-shop .woocommerce form .form-row label { font-family: var(--font-text); font-weight: 600; color: var(--stw-text); margin-bottom: 7px; }
.is-shop ::placeholder { color: #9B8B7D; opacity: 1; }

/* Pole kuponu — szersze, czytelne */
.is-shop .coupon .input-text {
  width: 190px; max-width: 100%; height: 44px; padding: 0 16px;
  background: var(--stw-field); border: 1px solid var(--stw-border); border-radius: 10px; line-height: normal;
}
.is-shop .coupon .button { height: 44px; }

/* ---------- Karty: koszyk / podsumowanie / order review / płatność ---------- */
.is-shop table.shop_table {
  border: 1px solid var(--stw-border); border-radius: 16px; overflow: hidden;
  background: var(--stw-surface); box-shadow: 0 8px 24px rgba(62, 42, 32, .06);
}
.is-shop table.shop_table th { background: var(--stw-surface-strong); color: var(--stw-text); font-family: var(--font-text); padding: 14px 18px; }
.is-shop table.shop_table td { border-top: 1px solid rgba(217, 200, 184, .8); padding: 14px 18px; vertical-align: middle; }
.is-shop table.cart td.product-thumbnail img { width: 56px; height: auto; border-radius: 10px; }
.is-shop table.cart .product-name a { font-family: var(--font-display, 'Lora', serif); font-style: italic; color: var(--stw-text); }
.is-shop a.remove {
  color: var(--stw-terracotta) !important; width: 32px; height: 32px; line-height: 30px; border-radius: 50%; text-align: center; font-weight: 400;
}
.is-shop a.remove:hover { background: rgba(166, 83, 63, .12) !important; color: var(--stw-terracotta) !important; }
.is-shop .cart input.qty { height: 42px; border: 1px solid var(--stw-border); border-radius: var(--r-pill, 999px); text-align: center; background: var(--stw-field); }

/* Podsumowanie koszyka — karta + odstęp od tabeli */
.is-shop .cart_totals { margin-top: 32px; }
.is-shop .cart_totals h2 { margin: 0 0 16px; }
.is-shop .cart_totals table.shop_table { background: var(--stw-surface); }
.is-shop .cart_totals table.shop_table th,
.is-shop .cart_totals table.shop_table td { background: transparent; border-top: 1px solid rgba(217,200,184,.8); }

/* Checkout: tabela zamówienia + płatność jako karty */
.is-shop .woocommerce-checkout #order_review { margin-top: 4px; }
.is-shop .woocommerce-checkout #payment {
  background: #E7DED2; border: 1px solid var(--stw-border); border-radius: 16px;
  box-shadow: 0 8px 24px rgba(62, 42, 32, .05); margin-top: 16px;
}
.is-shop .woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--stw-border); padding: 16px; }
.is-shop .woocommerce-checkout #payment ul.payment_methods li input[type="radio"] { accent-color: var(--stw-terracotta); width: 18px; height: 18px; }
.is-shop .woocommerce-checkout #payment div.payment_box { background: var(--stw-field); border-radius: 10px; }
.is-shop .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--stw-field); }
.is-shop .woocommerce-form-coupon-toggle .woocommerce-info { background: #E8DED0; box-shadow: inset 4px 0 0 var(--stw-terracotta); }

/* Checkout: obowiązkowe potwierdzenie braku prawa odstąpienia (produkty na zamówienie) */
.is-shop .stw-withdrawal-ack {
  margin: 16px 0; padding: 16px 18px;
  background: var(--stw-surface-strong); border: 1px solid var(--stw-border);
  border-radius: 14px;
}
.is-shop .stw-withdrawal-ack__label {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; margin: 0;
}
.is-shop .stw-withdrawal-ack__label input[type="checkbox"] {
  flex: 0 0 auto; margin-top: 2px;
  width: 20px; height: 20px; accent-color: var(--stw-terracotta);
}
.is-shop .stw-withdrawal-ack__text {
  font-size: .92rem; line-height: 1.55; color: var(--stw-text);
}
.is-shop .stw-withdrawal-ack__text a {
  color: var(--stw-terracotta); text-decoration: underline; font-weight: 500;
}
.is-shop .stw-withdrawal-ack__text a:hover { color: var(--stw-terracotta-h); }
.is-shop .stw-withdrawal-ack__req { color: var(--err, #B23A48); margin-left: 2px; }

/* ---------- Karta produktu w archiwum (kosmetyka, bez zmiany siatki WC) ---------- */
.is-shop ul.products li.product img { border-radius: 16px; }
.is-shop ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display, 'Lora', serif); color: var(--stw-text); }
.is-shop ul.products li.product .star-rating { color: var(--cl-primary, #C8A882); }

/* ---------- Pojedynczy produkt ---------- */
.is-shop.single-product .woocommerce-product-gallery__wrapper {
  border-radius: 20px; overflow: hidden; border: 1px solid #E2D4C6;
  box-shadow: 0 10px 30px rgba(62, 42, 32, .07); background: var(--stw-field);
}
.is-shop.single-product .woocommerce-product-gallery img { background: var(--stw-field); }
.is-shop.single-product .flex-control-thumbs img { border-radius: 12px; border: 1px solid var(--stw-border); }
.is-shop.single-product .flex-control-thumbs img.flex-active,
.is-shop.single-product .flex-control-thumbs img:hover { border: 2px solid var(--stw-terracotta); }
.is-shop .stw-product-eyebrow { display: inline-block; margin-bottom: 12px; }
.is-shop .stw-product-eyebrow.gallery-tag--custom { color: var(--stw-sage); }
.is-shop.single-product .product_title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.4rem); margin: 0 0 12px; }
.is-shop.single-product .woocommerce-product-details__short-description { line-height: 1.65; max-width: 480px; }

/* Pasek zaufania */
.is-shop .stw-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 14px; padding: 0; list-style: none; }
.is-shop .stw-trust li {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: var(--r-pill);
  background: var(--stw-surface-strong); border: 1px solid var(--stw-border); color: var(--stw-text); font-size: .85rem; font-weight: 500;
}
.is-shop .stw-trust .icon { width: 15px; height: 15px; color: var(--stw-terracotta); }

.is-shop .stw-quote-note { background: var(--stw-surface-strong); border: 1px solid var(--stw-border); border-radius: var(--r-md); padding: 18px 22px; margin: 0 0 18px; line-height: 1.6; }

/* Opis + podobne: PEŁNA szerokość pod produktem (były ściśnięte do ~150px) */
.is-shop .stw-product-description,
.is-shop .related.products,
.is-shop .upsells.products { clear: both; width: 100%; }
.is-shop .stw-product-description { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--stw-border); }
.is-shop .stw-product-description__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem); margin: 0 0 14px; }
.is-shop .stw-product-description__body { line-height: 1.8; max-width: 70ch; color: var(--stw-text); }
.is-shop .stw-product-description__body p { margin: 0 0 1em; }
.is-shop .stw-product-description__body :last-child { margin-bottom: 0; }
.is-shop .related.products { margin-top: 48px; }
.is-shop .related.products > h2,
.is-shop .upsells.products > h2 { margin-bottom: 24px; }

/* ---------- Komunikaty (kolory marki + usunięcie domyślnej ikony) ---------- */
.is-shop .woocommerce-message,
.is-shop .woocommerce-info,
.is-shop .woocommerce-error { border-radius: var(--r-md); border-top: none; font-family: var(--font-text); padding: 14px 18px; }
.is-shop .woocommerce-message::before,
.is-shop .woocommerce-info::before,
.is-shop .woocommerce-error::before { content: none !important; margin: 0 !important; }
.is-shop .woocommerce-message { background: rgba(46,125,85,.10); color: #1f5d3d; box-shadow: inset 4px 0 0 var(--ok, #2E7D55); }
.is-shop .woocommerce-info    { background: var(--stw-surface-strong); color: var(--stw-text); box-shadow: inset 4px 0 0 var(--cl-primary, #C8A882); }
.is-shop .woocommerce-error   { background: rgba(178,58,72,.08); color: #8c2c37; box-shadow: inset 4px 0 0 var(--err, #B23A48); }

/* ---------- Konto ---------- */
.is-shop .woocommerce-MyAccount-navigation li.is-active a { color: var(--stw-terracotta); font-weight: 700; }

/* ============================================================
   PODZIĘKOWANIE / PODSUMOWANIE (custom szablon)
============================================================ */
.is-shop .stw-thankyou { max-width: 760px; margin-inline: auto; }
.is-shop .stw-thankyou__hero { text-align: center; padding: 8px 0 30px; }
.is-shop .stw-thankyou__badge { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #FBEFE6, var(--stw-surface-strong)); border: 1px solid var(--stw-border); margin-bottom: 18px; box-shadow: 0 14px 36px rgba(166, 83, 63, .18); }
.is-shop .stw-thankyou__badge .icon { width: 34px; height: 34px; color: var(--stw-terracotta); }
.is-shop .stw-thankyou__eyebrow { font-family: var(--font-text); font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stw-terracotta); margin: 0 0 8px; }
.is-shop .stw-thankyou__title { font-family: var(--font-display, 'Lora', serif); font-style: italic; font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); line-height: 1.05; margin: 0 0 14px; }
.is-shop .stw-thankyou__lead { color: var(--stw-muted); font-size: 1.06rem; line-height: 1.7; max-width: 52ch; margin: 0 auto; }
.is-shop .stw-overview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 6px 0 28px; }
.is-shop .stw-overview__item { background: var(--stw-surface); border: 1px solid var(--stw-border); border-radius: var(--r-md); padding: 16px; text-align: center; }
.is-shop .stw-overview__label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stw-muted); margin-bottom: 6px; }
.is-shop .stw-overview__value { font-family: var(--font-display, 'Lora', serif); font-size: 1.05rem; color: var(--stw-text); }
.is-shop .stw-thankyou__next { margin: 0 0 26px; padding-top: 24px; border-top: 1px solid var(--stw-border); }
.is-shop .stw-thankyou__next-title { font-family: var(--font-display, 'Lora', serif); font-style: italic; font-size: 1.45rem; margin: 0 0 16px; }
.is-shop .stw-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.is-shop .stw-steps li { display: flex; align-items: flex-start; gap: 14px; color: var(--stw-text); line-height: 1.6; }
.is-shop .stw-steps__n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--stw-terracotta); color: #FFF8F0; font-weight: 700; font-size: .9rem; }
.is-shop .stw-thankyou__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 6px 0 28px; }
@media (min-width: 560px) { .is-shop .stw-overview { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   MOBILE — drobne korekty rozmiarów (bez zmiany struktury)
============================================================ */
@media (max-width: 768px) {
  /* Miniatura produktu w koszyku — pokaż na mobile */
  .is-shop.woocommerce-cart table.cart td.product-thumbnail { display: block; text-align: center; }
  .is-shop.woocommerce-cart table.cart td.product-thumbnail::before { display: none; }
  .is-shop.woocommerce-cart table.cart td.product-thumbnail img { width: 72px; display: inline-block; margin: 4px auto; }
  /* Główne zdjęcie produktu — bez przycinania */
  .is-shop.single-product .woocommerce-product-gallery__wrapper img,
  .is-shop.single-product .woocommerce-product-gallery__image img {
    width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain;
  }
  .is-shop .coupon .input-text { width: 100%; }
}

/* Ikona koszyka w nawigacji: style w głównym style.css (na wszystkich stronach). */

/* ============================================================
   LISTING SKLEPU (/sklep + archiwa kategorii) — look galerii
   Reużywa .product-grid / .product-card / .filter-tab z głównego style.css.
============================================================ */

/* Hero sklepu */
.is-shop .shop-hero { margin-bottom: clamp(22px, 3.2vw, 36px); }
.is-shop .shop-hero .shead__eyebrow { margin-bottom: 6px; }
.is-shop .shop-hero__title {
  font-family: var(--font-display, 'Lora', serif); font-style: italic; font-weight: 500;
  color: var(--stw-text); line-height: 1.12;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin: 0 0 12px;
}
.is-shop .shop-hero__sub { color: var(--stw-muted); font-size: 1.05rem; line-height: 1.6; max-width: 60ch; margin: 0; }

/* Pasek kategorii: chipy = .filter-tab (look galerii), ale jako <a> z .is-active */
.is-shop .shop-cats { margin-bottom: clamp(28px, 4vw, 44px); }
.is-shop .shop-cats__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.is-shop .shop-cats__tab {
  color: var(--cl-text, #4A3728); min-height: 44px;
  display: inline-flex; align-items: center; text-decoration: none;
}
.is-shop .shop-cats__tab:hover { border-color: var(--lila); color: var(--lila-deep); transform: translateY(-2px); }
.is-shop .shop-cats__tab:focus-visible { outline: 2px solid var(--lila-deep); outline-offset: 2px; }
.is-shop .shop-cats__tab.is-active { background: var(--cl-text, #4A3728); color: #fff; border-color: var(--cl-text, #4A3728); }
.is-shop .shop-cats__tab.filter-tab--custom.is-active { background: var(--lila); border-color: var(--lila); color: #fff; }

/* Paginacja brandowa (pigułki spójne z chipami) */
.is-shop .woocommerce-pagination { margin-top: clamp(36px, 5vw, 52px); text-align: center; }
.is-shop .woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; border: none; }
.is-shop .woocommerce-pagination ul li { border: none; margin: 0; overflow: visible; }
.is-shop .woocommerce-pagination ul li a.page-numbers,
.is-shop .woocommerce-pagination ul li span.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 14px; margin: 0;
  font-family: var(--font-display, 'Lora', serif); font-weight: 500; font-size: 1rem;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-pill, 999px);
  color: var(--cl-text, #4A3728); box-shadow: var(--shadow-xs); transition: all .2s ease;
}
.is-shop .woocommerce-pagination ul li a.page-numbers:hover { border-color: var(--lila); color: var(--lila-deep); transform: translateY(-2px); }
.is-shop .woocommerce-pagination ul li a.page-numbers:focus-visible { outline: 2px solid var(--lila-deep); outline-offset: 2px; }
.is-shop .woocommerce-pagination ul li span.current { background: var(--cl-text, #4A3728); color: #fff; border-color: var(--cl-text, #4A3728); }

/* Stan pusty kategorii */
.is-shop .shop-empty {
  text-align: center; max-width: 560px; margin: clamp(30px, 5vw, 60px) auto;
  background: var(--stw-surface); border: 1px solid var(--stw-border);
  border-radius: var(--r-lg, 32px); padding: clamp(28px, 5vw, 48px);
}
.is-shop .shop-empty__icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--stw-surface-strong); border: 1px solid var(--stw-border); margin-bottom: 16px;
}
.is-shop .shop-empty__icon .icon { width: 28px; height: 28px; color: var(--stw-terracotta); }
.is-shop .shop-empty__title { font-family: var(--font-display, 'Lora', serif); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin: 0 0 10px; color: var(--stw-text); }
.is-shop .shop-empty__text { color: var(--stw-muted); line-height: 1.65; margin: 0 0 22px; }
.is-shop .shop-empty .btn { margin: 0 6px 8px; }

/* Mobile: pasek kategorii poziomy scroll (wzorzec .filter-tabs ze style.css) */
@media (max-width: 560px) {
  .is-shop .shop-cats__list {
    flex-wrap: nowrap; gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter); padding-bottom: 8px;
    overflow-x: auto; overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .is-shop .shop-cats__list::-webkit-scrollbar { display: none; }
  .is-shop .shop-cats__tab { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
}

/* Mobile: dolne CTA pełna szerokość */
@media (max-width: 768px) {
  .is-shop .shop-foot-cta .btn { width: 100%; justify-content: center; }
}

/* Reduced motion: bez unoszenia chipów/pigułek */
@media (prefers-reduced-motion: reduce) {
  .is-shop .shop-cats__tab:hover,
  .is-shop .woocommerce-pagination ul li a.page-numbers:hover { transform: none; }
}

/* Fix kontrastu: reguła `.is-shop a` (terakota) nadpisywała kolor tekstu brandowych
   przycisków .btn - przez co tekst CTA znikał na jasnym tle. Przywracamy właściwy kolor. */
.is-shop .btn--cta { color: var(--cl-text); }
.is-shop .btn--cta:hover,
.is-shop .btn--cta:focus-visible { color: var(--cl-text-light); }
.is-shop .btn--ghost,
.is-shop .btn--ghost:hover,
.is-shop .btn--ghost:focus-visible { color: var(--cl-text); }

/* CTA w kafelku produktu maja wlasne tlo i kolor - chronimy je przed nadpisaniem przez
   globalne `.is-shop a` (terakota) oraz przez powyzszy fix kontrastu `.btn--cta/.btn--ghost`.
   „Szczegoly" = ghost (ciemny tekst na przezroczystym); „Dodaj do koszyka"/„Zapytaj" = terakota z jasnym tekstem. */
.is-shop .product-card__actions .product-card__btn--details { color: var(--cl-text); }
.is-shop .product-card__actions .product-card__btn--cart,
.is-shop .product-card__actions .product-card__btn--ask,
.is-shop .product-card__actions .product-card__btn--cart:hover,
.is-shop .product-card__actions .product-card__btn--ask:hover,
.is-shop .product-card__actions .product-card__btn--cart:focus-visible,
.is-shop .product-card__actions .product-card__btn--ask:focus-visible { color: #FFF8F0; }

/* Pasek meta: liczba wyników + sortowanie WooCommerce */
.is-shop .shop-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: clamp(18px, 2.5vw, 26px);
}
.is-shop .shop-meta .woocommerce-result-count { margin: 0; color: var(--stw-muted); font-size: .92rem; }
.is-shop .shop-meta .woocommerce-ordering { margin: 0; }
.is-shop .woocommerce-ordering select {
  height: 46px; padding: 0 40px 0 14px; max-width: 100%;
  background-color: var(--stw-field); border: 1px solid var(--stw-border); border-radius: 10px;
  font-family: var(--font-text); color: var(--stw-text); cursor: pointer;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23806F62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.is-shop .woocommerce-ordering select:focus {
  outline: none; border-color: var(--stw-sage); box-shadow: 0 0 0 3px rgba(122, 140, 110, .18);
}
@media (max-width: 560px) {
  .is-shop .shop-meta { gap: 10px; }
  .is-shop .shop-meta .woocommerce-ordering,
  .is-shop .woocommerce-ordering select { width: 100%; }
}
