/* ─────────────────────────────────────────────
   Hikotron – Cart Page Styles
   Scope: .bde-cart
   Enqueued via Hikotron_WooCommerce::enqueue_styles() on is_cart()
   ───────────────────────────────────────────── */

/* ── Base font ── */
.bde-cart,
.bde-cart * {
  font-family: 'Manrope', sans-serif;
  box-sizing: border-box;
}

.bde-cart {
  position: relative;
}

.bde-cart .woocommerce-Price-amount,
.bde-cart input.qty {
  font-variant-numeric: tabular-nums;
}

/* ─────────────────────────────────────────────
   LAYOUT  — table left · totals right
   ───────────────────────────────────────────── */
/* Breakdance sets display:flex — override with !important */
.bde-cart .woocommerce {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0px;
  flex-wrap: unset;
  position: relative;
}

.bde-cart .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

.bde-cart .woocommerce-cart-form {
  width: 100%;
}

.bde-cart .cart-collaterals {
  width: 100%;
}

.breakdance-woocommerce .cart-collaterals {
  align-self: self-start !important;
}

@media (min-width: 1024px) {
  .bde-cart .woocommerce {
    grid-template-columns: 1fr 360px !important;
    align-items: start;
    gap: 36px !important;
    padding: 0px;
  }

  /* Reset Breakdance flex sizing so grid columns take over */
  .bde-cart .woocommerce-cart-form {
    grid-column: 1;
    width: auto !important;
    flex: none !important;
  }
  .bde-cart .cart-collaterals {
    grid-column: 2;
    width: auto !important;
  }

  .bde-cart .cart_totals {
    position: sticky;
    top: 112px;
  }
}


/* ─────────────────────────────────────────────
   CART TABLE
   ───────────────────────────────────────────── */
/* Breakdance sets border:none and border-radius via CSS vars — override */
.bde-cart .shop_table {
  width: 100%;
  border-collapse: collapse;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.96), rgba(8, 8, 8, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.bde-cart .shop_table thead tr {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(9, 191, 231, 0.02));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.bde-cart .shop_table thead th {
  padding: 18px 22px !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.50) !important;
  text-align: left;
  white-space: nowrap;
}

.bde-cart .shop_table thead .product-remove,
.bde-cart .shop_table thead .product-thumbnail {
  width: 1%;
  white-space: nowrap;
}

/* Explicit column widths to prevent Price+Quantity merging */
.bde-cart .shop_table .product-price    { width: 100px; text-align: right; white-space: nowrap; }
.bde-cart .shop_table .product-quantity { width: 130px; text-align: center; white-space: nowrap; }
.bde-cart .shop_table .product-subtotal { width: 100px; text-align: right; white-space: nowrap; }

.bde-cart .shop_table thead .product-price,
.bde-cart .shop_table thead .product-subtotal {
  text-align: right;
}

.bde-cart .woocommerce-cart-form__cart-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bde-cart .woocommerce-cart-form__cart-item:hover {
  background: rgba(9, 191, 231, 0.04);
  box-shadow: inset 0 0 0 1px rgba(9, 191, 231, 0.08);
}

.bde-cart .shop_table tbody td {
  padding: 20px 22px !important;
  vertical-align: middle;
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
}

/* ── Remove button ── */
.bde-cart .product-remove a.remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(251, 44, 54, 0.10);
  border: 1px solid rgba(251, 44, 54, 0.20);
  color: rgba(251, 44, 54, 0.70);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: background    0.15s cubic-bezier(0.4, 0, 0.2, 1),
              color         0.15s cubic-bezier(0.4, 0, 0.2, 1),
              border-color  0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bde-cart .product-remove a.remove:hover {
  background: rgba(251, 44, 54, 0.20);
  border-color: rgba(251, 44, 54, 0.50);
  color: #fb2c36;
}

/* ── Product thumbnail ── */
.bde-cart .product-thumbnail a {
  display: block;
  line-height: 0;
}

.bde-cart .product-thumbnail img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bde-cart .product-thumbnail img:hover {
  transform: scale(1.05);
}

