/* =============================================================================
   WooCommerce — integracja z motywem Odpady SEO Ultra 2026
   ============================================================================= */

/* Ukryj domyślne style WC które nadpisujemy */
.woocommerce-page .woocommerce,
.woocommerce {
  max-width: 100%;
}

/* ── Layout strony WC ─────────────────────────────────────────────────────── */

.wo26-wc-page {
  padding-block: clamp(32px, 5vw, 72px);
}

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */

.wo26-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: .84rem;
  color: var(--wo-muted);
}

.wo26-breadcrumb__item:not(:last-child)::after {
  content: "›";
  margin-left: 6px;
  opacity: .5;
}

.wo26-breadcrumb__item a {
  color: var(--wo-muted);
  text-decoration: none;
}

.wo26-breadcrumb__item a:hover {
  color: var(--wo-green-dark);
}

.wo26-breadcrumb__item [aria-current="page"] {
  color: var(--wo-text);
  font-weight: 500;
}

/* ── Nagłówek archiwum ────────────────────────────────────────────────────── */

.woocommerce-products-header {
  margin-bottom: clamp(20px, 4vw, 40px);
}

.woocommerce-products-header__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -.03em;
  margin-bottom: .5rem;
}

/* ── Pasek narzędzi (count + sort) ───────────────────────────────────────── */

.woocommerce-ordering,
.woocommerce-result-count {
  margin-bottom: 20px;
}

.woocommerce-ordering select {
  padding: 10px 16px;
  border: 1px solid var(--wo-border);
  border-radius: var(--wo-radius-sm);
  background: var(--wo-white);
  color: var(--wo-text);
  font-size: .9rem;
  cursor: pointer;
  width: auto;
}

.woocommerce-result-count {
  color: var(--wo-muted);
  font-size: .88rem;
}

.woocommerce-ordering select:focus {
  border-color: var(--wo-green);
  outline: 3px solid rgba(67, 179, 75, .15);
}

/* ── Layout: sidebar + siatka ────────────────────────────────────────────── */

.woocommerce-page .woocommerce,
.woocommerce-page .woocommerce-products-header+*,
.woocommerce {
  display: block;
}

/* Jeśli motyw ma sidebar: dwu-kolumnowy układ */
.wo26-wc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
  height: 20px;
  width: 20px;
  margin-left: 4px;
}

@media (max-width: 860px) {
  .wo26-wc-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Siatka produktów ─────────────────────────────────────────────────────── */

ul.products,
ul.wo26-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 640px) {

  ul.products,
  ul.wo26-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* ── Karta produktu ───────────────────────────────────────────────────────── */

.wo26-product-card {
  display: flex;
  flex-direction: column;
  background: var(--wo-white);
  border: 1px solid var(--wo-border);
  border-radius: var(--wo-radius);
  overflow: hidden;
  box-shadow: var(--wo-shadow-soft);
  transition: box-shadow .22s ease;
}

.wo26-product-card:hover {
  box-shadow: 0 16px 40px rgba(20, 32, 27, .10);
}

/* Wrapper zdjęcia — biały kwadrat, mniejsza miniatura w środku */
.wo26-product-card__img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  padding: 20%;
  /* pomniejsza zdjęcie, zostawiając białe pole */
  box-sizing: border-box;
  background: #fff;
}

.wo26-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* całe zdjęcie widoczne, wyśrodkowane */
}

/* Bez animacji powiększania */
.wo26-product-card:hover .wo26-product-card__img {
  transform: none;
}

.wo26-product-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.wo26-product-card__img--placeholder svg {
  width: 60px;
  height: 60px;
}

/* Badges */
.wo26-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wo26-product-card__badge--sale {
  background: linear-gradient(135deg, var(--wo-yellow), var(--wo-orange));
  color: #111;
}

.wo26-product-card__badge--new {
  background: var(--wo-green);
  color: #fff;
}

/* „Chwilowo brak" — hero na zdjęciu produktu niedostępnego */
.wo26-product-card__hero {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  font-weight: 800;
  letter-spacing: .01em;
  color: #fff;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(20, 32, 27, .30), rgba(20, 32, 27, .62));
  backdrop-filter: grayscale(.4) blur(1px);
}

/* Wyszarz zdjęcie produktu niedostępnego */
.wo26-product-card--oos .wo26-product-card__img {
  filter: grayscale(.6) opacity(.75);
}

.wo26-product-card--oos:hover .wo26-product-card__img {
  transform: none;
}

/* Wyłączony przycisk „do koszyka" dla produktu niedostępnego */
.wo26-btn--disabled,
.wo26-btn--disabled:hover,
.wo26-btn--disabled:focus {
  background: #e7ece9 !important;
  color: #9aa8a0 !important;
  border: 1px solid #d7e5dc !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  pointer-events: none;
}

/* Body */
.wo26-product-card__body {
  flex: 1;
  padding: 16px 18px 10px;
}

.wo26-product-card__cat {
  display: block;
  margin-bottom: 6px;
  color: var(--wo-muted);
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.wo26-product-card__title {
  font-size: clamp(.96rem, 1.2vw, 1.08rem);
  font-weight: 500;
  line-height: 1.28;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.wo26-product-card__title a {
  color: var(--wo-text);
  text-decoration: none;
}

.wo26-product-card__title a:hover {
  color: var(--wo-green-dark);
}

/* Cena */
.wo26-product-card__price .price,
.wo26-product-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wo-green-dark);
  letter-spacing: -.02em;
}

.wo26-product-card__price del {
  color: var(--wo-muted);
  font-weight: 400;
  font-size: .92em;
  margin-right: 4px;
}

.wo26-product-card__price ins {
  text-decoration: none;
}

/* Stan magazynowy */
.wo26-product-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .76rem;
  font-weight: 600;
  margin-top: 6px;
}

.wo26-product-card__stock::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wo26-product-card__stock--in {
  color: var(--wo-green-dark);
}

.wo26-product-card__stock--in::before {
  background: var(--wo-green);
}

.wo26-product-card__stock--in.is-low {
  color: #b45309;
}

.wo26-product-card__stock--in.is-low::before {
  background: #f59e0b;
}

.wo26-product-card__stock--out {
  color: var(--wo-muted);
}

.wo26-product-card__stock--out::before {
  background: #ccc;
}

/* Footer karty — ramka: cena po lewej, przycisk po prawej (space-between) */
.wo26-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 14px 14px;
  padding: 12px 14px;
  border: 1px solid var(--wo-border);
  border-radius: 14px;
  background: var(--wo-surface-soft, #f6faf7);
}

/* Cena wewnątrz ramki */
.wo26-product-card__footer .wo26-product-card__price {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.wo26-product-card__footer .wo26-btn,
.wo26-product-card__footer .button,
.wo26-product-card__footer a.button {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wo-yellow), var(--wo-orange));
  color: #111 !important;
  font-weight: 650;
  font-size: .88rem;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 8px 20px rgba(198, 162, 90, .22);
}

.wo26-product-card__footer .button:hover,
.wo26-product-card__footer a.button:hover,
.wo26-product-card__footer .wo26-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(198, 162, 90, .32);
}

.wo26-product-card__footer .added_to_cart {
  flex: 1 0 100%;
  display: block;
  margin-top: 4px;
  text-align: center;
  font-size: .82rem;
  color: var(--wo-green-dark);
  font-weight: 600;
  text-decoration: none;
}

/* ── Paginacja ────────────────────────────────────────────────────────────── */

.woocommerce-pagination {
  margin-top: 48px;
  text-align: center;
}

.woocommerce-pagination ul {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--wo-border);
  background: var(--wo-white);
  color: var(--wo-text);
  font-weight: 500;
  font-size: .9rem;
  text-decoration: none;
  transition: background .18s, color .18s;
}

.woocommerce-pagination ul li a:hover {
  background: var(--wo-surface-soft);
  border-color: var(--wo-green);
  color: var(--wo-green-dark);
}

.woocommerce-pagination ul li span.current {
  background: linear-gradient(135deg, var(--wo-yellow), var(--wo-orange));
  border-color: transparent;
  color: #111;
  font-weight: 700;
}

