/**
 * Cart + Checkout — Furnixar layout port for Same Boat.
 * Source: furnixar_wp-master cart.php / form-checkout.php / _product.css
 * Colors: Same Boat navy (#0B2251) + Inter.
 *
 * Works with classic [woocommerce_cart] / [woocommerce_checkout] shortcodes
 * (including Elementor shortcode widgets). Full table + totals only when cart
 * has items; empty state uses cart-empty.php.
 */

/* Shell = header width */


body.woocommerce-cart .elementor-shortcode > .woocommerce,
body.woocommerce-checkout .elementor-shortcode > .woocommerce {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-cart .elementor-widget-heading,
body.woocommerce-checkout .elementor-widget-heading,
body.woocommerce-cart .sb-page__title,
body.woocommerce-checkout .sb-page__title {
  display: none !important;
}

/* ========== CART — CSS grid (3/5 form + 2/5 totals), matches Tailwind classes ========== */
body.woocommerce-cart .cart-content-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 2rem !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 auto !important;
  font-family: Inter, system-ui, sans-serif !important;
  color: #0B2251 !important;
}

@media (min-width: 640px) {
  body.woocommerce-cart .cart-content-wrapper {
    gap: 2.5rem !important;
  }
}

@media (min-width: 1024px) {
  body.woocommerce-cart .cart-content-wrapper {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 4rem !important;
  }

  body.woocommerce-cart .cart-content-wrapper > .woocommerce-cart-form,
  body.woocommerce-cart .cart-content-wrapper > form.woocommerce-cart-form {
    grid-column: span 3 / span 3 !important;
  }

  body.woocommerce-cart .cart-content-wrapper > .cart-totals-section {
    grid-column: span 2 / span 2 !important;
  }
}

body.woocommerce-cart .sb-wc-shell--cart > .woocommerce-notices-wrapper:empty {
  display: none !important;
}

body.woocommerce-cart .woocommerce-cart-form {
  width: 100% !important;
  min-width: 0 !important;
  color: #0B2251 !important;
}