/* ── Product name ── */
.bde-cart .product-name a {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bde-cart .product-name a:hover {
  color: #09bfe7;
}

/* ── Price & Subtotal ── */
.bde-cart .product-price,
.bde-cart .product-subtotal {
  text-align: right;
  white-space: nowrap;
}

.bde-cart .product-price .woocommerce-Price-amount,
.bde-cart .product-subtotal .woocommerce-Price-amount {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.bde-cart .product-subtotal .woocommerce-Price-amount {
  color: #ffffff;
  font-size: 16px;
}

.bde-cart .woocommerce-Price-currencySymbol {
  font-size: 12px;
  font-weight: 600;
  vertical-align: baseline !important;
  line-height: 0;
  margin-right: 1px;
  color: inherit;
}

/* ── Quantity stepper ── */
.bde-cart .product-quantity .quantity.quantity--number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 118px !important;
  min-width: 118px !important;
  flex-shrink: 0;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bde-cart .product-quantity .quantity.quantity--number:focus-within {
  border-color: rgba(9, 191, 231, 0.40);
}

.bde-cart .product-quantity .bde-quantity-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 100%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: color      0.15s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-user-select: none;
  user-select: none;
}

.bde-cart .product-quantity .bde-quantity-button:hover {
  color: #09bfe7;
  background: rgba(9, 191, 231, 0.06);
}

/* Breakdance renders quantity icons via SVG ::before mask — no ::after needed */

.bde-cart .product-quantity .quantity input.qty {
  flex: 0 0 44px;
  width: 44px !important;
  min-width: 44px;
  max-width: 44px;
  height: 100%;
  background: transparent;
  border: none;
  border-left:  1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
  padding: 0;
}

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


/* ─────────────────────────────────────────────
   ACTIONS ROW  — coupon · update cart
   ───────────────────────────────────────────── */
.bde-cart .actions {
  padding: 18px !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(9, 191, 231, 0.015));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bde-cart .actions > td {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 0 !important;
}

.bde-cart .coupon {
  display: flex;
  align-items: center;
  gap: 8px !important;
  flex: 1;
  min-width: 240px;
}

.bde-cart .coupon input#coupon_code {
  flex: 1;
  height: 44px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  padding: 0 14px;
  outline: none;
  transition: border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bde-cart .coupon input#coupon_code::placeholder {
  color: rgba(255, 255, 255, 0.40);
  font-size: 12px;
}

.bde-cart .coupon input#coupon_code:focus {
  border-color: rgba(9, 191, 231, 0.45);
}

.bde-cart .coupon button[name="apply_coupon"] {
  height: 44px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
              color        0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bde-cart .coupon button[name="apply_coupon"]:hover {
  border-color: rgba(9, 191, 231, 0.40);
  color: #09bfe7;
}

.bde-cart button[name="update_cart"] {
  height: 44px !important;
  padding: 0 20px !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.30) !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  cursor: not-allowed;
  white-space: nowrap;
  transition: border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
              color        0.15s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: auto;
}

.bde-cart button[name="update_cart"]:not([disabled]) {
  cursor: pointer;
  border-color: rgba(9, 191, 231, 0.30);
  color: rgba(255, 255, 255, 0.60);
}

.bde-cart button[name="update_cart"]:not([disabled]):hover {
  border-color: rgba(9, 191, 231, 0.60);
  color: #09bfe7;
}


/* ─────────────────────────────────────────────
   CART TOTALS  — right column
   ───────────────────────────────────────────── */
.bde-cart .cart_totals {
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.96), rgba(17, 17, 17, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.bde-cart .cart_totals h2 {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
  color: rgba(255, 255, 255, 0.30) !important;
  padding: 18px 20px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(9, 191, 231, 0.03)) !important;
}

.bde-cart .cart_totals .shop_table {
  border: none !important;
  border-radius: 0 !important;
  background: transparent;
  display: block !important;
  width: 100%;
}

.bde-cart .cart_totals .shop_table tbody {
  display: block !important;
  width: 100%;
}

.bde-cart .cart_totals .shop_table tbody tr {
  display: grid !important;
  grid-template-columns: 40% minmax(0, 1fr);
  width: 100% !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bde-cart .cart_totals .shop_table tbody tr:last-child {
  border-bottom: none;
}

.bde-cart .cart_totals .shop_table th,
.bde-cart .cart_totals .shop_table td {
  padding: 16px 20px !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.50) !important;
  border: none !important;
  background: transparent !important;
}

