.elementor-6 .elementor-element.elementor-element-774b20f4{--display:flex;}/* Start custom CSS *//* ==========================================================
   NAVAS — NOWOCZESNY KOSZYK
   Zakres: wyłącznie strona WooCommerce „Koszyk”
   Motyw: Shoptimizer + Elementor Pro
   ========================================================== */

body.woocommerce-cart {
  --navas-navy: #07083f;
  --navas-navy-2: #141653;
  --navas-red: #b82638;
  --navas-red-dark: #9f1f30;
  --navas-ink: #11162a;
  --navas-muted: #687189;
  --navas-line: #dce1eb;
  --navas-soft: #f4f6fa;
  --navas-white: #ffffff;
  --navas-radius: 16px;
  --navas-shadow: 0 14px 40px rgba(7, 8, 63, 0.08);
}

/* ---------- Tło i szerokość strony ---------- */
body.woocommerce-cart .site-content {
  overflow: visible;
  padding: 0 0 76px;
  background: var(--navas-soft);
}

body.woocommerce-cart .site-content > .col-full {
  width: 100%;
  max-width: 1460px !important;
  margin-inline: auto;
  padding-inline: 34px !important;
}

body.woocommerce-cart .content-area {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-cart #secondary {
  display: none !important;
}

/* ---------- Tytuł strony ---------- */
body.woocommerce-cart .entry-header {
  position: relative;
  margin: 0;
  padding: 48px 0 26px;
  text-align: left;
}

body.woocommerce-cart .entry-header::before {
  display: block;
  margin-bottom: 8px;
  color: var(--navas-red);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  content: "Bezpieczne zamówienie";
}

body.woocommerce-cart .entry-header::after {
  display: block;
  margin-top: 8px;
  color: var(--navas-muted);
  font-size: 16px;
  line-height: 1.55;
  content: "Sprawdź produkty, ilości i dostawę przed przejściem do płatności.";
}

body.woocommerce-cart .entry-title {
  display: block !important;
  margin: 0 !important;
  color: var(--navas-ink);
  font-size: clamp(34px, 3.2vw, 50px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em;
}

/* ---------- Pasek etapów zamówienia ---------- */
body.woocommerce-cart .checkout-wrap {
  width: 100%;
  max-width: none;
  margin: 0 0 30px;
  padding: 0;
}

body.woocommerce-cart .checkout-bar {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100% !important;
  min-height: 74px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--navas-line);
  border-radius: 14px;
  background: var(--navas-white);
  box-shadow: 0 7px 24px rgba(7, 8, 63, 0.05);
  list-style: none;
}

body.woocommerce-cart .checkout-bar::before,
body.woocommerce-cart .checkout-bar::after {
  display: none !important;
}

body.woocommerce-cart .checkout-bar li {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 74px;
  margin: 0 !important;
  padding: 16px 22px 16px 56px !important;
  color: var(--navas-muted) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  text-align: center;
  background: transparent !important;
}

body.woocommerce-cart .checkout-bar li:not(:last-child) {
  border-right: 1px solid var(--navas-line);
}

body.woocommerce-cart .checkout-bar li::before {
  position: absolute !important;
  top: 50% !important;
  left: max(18px, calc(50% - 78px)) !important;
  z-index: 2;
  display: grid !important;
  place-items: center;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  border: 1px solid var(--navas-line) !important;
  border-radius: 50% !important;
  background: #eef1f7 !important;
  color: var(--navas-muted) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 30px !important;
  transform: translateY(-50%) !important;
  box-shadow: none !important;
}

body.woocommerce-cart .checkout-bar li:nth-child(1)::before { content: "1" !important; }
body.woocommerce-cart .checkout-bar li:nth-child(2)::before { content: "2" !important; }
body.woocommerce-cart .checkout-bar li:nth-child(3)::before { content: "3" !important; }

body.woocommerce-cart .checkout-bar li.active {
  color: var(--navas-navy) !important;
  background: rgba(7, 8, 63, 0.035) !important;
}

body.woocommerce-cart .checkout-bar li.active::before {
  border-color: var(--navas-navy) !important;
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
}

body.woocommerce-cart .checkout-bar li.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block !important;
  width: auto !important;
  height: 3px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--navas-red) !important;
  content: "" !important;
  transform: none !important;
}

/* ---------- Główny układ koszyka ---------- */
body.woocommerce-cart .woocommerce {
  width: 100%;
}

body.woocommerce-cart .shoptimizer-cart-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1.62fr) minmax(350px, 0.82fr);
  align-items: start;
  gap: 26px;
  width: 100%;
  margin: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals {
  overflow: hidden;
  border: 1px solid var(--navas-line);
  border-radius: var(--navas-radius);
  background: var(--navas-white);
  box-shadow: var(--navas-shadow);
}

body.woocommerce-cart .woocommerce-cart-form {
  width: 100% !important;
  margin: 0 !important;
}

/* ---------- Lista produktów ---------- */
body.woocommerce-cart table.shop_table.cart,
body.woocommerce-cart table.shop_table.cart tbody {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
}

body.woocommerce-cart table.shop_table.cart thead {
  display: none !important;
}

body.woocommerce-cart table.shop_table.cart tr.cart_item {
  position: relative;
  display: grid !important;
  grid-template-columns: 108px minmax(0, 1fr) 118px 132px;
  grid-template-areas: "thumb name qty subtotal";
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 148px;
  margin: 0 !important;
  padding: 24px 22px;
  border: 0 !important;
  border-bottom: 1px solid var(--navas-line) !important;
  background: var(--navas-white);
}

