/*
 * HULLAA Cart — Design 2 (v3.1)
 * Scope: cart page only. Built to sit on top of Anvogue/WooCommerce without
 * changing checkout, product, account or catalog pages.
 */
body.woocommerce-cart {
  --hullaa-green: #17664d;
  --hullaa-green-dark: #11513d;
  --hullaa-green-soft: #eef6f2;
  --hullaa-cream: #faf7f2;
  --hullaa-border: #e8e2da;
  --hullaa-border-strong: #dcd4ca;
  --hullaa-text: #1f2924;
  --hullaa-muted: #777b78;
  --hullaa-danger: #cf6d68;
  --hullaa-shadow: 0 12px 34px rgba(35, 49, 42, .055);
}

body.woocommerce-cart .site-content,
body.woocommerce-cart .main-content,
body.woocommerce-cart .entry-content {
  overflow: visible;
}

/* Keep the cart page airy but not oversized. */
body.woocommerce-cart .page-title,
body.woocommerce-cart .page-title-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

/* Progress */
body.woocommerce-cart .hullaa-cart-progress {
  width: min(760px, calc(100% - 32px));
  margin: 30px auto 34px;
  display: grid;
  grid-template-columns: auto minmax(60px, 1fr) auto minmax(60px, 1fr) auto;
  align-items: start;
  gap: 18px;
  direction: rtl;
}
body.woocommerce-cart .hullaa-cart-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 86px;
  color: var(--hullaa-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
body.woocommerce-cart .hullaa-cart-progress__number {
  width: 34px;
  height: 34px;
  border: 1px solid var(--hullaa-border-strong);
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4d5551;
  font-size: 14px;
}
body.woocommerce-cart .hullaa-cart-progress__step.is-active {
  color: var(--hullaa-green-dark);
}
body.woocommerce-cart .hullaa-cart-progress__step.is-active .hullaa-cart-progress__number {
  background: var(--hullaa-green);
  border-color: var(--hullaa-green);
  color: #fff;
  box-shadow: 0 5px 14px rgba(23, 102, 77, .18);
}
body.woocommerce-cart .hullaa-cart-progress__line {
  height: 1px;
  background: var(--hullaa-border-strong);
  margin-top: 17px;
}
body.woocommerce-cart .hullaa-cart-progress__step.is-active + .hullaa-cart-progress__line {
  background: linear-gradient(to left, var(--hullaa-green), var(--hullaa-border-strong));
}

/* Two-column shell: summary left, products right. */
body.woocommerce-cart .woocommerce-cart-wrapper {
  width: 100% !important;
  max-width: 1280px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: minmax(310px, .82fr) minmax(0, 2.18fr) !important;
  grid-template-areas: "summary products";
  gap: 24px !important;
  align-items: start;
  direction: ltr;
}
body.woocommerce-cart .woocommerce-cart-form {
  grid-area: products;
  direction: rtl;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 14px 18px 0;
  background: #fff;
  border: 1px solid var(--hullaa-border);
  border-radius: 18px;
  box-shadow: var(--hullaa-shadow);
}
body.woocommerce-cart .cart-collaterals {
  grid-area: summary;
  direction: rtl;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 22px 20px 18px !important;
  background: #fff !important;
  border: 1px solid var(--hullaa-border);
  border-radius: 18px !important;
  box-shadow: var(--hullaa-shadow);
  position: sticky;
  top: 96px;
}
body.woocommerce-cart .cart-collaterals .cart_totals h2 {
  margin: 0 0 16px !important;
  color: var(--hullaa-green-dark);
  font-size: 24px !important;
  line-height: 1.3 !important;
  font-weight: 700;
}

/* Product table card */
body.woocommerce-cart table.shop_table.cart {
  table-layout: fixed;
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  background: transparent;
}
body.woocommerce-cart table.shop_table.cart thead {
  background: transparent !important;
}
body.woocommerce-cart table.shop_table.cart thead tr {
  background: var(--hullaa-cream);
}
body.woocommerce-cart table.shop_table.cart thead th {
  padding: 12px 8px !important;
  border: 0 !important;
  color: #555c58;
  font-size: 13px !important;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
}
body.woocommerce-cart table.shop_table.cart thead th:first-child {
  border-radius: 0 11px 11px 0;
}
body.woocommerce-cart table.shop_table.cart thead th:last-child {
  border-radius: 11px 0 0 11px;
}
body.woocommerce-cart table.shop_table.cart th.product-thumbnail,
body.woocommerce-cart table.shop_table.cart td.product-thumbnail { width: 96px; }
body.woocommerce-cart table.shop_table.cart th.product-name { width: auto; }
body.woocommerce-cart table.shop_table.cart th.product-price,
body.woocommerce-cart table.shop_table.cart th.product-subtotal { width: 112px; }
body.woocommerce-cart table.shop_table.cart th.product-quantity { width: 124px; }
body.woocommerce-cart table.shop_table.cart th.product-remove { width: 42px; }

body.woocommerce-cart table.shop_table.cart tbody tr.cart_item td {
  border: 0 !important;
  border-bottom: 1px solid #eee9e2 !important;
  padding: 18px 8px !important;
  vertical-align: middle;
  background: #fff;
}
body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
  padding-right: 0 !important;
}
body.woocommerce-cart table.shop_table.cart td.product-thumbnail a {
  display: block;
}
body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
  display: block;
  width: 82px !important;
  height: 92px !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 12px !important;
  background: #f5f3ef;
}
body.woocommerce-cart table.shop_table.cart td.product-name {
  padding-right: 14px !important;
  color: var(--hullaa-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  text-align: right;
}
body.woocommerce-cart table.shop_table.cart td.product-name a {
  color: var(--hullaa-text);
}
body.woocommerce-cart table.shop_table.cart td.product-name a:hover {
  color: var(--hullaa-green);
}
body.woocommerce-cart table.shop_table.cart td.product-price,
body.woocommerce-cart table.shop_table.cart td.product-subtotal {
  color: var(--hullaa-text);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}
body.woocommerce-cart table.shop_table.cart td.product-subtotal {
  font-weight: 600;
}
body.woocommerce-cart table.shop_table.cart td.product-quantity {
  text-align: center;
}
body.woocommerce-cart table.shop_table.cart .pls-quantity-label {
  display: none !important;
}
body.woocommerce-cart table.shop_table.cart .quantity {
  width: 104px;
  height: 42px;
  margin: 0 auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hullaa-border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
body.woocommerce-cart table.shop_table.cart .quantity input.qty {
  width: 38px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--hullaa-text);
  font-weight: 600;
  text-align: center;
  box-shadow: none !important;
}
body.woocommerce-cart table.shop_table.cart .quantity input[type="button"],
body.woocommerce-cart table.shop_table.cart .quantity .minus,
body.woocommerce-cart table.shop_table.cart .quantity .plus {
  min-width: 32px !important;
  width: 32px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--hullaa-green-dark) !important;
  font-size: 19px !important;
  line-height: 40px !important;
}
body.woocommerce-cart table.shop_table.cart td.product-remove {
  text-align: center;
}
body.woocommerce-cart table.shop_table.cart a.remove,
body.woocommerce-cart table.shop_table.cart a.remove:hover {
  width: 26px;
  height: 26px;
  margin: 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #ead4d1;
  border-radius: 50%;
  color: var(--hullaa-danger) !important;
  background: #fff;
  font-size: 0 !important;
  text-decoration: none;
}
body.woocommerce-cart table.shop_table.cart a.remove::before {
  content: "×" !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: currentColor !important;
  font-family: Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}