.bde-cart .cart_totals .shop_table th {
  font-weight: 600 !important;
  width: 40%;
}

.bde-cart .cart_totals .shop_table td {
  text-align: right !important;
}

.bde-cart .cart_totals .shop_table tbody tr:not(.shipping):not(.order-total) th,
.bde-cart .cart_totals .shop_table tbody tr:not(.shipping):not(.order-total) td {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.bde-cart .cart-subtotal th,
.bde-cart .cart-subtotal td {
  color: rgba(255, 255, 255, 0.50);
}

.bde-cart .cart-subtotal .woocommerce-Price-amount {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.70);
}

.bde-cart .order-total {
  background: linear-gradient(90deg, rgba(9, 191, 231, 0.05), rgba(255, 255, 255, 0.01)) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

.bde-cart .cart_totals .shop_table tbody .order-total th {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  padding-top: 12px !important;
  padding-bottom: 6px !important;
  text-align: left !important;
}

.bde-cart .cart_totals .shop_table tbody .order-total td {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  padding-top: 0 !important;
  padding-bottom: 12px !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

.bde-cart .cart_totals .shop_table tbody .order-total td strong {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
}

.bde-cart .cart_totals .shop_table tbody .order-total .woocommerce-Price-amount {
  display: inline-flex;
  align-items: baseline;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  text-align: left !important;
}

.bde-cart .cart_totals .shop_table tbody .order-total .woocommerce-Price-amount .woocommerce-Price-currencySymbol,
.bde-cart .cart_totals .shipping .woocommerce-Price-amount .woocommerce-Price-currencySymbol,
.bde-cart .cart_totals .cart-subtotal .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
  font-size: 13px;
  color: inherit;
  vertical-align: baseline !important;
  position: relative;
  top: 0;
}

.bde-cart .cart_totals .shipping {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

.bde-cart .cart_totals .shipping th,
.bde-cart .cart_totals .shipping td {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  vertical-align: top;
  text-align: left !important;
  float: none !important;
  clear: both;
  box-sizing: border-box;
}

.bde-cart .cart_totals .shipping th {
  color: rgba(255, 255, 255, 0.58) !important;
  padding-bottom: 8px !important;
}

.bde-cart .cart_totals .shipping td {
  padding-top: 0 !important;
}

.bde-cart .cart_totals .shipping ul#shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bde-cart .cart_totals .shipping ul#shipping_method li,
.bde-cart .cart_totals .shipping ul#shipping_method label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #ffffff !important;
}

.bde-cart .cart_totals .shipping ul#shipping_method input[type="hidden"] {
  display: none !important;
}

.bde-cart .cart_totals .shipping ul#shipping_method .woocommerce-Price-amount {
  color: #ffffff !important;
  font-weight: 700;
}

.bde-cart .cart_totals .woocommerce-shipping-destination {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
}

.bde-cart .cart_totals .woocommerce-shipping-calculator {
  margin-top: 14px;
  text-align: left;
}

.bde-cart .cart_totals .shipping-calculator-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #09bfe7 !important;
  text-decoration: none;
}

.bde-cart .cart_totals .shipping-calculator-button::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(9, 191, 231, 0.32);
  font-size: 13px;
  line-height: 1;
}

.bde-cart .cart_totals .shipping-calculator-button[aria-expanded="true"]::after {
  content: "-";
}

.bde-cart .cart_totals .shipping-calculator-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bde-cart .cart_totals .shipping-calculator-form .form-row {
  margin: 0 0 12px;
}

.bde-cart .cart_totals .shipping-calculator-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.84);
  text-align: left;
}

.bde-cart .cart_totals .shipping-calculator-form .input-text,
.bde-cart .cart_totals .shipping-calculator-form .select2-selection--single {
  width: 100% !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  list-style: none;
  box-shadow: none !important;
}

.bde-cart .cart_totals .shipping-calculator-form .input-text::placeholder {
  color: rgba(255, 255, 255, 0.42);
  opacity: 1;
}

.bde-cart .cart_totals .shipping-calculator-form .select2-container {
  width: 100% !important;
}

.bde-cart .cart_totals .shipping-calculator-form .select2-selection--single {
  display: flex !important;
  align-items: center;
}