/* ── Strona pojedynczego produktu ────────────────────────────────────────── */

.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  align-items: start;
}

@media (max-width: 780px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.woocommerce div.product .woocommerce-product-gallery {
  grid-column: 1;
  border-radius: 0;
  overflow: hidden;
}

.woocommerce div.product .summary {
  grid-column: 2;
}

@media (max-width: 780px) {

  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .summary {
    grid-column: 1;
  }
}

/* Tytuł produktu */
.woocommerce div.product .product_title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

/* Cena na stronie produktu */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 1.72rem;
  font-weight: 700;
  color: var(--wo-green-dark);
  letter-spacing: -.03em;
  margin-bottom: 18px;
  display: block;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--wo-muted);
  font-size: .7em;
  font-weight: 400;
}

/* Opis krótki */
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--wo-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Meta (SKU, kategorie) */
.woocommerce div.product .product_meta {
  font-size: .84rem;
  color: var(--wo-muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--wo-border);
}

.woocommerce div.product .product_meta span {
  display: block;
  margin-bottom: 4px;
}

/* Ilość */
.woocommerce .quantity .qty {
  width: 72px;
  text-align: center;
  border-radius: var(--wo-radius-sm);
  border: 1px solid var(--wo-border);
  padding: 10px;
  font-size: 1rem;
}

/* Przycisk "Dodaj do koszyka" na stronie produktu */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wo-yellow), var(--wo-orange));
  color: #111 !important;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
  box-shadow: 0 14px 28px rgba(198, 162, 90, .25);
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(198, 162, 90, .32);
}

/* Przycisk "Dodaj do koszyka" — zielony */
.woocommerce div.product form.cart .single_add_to_cart_button {
  background: linear-gradient(135deg, #43b34b, var(--wo-green-dark));
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(31, 122, 60, .28);
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3da644, #196833);
  box-shadow: 0 18px 36px rgba(31, 122, 60, .38);
}

.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  margin-top: 20px;
}

/* Galeria */
.woocommerce-product-gallery__image img {
  border-radius: var(--wo-radius);
  object-fit: cover;
}

.flex-control-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.flex-control-thumbs li img {
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}

.flex-control-thumbs li img:hover,
.flex-control-thumbs .flex-active {
  border-color: var(--wo-green) !important;
}

/* Tabs (opis / atrybuty / recenzje) */
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 40px;
  border-top: 1px solid var(--wo-border);
  padding-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-bottom: 2px solid var(--wo-border);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin-bottom: -2px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 20px;
  border-radius: 12px 12px 0 0;
  font-weight: 500;
  font-size: .9rem;
  color: var(--wo-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .18s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--wo-green-dark);
  border-bottom-color: var(--wo-green);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--wo-green-dark);
}

.woocommerce div.product .woocommerce-tabs .panel {
  line-height: 1.75;
  color: var(--wo-text);
}

/* Produkty powiązane */
.related.products,
.upsells.products {
  grid-column: 1 / -1;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--wo-border);
}

.related.products>h2,
.upsells.products>h2 {
  font-size: 18px !important;
  margin-bottom: 28px;
  letter-spacing: -.03em;
}

/* Tytuły produktów w sekcjach „Podobne / Może Ci się spodobać" — maks. 18px */
.related.products .wo26-product-card__title,
.related.products .wo26-product-card__title a,
.upsells.products .wo26-product-card__title,
.upsells.products .wo26-product-card__title a,
.related.products h2,
.related.products h3,
.upsells.products h2,
.upsells.products h3 {
  font-size: 18px !important;
  line-height: 1.3;
}

/* ── Koszyk — wysoka specyficzność, wszystkie reguły z !important ────────── */

body.woocommerce-cart table.shop_table.cart,
body.woocommerce-cart table.shop_table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #d7e5dc !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #fff !important;
  font-size: .95rem !important;
  box-shadow: 0 4px 24px rgba(20, 32, 27, .07) !important;
}

/* Nagłówki — zamiast zielonych bloków */
body.woocommerce-cart table.shop_table thead tr th,
body.woocommerce-cart table.shop_table thead tr td {
  background: #f3faf4 !important;
  color: #617268 !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  padding: 13px 18px !important;
  border-bottom: 1px solid #d7e5dc !important;
  border-radius: 0 !important;
}

/* Komórki */
body.woocommerce-cart table.shop_table td {
  padding: 16px 18px !important;
  vertical-align: middle !important;
  background: #fff !important;
  border-bottom: 1px solid #d7e5dc !important;
}

body.woocommerce-cart table.shop_table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Miniatura */
body.woocommerce-cart table.cart td.product-thumbnail {
  width: 96px !important;
  padding: 14px 10px 14px 18px !important;
}

body.woocommerce-cart table.cart td.product-thumbnail img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  display: block !important;
}

/* Nazwa */
body.woocommerce-cart table.cart td.product-name {
  font-weight: 600 !important;
  font-size: .97rem !important;
  color: #14201b !important;
}

body.woocommerce-cart table.cart td.product-name a {
  color: #14201b !important;
  text-decoration: none !important;
}

body.woocommerce-cart table.cart td.product-name a:hover {
  color: #1f7a3c !important;
}

/* Cena jedn. */
body.woocommerce-cart table.cart td.product-price {
  color: #617268 !important;
  font-size: .9rem !important;
}

/* Ilość */
body.woocommerce-cart table.cart td.product-quantity .qty {
  width: 68px !important;
  text-align: center !important;
  border-radius: 12px !important;
  border: 1px solid #d7e5dc !important;
  padding: 9px 10px !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  background: #fff !important;
  color: #14201b !important;
}

/* Subtotal */
body.woocommerce-cart table.cart td.product-subtotal {
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  color: #1f7a3c !important;
  white-space: nowrap !important;
}

body.woocommerce-cart table.cart td.product-subtotal .woocommerce-Price-amount,
body.woocommerce-cart table.cart td.product-subtotal .woocommerce-Price-amount bdi {
  color: #1f7a3c !important;
  font-weight: 800 !important;
}

/* Przycisk usuń */
body.woocommerce-cart table.cart .product-remove a.remove {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 9px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #617268 !important;
  font-size: 1.3rem !important;
  font-weight: 300 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: background .18s, color .18s !important;
}

body.woocommerce-cart table.cart .product-remove a.remove:hover {
  background: #fff0f0 !important;
  color: #b91c1c !important;
  border-color: #fecaca !important;
}

/* Wiersz akcji */
body.woocommerce-cart table.cart td.actions {
  background: #f3faf4 !important;
  padding: 16px 18px !important;
}

body.woocommerce-cart table.cart td.actions .coupon {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  float: left !important;
}

body.woocommerce-cart table.cart td.actions .coupon label {
  display: none !important;
}

body.woocommerce-cart table.cart td.actions .coupon #coupon_code {
  width: auto !important;
  min-width: 180px !important;
  border-radius: 12px !important;
  border: 1px solid #d7e5dc !important;
  padding: 10px 16px !important;
  font-size: .9rem !important;
  background: #fff !important;
  color: #14201b !important;
}

body.woocommerce-cart table.cart td.actions [name="apply_coupon"],
body.woocommerce-cart table.cart td.actions .coupon .button {
  min-height: 42px !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #14201b !important;
  border: 1px solid #d7e5dc !important;
  box-shadow: none !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background .18s !important;
}