body.woocommerce-cart table.shop_table.cart tr.cart_item td {
  display: block !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail {
  grid-area: thumb;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
  display: grid;
  place-items: center;
  width: 108px;
  height: 100px;
  overflow: hidden;
  border: 1px solid #e2e5ed;
  border-radius: 12px;
  background: #e8e8ed;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
}

body.woocommerce-cart table.shop_table.cart .product-name {
  grid-area: name;
  padding-right: 4px !important;
  color: var(--navas-ink);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
}

body.woocommerce-cart table.shop_table.cart .product-name > a {
  color: var(--navas-ink) !important;
  text-decoration: none !important;
}

body.woocommerce-cart table.shop_table.cart .product-name > a:hover,
body.woocommerce-cart table.shop_table.cart .product-name > a:focus-visible {
  color: var(--navas-red) !important;
}

body.woocommerce-cart table.shop_table.cart .product-price {
  display: none !important;
}

body.woocommerce-cart table.shop_table.cart .product-quantity {
  grid-area: qty;
}

body.woocommerce-cart table.shop_table.cart .product-subtotal {
  grid-area: subtotal;
  padding-right: 22px !important;
  color: var(--navas-navy);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  text-align: right !important;
  white-space: nowrap;
}

body.woocommerce-cart table.shop_table.cart .product-remove {
  position: absolute !important;
  top: 13px;
  right: 13px;
  z-index: 3;
  display: block !important;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove {
  display: grid !important;
  place-items: center;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid transparent !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #8b93a6 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove:hover,
body.woocommerce-cart table.shop_table.cart .product-remove a.remove:focus-visible {
  border-color: rgba(184, 38, 56, 0.16) !important;
  background: rgba(184, 38, 56, 0.08) !important;
  color: var(--navas-red) !important;
}

/* Termin wysyłki */
body.woocommerce-cart table.shop_table.cart .wpced {
  display: inline-flex !important;
  max-width: 100%;
  margin: 10px 0 0 !important;
  padding: 7px 10px !important;
  border: 1px solid #e6e9f0;
  border-radius: 8px;
  background: #f7f8fb !important;
  color: #596278 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

body.woocommerce-cart table.shop_table.cart .wpced-inner {
  color: inherit !important;
  font-size: inherit !important;
}

/* Ilość produktu */
body.woocommerce-cart table.shop_table.cart .quantity {
  position: relative;
  display: grid !important;
  grid-template-columns: 36px 42px 36px;
  grid-template-rows: 40px;
  width: 114px !important;
  height: 40px !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #cfd5e1 !important;
  border-radius: 9px !important;
  background: var(--navas-white) !important;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty {
  grid-column: 2;
  grid-row: 1;
  width: 42px !important;
  min-width: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1px solid #e4e7ee !important;
  border-left: 1px solid #e4e7ee !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--navas-ink) !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 40px !important;
  text-align: center !important;
  box-shadow: none !important;
  appearance: textfield;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty::-webkit-outer-spin-button,
body.woocommerce-cart table.shop_table.cart .quantity .qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

body.woocommerce-cart table.shop_table.cart .quantity-nav {
  display: contents !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-button {
  position: static !important;
  display: grid !important;
  place-items: center;
  width: 36px !important;
  height: 40px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--navas-navy) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  cursor: pointer;
  transform: none !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-button:hover {
  background: #f0f2f7 !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-up {
  grid-column: 3;
  grid-row: 1;
}

body.woocommerce-cart table.shop_table.cart .quantity-down {
  grid-column: 1;
  grid-row: 1;
}

body.woocommerce-cart table.shop_table.cart .quantity-up::before,
body.woocommerce-cart table.shop_table.cart .quantity-down::before {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  color: inherit !important;
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transform: none !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-up::before { content: "+" !important; }
body.woocommerce-cart table.shop_table.cart .quantity-down::before { content: "−" !important; }

/* ---------- Kupon i aktualizacja koszyka ---------- */
body.woocommerce-cart table.shop_table.cart tr:last-child:not(.cart_item) {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
}

body.woocommerce-cart table.shop_table.cart td.actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100% !important;
  margin: 0 !important;
  padding: 20px 22px !important;
  border: 0 !important;
  background: #fbfcfe !important;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  gap: 9px;
  max-width: 420px;
  margin: 0 !important;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

body.woocommerce-cart table.shop_table.cart #coupon_code {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #cfd5e1 !important;
  border-radius: 9px !important;
  background: var(--navas-white) !important;
  color: var(--navas-ink) !important;
  font-size: 15px !important;
  box-shadow: none !important;
}

body.woocommerce-cart table.shop_table.cart #coupon_code:focus {
  border-color: var(--navas-navy) !important;
  outline: 3px solid rgba(7, 8, 63, 0.09) !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button {
  min-height: 46px;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid var(--navas-navy) !important;
  border-radius: 9px !important;
  background: var(--navas-white) !important;
  color: var(--navas-navy) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 44px !important;
  text-transform: none !important;
  box-shadow: none !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button:hover:not(:disabled) {
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button:disabled,
body.woocommerce-cart table.shop_table.cart td.actions button.button.disabled {
  border-color: #e1e5ed !important;
  background: #eef1f5 !important;
  color: #9aa2b2 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

/* ---------- Podsumowanie ---------- */
body.woocommerce-cart .cart-collaterals {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-cart .cart_totals {
  position: sticky;
  top: 18px;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 24px 24px;
  border-top: 4px solid var(--navas-red);
}

body.woocommerce-cart .cart_totals h2 {
  display: block !important;
  margin: 0 -24px !important;
  padding: 23px 24px 19px !important;
  border-bottom: 1px solid var(--navas-line);
  color: var(--navas-ink) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
}

body.woocommerce-cart .cart_totals table.shop_table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr {
  border: 0 !important;
  border-bottom: 1px solid var(--navas-line) !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  padding: 18px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--navas-ink) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  vertical-align: top !important;
}

body.woocommerce-cart .cart_totals table.shop_table th {
  width: 38%;
  padding-right: 14px !important;
  font-weight: 750 !important;
  text-align: left !important;
}

body.woocommerce-cart .cart_totals table.shop_table td {
  width: 62%;
  text-align: right !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
  color: #444d63 !important;
  text-align: left !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
  margin: 0 0 9px !important;
  padding: 11px 12px !important;
  border: 1px solid #e0e4ed;
  border-radius: 9px;
  background: #f7f8fb;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator {
  margin: 8px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body.woocommerce-cart .cart_totals .shipping-calculator-button {
  color: var(--navas-navy) !important;
  font-weight: 750 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

body.woocommerce-cart .cart_totals .order-total {
  border-bottom: 0 !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
  padding-top: 22px !important;
  padding-bottom: 10px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .cart_totals .order-total .amount {
  color: var(--navas-navy) !important;
  font-size: 24px !important;
  font-weight: 850 !important;
  white-space: nowrap;
}

body.woocommerce-cart .cart_totals .includes_tax {
  display: block;
  margin-top: 4px;
  color: var(--navas-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* ---------- Karta podarunkowa ---------- */
body.woocommerce-cart #pwgc-redeem-gift-card-form {
  margin: 18px 0 0 !important;
  padding: 15px !important;
  border: 1px solid var(--navas-line);
  border-radius: 11px;
  background: #f8f9fc;
}

body.woocommerce-cart #pwgc-redeem-gift-card-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  width: 100%;
}

body.woocommerce-cart #pwgc-redeem-gift-card-container label {
  grid-column: 1 / -1;
  margin: 0 !important;
  color: var(--navas-ink) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

body.woocommerce-cart #pwgc-redeem-gift-card-number {
  width: 100% !important;
  min-width: 0;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #cfd5e1 !important;
  border-radius: 8px !important;
  background: var(--navas-white) !important;
  color: var(--navas-ink) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

body.woocommerce-cart #pwgc-redeem-button {
  min-width: 94px;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--navas-navy) !important;
  border-radius: 8px !important;
  background: var(--navas-white) !important;
  color: var(--navas-navy) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 42px !important;
  box-shadow: none !important;
}

body.woocommerce-cart #pwgc-redeem-button:hover {
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
}

/* ---------- Główny przycisk i zaufanie ---------- */
body.woocommerce-cart .wc-proceed-to-checkout {
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 56px;
  margin: 0 !important;
  padding: 14px 20px !important;
  border: 1px solid var(--navas-navy) !important;
  border-radius: 10px !important;
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: center;
  text-transform: none !important;
  box-shadow: 0 10px 24px rgba(7, 8, 63, 0.16) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus-visible {
  border-color: var(--navas-red) !important;
  background: var(--navas-red) !important;
  color: var(--navas-white) !important;
  transform: translateY(-1px);
}

body.woocommerce-cart .wc-proceed-to-checkout::after {
  display: block;
  margin-top: 14px;
  padding: 13px 12px;
  border: 1px solid var(--navas-line);
  border-radius: 9px;
  background: #f8f9fc;
  color: #4f586e;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
  content: "✓ Bezpieczne płatności  •  ✓ Faktura dla placówki  •  ✓ Polska obsługa";
}

/* Ukrywa przypadkową grafikę z wersji demonstracyjnej Shoptimizera. */
body.woocommerce-cart .cart-custom-field {
  display: none !important;
}

/* ---------- Komunikaty WooCommerce ---------- */
body.woocommerce-cart .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
  margin: 0 0 22px !important;
  padding: 16px 18px 16px 50px !important;
  border: 1px solid var(--navas-line) !important;
  border-left: 4px solid var(--navas-navy) !important;
  border-radius: 10px !important;
  background: var(--navas-white) !important;
  color: var(--navas-ink) !important;
  box-shadow: 0 6px 18px rgba(7, 8, 63, 0.05);
}

body.woocommerce-cart .woocommerce-error {
  border-left-color: var(--navas-red) !important;
}

/* ---------- Pusty koszyk ---------- */
body.woocommerce-cart .cart-empty.woocommerce-info {
  max-width: 720px;
  margin: 16px auto 20px !important;
  padding: 34px 28px !important;
  border-left: 1px solid var(--navas-line) !important;
  text-align: center;
}

body.woocommerce-cart .return-to-shop {
  margin: 0;
  text-align: center;
}

body.woocommerce-cart .return-to-shop .button {
  min-height: 50px;
  padding: 14px 22px !important;
  border-radius: 9px !important;
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
  font-weight: 800 !important;
  text-transform: none !important;
}

body.woocommerce-cart .return-to-shop .button:hover {
  background: var(--navas-red) !important;
  color: var(--navas-white) !important;
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  body.woocommerce-cart .site-content > .col-full {
    padding-inline: 24px !important;
  }

  body.woocommerce-cart .shoptimizer-cart-wrapper {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    gap: 20px;
  }

  body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 92px minmax(0, 1fr) 112px;
    grid-template-areas:
      "thumb name subtotal"
      "thumb qty subtotal";
    gap: 10px 16px;
  }

  body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
    width: 92px;
    height: 88px;
  }

  body.woocommerce-cart table.shop_table.cart .product-name {
    font-size: 16px;
  }
}

/* ---------- Telefon i mały tablet ---------- */
@media (max-width: 820px) {
  body.woocommerce-cart .site-content {
    padding-bottom: 54px;
  }

  body.woocommerce-cart .site-content > .col-full {
    padding-inline: 16px !important;
  }

  body.woocommerce-cart .entry-header {
    padding: 32px 0 21px;
  }

  body.woocommerce-cart .entry-title {
    font-size: 36px !important;
  }

  body.woocommerce-cart .entry-header::after {
    max-width: 520px;
    font-size: 14px;
  }

  body.woocommerce-cart .checkout-wrap {
    margin-bottom: 20px;
  }

  body.woocommerce-cart .checkout-bar,
  body.woocommerce-cart .checkout-bar li {
    min-height: 64px;
  }

  body.woocommerce-cart .checkout-bar li {
    padding: 38px 6px 8px !important;
    font-size: 11px !important;
  }

  body.woocommerce-cart .checkout-bar li::before {
    top: 10px !important;
    left: 50% !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    line-height: 24px !important;
    transform: translateX(-50%) !important;
  }

  body.woocommerce-cart .shoptimizer-cart-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  body.woocommerce-cart .cart_totals {
    position: static;
  }
}

/* ---------- Telefon ---------- */
@media (max-width: 560px) {
  body.woocommerce-cart .site-content > .col-full {
    padding-inline: 12px !important;
  }

  body.woocommerce-cart .entry-header {
    padding-top: 26px;
  }

  body.woocommerce-cart .entry-title {
    font-size: 32px !important;
  }

  body.woocommerce-cart .entry-header::before {
    font-size: 10px;
  }

  body.woocommerce-cart .entry-header::after {
    font-size: 13px;
  }

  body.woocommerce-cart .checkout-bar li {
    font-size: 10px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart_totals {
    border-radius: 13px;
  }

  body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-areas:
      "thumb name"
      "thumb qty"
      "subtotal subtotal";
    gap: 11px 14px;
    min-height: 0;
    padding: 18px 16px;
  }

  body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
    width: 82px;
    height: 82px;
  }

  body.woocommerce-cart table.shop_table.cart .product-name {
    padding-right: 24px !important;
    font-size: 15px;
    line-height: 1.35;
  }

  body.woocommerce-cart table.shop_table.cart .wpced {
    padding: 6px 8px !important;
    font-size: 11px !important;
  }

  body.woocommerce-cart table.shop_table.cart .product-subtotal {
    padding-top: 14px !important;
    padding-right: 0 !important;
    border-top: 1px solid #edf0f5 !important;
    font-size: 18px;
    text-align: right !important;
  }

  body.woocommerce-cart table.shop_table.cart td.actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    padding: 16px !important;
  }

  body.woocommerce-cart table.shop_table.cart td.actions .coupon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
  }

  body.woocommerce-cart table.shop_table.cart td.actions button.button,
  body.woocommerce-cart table.shop_table.cart #coupon_code {
    width: 100% !important;
  }

  body.woocommerce-cart .cart_totals {
    padding: 0 17px 18px;
  }

  body.woocommerce-cart .cart_totals h2 {
    margin-inline: -17px !important;
    padding: 20px 17px 16px !important;
    font-size: 21px !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table th {
    width: 34%;
    padding-right: 8px !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table td {
    width: 66%;
  }

  body.woocommerce-cart .cart_totals .order-total .amount {
    font-size: 21px !important;
  }

  body.woocommerce-cart #pwgc-redeem-gift-card-container {
    grid-template-columns: minmax(0, 1fr);
  }

  body.woocommerce-cart #pwgc-redeem-gift-card-container label {
    grid-column: 1;
  }

  body.woocommerce-cart #pwgc-redeem-button {
    width: 100%;
  }

  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    min-height: 54px;
    font-size: 16px !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout::after {
    font-size: 11px;
  }
}

/* ---------- Dostępność ---------- */
body.woocommerce-cart a:focus-visible,
body.woocommerce-cart button:focus-visible,
body.woocommerce-cart input:focus-visible {
  outline: 3px solid rgba(184, 38, 56, 0.25) !important;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-cart *,
  body.woocommerce-cart *::before,
  body.woocommerce-cart *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* ==========================================================
   NAVAS — NOWOCZESNY KOSZYK
   Zakres: wyłącznie strona WooCommerce „Koszyk”
   Motyw: Shoptimizer + Elementor Pro
   ========================================================== */

body.woocommerce-cart {
  --navas-navy: #07083f;
  --navas-navy-2: #141653;
  --navas-red: #b82638;
  --navas-red-dark: #9f1f30;
  --navas-ink: #11162a;
  --navas-muted: #687189;
  --navas-line: #dce1eb;
  --navas-soft: #f4f6fa;
  --navas-white: #ffffff;
  --navas-radius: 16px;
  --navas-shadow: 0 14px 40px rgba(7, 8, 63, 0.08);
}

/* ---------- Tło i szerokość strony ---------- */
body.woocommerce-cart .site-content {
  overflow: visible;
  padding: 0 0 76px;
  background: var(--navas-soft);
}

body.woocommerce-cart .site-content > .col-full {
  width: 100%;
  max-width: 1460px !important;
  margin-inline: auto;
  padding-inline: 34px !important;
}

body.woocommerce-cart .content-area {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-cart #secondary {
  display: none !important;
}

/* ---------- Tytuł strony ---------- */
body.woocommerce-cart .entry-header {
  position: relative;
  margin: 0;
  padding: 48px 0 26px;
  text-align: left;
}

body.woocommerce-cart .entry-header::before {
  display: block;
  margin-bottom: 8px;
  color: var(--navas-red);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  content: "Bezpieczne zamówienie";
}

body.woocommerce-cart .entry-header::after {
  display: block;
  margin-top: 8px;
  color: var(--navas-muted);
  font-size: 16px;
  line-height: 1.55;
  content: "Sprawdź produkty, ilości i dostawę przed przejściem do płatności.";
}

body.woocommerce-cart .entry-title {
  display: block !important;
  margin: 0 !important;
  color: var(--navas-ink);
  font-size: clamp(34px, 3.2vw, 50px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em;
}

/* ---------- Pasek etapów zamówienia ---------- */
body.woocommerce-cart .checkout-wrap {
  width: 100%;
  max-width: none;
  margin: 0 0 30px;
  padding: 0;
}

body.woocommerce-cart .checkout-bar {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100% !important;
  min-height: 74px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--navas-line);
  border-radius: 14px;
  background: var(--navas-white);
  box-shadow: 0 7px 24px rgba(7, 8, 63, 0.05);
  list-style: none;
}

body.woocommerce-cart .checkout-bar::before,
body.woocommerce-cart .checkout-bar::after {
  display: none !important;
}

body.woocommerce-cart .checkout-bar li {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 74px;
  margin: 0 !important;
  padding: 16px 22px 16px 56px !important;
  color: var(--navas-muted) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  text-align: center;
  background: transparent !important;
}

body.woocommerce-cart .checkout-bar li:not(:last-child) {
  border-right: 1px solid var(--navas-line);
}

body.woocommerce-cart .checkout-bar li::before {
  position: absolute !important;
  top: 50% !important;
  left: max(18px, calc(50% - 78px)) !important;
  z-index: 2;
  display: grid !important;
  place-items: center;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  border: 1px solid var(--navas-line) !important;
  border-radius: 50% !important;
  background: #eef1f7 !important;
  color: var(--navas-muted) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 30px !important;
  transform: translateY(-50%) !important;
  box-shadow: none !important;
}

body.woocommerce-cart .checkout-bar li:nth-child(1)::before { content: "1" !important; }
body.woocommerce-cart .checkout-bar li:nth-child(2)::before { content: "2" !important; }
body.woocommerce-cart .checkout-bar li:nth-child(3)::before { content: "3" !important; }

body.woocommerce-cart .checkout-bar li.active {
  color: var(--navas-navy) !important;
  background: rgba(7, 8, 63, 0.035) !important;
}

body.woocommerce-cart .checkout-bar li.active::before {
  border-color: var(--navas-navy) !important;
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
}

body.woocommerce-cart .checkout-bar li.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block !important;
  width: auto !important;
  height: 3px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--navas-red) !important;
  content: "" !important;
  transform: none !important;
}

/* ---------- Główny układ koszyka ---------- */
body.woocommerce-cart .woocommerce {
  width: 100%;
}

body.woocommerce-cart .shoptimizer-cart-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1.62fr) minmax(350px, 0.82fr);
  align-items: start;
  gap: 26px;
  width: 100%;
  margin: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals {
  overflow: hidden;
  border: 1px solid var(--navas-line);
  border-radius: var(--navas-radius);
  background: var(--navas-white);
  box-shadow: var(--navas-shadow);
}

body.woocommerce-cart .woocommerce-cart-form {
  width: 100% !important;
  margin: 0 !important;
}

/* ---------- Lista produktów ---------- */
body.woocommerce-cart table.shop_table.cart,
body.woocommerce-cart table.shop_table.cart tbody {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
}

body.woocommerce-cart table.shop_table.cart thead {
  display: none !important;
}

body.woocommerce-cart table.shop_table.cart tr.cart_item {
  position: relative;
  display: grid !important;
  grid-template-columns: 108px minmax(0, 1fr) 118px 132px;
  grid-template-areas: "thumb name qty subtotal";
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 148px;
  margin: 0 !important;
  padding: 24px 22px;
  border: 0 !important;
  border-bottom: 1px solid var(--navas-line) !important;
  background: var(--navas-white);
}

body.woocommerce-cart table.shop_table.cart tr.cart_item td {
  display: block !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail {
  grid-area: thumb;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
  display: grid;
  place-items: center;
  width: 108px;
  height: 100px;
  overflow: hidden;
  border: 1px solid #e2e5ed;
  border-radius: 12px;
  background: #e8e8ed;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
}

body.woocommerce-cart table.shop_table.cart .product-name {
  grid-area: name;
  padding-right: 4px !important;
  color: var(--navas-ink);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
}

body.woocommerce-cart table.shop_table.cart .product-name > a {
  color: var(--navas-ink) !important;
  text-decoration: none !important;
}

body.woocommerce-cart table.shop_table.cart .product-name > a:hover,
body.woocommerce-cart table.shop_table.cart .product-name > a:focus-visible {
  color: var(--navas-red) !important;
}

body.woocommerce-cart table.shop_table.cart .product-price {
  display: none !important;
}

/* Shoptimizer wymusza własny display dla ceny na części szerokości.
   Ten bardziej precyzyjny selektor usuwa tylko cenę jednostkową;
   suma produktu po prawej nadal pozostaje widoczna. */
body.woocommerce-cart .woocommerce .woocommerce-cart-form table.shop_table.cart tr.cart_item td.product-price {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.woocommerce-cart table.shop_table.cart .product-quantity {
  grid-area: qty;
}

body.woocommerce-cart table.shop_table.cart .product-subtotal {
  grid-area: subtotal;
  padding-right: 22px !important;
  color: var(--navas-navy);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  text-align: right !important;
  white-space: nowrap;
}

body.woocommerce-cart table.shop_table.cart .product-remove {
  position: absolute !important;
  top: 13px;
  right: 13px;
  z-index: 3;
  display: block !important;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove {
  display: grid !important;
  place-items: center;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid transparent !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #8b93a6 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove:hover,
body.woocommerce-cart table.shop_table.cart .product-remove a.remove:focus-visible {
  border-color: rgba(184, 38, 56, 0.16) !important;
  background: rgba(184, 38, 56, 0.08) !important;
  color: var(--navas-red) !important;
}

/* Termin wysyłki */
body.woocommerce-cart table.shop_table.cart .wpced {
  display: inline-flex !important;
  max-width: 100%;
  margin: 10px 0 0 !important;
  padding: 7px 10px !important;
  border: 1px solid #e6e9f0;
  border-radius: 8px;
  background: #f7f8fb !important;
  color: #596278 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

body.woocommerce-cart table.shop_table.cart .wpced-inner {
  color: inherit !important;
  font-size: inherit !important;
}

/* Ilość produktu */
body.woocommerce-cart table.shop_table.cart .quantity {
  position: relative;
  display: grid !important;
  grid-template-columns: 36px 42px 36px;
  grid-template-rows: 40px;
  width: 114px !important;
  height: 40px !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #cfd5e1 !important;
  border-radius: 9px !important;
  background: var(--navas-white) !important;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty {
  grid-column: 2;
  grid-row: 1;
  width: 42px !important;
  min-width: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1px solid #e4e7ee !important;
  border-left: 1px solid #e4e7ee !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--navas-ink) !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 40px !important;
  text-align: center !important;
  box-shadow: none !important;
  appearance: textfield;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty::-webkit-outer-spin-button,
body.woocommerce-cart table.shop_table.cart .quantity .qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

body.woocommerce-cart table.shop_table.cart .quantity-nav {
  display: contents !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-button {
  position: static !important;
  display: grid !important;
  place-items: center;
  width: 36px !important;
  height: 40px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--navas-navy) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  cursor: pointer;
  transform: none !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-button:hover {
  background: #f0f2f7 !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-up {
  grid-column: 3;
  grid-row: 1;
}

body.woocommerce-cart table.shop_table.cart .quantity-down {
  grid-column: 1;
  grid-row: 1;
}

body.woocommerce-cart table.shop_table.cart .quantity-up::before,
body.woocommerce-cart table.shop_table.cart .quantity-down::before {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  color: inherit !important;
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transform: none !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-up::before { content: "+" !important; }
body.woocommerce-cart table.shop_table.cart .quantity-down::before { content: "−" !important; }

/* ---------- Kupon i aktualizacja koszyka ---------- */
body.woocommerce-cart table.shop_table.cart tr:last-child:not(.cart_item) {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
}

body.woocommerce-cart table.shop_table.cart td.actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100% !important;
  margin: 0 !important;
  padding: 20px 22px !important;
  border: 0 !important;
  background: #fbfcfe !important;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  gap: 9px;
  max-width: 420px;
  margin: 0 !important;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

body.woocommerce-cart table.shop_table.cart #coupon_code {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #cfd5e1 !important;
  border-radius: 9px !important;
  background: var(--navas-white) !important;
  color: var(--navas-ink) !important;
  font-size: 15px !important;
  box-shadow: none !important;
}

body.woocommerce-cart table.shop_table.cart #coupon_code:focus {
  border-color: var(--navas-navy) !important;
  outline: 3px solid rgba(7, 8, 63, 0.09) !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button {
  min-height: 46px;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid var(--navas-navy) !important;
  border-radius: 9px !important;
  background: var(--navas-white) !important;
  color: var(--navas-navy) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 44px !important;
  text-transform: none !important;
  box-shadow: none !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button:hover:not(:disabled) {
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button:disabled,
body.woocommerce-cart table.shop_table.cart td.actions button.button.disabled {
  border-color: #e1e5ed !important;
  background: #eef1f5 !important;
  color: #9aa2b2 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

/* ---------- Podsumowanie ---------- */
body.woocommerce-cart .cart-collaterals {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-cart .cart_totals {
  position: sticky;
  top: 18px;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 24px 24px;
  border-top: 4px solid var(--navas-red);
}

body.woocommerce-cart .cart_totals h2 {
  display: block !important;
  margin: 0 -24px !important;
  padding: 23px 24px 19px !important;
  border-bottom: 1px solid var(--navas-line);
  color: var(--navas-ink) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
}

body.woocommerce-cart .cart_totals table.shop_table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr {
  border: 0 !important;
  border-bottom: 1px solid var(--navas-line) !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  display: table-cell !important;
  float: none !important;
  padding: 18px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--navas-ink) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  vertical-align: top !important;
}

body.woocommerce-cart .cart_totals table.shop_table th {
  width: 34% !important;
  padding-right: 14px !important;
  font-weight: 750 !important;
  text-align: left !important;
}

body.woocommerce-cart .cart_totals table.shop_table td {
  width: 66% !important;
  text-align: right !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals th,
body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
  display: table-cell !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals th {
  width: 34% !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
  width: 66% !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
  color: #444d63 !important;
  text-align: left !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
  width: 100% !important;
  margin: 0 0 9px !important;
  padding: 11px 12px !important;
  border: 1px solid #e0e4ed;
  border-radius: 9px;
  background: #f7f8fb;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods label {
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator {
  margin: 8px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body.woocommerce-cart .cart_totals .shipping-calculator-button {
  color: var(--navas-navy) !important;
  font-weight: 750 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

body.woocommerce-cart .cart_totals .order-total {
  border-bottom: 0 !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
  padding-top: 22px !important;
  padding-bottom: 10px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .cart_totals .order-total .amount {
  color: var(--navas-navy) !important;
  font-size: 24px !important;
  font-weight: 850 !important;
  white-space: nowrap;
}

body.woocommerce-cart .cart_totals .includes_tax {
  display: block;
  margin-top: 4px;
  color: var(--navas-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* ---------- Karta podarunkowa ---------- */
body.woocommerce-cart #pwgc-redeem-gift-card-form {
  margin: 18px 0 0 !important;
  padding: 15px !important;
  border: 1px solid var(--navas-line);
  border-radius: 11px;
  background: #f8f9fc;
}

body.woocommerce-cart #pwgc-redeem-gift-card-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  width: 100%;
}

body.woocommerce-cart #pwgc-redeem-gift-card-container label {
  grid-column: 1 / -1;
  margin: 0 !important;
  color: var(--navas-ink) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

body.woocommerce-cart #pwgc-redeem-gift-card-number {
  width: 100% !important;
  min-width: 0;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #cfd5e1 !important;
  border-radius: 8px !important;
  background: var(--navas-white) !important;
  color: var(--navas-ink) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

body.woocommerce-cart #pwgc-redeem-button {
  min-width: 94px;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--navas-navy) !important;
  border-radius: 8px !important;
  background: var(--navas-white) !important;
  color: var(--navas-navy) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 42px !important;
  box-shadow: none !important;
}

body.woocommerce-cart #pwgc-redeem-button:hover {
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
}

/* ---------- Główny przycisk i zaufanie ---------- */
body.woocommerce-cart .wc-proceed-to-checkout {
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 56px;
  margin: 0 !important;
  padding: 14px 20px !important;
  border: 1px solid var(--navas-navy) !important;
  border-radius: 10px !important;
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: center;
  text-transform: none !important;
  box-shadow: 0 10px 24px rgba(7, 8, 63, 0.16) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus-visible {
  border-color: var(--navas-red) !important;
  background: var(--navas-red) !important;
  color: var(--navas-white) !important;
  transform: translateY(-1px);
}

body.woocommerce-cart .wc-proceed-to-checkout::after {
  display: block;
  margin-top: 14px;
  padding: 13px 12px;
  border: 1px solid var(--navas-line);
  border-radius: 9px;
  background: #f8f9fc;
  color: #4f586e;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
  content: "✓ Bezpieczne płatności  •  ✓ Faktura dla placówki  •  ✓ Polska obsługa";
}

/* Ukrywa przypadkową grafikę z wersji demonstracyjnej Shoptimizera. */
body.woocommerce-cart .cart-custom-field {
  display: none !important;
}

/* ---------- Komunikaty WooCommerce ---------- */
body.woocommerce-cart .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
  margin: 0 0 22px !important;
  padding: 16px 18px 16px 50px !important;
  border: 1px solid var(--navas-line) !important;
  border-left: 4px solid var(--navas-navy) !important;
  border-radius: 10px !important;
  background: var(--navas-white) !important;
  color: var(--navas-ink) !important;
  box-shadow: 0 6px 18px rgba(7, 8, 63, 0.05);
}

body.woocommerce-cart .woocommerce-error {
  border-left-color: var(--navas-red) !important;
}

/* ---------- Pusty koszyk ---------- */
body.woocommerce-cart .cart-empty.woocommerce-info {
  max-width: 720px;
  margin: 16px auto 20px !important;
  padding: 34px 28px !important;
  border-left: 1px solid var(--navas-line) !important;
  text-align: center;
}

body.woocommerce-cart .return-to-shop {
  margin: 0;
  text-align: center;
}

body.woocommerce-cart .return-to-shop .button {
  min-height: 50px;
  padding: 14px 22px !important;
  border-radius: 9px !important;
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
  font-weight: 800 !important;
  text-transform: none !important;
}

body.woocommerce-cart .return-to-shop .button:hover {
  background: var(--navas-red) !important;
  color: var(--navas-white) !important;
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  body.woocommerce-cart .site-content > .col-full {
    padding-inline: 24px !important;
  }

  body.woocommerce-cart .shoptimizer-cart-wrapper {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    gap: 20px;
  }

  body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 92px minmax(0, 1fr) 112px;
    grid-template-areas:
      "thumb name subtotal"
      "thumb qty subtotal";
    gap: 10px 16px;
  }

  body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
    width: 92px;
    height: 88px;
  }

  body.woocommerce-cart table.shop_table.cart .product-name {
    font-size: 16px;
  }
}

/* ---------- Telefon i mały tablet ---------- */
@media (max-width: 820px) {
  body.woocommerce-cart .site-content {
    padding-bottom: 54px;
  }

  body.woocommerce-cart .site-content > .col-full {
    padding-inline: 16px !important;
  }

  body.woocommerce-cart .entry-header {
    padding: 32px 0 21px;
  }

  body.woocommerce-cart .entry-title {
    font-size: 36px !important;
  }

  body.woocommerce-cart .entry-header::after {
    max-width: 520px;
    font-size: 14px;
  }

  body.woocommerce-cart .checkout-wrap {
    margin-bottom: 20px;
  }

  body.woocommerce-cart .checkout-bar,
  body.woocommerce-cart .checkout-bar li {
    min-height: 64px;
  }

  body.woocommerce-cart .checkout-bar li {
    padding: 38px 6px 8px !important;
    font-size: 11px !important;
  }

  body.woocommerce-cart .checkout-bar li::before {
    top: 10px !important;
    left: 50% !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    line-height: 24px !important;
    transform: translateX(-50%) !important;
  }

  body.woocommerce-cart .shoptimizer-cart-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  body.woocommerce-cart .cart_totals {
    position: static;
  }
}

/* ---------- Telefon ---------- */
@media (max-width: 560px) {
  body.woocommerce-cart .site-content > .col-full {
    padding-inline: 12px !important;
  }

  body.woocommerce-cart .entry-header {
    padding-top: 26px;
  }

  body.woocommerce-cart .entry-title {
    font-size: 32px !important;
  }

  body.woocommerce-cart .entry-header::before {
    font-size: 10px;
  }

  body.woocommerce-cart .entry-header::after {
    font-size: 13px;
  }

  body.woocommerce-cart .checkout-bar li {
    font-size: 10px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart_totals {
    border-radius: 13px;
  }

  body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-areas:
      "thumb name"
      "thumb qty"
      "subtotal subtotal";
    gap: 11px 14px;
    min-height: 0;
    padding: 18px 16px;
  }

  body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
    width: 82px;
    height: 82px;
  }

  body.woocommerce-cart table.shop_table.cart .product-name {
    padding-right: 24px !important;
    font-size: 15px;
    line-height: 1.35;
  }

  body.woocommerce-cart table.shop_table.cart .wpced {
    padding: 6px 8px !important;
    font-size: 11px !important;
  }

  body.woocommerce-cart table.shop_table.cart .product-subtotal {
    padding-top: 14px !important;
    padding-right: 0 !important;
    border-top: 1px solid #edf0f5 !important;
    font-size: 18px;
    text-align: right !important;
  }

  body.woocommerce-cart table.shop_table.cart td.actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    padding: 16px !important;
  }

  body.woocommerce-cart table.shop_table.cart td.actions .coupon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
  }

  body.woocommerce-cart table.shop_table.cart td.actions button.button,
  body.woocommerce-cart table.shop_table.cart #coupon_code {
    width: 100% !important;
  }

  body.woocommerce-cart .cart_totals {
    padding: 0 17px 18px;
  }

  body.woocommerce-cart .cart_totals h2 {
    margin-inline: -17px !important;
    padding: 20px 17px 16px !important;
    font-size: 21px !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table th {
    width: 34%;
    padding-right: 8px !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table td {
    width: 66%;
  }

  body.woocommerce-cart .cart_totals .order-total .amount {
    font-size: 21px !important;
  }

  body.woocommerce-cart #pwgc-redeem-gift-card-container {
    grid-template-columns: minmax(0, 1fr);
  }

  body.woocommerce-cart #pwgc-redeem-gift-card-container label {
    grid-column: 1;
  }

  body.woocommerce-cart #pwgc-redeem-button {
    width: 100%;
  }

  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    min-height: 54px;
    font-size: 16px !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout::after {
    font-size: 11px;
  }
}

/* ---------- Dostępność ---------- */
body.woocommerce-cart a:focus-visible,
body.woocommerce-cart button:focus-visible,
body.woocommerce-cart input:focus-visible {
  outline: 3px solid rgba(184, 38, 56, 0.25) !important;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-cart *,
  body.woocommerce-cart *::before,
  body.woocommerce-cart *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* ==========================================================
   NAVAS — NOWOCZESNY KOSZYK
   Zakres: wyłącznie strona WooCommerce „Koszyk”
   Motyw: Shoptimizer + Elementor Pro
   ========================================================== */

body.woocommerce-cart {
  --navas-navy: #07083f;
  --navas-navy-2: #141653;
  --navas-red: #b82638;
  --navas-red-dark: #9f1f30;
  --navas-ink: #11162a;
  --navas-muted: #687189;
  --navas-line: #dce1eb;
  --navas-soft: #f4f6fa;
  --navas-white: #ffffff;
  --navas-radius: 16px;
  --navas-shadow: 0 14px 40px rgba(7, 8, 63, 0.08);
}

/* ---------- Tło i szerokość strony ---------- */
body.woocommerce-cart .site-content {
  overflow: visible;
  padding: 0 0 76px;
  background: var(--navas-soft);
}

body.woocommerce-cart .site-content > .col-full {
  width: 100%;
  max-width: 1460px !important;
  margin-inline: auto;
  padding-inline: 34px !important;
}

body.woocommerce-cart .content-area {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-cart #secondary {
  display: none !important;
}

/* ---------- Tytuł strony ---------- */
body.woocommerce-cart .entry-header {
  position: relative;
  margin: 0;
  padding: 48px 0 26px;
  text-align: left;
}

body.woocommerce-cart .entry-header::before {
  display: block;
  margin-bottom: 8px;
  color: var(--navas-red);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  content: "Bezpieczne zamówienie";
}

body.woocommerce-cart .entry-header::after {
  display: block;
  margin-top: 8px;
  color: var(--navas-muted);
  font-size: 16px;
  line-height: 1.55;
  content: "Sprawdź produkty, ilości i dostawę przed przejściem do płatności.";
}

body.woocommerce-cart .entry-title {
  display: block !important;
  margin: 0 !important;
  color: var(--navas-ink);
  font-size: clamp(34px, 3.2vw, 50px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em;
}

/* ---------- Pasek etapów zamówienia ---------- */
body.woocommerce-cart .checkout-wrap {
  width: 100%;
  max-width: none;
  margin: 0 0 30px;
  padding: 0;
}

body.woocommerce-cart .checkout-bar {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100% !important;
  min-height: 74px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--navas-line);
  border-radius: 14px;
  background: var(--navas-white);
  box-shadow: 0 7px 24px rgba(7, 8, 63, 0.05);
  list-style: none;
}

body.woocommerce-cart .checkout-bar::before,
body.woocommerce-cart .checkout-bar::after {
  display: none !important;
}

body.woocommerce-cart .checkout-bar li {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 74px;
  margin: 0 !important;
  padding: 16px 22px 16px 56px !important;
  color: var(--navas-muted) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  text-align: center;
  background: transparent !important;
}

body.woocommerce-cart .checkout-bar li:not(:last-child) {
  border-right: 1px solid var(--navas-line);
}

body.woocommerce-cart .checkout-bar li::before {
  position: absolute !important;
  top: 50% !important;
  left: max(18px, calc(50% - 78px)) !important;
  z-index: 2;
  display: grid !important;
  place-items: center;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  border: 1px solid var(--navas-line) !important;
  border-radius: 50% !important;
  background: #eef1f7 !important;
  color: var(--navas-muted) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 30px !important;
  transform: translateY(-50%) !important;
  box-shadow: none !important;
}

body.woocommerce-cart .checkout-bar li:nth-child(1)::before { content: "1" !important; }
body.woocommerce-cart .checkout-bar li:nth-child(2)::before { content: "2" !important; }
body.woocommerce-cart .checkout-bar li:nth-child(3)::before { content: "3" !important; }

body.woocommerce-cart .checkout-bar li.active {
  color: var(--navas-navy) !important;
  background: rgba(7, 8, 63, 0.035) !important;
}

body.woocommerce-cart .checkout-bar li.active::before {
  border-color: var(--navas-navy) !important;
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
}

body.woocommerce-cart .checkout-bar li.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block !important;
  width: auto !important;
  height: 3px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--navas-red) !important;
  content: "" !important;
  transform: none !important;
}

/* ---------- Główny układ koszyka ---------- */
body.woocommerce-cart .woocommerce {
  width: 100%;
}

body.woocommerce-cart .shoptimizer-cart-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1.62fr) minmax(350px, 0.82fr);
  align-items: start;
  gap: 26px;
  width: 100%;
  margin: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals {
  overflow: hidden;
  border: 1px solid var(--navas-line);
  border-radius: var(--navas-radius);
  background: var(--navas-white);
  box-shadow: var(--navas-shadow);
}

body.woocommerce-cart .woocommerce-cart-form {
  width: 100% !important;
  margin: 0 !important;
}

/* ---------- Lista produktów ---------- */
body.woocommerce-cart table.shop_table.cart,
body.woocommerce-cart table.shop_table.cart tbody {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
}

body.woocommerce-cart table.shop_table.cart thead {
  display: none !important;
}

body.woocommerce-cart table.shop_table.cart tr.cart_item {
  position: relative;
  display: grid !important;
  grid-template-columns: 108px minmax(0, 1fr) 118px 132px;
  grid-template-areas: "thumb name qty subtotal";
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 148px;
  margin: 0 !important;
  padding: 24px 22px;
  border: 0 !important;
  border-bottom: 1px solid var(--navas-line) !important;
  background: var(--navas-white);
}

body.woocommerce-cart table.shop_table.cart tr.cart_item td {
  display: block !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail {
  grid-area: thumb;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
  display: grid;
  place-items: center;
  width: 108px;
  height: 100px;
  overflow: hidden;
  border: 1px solid #e2e5ed;
  border-radius: 12px;
  background: #e8e8ed;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
}

body.woocommerce-cart table.shop_table.cart .product-name {
  grid-area: name;
  padding-right: 4px !important;
  color: var(--navas-ink);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
}

body.woocommerce-cart table.shop_table.cart .product-name > a {
  color: var(--navas-ink) !important;
  text-decoration: none !important;
}

body.woocommerce-cart table.shop_table.cart .product-name > a:hover,
body.woocommerce-cart table.shop_table.cart .product-name > a:focus-visible {
  color: var(--navas-red) !important;
}

body.woocommerce-cart table.shop_table.cart .product-price {
  display: none !important;
}

/* Shoptimizer wymusza własny display dla ceny na części szerokości.
   Ten bardziej precyzyjny selektor usuwa tylko cenę jednostkową;
   suma produktu po prawej nadal pozostaje widoczna. */
body.woocommerce-cart .woocommerce .woocommerce-cart-form table.shop_table.cart tr.cart_item td.product-price {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.woocommerce-cart table.shop_table.cart .product-quantity {
  grid-area: qty;
}

body.woocommerce-cart table.shop_table.cart .product-subtotal {
  grid-area: subtotal;
  padding-right: 22px !important;
  color: var(--navas-navy);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  text-align: right !important;
  white-space: nowrap;
}

body.woocommerce-cart table.shop_table.cart .product-remove {
  position: absolute !important;
  top: 13px;
  right: 13px;
  z-index: 3;
  display: block !important;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove {
  display: grid !important;
  place-items: center;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid transparent !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #8b93a6 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove:hover,
body.woocommerce-cart table.shop_table.cart .product-remove a.remove:focus-visible {
  border-color: rgba(184, 38, 56, 0.16) !important;
  background: rgba(184, 38, 56, 0.08) !important;
  color: var(--navas-red) !important;
}

/* Termin wysyłki */
body.woocommerce-cart table.shop_table.cart .wpced {
  display: inline-flex !important;
  max-width: 100%;
  margin: 10px 0 0 !important;
  padding: 7px 10px !important;
  border: 1px solid #e6e9f0;
  border-radius: 8px;
  background: #f7f8fb !important;
  color: #596278 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

body.woocommerce-cart table.shop_table.cart .wpced-inner {
  color: inherit !important;
  font-size: inherit !important;
}

/* Ilość produktu */
body.woocommerce-cart table.shop_table.cart .quantity {
  position: relative;
  display: grid !important;
  grid-template-columns: 36px 42px 36px;
  grid-template-rows: 40px;
  width: 114px !important;
  height: 40px !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #cfd5e1 !important;
  border-radius: 9px !important;
  background: var(--navas-white) !important;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty {
  grid-column: 2;
  grid-row: 1;
  width: 42px !important;
  min-width: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1px solid #e4e7ee !important;
  border-left: 1px solid #e4e7ee !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--navas-ink) !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 40px !important;
  text-align: center !important;
  box-shadow: none !important;
  appearance: textfield;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty::-webkit-outer-spin-button,
body.woocommerce-cart table.shop_table.cart .quantity .qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

body.woocommerce-cart table.shop_table.cart .quantity-nav {
  display: contents !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-button {
  position: static !important;
  display: grid !important;
  place-items: center;
  width: 36px !important;
  height: 40px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--navas-navy) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  cursor: pointer;
  transform: none !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-button:hover {
  background: #f0f2f7 !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-up {
  grid-column: 3;
  grid-row: 1;
}

body.woocommerce-cart table.shop_table.cart .quantity-down {
  grid-column: 1;
  grid-row: 1;
}

body.woocommerce-cart table.shop_table.cart .quantity-up::before,
body.woocommerce-cart table.shop_table.cart .quantity-down::before {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  color: inherit !important;
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transform: none !important;
}

body.woocommerce-cart table.shop_table.cart .quantity-up::before { content: "+" !important; }
body.woocommerce-cart table.shop_table.cart .quantity-down::before { content: "−" !important; }

/* ---------- Kupon i aktualizacja koszyka ---------- */
body.woocommerce-cart table.shop_table.cart tr:last-child:not(.cart_item) {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
}

body.woocommerce-cart table.shop_table.cart td.actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100% !important;
  margin: 0 !important;
  padding: 20px 22px !important;
  border: 0 !important;
  background: #fbfcfe !important;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  gap: 9px;
  max-width: 420px;
  margin: 0 !important;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

body.woocommerce-cart table.shop_table.cart #coupon_code {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #cfd5e1 !important;
  border-radius: 9px !important;
  background: var(--navas-white) !important;
  color: var(--navas-ink) !important;
  font-size: 15px !important;
  box-shadow: none !important;
}

body.woocommerce-cart table.shop_table.cart #coupon_code:focus {
  border-color: var(--navas-navy) !important;
  outline: 3px solid rgba(7, 8, 63, 0.09) !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button {
  min-height: 46px;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid var(--navas-navy) !important;
  border-radius: 9px !important;
  background: var(--navas-white) !important;
  color: var(--navas-navy) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 44px !important;
  text-transform: none !important;
  box-shadow: none !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button:hover:not(:disabled) {
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button:disabled,
body.woocommerce-cart table.shop_table.cart td.actions button.button.disabled {
  border-color: #e1e5ed !important;
  background: #eef1f5 !important;
  color: #9aa2b2 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

/* ---------- Podsumowanie ---------- */
body.woocommerce-cart .cart-collaterals {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-cart .cart_totals {
  position: sticky;
  top: 18px;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 24px 24px;
  border-top: 4px solid var(--navas-red);
}

body.woocommerce-cart .cart_totals h2 {
  display: block !important;
  margin: 0 -24px !important;
  padding: 23px 24px 19px !important;
  border-bottom: 1px solid var(--navas-line);
  color: var(--navas-ink) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
}

body.woocommerce-cart .cart_totals table.shop_table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr {
  border: 0 !important;
  border-bottom: 1px solid var(--navas-line) !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  display: table-cell !important;
  float: none !important;
  padding: 18px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--navas-ink) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  vertical-align: top !important;
}

body.woocommerce-cart .cart_totals table.shop_table th {
  width: 34% !important;
  padding-right: 14px !important;
  font-weight: 750 !important;
  text-align: left !important;
}

body.woocommerce-cart .cart_totals table.shop_table td {
  width: 66% !important;
  text-align: right !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals th,
body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
  display: table-cell !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals th {
  width: 34% !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
  width: 66% !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
  color: #444d63 !important;
  text-align: left !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
  width: 100% !important;
  margin: 0 0 9px !important;
  padding: 11px 12px !important;
  border: 1px solid #e0e4ed;
  border-radius: 9px;
  background: #f7f8fb;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods label {
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator {
  margin: 8px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body.woocommerce-cart .cart_totals .shipping-calculator-button {
  color: var(--navas-navy) !important;
  font-weight: 750 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

body.woocommerce-cart .cart_totals .order-total {
  border-bottom: 0 !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
  padding-top: 22px !important;
  padding-bottom: 10px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .cart_totals .order-total .amount {
  color: var(--navas-navy) !important;
  font-size: 24px !important;
  font-weight: 850 !important;
  white-space: nowrap;
}

body.woocommerce-cart .cart_totals .includes_tax {
  display: block;
  margin-top: 4px;
  color: var(--navas-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* ---------- Karta podarunkowa ---------- */
body.woocommerce-cart #pwgc-redeem-gift-card-form {
  margin: 18px 0 0 !important;
  padding: 15px !important;
  border: 1px solid var(--navas-line);
  border-radius: 11px;
  background: #f8f9fc;
}

body.woocommerce-cart #pwgc-redeem-gift-card-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  width: 100%;
}

body.woocommerce-cart #pwgc-redeem-gift-card-container label {
  grid-column: 1 / -1;
  margin: 0 !important;
  color: var(--navas-ink) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

body.woocommerce-cart #pwgc-redeem-gift-card-number {
  width: 100% !important;
  min-width: 0;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #cfd5e1 !important;
  border-radius: 8px !important;
  background: var(--navas-white) !important;
  color: var(--navas-ink) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

body.woocommerce-cart #pwgc-redeem-button {
  min-width: 94px;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--navas-navy) !important;
  border-radius: 8px !important;
  background: var(--navas-white) !important;
  color: var(--navas-navy) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 42px !important;
  box-shadow: none !important;
}

body.woocommerce-cart #pwgc-redeem-button:hover {
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
}

/* ---------- Główny przycisk i zaufanie ---------- */
body.woocommerce-cart .wc-proceed-to-checkout {
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 56px;
  margin: 0 !important;
  padding: 14px 20px !important;
  border: 1px solid var(--navas-navy) !important;
  border-radius: 10px !important;
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: center;
  text-transform: none !important;
  box-shadow: 0 10px 24px rgba(7, 8, 63, 0.16) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus-visible {
  border-color: var(--navas-red) !important;
  background: var(--navas-red) !important;
  color: var(--navas-white) !important;
  transform: translateY(-1px);
}

body.woocommerce-cart .wc-proceed-to-checkout::after {
  display: block;
  margin-top: 14px;
  padding: 13px 12px;
  border: 1px solid var(--navas-line);
  border-radius: 9px;
  background: #f8f9fc;
  color: #4f586e;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
  content: "✓ Bezpieczne płatności  •  ✓ Faktura dla placówki  •  ✓ Polska obsługa";
}

/* Ukrywa przypadkową grafikę z wersji demonstracyjnej Shoptimizera. */
body.woocommerce-cart .cart-custom-field {
  display: none !important;
}

/* ---------- Komunikaty WooCommerce ---------- */
body.woocommerce-cart .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
  margin: 0 0 22px !important;
  padding: 16px 18px 16px 50px !important;
  border: 1px solid var(--navas-line) !important;
  border-left: 4px solid var(--navas-navy) !important;
  border-radius: 10px !important;
  background: var(--navas-white) !important;
  color: var(--navas-ink) !important;
  box-shadow: 0 6px 18px rgba(7, 8, 63, 0.05);
}

body.woocommerce-cart .woocommerce-error {
  border-left-color: var(--navas-red) !important;
}

/* ---------- Pusty koszyk ---------- */
body.woocommerce-cart .cart-empty.woocommerce-info {
  max-width: 720px;
  margin: 16px auto 20px !important;
  padding: 34px 28px !important;
  border-left: 1px solid var(--navas-line) !important;
  text-align: center;
}

body.woocommerce-cart .return-to-shop {
  margin: 0;
  text-align: center;
}

body.woocommerce-cart .return-to-shop .button {
  min-height: 50px;
  padding: 14px 22px !important;
  border-radius: 9px !important;
  background: var(--navas-navy) !important;
  color: var(--navas-white) !important;
  font-weight: 800 !important;
  text-transform: none !important;
}

body.woocommerce-cart .return-to-shop .button:hover {
  background: var(--navas-red) !important;
  color: var(--navas-white) !important;
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  body.woocommerce-cart .site-content > .col-full {
    padding-inline: 24px !important;
  }

  body.woocommerce-cart .shoptimizer-cart-wrapper {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    gap: 20px;
  }

  body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 92px minmax(0, 1fr) 112px;
    grid-template-areas:
      "thumb name subtotal"
      "thumb qty subtotal";
    gap: 10px 16px;
  }

  body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
    width: 92px;
    height: 88px;
  }

  body.woocommerce-cart table.shop_table.cart .product-name {
    font-size: 16px;
  }
}

/* ---------- Telefon i mały tablet ---------- */
@media (max-width: 820px) {
  body.woocommerce-cart .site-content {
    padding-bottom: 54px;
  }

  body.woocommerce-cart .site-content > .col-full {
    padding-inline: 16px !important;
  }

  body.woocommerce-cart .entry-header {
    padding: 32px 0 21px;
  }

  body.woocommerce-cart .entry-title {
    font-size: 36px !important;
  }

  body.woocommerce-cart .entry-header::after {
    max-width: 520px;
    font-size: 14px;
  }

  body.woocommerce-cart .checkout-wrap {
    margin-bottom: 20px;
  }

  body.woocommerce-cart .checkout-bar,
  body.woocommerce-cart .checkout-bar li {
    min-height: 64px;
  }

  body.woocommerce-cart .checkout-bar li {
    padding: 38px 6px 8px !important;
    font-size: 11px !important;
  }

  body.woocommerce-cart .checkout-bar li::before {
    top: 10px !important;
    left: 50% !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    line-height: 24px !important;
    transform: translateX(-50%) !important;
  }

  body.woocommerce-cart .shoptimizer-cart-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  body.woocommerce-cart .cart_totals {
    position: static;
  }
}

/* ---------- Telefon ---------- */
@media (max-width: 560px) {
  body.woocommerce-cart .site-content > .col-full {
    padding-inline: 12px !important;
  }

  body.woocommerce-cart .entry-header {
    padding-top: 26px;
  }

  body.woocommerce-cart .entry-title {
    font-size: 32px !important;
  }

  body.woocommerce-cart .entry-header::before {
    font-size: 10px;
  }

  body.woocommerce-cart .entry-header::after {
    font-size: 13px;
  }

  body.woocommerce-cart .checkout-bar li {
    font-size: 10px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart_totals {
    border-radius: 13px;
  }

  body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-areas:
      "thumb name"
      "thumb qty"
      "subtotal subtotal";
    gap: 11px 14px;
    min-height: 0;
    padding: 18px 16px;
  }

  /* WooCommerce dodaje na telefonie automatyczne etykiety z data-title.
     Ukrywamy je w komórkach, w których psułyby układ, a zostawiamy
     jedną czytelną etykietę „Kwota” przy sumie produktu. */
  body.woocommerce-cart table.shop_table.cart tr.cart_item td::before {
    display: none !important;
  }

  body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
    width: 82px;
    height: 82px;
  }

  body.woocommerce-cart table.shop_table.cart .product-name {
    padding-right: 24px !important;
    font-size: 15px;
    line-height: 1.35;
  }

  body.woocommerce-cart table.shop_table.cart .wpced {
    padding: 6px 8px !important;
    font-size: 11px !important;
  }

  body.woocommerce-cart table.shop_table.cart .product-subtotal {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px !important;
    padding-right: 0 !important;
    border-top: 1px solid #edf0f5 !important;
    font-size: 18px;
    text-align: right !important;
  }

  body.woocommerce-cart table.shop_table.cart .product-subtotal::before {
    display: block !important;
    color: var(--navas-muted) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    content: attr(data-title) !important;
  }

  body.woocommerce-cart table.shop_table.cart td.actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    padding: 16px !important;
  }

  body.woocommerce-cart table.shop_table.cart td.actions .coupon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
  }

  body.woocommerce-cart table.shop_table.cart td.actions button.button,
  body.woocommerce-cart table.shop_table.cart #coupon_code {
    width: 100% !important;
  }

  body.woocommerce-cart .cart_totals {
    padding: 0 17px 18px;
  }

  body.woocommerce-cart .cart_totals h2 {
    margin-inline: -17px !important;
    padding: 20px 17px 16px !important;
    font-size: 21px !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table th {
    width: 34%;
    padding-right: 8px !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table td {
    width: 66%;
  }

  body.woocommerce-cart .cart_totals .order-total .amount {
    font-size: 21px !important;
  }

  body.woocommerce-cart #pwgc-redeem-gift-card-container {
    grid-template-columns: minmax(0, 1fr);
  }

  body.woocommerce-cart #pwgc-redeem-gift-card-container label {
    grid-column: 1;
  }

  body.woocommerce-cart #pwgc-redeem-button {
    width: 100%;
  }

  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    min-height: 54px;
    font-size: 16px !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout::after {
    font-size: 11px;
  }
}

/* ---------- Dostępność ---------- */
body.woocommerce-cart a:focus-visible,
body.woocommerce-cart button:focus-visible,
body.woocommerce-cart input:focus-visible {
  outline: 3px solid rgba(184, 38, 56, 0.25) !important;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-cart *,
  body.woocommerce-cart *::before,
  body.woocommerce-cart *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}/* End custom CSS */