.bde-cart .cart_totals .shipping-calculator-form .select2-selection__rendered {
  color: #ffffff !important;
  line-height: 20px !important;
  padding-left: 0 !important;
}

.bde-cart .cart_totals .shipping-calculator-form .select2-selection__arrow {
  height: 42px !important;
  right: 10px !important;
}

.bde-cart .cart_totals .shipping-calculator-form .select2-selection__arrow b {
  border-color: rgba(255, 255, 255, 0.58) transparent transparent transparent !important;
}

.select2-dropdown {
  background: #151515 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.select2-results__option {
  color: #ffffff !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: rgba(9, 191, 231, 0.18) !important;
}

.bde-cart .cart_totals .shipping-calculator-form p:last-child {
  margin: 0;
}

.bde-cart .cart_totals .shipping-calculator-form button[name="calc_shipping"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 0 18px;
  border: none !important;
  border-radius: 8px !important;
  background: #09bfe7 !important;
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}


/* ─────────────────────────────────────────────
   PROCEED TO CHECKOUT BUTTON
   ───────────────────────────────────────────── */
.bde-cart .wc-proceed-to-checkout {
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Breakdance sets background, font-size, font-weight, border-radius via its own rules — override all */
.bde-cart .checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 48px !important;
  background: #09bfe7 !important;
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border: none !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: none !important;
  transition: background   0.15s cubic-bezier(0.4, 0, 0.2, 1),
              transform    0.15s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow   0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bde-cart .checkout-button:hover {
  background: #08a6ca !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(9, 191, 231, 0.22) !important;
}

.bde-cart .checkout-button:active {
  transform: translateY(0);
  box-shadow: none !important;
}


/* ─────────────────────────────────────────────
   EMPTY CART STATE
   ───────────────────────────────────────────── */
.bde-cart .cart-empty {
  text-align: center;
  padding: 64px 24px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
  font-weight: 500;
}

.bde-cart .wc-empty-cart-message {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.50);
}

.bde-cart .return-to-shop .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  background: #09bfe7;
  color: #000 !important;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
              transform  0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bde-cart .return-to-shop .button:hover {
  background: #08a6ca;
  transform: scale(1.03);
}


/* ─────────────────────────────────────────────
   NOTICES  — success / error / info
   ───────────────────────────────────────────── */
.bde-cart .woocommerce-message,
.bde-cart .woocommerce-info,
.bde-cart .woocommerce-error {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border-radius: 8px !important;
  font-size: 13px;
  font-weight: 600 !important;
  border: none !important;
  list-style: none !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2) !important;
}

.bde-cart .woocommerce-message {
  background: rgba(0, 187, 127, 0.10) !important;
  border: 1px solid rgba(0, 187, 127, 0.35) !important;
  color: rgba(255, 255, 255, 0.80) !important;
}

.bde-cart .woocommerce-info {
  background: rgba(9, 191, 231, 0.08) !important;
  border: 1px solid rgba(9, 191, 231, 0.35) !important;
  color: rgba(255, 255, 255, 0.80) !important;
}

.bde-cart .woocommerce-error {
  background: rgba(251, 44, 54, 0.08) !important;
  border: 1px solid rgba(251, 44, 54, 0.35) !important;
  color: rgba(255, 255, 255, 0.80) !important;
}