body.woocommerce-cart table.cart td.actions [name="update_cart"] {
  float: right !important;
  min-height: 42px !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #617268 !important;
  border: 1px solid #d7e5dc !important;
  box-shadow: none !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

body.woocommerce-cart table.cart td.actions [name="update_cart"]:hover {
  background: #fff !important;
  color: #14201b !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Podsumowanie koszyka ─────────────────────────────────────────────────── */

body.woocommerce-cart .cart-collaterals {
  margin-top: 28px !important;
}

body.woocommerce-cart .cart_totals {
  float: right !important;
  width: 100% !important;
  max-width: 400px !important;
  background: #fff !important;
  border: 1px solid #d7e5dc !important;
  border-radius: 20px !important;
  padding: 26px 28px !important;
  box-shadow: 0 4px 24px rgba(20, 32, 27, .07) !important;
}

body.woocommerce-cart .cart_totals h2 {
  font-size: .9rem !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: #617268 !important;
  margin-bottom: 16px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #d7e5dc !important;
}

body.woocommerce-cart .cart_totals table {
  width: 100% !important;
  border-collapse: collapse !important;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
  padding: 11px 0 !important;
  border-bottom: 1px solid #d7e5dc !important;
  font-size: .92rem !important;
  background: transparent !important;
  vertical-align: middle !important;
  color: #14201b !important;
}

body.woocommerce-cart .cart_totals table th {
  font-weight: 500 !important;
  color: #617268 !important;
  width: 42% !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
  border-bottom: none !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  color: #1f7a3c !important;
  padding-top: 16px !important;
}

body.woocommerce-cart .cart_totals .order-total .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals .order-total .woocommerce-Price-amount bdi {
  color: #1f7a3c !important;
  font-weight: 800 !important;
  font-size: inherit !important;
}

/* Przejdź do kasy */
body.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0 !important;
  margin-top: 8px !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #43b34b, #1f7a3c) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(31, 122, 60, .28) !important;
  border: none !important;
  letter-spacing: -.01em !important;
  transition: transform .2s, box-shadow .2s !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 36px rgba(31, 122, 60, .36) !important;
}

/* Mobile */
@media (max-width: 640px) {
  body.woocommerce-cart table.shop_table thead {
    display: none !important;
  }

  body.woocommerce-cart table.shop_table.cart,
  body.woocommerce-cart table.shop_table tbody,
  body.woocommerce-cart table.shop_table tr {
    display: block !important;
  }

  body.woocommerce-cart table.shop_table tr {
    position: relative !important;
    padding: 14px !important;
    border-bottom: 1px solid #d7e5dc !important;
  }

  body.woocommerce-cart table.cart td {
    display: inline-block !important;
    border-bottom: none !important;
    padding: 4px 0 !important;
  }

  body.woocommerce-cart table.cart td.product-thumbnail {
    float: left !important;
    margin-right: 12px !important;
  }

  body.woocommerce-cart table.cart td.product-remove {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
  }

  body.woocommerce-cart table.cart td.product-subtotal {
    display: block !important;
    text-align: right !important;
    border-top: 1px solid #d7e5dc !important;
    padding-top: 10px !important;
    margin-top: 8px !important;
    clear: both !important;
  }

  body.woocommerce-cart table.cart td.actions {
    display: block !important;
  }

  body.woocommerce-cart .cart_totals {
    float: none !important;
    max-width: 100% !important;
  }
}

/* ── WooCommerce Blocks — blokowy koszyk ─────────────────────────────────── */

/* Reset koloru dla całego bloku */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-cart * {
  font-family: inherit !important;
  box-sizing: border-box !important;
}

/* Kontener bloku — daj mu szerokość i ukryj overflow tylko na osi x */
.wp-block-woocommerce-cart {
  color: #14201b !important;
  width: 100% !important;
  overflow: visible !important;
}

/* Główny grid: nie nadpisuj WC columns, tylko dodaj gap i align */
.wc-block-cart.is-large {
  gap: 28px !important;
  align-items: start !important;
}

/* Nie pozwól sidebaru się ucinać */
.wc-block-cart__sidebar {
  overflow: visible !important;
  min-width: 0 !important;
}

/* ── Lewa kolumna — nagłówek tabeli ── */
.wc-block-cart-items__header {
  background: #f3faf4 !important;
  border-bottom: 1px solid #d7e5dc !important;
  padding: 10px 18px !important;
}

.wc-block-cart-items__header th,
.wc-block-cart-items__header span {
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #617268 !important;
}

/* Lewa kolumna karta */
.wc-block-cart__main {
  background: #fff !important;
  border: 1px solid #d7e5dc !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 16px rgba(20, 32, 27, .06) !important;
}

/* Wiersz produktu */
.wc-block-cart-items__row {
  background: #fff !important;
  border-bottom: 1px solid #eef3f0 !important;
  padding: 16px 18px !important;
}

.wc-block-cart-items__row:last-child {
  border-bottom: none !important;
}

.wc-block-cart-items__row:hover {
  background: #f9fdf9 !important;
}

/* Wszystkie teksty produktu — ciemne */
.wc-block-cart-items__row,
.wc-block-cart-items__row span,
.wc-block-cart-items__row p,
.wc-block-cart-items__row div,
.wc-block-cart-items__row a,
.wc-block-cart-item__product-name,
.wc-block-cart-item__product-name a {
  color: #14201b !important;
}

/* Ukryj opis produktu w koszyku */
.wc-block-cart-item__description,
.wc-block-cart-item__description * {
  display: none !important;
}

/* Nazwa */
.wc-block-cart-item__product-name a {
  font-weight: 600 !important;
  font-size: .95rem !important;
  text-decoration: none !important;
}

.wc-block-cart-item__product-name a:hover {
  color: #1f7a3c !important;
}

/* Cena — zielona */
.wc-block-cart-item__total,
.wc-block-cart-item__total *,
.wc-block-cart-item__total .woocommerce-Price-amount {
  color: #1f7a3c !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
}

/* Cena jednostkowa */
.wc-block-cart-item__individual-prices,
.wc-block-cart-item__individual-prices * {
  color: #617268 !important;
  font-size: .85rem !important;
  font-weight: 400 !important;
}

/* Stepper ilości */
.wc-block-components-quantity-stepper {
  border: 1px solid #d7e5dc !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
}

.wc-block-components-quantity-stepper input {
  color: #14201b !important;
  background: #fff !important;
  font-weight: 600 !important;
}

.wc-block-components-quantity-stepper__button {
  color: #14201b !important;
  background: #f3faf4 !important;
}

.wc-block-components-quantity-stepper__button:hover {
  background: #e4f0e8 !important;
}

/* Link "Usuń" */
.wc-block-cart-item__remove-link {
  color: #9ca3af !important;
  font-size: .8rem !important;
}

.wc-block-cart-item__remove-link:hover {
  color: #b91c1c !important;
}

/* Miniatura */
.wc-block-cart-item__image img {
  border-radius: 10px !important;
  object-fit: cover !important;
}

/* ── Prawa kolumna — podsumowanie ── */

.wc-block-cart__sidebar>*,
.wc-block-cart__totals>* {
  background: #fff !important;
  border: 1px solid #d7e5dc !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 16px rgba(20, 32, 27, .06) !important;
  margin-bottom: 16px !important;
}

/* Nagłówek "PODSUMOWANIE KOSZYKA" */
.wc-block-cart__totals-title,
h2.wc-block-cart__totals-title {
  display: block !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: #617268 !important;
  padding: 18px 20px 14px !important;
  border-bottom: 1px solid #d7e5dc !important;
  margin: 0 !important;
  background: #f9fbf9 !important;
}

/* Wiersze kwot */
.wc-block-components-totals-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 20px !important;
  border-bottom: 1px solid #eef3f0 !important;
}

.wc-block-components-totals-item:last-of-type {
  border-bottom: none !important;
}

.wc-block-components-totals-item__label {
  font-size: .9rem !important;
  color: #617268 !important;
  font-weight: 400 !important;
}

.wc-block-components-totals-item__value,
.wc-block-components-totals-item__value * {
  font-size: .93rem !important;
  font-weight: 600 !important;
  color: #14201b !important;
}

/* RAZEM */
.wc-block-components-totals-footer-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 16px 20px !important;
  border-top: 2px solid #d7e5dc !important;
  background: #f3faf4 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: .95rem !important;
  font-weight: 700 !important;
  color: #14201b !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount,
.wc-block-components-totals-footer-item strong {
  font-size: 1.28rem !important;
  font-weight: 800 !important;
  color: #1f7a3c !important;
}

/* Sekcja kupon */
.wc-block-components-panel {
  border-top: 1px solid #d7e5dc !important;
}

