/* =====================================
   Cart / checkout shared
===================================== */
.woocommerce-cart .vs-bundle-thumb--cart,
.woocommerce-checkout .vs-bundle-thumb--checkout {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
}

.woocommerce-cart .vs-bundle-thumb--cart img,
.woocommerce-checkout .vs-bundle-thumb--checkout img {
  display: block;
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
}

.woocommerce-checkout .vs-checkout-bundle-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.woocommerce-checkout .vs-checkout-bundle-item__name {
  display: block;
  min-width: 0;
}

/* Bundle meta */
.woocommerce-cart .product-name dl.variation,
.woocommerce-checkout-review-order-table .product-name dl.variation {
  display: block;
  margin: 8px 0 0 !important;
}

.woocommerce-cart .product-name dl.variation dt,
.woocommerce-checkout-review-order-table .product-name dl.variation dt {
  display: none !important;
}

.woocommerce-cart .product-name dl.variation dd,
.woocommerce-checkout-review-order-table .product-name dl.variation dd {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-cart .product-name dl.variation dd p,
.woocommerce-checkout-review-order-table .product-name dl.variation dd p {
  margin: 0 !important;
  text-align: left !important;
}

.vs-cart-bundle-title-inline {
  display: block !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #475569 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  white-space: normal !important;
}

.vs-cart-bundle-line,
.vs-cart-bundle-bonus {
  display: block !important;
  text-align: left !important;
  line-height: 1.45 !important;
}

.vs-cart-bundle-bonus {
  margin-top: 4px !important;
  color: #5aa672 !important;
}

.vs-cart-stock-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 8px 0 10px !important;
  padding: 6px 12px !important;
  border: 1px solid #d5eedf !important;
  border-radius: 999px !important;
  background: #f0fdf4 !important;
  color: #15803d !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
}

.vs-cart-stock-chip::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

/* Quantity */
.woocommerce-cart .quantity.vs-cart-qty {
  display: inline-flex !important;
  align-items: stretch !important;
  min-width: 126px;
  border: 1px solid #dbe3ec;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.woocommerce-cart .quantity.vs-cart-qty input.qty {
  width: 70px !important;
  min-width: 70px !important;
  height: 48px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  text-align: center !important;
  font-weight: 700;
  -moz-appearance: textfield;
}

.woocommerce-cart .quantity.vs-cart-qty input.qty.vs-cart-qty-hidden {
  display: none !important;
}

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

.woocommerce-cart .vs-cart-qty-controls {
  display: flex;
  flex-direction: column;
  width: 42px;
  border-left: 1px solid #e5e7eb;
}

.woocommerce-cart .vs-cart-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 50%;
  padding: 0;
  border: 0;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  box-shadow: none;
}

.woocommerce-cart .vs-cart-qty-btn + .vs-cart-qty-btn {
  border-top: 1px solid #e5e7eb;
}

.woocommerce-cart .vs-cart-qty-btn:hover,
.woocommerce-cart .vs-cart-qty-btn:focus {
  background: #eef4fb;
  color: #0f52ad;
}

.woocommerce-cart .vs-cart-qty-btn span {
  font-size: 13px;
  line-height: 1;
}

.woocommerce-cart .quantity.vs-cart-qty.vs-cart-qty--select {
  min-width: 132px;
  overflow: visible !important;
}

.woocommerce-cart .vs-cart-qty-select {
  width: 132px;
  min-width: 132px;
  height: 48px;
  padding: 0 42px 0 14px;
  border: 0;
  border-radius: 14px;
  background-color: #fff;
  color: #0f172a;
  font-weight: 700;
  text-align: center;
  text-align-last: center;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}

/* Remove button */
.woocommerce-cart table.cart a.remove,
.woocommerce-page table.cart a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 auto !important;
  border: 1px solid #fecaca !important;
  border-radius: 12px !important;
  background: #fff5f5 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  position: relative !important;
}

.woocommerce-cart table.cart a.remove::before,
.woocommerce-page table.cart a.remove::before {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 6 5 6 21 6'/><path d='M19 6l-1 14H6L5 6'/><path d='M10 11v6'/><path d='M14 11v6'/><path d='M9 6V4h6v2'/></svg>");
}

.woocommerce-cart table.cart a.remove:hover,
.woocommerce-page table.cart a.remove:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
}

/* Cart actions */
.woocommerce-cart .vs-cart-continue-inline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border: 1px solid #dbe3ec !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #334155 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.woocommerce-cart .vs-cart-continue-inline:hover,
.woocommerce-cart .vs-cart-continue-inline:focus {
  border-color: #cfd8e3 !important;
  background: #fff !important;
  color: #0f52ad !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.woocommerce-cart table.shop_table.cart td.actions {
  position: relative !important;
}

.woocommerce-cart .vs-cart-actions-row {
  display: none !important;
}

/* Totals card */
.woocommerce-cart .cart-collaterals .cart_totals {
  padding: 28px !important;
  border: 3px solid #efefef !important;
  background: #fff !important;
}

.woocommerce-cart .cart_totals h2 {
  margin: 0 0 20px !important;
  font-size: 20px !important;
  text-transform: uppercase !important;
}

.woocommerce-cart .cart_totals tr td,
.woocommerce-cart .cart_totals tr th {
  padding: 12px 15px !important;
  border-bottom: 1px solid #e6e6e6 !important;
}

