.elementor-14 .elementor-element.elementor-element-510713d8{--display:flex;--padding-top:50px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-14 .elementor-element.elementor-element-da42a0d{--sections-title-color:#000000;--forms-fields-normal-color:#000000;}.elementor-14 .elementor-element.elementor-element-da42a0d .cart_totals h2{font-family:"Noto Sans Thai", Sans-serif;}.elementor-14 .elementor-element.elementor-element-da42a0d .e-cart-content, .elementor-14 .elementor-element.elementor-element-da42a0d .woocommerce-shipping-destination, .elementor-14 .elementor-element.elementor-element-da42a0d .shipping-calculator-button{font-family:"Noto Sans Thai", Sans-serif;}.elementor-14 .elementor-element.elementor-element-da42a0d .coupon .input-text, .elementor-14 .elementor-element.elementor-element-da42a0d .cart-collaterals .input-text, .elementor-14 .elementor-element.elementor-element-da42a0d select, .elementor-14 .elementor-element.elementor-element-da42a0d .select2-selection--single{font-family:"Noto Sans Thai", Sans-serif;}.e-woo-select2-wrapper .select2-results__option{color:#000000;}.elementor-14 .elementor-element.elementor-element-da42a0d .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#000000 transparent transparent transparent;}.elementor-14 .elementor-element.elementor-element-da42a0d .e-shop-table .cart th, .elementor-14 .elementor-element.elementor-element-da42a0d .e-shop-table .cart td:before{font-family:"Noto Sans Thai", Sans-serif;}.elementor-14 .elementor-element.elementor-element-da42a0d .cart td span, .elementor-14 .elementor-element.elementor-element-da42a0d .cart td, .elementor-14 .elementor-element.elementor-element-da42a0d .input-text.qty{font-family:"Noto Sans Thai", Sans-serif;}.elementor-14 .elementor-element.elementor-element-da42a0d .cart_totals .shop_table td:before, .elementor-14 .elementor-element.elementor-element-da42a0d .cart_totals .shop_table td .woocommerce-Price-amount{font-family:"Noto Sans Thai", Sans-serif;}.elementor-14 .elementor-element.elementor-element-da42a0d .checkout-button{font-family:"Noto Sans Thai", Sans-serif;}@media(min-width:768px){.elementor-14 .elementor-element.elementor-element-510713d8{--content-width:1320px;}}@media(max-width:1024px){.elementor-14 .elementor-element.elementor-element-510713d8{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}@media(max-width:767px){.elementor-14 .elementor-element.elementor-element-510713d8{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-14 .elementor-element.elementor-element-da42a0d > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-14 .elementor-element.elementor-element-da42a0d .cart_totals h2{font-size:14px;}.elementor-14 .elementor-element.elementor-element-da42a0d .coupon .input-text, .elementor-14 .elementor-element.elementor-element-da42a0d .cart-collaterals .input-text, .elementor-14 .elementor-element.elementor-element-da42a0d select, .elementor-14 .elementor-element.elementor-element-da42a0d .select2-selection--single{font-size:14px;}}/* Start custom CSS for woocommerce-cart, class: .elementor-element-da42a0d */.elementor-14 .elementor-element.elementor-element-da42a0d{
    /* ===== Cart Page Custom Style ===== */

/* พื้นหลังรวม */
.woocommerce-cart .e-cart-wrapper,
.woocommerce-cart {
  background: #f5f5f2;
  padding: 40px 0;
}

/* การ์ดตาราง cart (ฝั่งซ้าย) */
table.woocommerce-cart-form,
.woocommerce-cart-form {
  background: #ffffff;
  border-radius: 16px;
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 24px;
  overflow: hidden;
}

table.woocommerce-cart-form thead th {
  border: none;
  color: #6b6b6b;
  font-weight: 500;
  font-size: 14px;
  padding-bottom: 16px;
}

table.woocommerce-cart-form td {
  border: none;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  padding: 16px 8px;
}

table.woocommerce-cart-form tr:last-child td {
  border-bottom: none;
}

/* รูปสินค้า */
.woocommerce-cart-form .product-thumbnail img {
  border-radius: 10px;
  width: 72px;
  height: 72px;
  object-fit: cover;
}

/* ชื่อสินค้า */
.woocommerce-cart-form .product-name a {
  color: #1f2d22;
  font-weight: 600;
  text-decoration: none;
}

.woocommerce-cart-form .product-name .variation,
.woocommerce-cart-form .product-name dl {
  color: #8a8a8a;
  font-size: 13px;
}

/* ปุ่มลบสินค้า (x) */
.woocommerce-cart-form .product-remove a.remove {
  background: transparent !important;
  color: #bbb !important;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  line-height: 24px;
  font-size: 14px;
}
.woocommerce-cart-form .product-remove a.remove:hover {
  background: #f2f2f2 !important;
  color: #333 !important;
}

/* ช่องจำนวน (quantity) แบบ pill พร้อม +/- ถ้าธีมรองรับ */
.woocommerce-cart-form .quantity {
  display: inline-flex;
  align-items: center;
  background: #f4f4f2;
  border-radius: 999px;
  padding: 4px 8px;
  border: none;
}

.woocommerce-cart-form .quantity input.qty {
  border: none;
  background: transparent;
  width: 36px;
  text-align: center;
  font-weight: 600;
  color: #1f2d22;
}

.woocommerce-cart-form .quantity .qty-button,
.woocommerce-cart-form .quantity .plus,
.woocommerce-cart-form .quantity .minus {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  font-weight: 700;
  color: #1f2d22;
}

/* ปุ่ม Update cart */
.woocommerce-cart-form button[name="update_cart"] {
  background: #fff;
  border: 1px solid #d8d8d8;
  color: #1f2d22;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 600;
}
.woocommerce-cart-form button[name="update_cart"]:hover {
  background: #f2f2f2;
}

/* ===== Cart Totals (ฝั่งขวา) ===== */
.cart-collaterals .cart_totals,
.woocommerce-cart .cart_totals {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 24px;
}

.cart_totals h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2d22;
  margin-bottom: 16px;
}

.cart_totals table.shop_table {
  border: none;
}

.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
  border: none;
  padding: 10px 0;
  color: #555;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
  border-top: 1px solid #eee;
  font-weight: 700;
  font-size: 18px;
  color: #1f2d22;
  padding-top: 16px;
}