.wc-block-components-panel__button {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 13px 20px !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  color: #14201b !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  text-align: left !important;
}

.wc-block-components-panel__content {
  padding: 0 20px 14px !important;
}

.wc-block-components-panel__content input[type="text"] {
  width: 100% !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1px solid #d7e5dc !important;
  font-size: .88rem !important;
  color: #14201b !important;
  background: #fff !important;
  outline: none !important;
}

.wc-block-components-panel__content input[type="text"]:focus {
  border-color: #1f7a3c !important;
}

/* Przycisk "Przejdź do płatności" */
.wp-block-woocommerce-proceed-to-checkout-block {
  padding: 16px 20px 20px !important;
  border: none !important;
  border-top: 1px solid #d7e5dc !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button,
a.wc-block-cart__submit-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #43b34b, #1f7a3c) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(31, 122, 60, .30) !important;
  border: none !important;
  cursor: pointer !important;
  transition: transform .2s, box-shadow .2s !important;
}

.wc-block-cart__submit-button:hover,
a.wc-block-cart__submit-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 32px rgba(31, 122, 60, .40) !important;
  color: #fff !important;
}

/* Responsywność — mobile */
@media (max-width: 768px) {
  .wc-block-cart.is-large {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SZABLON „KOSZYK" (template-koszyk.php) — usuwa białe tło pod koszykiem
   ═══════════════════════════════════════════════════════════════════════════ */

.wo26-koszyk-main {
  /* Delikatne, jasne tło strony — nasze białe karty koszyka odcinają się od niego.
     Zmień na `transparent`, aby dziedziczyć tło motywu. */
  background: #eef3f0;
  padding-block: clamp(28px, 4vw, 56px);
}

/* Wewnętrzny kontener bez żadnej białej karty/obramowania/cienia */
.wo26-koszyk-main .wo26-container,
.wo26-koszyk-main article,
.wo26-koszyk-main .entry-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* Na wypadek, gdyby motyw dokładał białe tło do treści strony */
.wo26-koszyk-main .row-padding,
.wo26-koszyk-main .container.row-padding {
  background: transparent !important;
  padding: 0 !important;
}

/* Wewnątrz szablonu koszyk nie potrzebuje własnego dużego paddingu pionowego */
.wo26-koszyk-main .wo26-cart-page {
  padding-block: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STRONA KOSZYKA (/koszyk/) — czysty, czytelny układ
   Kolory jawne (białe karty) — brak dziedziczenia z ciemnego motywu
   ═══════════════════════════════════════════════════════════════════════════ */

.wo26-cart-page {
  padding-block: clamp(32px, 5vw, 64px);
  --c-ink: #14201b;
  --c-soft: #5c6d63;
  --c-line: #e4ede8;
  --c-line-2: #d7e5dc;
  --c-tint: #f6faf7;
  --c-green: #1f7a3c;
}

/* ── Pusty koszyk ─────────────────────────────────────────────────────────── */
.wo26-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 72px 24px;
  background: #fff;
  border: 1px solid var(--c-line-2);
  border-radius: 20px;
}

.wo26-cart-empty__icon {
  margin-bottom: 8px;
}

.wo26-cart-empty__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -.03em;
  margin: 0;
  color: var(--c-ink);
}

.wo26-cart-empty__text {
  color: var(--c-soft);
  max-width: 420px;
  margin: 0 0 8px;
}

/* ── Dwukolumnowy layout ──────────────────────────────────────────────────── */
.wo26-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 960px) {
  .wo26-cart-layout {
    grid-template-columns: 1fr;
  }
}

/* ═══ LEWA KOLUMNA — lista produktów ═══════════════════════════════════════ */

.wo26-cart-items {
  background: #fff;
  border: 1px solid var(--c-line-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(20, 32, 27, .05);
}

/* Nagłówek kolumn (desktop) */
.wo26-cart-items__head {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 116px 128px 40px;
  gap: 0 16px;
  align-items: center;
  padding: 14px 22px;
  background: var(--c-tint);
  border-bottom: 1px solid var(--c-line);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-soft);
}

.wo26-cart-items__head-product {
  grid-column: 1 / 3;
}

.wo26-cart-items__head-qty {
  grid-column: 3;
  text-align: center;
}

.wo26-cart-items__head-total {
  grid-column: 4;
  text-align: right;
}

/* Wiersz produktu */
.wo26-cart-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 116px 128px 40px;
  gap: 0 16px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-ink);
  transition: background .15s;
}

.wo26-cart-item:last-child {
  border-bottom: none;
}

.wo26-cart-item:hover {
  background: #fbfdfb;
}

/* Miniatura */
.wo26-cart-item__thumb {
  grid-column: 1;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-tint);
  border: 1px solid var(--c-line);
}

.wo26-cart-item__thumb a {
  display: block;
}

.wo26-cart-item__img,
.wo26-cart-item__thumb img {
  width: 84px !important;
  height: 84px !important;
  object-fit: cover;
  display: block;
}

/* Nazwa + cena jedn. */
.wo26-cart-item__info {
  grid-column: 2;
  min-width: 0;
}

.wo26-cart-item__name {
  font-size: .96rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.35;
  margin-bottom: 5px;
}

.wo26-cart-item__name a {
  color: inherit;
  text-decoration: none;
}

.wo26-cart-item__name a:hover {
  color: var(--c-green);
}

.wo26-cart-item__unit-price {
  font-size: .82rem;
  color: var(--c-soft);
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.wo26-cart-item__unit-label {
  opacity: .75;
}

/* Etykiety mobilne — ukryte na desktopie */
.wo26-cart-item__qty-mlabel,
.wo26-cart-item__subtotal-mlabel {
  display: none;
}

/* Ilość */
.wo26-cart-item__qty {
  grid-column: 3;
  display: flex;
  justify-content: center;
}

.wo26-cart-item__qty .quantity {
  margin: 0;
}

.wo26-cart-item__qty .quantity .qty {
  width: 72px;
  text-align: center;
  padding: 9px 8px;
  border-radius: 10px;
  border: 1px solid var(--c-line-2);
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-ink);
  background: #fff;
}

.wo26-cart-item__qty-single {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-ink);
}

/* Subtotal */
.wo26-cart-item__subtotal {
  grid-column: 4;
  text-align: right;
}

.wo26-cart-item__subtotal-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-green);
  letter-spacing: -.02em;
}

.wo26-cart-item__subtotal-price .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* Usuń */
.wo26-cart-item__remove {
  grid-column: 5;
  display: flex;
  justify-content: flex-end;
}

.wo26-cart-item__remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #9ca3af;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}

.wo26-cart-item__remove-btn:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

/* Pasek narzędzi pod listą */
.wo26-cart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.wo26-cart-toolbar__continue,
.wo26-cart-toolbar__update {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}

.wo26-cart-toolbar__continue {
  color: var(--c-soft);
  text-decoration: none;
  padding: 10px 6px;
}

.wo26-cart-toolbar__continue:hover {
  color: var(--c-green);
}

.wo26-cart-toolbar__update {
  padding: 11px 22px;
  border: 1px solid var(--c-line-2);
  background: #fff;
  color: var(--c-ink);
}

.wo26-cart-toolbar__update:hover {
  background: var(--c-tint);
  border-color: #c3d8cb;
}

/* ═══ PRAWA KOLUMNA — podsumowanie ═════════════════════════════════════════ */

.wo26-cart-summary {
  position: sticky;
  top: 100px;
  background: #fff;
  color: var(--c-ink);
  border: 1px solid var(--c-line-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(20, 32, 27, .08);
}

.wo26-cart-summary__title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-soft);
  margin: 0;
  padding: 18px 24px 15px;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-tint);
}

/* Wiersze kwot */
.wo26-cart-totals {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 4px;
}

.wo26-cart-totals__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--c-line);
}

.wo26-cart-totals__row:last-child {
  border-bottom: none;
}

.wo26-cart-totals__label {
  font-size: .9rem;
  color: var(--c-soft);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wo26-cart-totals__value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-ink);
  text-align: right;
  white-space: nowrap;
}

