/* =============================================================================
   V28 CART — Classic WooCommerce Cart
   Outfit | #363030 charcoal | #C1E53E lime | #E63946 coral accent

   Classic cart uses: table.shop_table.cart > tr.cart_item > td.product-*
   Sidebar uses: .cart_totals > table > tr.cart-subtotal / .order-total
   =============================================================================
*/

/* ── BASE ─────────────────────────────────────────────── */
.v28-cart-page {
  color: #363030;
}

/* ── CART TITLE (JS-injected) ─────────────────────────── */
.v28-cart-title {
  font-size: 40px;
  font-weight: 900;
  color: #363030;
  margin: 16px auto 24px;
  padding: 0 16px;
  max-width: 1213px;
  text-align: center;
}

.v28-cart-title .v28-cart-count {
  font-size: 22px;
  font-weight: 400;
  color: #7a7575;
}

/* Hide default page title */
.v28-cart-page .page-header,
.v28-cart-page .entry-header,
.v28-cart-page .elementor-widget-woocommerce-cart .elementor-widget-container > .e-wc-cart-header,
.v28-cart-page main > h1:not(.v28-cart-title) {
  display: none !important;
}

/* ── ELEMENTOR COLUMN FIX ─────────────────────────────── */
.v28-cart-page .elementor-widget-woocommerce-cart,
.v28-cart-page .elementor-widget-woocommerce-cart .elementor-widget-container {
  width: 100% !important;
}

.v28-cart-page .elementor-section .elementor-container > .elementor-column {
  flex: 1 1 100% !important;
  width: 100% !important;
}

.v28-cart-page .elementor-section .elementor-column > .elementor-widget-wrap {
  width: 100% !important;
}

/* ══════════════════════════════════════════════════════════
   TWO-COLUMN LAYOUT
   ══════════════════════════════════════════════════════════ */

.v28-cart-page .page-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.v28-cart-page .woocommerce {
  display: grid !important;
  grid-template-columns: 1.72fr 1fr !important;
  gap: 24px !important;
  max-width: 1213px;
  width: 100% !important;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  align-items: start;
}

.v28-cart-page .woocommerce .woocommerce-notices-wrapper,
.v28-cart-page .woocommerce .v28-cart-title {
  grid-column: 1 / -1;
}