.cart_totals .shipping .amount {
  color: #2f6b3f;
  font-weight: 600;
}

/* ปุ่ม checkout สีเขียวเข้ม เต็มความกว้าง มุมโค้งมน */
.wc-proceed-to-checkout a.checkout-button,
.cart_totals a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  background: #1f3d2b;
  color: #fff !important;
  border-radius: 999px;
  padding: 16px 0;
  font-weight: 700;
  font-size: 16px;
  margin-top: 16px;
  transition: background 0.2s;
}
.wc-proceed-to-checkout a.checkout-button:hover {
  background: #16301f;
}

/* Coupon box */
.woocommerce-cart-form .coupon {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.woocommerce-cart-form .coupon input#coupon_code {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 16px;
  flex: 1;
}
.woocommerce-cart-form .coupon button[name="apply_coupon"] {
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  padding: 12px 24px;
  font-weight: 600;
}

/* ===== Mobile Cart (Responsive Card Layout) - v2 ===== */
@media (max-width: 768px) {

  .woocommerce-cart-form table.shop_table,
  .woocommerce-cart-form table.shop_table tbody {
    display: block;
    width: 100%;
  }

  .woocommerce-cart-form table.shop_table thead {
    display: none;
  }

  /* การ์ดแต่ละแถวสินค้า */
  .woocommerce-cart-form table.shop_table tr {
    display: block;
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 20px 16px 16px;
    margin-bottom: 16px;
    border: none;
  }

  .woocommerce-cart-form table.shop_table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
  }

  .woocommerce-cart-form table.shop_table td:last-child {
    border-bottom: none;
  }

  /* label อัตโนมัติจาก data-title */
  .woocommerce-cart-form table.shop_table td::before {
    content: attr(data-title) ":";
    font-weight: 600;
    color: #1f2d22;
    text-align: left;
    flex: 1;
  }

  .woocommerce-cart-form table.shop_table td {
    color: #1f2d22;
  }

  /* ----- ปุ่มลบ (x): ลอยมุมขวาบนของการ์ด ----- */
  .woocommerce-cart-form table.shop_table td.product-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    padding: 0;
    border: none;
    display: block;
  }
  .woocommerce-cart-form td.product-remove::before {
    content: none; /* ไม่ให้มี label เลย */
  }
  .woocommerce-cart-form td.product-remove a.remove {
    background: #fff !important;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    color: #999 !important;
    font-size: 14px;
    display: block;
  }

  /* ----- รูปสินค้า: ไม่มี label, จัดกึ่งกลาง, ขนาดพอดี ----- */
  .woocommerce-cart-form td.product-thumbnail {
    display: flex;
    justify-content: center;
    padding: 0 0 16px;
    border-bottom: none;
  }
  .woocommerce-cart-form td.product-thumbnail::before {
    content: none; /* ตัด ":" ลอยๆ ทิ้ง */
  }
  .woocommerce-cart-form td.product-thumbnail img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
  }

  /* ----- ชื่อสินค้า ----- */
  .woocommerce-cart-form td.product-name {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-top: 4px;
  }
  .woocommerce-cart-form td.product-name::before {
    margin-bottom: 6px;
  }
  .woocommerce-cart-form td.product-name a {
    color: #2f8fd6;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
  }
  .woocommerce-cart-form td.product-name dl.variation {
    font-size: 13px;
    color: #8a8a8a;
    margin-top: 6px;
    display: flex;
    gap: 6px;
  }
  .woocommerce-cart-form td.product-name dl.variation dt,
  .woocommerce-cart-form td.product-name dl.variation dd {
    margin: 0;
  }

  /* ----- ราคา / ยอดรวม ----- */
  .woocommerce-cart-form td.product-price,
  .woocommerce-cart-form td.product-subtotal {
    font-weight: 700;
    font-size: 16px;
  }

  /* ----- จำนวน: pill สีเทาอ่อน ----- */
  .woocommerce-cart-form td.product-quantity {
    justify-content: space-between;
  }
  .woocommerce-cart-form td.product-quantity .quantity {
    background: #f4f4f2;
    border-radius: 999px;
    padding: 6px 18px;
    display: inline-block;
  }
  .woocommerce-cart-form td.product-quantity input.qty {
    border: none;
    background: transparent;
    width: 30px;
    text-align: center;
    font-weight: 700;
    color: #1f2d22;
  }

  /* ----- ปุ่ม Update Cart ----- */
  .woocommerce-cart-form button[name="update_cart"] {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 12px 0;
    font-weight: 600;
    margin-top: 8px;
  }
}/* End custom CSS */