body.woocommerce-cart table.shop_table.cart a.remove:hover {
  background: #fff7f6;
  border-color: #dfaaa5;
}

/* Bottom actions — no coupon here by design. */
body.woocommerce-cart .hullaa-cart-actions-row td.actions {
  padding: 14px 0 12px !important;
  border: 0 !important;
}
body.woocommerce-cart .hullaa-cart-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  direction: rtl;
}
body.woocommerce-cart .hullaa-continue-shopping,
body.woocommerce-cart .hullaa-update-cart {
  min-height: 42px;
  padding: 9px 18px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
body.woocommerce-cart .hullaa-continue-shopping {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hullaa-green) !important;
  background: #fff !important;
  color: var(--hullaa-green-dark) !important;
  white-space: nowrap;
}
body.woocommerce-cart .hullaa-continue-shopping:hover {
  background: var(--hullaa-green-soft) !important;
}
body.woocommerce-cart .hullaa-continue-shopping__icon {
  font-size: 17px;
}
body.woocommerce-cart .hullaa-update-cart {
  background: var(--hullaa-green) !important;
  color: #fff !important;
  border: 1px solid var(--hullaa-green) !important;
}
body.woocommerce-cart .hullaa-update-cart:disabled,
body.woocommerce-cart .hullaa-update-cart.disabled {
  opacity: .42;
}
body.woocommerce-cart.has-auto-update-cart .hullaa-update-cart,
body.woocommerce-cart .hullaa-update-cart:disabled {
  display: none !important;
}
body.woocommerce-cart .hullaa-cart-coupon-extensions:empty {
  display: none;
}
body.woocommerce-cart .hullaa-cart-coupon-extensions:not(:empty) {
  margin-top: 10px;
}

