/* Classic WooCommerce Cart Styling - Match Block Cart */

/* Page Container */
.woocommerce-cart .woocommerce {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Two Column Layout - Desktop */
@media (min-width: 1024px) {
  .woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
  }
  
  .woocommerce-cart .woocommerce-cart-form {
    grid-column: 1;
  }
  
  .woocommerce-cart .cart-collaterals {
    grid-column: 2;
    position: sticky;
    top: 6rem;
  }
}

/* Remove default clearfix that breaks grid */
.woocommerce-cart .woocommerce::before,
.woocommerce-cart .woocommerce::after {
  display: none !important;
}

/* Cart Form Container */
.woocommerce-cart .woocommerce-cart-form {
  background: #1f2228;
  border-radius: 0.5rem;
  padding: 2rem;
  width: 100%;
}

/* Cart Table */
.woocommerce-cart table.shop_table {
  background: transparent;
  border: none;
  margin: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  width: 100%;
}

.woocommerce-cart table.shop_table thead {
  background: transparent;
  border-bottom: 2px solid #4b5563;
}

.woocommerce-cart table.shop_table thead th {
  color: #e5e7eb !important;
  font-weight: 500;
  border: none;
  text-transform: uppercase;
  font-size: 13px;
  background: transparent;
}

.woocommerce-cart table.shop_table tbody tr {
  background: transparent;
  border-bottom: 1px solid #4b5563;
}

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

.woocommerce-cart table.shop_table td {
  padding: 1.5rem 1rem;
  border: none;
  color: white;
  vertical-align: middle;
  background: transparent;
}

.woocommerce-cart table.shop_table thead tr.nv-two-col-header th.nv-header-main {
  text-align: left;
}

.woocommerce-cart table.shop_table thead tr.nv-two-col-header th.nv-header-total {
  text-align: right;
  width: 180px;
}

.woocommerce-cart table.shop_table tbody tr.nv-cart-row-enhanced td.nv-main-cell {
  padding-right: 1.25rem;
}

.woocommerce-cart table.shop_table tbody tr.nv-cart-row-enhanced td.nv-total-cell {
  width: 180px;
  text-align: right;
  vertical-align: top;
  white-space: nowrap;
}

.woocommerce-cart .nv-cart-main {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;
}

.woocommerce-cart .nv-cart-media a {
  display: block;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #2a2e35;
  aspect-ratio: 1 / 1;
}

.woocommerce-cart .nv-cart-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.woocommerce-cart .nv-cart-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.woocommerce-cart .nv-cart-title {
  line-height: 1.35;
}

.woocommerce-cart .coupon #coupon_code {
  min-width: 250px;
}

.woocommerce-cart .nv-cart-price {
  color: #d1d5db;
}

.woocommerce-cart .nv-cart-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.woocommerce-cart .nv-cart-remove {
  margin-left: 0.25rem;
}

/* Product Thumbnail */
.woocommerce-cart table.shop_table td.product-thumbnail {
  width: 120px;
  padding-right: 1.5rem;
}

.woocommerce-cart table.shop_table td.product-thumbnail a {
  display: block;
  padding-bottom: 100%;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #2a2e35;
}

.woocommerce-cart table.shop_table td.product-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Product Name */
.woocommerce-cart table.shop_table td.product-name a {
  color: white !important;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: color 0.3s;
}

.woocommerce-cart table.shop_table td.product-name a:hover {
  color: #d4af37 !important;
}