.wo26-cart-totals__value .woocommerce-Price-amount {
  color: inherit;
  font-weight: inherit;
}

.wo26-cart-totals__value--muted {
  color: var(--c-soft);
  font-weight: 400;
  font-style: italic;
  font-size: .86rem;
}

.wo26-cart-totals__value--discount {
  color: #dc2626;
}

/* ── Wiersz dostawy — pełna szerokość, treść pod etykietą ─────────────────── */
.wo26-cart-totals__row--shipping {
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.wo26-cart-totals__row--shipping .wo26-cart-totals__value {
  text-align: right;
  white-space: normal;
  font-weight: 600;
}

/* Gdy jest lista metod do wyboru — wartość na całą szerokość, pod etykietą */
.wo26-cart-totals__row--shipping:has(.wo26-cart-ship-list) {
  flex-direction: column;
  align-items: stretch;
}

.wo26-cart-totals__row--shipping:has(.wo26-cart-ship-list) .wo26-cart-totals__value {
  text-align: left;
  width: 100%;
}

/* Pojedyncza metoda: nazwa + koszt w jednej linii */
.wo26-cart-ship-single {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.wo26-cart-ship-single__name {
  font-weight: 400;
  color: var(--c-soft);
  font-size: .86rem;
}

.wo26-cart-ship-single__cost {
  font-weight: 600;
  color: var(--c-ink);
}

.wo26-cart-ship-single__cost strong {
  color: var(--c-green);
  font-weight: 700;
}

/* Lista metod wysyłki (do wyboru) */
.wo26-cart-ship-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wo26-cart-ship-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .88rem;
  color: var(--c-ink);
  font-weight: 400;
}

.wo26-cart-ship-list__item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-width: 0;
}

.wo26-cart-ship-list__item input[type="radio"] {
  flex-shrink: 0;
}

.wo26-cart-ship-list__cost {
  font-weight: 600;
  white-space: nowrap;
}

.wo26-cart-ship-list__cost strong {
  color: var(--c-green);
  font-weight: 700;
}

/* ── Domyślny markup wysyłki WooCommerce (koszyk + zamówienie) ───────────────
   Obsługuje sekcję „Przesyłka / metoda / komunikat” niezależnie od tego,
   czy renderuje ją nasz szablon, czy standardowy WooCommerce.
   ─────────────────────────────────────────────────────────────────────────── */

/* Ukryj przycisk „Oblicz koszty wysyłki” i formularz kalkulatora */
.shipping-calculator-button,
.woocommerce-shipping-calculator,
.wo26-cart-summary .shipping-calculator-button,
.wo26-cart-summary .woocommerce-shipping-calculator {
  display: none !important;
}

/* Wiersz wysyłki (gdy WooCommerce renderuje własny <tr>/lista) */
.wo26-cart-summary .woocommerce-shipping-totals th,
.wo26-cart-summary tr.shipping th {
  font-size: .9rem;
  font-weight: 400;
  color: var(--c-soft);
  padding: 12px 0 4px;
}

/* Lista metod wysyłki */
.wo26-cart-summary ul#shipping_method,
.wo26-cart-summary .woocommerce-shipping-methods {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wo26-cart-summary ul#shipping_method li,
.wo26-cart-summary .woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: .88rem;
  color: var(--c-ink);
}

.wo26-cart-summary ul#shipping_method li label,
.wo26-cart-summary .woocommerce-shipping-methods li label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--c-ink);
}

.wo26-cart-summary ul#shipping_method li label::after {
  content: none;
}

.wo26-cart-summary ul#shipping_method .amount,
.wo26-cart-summary .woocommerce-shipping-methods .amount {
  font-weight: 700;
  color: var(--c-green);
}

/* Adres docelowy + komunikat „Metody wysyłki zostaną zaktualizowane…” */
.wo26-cart-summary .woocommerce-shipping-destination,
.wo26-cart-summary .wc-shipping-methods-note,
.wo26-cart-summary tr.shipping td p,
.wo26-cart-totals__row--shipping .wo26-cart-totals__value--muted {
  margin: 2px 0 0;
  padding: 8px 10px;
  font-size: .8rem;
  line-height: 1.45;
  font-style: normal;
  color: var(--c-soft);
  background: var(--c-tint);
  border: 1px solid var(--c-line);
  border-radius: 8px;
}

/* Usuń kupon */
.wo26-cart-totals__coupon-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-size: .82rem;
  text-decoration: none;
  line-height: 1;
  transition: background .15s;
}

.wo26-cart-totals__coupon-remove:hover {
  background: #fecaca;
}

/* Blok DO ZAPŁATY */
.wo26-cart-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 24px 0;
  padding: 16px 0 4px;
  border-top: 2px solid var(--c-line-2);
}

.wo26-cart-summary__total-label {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--c-ink);
}

.wo26-cart-summary__total-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-green);
  letter-spacing: -.02em;
}

.wo26-cart-summary__total-value .woocommerce-Price-amount {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.wo26-cart-summary__tax-note {
  margin: 4px 24px 0;
  font-size: .78rem;
  color: var(--c-soft);
}

/* Toggle kuponu */
.wo26-cart-coupon-toggle {
  margin: 16px 24px 0;
  border: 1px solid var(--c-line-2);
  border-radius: 12px;
  overflow: hidden;
}

.wo26-cart-coupon-toggle__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}

.wo26-cart-coupon-toggle__trigger::-webkit-details-marker {
  display: none;
}

.wo26-cart-coupon-toggle__trigger:hover {
  background: var(--c-tint);
}

.wo26-cart-coupon-toggle__chevron {
  margin-left: auto;
  color: var(--c-soft);
  transition: transform .2s;
}

.wo26-cart-coupon-toggle[open] .wo26-cart-coupon-toggle__chevron {
  transform: rotate(180deg);
}

.wo26-cart-coupon-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--c-line);
}

.wo26-cart-coupon-form__input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--c-line-2);
  font-size: .88rem;
  color: var(--c-ink);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}

.wo26-cart-coupon-form__input:focus {
  border-color: var(--c-green);
}

.wo26-cart-coupon-form__btn {
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--c-line-2);
  background: #fff;
  color: var(--c-ink);
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s;
}

.wo26-cart-coupon-form__btn:hover {
  background: var(--c-tint);
}

/* Przycisk KASA */
.wo26-cart-summary__checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 24px 20px;
  min-height: 54px;
  padding: 15px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, #43b34b, #1f7a3c);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(31, 122, 60, .30);
  transition: transform .2s, box-shadow .2s;
}

.wo26-cart-summary__checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(31, 122, 60, .40);
  color: #fff;
}

.wo26-cart-summary__checkout-btn svg {
  transition: transform .2s;
}

.wo26-cart-summary__checkout-btn:hover svg {
  transform: translateX(3px);
}

/* Zaufanie */
.wo26-cart-summary__trust {
  list-style: none;
  margin: 0;
  padding: 0 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.wo26-cart-summary__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  color: var(--c-soft);
}

.wo26-cart-summary__trust svg {
  color: var(--c-green);
  flex-shrink: 0;
}

/* ── Mobile: stos zamiast gridu ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .wo26-cart-items__head {
    display: none;
  }

  .wo26-cart-item {
    position: relative;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    padding: 16px;
    gap: 4px 14px;
  }

  .wo26-cart-item__thumb {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 72px;
    height: 72px;
    align-self: start;
  }

  .wo26-cart-item__img,
  .wo26-cart-item__thumb img {
    width: 72px !important;
    height: 72px !important;
  }

  .wo26-cart-item__info {
    grid-column: 2 / 4;
    grid-row: 1;
    padding-right: 40px;
  }

  .wo26-cart-item__remove {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    position: relative;
  }

  /* przenieś X w prawy górny róg wiersza */
  .wo26-cart-item .wo26-cart-item__remove {
    position: absolute;
    top: 14px;
    right: 14px;
  }

  .wo26-cart-item__qty {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
  }

  .wo26-cart-item__qty-mlabel {
    display: inline;
    font-size: .78rem;
    color: var(--c-soft);
    font-weight: 500;
  }

  .wo26-cart-item__subtotal {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
  }

  .wo26-cart-summary {
    position: static;
  }
}