/* Summary */
body.woocommerce-cart .cart_totals .hullaa-summary-table {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
}
body.woocommerce-cart .cart_totals .hullaa-summary-table tr {
  border: 0 !important;
}
body.woocommerce-cart .cart_totals .hullaa-summary-table th,
body.woocommerce-cart .cart_totals .hullaa-summary-table td {
  padding: 10px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eee9e2 !important;
  background: transparent;
  color: var(--hullaa-text);
  font-size: 14px;
  line-height: 1.5;
  vertical-align: top;
}
body.woocommerce-cart .cart_totals .hullaa-summary-table th {
  width: 46%;
  font-weight: 500;
  text-align: right;
}
body.woocommerce-cart .cart_totals .hullaa-summary-table td {
  text-align: left;
  font-weight: 600;
}
body.woocommerce-cart .cart_totals .hullaa-summary-table .cart-subtotal th,
body.woocommerce-cart .cart_totals .hullaa-summary-table .cart-subtotal td {
  padding-top: 0 !important;
  font-size: 15px;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-heading th {
  width: 100%;
  padding-top: 14px !important;
  padding-bottom: 8px !important;
  border-bottom: 0 !important;
  color: #555d59;
  font-size: 13px;
  font-weight: 600;
}
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals.shipping > th,
body.woocommerce-cart .cart_totals tr.shipping > th {
  display: none !important;
}
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals.shipping > td,
body.woocommerce-cart .cart_totals tr.shipping > td {
  width: 100% !important;
  max-width: none !important;
  padding: 0 0 12px !important;
  text-align: right !important;
  border-bottom: 1px solid #eee9e2 !important;
}
body.woocommerce-cart .cart_totals ul#shipping_method,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px;
}
body.woocommerce-cart .cart_totals ul#shipping_method li,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods li {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--hullaa-border);
  border-radius: 10px;
  background: #fff;
  color: #404944;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