.woocommerce-cart .cart_totals tr td:last-child,
.woocommerce-cart .cart_totals tr th:last-child {
  text-align: right !important;
}

.woocommerce-cart .cart_totals tr.cart-subtotal th,
.woocommerce-cart .cart_totals tr.cart-subtotal td {
  white-space: nowrap !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods label,
.woocommerce-cart .cart_totals .woocommerce-shipping-totals label {
  color: #15803d !important;
  font-weight: 700 !important;
}

.woocommerce-cart .vs-cart-payment-strip {
  margin-top: 14px;
}

.woocommerce-cart .vs-cart-payment-strip__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Desktop layout */
@media (min-width: 992px) {
  .woocommerce-cart .woocommerce::after {
    content: '';
    display: block;
    clear: both;
  }

  .woocommerce-cart .woocommerce-notices-wrapper {
    clear: both;
    margin-bottom: 16px;
  }

  .woocommerce-cart .woocommerce-cart-form {
    width: 68% !important;
    float: left !important;
    margin: 0 !important;
    clear: left !important;
  }

  .woocommerce-cart .cart-collaterals {
    width: 29.5% !important;
    float: right !important;
    margin: 0 !important;
    clear: none !important;
  }

  .woocommerce-cart .cart-collaterals .cart_totals {
    position: sticky;
    top: 24px;
    width: 100% !important;
    float: none !important;
  }

  .woocommerce-cart .cross-sells {
    clear: both;
    margin-top: 28px !important;
  }

  .woocommerce-cart table.shop_table.cart {
    width: 100% !important;
    table-layout: fixed !important;
  }

  .woocommerce-cart table.shop_table.cart th.product-remove,
  .woocommerce-cart table.shop_table.cart td.product-remove {
    width: 56px !important;
    min-width: 56px !important;
    padding-left: 0 !important;
  }

  .woocommerce-cart table.shop_table.cart th.product-thumbnail,
  .woocommerce-cart table.shop_table.cart td.product-thumbnail {
    width: 150px !important;
    min-width: 150px !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  .woocommerce-cart .vs-bundle-thumb--cart,
  .woocommerce-cart table.shop_table.cart td.product-thumbnail > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 156px !important;
    max-width: 156px !important;
    min-width: 156px !important;
    height: 156px !important;
    padding: 10px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  .woocommerce-cart .vs-bundle-thumb--cart {
    justify-content: center !important;
  }

  .woocommerce-cart .vs-bundle-thumb--cart img,
  .woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .woocommerce-cart table.shop_table.cart th.product-price,
  .woocommerce-cart table.shop_table.cart td.product-price {
    width: 120px !important;
    min-width: 120px !important;
  }

  .woocommerce-cart table.shop_table.cart th.product-quantity,
  .woocommerce-cart table.shop_table.cart td.product-quantity {
    width: 150px !important;
    min-width: 150px !important;
  }

  .woocommerce-cart table.shop_table.cart th.product-subtotal,
  .woocommerce-cart table.shop_table.cart td.product-subtotal {
    width: 130px !important;
    min-width: 130px !important;
  }

  .woocommerce-cart table.shop_table.cart th.product-name,
  .woocommerce-cart table.shop_table.cart td.product-name {
    width: auto !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name > a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    margin: 0 0 8px !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name dl.variation dd p {
    max-width: 100% !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name .vs-cart-bundle-line,
  .woocommerce-cart table.shop_table.cart td.product-name .vs-cart-bundle-bonus {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name .vs-cart-bundle-title-inline {
    margin-bottom: 8px !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-remove,
  .woocommerce-cart table.shop_table.cart td.product-thumbnail,
  .woocommerce-cart table.shop_table.cart td.product-name,
  .woocommerce-cart table.shop_table.cart td.product-price,
  .woocommerce-cart table.shop_table.cart td.product-quantity,
  .woocommerce-cart table.shop_table.cart td.product-subtotal {
    vertical-align: top !important;
  }

  .woocommerce-cart table.shop_table.cart td.actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 22px 0 0 !important;
    border-bottom: 0 !important;
  }

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

  .woocommerce-cart table.shop_table.cart td.actions .vs-cart-continue-inline {
    min-width: 220px !important;
    margin: 0 !important;
  }

  .woocommerce-cart .cross-sells .product a.vs-cart-crosssell-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .woocommerce-cart .cross-sells .product a.vs-cart-crosssell-btn::before {
    display: none !important;
  }
}

/* Mobile layout */
@media (max-width: 767px) {
  .woocommerce-cart .vs-bundle-thumb--cart,
  .woocommerce-cart .product-thumbnail > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 112px !important;
    max-width: 112px !important;
    min-width: 112px !important;
    height: 112px !important;
    padding: 8px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  .woocommerce-cart .vs-bundle-thumb--cart img,
  .woocommerce-cart .product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item,
  .woocommerce-page table.shop_table_responsive tr.cart_item {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) 36px;
    grid-template-areas:
      "thumb name remove"
      "price price price"
      "qty qty qty";
    gap: 12px;
    margin: 0 0 16px !important;
    padding: 16px !important;
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    align-items: start !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td,
  .woocommerce-page table.shop_table_responsive tr.cart_item td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td::before,
  .woocommerce-page table.shop_table_responsive tr.cart_item td::before {
    float: none !important;
    position: static !important;
    display: block !important;
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    color: #64748b;
    content: attr(data-title);
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-thumbnail { grid-area: thumb; }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-name {
    grid-area: name;
    min-width: 0;
    padding-top: 2px !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-remove {
    grid-area: remove;
    justify-self: end;
    align-self: start;
    width: auto !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-price,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-price { grid-area: price; }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-quantity { grid-area: qty; }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-subtotal,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-subtotal {
    display: none !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail::before,
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name::before,
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove::before,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-thumbnail::before,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-name::before,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-remove::before {
    display: none !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name > a,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-name > a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    margin: 0 0 8px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  .woocommerce-cart .vs-cart-stock-chip {
    margin: 0 0 8px !important;
  }

  .woocommerce-cart .vs-cart-bundle-title-inline {
    margin: 0 0 6px !important;
    font-size: 14px !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-price,
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-price,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-quantity {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px !important;
    border-top: 1px solid #eef2f6 !important;
  }

  .woocommerce-cart table.shop_table.cart td.actions,
  .woocommerce-page table.shop_table.cart td.actions {
    display: block !important;
    padding: 16px 0 8px !important;
    border-bottom: 0 !important;
  }

  .woocommerce-cart table.shop_table.cart td.actions .vs-cart-continue-inline,
  .woocommerce-page table.shop_table.cart td.actions .vs-cart-continue-inline {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    justify-content: center !important;
    white-space: nowrap !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

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

  .woocommerce-cart .cart-collaterals .cart_totals {
    padding: 20px !important;
  }

  .woocommerce-cart .vs-cart-payment-strip {
    gap: 6px;
  }

  /* Cross-sells hidden on mobile for focus/conversion */
  .woocommerce-cart .cross-sells,
  .woocommerce-page .cross-sells {
    display: none !important;
  }
}

/* =====================================
   Cart / checkout final polish v8
===================================== */

/* Payment strip: force image-only */
.woocommerce-cart .vs-cart-payment-strip {
  margin-top: 14px !important;
}

.woocommerce-cart .vs-cart-payment-strip > :not(.vs-cart-payment-strip__image) {
  display: none !important;
}

.woocommerce-cart .vs-cart-payment-strip__image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
}

/* Shipping label on one line */
.woocommerce-cart .cart_totals .woocommerce-shipping-methods label,
.woocommerce-cart .cart_totals .woocommerce-shipping-totals label {
  display: inline-block !important;
  white-space: nowrap !important;
}

/* Stock chip stays under title */
.woocommerce-cart .product-name .vs-cart-stock-chip {
  display: inline-flex !important;
  align-self: flex-start !important;
  margin: 0 0 10px !important;
}

/* Desktop refinement */
@media (min-width: 992px) {
  .woocommerce-cart table.shop_table.cart th.product-thumbnail,
  .woocommerce-cart table.shop_table.cart td.product-thumbnail {
    width: 170px !important;
    min-width: 170px !important;
    padding-left: 0 !important;
    padding-right: 16px !important;
    text-align: left !important;
  }

  .woocommerce-cart .vs-bundle-thumb--cart,
  .woocommerce-cart table.shop_table.cart td.product-thumbnail > a {
    width: 168px !important;
    max-width: 168px !important;
    min-width: 168px !important;
    height: 168px !important;
  }

  .woocommerce-cart .vs-bundle-thumb--cart img,
  .woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border: 0 !important;
    background: transparent !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name > a {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    white-space: normal !important;
    margin: 0 0 8px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name .vs-cart-bundle-title-inline {
    margin: 0 0 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name .vs-cart-bundle-line,
  .woocommerce-cart table.shop_table.cart td.product-name .vs-cart-bundle-bonus {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}

/* Mobile refinement */
@media (max-width: 767px) {
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-name {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name > a,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-name > a {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    margin: 0 0 8px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  .woocommerce-cart .product-name .vs-cart-stock-chip,
  .woocommerce-page .product-name .vs-cart-stock-chip {
    margin: 0 0 8px !important;
  }

  .woocommerce-cart .product-name .vs-cart-bundle-title-inline,
  .woocommerce-page .product-name .vs-cart-bundle-title-inline {
    margin: 0 0 6px !important;
    font-size: 13px !important;
  }

  .woocommerce-cart .product-name .vs-cart-bundle-line,
  .woocommerce-page .product-name .vs-cart-bundle-line {
    display: block !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    letter-spacing: -0.01em !important;
  }

  .woocommerce-cart .product-name .vs-cart-bundle-bonus,
  .woocommerce-page .product-name .vs-cart-bundle-bonus {
    display: block !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}


/* =====================================
   Cart / checkout final polish v9
===================================== */

/* More breathing room between image and content */
@media (min-width: 992px) {
  .woocommerce-cart table.shop_table.cart th.product-thumbnail,
  .woocommerce-cart table.shop_table.cart td.product-thumbnail {
    width: 174px !important;
    min-width: 174px !important;
    padding-right: 26px !important;
  }

  .woocommerce-cart table.shop_table.cart th.product-price,
  .woocommerce-cart table.shop_table.cart td.product-price {
    width: 104px !important;
    min-width: 104px !important;
  }

  .woocommerce-cart table.shop_table.cart th.product-quantity,
  .woocommerce-cart table.shop_table.cart td.product-quantity {
    width: 136px !important;
    min-width: 136px !important;
  }

  .woocommerce-cart table.shop_table.cart th.product-subtotal,
  .woocommerce-cart table.shop_table.cart td.product-subtotal {
    width: 116px !important;
    min-width: 116px !important;
  }

  .woocommerce-cart table.shop_table.cart th.product-name,
  .woocommerce-cart table.shop_table.cart td.product-name {
    padding-left: 10px !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name > a,
  .woocommerce-cart table.shop_table.cart td.product-name .vs-cart-stock-chip,
  .woocommerce-cart table.shop_table.cart td.product-name dl.variation {
    margin-left: 6px !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name > a {
    margin-bottom: 10px !important;
  }

  .woocommerce-cart .product-name .vs-cart-stock-chip {
    margin-bottom: 14px !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name .vs-cart-bundle-title-inline {
    margin-bottom: 8px !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name .vs-cart-bundle-line {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    line-height: 1.5 !important;
    margin: 0 0 2px !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name .vs-cart-bundle-bonus {
    display: block !important;
    margin-top: 8px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    color: #5aa672 !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-thumbnail > a,
  .woocommerce-cart .vs-bundle-thumb--cart,
  .woocommerce-cart .vs-cart-thumb-wrap {
    width: 176px !important;
    max-width: 176px !important;
    min-width: 176px !important;
    height: 176px !important;
  }

  .woocommerce-cart .vs-cart-thumb-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  .woocommerce-cart .vs-cart-thumb-wrap img {
    width: 92% !important;
    height: 92% !important;
    max-width: 92% !important;
    max-height: 92% !important;
    object-fit: contain !important;
    border: 0 !important;
    background: transparent !important;
  }
}

/* Mobile: keep badge/title outside thumb and preserve bundle lines */
@media (max-width: 767px) {
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-name {
    padding-left: 6px !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name > a,
  .woocommerce-page table.shop_table_responsive tr.cart_item td.product-name > a,
  .woocommerce-cart .product-name .vs-cart-stock-chip,
  .woocommerce-page .product-name .vs-cart-stock-chip,
  .woocommerce-cart .product-name dl.variation,
  .woocommerce-page .product-name dl.variation {
    margin-left: 0 !important;
  }

  .woocommerce-cart .product-name .vs-cart-bundle-line,
  .woocommerce-page .product-name .vs-cart-bundle-line {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    line-height: 1.4 !important;
  }

  .woocommerce-cart .product-name .vs-cart-bundle-bonus,
  .woocommerce-page .product-name .vs-cart-bundle-bonus {
    display: block !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    margin-top: 6px !important;
  }
}

/* Payment strip image only */
.woocommerce-cart .vs-cart-payment-strip {
  display: block !important;
}

.woocommerce-cart .vs-cart-payment-strip > *:not(img) {
  display: none !important;
}

/* Shipping free label on one line */
.woocommerce-cart .cart_totals .woocommerce-shipping-methods li,
.woocommerce-cart .cart_totals .woocommerce-shipping-methods label,
.woocommerce-cart .cart_totals .woocommerce-shipping-totals label {
  white-space: nowrap !important;
}

/* =====================================
   Checkout bonus line as small text
===================================== */
.woocommerce-checkout-review-order-table .product-name .vs-cart-bundle-bonus,
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name .vs-cart-bundle-bonus,
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name small,
.woocommerce-checkout .woocommerce-checkout-review-order-table .variation small {
  display: block !important;
  margin-top: 4px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #5aa672 !important;
}

/* =====================================
   Checkout wording + button polish
===================================== */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .wc-terms-and-conditions,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text {
  margin-top: 14px !important;
  margin-bottom: 14px !important;
}

.woocommerce-checkout .vs-checkout-privacy-note,
.woocommerce-checkout .woocommerce-privacy-policy-text small {
  display: block !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #64748b !important;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text,
.woocommerce-checkout .vs-checkout-terms-label {
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #334155 !important;
  font-weight: 500 !important;
}

.woocommerce-checkout #place_order,
.woocommerce-checkout button#place_order,
.woocommerce-checkout .woocommerce #payment #place_order {
  min-height: 48px !important;
  padding: 0 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}

.woocommerce-cart .vs-cart-bundle-bonus,
.woocommerce-checkout .vs-cart-bundle-bonus {
  display: block !important;
  margin-top: 6px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: #5aa672 !important;
}

/* =====================================
   Shipping totals cleanup v7
   Root cause fix: replace stacked hotfixes with one clean rule set
===================================== */

/* Cart totals table: keep the overview card stable */
.woocommerce-cart .cart-collaterals .cart_totals .shop_table {
  width: 100% !important;
  table-layout: fixed !important;
}

.woocommerce-cart .cart_totals tr.shipping th,
.woocommerce-cart .cart_totals tr.shipping td,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td {
  box-sizing: border-box !important;
  min-width: 0 !important;
  vertical-align: middle !important;
}

.woocommerce-cart .cart_totals tr.shipping th,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th {
  width: 30% !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.woocommerce-cart .cart_totals tr.shipping td,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td {
  width: 70% !important;
  text-align: right !important;
}

.woocommerce-cart .cart_totals #shipping_method,
.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods label,
.woocommerce-cart .cart_totals .woocommerce-shipping-totals label {
  display: inline-block !important;
  max-width: 100% !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-align: right !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods label .amount,
.woocommerce-cart .cart_totals .woocommerce-shipping-totals label .amount {
  color: inherit !important;
  white-space: nowrap !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods label[for*="free_shipping"],
.woocommerce-cart .cart_totals .woocommerce-shipping-totals label[for*="free_shipping"] {
  color: #22a652 !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods label[for*="flat_rate"],
.woocommerce-cart .cart_totals .woocommerce-shipping-totals label[for*="flat_rate"],
.woocommerce-cart .cart_totals .woocommerce-shipping-methods label[for*="local_pickup"],
.woocommerce-cart .cart_totals .woocommerce-shipping-totals label[for*="local_pickup"] {
  color: #0f172a !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
  display: block !important;
  margin: 8px 0 0 !important;
  text-align: right !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-button {
  display: inline-block !important;
  margin-top: 4px !important;
}

/* Checkout: free shipping green, paid shipping dark */
.woocommerce-checkout #shipping_method li label {
  color: #0f172a !important;
}

.woocommerce-checkout #shipping_method li input[value*="free_shipping"] + label,
.woocommerce-checkout #shipping_method li label[for*="free_shipping"] {
  color: #22a652 !important;
}

/* Desktop: keep method and amount on one line, inside the card */
@media (min-width: 992px) {
  .woocommerce-cart .cart_totals .woocommerce-shipping-methods label,
  .woocommerce-cart .cart_totals .woocommerce-shipping-totals label {
    font-size: 14px !important;
    white-space: nowrap !important;
  }
}

/* Mobile: default WooCommerce pattern, label left and shipping info right */
@media (max-width: 991.98px) {
  .woocommerce-cart .cart_totals table.shop_table_responsive tr.shipping th,
  .woocommerce-cart .cart_totals table.shop_table_responsive tr.woocommerce-shipping-totals th {
    display: none !important;
  }

  .woocommerce-cart .cart_totals table.shop_table_responsive tr.shipping td,
  .woocommerce-cart .cart_totals table.shop_table_responsive tr.woocommerce-shipping-totals td {
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    position: relative !important;
  }

  .woocommerce-cart .cart_totals table.shop_table_responsive tr.shipping td::before,
  .woocommerce-cart .cart_totals table.shop_table_responsive tr.woocommerce-shipping-totals td::before {
    content: attr(data-title) !important;
    float: left !important;
    margin-right: 12px !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
  }

  .woocommerce-cart .cart_totals .woocommerce-shipping-methods label,
  .woocommerce-cart .cart_totals .woocommerce-shipping-totals label {
    font-size: 13px !important;
    white-space: nowrap !important;
  }
}



/* =====================================
   Cart shipping summary v9
   Cart only: compact summary row, checkout untouched
===================================== */

/* Cart page stays compact. Address and destination belong to checkout. */
.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
.woocommerce-cart .cart_totals .shipping-calculator-button,
.woocommerce-cart .cart_totals .woocommerce-shipping-calculator {
  display: none !important;
}

.woocommerce-cart .cart_totals tr.vs-cart-shipping-row th,
.woocommerce-cart .cart_totals tr.vs-cart-shipping-row td {
  vertical-align: middle !important;
}

.woocommerce-cart .cart_totals tr.vs-cart-shipping-row td {
  min-width: 0 !important;
}

.woocommerce-cart .cart_totals .vs-cart-shipping-summary {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  width: 100% !important;
  min-width: 0 !important;
}

.woocommerce-cart .cart_totals .vs-cart-shipping-option {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.woocommerce-cart .cart_totals .vs-cart-shipping-option .shipping_method[type="hidden"] {
  display: none !important;
}

.woocommerce-cart .cart_totals .vs-cart-shipping-option__label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.woocommerce-cart .cart_totals .vs-cart-shipping-option.is-free .vs-cart-shipping-option__label,
.woocommerce-cart .cart_totals .vs-cart-shipping-summary.is-free .vs-cart-shipping-option__label {
  color: #22a652 !important;
}

.woocommerce-cart .cart_totals .vs-cart-shipping-option__name,
.woocommerce-cart .cart_totals .vs-cart-shipping-option__separator,
.woocommerce-cart .cart_totals .vs-cart-shipping-option__price,
.woocommerce-cart .cart_totals .vs-cart-shipping-option__price .woocommerce-Price-amount,
.woocommerce-cart .cart_totals .vs-cart-shipping-option__price .amount,
.woocommerce-cart .cart_totals .vs-cart-shipping-option__price bdi,
.woocommerce-cart .cart_totals .vs-cart-shipping-option__price .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  white-space: nowrap !important;
}

.woocommerce-cart .cart_totals .vs-cart-shipping-message {
  margin: 0 !important;
  color: #334155 !important;
  line-height: 1.45 !important;
}

@media (min-width: 992px) {
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row th {
    width: 31% !important;
    white-space: nowrap !important;
  }

  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row td {
    width: 69% !important;
    text-align: right !important;
    overflow: hidden !important;
  }
}

@media (max-width: 991.98px) {
  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row th {
    display: none !important;
  }

  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row td {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 16px !important;
    width: 100% !important;
    text-align: right !important;
    position: relative !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row td::before {
    content: attr(data-title) !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    position: static !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    text-align: left !important;
  }

  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row td > * {
    grid-column: 2 !important;
    justify-self: end !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .woocommerce-cart .cart_totals .vs-cart-shipping-summary {
    align-items: flex-end !important;
  }

  .woocommerce-cart .cart_totals .vs-cart-shipping-option__label {
    font-size: 13px !important;
  }
}


/* =====================================
   Cart shipping summary v10
   Small free-shipping hint + keep mobile label on one line
===================================== */
.woocommerce-cart .cart_totals .vs-cart-shipping-option__note {
  display: block !important;
  margin-top: 4px !important;
  color: #22a652 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

@media (max-width: 991.98px) {
  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row td {
    grid-template-columns: 128px minmax(0, 1fr) !important;
    column-gap: 18px !important;
  }

  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row td::before {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .woocommerce-cart .cart_totals .vs-cart-shipping-option__note {
    text-align: right !important;
  }
}


/* =====================================
   Cart shipping summary v11
   Mobile shipping label should match subtotal/total styling
===================================== */
@media (max-width: 991.98px) {
  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row td::before {
    justify-self: start !important;
    align-self: center !important;
    font-weight: 400 !important;
    color: #334155 !important;
    letter-spacing: 0 !important;
  }
}


/* =====================================
   Cart shipping summary v12
   Nudge mobile shipping label left to match other totals rows
===================================== */
@media (max-width: 991.98px) {
  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row td::before {
    transform: translateX(-10px) !important;
    width: auto !important;
    max-width: none !important;
  }
}


/* =====================================
   Cart shipping summary v13
   Use real table cells on mobile for perfect left alignment
===================================== */
@media (max-width: 991.98px) {
  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row th {
    display: table-cell !important;
    width: 34% !important;
    white-space: nowrap !important;
    text-align: left !important;
    vertical-align: middle !important;
    font-weight: 400 !important;
    color: #334155 !important;
    padding-left: 15px !important;
  }

  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row td {
    display: table-cell !important;
    width: 66% !important;
    text-align: right !important;
    vertical-align: middle !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row td::before {
    content: none !important;
    display: none !important;
  }

  .woocommerce-cart .cart_totals table.shop_table_responsive tr.vs-cart-shipping-row td > * {
    grid-column: auto !important;
    justify-self: auto !important;
  }

  .woocommerce-cart .cart_totals tr.order-total th,
  .woocommerce-cart .cart_totals tr.order-total td {
    font-size: 17px !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td .woocommerce-Price-amount,
  .woocommerce-cart .cart_totals tr.order-total td .amount,
  .woocommerce-cart .cart_totals tr.order-total td bdi {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
}


/* =====================================
   Cart shipping summary v14
   Align subtotal/shipping/total columns on mobile + subtler tax line
===================================== */
@media (max-width: 991.98px) {
  .woocommerce-cart .cart_totals tr.cart-subtotal th,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row th,
  .woocommerce-cart .cart_totals tr.order-total th {
    display: table-cell !important;
    width: 34% !important;
    padding-left: 15px !important;
    text-align: left !important;
    vertical-align: middle !important;
    font-weight: 400 !important;
    color: #334155 !important;
    white-space: nowrap !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal td,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row td,
  .woocommerce-cart .cart_totals tr.order-total td {
    display: table-cell !important;
    width: 66% !important;
    padding-right: 15px !important;
    text-align: right !important;
    vertical-align: middle !important;
  }

  .woocommerce-cart .cart_totals tr.order-total th,
  .woocommerce-cart .cart_totals tr.order-total td {
    font-size: 18px !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td .woocommerce-Price-amount,
  .woocommerce-cart .cart_totals tr.order-total td .amount,
  .woocommerce-cart .cart_totals tr.order-total td bdi {
    font-size: 19px !important;
    line-height: 1.15 !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td .includes_tax,
  .woocommerce-cart .cart_totals tr.order-total td small.includes_tax {
    display: block !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 992px) {
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax,
  .woocommerce-cart .cart_totals tr.order-total td small.includes_tax {
    display: block !important;
    margin-top: 6px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    white-space: nowrap !important;
  }
}


/* =====================================
   Cart shipping summary v15
   Mobile totals use one consistent responsive label pattern
===================================== */
@media (max-width: 991.98px) {
  .woocommerce-cart .cart_totals tr.cart-subtotal th,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row th,
  .woocommerce-cart .cart_totals tr.order-total th {
    display: none !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal td,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row td,
  .woocommerce-cart .cart_totals tr.order-total td {
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    position: relative !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal td::before,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row td::before,
  .woocommerce-cart .cart_totals tr.order-total td::before {
    content: attr(data-title) !important;
    float: left !important;
    width: 124px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    text-align: left !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    letter-spacing: 0 !important;
    transform: none !important;
  }

  .woocommerce-cart .cart_totals .vs-cart-shipping-summary {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
  }

  .woocommerce-cart .cart_totals .vs-cart-shipping-option__label {
    font-size: 13px !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td .includes_tax,
  .woocommerce-cart .cart_totals tr.order-total td small.includes_tax {
    display: block !important;
    margin-top: 4px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 992px) {
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax,
  .woocommerce-cart .cart_totals tr.order-total td small.includes_tax {
    display: block !important;
    margin-top: 5px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    white-space: nowrap !important;
  }
}

/* =====================================
   Cart totals responsive alignment v17
   Mobile + tablet: one consistent grid for subtotal, shipping and total
===================================== */
@media (max-width: 1024px) {
  .woocommerce-cart .cart_totals .shop_table,
  .woocommerce-cart .cart_totals table.shop_table,
  .woocommerce-cart .cart_totals table.shop_table_responsive {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row,
  .woocommerce-cart .cart_totals tr.order-total {
    display: grid !important;
    grid-template-columns: minmax(118px, 36%) minmax(0, 1fr) !important;
    column-gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
    border-bottom: 1px solid #e6e6e6 !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal th,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row th,
  .woocommerce-cart .cart_totals tr.order-total th {
    display: block !important;
    grid-column: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 14px 0 14px 15px !important;
    border-bottom: 0 !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    transform: none !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal td,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row td,
  .woocommerce-cart .cart_totals tr.order-total td {
    display: block !important;
    grid-column: 2 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 14px 15px 14px 0 !important;
    border-bottom: 0 !important;
    text-align: right !important;
    vertical-align: middle !important;
    transform: none !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal td::before,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row td::before,
  .woocommerce-cart .cart_totals tr.order-total td::before {
    display: none !important;
    content: none !important;
  }

  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row .vs-cart-shipping-summary,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row .vs-cart-shipping-option {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: right !important;
  }

  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row .vs-cart-shipping-option__label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    max-width: 100% !important;
    text-align: right !important;
    white-space: nowrap !important;
    line-height: 1.35 !important;
  }

  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row .vs-cart-shipping-option__separator {
    margin: 0 4px 0 0 !important;
  }

  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row .vs-cart-shipping-option__price {
    white-space: nowrap !important;
  }

  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row .vs-cart-shipping-option__note {
    display: block !important;
    margin-top: 4px !important;
    color: #22a652 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    text-align: right !important;
  }

  .woocommerce-cart .cart_totals tr.order-total th {
    font-size: 16px !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td > strong,
  .woocommerce-cart .cart_totals tr.order-total td > strong .woocommerce-Price-amount,
  .woocommerce-cart .cart_totals tr.order-total td > strong .amount,
  .woocommerce-cart .cart_totals tr.order-total td > strong bdi {
    color: #2d2f33 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td small,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax,
  .woocommerce-cart .cart_totals tr.order-total td small .woocommerce-Price-amount,
  .woocommerce-cart .cart_totals tr.order-total td small .amount,
  .woocommerce-cart .cart_totals tr.order-total td small bdi,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax .woocommerce-Price-amount,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax .amount,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax bdi {
    display: inline !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td small,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax {
    display: block !important;
    margin-top: 4px !important;
  }
}

@media (min-width: 1025px) {
  .woocommerce-cart .cart_totals tr.order-total td small,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax,
  .woocommerce-cart .cart_totals tr.order-total td small .woocommerce-Price-amount,
  .woocommerce-cart .cart_totals tr.order-total td small .amount,
  .woocommerce-cart .cart_totals tr.order-total td small bdi,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax .woocommerce-Price-amount,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax .amount,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax bdi {
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
  }
}

/* =====================================
   Cart totals mobile/tablet alignment v18
   Real table layout below desktop so labels and values share exact columns
===================================== */
@media (max-width: 1024px) {
  .woocommerce-cart .cart-collaterals .cart_totals .shop_table,
  .woocommerce-cart .cart-collaterals .cart_totals table.shop_table,
  .woocommerce-cart .cart-collaterals .cart_totals table.shop_table_responsive {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
  }

  .woocommerce-cart .cart-collaterals .cart_totals .shop_table tbody,
  .woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody,
  .woocommerce-cart .cart-collaterals .cart_totals table.shop_table_responsive tbody {
    display: table-row-group !important;
    width: 100% !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row,
  .woocommerce-cart .cart_totals tr.order-total {
    display: table-row !important;
    width: auto !important;
    border-bottom: 0 !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal th,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row th,
  .woocommerce-cart .cart_totals tr.order-total th {
    display: table-cell !important;
    width: 42% !important;
    min-width: 42% !important;
    max-width: 42% !important;
    padding: 16px 15px !important;
    border-bottom: 1px solid #e6e6e6 !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    transform: none !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal td,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row td,
  .woocommerce-cart .cart_totals tr.order-total td {
    display: table-cell !important;
    width: 58% !important;
    min-width: 58% !important;
    max-width: 58% !important;
    padding: 16px 15px !important;
    border-bottom: 1px solid #e6e6e6 !important;
    text-align: right !important;
    vertical-align: middle !important;
    transform: none !important;
  }

  .woocommerce-cart .cart_totals tr.cart-subtotal td::before,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row td::before,
  .woocommerce-cart .cart_totals tr.order-total td::before {
    display: none !important;
    content: none !important;
  }

  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row .vs-cart-shipping-summary,
  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row .vs-cart-shipping-option {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
  }

  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row .vs-cart-shipping-option__label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    max-width: 100% !important;
    margin-left: auto !important;
    text-align: right !important;
    white-space: nowrap !important;
    line-height: 1.35 !important;
  }

  .woocommerce-cart .cart_totals tr.vs-cart-shipping-row .vs-cart-shipping-option__note {
    display: block !important;
    margin-top: 4px !important;
    color: #22a652 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    text-align: right !important;
    white-space: normal !important;
  }

  .woocommerce-cart .cart_totals tr.order-total th {
    font-size: 16px !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td > strong,
  .woocommerce-cart .cart_totals tr.order-total td > strong .woocommerce-Price-amount,
  .woocommerce-cart .cart_totals tr.order-total td > strong .amount,
  .woocommerce-cart .cart_totals tr.order-total td > strong bdi {
    color: #2d2f33 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td small,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax {
    display: block !important;
    margin-top: 4px !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
  }

  .woocommerce-cart .cart_totals tr.order-total td small .woocommerce-Price-amount,
  .woocommerce-cart .cart_totals tr.order-total td small .amount,
  .woocommerce-cart .cart_totals tr.order-total td small bdi,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax .woocommerce-Price-amount,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax .amount,
  .woocommerce-cart .cart_totals tr.order-total td .includes_tax bdi {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
  }
}


/* =====================================
   Checkout MyParcel delivery options v20
   Clean list style: carrier by country, compact options
===================================== */
.woocommerce-checkout .woocommerce-myparcel__delivery-options {
  margin: 18px 0 22px !important;
  clear: both !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options {
  margin: 0 !important;
  padding: 0 !important;
  color: #0f172a !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options table.myparcel-delivery-options__table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options table.myparcel-delivery-options__table tr,
.woocommerce-checkout .woocommerce-myparcel__delivery-options table.myparcel-delivery-options__table td {
  background: transparent !important;
  border: 0 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options table.myparcel-delivery-options__table td {
  padding: 0 !important;
  vertical-align: top !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice {
  margin: 0 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__input {
  width: 28px !important;
  min-width: 28px !important;
  padding-top: 2px !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options input[type="radio"],
.woocommerce-checkout .woocommerce-myparcel__delivery-options input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 2px 10px 0 0 !important;
  accent-color: #0f52ad !important;
  box-shadow: none !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options input[type="checkbox"] {
  border-radius: 4px !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options label {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  cursor: pointer !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options label > span:first-child {
  min-width: 0 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__float--right,
.woocommerce-checkout .woocommerce-myparcel__delivery-options strong.myparcel-delivery-options__float--right {
  float: none !important;
  margin-left: auto !important;
  white-space: nowrap !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* Hide confusing zero-cost carrier prices; WooCommerce order review remains source of truth. */
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--carrier .myparcel-delivery-options__float--right,
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--bpost .myparcel-delivery-options__float--right,
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--postnl .myparcel-delivery-options__float--right {
  display: none !important;
}

/* Top-level delivery choices */
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--deliver,
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--pickup {
  display: table-row !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--deliver > td,
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--pickup > td {
  padding: 11px 0 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--deliver > td:not(.myparcel-delivery-options__input) > label,
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--pickup > td:not(.myparcel-delivery-options__input) > label {
  font-size: 15px !important;
  font-weight: 700 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--deliver > td:not(.myparcel-delivery-options__input) > div,
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--pickup > td:not(.myparcel-delivery-options__input) > div {
  margin-top: 8px !important;
}

/* Country-specific carrier display. JS adds data-vs-country on the form. */
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options[data-vs-country="BE"] .myparcel-delivery-options__choice--postnl,
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options[data-vs-country="NL"] .myparcel-delivery-options__choice--bpost {
  display: none !important;
}

/* Carrier header: bpost for BE, PostNL for NL. */
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--has-image > td:not(.myparcel-delivery-options__input) {
  padding: 4px 0 2px !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--has-image > td:not(.myparcel-delivery-options__input) > label {
  display: block !important;
  margin: 0 0 6px !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--bpost > td:not(.myparcel-delivery-options__input) > label::before {
  content: "bpost";
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--postnl > td:not(.myparcel-delivery-options__input) > label::before {
  content: "PostNL";
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__image {
  display: none !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--has-image > td:not(.myparcel-delivery-options__input) > div {
  margin: 0 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--has-image > td:not(.myparcel-delivery-options__input) > div > table {
  margin: 0 !important;
}

/* Delivery date line. */
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--has-image > td:not(.myparcel-delivery-options__input) > div > table:first-child label {
  display: block !important;
  margin: 0 0 5px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--has-image > td:not(.myparcel-delivery-options__input) > div > table:first-child strong {
  font-weight: 700 !important;
}

/* Standard delivery row: normal bullet-like option. */
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--standard {
  display: table-row !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--standard td {
  padding: 3px 0 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--standard label {
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* Extras as compact square checkbox options. */
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--only_recipient,
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--signature {
  display: table-row !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--only_recipient td,
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--signature td {
  padding: 4px 0 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--only_recipient label,
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--signature label {
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--only_recipient input[type="checkbox"],
.woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--signature input[type="checkbox"] {
  width: 14px !important;
  height: 14px !important;
  margin-top: 3px !important;
}

@media (max-width: 767.98px) {
  .woocommerce-checkout .woocommerce-myparcel__delivery-options {
    margin-top: 14px !important;
  }

  .woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options {
    font-size: 13px !important;
  }

  .woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--deliver > td:not(.myparcel-delivery-options__input) > label,
  .woocommerce-checkout .woocommerce-myparcel__delivery-options .myparcel-delivery-options__choice--pickup > td:not(.myparcel-delivery-options__input) > label {
    font-size: 14px !important;
  }

  .woocommerce-checkout .woocommerce-myparcel__delivery-options label {
    gap: 8px !important;
    font-size: 13px !important;
  }
}
