/* YHN 3.9.55.75 — context split from legacy yhn-site.css; selector declarations unchanged. */
   13) CART + CHECKOUT PAGE - FINAL ONE BLOCK
   Final sạch:
   - Desktop cart 2 cột thoáng
   - Mobile hiện: đơn giá + số lượng + tạm tính
   - Không trùng giá
   - Summary / coupon gọn sạch
   ========================================================= */

/* ===== NỀN CHUNG ===== */
body.woocommerce-cart #main,
body.woocommerce-checkout #main{
  background: #fffdfd;
}

body.woocommerce-cart #content.content-area.page-wrapper,
body.woocommerce-checkout #content.content-area.page-wrapper{
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 18px 16px 34px !important;
}

body.woocommerce-cart .row.row-main > .large-12.col > .col-inner,
body.woocommerce-checkout .row.row-main > .large-12.col > .col-inner,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce{
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   CART PAGE - DESKTOP
   ========================================================= */

body.woocommerce-cart .woocommerce > .row.row-large.row-divided{
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .woocommerce > .row.row-large.row-divided > .large-7.col{
  flex: 0 0 72% !important;
  max-width: 72% !important;
  width: 72% !important;
  padding: 0 !important;
}

body.woocommerce-cart .woocommerce > .row.row-large.row-divided > .large-5.col,
body.woocommerce-cart .woocommerce > .row.row-large.row-divided > .cart-collaterals{
  flex: 0 0 28% !important;
  max-width: 28% !important;
  width: 28% !important;
  padding: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals{
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .woocommerce-cart-form .cart-wrapper,
body.woocommerce-cart .cart-sidebar{
  background: linear-gradient(180deg, #fffefe 0%, #fffafb 100%);
  border: 1px solid #f1e5eb;
  border-radius: 22px;
  box-shadow:
    0 12px 30px rgba(30,20,30,.05),
    0 1px 0 rgba(255,255,255,.96) inset;
}

/* ===== bảng sản phẩm desktop ===== */
body.woocommerce-cart .woocommerce-cart-form .cart-wrapper{
  padding: 0 !important;
  overflow: hidden !important;
}

body.woocommerce-cart table.shop_table.cart{
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

body.woocommerce-cart table.shop_table.cart thead th{
  padding: 18px !important;
  background: #fff8fb !important;
  color: #4c4650 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .25px !important;
  border-bottom: 1px solid #f1e5eb !important;
}

body.woocommerce-cart table.shop_table.cart tbody td{
  padding: 20px 18px !important;
  border-bottom: 1px solid #f4eaf0 !important;
  vertical-align: middle !important;
  background: transparent !important;
}

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

body.woocommerce-cart table.shop_table.cart td.product-thumbnail img{
  width: 78px !important;
  border-radius: 14px !important;
}

body.woocommerce-cart table.shop_table.cart td.product-remove a.remove{
  width: 28px !important;
  height: 28px !important;
  line-height: 26px !important;
  border-radius: 999px !important;
  border: 1px solid #f3d7e5 !important;
  color: #fe259a !important;
  background: #fff !important;
}

body.woocommerce-cart table.shop_table.cart td.product-name{
  padding-right: 24px !important;
}

body.woocommerce-cart table.shop_table.cart td.product-name a{
  color: #d94b93 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.woocommerce-cart table.shop_table.cart td.product-price,
body.woocommerce-cart table.shop_table.cart td.product-subtotal{
  color: #4c4650 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body.woocommerce-cart table.shop_table.cart th.product-subtotal,
body.woocommerce-cart table.shop_table.cart td.product-subtotal{
  width: 138px !important;
  min-width: 138px !important;
  padding-right: 20px !important;
}

body.woocommerce-cart table.shop_table.cart .quantity input.qty{
  height: 42px !important;
  min-width: 54px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

body.woocommerce-cart table.shop_table.cart td.actions{
  padding: 18px !important;
  background: transparent !important;
  border: 0 !important;
}

body.woocommerce-cart .actions .button[name="update_cart"]{
  display: none !important;
}

body.woocommerce-cart .button-continue-shopping{
  min-height: 48px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
}

/* =========================================================
   CART SIDEBAR DESKTOP - FIX SHIPPING TABLE VỠ LAYOUT
   THAY THẲNG BLOCK CŨ BẰNG BLOCK NÀY
   ========================================================= */

body.woocommerce-cart .cart-sidebar{
  padding: 20px !important;
  background: #fffdfd !important;
}

body.woocommerce-cart .cart_totals{
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .cart_totals > h2{
  margin: 0 0 16px !important;
  padding: 15px 18px !important;
  background: #fff8fb !important;
  border: 1px solid #f1e5eb !important;
  border-radius: 18px !important;
  color: #2f2f36 !important;
  font-size: 24px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .cart_totals > table.shop_table{
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid #f1e5eb !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #fff !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

/* Chỉ style cell cấp 1 của bảng totals chính */
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr > th,
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr > td{
  padding: 15px 16px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  border-bottom: 1px solid #f3e9ef !important;
  vertical-align: top !important;
}

body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr > th{
  width: 44% !important;
  background: #fff8fb !important;
  color: #4c4650 !important;
  font-weight: 700 !important;
  text-align: left !important;
}

body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr > td{
  color: #4c4650 !important;
  font-weight: 700 !important;
}

/* Chỉ hàng thường mới căn phải + nowrap */
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr:not(.woocommerce-shipping-totals) > td{
  text-align: right !important;
  white-space: nowrap !important;
}

/* Tổng */
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.order-total > td,
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.order-total .amount{
  color: #d94b93 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

/* ===== SHIPPING ROW: reset hoàn toàn ===== */
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner{
  padding: 0 !important;
  text-align: left !important;
  white-space: normal !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table{
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: auto !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table th,
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table td{
  border: 0 !important;
  box-shadow: none !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  padding: 14px 16px !important;
  vertical-align: top !important;
}

body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table th{
  width: 92px !important;
  min-width: 92px !important;
  background: #fff8fb !important;
  color: #4c4650 !important;
  font-weight: 700 !important;
  text-align: left !important;
}

body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table td{
  background: transparent !important;
  color: #4c4650 !important;
  font-weight: 700 !important;
  text-align: left !important;
}

body.woocommerce-cart .cart_totals .shipping__list{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.woocommerce-cart .cart_totals .shipping__list_item{
  margin: 0 0 6px !important;
  padding: 0 !important;
}

body.woocommerce-cart .cart_totals .shipping__list_label{
  display: inline-block !important;
  color: #7a7078 !important;
  font-weight: 600 !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination{
  margin: 6px 0 0 !important;
  color: #4c4650 !important;
  line-height: 1.6 !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination strong{
  color: #2f2f36 !important;
  font-weight: 700 !important;
}

/* Coupon + button */
body.woocommerce-cart .wc-proceed-to-checkout{
  margin: 18px 0 14px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .checkout-button,
body.woocommerce-cart .checkout-button.button,
body.woocommerce-cart .checkout-button.button.alt,
body.woocommerce-cart a.checkout-button{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border: 1px solid #fe259a !important;
  background: linear-gradient(135deg, #fe259a 0%, #ff5aae 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .3px !important;
}

body.woocommerce-cart .ux-cart-coupon,
body.woocommerce-cart .cart-sidebar .coupon{
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px dashed #edd9e4 !important;
  background: transparent !important;
}

body.woocommerce-cart .ux-cart-coupon .widget-title{
  margin-bottom: 12px !important;
  color: #2f2f36 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .ux-cart-coupon .input-text{
  min-height: 46px !important;
  margin-bottom: 12px !important;
  border-radius: 14px !important;
  border: 1px solid #eadfe6 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.woocommerce-cart .ux-cart-coupon .button{
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 14px !important;
}

/* ===== MOBILE ===== */
@media (max-width: 849px){
  body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table,
  body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table tbody,
  body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table tr,
  body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table th,
  body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table td{
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table th{
    min-width: 0 !important;
    padding-bottom: 8px !important;
  }

  body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table td{
    padding-top: 0 !important;
  }
}

body.woocommerce-cart .cart_totals .order-total td,
body.woocommerce-cart .cart_totals .order-total .amount{
  color: #d94b93 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout{
  margin: 18px 0 14px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .checkout-button,
body.woocommerce-cart .checkout-button.button,
body.woocommerce-cart .checkout-button.button.alt,
body.woocommerce-cart a.checkout-button{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border: 1px solid #fe259a !important;
  background: linear-gradient(135deg, #fe259a 0%, #ff5aae 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .3px !important;
}

body.woocommerce-cart .ux-cart-coupon,
body.woocommerce-cart .cart-sidebar .coupon{
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px dashed #edd9e4 !important;
  background: transparent !important;
}

body.woocommerce-cart .ux-cart-coupon .widget-title{
  margin-bottom: 12px !important;
  color: #2f2f36 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .ux-cart-coupon .input-text{
  min-height: 46px !important;
  margin-bottom: 12px !important;
  border-radius: 14px !important;
  border: 1px solid #eadfe6 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.woocommerce-cart .ux-cart-coupon .button{
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 14px !important;
}

/* =========================================================
   CART PAGE - MOBILE
   ========================================================= */

@media (max-width: 849px){

  body.woocommerce-cart #content.content-area.page-wrapper,
  body.woocommerce-checkout #content.content-area.page-wrapper{
    padding: 10px 12px 22px !important;
  }

  body.woocommerce-cart .woocommerce > .row.row-large.row-divided{
    display: block !important;
    gap: 0 !important;
  }

  body.woocommerce-cart .woocommerce > .row.row-large.row-divided > .large-7.col,
  body.woocommerce-cart .woocommerce > .row.row-large.row-divided > .large-5.col,
  body.woocommerce-cart .woocommerce > .row.row-large.row-divided > .cart-collaterals{
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    clear: both !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form .cart-wrapper,
  body.woocommerce-cart .cart-sidebar{
    border-radius: 22px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form .cart-wrapper{
    padding-bottom: 12px !important;
  }

  body.woocommerce-cart table.shop_table.cart{
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.woocommerce-cart table.shop_table.cart thead{
    display: none !important;
  }

  body.woocommerce-cart table.shop_table.cart tbody{
    display: block !important;
  }

  body.woocommerce-cart table.shop_table.cart td::before,
  body.woocommerce-cart table.shop_table.cart td[data-title]::before{
    content: none !important;
    display: none !important;
  }

  body.woocommerce-cart table.shop_table.cart tr.cart_item{
    display: grid !important;
    grid-template-columns: 34px 78px minmax(0,1fr) !important;
    grid-template-areas:
      "remove thumb name"
      ". thumb price"
      ". thumb qty"
      ". thumb subtotal" !important;
    gap: 8px 12px !important;
    align-items: start !important;
    padding: 18px 16px !important;
    margin: 0 0 14px !important;
    background: #fffdfd !important;
    border: 1px solid #f0dfe8 !important;
    border-radius: 22px !important;
  }

  body.woocommerce-cart table.shop_table.cart tr.cart_item td{
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.woocommerce-cart td.product-remove{ grid-area: remove !important; padding-top: 6px !important; }
  body.woocommerce-cart td.product-thumbnail{ grid-area: thumb !important; }
  body.woocommerce-cart td.product-name{ grid-area: name !important; }
  body.woocommerce-cart td.product-price{ grid-area: price !important; }
  body.woocommerce-cart td.product-quantity{ grid-area: qty !important; }
  body.woocommerce-cart td.product-subtotal{ grid-area: subtotal !important; }

  body.woocommerce-cart td.product-remove a.remove{
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    line-height: 26px !important;
  }

  body.woocommerce-cart td.product-thumbnail img{
    width: 78px !important;
    height: 78px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }

  body.woocommerce-cart td.product-name{
    text-align: left !important;
  }

  body.woocommerce-cart td.product-name a{
    display: block !important;
    width: 100% !important;
    color: #d94b93 !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
    margin-bottom: 2px !important;
  }

  body.woocommerce-cart td.product-name .mobile-product-price{
    display: none !important;
  }

  body.woocommerce-cart td.product-price{
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    color: #4c4650 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  body.woocommerce-cart td.product-price .amount{
    color: #fe259a !important;
    font-weight: 800 !important;
  }

  body.woocommerce-cart td.product-quantity{
    margin-top: 2px !important;
    margin-bottom: 6px !important;
    text-align: left !important;
    justify-self: start !important;
  }

  body.woocommerce-cart td.product-quantity .ux-quantity,
  body.woocommerce-cart td.product-quantity .quantity{
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    overflow: hidden !important;
  }

  body.woocommerce-cart td.product-quantity input.qty{
    width: 52px !important;
    min-width: 52px !important;
    height: 42px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  body.woocommerce-cart td.product-subtotal{
    margin-top: 0 !important;
    color: #fe259a !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  body.woocommerce-cart td.product-subtotal .amount{
    color: #fe259a !important;
    font-size: 15px !important;
    font-weight: 800 !important;
  }

  body.woocommerce-cart tr:last-child td.actions{
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin-top: 2px !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.woocommerce-cart .continue-shopping{
    width: 100% !important;
    margin: 0 !important;
  }

  body.woocommerce-cart .button-continue-shopping{
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 999px !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
  }

  body.woocommerce-cart .cart-sidebar{
    padding: 20px 16px !important;
    background: #fffdfd !important;
  }

  body.woocommerce-cart .cart_totals{
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.woocommerce-cart .cart_totals > h2{
    margin: 0 0 10px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #2f2f36 !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table{
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid #f1e3ea !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table th,
  body.woocommerce-cart .cart_totals table.shop_table td{
    padding: 14px 16px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table th{
    width: 44% !important;
  }

  body.woocommerce-cart .cart_totals .order-total td,
  body.woocommerce-cart .cart_totals .order-total .amount{
    font-size: 18px !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout{
    margin: 16px 0 14px !important;
    padding: 0 !important;
  }

  body.woocommerce-cart .checkout-button,
  body.woocommerce-cart .checkout-button.button,
  body.woocommerce-cart .checkout-button.button.alt,
  body.woocommerce-cart a.checkout-button{
    min-height: 52px !important;
    font-size: 14px !important;
  }

  body.woocommerce-cart .ux-cart-coupon,
  body.woocommerce-cart .cart-sidebar .coupon{
    margin-top: 16px !important;
    padding-top: 16px !important;
  }

  body.woocommerce-cart .ux-cart-coupon .widget-title{
    font-size: 16px !important;
    margin-bottom: 12px !important;
  }

  body.woocommerce-cart .ux-cart-coupon .input-text,
  body.woocommerce-cart .ux-cart-coupon .button{
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-cart{
    padding-bottom: 20px !important;
  }

  .hotline-phone-ring-wrap,
  .hotline-phone-ring,
  .hotline-bar,
  .phone-ring{
    z-index: 20 !important;
  }
}

/* =========================================================
   CHECKOUT PAGE
   ========================================================= */

body.woocommerce-checkout .woocommerce > .row.row-large.row-divided{
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout #customer_details{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin-bottom: 0 !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout .col-2,
body.woocommerce-checkout #order_review{
  background: linear-gradient(180deg, #fffefe 0%, #fffafb 100%);
  border: 1px solid #f1e5eb !important;
  border-radius: 22px !important;
  box-shadow:
    0 12px 30px rgba(30,20,30,.05),
    0 1px 0 rgba(255,255,255,.96) inset;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout .col-2{
  padding: 22px 20px !important;
}

body.woocommerce-checkout #order_review{
  margin-top: 20px !important;
  padding: 20px !important;
}

body.woocommerce-checkout #order_review_heading{
  margin: 0 0 12px !important;
  color: #2f2f36 !important;
  font-size: 24px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout #customer_details h3{
  margin: 0 0 14px !important;
  color: #2f2f36 !important;
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout .form-row{
  margin-bottom: 12px !important;
}

body.woocommerce-checkout .input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea{
  min-height: 44px !important;
  border-radius: 14px !important;
  border: 1px solid #eadfe6 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
}

body.woocommerce-checkout textarea{
  min-height: 110px !important;
  padding-top: 12px !important;
}

body.woocommerce-checkout table.shop_table{
  border: 1px solid #f1e5eb !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #fff !important;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td{
  padding: 12px 14px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.woocommerce-checkout table.shop_table th{
  background: #fff8fb !important;
  color: #4c4650 !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout #payment{
  margin-top: 16px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid #f1e5eb !important;
  background: #fff !important;
}

body.woocommerce-checkout #place_order{
  min-height: 50px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #fe259a 0%, #ff5aae 100%) !important;
  border: 1px solid #fe259a !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .3px !important;
}

@media (max-width: 849px){
  body.woocommerce-checkout form.checkout{
    display: block !important;
  }

  body.woocommerce-checkout #customer_details{
    display: block !important;
  }

  body.woocommerce-checkout #customer_details .col-1,
  body.woocommerce-checkout .col-2,
  body.woocommerce-checkout #order_review{
    padding: 16px 14px !important;
    border-radius: 16px !important;
    margin-bottom: 14px !important;
  }

  body.woocommerce-checkout #customer_details h3,
  body.woocommerce-checkout #order_review_heading{
    font-size: 19px !important;
    margin-bottom: 12px !important;
  }

  body.woocommerce-checkout table.shop_table th,
  body.woocommerce-checkout table.shop_table td{
    padding: 11px 12px !important;
    font-size: 13px !important;
  }

  body.woocommerce-checkout .input-text,
  body.woocommerce-checkout select,
  body.woocommerce-checkout textarea{
    min-height: 42px !important;
    font-size: 13.5px !important;
  }

  body.woocommerce-checkout #place_order{
    min-height: 46px !important;
    font-size: 13.5px !important;
  }
}


/* =========================================================
   CART SHIPPING - FIX CUỐI CÙNG CHO DESKTOP
   DÁN Ở CUỐI CÙNG CUSTOM CSS
   ========================================================= */

body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner{
  padding: 0 !important;
  white-space: normal !important;
  text-align: left !important;
  background: transparent !important;
}

/* ép bảng shipping trong sidebar thành layout dọc */
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table,
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table tbody,
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table tr,
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table th,
body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table td{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table{
  border: 0 !important;
  border-radius: 0 !important;
  border-collapse: collapse !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
}

body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table th{
  padding: 12px 14px 6px !important;
  background: #fff8fb !important;
  color: #4c4650 !important;
  font-weight: 700 !important;
  text-align: left !important;
  border: 0 !important;
}

body.woocommerce-cart .cart_totals > table.shop_table > tbody > tr.woocommerce-shipping-totals > td.shipping__inner .shipping__table td{
  padding: 0 14px 14px !important;
  background: transparent !important;
  color: #4c4650 !important;
  font-weight: 700 !important;
  text-align: left !important;
  border: 0 !important;
}

body.woocommerce-cart .cart_totals .shipping__list{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.woocommerce-cart .cart_totals .shipping__list_item{
  margin: 0 0 6px !important;
  padding: 0 !important;
}

body.woocommerce-cart .cart_totals .shipping__list_label{
  display: block !important;
  color: #7a7078 !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination{
  display: block !important;
  margin: 8px 0 0 !important;
  color: #4c4650 !important;
  line-height: 1.65 !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination strong{
  color: #2f2f36 !important;
  font-weight: 700 !important;
}


/* =========================================================