body.woocommerce-cart .cart_totals ul#shipping_method li:has(input:checked),
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods li:has(input:checked) {
  border-color: var(--hullaa-green);
  background: #fbfdfc;
  box-shadow: inset 0 0 0 1px rgba(23, 102, 77, .05);
}
body.woocommerce-cart .cart_totals ul#shipping_method input[type="radio"],
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods input[type="radio"] {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 12px 0 0 !important;
  accent-color: var(--hullaa-green);
}
body.woocommerce-cart .cart_totals ul#shipping_method li input[type="hidden"] + label,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods li input[type="hidden"] + label {
  width: 100% !important;
  padding-right: 14px !important;
}
body.woocommerce-cart .cart_totals ul#shipping_method li:only-child,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods li:only-child {
  border-color: var(--hullaa-green);
  background: #fbfdfc;
}
body.woocommerce-cart .cart_totals ul#shipping_method label,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods label {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  min-height: 46px;
  margin: 0 !important;
  padding: 11px 12px 11px 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  text-align: right !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  cursor: pointer;
}
body.woocommerce-cart .cart_totals ul#shipping_method label .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods label .woocommerce-Price-amount {
  flex: 0 0 auto;
  margin-inline-start: auto;
  white-space: nowrap;
  font-weight: 700;
}
body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals .woocommerce-shipping-contents {
  margin: 9px 0 0 !important;
  color: var(--hullaa-muted);
  font-size: 12px;
  line-height: 1.55;
}
body.woocommerce-cart .cart_totals .shipping-calculator-button {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  margin: 10px 0 0 !important;
  padding: 9px 12px;
  border: 1px solid var(--hullaa-border);
  border-radius: 9px;
  background: var(--hullaa-cream);
  color: var(--hullaa-green-dark) !important;
  font-size: 13px;
  font-weight: 600 !important;
  text-decoration: none;
}
body.woocommerce-cart .cart_totals .shipping-calculator-button::after {
  margin: 0 8px 0 0 !important;
}
body.woocommerce-cart .cart_totals .shipping-calculator-form {
  margin-top: 10px;
  text-align: right;
}

/* Single coupon location inside summary */
body.woocommerce-cart .cart_totals .hullaa-summary-coupon-row td {
  padding: 14px 0 !important;
  text-align: right;
}
body.woocommerce-cart .hullaa-summary-coupon label {
  display: block;
  margin-bottom: 7px;
  color: #686f6b;
  font-size: 12px;
  font-weight: 500;
}
body.woocommerce-cart .hullaa-summary-coupon__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 8px;
  direction: rtl;
}
body.woocommerce-cart .hullaa-summary-coupon input.input-text {
  width: 100%;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--hullaa-border) !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--hullaa-text) !important;
  font-size: 13px;
  text-align: right;
  box-shadow: none !important;
}
body.woocommerce-cart .hullaa-summary-coupon input.input-text:focus {
  border-color: var(--hullaa-green) !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23, 102, 77, .08) !important;
}
body.woocommerce-cart .hullaa-summary-coupon button.button {
  width: 74px;
  min-height: 42px;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 1px solid var(--hullaa-green) !important;
  border-radius: 9px !important;
  background: var(--hullaa-green) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
body.woocommerce-cart .hullaa-summary-coupon button.button:hover {
  background: var(--hullaa-green-dark) !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
  padding: 15px 0 10px !important;
  border-bottom: 0 !important;
  color: var(--hullaa-text) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}
body.woocommerce-cart .cart_totals .order-total .amount {
  color: var(--hullaa-text) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}
body.woocommerce-cart .wc-proceed-to-checkout {
  margin: 2px 0 0 !important;
  padding: 0 !important;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100% !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 13px 18px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hullaa-green) !important;
  border-radius: 10px !important;
  background: var(--hullaa-green) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center;
  box-shadow: none !important;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--hullaa-green-dark) !important;
  border-color: var(--hullaa-green-dark) !important;
}

/* Trust bar lives outside the 2-column wrapper, so it can never become a third column. */
body.woocommerce-cart .hullaa-cart-trustbar {
  width: 100%;
  max-width: 1280px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--hullaa-cream);
  border: 1px solid var(--hullaa-border);
  border-radius: 16px;
  overflow: hidden;
}
body.woocommerce-cart .hullaa-cart-trustbar__item {
  min-height: 82px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: right;
}
body.woocommerce-cart .hullaa-cart-trustbar__item + .hullaa-cart-trustbar__item {
  border-right: 1px solid var(--hullaa-border);
}
body.woocommerce-cart .hullaa-cart-trustbar__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hullaa-green-dark);
}
body.woocommerce-cart .hullaa-cart-trustbar__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.woocommerce-cart .hullaa-cart-trustbar__text strong {
  display: block;
  margin-bottom: 2px;
  color: var(--hullaa-text);
  font-size: 14px;
  font-weight: 700;
}
body.woocommerce-cart .hullaa-cart-trustbar__text span {
  display: block;
  color: var(--hullaa-muted);
  font-size: 11px;
  line-height: 1.5;
}