/* ── Checkout ─────────────────────────────────────────────────────────────── */

.woocommerce-checkout #customer_details {
  margin-bottom: 32px;
}

.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 720px) {
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }
}

.woocommerce-checkout h3 {
  font-size: 1.18rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wo-border);
}

.woocommerce-checkout .form-row {
  margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: .9rem;
}

.woocommerce-checkout .form-row .required {
  color: #e53935;
}

/* Podsumowanie zamówienia */
#order_review_heading {
  font-size: 1.18rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wo-border);
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--wo-border);
  font-size: .95rem;
}

.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total th {
  font-weight: 700;
  color: var(--wo-green-dark);
  font-size: 1.05rem;
  border-bottom: none;
}

/* Metody płatności */
#payment {
  background: var(--wo-surface-soft);
  border: 1px solid var(--wo-border);
  border-radius: var(--wo-radius);
  padding: 24px;
  margin-top: 20px;
}

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

#payment ul.payment_methods li {
  padding: 12px 0;
  border-bottom: 1px solid var(--wo-border);
}

#payment ul.payment_methods li:last-child {
  border-bottom: none;
}

/* Przycisk „Kupuję i płacę" — klasyczny (#place_order) i blokowy checkout */
#place_order,
.woocommerce-checkout #place_order,
button#place_order,
.wc-block-components-checkout-place-order-button,
button.wc-block-components-checkout-place-order-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 20px;
  padding: 16px 28px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
  text-align: center;
  color: #fff !important;
  background: linear-gradient(135deg, #43b34b, #1f7a3c) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 30px rgba(31, 122, 60, .32) !important;
  cursor: pointer;
  text-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

#place_order::after,
.wc-block-components-checkout-place-order-button::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M6 3l6 6-6 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M6 3l6 6-6 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s ease;
}

#place_order:hover,
.wc-block-components-checkout-place-order-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3da644, #196833) !important;
  box-shadow: 0 20px 40px rgba(31, 122, 60, .42) !important;
  color: #fff !important;
}

#place_order:hover::after,
.wc-block-components-checkout-place-order-button:hover::after {
  transform: translateX(4px);
}

#place_order:disabled,
#place_order.disabled,
.wc-block-components-checkout-place-order-button:disabled,
.wc-block-components-checkout-place-order-button.wc-block-components-button--loading {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none !important;
}

#place_order:disabled::after,
.wc-block-components-checkout-place-order-button:disabled::after,
.wc-block-components-checkout-place-order-button--loading::after {
  display: none;
}

/* Nie koloruj spinnera podczas ładowania na currentColor arrow */
.wc-block-components-checkout-place-order-button .wc-block-components-spinner {
  border-top-color: #fff !important;
}

/* ── Moje konto ───────────────────────────────────────────────────────────── */

.woocommerce-MyAccount-navigation {
  margin-bottom: 28px;
}

.woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 9px 18px;
  border: 1px solid var(--wo-border);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--wo-text);
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--wo-green);
  border-color: var(--wo-green);
  color: #fff;
}

/* ── Powiadomienia ────────────────────────────────────────────────────────── */

.wo26-wc-notice,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--wo-radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: .95rem;
}

.wo26-wc-notice ul,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wo26-wc-notice--success,
.woocommerce-message {
  background: #f0fff4;
  border: 1px solid #b7e5c4;
  color: #155724;
}

/* Rozłóż elementy <li> w komunikacie sukcesu (space-between) */
.wo26-wc-notice--success ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Każdy <li>: tekst po lewej, przycisk po prawej */
.wo26-wc-notice--success ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1 1 auto;
}

.wo26-wc-notice--error,
.woocommerce-error {
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  color: #721c24;
}

.wo26-wc-notice--info,
.woocommerce-info {
  background: #f0f8ff;
  border: 1px solid #bee3f8;
  color: #2c5282;
}

/* ── Informacje dodatkowe — tabela atrybutów ─────────────────────────────── */

.wo26-attrs {
  max-width: 680px;
}

.wo26-attrs__heading {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  color: var(--wo-text);
}

.wo26-attrs__list {
  margin: 0;
  padding: 0;
  border: 1px solid var(--wo-border);
  border-radius: var(--wo-radius-sm);
  overflow: hidden;
}

.wo26-attrs__row {
  display: grid;
  grid-template-columns: minmax(140px, 38%) 1fr;
  border-bottom: 1px solid var(--wo-border);
}

.wo26-attrs__row:last-child {
  border-bottom: none;
}

.wo26-attrs__row:nth-child(even) .wo26-attrs__label,
.wo26-attrs__row:nth-child(even) .wo26-attrs__value {
  background: var(--wo-surface-soft);
}

.wo26-attrs__label,
.wo26-attrs__value {
  padding: 13px 18px;
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
  word-break: break-word;
}

.wo26-attrs__label {
  font-weight: 600;
  color: var(--wo-text);
  background: var(--wo-white);
  border-right: 1px solid var(--wo-border);
}

.wo26-attrs__value {
  color: var(--wo-muted);
  background: var(--wo-white);
}

/* Mobile: każdy atrybut jako karta */
@media (max-width: 480px) {
  .wo26-attrs__row {
    grid-template-columns: 1fr;
  }

  .wo26-attrs__label {
    border-right: none;
    border-bottom: 1px solid var(--wo-border);
    padding-bottom: 8px;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--wo-muted);
    font-weight: 600;
    background: var(--wo-surface-soft) !important;
  }

  .wo26-attrs__value {
    padding-top: 10px;
    font-size: .95rem;
    color: var(--wo-text);
    font-weight: 500;
    background: var(--wo-white) !important;
  }

  .wo26-attrs__row:nth-child(even) .wo26-attrs__value {
    background: var(--wo-white) !important;
  }
}

/* ── Wyszukiwarka produktów (header) ─────────────────────────────────────── */

.wo26-store-search {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 1 340px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(242, 208, 139, .18);
  border-radius: 999px;
  overflow: hidden;
  padding: 0 0 0 4px;
}

.wo26-store-search input {
  flex: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: .88rem;
  padding: 10px 12px;
  min-width: 0;
}

.wo26-store-search input::placeholder {
  color: rgba(255, 247, 227, .44);
}

.wo26-store-search input:focus {
  outline: none;
  box-shadow: none;
}

.wo26-store-search button {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--wo-yellow);
  color: #111;
  border: 0;
  border-radius: 999px;
  font-size: 1.1rem;
  cursor: pointer;
  margin: 3px;
  transition: background .18s;
}

.wo26-store-search button:hover {
  background: var(--wo-orange);
}

/* ── Blok ceny netto/brutto/VAT ──────────────────────────────────────────── */

.wo26-price-block {
  margin-bottom: 22px;
}

/* Główna cena brutto */
.wo26-price-block__main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.wo26-price-block__gross {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--wo-green-dark);
  letter-spacing: -.04em;
  line-height: 1;
}

.wo26-price-block__gross .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.wo26-price-block__gross-label {
  font-size: .84rem;
  font-weight: 500;
  color: var(--wo-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  align-self: flex-end;
  padding-bottom: 4px;
}

/* Przekreślona cena przed promocją */
.wo26-price-block__was {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--wo-muted);
  text-decoration: line-through;
  align-self: flex-end;
  padding-bottom: 4px;
}

.wo26-price-block__was .woocommerce-Price-amount {
  color: var(--wo-muted);
}

/* Badge promocji */
.wo26-price-block__sale-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wo-yellow), var(--wo-orange));
  color: #111;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  align-self: flex-end;
  padding-bottom: 6px;
}

/* Tabelka netto/VAT/brutto */
.wo26-price-block__details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--wo-border);
  border-radius: var(--wo-radius-sm);
  overflow: hidden;
  max-width: 340px;
}

.wo26-price-block__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 16px;
  background: var(--wo-white);
  border-bottom: 1px solid var(--wo-border);
  font-size: .88rem;
}

