/* =========================================================================
   LaKelvina GC — woocommerce.css
   Kategoria (baner + filtry + siatka), karta produktu (galeria + opcje),
   koszyk/kasa. Ładowane tylko na stronach sklepu (inc/enqueue.php).
   ========================================================================= */

/* ---- Baner kategorii ---- */
.cat-banner{position:relative;height:240px;overflow:hidden;background:var(--green-dark) center 30%/cover no-repeat;display:flex;align-items:center}
.cat-banner--image::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,33,27,.86) 0%,rgba(20,33,27,.5) 60%,rgba(20,33,27,.25) 100%)}
.cat-banner__inner{position:relative}
.cat-banner__title{font-family:var(--serif);font-weight:600;font-size:46px;color:var(--base);margin:0}
.cat-banner__desc{font-size:15px;color:#dcd6c6;max-width:560px;margin-top:10px}

/* ---- Toolbar ---- */
.lgc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--surface-2);border-bottom:1px solid var(--line);padding:16px 20px;margin-bottom:28px}
.lgc-toolbar__count{font-size:13px;color:var(--muted-2)}
.lgc-toolbar__count .woocommerce-result-count{margin:0}
.lgc-toolbar__sort{display:flex;align-items:center;gap:12px}
.lgc-toolbar__sortlabel{font-size:12px;text-transform:uppercase;color:var(--faint);font-weight:700;letter-spacing:.06em}
.lgc-toolbar__sort select,.woocommerce-ordering select{font-size:13px;font-weight:600;color:var(--green);background:var(--base);border:1px solid var(--line-3);padding:9px 14px;font-family:var(--sans);border-radius:0}
.woocommerce-ordering{margin:0}

/* ---- Layout kategorii ---- */
.cat-layout{display:grid;grid-template-columns:248px 1fr;gap:44px;align-items:start;padding-top:44px;padding-bottom:20px}
.cat-aside{position:sticky;top:96px}

