/* HINOX checkout, cart & account polish */

/* ===== HINOX CART — FINAL PROFESSIONAL PASS ===== */

.woocommerce-cart .shoppong-car-wrap{
  align-items:flex-start!important;
  --hx-cart-ink:#0f2742;
  --hx-cart-muted:#667085;
  --hx-cart-border:#e4e9f0;
  --hx-cart-soft:#f7f9fc;
}

/* Main cart card */
.woocommerce-cart .tp-woo-cart-table{
  margin:0!important;
  padding:20px!important;
  background:#fff!important;
  border:1px solid var(--hx-cart-border)!important;
  border-radius:20px!important;
  box-shadow:0 10px 30px rgba(15,39,66,.045)!important;
}

.woocommerce-cart .tp-woo-cart-table-list{
  overflow:hidden!important;
  border:0!important;
  border-radius:14px!important;
}

.woocommerce-cart .tp-woo-cart-table table{
  width:100%!important;
  margin:0!important;
  border:0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  table-layout:auto!important;
}

/* Header */
.woocommerce-cart .tp-woo-cart-table thead th{
  padding:16px 14px!important;
  background:#f5f7fa!important;
  border:0!important;
  color:var(--hx-cart-ink)!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

/* Rows */
.woocommerce-cart .tp-woo-cart-table tbody td{
  padding:18px 14px!important;
  border:0!important;
  border-bottom:1px solid #edf1f5!important;
  color:#344054!important;
  font-size:14px!important;
  line-height:1.65!important;
  vertical-align:middle!important;
}

.woocommerce-cart .tp-woo-cart-table tbody tr:last-child td{
  border-bottom:0!important;
}

/* Image */
.woocommerce-cart .tp-woo-cart-table .product-thumbnail{
  width:84px!important;
}
.woocommerce-cart .tp-woo-cart-table .product-thumbnail a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:70px!important;
  height:70px!important;
  margin:auto!important;
  padding:6px!important;
  background:#fff!important;
  border:1px solid #e6ebf0!important;
  border-radius:13px!important;
}
.woocommerce-cart .tp-woo-cart-table .product-thumbnail img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
}

/* Product name */
.woocommerce-cart .tp-woo-cart-table .product-name{
  min-width:250px!important;
}
.woocommerce-cart .tp-woo-cart-table .product-name a{
  display:inline-block!important;
  max-width:320px!important;
  color:var(--hx-cart-ink)!important;
  font-size:16px!important;
  line-height:1.55!important;
  font-weight:850!important;
  text-decoration:none!important;
}
.woocommerce-cart .tp-woo-cart-table .product-name a:hover{
  color:#6e9e00!important;
}
.woocommerce-cart .tp-woo-cart-table .product-name dl.variation,
.woocommerce-cart .tp-woo-cart-table .product-name .wc-item-meta{
  margin:6px 0 0!important;
  color:#7a8696!important;
  font-size:12px!important;
  line-height:1.5!important;
}

/* Prices */
.woocommerce-cart .tp-woo-cart-table .product-price,
.woocommerce-cart .tp-woo-cart-table .product-subtotal{
  min-width:125px!important;
  color:var(--hx-cart-ink)!important;
  font-size:16px!important;
  line-height:1.45!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.woocommerce-cart .tp-woo-cart-table .product-price .woocommerce-Price-amount,
.woocommerce-cart .tp-woo-cart-table .product-subtotal .woocommerce-Price-amount{
  color:var(--hx-cart-ink)!important;
  font-size:16px!important;
  font-weight:900!important;
}
.woocommerce-cart .tp-woo-cart-table .includes_tax{
  display:block!important;
  margin-top:4px!important;
  color:#7d8896!important;
  font-size:11px!important;
  line-height:1.45!important;
  font-weight:600!important;
  white-space:normal!important;
}

/* Quantity */
.woocommerce-cart .tp-woo-cart-table .product-quantity{
  min-width:150px!important;
}
.woocommerce-cart .tp-woo-cart-table .quantity{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #dbe3eb!important;
  border-radius:12px!important;
}
.woocommerce-cart .tp-woo-cart-table .quantity button,
.woocommerce-cart .tp-woo-cart-table .quantity .tp-cart-minus,
.woocommerce-cart .tp-woo-cart-table .quantity .tp-cart-plus{
  width:40px!important;
  height:44px!important;
  background:transparent!important;
  border:0!important;
  color:var(--hx-cart-ink)!important;
  font-size:18px!important;
  line-height:44px!important;
}
.woocommerce-cart .tp-woo-cart-table .quantity .qty{
  width:48px!important;
  min-width:48px!important;
  height:44px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--hx-cart-ink)!important;
  font-size:14px!important;
  font-weight:800!important;
  text-align:center!important;
  box-shadow:none!important;
}