.woocommerce-cart table.shop_table td.product-name .variation {
  margin-top: 0.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

.woocommerce-cart table.shop_table td.product-name .variation dt,
.woocommerce-cart table.shop_table td.product-name .variation dd {
  display: inline;
  margin: 0;
  padding: 0;
}

/* Product Price */
.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table td.product-subtotal {
  color: white !important;
  font-weight: 600;
  font-size: 1.125rem;
}

.woocommerce-cart td.nv-total-cell .amount {
  font-size: 20px;
}

.woocommerce-cart .nv-subscription-select-wrap {
  width: 100%;
  max-width: 320px;
}

.woocommerce-cart .nv-subscription-select {
  width: 100%;
  background: #2a2e35;
  color: #ffffff;
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  padding: 0.65rem 2.2rem 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #d1d5db 50%), linear-gradient(135deg, #d1d5db 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.woocommerce-cart .nv-subscription-select:focus {
  outline: none;
  border-color: #d4af37;
  background-color: #374151;
}

.woocommerce-cart ul.wcsatt-options.nv-wcsatt-enhanced {
  display: none !important;
}

.woocommerce-cart .nv-cart-price ul.wcsatt-options {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-cart .nv-cart-price ul.wcsatt-options li {
  margin: 0;
  padding: 0;
}

.woocommerce-cart .nv-cart-price .subscription-price,
.woocommerce-cart .nv-cart-price .one-time-option-price,
.woocommerce-cart .nv-cart-price .subscription-details {
  font-size: 14px;
  line-height: 1.3;
  float: none;
}

.woocommerce-cart table.shop_table td.product-price .amount,
.woocommerce-cart table.shop_table td.product-subtotal .amount {
  color: white !important;
  font-size: 18px;
}

.woocommerce-cart .woocommerce-Price-amount.amount .woocommerce-Price-currencySymbol {
  font-size: 16px;
  opacity: 1;
}

.woocommerce-cart .subscription-price .subscription-details {
  font-size: 12px;
  float: left;
}

/* Quantity Selector */
.woocommerce-cart table.shop_table td.product-quantity {
  text-align: center;
}

.woocommerce-cart .quantity {
  display: inline-flex;
  align-items: center;
  background: #2a2e35;
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  overflow: hidden;
}

.woocommerce-cart .quantity input.qty {
  background: transparent !important;
  color: white !important;
  border: none !important;
  text-align: center;
  width: 60px;
  height: 40px;
  padding: 0;
  font-weight: 600;
  appearance: textfield;
  -moz-appearance: textfield;
  margin: 0;
}

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

/* Remove Button */
.woocommerce-cart table.shop_table td.product-remove {
  text-align: center;
  width: 50px;
}

.woocommerce-cart table.shop_table td.product-remove a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #ef4444 !important;
  background: transparent;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1;
  transition: all 0.3s;
  font-weight: 400;
}

.woocommerce-cart table.shop_table td.product-remove a:hover {
  color: #dc2626 !important;
  background: rgba(239, 68, 68, 0.1);
}

/* Actions Row (Coupon & Update Cart) */
.woocommerce-cart table.shop_table td.actions {
  background: transparent;
  padding: 2rem 1rem;
  border-top: 2px solid #4b5563;
}

.woocommerce-cart .actions .coupon {
  display: inline-flex;
  gap: 0.75rem;
  margin-right: 1rem;
  flex-wrap: wrap;
}

.woocommerce-cart .actions .coupon input.input-text {
  background: #2a2e35 !important;
  color: white !important;
  border: 1px solid #4b5563 !important;
  border-radius: 0.5rem !important;
  padding: 0 1rem !important;
  height: 48px !important;
  line-height: 48px !important;
  font-size: 1rem;
}

.woocommerce-cart .actions .coupon input.input-text::placeholder {
  color: #9ca3af;
}

.woocommerce-cart .actions .coupon input.input-text:focus {
  outline: none;
  border-color: #d4af37 !important;
  background: #374151 !important;
}

.woocommerce-cart .actions button[name="update_cart"] {
  background: #2a2e35 !important;
  color: white !important;
  border: 1px solid #4b5563 !important;
  border-radius: 0.5rem !important;
  padding: 0 1.5rem !important;
  height: 48px !important;
  line-height: 48px !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.woocommerce-cart .actions button[name="update_cart"]:hover {
  background: #374151 !important;
  border-color: #6b7280 !important;
}

.woocommerce-cart .actions button.button.apply-coupon {
  background: white !important;
  color: #1f2937 !important;
  border: none !important;
  border-radius: 0.5rem !important;
  padding: 0 1.5rem !important;
  height: 48px !important;
  line-height: 48px !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.woocommerce-cart .actions button.button.apply-coupon:hover {
  background: #d4af37 !important;
  color: white !important;
}

/* Cart Collaterals (Totals Sidebar) */
.woocommerce-cart .cart-collaterals {
  width: 100%;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  background: #1f2228;
  border-radius: 0.5rem;
  padding: 2rem;
  width: 100%;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
  color: white !important;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #4b5563;
}

.woocommerce-cart .cart-collaterals .cart_totals table {
  background: transparent;
  border: none;
  margin: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals table tr {
  background: transparent;
  border-bottom: 1px solid #4b5563;
}

.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total {
  border-top: 2px solid #4b5563;
  border-bottom: none;
}

.woocommerce-cart .cart-collaterals .cart_totals table th {
  color: #d1d5db !important;
  font-weight: 600;
  padding: 1rem 0;
  border: none;
  text-align: left;
  width: 50%;
  background: transparent;
}

.woocommerce-cart .cart-collaterals .cart_totals table td {
  color: white !important;
  font-weight: 600;
  padding: 1rem 0;
  border: none;
  text-align: right;
  background: transparent;
}

.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total th,
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total td {
  padding-top: 1.5rem;
  font-size: 1.25rem;
}

.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total th {
  color: white !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table td .amount {
  color: white !important;
  font-weight: 600;
}

/* Shipping Options */
.woocommerce-cart .cart-collaterals .cart_totals .woocommerce-shipping-calculator {
  margin-top: 1rem;
}

.woocommerce-cart .cart-collaterals .cart_totals .shipping-calculator-button {
  color: #d4af37 !important;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.875rem;
}

.woocommerce-cart .cart-collaterals .cart_totals ul#shipping_method {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.woocommerce-cart .cart-collaterals .cart_totals ul#shipping_method li {
  margin: 0.5rem 0;
  color: white;
}

.woocommerce-cart .cart-collaterals .cart_totals ul#shipping_method li input {
  margin-right: 0.5rem;
}

.woocommerce-cart .cart-collaterals .cart_totals ul#shipping_method li label {
  color: white;
}

/* Proceed to Checkout Button */
.woocommerce-cart .wc-proceed-to-checkout {
  padding: 1.5rem 0 0 0;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button.button.alt.wc-forward {
  background: white !important;
  color: #1f2937 !important;
  font-weight: 600 !important;
  padding: 1rem 3rem !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  transition: all 0.3s !important;
  border: none !important;
  width: 100% !important;
  display: block !important;
  height: auto !important;
  line-height: 1 !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background: #d4af37 !important;
  color: white !important;
}

/* Cross-sells */
.woocommerce-cart .cross-sells {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid #4b5563;
}

.woocommerce-cart .cross-sells h2 {
  color: white !important;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Empty Cart Message */
.woocommerce-cart .cart-empty {
  color: white !important;
  font-size: 1.25rem;
  text-align: center;
  padding: 3rem;
  background: #1f2228;
  border-radius: 0.5rem;
}

.woocommerce-cart .return-to-shop {
  text-align: center;
  margin-top: 2rem;
}

.woocommerce-cart .return-to-shop .button {
  background: white !important;
  color: #1f2937 !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 1rem 3rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.woocommerce-cart .return-to-shop .button:hover {
  background: #d4af37 !important;
  color: white !important;
}

/* WooCommerce Messages */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info {
  background: rgba(212, 175, 55, 0.1) !important;
  border-left: 4px solid #d4af37 !important;
  color: white !important;
  padding: 1rem 1.5rem !important;
  margin-bottom: 2rem !important;
  border-radius: 0.5rem;
}

.woocommerce-cart .woocommerce-error {
  background: rgba(239, 68, 68, 0.1) !important;
  border-left-color: #ef4444 !important;
}

.woocommerce-cart .woocommerce-info {
  background: rgba(59, 130, 246, 0.1) !important;
  border-left-color: #3b82f6 !important;
}

.woocommerce-cart .woocommerce-message a,
.woocommerce-cart .woocommerce-error a,
.woocommerce-cart .woocommerce-info a {
  color: white !important;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Ensure all elements use border-box sizing */
  .woocommerce-cart *,
  .woocommerce-cart *::before,
  .woocommerce-cart *::after {
    box-sizing: border-box;
  }
  
  /* Reduce padding on mobile and prevent overflow */
  .woocommerce-cart .woocommerce {
    padding: 1rem 0.5rem;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .woocommerce-cart .woocommerce-cart-form {
    padding: 0.5rem;
    border-radius: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .woocommerce-cart table.shop_table {
    width: 100% !important;
    max-width: 100%;
    table-layout: fixed;
  }
  
  .woocommerce-cart table.shop_table thead {
    display: none;
  }
  
  .woocommerce-cart table.shop_table tbody tr {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #2a2e35;
    border-radius: 0.75rem;
    border: none;
    width: 100%;
    box-sizing: border-box;
  }
  
  .woocommerce-cart table.shop_table td {
    padding: 0;
    border: none;
  }
  
  /* Hide data-title based ::before content on specific cells */
  .woocommerce-cart table.shop_table td.product-name::before,
  .woocommerce-cart table.shop_table td.product-thumbnail::before,
  .woocommerce-cart table.shop_table td.product-remove::before,
  .woocommerce-cart table.shop_table td.product-quantity::before {
    display: none !important;
    content: none !important;
  }

  .woocommerce-cart table.shop_table thead tr.nv-two-col-header th.nv-header-total {
    width: auto;
  }

  .woocommerce-cart table.shop_table tbody tr.nv-cart-row-enhanced {
    display: block;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .woocommerce-cart table.shop_table tbody tr.nv-cart-row-enhanced td.nv-main-cell,
  .woocommerce-cart table.shop_table tbody tr.nv-cart-row-enhanced td.nv-total-cell {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: left;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  /* Hide any ::before content from table cells on mobile */
  .woocommerce-cart table.shop_table tbody tr.nv-cart-row-enhanced td.nv-main-cell::before {
    display: none !important;
    content: none !important;
  }

  /* Stack vertically: image, then name/prices, then actions */
  .woocommerce-cart .nv-cart-main {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .nv-cart-media {
    width: 100%;
    margin-bottom: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .nv-cart-media a {
    max-width: 180px;
    margin: 0 auto;
    display: block;
  }
  
  .woocommerce-cart .nv-cart-content {
    gap: 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .nv-cart-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .woocommerce-cart .nv-cart-title a {
    color: white !important;
  }
  
  .woocommerce-cart .nv-cart-price {
    text-align: center;
    font-size: 1rem;
  }

  .woocommerce-cart .nv-cart-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #4b5563;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .woocommerce-cart table.shop_table tbody tr.nv-cart-row-enhanced td.nv-total-cell {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #4b5563;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Product variation dropdown - full width and better styling */
  .woocommerce-cart .nv-subscription-select-wrap {
    max-width: 100%;
    width: 100%;
    margin: 0.75rem 0;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .nv-subscription-select {
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    font-size: 0.95rem;
    height: auto;
    min-height: 48px;
    box-sizing: border-box;
  }
  
  /* Quantity selector - better sizing */
  .woocommerce-cart .quantity {
    width: 100%;
    max-width: none;
    justify-content: center;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .quantity input.qty {
    flex: 1;
    max-width: 100px;
    height: 48px;
    font-size: 1.125rem;
    box-sizing: border-box;
  }
  
  /* Remove button in actions - compact */
  .woocommerce-cart .nv-cart-remove a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    border-radius: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444 !important;
  }
  
  .woocommerce-cart .nv-cart-remove a:hover {
    background: rgba(239, 68, 68, 0.2);
  }
  
  /* Total section */
  .woocommerce-cart td.nv-total-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0 0 !important;
    margin-top: 1rem;
  }
  
  .woocommerce-cart td.nv-total-cell::before {
    content: "Kwota:";
    color: #e5e7eb;
    font-weight: 600;
    font-size: 1.125rem;
  }
  
  .woocommerce-cart td.nv-total-cell .amount {
    font-size: 1.5rem !important;
    font-weight: 700;
  }
  
  /* Actions section - coupon and update button */
  .woocommerce-cart table.shop_table td.actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0 !important;
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .actions .coupon {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0;
    gap: 0.75rem;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .actions .coupon input.input-text {
    width: 100%;
    max-width: 100%;
    height: 52px !important;
    line-height: 52px !important;
    padding: 0 1rem !important;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .actions button.button.apply-coupon {
    width: 100%;
    max-width: 100%;
    height: 52px !important;
    line-height: 52px !important;
    padding: 0 1.5rem !important;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .actions button[name="update_cart"] {
    width: 100%;
    max-width: 100%;
    height: 52px !important;
    line-height: 52px !important;
    padding: 0 1.5rem !important;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  /* Cart totals sidebar */
  .woocommerce-cart .cart-collaterals {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .cart-collaterals .cart_totals {
    padding: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .woocommerce-cart .cart-collaterals .cart_totals h2 {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }
  
  .woocommerce-cart .cart-collaterals .cart_totals table th,
  .woocommerce-cart .cart-collaterals .cart_totals table td {
    padding: 0.875rem 0;
    font-size: 1rem;
  }
  
  .woocommerce-cart .cart-collaterals .cart_totals table tr.order-total th,
  .woocommerce-cart .cart-collaterals .cart_totals table tr.order-total td {
    padding-top: 1.25rem;
    font-size: 1.25rem;
  }
  
  .woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    height: 52px !important;
  }
  
  /* Old cart table layout fallback */
  .woocommerce-cart table.shop_table td.product-remove {
    order: 1;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .woocommerce-cart table.shop_table td.product-thumbnail {
    order: 2;
    width: 100%;
    padding: 0;
    margin-bottom: 1rem;
  }
  
  .woocommerce-cart table.shop_table td.product-thumbnail a {
    max-width: 180px;
    margin: 0 auto;
  }
  
  .woocommerce-cart table.shop_table td.product-name {
    order: 3;
    width: 100%;
    padding: 0 0 1rem 0;
    text-align: center;
  }
  
  .woocommerce-cart table.shop_table td.product-name a {
    font-size: 1.125rem;
  }
  
  .woocommerce-cart table.shop_table td.product-price {
    order: 4;
    width: 100%;
    padding-bottom: 1rem;
    text-align: center;
  }
  
  .woocommerce-cart table.shop_table td.product-price::before {
    content: "";
    display: none;
  }
  
  .woocommerce-cart table.shop_table td.product-quantity {
    order: 5;
    width: 100%;
    text-align: center;
    padding-bottom: 1rem;
  }
  
  .woocommerce-cart table.shop_table td.product-quantity .quantity {
    margin: 0 auto;
    max-width: 160px;
  }
  
  .woocommerce-cart table.shop_table td.product-subtotal {
    order: 6;
    width: 100%;
    text-align: center;
    font-size: 1.375rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #4b5563;
  }
  
  .woocommerce-cart table.shop_table td.product-subtotal::before {
    content: "Kwota: ";
    color: #e5e7eb;
    font-weight: 600;
    display: inline;
    margin-right: 0.5rem;
  }
  
  /* Coupon input label */
  .woocommerce-cart .coupon #coupon_code {
    min-width: auto;
  }
}
