.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-31 .elementor-element.elementor-element-3c13dae7{width:100%;max-width:100%;}.elementor-31 .elementor-element.elementor-element-3c13dae7 p{margin-block-end:0px;}/* Start custom CSS for text-editor, class: .elementor-element-3c13dae7 *//* ===== TRANG GIỎ HÀNG ===== */

/* Nền tổng */
.woocommerce-cart .site-content {
  background: #FEF8EC !important;
  padding: 32px 0 !important;
}

/* Tiêu đề */
.woocommerce-cart h1.page-title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #1B3872 !important;
  padding-left: 14px !important;
  position: relative !important;
  margin-bottom: 24px !important;
}
.woocommerce-cart h1.page-title::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important; top: 4px !important; bottom: 4px !important;
  width: 4px !important;
  background: #9A0A0A !important;
  border-radius: 2px !important;
}

/* Bảng sản phẩm */
.woocommerce-cart table.shop_table {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 2px 16px rgba(27,56,114,0.07) !important;
}

.woocommerce-cart table.shop_table thead tr {
  background: #1B3872 !important;
}
.woocommerce-cart table.shop_table thead th {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  border: none !important;
}

.woocommerce-cart table.shop_table tbody tr {
  border-bottom: 1px solid #f0e8d8 !important;
  transition: background 0.15s !important;
}
.woocommerce-cart table.shop_table tbody tr:hover {
  background: #FEF8EC !important;
}
.woocommerce-cart table.shop_table tbody td {
  padding: 14px 16px !important;
  border: none !important;
  vertical-align: middle !important;
  font-size: 13px !important;
  color: #333 !important;
}

/* Tên sản phẩm */
.woocommerce-cart table .product-name a {
  color: #1B3872 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 14px !important;
}
.woocommerce-cart table .product-name a:hover {
  color: #9A0A0A !important;
}

/* Giá */
.woocommerce-cart table .product-price,
.woocommerce-cart table .product-subtotal {
  color: #9A0A0A !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

/* Nút xoá */
.woocommerce-cart table .product-remove a {
  color: #ccc !important;
  font-size: 18px !important;
  transition: color 0.15s !important;
}
.woocommerce-cart table .product-remove a:hover {
  color: #9A0A0A !important;
}

/* Input mã giảm giá */
.woocommerce-cart .coupon input[type="text"] {
  border: 1.5px solid #e0d4c0 !important;
  border-radius: 8px 0 0 8px !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  outline: none !important;
  width: 200px !important;
}
.woocommerce-cart .coupon input:focus {
  border-color: #1B3872 !important;
}

/* Tất cả nút — đổi vàng → navy */
.woocommerce-cart .button,
.woocommerce-cart button[type="submit"] {
  background: #1B3872 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
}
.woocommerce-cart .button:hover,
.woocommerce-cart button[type="submit"]:hover {
  background: #9A0A0A !important;
  color: #fff !important;
}

/* Box tổng tiền */
.woocommerce-cart .cart_totals {
  background: #fff !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 0 2px 16px rgba(27,56,114,0.07) !important;
}
.woocommerce-cart .cart_totals h2 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #1B3872 !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #f0e8d8 !important;
}
.woocommerce-cart .cart_totals table {
  width: 100% !important;
  border: none !important;
}
.woocommerce-cart .cart_totals table th {
  font-size: 13px !important;
  color: #888 !important;
  font-weight: 500 !important;
  padding: 8px 0 !important;
}
.woocommerce-cart .cart_totals table td {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #9A0A0A !important;
  text-align: right !important;
}

/* Nút thanh toán */
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  background: #9A0A0A !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  padding: 14px !important;
  width: 100% !important;
  text-align: center !important;
  display: block !important;
  text-decoration: none !important;
  transition: background 0.15s !important;
  margin-top: 16px !important;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background: #7a0808 !important;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .woocommerce-cart table.shop_table thead {
    display: none !important;
  }
  .woocommerce-cart table.shop_table tbody td {
    display: block !important;
    text-align: right !important;
    padding: 8px 16px !important;
  }
  .woocommerce-cart table.shop_table tbody td::before {
    content: attr(data-title) ": " !important;
    float: left !important;
    font-weight: 600 !important;
    color: #888 !important;
  }
}
/* ==========================================
   FIX NÚT QUAY TRỞ LẠI CỬA HÀNG (GIỎ HÀNG)
   ========================================== */

/* 1. Ẩn thẻ <br> gây lỗi rớt chữ xuống dưới */
p.return-to-shop a.button.wc-backward br {
    display: none !important;
}

/* 2. Ép in hoa và định hình lại form nút cho cân đối */
p.return-to-shop a.button.wc-backward {
    text-transform: uppercase !important; /* Ép in hoa toàn bộ */
    display: inline-flex !important;      /* Dùng flex để ép form thẳng thớm */
    align-items: center !important;       /* Căn chữ chuẩn giữa chiều dọc */
    justify-content: center !important;   /* Căn chữ chuẩn giữa chiều ngang */
    padding: 12px 25px !important;        /* Căn chỉnh lại khoảng cách trên dưới trái phải */
    font-weight: bold !important;         /* Cho chữ đậm lên nhìn khỏe khoắn hơn */
    line-height: normal !important;       /* Trả lại chiều cao dòng chuẩn */
}
/* ==========================================
   FIX LỖI NÚT THANH TOÁN PHÌNH TO & XÓA THẺ <br>
   ========================================== */

/* 1. Tàng hình thẻ <br> gián điệp */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button br {
    display: none !important;
}

/* 2. Ép form nút căng đét, in hoa và căn giữa */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;             
    justify-content: center !important;   
    align-items: center !important;       
    width: 100% !important;               
    text-transform: uppercase !important; 
    padding: 15px 20px !important;        
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    min-height: 50px !important;          
    transition: all 0.3s ease !important;
}

/* 3. Hiệu ứng nảy nhẹ khi hover */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-3px) !important; 
    opacity: 0.9 !important;
}/* End custom CSS */