body.woocommerce-cart .woocommerce-cart-form thead {
  border-bottom: 1px solid rgba(11, 34, 81, 0.12) !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table {
  width: 100% !important;
  margin: 0 0 2.5rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(11, 34, 81, 0.12) !important;
  border-collapse: collapse !important;
  text-align: left !important;
}

body.woocommerce-cart .woocommerce-cart-form tr {
  position: relative !important;
}

body.woocommerce-cart .woocommerce-cart-form th,
body.woocommerce-cart .woocommerce-cart-form td {
  padding: 0.5rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(11, 34, 81, 0.1) !important;
  vertical-align: middle !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 0.9375rem !important;
  line-height: 1.5 !important;
  color: #0B2251 !important;
}

body.woocommerce-cart .woocommerce-cart-form th:first-child,
body.woocommerce-cart .woocommerce-cart-form td:first-child {
  padding-left: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form th:last-child,
body.woocommerce-cart .woocommerce-cart-form td:last-child {
  padding-right: 0 !important;
  text-align: right !important;
}

body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail {
  width: 6rem !important;
  min-width: 96px !important;
  max-width: 150px !important;
}

body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img {
  display: block !important;
  width: 5rem !important;
  height: 5rem !important;
  margin: 0 !important;
  object-fit: cover !important;
  border-radius: 0.5rem !important;
}

body.woocommerce-cart .woocommerce-cart-form td.product-name a {
  color: #0B2251 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.woocommerce-cart .woocommerce-cart-form a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  padding: 0.25rem !important;
  background: rgba(11, 34, 81, 0.1) !important;
  color: #0B2251 !important;
  font-size: 0 !important;
  text-decoration: none !important;
}

body.woocommerce-cart .woocommerce-cart-form a.remove svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* Hide any leftover meta under product title (image + title only). */
body.woocommerce-cart .cart-variation,
body.woocommerce-cart .woocommerce-cart-form .variation,
body.woocommerce-cart .woocommerce-cart-form .wc-item-meta,
body.woocommerce-checkout .cart-variation,
body.woocommerce-checkout .fx-info ul.cart-variation,
body.woocommerce-checkout .fx-info .variation,
body.woocommerce-checkout .fx-info .wc-item-meta {
  display: none !important;
}

body.woocommerce-cart .cart-variation {
  margin: 0.5rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  color: #5f6f82 !important;
  font-size: 0.8125rem !important;
}

body.woocommerce-cart .cart-variation li {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  margin: 0 0 0.25rem !important;
}

body.woocommerce-cart .cart-variation .item-variation-name {
  font-weight: 700 !important;
}

body.woocommerce-cart .cart-variation .item-variation-value p {
  display: inline !important;
  margin: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form .variation,
body.woocommerce-cart .woocommerce-cart-form .wc-item-meta {
  display: none !important;
}

/* Qty +/- */
body.woocommerce-cart .quantity {
  display: inline-flex !important;
  align-items: stretch !important;
}

body.woocommerce-cart .quantity input[type="number"].qty {
  width: 2rem !important;
  height: 2.5rem !important;
  margin: 0 !important;
  border-top: 1px solid #d1d5db !important;
  border-bottom: 1px solid #d1d5db !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: transparent !important;
  color: inherit !important;
  text-align: center !important;
  -moz-appearance: textfield;
}

body.woocommerce-cart .quantity input[type="button"].minus,
body.woocommerce-cart .quantity input[type="button"].plus {
  min-width: 25px !important;
  height: 2.5rem !important;
  padding: 0 0.25rem !important;
  border: 1px solid #d1d5db !important;
  background: #fff !important;
  color: #0B2251 !important;
  cursor: pointer !important;
}

body.woocommerce-cart .quantity input[type="button"]:hover {
  background: #5d9bd3 !important;
  border-color: #5d9bd3 !important;
  color: #fff !important;
}

/* Coupon + actions */
body.woocommerce-cart .cart-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

body.woocommerce-cart .cart-actions .coupon {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  max-width: 28rem !important;
  flex: 1 1 auto !important;
}

body.woocommerce-cart .cart-actions .coupon .input-text {
  flex: 1 1 auto !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  padding: 0 0.875rem !important;
  border: 1px solid #CFDEE4 !important;
  background: transparent !important;
  color: #0B2251 !important;
  font-family: Inter, system-ui, sans-serif !important;
}

body.woocommerce-cart .cart-actions .coupon button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  padding: 0.375rem 1.25rem !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  background-image: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(107, 155, 209, 0.25) !important;
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer !important;
}

body.woocommerce-cart .cart-actions .coupon button[type="submit"]:hover,
body.woocommerce-cart .cart-actions .coupon button[type="submit"]:focus {
  background: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  background-image: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 20px 25px -5px rgba(107, 155, 209, 0.3),
    0 8px 10px -6px rgba(107, 155, 209, 0.25) !important;
  transform: scale(1.05);
}

body.woocommerce-cart .cart-actions button[name="update_cart"] {
  display: none !important;
}

/* Cart totals sidebar */
body.woocommerce-cart .cart-totals-section {
  align-self: start !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 1.5rem !important;
  border: 2px solid rgba(11, 34, 81, 0.1) !important;
  background: #fff !important;
  color: #0B2251 !important;
}

body.woocommerce-cart .cart_totals > h2 {
  margin: 0 0 1rem !important;
  color: #0B2251 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

body.woocommerce-cart .cart_totals table {
  width: 100% !important;
  border: 0 !important;
  border-collapse: collapse !important;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
  padding: 0.625rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(11, 34, 81, 0.12) !important;
  font-family: Inter, system-ui, sans-serif !important;
}

body.woocommerce-cart .cart_totals th {
  text-align: left !important;
  font-weight: 600 !important;
  color: #5f6f82 !important;
}

body.woocommerce-cart .cart_totals td {
  text-align: right !important;
  font-weight: 600 !important;
  color: #0B2251 !important;
}

body.woocommerce-cart .cart_totals tr:last-child th,
body.woocommerce-cart .cart_totals tr:last-child td {
  border: 0 !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

body.woocommerce-cart .cart_totals .order-total td {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

body.woocommerce-cart .cart_totals .checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: block !important;
  width: 100% !important;
  margin: 0.5rem 0 0 !important;
  padding: 0.75rem !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  background-image: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(107, 155, 209, 0.25) !important;
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.woocommerce-cart .cart_totals .checkout-button:hover,
body.woocommerce-cart .cart_totals .checkout-button:focus {
  background: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  background-image: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  color: #fff !important;
  box-shadow: 0 20px 25px -5px rgba(107, 155, 209, 0.3),
    0 8px 10px -6px rgba(107, 155, 209, 0.25) !important;
  transform: scale(1.05);
}

/* Empty cart — Furnixar demo (py-14 lg:py-20, max-w-3xl, gray icon, dark CTA) */
body.woocommerce-cart .wc-empty-cart-message,
body.woocommerce-checkout .wc-empty-cart-message,
body.woocommerce-cart .cart-empty.woocommerce-info,
body.woocommerce-checkout .cart-empty.woocommerce-info {
  display: none !important;
}

body.woocommerce-cart .sb-wc-shell--empty,
body.woocommerce-checkout .sb-wc-shell--empty,
.elementor-widget-shortcode .sb-wc-shell--empty {
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

@media (min-width: 1024px) {
  body.woocommerce-cart .sb-wc-shell--empty,
  body.woocommerce-checkout .sb-wc-shell--empty,
  .elementor-widget-shortcode .sb-wc-shell--empty {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}

body.woocommerce-cart .empty-cart-content,
body.woocommerce-checkout .empty-cart-content,
.elementor-widget-shortcode .empty-cart-content {
  max-width: 48rem !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
  text-align: center !important;
  font-family: Inter, system-ui, sans-serif !important;
  color: #0B2251 !important;
}

body.woocommerce-cart .empty-cart-content svg,
body.woocommerce-cart .empty-cart-icon,
body.woocommerce-checkout .empty-cart-content svg,
body.woocommerce-checkout .empty-cart-icon,
.elementor-widget-shortcode .empty-cart-icon {
  display: inline-block !important;
  width: 180px !important;
  height: 180px !important;
  max-width: 100% !important;
  margin: 0 0 1.25rem !important;
  color: #d1d5db !important;
  fill: currentColor !important;
}

body.woocommerce-cart .empty-cart-content h1,
body.woocommerce-cart .empty-cart-title,
body.woocommerce-checkout .empty-cart-content h1,
body.woocommerce-checkout .empty-cart-title,
.elementor-widget-shortcode .empty-cart-title {
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0B2251 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 1.875rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
}

@media (min-width: 1024px) {
  body.woocommerce-cart .empty-cart-content h1,
  body.woocommerce-cart .empty-cart-title,
  body.woocommerce-checkout .empty-cart-content h1,
  body.woocommerce-checkout .empty-cart-title,
  .elementor-widget-shortcode .empty-cart-title {
    font-size: 2.25rem !important;
  }
}

body.woocommerce-cart .empty-cart-content p,
body.woocommerce-cart .empty-cart-desc,
body.woocommerce-checkout .empty-cart-content p,
body.woocommerce-checkout .empty-cart-desc,
.elementor-widget-shortcode .empty-cart-desc {
  margin: 0 auto !important;
  max-width: 36rem !important;
  color: #5f6f82 !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

body.woocommerce-cart .return-to-shop,
body.woocommerce-checkout .return-to-shop,
.elementor-widget-shortcode .return-to-shop {
  margin: 1.5rem 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body.woocommerce-cart .return-to-shop .button,
body.woocommerce-checkout .return-to-shop .button,
.elementor-widget-shortcode .return-to-shop .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 1.5rem !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  background-image: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  color: #fff !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(107, 155, 209, 0.25) !important;
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.woocommerce-cart .return-to-shop .button:hover,
body.woocommerce-checkout .return-to-shop .button:hover,
.elementor-widget-shortcode .return-to-shop .button:hover {
  background: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  background-image: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  color: #fff !important;
  box-shadow: 0 20px 25px -5px rgba(107, 155, 209, 0.3),
    0 8px 10px -6px rgba(107, 155, 209, 0.25) !important;
  transform: scale(1.05);
}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
  width: 100% !important;
  float: none !important;
}
/* ========== CHECKOUT — fields + ticket edge (layout = Tailwind in form-checkout.php) ========== */
body.woocommerce-checkout .checkout-form h3 {
  margin: 0 0 1.25rem !important;
  color: #0B2251 !important;
  font-size: 1.375rem !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout .checkout-form .form-row {
  margin: 0 0 1.25rem !important;
}

body.woocommerce-checkout .checkout-form label {
  display: block !important;
  margin: 0 0 0.375rem !important;
  color: #5f6f82 !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
}

body.woocommerce-checkout .checkout-form .input-text,
body.woocommerce-checkout .checkout-form select,
body.woocommerce-checkout .checkout-form textarea,
body.woocommerce-checkout .select2-selection--single {
  width: 100% !important;
  min-height: 2.75rem !important;
  padding: 0.625rem 0.875rem !important;
  border: 1px solid #CFDEE4 !important;
  border-radius: 0.5rem !important;
  background: #fff !important;
  color: #0B2251 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .checkout-form .form-row-first,
body.woocommerce-checkout .checkout-form .form-row-last {
  width: 100% !important;
  float: none !important;
}

@media (min-width: 640px) {
  body.woocommerce-checkout .checkout-form .form-row-first,
  body.woocommerce-checkout .checkout-form .form-row-last {
    width: 48% !important;
  }
  body.woocommerce-checkout .checkout-form .form-row-first {
    float: left !important;
  }
  body.woocommerce-checkout .checkout-form .form-row-last {
    float: right !important;
  }
}

/* Ticket / receipt edge — needs ::before/::after (keep class hook) */
body.woocommerce-checkout .checkout-order-review::before,
body.woocommerce-checkout .checkout-order-review::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  height: 10px !important;
  background-image: radial-gradient(circle at 8px 0, transparent 6px, #f3f4f6 6.5px) !important;
  background-size: 16px 10px !important;
  background-repeat: repeat-x !important;
  pointer-events: none !important;
}

body.woocommerce-checkout .checkout-order-review::before {
  top: -10px !important;
}

body.woocommerce-checkout .checkout-order-review::after {
  bottom: -10px !important;
  transform: rotate(180deg) !important;
}


body.woocommerce-checkout .fx-checkout-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
}
.woocommerce-checkout-review-order .woocommerce-checkout-payment {
  background: transparent !important;
}
.woocommerce-checkout-review-order .woocommerce-checkout-payment ul {
  padding: 0 !important;
}
.woocommerce-checkout-review-order .woocommerce-checkout-payment ul .woocommerce-no-available-payment-methods-message {
  padding: 0 !important;
}

body.woocommerce-checkout .fx-checkout-order-table th,
body.woocommerce-checkout .fx-checkout-order-table td {
  padding: 0.75rem 0.75rem 0.75rem 0 !important;
  border-bottom: 1px solid rgba(11, 34, 81, 0.1) !important;
  text-align: left !important;
  font-size: 0.875rem !important;
  vertical-align: middle !important;
}

body.woocommerce-checkout .fx-checkout-order-table th:last-child,
body.woocommerce-checkout .fx-checkout-order-table td:last-child {
  padding-right: 0 !important;
  text-align: right !important;
}

body.woocommerce-checkout .fx-product-media {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

body.woocommerce-checkout .fx-media {
  flex: 0 0 4rem !important;
  width: 4rem !important;
}

@media (min-width: 640px) {
  body.woocommerce-checkout .fx-media {
    flex: 0 0 5rem !important;
    width: 5rem !important;
  }
}

body.woocommerce-checkout .fx-media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
  border-radius: 0.5rem !important;
}

body.woocommerce-checkout .fx-info {
  flex: 1 !important;
  min-width: 0 !important;
  font-weight: 600 !important;
  color: #0B2251 !important;
}

body.woocommerce-checkout .fx-info .product-quantity,
body.elementor-kit-4 .woocommerce-checkout .fx-info strong.product-quantity {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  color: #7d8da3 !important;
  -webkit-text-fill-color: #7d8da3 !important;
}

body.woocommerce-checkout .fx-info ul.cart-variation {
  margin: 0.5rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: #7d8da3 !important;
}

body.woocommerce-checkout .fx-info ul.cart-variation li {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

body.woocommerce-checkout .fx-info dl.variation,
body.woocommerce-checkout .fx-info .wc-item-meta {
  display: none !important;
}

body.woocommerce-checkout .fx-checkout-order-table tfoot tr:last-child th,
body.woocommerce-checkout .fx-checkout-order-table tfoot tr:last-child td {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #0B2251 !important;
}

/* Place order + terms (WC payment.php markup) */
body.woocommerce-checkout .form-row.place-order {
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 1rem !important;
  padding: 1rem 0 0 !important;
  border-top: 1px solid rgba(11, 34, 81, 0.12) !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
  color: #5f6f82 !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text {
  margin: 0 0 0.75rem !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text a,
body.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text a {
  color: #0B2251 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

/* Full terms HTML stays hidden until WC toggles it */
body.woocommerce-checkout .woocommerce-terms-and-conditions {
  max-height: 200px !important;
  margin: 0 0 0.75rem !important;
  padding: 0.75rem !important;
  overflow: auto !important;
  border: 1px solid rgba(11, 34, 81, 0.1) !important;
  background: #fafafa !important;
  font-size: 0.8125rem !important;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row {
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  color: #0B2251 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  cursor: pointer !important;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  flex: 0 0 auto !important;
  width: 1rem !important;
  height: 1rem !important;
  margin: 0.2rem 0 0 !important;
  accent-color: #0B2251 !important;
}

body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order.button.alt,
body.woocommerce-checkout .fx-checkout-review-order button#place_order,
body.woocommerce-checkout .form-row.place-order button#place_order {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 3rem !important;
  margin: 0.75rem 0 0 !important;
  padding: 0.875rem 1.25rem !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  background-image: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(107, 155, 209, 0.25) !important;
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout button#place_order.button.alt:hover,
body.woocommerce-checkout .fx-checkout-review-order button#place_order:hover,
body.woocommerce-checkout .form-row.place-order button#place_order:hover {
  background: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  background-image: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 20px 25px -5px rgba(107, 155, 209, 0.3),
    0 8px 10px -6px rgba(107, 155, 209, 0.25) !important;
  transform: scale(1.05);
}

body.woocommerce-checkout #place_order:disabled,
body.woocommerce-checkout #place_order.disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}

/* Payment methods list above Place order */
body.woocommerce-checkout #payment .payment_methods {
  margin: 0 0 0.5rem !important;
  padding: 1rem 0 !important;
  list-style: none !important;
  border: 0 !important;
}

body.woocommerce-checkout #payment .payment_methods > li {
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
  list-style: none !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 0.9375rem !important;
  color: #0B2251 !important;
}

body.woocommerce-checkout #payment .payment_box {
  position: relative !important;
  margin: 0.5rem 0 0 !important;
  padding: 0.625rem 0.75rem !important;
  background: #fff !important;
  color: #5f6f82 !important;
  font-size: 0.8125rem !important;
  line-height: 1.45 !important;
}

/* Coupon toggle — yellow bar like Furnixar */
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  display: block !important;
  width: 100% !important;
  margin: 0 0 1.25rem !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  display: block !important;
  margin: 0 !important;
  padding: 1rem 1.25rem !important;
  border: 0 !important;
  background: #e8b84a !important;
  color: #fff !important;
  font-weight: 500 !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

body.woocommerce-checkout form.checkout_coupon {
  display: none;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 32rem;
  margin: 0 0 1.75rem;
  padding: 1.5rem;
  border: 2px solid rgba(11, 34, 81, 0.1);
  background: #fff;
}

body.woocommerce-checkout form.checkout_coupon[style*="block"] {
  display: flex !important;
}

body.woocommerce-checkout .checkout_coupon .input-text {
  height: 2.75rem !important;
}

body.woocommerce-checkout .checkout_coupon button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 2.75rem !important;
  padding: 0 1.25rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  background-image: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(107, 155, 209, 0.25) !important;
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer !important;
}

body.woocommerce-checkout .checkout_coupon button[type="submit"]:hover,
body.woocommerce-checkout .checkout_coupon button[type="submit"]:focus {
  background-image: linear-gradient(90deg, #6B9BD1 0%, #7FD4AA 100%) !important;
  color: #fff !important;
  box-shadow: 0 20px 25px -5px rgba(107, 155, 209, 0.3),
    0 8px 10px -6px rgba(107, 155, 209, 0.25) !important;
  transform: scale(1.05);
}

body.woocommerce-checkout .blockUI.blockOverlay {
  display: none !important;
}

/* Mobile cart — clean card rows */
@media (max-width: 767px) {
  body.woocommerce-cart .cart-actions .coupon button[type="submit"] {
    border-radius: 14px !important;
    font-size: 14px !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table {
    display: block !important;
    width: 100% !important;
    margin: 0 0 1.25rem !important;
    border: 0 !important;
    border-bottom: 0 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form thead {
    display: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form tbody {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart .woocommerce-cart-form tr.cart_item {
    display: grid !important;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto !important;
    grid-template-areas:
      "thumb name remove"
      "thumb price price"
      "thumb qty qty"
      "thumb subtotal subtotal" !important;
    column-gap: 0.875rem !important;
    row-gap: 0.5rem !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 0 0.875rem !important;
    padding: 0.875rem !important;
    border: 1px solid rgba(11, 34, 81, 0.1) !important;
    border-radius: 12px !important;
    background: #fff !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    font-size: 0.875rem !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td::before {
    content: attr(data-title) !important;
    flex: 0 0 auto !important;
    color: #7d8da3 !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail {
    grid-area: thumb !important;
    display: block !important;
    align-self: start !important;
    width: 4.5rem !important;
    min-width: 4.5rem !important;
    max-width: 4.5rem !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail::before {
    content: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail a {
    display: block !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img {
    width: 4.5rem !important;
    height: 4.5rem !important;
    border-radius: 10px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-name {
    grid-area: name !important;
    display: block !important;
    align-self: center !important;
    padding: 0 !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-name::before {
    content: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-name a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: #0B2251 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-remove {
    grid-area: remove !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    align-self: start !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-remove::before {
    content: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form a.remove {
    width: 1.75rem !important;
    height: 1.75rem !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-price {
    grid-area: price !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-quantity {
    grid-area: qty !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal {
    grid-area: subtotal !important;
    padding-top: 0.25rem !important;
    border-top: 1px solid rgba(11, 34, 81, 0.08) !important;
    font-weight: 700 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-price .amount,
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .amount {
    color: #0B2251 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  body.woocommerce-cart .quantity {
    margin-left: auto !important;
  }

  body.woocommerce-cart .quantity input[type="number"].qty {
    width: 2.25rem !important;
    height: 2.25rem !important;
  }

  body.woocommerce-cart .quantity input[type="button"].minus,
  body.woocommerce-cart .quantity input[type="button"].plus {
    min-width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 0 !important;
  }

  body.woocommerce-cart .cart-actions {
    margin-top: 0.25rem !important;
  }

  body.woocommerce-cart .cart-actions .coupon {
    max-width: none !important;
    width: 100% !important;
  }

  body.woocommerce-cart .cart-actions .coupon .input-text {
    flex: 1 1 8rem !important;
  }

  body.woocommerce-cart .cart-content-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem !important;
  }

  body.woocommerce-cart .cart-content-wrapper > .woocommerce-cart-form,
  body.woocommerce-cart .cart-content-wrapper > form.woocommerce-cart-form,
  body.woocommerce-cart .cart-content-wrapper > .cart-totals-section {
    grid-column: auto !important;
  }

  /* Cart totals — no Total row bg, smaller type on mobile */
  body.woocommerce-cart .cart-totals-section {
    padding: 1rem !important;
  }

  body.woocommerce-cart .cart_totals > h2 {
    margin: 0 0 0.75rem !important;
    font-size: 1.0625rem !important;
  }

  body.woocommerce-cart .cart_totals th,
  body.woocommerce-cart .cart_totals td {
    padding: 0.5rem 0 !important;
    font-size: 0.875rem !important;
    background: transparent !important;
    background-color: transparent !important;
  }

  body.woocommerce-cart .cart_totals tr.order-total,
  body.woocommerce-cart .cart_totals tr.order-total th,
  body.woocommerce-cart .cart_totals tr.order-total td,
  body.woocommerce-cart .cart_totals tr:last-child th,
  body.woocommerce-cart .cart_totals tr:last-child td {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
  }

  body.woocommerce-cart .cart_totals .order-total th,
  body.woocommerce-cart .cart_totals .order-total td,
  body.woocommerce-cart .cart_totals .order-total td strong,
  body.woocommerce-cart .cart_totals .order-total .amount {
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }

  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    flex-direction: column !important;
  }

  body.woocommerce-checkout #customer_details.checkout-form,
  body.woocommerce-checkout .checkout-order-review {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
  }
}