.bde-cart .woocommerce-message a.button,
.bde-cart .woocommerce-info a.button {
  margin-left: auto;
  height: 36px;
  padding: 0 14px;
  background: #09bfe7;
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bde-cart .woocommerce-message a.button:hover,
.bde-cart .woocommerce-info a.button:hover {
  background: #08a6ca;
}


/* ─────────────────────────────────────────────
   RESPONSIVE  — mobile table stacks to cards
   ───────────────────────────────────────────── */
@media (max-width: 767px) {

  .bde-cart .woocommerce {
    gap: 20px;
    padding: 0px !important;
  }

  .bde-cart .shop_table.cart,
  .bde-cart .shop_table.cart tbody,
  .bde-cart .shop_table.cart tbody tr,
  .bde-cart .shop_table.cart tbody td {
    display: block !important;
    width: 100% !important;
  }

  .bde-cart .shop_table.cart thead {
    display: none;
  }

  .bde-cart .shop_table.cart tbody tr.cart_item {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 14px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(9, 9, 9, 0.98));
    position: relative;
  }

  .bde-cart .shop_table.cart tbody tr.cart_item td {
    display: block !important;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .bde-cart .shop_table.cart tbody tr.cart_item td.product-remove {
    order: 1 !important;
    width: 28px !important;
    flex: 0 0 28px !important;
    height: auto !important;
    padding: 0 !important;
    align-self: center;
  }

  .bde-cart .shop_table.cart tbody tr.cart_item td.product-thumbnail {
    order: 2 !important;
    width: 64px !important;
    flex: 0 0 64px !important;
    max-width: 64px;
    align-self: flex-start;
  }

  .bde-cart .shop_table.cart tbody tr.cart_item td.product-name {
    order: 3 !important;
    flex: 0 0 calc(100% - 106px) !important;
    width: calc(100% - 106px) !important;
    max-width: calc(100% - 120px);
    min-width: 0;
  }

  .bde-cart .product-name a {
    font-size: 14px !important;
    line-height: 1.35;
    display: block;
  }

  .bde-cart .shop_table.cart tbody tr.cart_item td.product-quantity {
    order: 4 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px;
    width: auto !important;
    flex: 1 1 auto !important;
    max-width: calc(100% - 120px);
    min-width: 0;
    padding-left: 0 !important;
    border-top: none;
  }

  .bde-cart .shop_table.cart tbody tr.cart_item td.product-price {
    order: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px;
    width: auto !important;
    flex: 0 0 auto !important;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
  }

  .bde-cart .shop_table.cart tbody tr.cart_item td.product-subtotal {
    order: 6 !important;
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    width: 100% !important;
    flex: 0 0 100% !important;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .bde-cart .product-price::before,
  .bde-cart .product-subtotal::before {
    content: attr(data-title);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.30);
    display: block;
    margin-bottom: 0;
  }

  .bde-cart .product-thumbnail img {
    width: 64px;
    height: 64px;
    border-radius: 6px;
  }

  .bde-cart .product-price .woocommerce-Price-amount,
  .bde-cart .product-subtotal .woocommerce-Price-amount {
    font-size: 15px;
  }

  .bde-cart .product-quantity .quantity.quantity--number {
    width: 110px !important;
    min-width: 110px !important;
    height: 40px;
    margin-left: 0;
  }

  .bde-cart .product-quantity .quantity input.qty {
    flex-basis: 38px;
    width: 38px !important;
    min-width: 38px;
    max-width: 38px;
  }

  .bde-cart .actions {
    display: block !important;
    height: auto !important;
    padding: 14px 14px 24px !important;
  }

  .bde-cart .shop_table.cart tr:last-child td.actions {
    display: block !important;
    height: auto !important;
    padding: 14px 14px 24px !important;
  }

  .bde-cart .actions > td {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 !important;
  }

  .bde-cart .coupon {
    display: flex !important;
    flex-direction: column;
    gap: 10px !important;
    min-width: unset;
    width: 100%;
    min-width: 0;
    margin-bottom: 24px;
  }

  .bde-cart .coupon input#coupon_code,
  .bde-cart .coupon button[name="apply_coupon"],
  .bde-cart button[name="update_cart"] {
    width: 100%;
  }

  .bde-cart .coupon input#coupon_code {
    display: block;
    height: 44px !important;
    min-height: 44px;
    padding: 0 14px !important;
    line-height: normal;
    border-radius: 8px;
    box-sizing: border-box;
  }

  .bde-cart button[name="update_cart"] {
    margin-left: 0;
    width: 100%;
    height: 44px !important;
    justify-content: center;
  }

  .bde-cart .cart_totals {
    margin-top: 12px;
  }

  .bde-cart .woocommerce-message,
  .bde-cart .woocommerce-info,
  .bde-cart .woocommerce-error {
    align-items: flex-start;
    flex-direction: column;
  }

  .bde-cart .woocommerce-message a.button,
  .bde-cart .woocommerce-info a.button {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bde-cart .checkout-button {
    animation: none;
  }

  .bde-cart .product-thumbnail img,
  .bde-cart .checkout-button,
  .bde-cart .woocommerce-cart-form__cart-item,
  .bde-cart .bde-quantity-button {
    transition: none;
  }
}