.wo26-price-block__row:last-child {
  border-bottom: none;
}

.wo26-price-block__label {
  color: var(--wo-muted);
  font-weight: 400;
}

.wo26-price-block__value {
  font-weight: 600;
  color: var(--wo-text);
}

.wo26-price-block__value .woocommerce-Price-amount {
  font-weight: inherit;
  color: inherit;
}

/* Wiersz "Cena brutto" — wyróżniony */
.wo26-price-block__row--total {
  background: var(--wo-surface-soft);
}

.wo26-price-block__row--total .wo26-price-block__label {
  color: var(--wo-text);
  font-weight: 600;
}

.wo26-price-block__row--total .wo26-price-block__value {
  color: var(--wo-green-dark);
  font-size: 1rem;
}

/* ── Brak w magazynie ────────────────────────────────────────────────────── */

.wo26-out-of-stock {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 28px 24px;
  border: 1.5px dashed var(--wo-border);
  border-radius: var(--wo-radius);
  background: var(--wo-surface-soft);
  max-width: 480px;
}

.wo26-out-of-stock__icon {
  color: var(--wo-muted);
  opacity: .55;
  width: 40px;
}

.wo26-out-of-stock__title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--wo-text);
  letter-spacing: -.02em;
}

.wo26-out-of-stock__text {
  margin: 0;
  font-size: .9rem;
  color: var(--wo-muted);
  line-height: 1.65;
}

.wo26-out-of-stock__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wo26-out-of-stock__actions .wo26-btn {
  font-size: .88rem;
  min-height: 42px;
  padding: 10px 20px;
}

/* ── Etykieta ilości i czas dostawy ──────────────────────────────────────── */

.wo26-qty-label {
  margin: 0 0 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--wo-muted);
  letter-spacing: .01em;
}

.wo26-delivery-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 0;
  padding: 9px 16px;
  background: var(--wo-surface-soft);
  border: 1px solid var(--wo-border);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--wo-green-dark);
}

.wo26-delivery-time svg {
  flex-shrink: 0;
  color: var(--wo-green);
}

/* Ukryj widżety rat / finansowania — fallback CSS gdy hook nie trafi */
.paypo-widget,
.twisto-widget,
.klarna-osm-widget,
[class*="installment"],
[class*="raty"],
[id*="installment"],
[id*="financing"] {
  display: none !important;
}

/* ── Cart Drawer — szuflada koszyka ──────────────────────────────────────── */

/* Overlay */
#wo26-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1099;
  background: rgba(10, 10, 10, .52);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

#wo26-cart-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

/* Szuflada */
#wo26-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  background: var(--wo-white);
  box-shadow: -24px 0 80px rgba(10, 10, 10, .18);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

#wo26-cart-drawer[aria-hidden="false"] {
  transform: translateX(0);
}

/* Nagłówek szuflady */
.wo26-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--wo-border);
  flex-shrink: 0;
}

.wo26-drawer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--wo-text);
  letter-spacing: -.02em;
  margin: 0;
}

.wo26-drawer__title svg {
  color: var(--wo-green-dark);
}

.wo26-drawer__count-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--wo-green);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

.wo26-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--wo-border);
  border-radius: 10px;
  background: transparent;
  color: var(--wo-muted);
  cursor: pointer;
  transition: background .18s, color .18s;
  flex-shrink: 0;
}

.wo26-drawer__close:hover {
  background: var(--wo-surface-soft);
  color: var(--wo-text);
}

/* Zawartość (scrollowalna) */
.wo26-drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
}

/* Pusty koszyk */
.wo26-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 48px 28px;
  height: 100%;
}

.wo26-drawer__empty-icon {
  margin-bottom: 8px;
  opacity: .6;
}

.wo26-drawer__empty-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--wo-text);
}

.wo26-drawer__empty-text {
  font-size: .88rem;
  color: var(--wo-muted);
  margin: 0 0 12px;
}

.wo26-drawer__shop-btn {
  font-size: .88rem;
  min-height: 42px;
  padding: 10px 22px;
}

/* Lista produktów */
.wo26-drawer__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wo26-drawer__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--wo-border);
  transition: background .15s;
}

.wo26-drawer__item:hover {
  background: var(--wo-surface-soft);
}

.wo26-drawer__item-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--wo-surface-soft);
  display: block;
}

.wo26-drawer__item-img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover;
  display: block;
}

.wo26-drawer__item-body {
  flex: 1;
  min-width: 0;
}

.wo26-drawer__item-name {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--wo-text);
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wo26-drawer__item-name:hover {
  color: var(--wo-green-dark);
}

.wo26-drawer__item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wo26-drawer__item-qty {
  font-size: .8rem;
  color: var(--wo-muted);
  background: var(--wo-surface-soft);
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid var(--wo-border);
}

.wo26-drawer__item-price {
  font-size: .95rem;
  font-weight: 700;
  color: var(--wo-green-dark);
}

.wo26-drawer__item-price .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.wo26-drawer__item-remove {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 8px;
  color: var(--wo-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
  text-decoration: none;
}

.wo26-drawer__item-remove:hover {
  background: #fff0f0;
  color: #b91c1c;
  border-color: #fecaca;
}

/* Stopka szuflady */
.wo26-drawer__footer {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--wo-border);
  flex-shrink: 0;
  background: var(--wo-white);
}

.wo26-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 1rem;
}

.wo26-drawer__subtotal>span:first-child {
  color: var(--wo-muted);
  font-weight: 400;
}

.wo26-drawer__subtotal-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--wo-green-dark);
  letter-spacing: -.03em;
}

.wo26-drawer__subtotal-price .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.wo26-drawer__tax-note {
  font-size: .76rem;
  color: var(--wo-muted);
  margin: 0 0 16px;
}

.wo26-drawer__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wo26-drawer__btn-cart,
.wo26-drawer__btn-checkout {
  display: flex !important;
  justify-content: center;
  font-size: .9rem !important;
  min-height: 46px !important;
  padding: 12px 16px !important;
}

.wo26-drawer__btn-checkout {
  background: linear-gradient(135deg, #43b34b, var(--wo-green-dark)) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(31, 122, 60, .28) !important;
}

.wo26-drawer__btn-checkout:hover {
  background: linear-gradient(135deg, #3da644, #196833) !important;
}

/* ── Przycisk triggera (przyklejony) ─────────────────────────────────────── */

#wo26-cart-trigger {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 16px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--wo-bg);
  color: #fff;
  font-family: var(--wo-font);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(10, 10, 10, .32), 0 2px 8px rgba(10, 10, 10, .18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}

#wo26-cart-trigger:hover {
  transform: translateY(-2px);
  background: #1a1a1a;
  box-shadow: 0 14px 40px rgba(10, 10, 10, .36);
}

#wo26-cart-trigger svg {
  flex-shrink: 0;
  color: var(--wo-yellow);
}

.wo26-cart-trigger__count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--wo-green);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  margin-left: 2px;
}

/* Na mobile: tylko ikona + liczba */
@media (max-width: 640px) {
  #wo26-cart-trigger {
    bottom: 80px;
    /* nad mobilnym barem motywu */
    right: 16px;
    padding: 0;
    width: 52px;
    justify-content: center;
  }

  .wo26-cart-trigger__label {
    display: none;
  }

  .wo26-cart-trigger__count {
    position: absolute;
    top: -6px;
    right: -6px;
    margin: 0;
  }
}

/* Blokuj scroll body gdy szuflada otwarta */
body.wo26-drawer-open {
  overflow: hidden;
}

/* ── Responsywność ────────────────────────────────────────────────────────── */

