.elementor-50 .elementor-element.elementor-element-4ea9d570{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-6e9011da *//* ========= Woo: Order Summary / Totals Table (pretty + responsive) ========= */
.shop_table {
  /* ปรับธีมสีได้ตรงนี้ */
  --bg: #fff;
  --bg-alt: #FAFAFA;
  --border: #EDEDED;
  --text: #222;
  --muted: #666;
  --accent: #FFD800;      /* สีหลักที่คุณใช้ */
  --soft-bg: #FFF9EC;     /* พื้นหลังอ่อนตามที่เคยขอ */

  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;                 /* ให้ radius ทำงานในมือถือ */
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

/* พื้นหลังอ่อนทั้งบล็อก (ถ้าชอบ) */
/* .shop_table { background: var(--soft-bg); } */

.shop_table th,
.shop_table td {
  padding: 14px 20px;               /* กันชิดซ้าย-ขวา */
  vertical-align: top;
  line-height: 1.55;
}

/* เส้นบางระหว่างแถว */
.shop_table tr + tr th,
.shop_table tr + tr td {
  border-top: 1px solid var(--border);
}

/* สลับสีแถว (เฉพาะ tbody) */
.shop_table tbody tr:nth-child(even) th,
.shop_table tbody tr:nth-child(even) td {
  background: var(--bg-alt);
}

/* จัดคอลัมน์: label ซ้าย, ค่า/ราคา ขวา */
.shop_table th { 
  text-align: left; 
  font-weight: 600;
  color: var(--text);
}
.shop_table td { 
  text-align: right; 
  color: var(--text);
}

/* สไตล์ตัวเลข/ราคาให้ชัด */
.shop_table .amount,
.shop_table .amount bdi {
  font-variant-numeric: tabular-nums;
  letter-spacing: .2px;
}

/* แถว Shipping: ทำรายการให้เรียบร้อย */
.shop_table .woocommerce-shipping-totals td {
  text-align: left; /* มีข้อความหลายบรรทัด จะอ่านง่ายกว่า */
  color: var(--muted);
}
.shop_table .woocommerce-shipping-methods {
  margin: 6px 0 8px;
  padding: 0;
  list-style: none;
}
.shop_table .woocommerce-shipping-methods li {
  display: flex; gap: 10px; align-items: center;
}
.shop_table .woocommerce-shipping-destination {
  margin: 4px 0 0; 
  font-size: .95rem; 
  color: var(--muted);
}

/* ไฮไลต์ Total ชัดเจน */
.shop_table .order-total th,
.shop_table .order-total td {
  background: #fff;
  border-top: 2px solid var(--accent);
}
.shop_table .order-total th {
  font-size: 1.05rem;
}
.shop_table .order-total td {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
}
.shop_table .order-total small {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  color: var(--muted);
}

/* มุมมนเฉพาะแถวบน/ล่าง (กันแตกกับ border-collapse) */
.shop_table tr:first-child th:first-child { border-top-left-radius: 14px; }
.shop_table tr:first-child td:last-child { border-top-right-radius: 14px; }
.shop_table tr:last-child th:first-child { border-bottom-left-radius: 14px; }
.shop_table tr:last-child td:last-child { border-bottom-right-radius: 14px; }

/* ========================== Responsive (<= 640px) ========================== */
@media (max-width: 640px) {
  /* ให้แต่ละแถวเป็นบล็อก แสดง Label แล้วตามด้วยค่า */
  .shop_table.shop_table_responsive tr {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shop_table th,
  .shop_table td {
    text-align: left;
    padding: 12px 16px;
  }

  /* ใช้ data-title ของ WooCommerce ให้เป็นหัวเรื่องบนมือถือ */
  .shop_table.shop_table_responsive td[data-title]::before {
    content: attr(data-title);
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--muted);
  }

  /* ตัวเลข/ราคารวม ให้อยู่บรรทัดตัวเองและเด่น */
  .shop_table .order-total td {
    font-size: 1.2rem;
    font-weight: 800;
  }

  /* ปรับ list shipping ให้เว้นห่างดี */
  .shop_table .woocommerce-shipping-methods li {
    align-items: flex-start;
  }
}

/* ===================== Optional: สไตล์ Hover/Focus เล็กน้อย ===================== */
.shop_table .woocommerce-shipping-methods input[type="radio"]:focus + label {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}/* End custom CSS */