.v28-cart-page .elementor-widget-woocommerce-cart .woocommerce {
  display: block !important;
  max-width: 1213px;
  width: 100% !important;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.v28-cart-page .e-cart__container {
  display: grid !important;
  grid-template-columns: 1.72fr 1fr !important;
  gap: 24px !important;
  max-width: 1213px !important;
  width: 100% !important;
  margin: 0 auto !important;
  align-items: start;
}

.v28-cart-page .e-cart__column-start,
.v28-cart-page .e-cart__column-end {
  width: 100% !important;
  min-width: 0 !important;
}

.v28-cart-page form.woocommerce-cart-form {
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.v28-cart-page .cart-collaterals {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

/* ── ELEMENTOR WRAPPER RESETS ─────────────────────────── */
.v28-cart-page .e-shop-table.e-cart-section,
.v28-cart-page .e-cart-totals.e-cart-section {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.v28-cart-page .elementor-widget-woocommerce-cart .woocommerce a.v28-continue-shopping,
.v28-cart-page .elementor-widget-woocommerce-cart .woocommerce td.product-name > a,
.v28-cart-page .elementor-widget-woocommerce-cart .woocommerce td.product-remove a.remove {
  text-decoration: none !important;
}

/* ── TABLE RESET ──────────────────────────────────────── */
.v28-cart-page table.shop_table.cart {
  display: block !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: none !important;
  width: 100% !important;
}

.v28-cart-page table.shop_table.cart thead {
  display: none !important;
}

.v28-cart-page table.shop_table.cart tbody {
  display: block !important;
  width: 100% !important;
}

/* ═════════════════════════════════════════════════════════
   ITEM CARD
   ═════════════════════════════════════════════════════════ */

.v28-cart-page tr.cart_item {
  display: grid !important;
  grid-template-columns: 152px 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 0 16px !important;
  background: #fff;
  border: 1.4px solid #eeecea !important;
  border-radius: 10px;
  padding: 24px;
  position: relative;
  margin-bottom: 16px;
  width: 100% !important;
  box-sizing: border-box;
  align-items: center;
  box-shadow: none;
}

.v28-cart-page tr.cart_item td {
  display: block !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.v28-cart-page tr.cart_item td.product-thumbnail {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #f5f4f4 !important;
  border-radius: 8px !important;
  padding: 4px !important;
  width: 152px;
  height: 152px;
  min-height: 152px;
  overflow: hidden;
  box-sizing: border-box;
  align-self: center;
}

.v28-cart-page td.product-thumbnail a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.v28-cart-page td.product-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  cursor: zoom-in;
}

.v28-cart-page tr.cart_item td.product-name {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-left: 23px !important;
  padding-right: 36px !important;
}

.v28-cart-page td.product-name > a,
.v28-cart-page .elementor-widget-woocommerce-cart .woocommerce td.product-name > a {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #363030 !important;
  text-decoration: none !important;
  line-height: 1.3;
  display: block;
  margin-bottom: 0 !important;
}

.v28-cart-page td.product-name > a:hover,
.v28-cart-page .elementor-widget-woocommerce-cart .woocommerce td.product-name > a:hover {
  color: #E63946 !important;
}

.v28-garment-label {
  font-size: 12px;
  font-weight: 500;
  color: #7a7575;
  text-transform: none;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.3;
}

.v28-cart-page td.product-name dl.variation {
  display: none !important;
}

.v28-variant-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding: 3px 0;
}

.v28-variant-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.v28-variant-label {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #7a7575 !important;
}

.v28-variant-select {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #363030 !important;
  background-color: #fff !important;
  border: 1px solid #ECEAEA !important;
  border-radius: 8px !important;
  padding: 4px 28px 4px 10px !important;
  height: 37px !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a7575'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  min-width: 60px;
  line-height: 1.6;
}

span.v28-variant-select { 
  cursor: default; 
  background-image: none !important;
  padding: 4px 10px !important;
  text-align: center !important;
  min-width: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
select.v28-variant-select { cursor: pointer; outline: none; }
select.v28-variant-select:hover { border-color: #363030 !important; }
select.v28-variant-select:focus {
  border-color: #363030 !important;
  box-shadow: 0 0 0 2px rgba(54, 48, 48, 0.1);
}

.v28-lang-badge { display: none !important; }

/* ── Quantity Group in Variant Row ──────────────────────── */
.v28-qty-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.v28-qty-group .v28-variant-label {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #7a7575 !important;
}

.v28-qty-group .quantity {
  height: 37px !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid #ECEAEA !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.v28-qty-group .quantity input.qty {
  height: 35px !important;
  width: 35px !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #363030 !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.v28-qty-group .v28-qty-btn {
  width: 28px !important;
  height: 35px !important;
  min-width: 28px !important;
  border: none !important;
  background: transparent !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #7a7575 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.15s ease !important;
  outline: none !important;
}

.v28-qty-group .v28-qty-btn:hover { color: #363030 !important; }
.v28-qty-group .v28-qty-btn:active { transform: scale(0.95); }

/* ── EXPRESS 24H Toggle ────────────────────────────────── */
.v28-express-toggle-group { margin: 0; width: auto; }

.v28-express-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  padding: 8px 20px;
  background: #f5f4f4;
  border: 1px solid #d4cece;
  border-radius: 6px;
  transition: all 0.2s ease;
  min-height: 40px;
  height: 40px;
  box-sizing: border-box;
}

.v28-express-toggle:hover { border-color: #FFE0B2; background: #FFF8F0; }
.v28-express-toggle.v28-express-active { background: #FFF8F0; border-color: #F0A050; }
.v28-express-toggle.v28-express-active:hover { border-color: #E65100; }
.v28-express-toggle.v28-express-unavailable { opacity: 0.45; cursor: not-allowed; }
.v28-express-toggle.v28-express-unavailable:hover { border-color: #d4cece; background: #f5f4f4; }

.v28-express-checkbox { display: none; }

.v28-express-slider {
  position: relative;
  width: 32px;
  height: 18px;
  background: #ccc;
  border-radius: 9px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.v28-express-slider::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.v28-express-checkbox:checked + .v28-express-slider { background: #E65100; }
.v28-express-checkbox:checked + .v28-express-slider::after { transform: translateX(14px); }

.v28-express-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1.2;
}

.v28-express-label .express-title-line {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #E65100 !important;
  white-space: nowrap;
}

.v28-express-label .express-title-line .express-icon { font-size: 12px !important; }

.v28-express-label .express-sub-line {
  font-size: 10px !important;
  font-weight: 500;
  color: #363030 !important;
  white-space: nowrap;
}

.v28-express-active .v28-express-label .express-title-line { color: #E65100; }
.v28-express-unavailable .v28-express-label .express-sub-line { color: #36303080 !important; }
.v28-express-hint { display: none; }

.v28-express-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px !important;
  padding: 4px 10px !important;
  margin-bottom: 6px !important;
  background: #FFF8F0;
  border: 1px solid #FFE0B2;
  border-radius: 6px !important;
  width: fit-content;
  font-size: 13px !important;
}

.v28-express-badge .express-icon { font-size: 12px !important; line-height: 1; }
.v28-express-badge .express-text { font-size: 13px !important; font-weight: 600 !important; color: #E65100; letter-spacing: 0.2px; }
.v28-express-badge .express-price { font-size: 13px !important; font-weight: 500; color: #7a7575; }

/* ── Multi-size chips (QPC designer tool orders) ──────── */
.v28-sizes-group {
  flex: 1 1 auto !important;
  min-width: 0;
}
.v28-size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: 2px;
}
.v28-size-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 13px !important;
  font-weight: 700;
  color: #363030;
  white-space: nowrap;
  line-height: 1.3;
}
.v28-chip-qty {
  font-weight: 500;
  font-size: 13px !important;
  color: #9a9494;
  margin-left: 2px;
}

/* Hide original WC qty cell for multi-size rows */
.v28-cart-page tr.cart_item td.product-quantity:has(.v28-line-total):not([data-v28qtymoved]) .quantity {
  display: none !important;
}
.v28-cart-page tr.cart_item td.product-price,
.v28-cart-page tr.cart_item td.product-subtotal {
  display: none !important;
  width: 0 !important; height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important; padding: 0 !important;
}

.v28-cart-page tr.cart_item td.product-quantity {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  margin-top: 0;
  padding-top: 10px !important;
  padding-left: 18px !important;
  border-top: 1px solid #ECEAEA !important;
}

/* Hide native .quantity while still in td.product-quantity — JS will MOVE it into the variant row.
   Once moved, this selector no longer matches → it becomes visible automatically. */
.v28-cart-page td.product-quantity .quantity {
  display: none !important;
}

.v28-cart-page .quantity {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid #ECEAEA !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: #fff;
}


.v28-cart-page td.product-quantity .v28-express-toggle-group { flex-shrink: 0; }

.v28-cart-page .quantity input.qty {
  width: 32px !important; height: 35px !important;
  text-align: center !important;
  font-size: 15px !important; font-weight: 600 !important;
  color: #363030 !important;
  border: none !important; background: #fff !important;
  -moz-appearance: textfield;
  padding: 0 !important; margin: 0;
}

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

.v28-qty-btn {
  width: 28px !important; height: 35px !important; min-width: 28px !important;
  background: #fff !important; color: #7a7575 !important;
  border: none !important; border-radius: 0 !important;
  font-size: 15px !important; font-weight: 500 !important;
  cursor: pointer;
  display: flex !important; align-items: center; justify-content: center;
  padding: 0 !important; margin: 0; line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.v28-qty-btn:hover { background: #f5f4f4 !important; color: #363030 !important; }
.v28-qty-btn--minus { border-right: 1px solid #ECEAEA !important; }
.v28-qty-btn--plus { border-left: 1px solid #ECEAEA !important; }

.v28-line-total { margin-left: auto; text-align: right; }
.v28-line-total .price-main { font-size: 24px; font-weight: 800; color: #363030; line-height: 1.2; }
.v28-line-total .price-detail { font-size: 13px; font-weight: 500; color: #7a7575; margin-top: 2px; }

.v28-cart-page td.product-remove {
  position: absolute !important;
  top: -4px !important; right: -4px !important; left: auto !important;
  width: 24px !important; height: 24px !important;
  padding: 0 !important;
  grid-column: 1 / -1 !important; grid-row: 1 / -1 !important;
  z-index: 2;
}

.v28-cart-page td.product-remove a.remove {
  display: flex !important;
  align-items: center !important; justify-content: center !important;
  width: 24px !important; height: 24px !important;
  font-size: 16px !important;
  color: #b0a8a8 !important;
  background: transparent !important;
  border: none !important; border-radius: 50% !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none !important;
  padding: 0 !important; margin: 0 !important; line-height: 1;
}

.v28-cart-page td.product-remove a.remove:hover { background: #fff0f0 !important; color: #ff4444 !important; }

.v28-cart-page table.shop_table.cart .actions,
.v28-cart-page table.shop_table.cart tr td.actions,
.v28-cart-page table.shop_table .actions {
  display: none !important; height: 0 !important; overflow: hidden !important;
  margin: 0 !important; padding: 0 !important; border: none !important;
}

.v28-cart-page .e-cart__column-start .e-coupon-box,
.v28-cart-page .e-cart__column-start > .coupon,
.v28-cart-page .e-cart__column-start .e-cart-coupon,
.v28-cart-page .e-cart__column-start > form:not(.woocommerce-cart-form),
.v28-cart-page .e-cart__container .coupon:not(.v28-coupon-section .coupon),
.v28-cart-page .e-coupon-box,
.v28-cart-page .elementor-widget-woocommerce-cart .coupon {
  display: none !important;
}

/* ═════════════════════════════════════════════════════════
   SIDEBAR — Order Summary
   ═════════════════════════════════════════════════════════ */

.v28-cart-page .cart_totals {
  background: #fff;
  border: 1.4px solid #eeecea;
  border-radius: 10px;
  padding: 24px;
  position: sticky;
  top: 24px;
  align-self: start;
  box-shadow: none;
  margin-top: -30px;
  width: 100% !important;
  box-sizing: border-box;
}

.v28-cart-page .cart_totals > h2 {
  font-size: 22px !important; font-weight: 800 !important;
  color: #363030;
  margin-bottom: 16px !important; padding-bottom: 16px !important;
  border-bottom: 1px solid #f0eded;
}

.v28-cart-page .cart_totals table { border: none !important; width: 100%; }

.v28-cart-page .cart_totals table td::before,
.v28-cart-page .cart_totals table th::before { display: none !important; content: none !important; }

.v28-cart-page .cart_totals table th { display: table-cell !important; }

.v28-cart-page .cart_totals table th,
.v28-cart-page .cart_totals table td {
  border: none !important; padding: 10px 0 !important; background: transparent !important;
}

.v28-cart-page .cart_totals table th {
  font-size: 15px; font-weight: 400; color: #7a7575; text-align: left;
}

.v28-cart-page .cart_totals table td {
  font-size: 15px; font-weight: 400; color: #363030; text-align: right;
}

.v28-cart-page .cart_totals tr.cart-subtotal td,
.v28-cart-page .cart_totals tr.cart-subtotal td .woocommerce-Price-amount,
.v28-cart-page .cart_totals tr.cart-subtotal td .woocommerce-Price-amount bdi,
.v28-cart-page .cart_totals tr.cart-subtotal td .woocommerce-Price-currencySymbol {
  font-weight: 400 !important; color: #363030 !important;
}

.v28-item-count { font-weight: 400; color: #7a7575; white-space: nowrap; }

.v28-cart-page .cart_totals .v28-shipping-row th,
.v28-cart-page .cart_totals .v28-shipping-row td {
  display: table-cell !important;
  font-size: 15px !important; font-weight: 500 !important;
  padding: 10px 0 16px !important;
  border: none !important; border-bottom: 2px solid #363030 !important;
  background: transparent !important;
}

.v28-cart-page .cart_totals .v28-shipping-row th { color: #7a7575 !important; text-align: left !important; }
.v28-cart-page .cart_totals .v28-shipping-row td { text-align: right !important; }

.v28-shipping-free { color: #00C853 !important; font-weight: 600 !important; font-size: 15px !important; }

/* ── SHIPPING METHODS ─────────────────────────────────── */

/* Stack "Shipment 1" label above cards — full sidebar width for cards */
.v28-cart-page .cart_totals .woocommerce-shipping-totals {
  display: block !important;
}

.v28-cart-page .cart_totals .woocommerce-shipping-totals th,
.v28-cart-page .cart_totals .woocommerce-shipping-totals td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  text-align: left !important;
  border: none !important;
  background: transparent !important;
  vertical-align: top !important;
}

.v28-cart-page .cart_totals .woocommerce-shipping-totals th {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #7a7575 !important;
  padding: 10px 0 8px !important;
}

.v28-cart-page .cart_totals .woocommerce-shipping-totals td {
  padding-bottom: 12px !important;
}

/* Vertical card list */
.v28-cart-page .woocommerce-shipping-methods {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* Each card: column so address sits below the radio+label row */
.v28-cart-page .woocommerce-shipping-methods li {
  display: flex !important;
  flex-direction: column !important;
  padding: 10px 12px !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: border-color 0.18s ease, background 0.18s ease !important;
  margin: 0 !important;
  gap: 0 !important;
}

/* Selected state */
.v28-cart-page .woocommerce-shipping-methods li:has(input:checked) {
  border-color: #C1E53E !important;
  background: #f8ffe8 !important;
}

/* Radio + label on the same row (JS-injected .v28-option-row) */
.v28-cart-page .woocommerce-shipping-methods li .v28-option-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Radio */
.v28-cart-page .woocommerce-shipping-methods li input[type="radio"] {
  margin: 0 !important;
  flex-shrink: 0 !important;
  accent-color: #363030 !important;
  width: 16px !important;
  height: 16px !important;
  cursor: pointer !important;
}

/* Label */
.v28-cart-page .woocommerce-shipping-methods li label {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #363030 !important;
  cursor: pointer !important;
  line-height: 1.3 !important;
}

/* Pickup address block (JS-injected) */
.v28-pickup-address {
  display: flex !important;
  align-items: flex-start !important;
  gap: 4px !important;
  padding-left: 24px !important;
  margin-top: 5px !important;
  font-size: 12px !important;
  color: #9a9494 !important;
  line-height: 1.5 !important;
}

.v28-pickup-pin {
  flex-shrink: 0 !important;
  font-size: 11px !important;
  line-height: 1.7 !important;
  color: #E63946 !important;
}

/* WC shipping destination text */
.v28-cart-page .woocommerce-shipping-destination {
  font-size: 12px !important;
  color: #9a9494 !important;
  text-align: left !important;
  margin-top: 6px !important;
  line-height: 1.5 !important;
}

/* ── END SHIPPING METHODS ─────────────────────────────── */

/* Total row */
.v28-cart-page .cart_totals tr.order-total th,
.v28-cart-page .cart_totals tr.order-total td {
  border-top: 2px solid #ECEAEA !important;
  padding-top: 16px !important;
  font-size: 20px !important; font-weight: 700 !important;
  color: #363030 !important;
  display: table-cell !important;
}

.v28-cart-page .cart_totals tr.order-total td strong,
.v28-cart-page .cart_totals tr.order-total td .woocommerce-Price-amount,
.v28-cart-page .cart_totals tr.order-total td .woocommerce-Price-amount bdi,
.v28-cart-page .cart_totals tr.order-total td .woocommerce-Price-currencySymbol {
  font-size: 20px !important; font-weight: 700 !important;
  color: #363030 !important;
  display: inline !important; border-top: none !important; padding-top: 0 !important;
}

.v28-cart-page .cart_totals .v28-shipping-row + tr.order-total th,
.v28-cart-page .cart_totals .v28-shipping-row + tr.order-total td {
  border-top: none !important;
}

.v28-express-breakdown {
  font-size: 13px; font-weight: 500; color: #E65100;
  background: #FFF8F0; border: 1px solid #FFE0B2;
  border-radius: 6px; padding: 8px 12px; margin: 4px 0 8px;
  display: flex; align-items: center; gap: 6px;
}

.v28-express-breakdown .express-breakdown-icon { font-size: 13px; }
.v28-express-breakdown .express-breakdown-text { flex: 1; }
.v28-express-breakdown-row { display: none !important; }
.v28-trust-badges { display: none !important; }

/* Coupon */
.v28-coupon-section { margin-top: 8px; padding-top: 0; border-top: none; }
.v28-coupon-toggle { display: none !important; }

.v28-coupon-form {
  display: flex !important; flex-direction: row !important;
  margin-top: 8px; gap: 0;
}

.v28-coupon-form.v28-coupon-form--open { display: flex; }

.v28-coupon-form input[type="text"] {
  font-size: 14px;
  border: 1px solid #ECEAEA;
  border-radius: 6px 0 0 6px !important;
  border-right: none !important;
  padding: 10px 14px; color: #363030; background: #fff;
  flex: 1; outline: none; box-shadow: none;
}

.v28-coupon-form input[type="text"]:focus { border-color: #363030; }

.v28-coupon-form button {
  font-size: 14px; font-weight: 600; color: #fff;
  background: #363030 !important;
  border: none; border-radius: 0 6px 6px 0 !important;
  padding: 10px 16px !important;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease;
}

.v28-coupon-form button:hover { background: #1a1a1a !important; }

/* Checkout button */
.v28-cart-page .wc-proceed-to-checkout {
  display: block !important;
  width: 100% !important;
}
.v28-cart-page .wc-proceed-to-checkout .checkout-button {
  display: block !important; width: 100% !important; box-sizing: border-box !important;
  font-size: 19px !important; font-weight: 700 !important;
  color: #fff !important; background: #E63946 !important;
  border: none !important; border-radius: 6px !important;
  padding: 20px 24px !important;
  text-align: center !important; text-decoration: none !important;
  cursor: pointer; transition: background 0.15s ease;
  margin-bottom: 20px;
}

.v28-cart-page .wc-proceed-to-checkout .checkout-button:hover { background: #d32f3c !important; }

/* Continue Shopping */
.v28-continue-shopping,
.v28-cart-page .elementor-widget-woocommerce-cart .woocommerce a.v28-continue-shopping {
  display: block; width: 100%;
  font-size: 17px; font-weight: 600;
  color: #999 !important; background: transparent;
  border: 1px solid #ddd; border-radius: 6px;
  padding: 14px 28px; text-align: center;
  text-decoration: none !important; cursor: pointer;
  box-sizing: border-box; margin-top: 8px;
}

.v28-continue-shopping:hover,
.v28-cart-page .elementor-widget-woocommerce-cart .woocommerce a.v28-continue-shopping:hover {
  border-color: #363030; color: #363030 !important; text-decoration: none !important;
}

/* ── Image Zoom Overlay ───────────────────────────────── */
.v28-zoom-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; cursor: pointer;
}

.v28-zoom-overlay img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: 8px; cursor: default;
}

.v28-zoom-close {
  position: absolute; top: 20px; right: 24px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15); color: #fff;
  border: none; border-radius: 50%; font-size: 20px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.v28-zoom-close:hover { background: rgba(255,255,255,0.3); }

/* ── Toast ────────────────────────────────────────────── */
.v28-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: 8px;
  z-index: 100000; opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.v28-toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.v28-toast--success { background: #363030; color: #fff; }
.v28-toast--error   { background: #E63946; color: #fff; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .v28-cart-page .woocommerce,
  .v28-cart-page .e-cart__container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .v28-cart-page .cart_totals { position: static; }
}

@media (max-width: 640px) {
  .v28-cart-page .elementor-section.elementor-top-section {
    padding-left: 8px !important; padding-right: 8px !important;
  }

  .v28-cart-page .elementor-widget-wrap {
    padding-left: 0 !important; padding-right: 0 !important;
  }

  .v28-cart-page .elementor-widget-woocommerce-cart .woocommerce,
  .v28-cart-page .woocommerce { padding: 0 4px !important; }

  .v28-cart-page tr.cart_item td::before { display: none !important; content: none !important; }

  .v28-cart-page tr.cart_item {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 12px 0 !important; padding: 16px !important;
  }

  .v28-cart-page tr.cart_item td.product-thumbnail {
    grid-column: 1 !important; grid-row: 1 !important;
    width: 100% !important; height: auto !important;
    min-height: unset !important; max-height: 220px;
    aspect-ratio: 1 / 1; align-self: stretch !important;
  }

  .v28-cart-page tr.cart_item td.product-name {
    grid-column: 1 !important; grid-row: 2 !important;
    padding-left: 0 !important; padding-right: 24px !important;
    text-align: left !important;
  }

  .v28-cart-page td.product-name > a { text-align: left !important; }
  .v28-garment-label { text-align: left !important; }

  .v28-variant-row { gap: 8px !important; flex-direction: row !important; flex-wrap: wrap !important; justify-content: flex-start !important; }
  .v28-variant-group { gap: 4px !important; flex-shrink: 0; }
  .v28-variant-select { padding: 3px 22px 3px 6px !important; height: 32px !important; min-width: unset !important; }

  .v28-qty-group .quantity { height: 33px !important; }
  .v28-qty-group .quantity input.qty { height: 31px !important; width: 28px !important; }
  .v28-qty-group .v28-qty-btn { width: 24px !important; height: 31px !important; min-width: 24px !important; }

  .v28-cart-page tr.cart_item td.product-quantity {
    grid-column: 1 !important; grid-row: 3 !important;
    padding-left: 0 !important; flex-wrap: nowrap !important;
  }

  .v28-line-total .price-detail { display: none !important; }

  .v28-express-toggle { padding: 6px 12px !important; height: 36px !important; min-height: 36px !important; }

  .v28-cart-page td.product-remove { top: 8px !important; right: 8px !important; }

  .v28-cart-page .cart_totals { padding: 20px; }

  /* Subtotal row: keep th + td inline */
  .v28-cart-page .cart_totals tr.cart-subtotal {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .v28-cart-page .cart_totals tr.cart-subtotal th,
  .v28-cart-page .cart_totals tr.cart-subtotal td {
    display: block !important;
    width: auto !important;
  }
  .v28-item-count { white-space: nowrap; }

  .v28-coupon-form { flex-direction: column !important; }
  .v28-coupon-form input[type="text"] { border-radius: 6px !important; border-right: 1px solid #ECEAEA !important; }
  .v28-coupon-form button { border-radius: 6px !important; margin-top: 8px !important; }

  .v28-cart-title { padding: 0 4px !important; }

  /* Shipping methods: mobile tweaks */
  .v28-cart-page .woocommerce-shipping-methods li {
    padding: 9px 10px !important;
  }

  .v28-cart-page .woocommerce-shipping-methods li label {
    font-size: 13px !important;
  }

  .v28-pickup-address {
    font-size: 11px !important;
  }
}
/* ── Shipping methods: hide WC duplicate "Shipping to..." ── */
.v28-cart-page .cart_totals .woocommerce-shipping-destination {
  display: none !important;
}

.v28-cart-page .v28-shipping-section-title {
  text-align: left !important;
}

/* ── COLOR SWATCH ─────────────────────────────────────── */
.v28-color-swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
  vertical-align: middle;
}

/* ── DESIGN LINKS ROW ─────────────────────────────────── */
.v28-design-links-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 5px;
  margin-bottom: 1px;
}

.v28-design-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 6px;
  padding: 5px 12px !important;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.4;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.v28-design-link svg {
  flex-shrink: 0;
  vertical-align: middle;
}

.v28-design-link:hover {
  filter: brightness(0.94);
  text-decoration: none !important;
}

/* Preview — soft blue */
.v28-design-link--preview {
  background: #EBF4FF;
  border: 1px solid #C3DEFF;
  color: #2563EB !important;
}
.v28-design-link--preview svg { stroke: #2563EB; }

/* Edit Design — soft lime */
.v28-design-link--edit {
  background: #F4FADA;
  border: 1px solid #D4EE7A;
  color: #4a6000 !important;
}
.v28-design-link--edit svg { stroke: #4a6000; }

/* Mobile */
@media (max-width: 640px) {
  .v28-design-links-row {
    gap: 8px;
    margin-top: 8px;
  }
  .v28-design-link {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
  }
}