/* Tablet landscape */
@media (max-width: 1100px) {
  body.woocommerce-cart .woocommerce-cart-wrapper {
    grid-template-columns: minmax(290px, .9fr) minmax(0, 2.1fr) !important;
    gap: 18px !important;
  }
  body.woocommerce-cart .woocommerce-cart-form {
    padding-left: 14px;
    padding-right: 14px;
  }
  body.woocommerce-cart table.shop_table.cart th.product-thumbnail,
  body.woocommerce-cart table.shop_table.cart td.product-thumbnail { width: 82px; }
  body.woocommerce-cart table.shop_table.cart th.product-price,
  body.woocommerce-cart table.shop_table.cart th.product-subtotal { width: 92px; }
  body.woocommerce-cart table.shop_table.cart th.product-quantity { width: 112px; }
  body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 70px !important;
    height: 82px !important;
  }
}

/* Tablet portrait: products first, summary second. */
@media (max-width: 960px) {
  body.woocommerce-cart .hullaa-cart-progress {
    margin-top: 24px;
    margin-bottom: 26px;
  }
  body.woocommerce-cart .woocommerce-cart-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "products"
      "summary";
    gap: 18px !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals {
    position: static;
  }
  body.woocommerce-cart .hullaa-cart-trustbar {
    margin-top: 18px;
  }
}