/* Remove */
.woocommerce-cart .tp-woo-cart-table .product-remove{
  width:68px!important;
  text-align:center!important;
}
.woocommerce-cart .tp-woo-cart-table .product-remove a.remove{
  display:inline-flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  height:42px!important;
  margin:auto!important;
  padding:0!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  color:#98a2b3!important;
  font-size:11px!important;
  line-height:1.1!important;
}
.woocommerce-cart .tp-woo-cart-table .product-remove a.remove i{
  margin-bottom:3px!important;
  font-size:16px!important;
}
.woocommerce-cart .tp-woo-cart-table .product-remove a.remove:hover{
  background:#fff3f3!important;
  border-color:#f3d1d1!important;
  color:#b42318!important;
}

/* Coupon/action footer */
.woocommerce-cart .tp-woo-cart-coupon{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin-top:18px!important;
  padding-top:18px!important;
  border-top:1px solid #e9eef3!important;
}
.woocommerce-cart .tp-cart-coupon{
  flex:1 1 auto!important;
}
.woocommerce-cart .tp-cart-coupon-input-box label{
  display:block!important;
  margin:0 0 7px!important;
  color:var(--hx-cart-ink)!important;
  font-size:13px!important;
  font-weight:800!important;
}
.woocommerce-cart .tp-cart-coupon-input{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.woocommerce-cart .tp-cart-coupon-input input{
  width:min(280px,100%)!important;
  height:46px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid #dce4ec!important;
  border-radius:11px!important;
  background:#fff!important;
  color:var(--hx-cart-ink)!important;
  font-size:13px!important;
  box-shadow:none!important;
}
.woocommerce-cart .tp-cart-coupon-input button{
  min-width:105px!important;
  height:46px!important;
  padding:0 18px!important;
  border:1px solid var(--hx-cart-ink)!important;
  border-radius:11px!important;
  background:var(--hx-cart-ink)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:850!important;
}
.woocommerce-cart .tp-cart-update{
  flex:0 0 auto!important;
}
.woocommerce-cart .tp-cart-update-btn{
  min-height:46px!important;
  padding:0 20px!important;
  border:1px solid #d7e0e8!important;
  border-radius:11px!important;
  background:#eef2f5!important;
  color:var(--hx-cart-ink)!important;
  font-size:13px!important;
  font-weight:850!important;
}

/* Totals card */
.woocommerce-cart .tp-woo-cart-checkout,
.woocommerce-cart .tp-cart-checkout-wrapper{
  position:sticky!important;
  top:105px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.woocommerce-cart .tp-cart-checkout-wrapper .cart_totals{
  padding:22px!important;
  background:#fff!important;
  border:1px solid var(--hx-cart-border)!important;
  border-radius:20px!important;
  box-shadow:0 10px 30px rgba(15,39,66,.045)!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .cart_totals h2{
  margin:0 0 16px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid #e9eef3!important;
  color:var(--hx-cart-ink)!important;
  font-size:20px!important;
  line-height:1.4!important;
  font-weight:900!important;
}

.woocommerce-cart .tp-cart-checkout-wrapper .shop_table{
  width:100%!important;
  margin:0!important;
  border:0!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .shop_table th,
.woocommerce-cart .tp-cart-checkout-wrapper .shop_table td{
  padding:13px 0!important;
  border:0!important;
  border-bottom:1px solid #edf1f5!important;
  background:transparent!important;
  font-size:13px!important;
  line-height:1.6!important;
  vertical-align:top!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .shop_table th{
  width:38%!important;
  color:#667085!important;
  font-weight:750!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .shop_table td{
  color:var(--hx-cart-ink)!important;
  font-weight:750!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .cart-subtotal .woocommerce-Price-amount{
  color:var(--hx-cart-ink)!important;
  font-size:17px!important;
  font-weight:900!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .order-total th,
.woocommerce-cart .tp-cart-checkout-wrapper .order-total td{
  padding-top:18px!important;
  border-bottom:0!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .order-total .woocommerce-Price-amount{
  color:var(--hx-cart-ink)!important;
  font-size:25px!important;
  line-height:1.25!important;
  font-weight:950!important;
}

.woocommerce-cart .tp-cart-checkout-wrapper .woocommerce-shipping-methods{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .woocommerce-shipping-methods li{
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
  margin:0 0 8px!important;
  color:#475467!important;
  font-size:12px!important;
  line-height:1.55!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .woocommerce-shipping-destination{
  margin:10px 0!important;
  color:#667085!important;
  font-size:12px!important;
  line-height:1.65!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .shipping-calculator-button{
  display:inline-flex!important;
  margin-top:8px!important;
  color:#6f9f00!important;
  font-size:12px!important;
  font-weight:800!important;
  text-decoration:none!important;
}

/* Checkout CTA */
.woocommerce-cart .tp-cart-checkout-wrapper .wc-proceed-to-checkout{
  margin:18px 0 0!important;
  padding:0!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .checkout-button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:52px!important;
  margin:0!important;
  padding:0 18px!important;
  border:1px solid #84bd00!important;
  border-radius:13px!important;
  background:#84bd00!important;
  color:#102238!important;
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:900!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.woocommerce-cart .tp-cart-checkout-wrapper .checkout-button:hover{
  background:#94cc10!important;
  border-color:#94cc10!important;
  color:#102238!important;
}

/* Keep typography calm and consistent */
.woocommerce-cart .tp-woo-cart-table,
.woocommerce-cart .tp-cart-checkout-wrapper{
  font-family:inherit!important;
  letter-spacing:0!important;
}

/* Tablet */
@media(max-width:1199px){
  .woocommerce-cart .tp-woo-cart-table{
    margin-bottom:22px!important;
  }
  .woocommerce-cart .tp-woo-cart-checkout,
  .woocommerce-cart .tp-cart-checkout-wrapper{
    position:static!important;
  }
}

/* Mobile */
@media(max-width:767px){
  .woocommerce-cart .tp-woo-cart-table{
    padding:12px!important;
  }
  .woocommerce-cart .tp-woo-cart-table-list{
    overflow-x:auto!important;
  }
  .woocommerce-cart .tp-woo-cart-table table{
    min-width:780px!important;
  }
  .woocommerce-cart .tp-woo-cart-coupon{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .woocommerce-cart .tp-cart-coupon-input{
    align-items:stretch!important;
  }
  .woocommerce-cart .tp-cart-coupon-input input{
    min-width:0!important;
    flex:1 1 auto!important;
  }
  .woocommerce-cart .tp-cart-update,
  .woocommerce-cart .tp-cart-update-btn{
    width:100%!important;
  }
  .woocommerce-cart .tp-cart-checkout-wrapper .cart_totals{
    padding:18px!important;
  }
}


/* Shared page surfaces */
.woocommerce-cart .tp-page-area,
.woocommerce-checkout .tp-page-area,
.woocommerce-account .tp-page-area,
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content,
.woocommerce-account .site-content{
  background:#f6f8fb!important;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce{
  color:#344054;
}

.woocommerce-cart h1,.woocommerce-cart h2,.woocommerce-cart h3,
.woocommerce-checkout h1,.woocommerce-checkout h2,.woocommerce-checkout h3,
.woocommerce-account h1,.woocommerce-account h2,.woocommerce-account h3{
  color:#0f2742!important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
  border:1px solid #e1e7ee!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#344054!important;
  padding:16px 18px!important;
  box-shadow:0 4px 16px rgba(15,39,66,.035);
}
.woocommerce-message{border-inline-start:4px solid #84bd00!important}
.woocommerce-info{border-inline-start:4px solid #0f2742!important}
.woocommerce-error{border-inline-start:4px solid #c43737!important}

/* Cart */
.woocommerce-cart-form{
  background:#fff!important;
  border:1px solid #e1e7ee!important;
  border-radius:18px!important;
  padding:20px!important;
  overflow:hidden;
  box-shadow:0 6px 22px rgba(15,39,66,.035);
}
.woocommerce-cart-form table.shop_table{
  width:100%!important;
  border:0!important;
  margin:0!important;
}
.woocommerce-cart-form table.shop_table th{
  background:#f7f9fc!important;
  color:#0f2742!important;
  font-size:13px!important;
  font-weight:800!important;
  border:0!important;
  padding:14px!important;
}
.woocommerce-cart-form table.shop_table td{
  padding:16px 14px!important;
  border-color:#edf1f5!important;
  vertical-align:middle!important;
}
.woocommerce-cart-form .product-thumbnail img{
  width:82px!important;
  height:82px!important;
  object-fit:contain!important;
  background:#fff;
  border:1px solid #edf1f5;
  border-radius:12px!important;
  padding:6px;
}
.woocommerce-cart-form .product-name a{
  color:#0f2742!important;
  font-weight:750!important;
  text-decoration:none!important;
}
.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal{
  color:#0f2742!important;
  font-weight:850!important;
}
.woocommerce-cart-form .quantity .qty{
  min-width:74px!important;
  height:44px!important;
  border:1px solid #dce4ec!important;
  border-radius:10px!important;
  text-align:center;
}
.woocommerce-cart-form .coupon{
  display:flex!important;
  flex-wrap:wrap;
  gap:8px;
}
.woocommerce-cart-form .coupon input{
  min-width:220px;
  min-height:44px!important;
}
.woocommerce-cart-form button[name="update_cart"],
.woocommerce-cart-form .coupon button{
  min-height:44px!important;
  border-radius:10px!important;
  font-weight:800!important;
}

.cart_totals{
  background:#fff!important;
  border:1px solid #e1e7ee!important;
  border-radius:18px!important;
  padding:22px!important;
  box-shadow:0 6px 22px rgba(15,39,66,.035);
}
.cart_totals h2{
  margin:0 0 18px!important;
  font-size:24px!important;
  font-weight:850!important;
}
.cart_totals table{
  border:0!important;
}
.cart_totals th,
.cart_totals td{
  padding:13px 0!important;
  border-color:#edf1f5!important;
}
.cart_totals .order-total .woocommerce-Price-amount{
  color:#0f2742!important;
  font-size:22px!important;
  font-weight:900!important;
}
.wc-proceed-to-checkout a.checkout-button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:50px!important;
  border-radius:12px!important;
  background:#84bd00!important;
  color:#102238!important;
  font-weight:900!important;
  font-size:15px!important;
}
.wc-proceed-to-checkout a.checkout-button:hover{
  background:#94cc10!important;
  color:#102238!important;
}

/* Checkout */
.woocommerce-checkout form.checkout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:24px;
  align-items:start;
}
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading{
  min-width:0;
}
.woocommerce-checkout #customer_details{
  background:#fff;
  border:1px solid #e1e7ee;
  border-radius:18px;
  padding:24px;
  box-shadow:0 6px 22px rgba(15,39,66,.035);
}
.woocommerce-checkout #order_review{
  background:#fff;
  border:1px solid #e1e7ee;
  border-radius:18px;
  padding:22px;
  box-shadow:0 6px 22px rgba(15,39,66,.035);
  position:sticky;
  top:110px;
}
.woocommerce-checkout #order_review_heading{
  color:#0f2742!important;
  font-size:24px!important;
  font-weight:850!important;
  margin:0 0 14px!important;
}
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3{
  font-size:22px!important;
  font-weight:850!important;
  margin-bottom:18px!important;
}
.woocommerce-checkout .form-row{
  margin-bottom:14px!important;
}
.woocommerce-checkout .form-row label{
  color:#344054!important;
  font-size:13px!important;
  font-weight:750!important;
  margin-bottom:6px!important;
}
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection{
  min-height:46px!important;
  border:1px solid #dce4ec!important;
  border-radius:11px!important;
  background:#fff!important;
}
.woocommerce-checkout textarea{min-height:110px!important}
.woocommerce-checkout .select2-selection{
  display:flex!important;
  align-items:center!important;
}
.woocommerce-checkout-review-order-table{
  border:0!important;
  margin-bottom:18px!important;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td{
  padding:12px 0!important;
  border-color:#edf1f5!important;
}
.woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount{
  color:#0f2742!important;
  font-size:21px!important;
  font-weight:900!important;
}
.woocommerce-checkout #payment{
  background:#f7f9fc!important;
  border:1px solid #e5ebf1!important;
  border-radius:14px!important;
  padding:14px!important;
}
.woocommerce-checkout #payment ul.payment_methods{
  border:0!important;
  padding:0!important;
}
.woocommerce-checkout #payment .payment_box{
  background:#fff!important;
  border:1px solid #e5ebf1!important;
  border-radius:10px!important;
}
.woocommerce-checkout #place_order{
  width:100%!important;
  min-height:50px!important;
  border-radius:11px!important;
  background:#84bd00!important;
  color:#102238!important;
  font-size:15px!important;
  font-weight:900!important;
}

/* Account / login */
.woocommerce-account .woocommerce{
  max-width:1180px;
  margin-inline:auto;
}
.woocommerce-account .woocommerce-MyAccount-navigation{
  background:#fff!important;
  border:1px solid #e1e7ee!important;
  border-radius:18px!important;
  padding:14px!important;
  box-shadow:0 6px 22px rgba(15,39,66,.035);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li{
  margin:0 0 6px!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a{
  display:block!important;
  min-height:42px;
  padding:10px 12px!important;
  border-radius:10px!important;
  color:#475467!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{
  background:#0f2742!important;
  color:#fff!important;
}
.woocommerce-account .woocommerce-MyAccount-content{
  background:#fff!important;
  border:1px solid #e1e7ee!important;
  border-radius:18px!important;
  padding:24px!important;
  box-shadow:0 6px 22px rgba(15,39,66,.035);
}

.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-form-login,
.woocommerce-form-register{
  background:#fff!important;
  border:1px solid #e1e7ee!important;
  border-radius:18px!important;
  padding:24px!important;
  box-shadow:0 6px 22px rgba(15,39,66,.035);
}
.woocommerce-account form label{
  color:#344054!important;
  font-size:13px!important;
  font-weight:750!important;
}
.woocommerce-account form input.input-text{
  min-height:46px!important;
  border:1px solid #dce4ec!important;
  border-radius:11px!important;
}
.woocommerce-account form button{
  min-height:46px!important;
  border-radius:11px!important;
  background:#0f2742!important;
  color:#fff!important;
  font-weight:850!important;
}

/* Responsive */
@media(max-width:991px){
  .woocommerce-checkout form.checkout{
    grid-template-columns:1fr;
  }
  .woocommerce-checkout #order_review{
    position:static;
  }
}
@media(max-width:767px){
  .woocommerce-cart-form{
    padding:12px!important;
    overflow-x:auto;
  }
  .woocommerce-cart-form table.shop_table{
    min-width:680px;
  }
  .cart_totals{padding:18px!important}
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review,
  .woocommerce-account .woocommerce-MyAccount-content{
    padding:18px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation{
    margin-bottom:16px;
  }
}
