
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main{
 padding:35px 0 80px;
}
.woocommerce-cart table.shop_table,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation{
 background:#fff;
 border:1px solid #e7e9ee;
 border-radius:20px;
 padding:24px;
 box-shadow:0 10px 30px rgba(15,23,42,.055);
}
.woocommerce-cart .cart-collaterals .cart_totals{
 background:#fff;
 border:1px solid #e7e9ee;
 border-radius:18px;
 padding:24px;
}
.woocommerce-cart .quantity input.qty{
 border:1px solid #e7e9ee;
 border-radius:10px;
 min-height:42px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
 border:1px solid #e1e5eb;
 border-radius:11px;
 min-height:48px;
 padding:10px 13px;
 background:#fff;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{
 list-style:none;
 margin:0;
 padding:0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li{
 margin-bottom:5px;
}
.woocommerce-account .woocommerce-MyAccount-navigation a{
 display:block;
 padding:12px 14px;
 border-radius:10px;
 color:#475467;
 font-weight:600;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
 background:#f3f5f8;
 color:#111827;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
 background:#111827;
 color:#fff;
}

/* LUNTHE cart layout */
.woocommerce-cart .lunthe-cart-page-grid{
 display:grid;
 grid-template-columns:minmax(0,1.65fr) minmax(320px,.75fr);
 gap:24px;
 align-items:start;
}
.woocommerce-cart .lunthe-cart-items-column,
.woocommerce-cart .lunthe-cart-summary-column{
 min-width:0;
}
.woocommerce-cart .lunthe-cart-card,
.woocommerce-cart .lunthe-cart-summary-card{
 background:#fff;
 border:1px solid #e4e7ec;
 border-radius:24px;
 padding:clamp(20px,3vw,30px);
 box-shadow:0 16px 44px rgba(15,23,42,.07);
}
.woocommerce-cart .lunthe-cart-summary-card{
 padding:26px;
 position:sticky;
 top:190px;
}
.woocommerce-cart .lunthe-cart-title{
 margin:0;
 font-size:clamp(22px,2.4vw,30px);
 letter-spacing:-.03em;
}
.woocommerce-cart .lunthe-cart-card-header{
 padding-bottom:20px;
 border-bottom:1px solid #edf0f3;
}
.woocommerce-cart .lunthe-cart-item{
 display:grid;
 grid-template-columns:112px minmax(0,1fr) auto 44px;
 gap:18px;
 align-items:center;
 padding:22px 0;
 border-bottom:1px solid #edf0f3;
}
.woocommerce-cart .lunthe-cart-item-image img{
 display:block;
 width:112px;
 height:112px;
 object-fit:cover;
 border-radius:14px;
 background:#f5f6f8;
}
.woocommerce-cart .lunthe-cart-item-name{
 margin:0 0 8px;
 font-size:17px;
 overflow-wrap:anywhere;
}
.woocommerce-cart .lunthe-cart-item-name a{
 color:#111827;
}
.woocommerce-cart .lunthe-cart-item-price{
 color:#667085;
 margin-bottom:12px;
}
.woocommerce-cart .lunthe-cart-item-subtotal{
 font-size:17px;
 font-weight:800;
 white-space:nowrap;
}
.woocommerce-cart .lunthe-cart-item-remove .remove{
 display:grid;
 place-items:center;
 width:44px;
 height:44px;
 border-radius:50%;
 background:#f2f4f7;
 color:#667085!important;
 font-size:22px;
 transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
.woocommerce-cart .lunthe-cart-item-remove .remove:hover{background:#fff1eb;color:#ff6b00!important;transform:scale(1.04)}
.woocommerce-cart .lunthe-cart-actions-bar{
 display:flex;
 justify-content:space-between;
 gap:16px;
 padding-top:20px;
}
.woocommerce-cart .lunthe-coupon-box{
 display:flex;
 gap:8px;
 flex:1;
 max-width:430px;
}
.woocommerce-cart .lunthe-coupon-box input{
 min-width:0;
 flex:1;
 border:1px solid #dfe3e8;
 border-radius:12px;
 padding:0 14px;
}
.woocommerce-cart .lunthe-cart-summary-card .cart_totals{
 width:100%;
 float:none;
}
.woocommerce-cart .lunthe-cart-summary-card .cart_totals h2{
 margin-top:0;
}
.woocommerce-cart .lunthe-cart-summary-card .checkout-button{
 width:100%;
 text-align:center;
 box-sizing:border-box;
}

/* Checkout structure lives in .lunthe-checkout-layout, not the outer form. */
.woocommerce-checkout form.checkout {
 display: block;
 margin: 0;
 padding: 0;
}
.woocommerce-checkout form.checkout::before,
.woocommerce-checkout form.checkout::after {
 display: none;
}
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
 min-width: 0;
}

/* Modern LUNTHE Checkout Layout & Cards */
.lunthe-checkout-layout {
 display: grid;
 grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.85fr);
 gap: 28px;
 align-items: start;
 width: 100%;
}
.lunthe-checkout-customer-col,
.lunthe-checkout-order-col {
 min-width: 0;
}
.lunthe-checkout-layout:not(:has(#customer_details)) {
 grid-template-columns: minmax(0, 1fr);
}
.lunthe-checkout-card,
.lunthe-checkout-order-card {
 background: #fff;
 border: 1px solid #e4e7ec;
 border-radius: 20px;
 padding: 26px;
 box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
 margin-bottom: 24px;
}
.lunthe-checkout-order-card {
 position: sticky;
 top: 190px;
}
.lunthe-checkout-section-title {
 font-size: 20px;
 font-weight: 700;
 margin: 0 0 18px;
 color: #111827;
}
.lunthe-checkout-review-table {
 width: 100%;
 margin-bottom: 20px;
 border-collapse: separate;
 border-spacing: 0;
}
.lunthe-checkout-review-table th,
.lunthe-checkout-review-table td {
 padding: 12px 14px;
 border-bottom: 1px solid #f1f5f9;
 vertical-align: middle;
}
.lunthe-checkout-review-table tfoot tr th {
 font-weight: 600;
 color: #475467;
}
.lunthe-checkout-review-table tfoot tr.order-total th,
.lunthe-checkout-review-table tfoot tr.order-total td {
 font-size: 18px;
 font-weight: 800;
 color: #111827;
 border-top: 2px solid #e2e8f0;
 border-bottom: none;
}
.lunthe-review-product-info {
 display: flex;
 align-items: center;
 gap: 8px;
 flex-wrap: wrap;
 overflow-wrap: anywhere;
}
.lunthe-review-product-title {
 font-weight: 600;
 color: #111827;
}
.lunthe-review-product-qty {
 color: #64748b;
 font-size: 13px;
}

@media(max-width:900px){
 .lunthe-checkout-layout,
 .woocommerce-cart .lunthe-cart-page-grid {
  grid-template-columns: 1fr;
 }
 .lunthe-checkout-order-card,
 .woocommerce-cart .lunthe-cart-summary-card {
  position: static;
 }
}

@media(max-width:480px){
 .woocommerce-checkout .woocommerce{
  padding:0;
 }
 .lunthe-checkout-card,
 .lunthe-checkout-order-card {
  padding: 16px;
  border-radius: 14px;
 }
 .lunthe-checkout-review-table th,
 .lunthe-checkout-review-table td {
   padding: 10px 8px;
  }
 .woocommerce-checkout #place_order{
  width:100%;
 }
}

@media(max-width:700px){
 .woocommerce-checkout .site-main{
  padding-bottom:calc(120px + env(safe-area-inset-bottom));
 }
 .woocommerce-checkout form .form-row,
 .woocommerce-checkout form .form-row input.input-text,
 .woocommerce-checkout form .form-row textarea,
 .woocommerce-checkout form .form-row select{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
 }
}

@media(max-width:620px){
 .woocommerce-cart .site-main{
  padding-bottom:calc(110px + env(safe-area-inset-bottom));
 }
 .woocommerce-cart .lunthe-cart-card,
 .woocommerce-cart .lunthe-cart-summary-card{
  padding:18px;
  border-radius:16px;
 }
 .woocommerce-cart .lunthe-cart-item{
   grid-template-columns:72px minmax(0,1fr) 36px;
   gap:10px;
   align-items:start;
  }
 .woocommerce-cart .lunthe-cart-item-image img{
   width:72px;
   height:72px;
 }
 .woocommerce-cart .lunthe-cart-item-subtotal{
  grid-column:2;
 }
 .woocommerce-cart .lunthe-cart-item-remove{
  grid-column:3;
  grid-row:1;
 }
 .woocommerce-cart .lunthe-cart-item-remove .remove{
  width:36px;
  height:36px;
 }
 .woocommerce-cart .lunthe-cart-actions-bar,
 .woocommerce-cart .lunthe-coupon-box{
  flex-direction:column;
  max-width:none;
 }
 .woocommerce-cart .lunthe-coupon-box input{
  min-height:46px;
 }
}