/* Phone / narrow tablet: product rows become clean cards. */
@media (max-width: 767px) {
  body.woocommerce-cart .page-title,
  body.woocommerce-cart .page-title-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  body.woocommerce-cart .hullaa-cart-progress {
    width: calc(100% - 24px);
    grid-template-columns: auto 1fr auto 1fr auto;
    gap: 8px;
    margin: 20px auto 22px;
  }
  body.woocommerce-cart .hullaa-cart-progress__step {
    min-width: 66px;
    gap: 6px;
    font-size: 11px;
  }
  body.woocommerce-cart .hullaa-cart-progress__number {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  body.woocommerce-cart .hullaa-cart-progress__line {
    margin-top: 15px;
  }
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals .cart_totals {
    padding: 12px !important;
    border-radius: 14px !important;
  }
  body.woocommerce-cart .woocommerce-cart-form {
    background: #fdfcfb;
  }

  body.woocommerce-cart table.shop_table.cart,
  body.woocommerce-cart table.shop_table.cart tbody {
    display: block !important;
    width: 100%;
  }
  body.woocommerce-cart table.shop_table.cart thead {
    display: none !important;
  }
  body.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
    width: 100%;
    margin: 0 0 10px !important;
    padding: 12px !important;
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) 82px;
    grid-template-areas:
      "remove name thumb"
      ". price thumb"
      "subtotal qty thumb";
    column-gap: 10px;
    row-gap: 7px;
    position: relative;
    border: 1px solid var(--hullaa-border) !important;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(35, 49, 42, .035);
    direction: ltr;
  }
  body.woocommerce-cart table.shop_table.cart tbody tr.cart_item td {
    direction: rtl;
    display: block !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: right !important;
    background: transparent !important;
  }
  body.woocommerce-cart table.shop_table.cart tbody tr.cart_item td::before {
    display: none !important;
    content: none !important;
  }
  body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
    grid-area: thumb;
    position: static !important;
    align-self: stretch;
  }
  body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 82px !important;
    height: 94px !important;
    object-fit: cover;
  }
  body.woocommerce-cart table.shop_table.cart td.product-name {
    grid-area: name;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.55;
    align-self: start;
  }
  body.woocommerce-cart table.shop_table.cart td.product-price {
    grid-area: price;
    align-self: center;
    color: var(--hullaa-muted);
    font-size: 13px;
    font-weight: 500;
  }
  body.woocommerce-cart table.shop_table.cart td.product-quantity {
    grid-area: qty;
    align-self: end;
  }
  body.woocommerce-cart table.shop_table.cart td.product-subtotal {
    grid-area: subtotal;
    align-self: end;
    justify-self: start;
    font-size: 14px;
  }
  body.woocommerce-cart table.shop_table.cart td.product-remove {
    grid-area: remove;
    position: static !important;
    align-self: start;
    justify-self: start;
  }
  body.woocommerce-cart table.shop_table.cart .quantity {
    width: 96px;
    height: 38px;
    margin: 0 !important;
  }
  body.woocommerce-cart table.shop_table.cart .quantity input.qty,
  body.woocommerce-cart table.shop_table.cart .quantity input[type="button"],
  body.woocommerce-cart table.shop_table.cart .quantity .minus,
  body.woocommerce-cart table.shop_table.cart .quantity .plus {
    height: 36px !important;
    min-height: 36px !important;
    line-height: 36px !important;
  }
  body.woocommerce-cart .hullaa-cart-actions-row,
  body.woocommerce-cart .hullaa-cart-actions-row td.actions {
    display: block !important;
    width: 100%;
  }
  body.woocommerce-cart .hullaa-cart-actions {
    padding-top: 2px;
  }
  body.woocommerce-cart .hullaa-continue-shopping {
    width: 100%;
    justify-content: center;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals h2 {
    font-size: 21px !important;
  }
  body.woocommerce-cart .cart_totals .hullaa-summary-table {
    display: table !important;
  }
  body.woocommerce-cart .cart_totals .hullaa-summary-table tbody {
    display: table-row-group !important;
  }
  body.woocommerce-cart .cart_totals .hullaa-summary-table tr {
    display: table-row !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  body.woocommerce-cart .cart_totals .hullaa-summary-table th,
  body.woocommerce-cart .cart_totals .hullaa-summary-table td {
    display: table-cell !important;
    width: 50%;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }
  body.woocommerce-cart .cart_totals .hullaa-summary-table td::before {
    display: none !important;
    content: none !important;
  }
  body.woocommerce-cart .cart_totals .hullaa-shipping-heading th,
  body.woocommerce-cart .cart_totals .hullaa-summary-coupon-row td {
    width: 100%;
  }
  body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals.shipping > td,
  body.woocommerce-cart .cart_totals tr.shipping > td {
    display: table-cell !important;
    width: 100%;
  }
  body.woocommerce-cart .hullaa-cart-trustbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 14px;
  }
  body.woocommerce-cart .hullaa-cart-trustbar__item {
    min-height: 76px;
    padding: 12px;
  }
  body.woocommerce-cart .hullaa-cart-trustbar__item + .hullaa-cart-trustbar__item {
    border-right: 0;
  }
  body.woocommerce-cart .hullaa-cart-trustbar__item:nth-child(even) {
    border-right: 1px solid var(--hullaa-border);
  }
  body.woocommerce-cart .hullaa-cart-trustbar__item:nth-child(n+3) {
    border-top: 1px solid var(--hullaa-border);
  }
}