/* ---- Filtry ---- */
.filter-group{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:22px}
.filter-group__title{font-family:var(--serif);font-size:22px;font-weight:600;color:var(--green);margin:0 0 16px}
.filter-row{display:flex;align-items:center;gap:11px;font-size:13.5px;color:#4a443a;margin-bottom:11px;cursor:pointer}
.filter-row:hover{color:var(--green)}
.filter-row input{width:16px;height:16px;border:1.5px solid var(--line-3);background:var(--base);appearance:none;-webkit-appearance:none;flex:none;cursor:pointer;position:relative}
.filter-row input:checked{background:var(--green);border-color:var(--green)}
.filter-row input:checked::after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.filter-row__name{flex:1}
.filter-row__count{font-size:12px;color:#a89e87}

/* Filtry WooCommerce (layered nav + cena) ubrane w wygląd projektu. */
.shop-filters__reset{margin:0 0 18px;font-size:12.5px}
.shop-filters__reset a{color:var(--accent);border-bottom:1px solid var(--accent);font-weight:600}
.shop-filters .woocommerce-widget-layered-nav-list{list-style:none;margin:0;padding:0;max-height:250px;overflow-y:auto}
.shop-filters .woocommerce-widget-layered-nav-list__item{display:flex;align-items:center;gap:11px;font-size:13.5px;color:#4a443a;margin:0 0 11px;padding:0}
.shop-filters .woocommerce-widget-layered-nav-list__item a{flex:1;display:flex;align-items:center;gap:11px;color:inherit}
.shop-filters .woocommerce-widget-layered-nav-list__item a::before{content:"";width:16px;height:16px;border:1.5px solid var(--line-3);background:var(--base);flex:none;position:relative}
.shop-filters .woocommerce-widget-layered-nav-list__item:hover a{color:var(--green)}
.shop-filters .woocommerce-widget-layered-nav-list__item--chosen a{color:var(--green);font-weight:700}
/* WooCommerce wstawia przy wybranym filtrze czerwony „×" w kółku (::before).
   Nadpisujemy go naszym kwadratem z „ptaszkiem" — inaczej wyglądały jak błąd. */
.shop-filters .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item--chosen a::before{content:"";display:block;width:16px;height:16px;padding:0;margin:0;line-height:1;border-radius:0;background:var(--green);border:1.5px solid var(--green);color:transparent;font-size:0}
.shop-filters .woocommerce-widget-layered-nav-list__item--chosen a::after{content:"";position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.shop-filters .woocommerce-widget-layered-nav-list__item--chosen a{position:relative}
.shop-filters .woocommerce-widget-layered-nav-list__item .count{font-size:12px;color:#a89e87}

.shop-filters .price_slider_wrapper{padding-top:4px}
.shop-filters .price_slider_amount{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px}
.shop-filters .price_slider_amount input[type=text]{width:calc(50% - 5px);border:1px solid var(--line-3);background:var(--base);padding:9px 10px;font-family:var(--sans);font-size:13px;color:var(--muted);border-radius:0}
.shop-filters .price_slider_amount .price_label{order:3;width:100%;font-size:12.5px;color:var(--faint)}
.shop-filters .price_slider_amount .button{order:4;width:100%;background:transparent;color:var(--green);border:1.5px solid var(--green);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;padding:11px 14px;border-radius:0}
.shop-filters .price_slider_amount .button:hover{background:var(--green);color:var(--base)}
.shop-filters .ui-slider{position:relative;height:3px;background:var(--line);margin:18px 7px 0;border-radius:0;border:0}
.shop-filters .ui-slider .ui-slider-range{position:absolute;height:3px;background:var(--accent);border:0;border-radius:0}
.shop-filters .ui-slider .ui-slider-handle{position:absolute;top:50%;width:14px;height:14px;margin-left:-7px;transform:translateY(-50%);background:#fff;border:2px solid var(--accent);border-radius:50%;cursor:pointer;outline:none}
.price-filter__values{display:flex;justify-content:space-between;gap:10px;margin-bottom:16px}
.price-filter__box{border:1px solid var(--line-3);background:var(--base);padding:9px 12px;font-size:13px;color:var(--muted)}
.price-filter__track{position:relative;height:3px;background:var(--line);margin:0 7px}
.price-filter__range{position:absolute;left:8%;right:32%;top:0;height:3px;background:var(--accent)}
.price-filter__handle{position:absolute;top:50%;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--accent);transform:translate(-50%,-50%)}
.price-filter__handle--min{left:8%}
.price-filter__handle--max{left:68%}

/* Neutralizacja domyślnego layoutu pętli WooCommerce (width/float) — używamy grid z main.css. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:0!important;clear:none!important}
.woocommerce ul.products{margin:0!important}
.woocommerce ul.products li.product .price{color:inherit;font-size:inherit;margin:0}
/* Przycisk „Do koszyka" na karcie = outline (jak w projekcie), spójnie z home. */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.product-card .button{margin-top:0;background:transparent;color:var(--green);border:1.5px solid var(--green);font-family:var(--sans);font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:9px 16px}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.product-card .button:hover{background:var(--green);color:var(--base)}
/* Promocje (na czerwonym tle) — outline w kolorze sale. */
.promo .product-card .button{color:var(--sale);border-color:var(--sale)}
.promo .product-card .button:hover{background:var(--sale);color:#fff}

/* ---- Sekcja SEO ---- */
.cat-seo{background:var(--surface-2);border-top:1px solid var(--line);margin-top:48px}
.cat-seo__inner{max-width:860px;margin:0 auto;padding:64px 40px;text-align:center}
.cat-seo__title{font-family:var(--serif);font-weight:500;font-size:34px;color:var(--green);margin:0 0 16px}
.cat-seo__text{font-size:15.5px;color:var(--muted);line-height:1.75}

/* ---- Paginacja ---- */
/* Stronicowanie — domyślny WooCommerce skleja kratki w jedną ramkę i podświetla
   aktywną na fiolet; jego selektory są mocniejsze, więc dorównujemy im. */
.woocommerce nav.woocommerce-pagination{margin-top:54px;text-align:center}
.woocommerce nav.woocommerce-pagination ul{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;margin:0;padding:0;border:0;border-radius:0}
.woocommerce nav.woocommerce-pagination ul.page-numbers li{margin:0;border:0;overflow:visible}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;font-family:var(--sans);font-size:14px;font-weight:600;line-height:1;color:var(--green);background:var(--surface);border:1px solid var(--line-3);border-radius:0;transition:color .2s ease,border-color .2s ease,background .2s ease}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:hover,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:focus{background:var(--surface-2);border-color:var(--accent);color:var(--accent-dark)}
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.current{background:var(--green);border-color:var(--green);color:var(--base);font-weight:700}
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.dots{border-color:transparent;background:none;color:var(--faint);min-width:24px;padding:0}
/* Strzałki — ikona zamiast strzałki tekstowej, lekko szersze kratki. */
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.prev,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.next{padding:0 16px;color:var(--muted-2)}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.prev:hover,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.next:hover{color:var(--accent-dark)}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a .icon{width:18px;height:18px}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.prev .icon{transform:rotate(180deg)}
.pagination-status{display:none;text-align:center;margin-top:14px;font-size:13px;color:var(--faint)}

/* WooCommerce dokleja do `ul.products` pseudo-elementy clearfixa (::before/::after).
   W siatce CSS Grid stają się one pełnoprawnymi komórkami i przesuwały produkty
   o jedno pole (pierwsza kratka pusta, ostatni produkt spadał do nowego rzędu). */
.woocommerce ul.products::before,.woocommerce ul.products::after{content:none;display:none}

/* =========================================================================
   KARTA PRODUKTU (PDP)
   ========================================================================= */
.single-product div.product{display:block;padding-top:28px}
/* Siatka tylko dla górnej sekcji (galeria + podsumowanie + akordeon) — dzięki
   temu przyklejona kolumna kończy się razem z nią, a nie na końcu strony. */
.single-product div.product .lgc-pdp-top{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:start}
/* WooCommerce daje galerii i podsumowaniu `float` + `width:48%!important` — w siatce
   dawało to dwie wąskie kolumny z dziurą pośrodku. Kolumny mają być pełne. */
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .entry-summary{width:100%!important;max-width:none;float:none!important;margin:0}
.single-product div.product .entry-summary{position:sticky;top:96px}
.single-product div.product .related.products,
.single-product div.product .up-sells.products{margin-top:12px}

/* Galeria */
.woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery__image img{aspect-ratio:4/5;object-fit:contain;background:var(--surface);padding:24px;box-sizing:border-box}
/* Miniatury: WooCommerce floatuje `li` z `width:25%` (selektor .woocommerce
   div.product div.images …), więc nasza siatka musi być równie mocna. */
.woocommerce div.product div.images .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 0;padding:0;list-style:none}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto!important;margin:0!important;float:none!important;list-style:none}
.woocommerce div.product div.images .flex-control-thumbs li img{display:block;width:100%!important;height:auto;aspect-ratio:4/5;object-fit:contain;background:var(--surface);padding:6px;box-sizing:border-box;border:2px solid var(--line);opacity:.72;cursor:pointer;transition:border-color .2s,opacity .2s}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover{border-color:var(--accent);opacity:1}
.woocommerce span.onsale{position:absolute;left:14px;top:14px;background:var(--sale);color:#fff;font-size:11px;font-weight:800;padding:5px 9px;border-radius:0;min-height:auto;min-width:auto;line-height:1.4}

/* Summary */
.product_title__brand{display:block;font-size:11.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:8px}
.single-product .product_title{font-family:var(--serif);font-weight:600;font-size:40px;line-height:1.06;color:var(--green);margin:0 0 14px}
.single-product .woocommerce-product-rating{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.single-product .star-rating{color:var(--accent)}
.woocommerce div.product p.price,.woocommerce div.product span.price,
.single-product p.price,.single-product .price{font-size:32px;font-weight:800;color:var(--green);font-family:var(--sans);margin:0}
.single-product p.price del{font-size:18px;color:#9a917c;font-weight:400}
.single-product p.price ins{text-decoration:none;color:var(--sale)}
.price-suffix{font-size:13px;color:var(--muted-2);margin:2px 0 18px}

/* Zakładka „Dane produktu" — parametry z Allegro w czytelnej siatce. */
.product-specs{display:grid;grid-template-columns:minmax(140px,220px) 1fr;gap:0;margin:0}
.product-specs dt{padding:11px 0;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--faint);border-bottom:1px solid var(--line)}
.product-specs dd{padding:11px 0;margin:0;font-size:14.5px;color:var(--ink);border-bottom:1px solid var(--line)}
.product-specs dt:last-of-type,.product-specs dd:last-of-type{border-bottom:0}
@media (max-width:560px){
  .product-specs{grid-template-columns:1fr}
  .product-specs dt{padding-bottom:2px;border-bottom:0}
  .product-specs dd{padding-top:0}
}
.single-product .woocommerce-product-details__short-description{font-size:15px;color:var(--muted);line-height:1.7;max-width:480px;margin-bottom:8px}
.stock.in-stock{color:var(--stock);font-weight:600}

/* Opcje (kolor/rozmiar) */
.product-options{margin-top:24px}
.product-option{margin-bottom:22px}
.product-option__label{display:block;font-size:12px;text-transform:uppercase;color:var(--faint);font-weight:700;letter-spacing:.06em;margin-bottom:12px}
.product-option__label strong{color:var(--green)}
.swatches{display:flex;gap:12px}
.swatch{width:38px;height:38px;border-radius:50%;border:2px solid transparent;background:var(--sw);box-shadow:inset 0 0 0 3px #fff;cursor:pointer;padding:0}
.swatch.is-selected{border-color:var(--accent)}
.size-options{display:flex;gap:10px;flex-wrap:wrap}
.size-option{min-width:52px;padding:11px 0;border:1.5px solid var(--line-3);background:#fff;color:var(--green);font-size:13px;font-weight:700;transition:.2s}
.size-option.is-selected{background:var(--green);color:var(--base);border-color:var(--green)}
.size-option:disabled{background:#f1ece0;color:#bcb3a0;border-color:var(--line);text-decoration:line-through;cursor:not-allowed}

/* Add to cart */
.single-product form.cart{margin:30px 0 0;display:flex;gap:14px;align-items:stretch;flex-wrap:wrap}
.single-product form.cart .quantity{display:flex;align-items:center;border:1.5px solid var(--line-3);background:#fff}
.single-product form.cart .quantity--fixed,
.single-product form.cart .quantity:has(input.qty[type="hidden"]){display:none}
.single-product form.cart .quantity input.qty{width:44px;height:54px;border:none;text-align:center;font-size:15px;font-weight:700;background:transparent;-moz-appearance:textfield}
.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,.single-product form.cart .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.lgc-qty__btn{width:46px;height:54px;border:none;background:transparent;font-size:20px;color:var(--green);line-height:1}
.single-product form.cart .single_add_to_cart_button{flex:1 1 200px;min-width:200px;min-height:57px;display:inline-flex;align-items:center;justify-content:center;border:none;background:var(--accent);color:#fff;font-size:13.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:0 24px;border-radius:0;transition:background .25s}
.single-product form.cart .single_add_to_cart_button:hover{background:var(--accent-dark)}
.product-wishlist{margin-top:12px;min-height:54px;white-space:nowrap}
.product-wishlist .icon{width:18px;height:18px}

/* Perks / trust */
.product-trust{list-style:none;margin:26px 0 0;padding:22px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.product-trust li{display:flex;align-items:center;font-size:13.5px;color:#4a443a}
.product-trust .diamond{width:8px;height:8px}

/* Metryczka pod kolumną zakupu (kategorie, marka) — domyślnie leci gołym tekstem. */
.summary .product_meta{margin:22px 0 0;padding:18px 0 0;border-top:1px solid var(--line);font-size:13px;color:#6b6355;display:flex;flex-direction:column;gap:6px}
.summary .product_meta>span{display:block}
.summary .product_meta a{color:#4a443a;text-decoration:underline;text-underline-offset:3px}
.summary .product_meta a:hover{color:var(--accent,#3d5140)}

/* Wariacje (produkt wariantowy) — rozmiar jako kafelki, tak jak w projekcie */
/* Formularz wariantów to jednocześnie form.cart, czyli u nas flex z gap:14px
   (dla pary „ilość + przycisk"). Przy wariantach ląduje w nim jeszcze tabela
   rozmiarów i notka — flexowy gap dokładał się wtedy do marginesów i między
   ceną a legendą kropki robiła się dziura. Formularz wraca do bloku, a flexem
   zostaje sam pasek zakupu. */
.single-product form.variations_form{display:block;margin-top:14px}
.single-product .woocommerce-variation-add-to-cart{display:flex;gap:14px;align-items:stretch;flex-wrap:wrap}
.woocommerce div.product form.variations_form table.variations{margin:12px 0 4px;border:none;width:100%;display:block}
.single-product table.variations tbody,.single-product table.variations tr{display:block}
.single-product table.variations td,.single-product table.variations th{display:block;padding:0;border:none;text-align:left;width:auto}
.single-product table.variations th.label{margin-bottom:10px}
.single-product table.variations th.label label{display:block;margin:0;font-size:12px;text-transform:uppercase;color:var(--faint);font-weight:700;letter-spacing:.06em}
.size-options__chosen{color:var(--green);text-transform:none;letter-spacing:0}
/* Select zostaje w formularzu (działa bez JS) — po podmianie na kafelki chowamy go dla oka. */
.variations select.is-enhanced{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.variations select{max-width:100%;min-height:48px;padding:10px 12px;border:1.5px solid var(--line-3);background:#fff;font-size:15px;color:var(--green)}
.variations td.value{position:relative}
.size-option.is-backorder{border-style:dashed}
.size-option.is-backorder::after{content:"";display:block;width:5px;height:5px;border-radius:50%;background:var(--accent);margin:4px auto 0}
.size-option.is-selected.is-backorder::after{background:var(--base)}
.variations .reset_variations{display:inline-block;margin-top:8px;font-size:12.5px;color:#6b6355;text-decoration:underline;text-underline-offset:3px}
.variations td.value.is-enhanced .reset_variations{display:none}
/* Legenda kropki: tekst zawija się pod sobą, kropka wisi na marginesie —
   flex wypychał ją do osobnej linii nad tekstem. */
.variations-note{position:relative;margin:10px 0 0;padding-left:16px;font-size:13px;line-height:1.6;color:#6b6355;max-width:520px}
.variations-note__dot{position:absolute;left:0;top:8px;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.variations-note .link-underline{margin-left:4px;white-space:nowrap}
.single-product .woocommerce-variation-price .price{font-size:26px}
.single-product .woocommerce-variation-availability{margin-top:6px}
.single-product .woocommerce-variation-availability .stock{font-size:13.5px}
.single-product .woocommerce-variation-availability .available-on-backorder{color:#8a6a2f;font-weight:600}
.single-product .single_variation_wrap{margin-top:14px}
/* Produkt wariantowy bez wybranego rozmiaru — Woo blokuje przycisk zakupu. */
.single-product form.cart .single_add_to_cart_button.disabled,
.single-product form.cart .single_add_to_cart_button:disabled{background:#c9c1b0;cursor:not-allowed}

/* Akordeon */
.woocommerce-tabs{grid-column:1/-1;margin-top:40px;max-width:860px}
.product-accordion .acc-item{border-top:1px solid var(--line)}
.product-accordion .acc-item__head{display:flex;align-items:center;justify-content:space-between;padding:24px 0;cursor:pointer;list-style:none}
.product-accordion .acc-item__head::-webkit-details-marker{display:none}
.product-accordion .acc-item__title{font-family:var(--serif);font-size:26px;font-weight:600;color:var(--green)}
.product-accordion .acc-item__sign::before{content:"+";font-size:24px;color:var(--accent);font-weight:300}
.product-accordion .acc-item[open] .acc-item__sign::before{content:"–"}
.product-accordion .acc-item__body{padding-bottom:26px;max-width:720px}
.product-accordion .acc-item__body p,.product-accordion .acc-item__body li{font-size:15px;color:var(--muted);line-height:1.75}
.product-accordion .acc-item__body ul{padding-left:20px}

/* Powiązane / upsell */
.related.products,.up-sells.products{grid-column:1/-1;margin-top:56px}
.related.products>h2,.up-sells.products>h2{font-family:var(--serif);font-weight:600;font-size:36px;color:var(--green);margin:0 0 32px}

/* =========================================================================
   STRONY WOO (koszyk / kasa / konto) — pełna szerokość
   ========================================================================= */
.wc-page{padding-top:48px;padding-bottom:64px}
.wc-page__head{margin-bottom:32px}
.wc-page__title{font-family:var(--serif);font-weight:600;font-size:clamp(36px,4vw,48px);color:var(--green);line-height:1.05;margin:0}
.wc-page__body{max-width:none}

/* Ogólne: przyciski Woo nie mogą się wylewać */
.woocommerce .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{
  display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:normal;
  line-height:1.2;padding:14px 22px;letter-spacing:.06em;text-transform:uppercase;font-size:12.5px;font-weight:700;min-height:0}

/* =========================================================================
   KOSZYK
   ========================================================================= */
.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:44px;align-items:start}
.woocommerce-cart form.woocommerce-cart-form{grid-column:1;margin:0}
.woocommerce-cart .cart-collaterals{grid-column:2;width:100%;float:none;margin:0}
.woocommerce-cart .free-ship{grid-column:1/-1}

/* Tabela koszyka */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:0;border-collapse:collapse;width:100%;background:var(--surface)}
.woocommerce table.shop_table th{font-family:var(--sans);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);font-weight:700;padding:16px;border-bottom:1px solid var(--line);text-align:left}
.woocommerce table.shop_table td{padding:16px;border-top:1px solid var(--line);vertical-align:middle;color:var(--ink)}
/* Szerokości kolumn (fixed) — bez gigantycznej pustej kolumny „usuń" */
.woocommerce-cart table.cart{table-layout:fixed;width:100%}
.woocommerce-cart table.cart th.product-remove,
.woocommerce-cart table.cart td.product-remove{width:64px;text-align:center;padding-left:14px;padding-right:6px}
.woocommerce-cart table.cart th.product-thumbnail,
.woocommerce-cart table.cart td.product-thumbnail{width:100px;padding-left:0;padding-right:0}
.woocommerce-cart table.cart th.product-name,
.woocommerce-cart table.cart td.product-name{width:auto;text-align:left}
.woocommerce-cart table.cart th.product-price,
.woocommerce-cart table.cart td.product-price,
.woocommerce-cart table.cart th.product-quantity,
.woocommerce-cart table.cart td.product-quantity{width:120px;text-align:left}
.woocommerce-cart table.cart th.product-subtotal,
.woocommerce-cart table.cart td.product-subtotal{width:130px;text-align:right}
.woocommerce-cart table.cart tr.cart_item{transition:background .2s ease}
.woocommerce-cart table.cart tr.cart_item:hover{background:var(--surface-2)}

/* Miniatura produktu 4:5 (nadpisujemy domyślny mikro-rozmiar WC) */
.woocommerce-cart table.cart td.product-thumbnail img,
.woocommerce .cart_item .product-thumbnail img{width:72px!important;height:90px!important;max-width:none!important;object-fit:cover;display:block;border:1px solid var(--line)}

.woocommerce .cart_item .product-name a{font-family:var(--serif);font-size:18px;color:var(--green);font-weight:600;line-height:1.25}
.woocommerce .cart_item .product-name a:hover{color:var(--accent)}
.woocommerce a.remove{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;color:var(--faint)!important;border:1px solid var(--line);font-size:15px;line-height:1;text-decoration:none;transition:.2s}
.woocommerce a.remove:hover{background:var(--sale);color:#fff!important;border-color:var(--sale)}
.woocommerce .quantity input.qty{width:64px;height:44px;text-align:center;border:1.5px solid var(--line-3);background:#fff;font-weight:700;font-family:var(--sans)}
.woocommerce .cart_item .product-price,.woocommerce .cart_item .product-subtotal{font-weight:700;color:var(--green)}

/* Wiersz akcji: kupon + aktualizacja */
/* Wiersz akcji koszyka: kupon po lewej, „Zaktualizuj koszyk" po prawej.
   UWAGA: żadnego `display:flex` na <td> — komórka przestaje być komórką tabeli
   i gubi szerokość (miała 64 px, przez co przycisk spadał do drugiej linii).
   WooCommerce sam floatuje oba bloki; my je tylko ubieramy. */
.woocommerce .cart-actions{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center;padding:24px 0 0}
.woocommerce table.cart td.actions{padding:20px!important;border:none!important;background:var(--surface-2)!important;vertical-align:middle}
.woocommerce table.cart td.actions::after{content:"";display:block;clear:both}
.woocommerce table.cart td.actions .coupon{float:left;display:flex;align-items:stretch;gap:0;margin:0;max-width:100%}
.woocommerce table.cart td.actions .coupon input#coupon_code{width:250px!important;min-width:0;height:48px;padding:0 16px;border:1px solid var(--line-3);border-right:0;background:#fff;color:var(--ink);font-family:var(--sans);font-size:14px;border-radius:0}
.woocommerce table.cart td.actions .coupon input#coupon_code:focus{outline:2px solid var(--accent);outline-offset:-2px;border-color:var(--accent)}
.woocommerce table.cart td.actions .button{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 24px;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;border-radius:0}
.woocommerce table.cart td.actions .coupon .button{background:var(--green);color:var(--base)}
.woocommerce table.cart td.actions .coupon .button:hover{background:var(--green-dark)}
.woocommerce table.cart td.actions .button[name="update_cart"]{float:right;background:transparent;color:var(--green);border:1.5px solid var(--green)}
.woocommerce table.cart td.actions .button[name="update_cart"]:hover:not([disabled]){background:var(--green);color:var(--base)}
/* WC trzyma „Zaktualizuj koszyk" wyłączony, dopóki nie zmienisz ilości. */
.woocommerce table.cart td.actions .button[name="update_cart"][disabled]{opacity:1;background:transparent;border-color:var(--line-3);color:var(--faint);cursor:not-allowed}

/* Podsumowanie koszyka (card) — nadpisujemy domyślne WC float:right;width:48% */
.woocommerce .cart-collaterals{width:100%}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce .cart-collaterals .cross-sells{width:100%;float:none}
.woocommerce .cart_totals{background:var(--surface);border:1px solid var(--line);padding:28px}
.woocommerce .cart_totals h2{font-family:var(--serif);font-weight:600;font-size:26px;color:var(--green);margin:0 0 20px}
.woocommerce .cart_totals table{border:none;width:100%;margin:0;table-layout:fixed}
.woocommerce .cart_totals table th,.woocommerce .cart_totals table td{padding:12px 0;border-top:1px solid var(--line);font-size:15px;background:none;vertical-align:middle}
.woocommerce .cart_totals table th{text-align:left;width:42%;font-weight:600;color:var(--muted)}
.woocommerce .cart_totals table td{text-align:right;word-break:normal}
.woocommerce .cart_totals table tr:first-child th,.woocommerce .cart_totals table tr:first-child td{border-top:none}
.woocommerce .cart_totals .order-total th{color:var(--green);font-weight:700}
.woocommerce .cart_totals .order-total .amount{font-size:20px;font-weight:800;color:var(--green);white-space:nowrap}
.woocommerce .wc-proceed-to-checkout{padding:20px 0 0}
.woocommerce .wc-proceed-to-checkout a.checkout-button{display:block;width:100%;background:var(--accent);color:#fff;font-size:13px;padding:16px 20px}
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover{background:var(--accent-dark)}

/* =========================================================================
   KASA (checkout) — 2 kolumny: formularz w kartach + sticky podsumowanie
   ========================================================================= */
.woocommerce-checkout .woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:44px;align-items:start}

/* Domyślny WC układa „Dane rozliczeniowe" i „Informacje dodatkowe" obok siebie
   (col2-set, float 47%) — u nas idą jedna pod drugą, pełną szerokością. */
.woocommerce-checkout #customer_details{grid-column:1;grid-row:1;display:block;width:100%}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2{width:100%;float:none;margin:0;padding:0}
.woocommerce-checkout #customer_details .col-2{margin-top:24px}

/* Karta sekcji formularza. */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields{background:var(--surface);border:1px solid var(--line);padding:28px}
.woocommerce-checkout .woocommerce-shipping-fields{margin-top:24px}
/* WC renderuje pusty kontener wysyłki, gdy nie ma stref — nie pokazujemy ramki. */
.woocommerce-checkout .woocommerce-shipping-fields:not(:has(*)){display:none;margin:0;padding:0;border:0}
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields h3{margin:0 0 20px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper{margin:0}

/* Pola w siatce 2-kolumnowej (WC domyślnie floatuje 47%/100%). */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row{width:100%;float:none;margin:0;padding:0;grid-column:1/-1}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last,
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_phone_field,
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #shipping_postcode_field,
.woocommerce-checkout #shipping_city_field{grid-column:span 1}

.woocommerce form .form-row{margin:0 0 18px}
.woocommerce form .form-row label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--muted-2);margin-bottom:7px;display:block}
.woocommerce form .form-row label .required{color:var(--sale);text-decoration:none}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection--single{width:100%;box-sizing:border-box;border:1px solid var(--line-3);background:var(--base);color:var(--ink);padding:13px 14px;font-family:var(--sans);font-size:14.5px;line-height:1.4;border-radius:0;height:auto}
.woocommerce form .form-row textarea{min-height:120px;resize:vertical}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{outline:2px solid var(--accent);outline-offset:-2px;border-color:var(--accent)}
.woocommerce form .form-row .select2-container .select2-selection__arrow{height:100%;right:8px}
.woocommerce-checkout h3{font-family:var(--serif);font-weight:600;font-size:22px;color:var(--green)}

/* Pasek kuponu — zwarty, nad formularzem, pełna szerokość. */
.woocommerce-checkout .woocommerce-form-coupon-toggle{grid-column:1/-1}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{margin:0 0 4px;font-size:14px}
.woocommerce-checkout form.checkout_coupon{grid-column:1/-1;background:var(--surface);border:1px solid var(--line);padding:22px 24px;margin:0}
.woocommerce-checkout form.checkout_coupon .form-row{margin-bottom:0}

/* Podsumowanie po prawej — nagłówek i karta w jednym, przyklejonym bloku
   (owija je `lgc_checkout_aside_open/close` w inc/woocommerce.php). */
.woocommerce-checkout .lgc-checkout-aside{grid-column:2;grid-row:1;position:sticky;top:24px}
.woocommerce-checkout #order_review_heading{margin:0 0 16px;font-family:var(--serif);font-weight:600;font-size:24px;color:var(--green)}
.woocommerce-checkout #order_review{background:var(--surface);border:1px solid var(--line);padding:24px}
.woocommerce-checkout #order_review table.shop_table{width:100%;border:0;margin:0 0 4px}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td{border:0;border-bottom:1px solid var(--line);padding:12px 0;font-size:14px;vertical-align:top}
.woocommerce-checkout #order_review table.shop_table thead th{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);font-weight:700}
.woocommerce-checkout #order_review table.shop_table td:last-child,
.woocommerce-checkout #order_review table.shop_table th:last-child{text-align:right;white-space:nowrap}
.woocommerce-checkout #order_review tfoot .order-total th,
.woocommerce-checkout #order_review tfoot .order-total td{border-bottom:0;padding-top:16px;font-size:16px;color:var(--green)}
.woocommerce-checkout #order_review tfoot .order-total td .woocommerce-Price-amount{font-size:20px;font-weight:700}

/* Płatności — bez szarego pudełka WC. */
.woocommerce #payment{background:none;border-radius:0}
.woocommerce #payment ul.payment_methods{border:0;border-top:1px solid var(--line);padding:18px 0 0;margin:0}
.woocommerce #payment ul.payment_methods li{margin:0 0 10px;padding:0;list-style:none}
.woocommerce #payment ul.payment_methods li label{font-size:14.5px;font-weight:600;color:var(--ink);display:inline-flex;align-items:center;gap:8px}
.woocommerce #payment ul.payment_methods li input[type=radio]{accent-color:var(--accent);width:16px;height:16px;margin-right:4px}
.woocommerce #payment div.payment_box{background:var(--surface-2);border:1px solid var(--line);color:var(--muted);font-size:13.5px;line-height:1.6;padding:12px 14px;margin:8px 0 0;border-radius:0}
.woocommerce #payment div.payment_box::before{display:none}
.woocommerce #payment .woocommerce-privacy-policy-text p,
.woocommerce #payment .form-row.place-order .woocommerce-terms-and-conditions-wrapper{font-size:12.5px;line-height:1.6;color:var(--faint)}
.woocommerce #payment .form-row.place-order{margin:18px 0 0;padding:0}
/* Zgoda na regulamin — normalna wielkość liter (etykiety pól są uppercase). */
.woocommerce form .form-row .woocommerce-terms-and-conditions-wrapper label,
.woocommerce .woocommerce-terms-and-conditions-wrapper label{display:flex;align-items:flex-start;gap:9px;text-transform:none;letter-spacing:0;font-size:13px;font-weight:500;color:var(--muted);line-height:1.55;margin:14px 0 0}
.woocommerce .woocommerce-terms-and-conditions-wrapper label input[type=checkbox]{margin-top:2px;accent-color:var(--accent);width:16px;height:16px;flex:none}
.woocommerce .woocommerce-terms-and-conditions-wrapper a{color:var(--green);border-bottom:1px solid var(--accent)}
.woocommerce #place_order{width:100%;background:var(--accent);color:#fff;font-size:13.5px;letter-spacing:.08em;text-transform:uppercase;padding:16px 20px;border-radius:0}
.woocommerce #place_order:hover{background:var(--accent-dark)}

/* =========================================================================
   OPINIE (nagłówki i lista) — sam formularz stylujemy wspólnie w main.css
   ========================================================================= */
#reviews .woocommerce-Reviews-title{font-family:var(--serif);font-size:24px;color:var(--green);margin:0 0 14px}
#reviews .woocommerce-noreviews{font-size:14.5px;color:var(--muted);margin:0 0 24px}
#reviews .comment-form-rating label{display:inline-block;margin-right:10px;margin-bottom:0}
#reviews .stars a{color:var(--accent)}
#reviews ol.commentlist{list-style:none;margin:0 0 28px;padding:0}
#reviews ol.commentlist li{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px}

/* =========================================================================
   KONTO
   ========================================================================= */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:230px 1fr;gap:44px;align-items:start}
.woocommerce-account nav.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-account nav.woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line)}
.woocommerce-account nav.woocommerce-MyAccount-navigation li a{display:block;padding:12px 0;font-size:14px;font-weight:600;color:var(--muted-2)}
.woocommerce-account nav.woocommerce-MyAccount-navigation li.is-active a,.woocommerce-account nav.woocommerce-MyAccount-navigation li a:hover{color:var(--green)}
.woocommerce-account .woocommerce-MyAccount-content{background:var(--surface);border:1px solid var(--line);padding:28px}

/* =========================================================================
   KOSZYK / KASA — wspólne
   ========================================================================= */
.free-ship{background:var(--surface-2);border:1px solid var(--line);padding:16px 20px;margin-bottom:24px}
.free-ship__text{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--green);font-weight:600;margin:0 0 10px}
.free-ship__text .icon{width:20px;height:20px}
.free-ship__bar{height:6px;background:var(--line);overflow:hidden}
.free-ship__bar span{display:block;height:100%;background:var(--accent);transition:width .4s ease}
.woocommerce .cart_totals,.woocommerce-checkout .woocommerce-checkout-review-order{background:var(--surface);border:1px solid var(--line);padding:24px}
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--accent);color:#fff;border-radius:0;font-weight:700;letter-spacing:.04em}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--accent-dark)}
.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--green)}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--green-dark)}

/* Komunikaty */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--accent);background:var(--surface-2)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--accent)}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width:900px){
  .cat-layout{grid-template-columns:1fr}
  .cat-aside{display:none}
  .single-product div.product .lgc-pdp-top{grid-template-columns:1fr;gap:32px}
  .single-product div.product .entry-summary{position:static}
  .cat-banner__title{font-size:34px}
  .single-product .product_title{font-size:32px}
  .related.products>h2,.up-sells.products>h2{font-size:28px}
  /* Koszyk / kasa / konto — jedna kolumna */
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce form.checkout,
  .woocommerce-account .woocommerce{grid-template-columns:minmax(0,1fr)}
  /* Bez min-width:0 kolumna rozciąga się do min-content tabeli → poziomy scroll. */
  .woocommerce-cart form.woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals{min-width:0}
  .woocommerce-cart form.woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals,
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout .lgc-checkout-aside{grid-column:1;grid-row:auto}
  .woocommerce-checkout .lgc-checkout-aside{position:static;margin-top:8px}
}
@media (max-width:640px){
  /* Stronicowanie na telefonie: strzałki + bieżąca strona, resztę zastępuje
     podpis „Strona X z Y" (przy 64 stronach kratki zawijały się na dwa rzędy). */
  .woocommerce nav.woocommerce-pagination ul.page-numbers li{display:none}
  .woocommerce nav.woocommerce-pagination ul.page-numbers li:has(a.prev),
  .woocommerce nav.woocommerce-pagination ul.page-numbers li:has(a.next),
  .woocommerce nav.woocommerce-pagination ul.page-numbers li:has(span.current){display:block}
  .pagination-status{display:block}

  /* Kasa: pola jedno pod drugim, węższe karty. */
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row,
  .woocommerce-checkout #billing_postcode_field,
  .woocommerce-checkout #billing_city_field,
  .woocommerce-checkout #billing_phone_field,
  .woocommerce-checkout #billing_email_field{grid-column:1/-1}
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_review{padding:20px}
  .single-product form.cart .single_add_to_cart_button{min-width:0;flex:1 1 100%}
  .lgc-toolbar{padding:14px 16px}
  .woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:10px}
  /* Kupon i „Zaktualizuj koszyk" pełną szerokością, jedno pod drugim. */
  .woocommerce table.cart td.actions{padding:16px!important}
  .woocommerce table.cart td.actions .coupon{float:none;width:100%}
  .woocommerce table.cart td.actions .coupon input#coupon_code{width:auto!important;min-width:0;flex:1 1 60px}
  .woocommerce table.cart td.actions .coupon .button{flex:0 1 auto;min-width:0;padding:0 14px;font-size:11px;letter-spacing:.06em}
  .woocommerce table.cart td.actions .button[name="update_cart"]{float:none;width:100%;margin-top:12px}
  .wc-page{padding-top:32px}
}

/* =========================================================================
   Koszyk: „Dobierz do darmowej dostawy" + Instagram pod koszykiem
   ========================================================================= */
.ship-upsell{grid-column:1/-1;margin-top:34px;background:var(--surface-2);border:1px solid var(--line);padding:28px}
.ship-upsell__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.ship-upsell__title{font-family:var(--serif);font-size:28px;color:var(--green);line-height:1.1;margin:0}
.ship-upsell__lead{font-size:14px;color:var(--muted);max-width:420px}
.ship-upsell__lead strong{color:var(--sale)}
.ship-upsell__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
.upsell-card{background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column}
.upsell-card__thumb{display:block}
.upsell-card__img{display:block;width:100%;aspect-ratio:4/5;padding:8%;box-sizing:border-box;background:var(--surface) center/contain no-repeat;background-origin:content-box;background-clip:content-box}
.upsell-card__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1 1 auto}
.upsell-card__title{font-family:var(--serif);font-size:16.5px;line-height:1.25;color:var(--green)}
.upsell-card__title:hover{color:var(--accent)}
.upsell-card__price{font-size:14.5px;font-weight:700;color:var(--green);margin-top:auto}
.upsell-card__price del{color:var(--faint);font-weight:500;margin-right:6px}
.upsell-card__price ins{text-decoration:none;color:var(--sale)}
.upsell-card__btn{padding:10px 12px;font-size:11.5px;letter-spacing:.06em;width:100%}

.ig-cta--cart,.ig-cta--thankyou{margin-top:34px}
.woocommerce-cart .ig-cta--cart{grid-column:1/-1}

@media (max-width:1000px){
  .ship-upsell__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .ship-upsell{padding:20px}
  .ship-upsell__title{font-size:24px}
}

/* =========================================================================
   Koszyk na telefonie — WooCommerce (woocommerce-smallscreen.css) składa tabelę
   w wiersze i ukrywa miniaturę. Jego selektory są mocne (klasa + 4 elementy),
   więc nasze muszą być mocniejsze — stąd `body` + `.shop_table_responsive`.
   Efekt: pozycja koszyka jako karta — miniatura po lewej, dane po prawej.
   ========================================================================= */
@media (max-width:768px){
  /* Tabela jako blok — inaczej jej min-content (długie nazwy + rezerwa na
     miniaturę) rozpycha stronę i robi poziomy scroll. */
  body.woocommerce-cart table.cart.shop_table_responsive{display:block;width:100%;max-width:100%;table-layout:auto;border:1px solid var(--line);box-sizing:border-box}
  body.woocommerce-cart table.cart.shop_table_responsive tbody{display:block;width:100%}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr{display:block;width:100%;box-sizing:border-box}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr td{box-sizing:border-box;overflow-wrap:anywhere}
  body.woocommerce-cart table.cart.shop_table_responsive thead{display:none}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item{display:block;position:relative;padding:16px 16px 16px 104px;border-bottom:1px solid var(--line)}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item:hover{background:none}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td{display:block;width:auto!important;border:0!important;padding:5px 0!important;text-align:right!important;font-size:14px}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td::before{float:left;color:var(--faint);font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;line-height:22px}

  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td.product-thumbnail{display:block!important;position:absolute;left:16px;top:16px;width:72px!important;padding:0!important}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td.product-thumbnail::before{display:none}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td.product-thumbnail img{width:72px;height:90px;object-fit:cover;max-width:none}

  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td.product-remove{position:absolute;right:10px;top:10px;width:auto!important;padding:0!important}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td.product-remove::before{display:none}

  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td.product-name{text-align:left!important;padding:0 34px 8px 0!important;font-family:var(--serif);font-size:17px;line-height:1.25}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td.product-name::before{display:none}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td.product-quantity .quantity{display:inline-block}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td.product-quantity .quantity input.qty{width:76px}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr.cart_item td.product-subtotal{font-weight:700;color:var(--green)}

  body.woocommerce-cart table.cart.shop_table_responsive tbody tr td.actions .coupon{float:none;display:flex;width:100%}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr td.actions .coupon input#coupon_code{width:auto!important;min-width:0;flex:1 1 60px}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr td.actions .coupon .button{flex:0 1 auto;min-width:0;padding:0 14px;font-size:11px;letter-spacing:.06em}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr td.actions .button[name="update_cart"]{float:none;width:100%;margin-top:12px}

  /* Wiersz akcji (kupon / aktualizacja) nie jest pozycją koszyka. */
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr td.actions{display:block;width:auto!important;text-align:left!important;padding:16px!important}
  body.woocommerce-cart table.cart.shop_table_responsive tbody tr td.actions::before{display:none}
}

/* InPost: „Wybierz punkt odbioru" — wtyczka daje żółty kafel z białym tekstem,
   max-width 200px + nowrap (napis wyjeżdżał poza tło) i ciężki cień, część z
   !important (stąd nasze !important). Wyrównujemy do przycisków sklepu (outline
   w zieleni); wiersz scala w jedną komórkę lgc_inpost_full_row() w woocommerce.php. */
.woocommerce .easypack-parcel-machine .easypack-parcel-machine-select{padding:4px 0 16px!important}
.woocommerce #easypack_show_geowidget{display:flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;width:100%;max-width:none;margin:0;padding:13px 16px;background:transparent!important;color:var(--green);border:1.5px solid var(--green)!important;border-radius:0;box-shadow:none!important;font-family:var(--sans);font-size:12.5px!important;font-weight:700;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;white-space:normal;text-align:center;cursor:pointer;transition:background .25s ease,color .25s ease}
.woocommerce #easypack_show_geowidget::before{content:"";flex:none;width:9px;height:9px;background:#ffc905;transform:rotate(45deg)}
.woocommerce #easypack_show_geowidget:hover,.woocommerce #easypack_show_geowidget:focus-visible{background:var(--green)!important;color:var(--base)}
.woocommerce #selected-parcel-machine{margin:12px 0 0;padding:12px 14px;border:1px solid var(--line);border-left:3px solid #ffc905;border-radius:0;font-size:13.5px;line-height:1.5;color:var(--ink,inherit)}
.woocommerce #selected-parcel-machine .easypack-visible-point-header{font-style:normal;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.easypack-shipping-method-logo img{display:block;width:44px;height:auto;margin:6px 0 2px}