@media (max-width: 480px) {

  ul.products,
  ul.wo26-products {
    grid-template-columns: 1fr;
  }

  .wo26-product-card__footer .button,
  .wo26-product-card__footer a.button {
    font-size: .84rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SZABLON „KATALOG PRODUKTÓW" (template-katalog.php)
   Sidebar filtrów + wybór kategorii + siatka produktów
   ═══════════════════════════════════════════════════════════════════════════ */

.wo26-katalog {
  --k-ink: #14201b;
  --k-soft: #5c6d63;
  --k-line: #e4ede8;
  --k-line2: #d7e5dc;
  --k-tint: #f6faf7;
  --k-green: #1f7a3c;
  background: #eef3f0;
  padding-block: clamp(28px, 4vw, 56px);
}

.wo26-katalog__layout {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .wo26-katalog__layout {
    grid-template-columns: 1fr;
  }
}

/* ── Sidebar filtrów ──────────────────────────────────────────────────────── */
.wo26-katalog__sidebar {
  position: sticky;
  top: 100px;
}

@media (max-width: 900px) {
  .wo26-katalog__sidebar {
    position: static;
  }
}

.wo26-filters {
  background: #fff;
  border: 1px solid var(--k-line2);
  border-radius: 16px;
  padding: 6px 20px 20px;
  box-shadow: 0 2px 14px rgba(20, 32, 27, .05);
}

.wo26-filters__group {
  padding: 16px 0;
  border-bottom: 1px solid var(--k-line);
}

.wo26-filters__group:last-of-type {
  border-bottom: none;
}

.wo26-filters__label {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--k-soft);
  margin-bottom: 10px;
}

/* Szukaj */
.wo26-filters__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--k-line2);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s;
}

.wo26-filters__search:focus-within {
  border-color: var(--k-green);
}

.wo26-filters__search svg {
  color: var(--k-soft);
  flex-shrink: 0;
}

.wo26-filters__search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 10px 0;
  font-size: .9rem;
  color: var(--k-ink);
  background: transparent;
}

/* Kategorie */
.wo26-filters__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 320px;
  overflow-y: auto;
}

.wo26-filters__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: .9rem;
  color: var(--k-ink);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.wo26-filters__cat:hover {
  background: var(--k-tint);
  color: var(--k-green);
}

.wo26-filters__cat.is-active {
  background: var(--k-green);
  color: #fff;
  font-weight: 600;
}

.wo26-filters__cat-count {
  flex-shrink: 0;
  font-size: .74rem;
  font-weight: 600;
  color: var(--k-soft);
  background: var(--k-tint);
  border-radius: 999px;
  padding: 1px 8px;
}

.wo26-filters__cat:hover .wo26-filters__cat-count {
  background: #fff;
}

.wo26-filters__cat.is-active .wo26-filters__cat-count {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}

/* Cena */
.wo26-filters__price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wo26-filters__price input {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--k-line2);
  border-radius: 9px;
  font-size: .88rem;
  color: var(--k-ink);
  outline: none;
  transition: border-color .2s;
}

.wo26-filters__price input:focus {
  border-color: var(--k-green);
}

.wo26-filters__price-sep {
  color: var(--k-soft);
}

/* Checkbox dostępności */
.wo26-filters__check {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid var(--k-line2);
  border-radius: 10px;
  background: #fff;
  font-size: .88rem;
  line-height: 1.3;
  color: var(--k-ink);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.wo26-filters__check:hover {
  border-color: #c3d8cb;
  background: var(--k-tint);
}

.wo26-filters__check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--k-green);
  cursor: pointer;
}

.wo26-filters__check span {
  flex: 1 1 auto;
  min-width: 0;
}

/* Akcje */
.wo26-filters__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.wo26-filters__apply {
  flex: 1;
  justify-content: center;
  min-height: 46px;
  font-weight: 700;
  background: linear-gradient(135deg, #43b34b, #1f7a3c) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 10px 22px rgba(31, 122, 60, .26) !important;
}

.wo26-filters__reset {
  font-size: .85rem;
  color: var(--k-soft);
  text-decoration: underline;
  white-space: nowrap;
}

.wo26-filters__reset:hover {
  color: var(--k-green);
}

/* ── Główna kolumna ───────────────────────────────────────────────────────── */
.wo26-katalog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--k-line2);
  border-radius: 14px;
}

.wo26-katalog__count {
  font-size: .9rem;
  color: var(--k-soft);
}

.wo26-katalog__count strong {
  color: var(--k-ink);
}

.wo26-katalog__sort select {
  padding: 9px 34px 9px 14px;
  border: 1px solid var(--k-line2);
  border-radius: 10px;
  font-size: .88rem;
  color: var(--k-ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5l3-3' stroke='%235c6d63' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.wo26-katalog__sort select:focus {
  border-color: var(--k-green);
}

/* Paginacja */
.wo26-katalog__pagination {
  margin-top: 32px;
}

.wo26-katalog__pagination ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.wo26-katalog__pagination a,
.wo26-katalog__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--k-line2);
  background: #fff;
  color: var(--k-ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
}

.wo26-katalog__pagination a:hover {
  background: var(--k-tint);
  border-color: var(--k-green);
  color: var(--k-green);
}

.wo26-katalog__pagination .current {
  background: var(--k-green);
  border-color: var(--k-green);
  color: #fff;
}

/* Pusty stan */
.wo26-katalog__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 64px 24px;
  background: #fff;
  border: 1px solid var(--k-line2);
  border-radius: 18px;
}

.wo26-katalog__empty h2 {
  margin: 6px 0 0;
  font-size: 1.3rem;
  color: var(--k-ink);
}

.wo26-katalog__empty p {
  margin: 0 0 8px;
  color: var(--k-soft);
  max-width: 380px;
}

/* Siatka wewnątrz katalogu — 3 kolumny na desktopie */
.wo26-katalog__main .wo26-products {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Katalog: tytuły produktów oraz h2/h3 maks. 18px */
.wo26-katalog .wo26-product-card__title,
.wo26-katalog .wo26-product-card__title a,
.wo26-katalog h2,
.wo26-katalog h3 {
  font-size: 18px !important;
  line-height: 1.3;
}

/* ── Dostępność magazynowa na stronie produktu ───────────────────────────── */
.wo26-stock-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 4px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.wo26-stock-status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wo26-stock-status--is-in {
  color: #1f7a3c;
  background: #eef7f0;
  border-color: #cfe6d6;
}

.wo26-stock-status--is-in .wo26-stock-status__dot {
  background: #22a34a;
  box-shadow: 0 0 0 3px rgba(34, 163, 74, .18);
}

.wo26-stock-status--is-low {
  color: #b45309;
  background: #fef6e7;
  border-color: #f5dca6;
}

.wo26-stock-status--is-low .wo26-stock-status__dot {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .18);
}

.wo26-stock-status--is-out {
  color: #9aa8a0;
  background: #f2f4f3;
  border-color: #e0e6e2;
}

.wo26-stock-status--is-out .wo26-stock-status__dot {
  background: #b6c0ba;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Szybki wybór kategorii — sekcja na dole katalogu
   ═══════════════════════════════════════════════════════════════════════════ */
.wo26-cat-picker {
  background: #fff;
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid #e4ede8;
}

.wo26-cat-picker__head {
  text-align: center;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.wo26-cat-picker__title {
  font-size: clamp(1.4rem, 3vw, 2rem) !important;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #14201b;
  margin: 0 0 8px;
}

.wo26-cat-picker__sub {
  margin: 0;
  color: #5c6d63;
  font-size: 1rem;
}

.wo26-cat-picker__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .wo26-cat-picker__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .wo26-cat-picker__grid {
    grid-template-columns: 1fr;
  }
}

.wo26-cat-picker__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid #d7e5dc;
  border-radius: 16px;
  background: #f6faf7;
  text-decoration: none;
  color: #14201b;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.wo26-cat-picker__card:hover {
  transform: translateY(-3px);
  border-color: #43b34b;
  background: #fff;
  box-shadow: 0 16px 34px rgba(31, 122, 60, .14);
  color: #1f7a3c;
}

.wo26-cat-picker__img {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e4ede8;
  overflow: hidden;
}

.wo26-cat-picker__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.wo26-cat-picker__name {
  flex: 1 1 auto;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.wo26-cat-picker__arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d7e5dc;
  color: #1f7a3c;
  transition: transform .18s ease, background .18s ease;
}

.wo26-cat-picker__card:hover .wo26-cat-picker__arrow {
  transform: translateX(3px);
  background: #eef7f0;
}