@media (max-width: 430px) {
  body.woocommerce-cart .hullaa-cart-progress__label {
    max-width: 62px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  body.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
    grid-template-columns: 26px minmax(0, 1fr) 74px;
  }
  body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 74px !important;
    height: 86px !important;
  }
  body.woocommerce-cart .hullaa-summary-coupon__controls {
    grid-template-columns: minmax(0, 1fr) 68px;
  }
  body.woocommerce-cart .hullaa-summary-coupon button.button {
    width: 68px;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

@media (max-width: 360px) {
  body.woocommerce-cart .hullaa-cart-progress {
    gap: 5px;
  }
  body.woocommerce-cart .hullaa-cart-progress__step {
    min-width: 58px;
  }
  body.woocommerce-cart .hullaa-summary-coupon__controls {
    grid-template-columns: 1fr;
  }
  body.woocommerce-cart .hullaa-summary-coupon button.button {
    width: 100%;
  }
  body.woocommerce-cart .hullaa-cart-trustbar {
    grid-template-columns: 1fr;
  }
  body.woocommerce-cart .hullaa-cart-trustbar__item,
  body.woocommerce-cart .hullaa-cart-trustbar__item:nth-child(even) {
    border-right: 0;
    border-top: 1px solid var(--hullaa-border);
  }
  body.woocommerce-cart .hullaa-cart-trustbar__item:first-child {
    border-top: 0;
  }
}

/* ==========================================================
   HULLAA v3.3.0 — mobile shipping + fixed-button corrections
   ========================================================== */
body.woocommerce-cart .cart_totals ul#shipping_method li,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods li {
  min-height: 52px;
  padding-inline: 11px !important;
  overflow: visible !important;
}
body.woocommerce-cart .cart_totals ul#shipping_method li.is-selected,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods li.is-selected {
  border-color: var(--hullaa-green) !important;
  background: #fbfdfc !important;
}
body.woocommerce-cart .cart_totals ul#shipping_method input[type="radio"],
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods input[type="radio"] {
  margin: 0 !important;
}
body.woocommerce-cart .cart_totals ul#shipping_method label,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods label {
  min-height: 50px !important;
  padding: 11px 0 !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: 8px !important;
}
body.woocommerce-cart .cart_totals ul#shipping_method label .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods label .woocommerce-Price-amount {
  display: inline-block !important;
  flex: 0 0 auto !important;
  margin-inline-start: auto !important;
  white-space: nowrap !important;
  font-size: inherit !important;
}

/* Anvogue makes the checkout CTA viewport-fixed on mobile; keep it in flow so it never covers content. */
@media (max-width: 1024px) {
  body.woocommerce-cart.pls-mobile-bottom-navbar-single-page .wc-proceed-to-checkout {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    padding: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  body.woocommerce-cart.pls-mobile-bottom-navbar-single-page .wc-proceed-to-checkout .checkout-button {
    border-radius: 10px !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart .cart_totals ul#shipping_method label,
  body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods label {
    font-size: 12.5px !important;
  }
  body.woocommerce-cart table.shop_table.cart td.product-quantity .hullaa-stock-limit-note {
    margin-top: 5px;
    font-size: 10.5px;
  }
}

@media (max-width: 370px) {
  body.woocommerce-cart .cart_totals ul#shipping_method label,
  body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods label {
    font-size: 11.5px !important;
    gap: 5px !important;
  }
}

/* ==========================================================
   HULLAA v3.3.2 — keep cart CTA clear of browser native UI
   Samsung Internet can display its own centered scroll-to-top control just
   above the browser toolbar. The cart CTA therefore stays in normal flow on
   mobile/tablet instead of being pinned to the viewport bottom.
   ========================================================== */
@media (max-width: 1024px) {
  body.woocommerce-cart .wc-proceed-to-checkout,
  body.woocommerce-cart.hullaa-cart-mobile-flow .wc-proceed-to-checkout,
  body.woocommerce-cart.pls-mobile-bottom-navbar-single-page .wc-proceed-to-checkout {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: none !important;
    z-index: auto !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 10px !important;
  }
}


/* ==========================================================
   HULLAA v3.3.3 — deterministic one-row shipping method layout
   The cart template now emits explicit name/price wrappers so mobile theme
   styles cannot move the price below the method name.
   ========================================================== */
body.woocommerce-cart .cart_totals ul#shipping_method li,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods li {
  flex-wrap: nowrap !important;
}
body.woocommerce-cart .cart_totals ul#shipping_method .hullaa-shipping-label,
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods .hullaa-shipping-label {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 10px 2px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  grid-template-areas: "name price" !important;
  align-items: center !important;
  column-gap: 12px !important;
  direction: rtl !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-label .hullaa-shipping-name {
  grid-area: name;
  min-width: 0;
  display: block !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  text-align: right !important;
  font-weight: 500 !important;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-label .hullaa-shipping-price {
  grid-area: price;
  display: inline-flex !important;
  align-items: center;
  justify-self: end;
  white-space: nowrap !important;
  font-weight: 700 !important;
  text-align: left !important;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-label .hullaa-shipping-price .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals .hullaa-shipping-label .hullaa-shipping-price .amount,
body.woocommerce-cart .cart_totals .hullaa-shipping-label .hullaa-shipping-price bdi,
body.woocommerce-cart .cart_totals .hullaa-shipping-label .hullaa-shipping-price .woocommerce-Price-currencySymbol {
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-label.is-no-price {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "name" !important;
}

@media (max-width: 420px) {
  body.woocommerce-cart .cart_totals ul#shipping_method .hullaa-shipping-label,
  body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods .hullaa-shipping-label {
    column-gap: 8px !important;
    font-size: 12px !important;
  }
}


/* ==========================================================
   HULLAA v3.3.5 — cart shipping full-width AJAX repair
   WooCommerce may rebuild the shipping row in an AJAX request where is_cart()
   is unavailable. Keep the options across the complete order-summary width.
   ========================================================== */
body.woocommerce-cart .cart_totals .hullaa-summary-table tr.hullaa-shipping-row > td,
body.woocommerce-cart .cart_totals .hullaa-summary-table tr.woocommerce-shipping-totals.shipping > td[colspan="2"] {
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-cart .cart_totals .hullaa-summary-table tr.hullaa-shipping-row ul#shipping_method,
body.woocommerce-cart .cart_totals .hullaa-summary-table tr.hullaa-shipping-row ul.woocommerce-shipping-methods {
  width: 100% !important;
  max-width: none !important;
}
@media (min-width: 768px) {
  body.woocommerce-cart .cart_totals .hullaa-shipping-label .hullaa-shipping-name {
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

/* ==========================================================
   HULLAA v3.3.7 — safe full-width shipping layout
   Keep native table semantics. The previous block-level TR/TD override could
   collapse shipping labels in desktop browsers.
   ========================================================== */
body.woocommerce-cart .cart_totals .hullaa-summary-table {
  width: 100% !important;
  table-layout: fixed !important;
}
body.woocommerce-cart .cart_totals .hullaa-summary-table tr.hullaa-shipping-row,
body.woocommerce-cart .cart_totals .hullaa-summary-table tr.woocommerce-shipping-totals.shipping {
  display: table-row !important;
}
body.woocommerce-cart .cart_totals .hullaa-summary-table tr.hullaa-shipping-row > th,
body.woocommerce-cart .cart_totals .hullaa-summary-table tr.woocommerce-shipping-totals.shipping > th {
  display: none !important;
}
body.woocommerce-cart .cart_totals .hullaa-summary-table tr.hullaa-shipping-row > td,
body.woocommerce-cart .cart_totals .hullaa-summary-table tr.woocommerce-shipping-totals.shipping > td {
  display: table-cell !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-row ul#shipping_method,
body.woocommerce-cart .cart_totals .hullaa-shipping-row ul.woocommerce-shipping-methods,
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals.shipping ul#shipping_method,
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals.shipping ul.woocommerce-shipping-methods {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-row ul#shipping_method > li,
body.woocommerce-cart .cart_totals .hullaa-shipping-row ul.woocommerce-shipping-methods > li,
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals.shipping ul#shipping_method > li,
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals.shipping ul.woocommerce-shipping-methods > li {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-label {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  grid-template-areas: "name price" !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  gap: 10px !important;
  direction: rtl !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-label .hullaa-shipping-name {
  grid-area: name !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  text-align: right !important;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-label .hullaa-shipping-price {
  grid-area: price !important;
  justify-self: end !important;
  width: auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
  text-align: left !important;
}
body.woocommerce-cart .cart_totals .hullaa-shipping-label.is-no-price {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "name" !important;
}

/* A little more breathing room for Arabic method names on desktop. */
@media (min-width: 1101px) {
  body.woocommerce-cart .woocommerce-cart-wrapper {
    grid-template-columns: minmax(360px, .92fr) minmax(0, 2.08fr) !important;
  }
}

@media (max-width: 420px) {
  body.woocommerce-cart .cart_totals .hullaa-shipping-label {
    gap: 6px !important;
    font-size: 11.5px !important;
  }
}
