/*
 * Tata Garden – Cart & Checkout v1.0.0
 * File: assets/css/cart-checkout.css
 */

/* ============================================================
   SHARED
============================================================ */
.tg-cart .tg-container,
.tg-checkout .tg-container {
  max-width: var(--tg-max-w, 1320px);
  margin-inline: auto;
  padding-inline: 32px;
  width: 100%;
  box-sizing: border-box;
}

/* ============================================================
   CART
============================================================ */
.tg-cart {
  background: #fff;
  min-height: 60vh;
  padding: 40px 0 72px;
}

.tg-cart__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(20,102,83,.08);
}

.tg-cart__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--tg-font-main);
  font-size: 26px; font-weight: 800;
  color: var(--tg-charcoal); letter-spacing: -.025em;
  margin: 0;
}
.tg-cart__title svg { width: 24px; height: 24px; color: var(--tg-main); }

.tg-cart__count {
  font-size: 12px; font-weight: 600;
  color: var(--tg-main);
  background: rgba(20,102,83,.08);
  border: 1.5px solid rgba(20,102,83,.18);
  padding: 4px 12px; border-radius: 100px;
}

/* Empty cart */
.tg-cart__empty {
  text-align: center;
  padding: 80px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.tg-cart__empty svg { width: 64px; height: 64px; color: rgba(20,102,83,.2); margin-bottom: 8px; }
.tg-cart__empty h2 { font-family: var(--tg-font-main); font-size: 22px; font-weight: 700; color: var(--tg-charcoal); margin: 0; }
.tg-cart__empty p { font-size: 14px; color: #6b7b74; margin: 0; }
.tg-cart__btn-shop {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px;
  background: var(--tg-main); color: #fff;
  font-family: var(--tg-font-main); font-size: 14px; font-weight: 700;
  text-decoration: none; margin-top: 8px;
  transition: all .2s ease;
}
.tg-cart__btn-shop:hover { background: #0d4a3b; transform: translateY(-2px); }
.tg-cart__btn-shop svg { width: 16px; height: 16px; }

/* Body layout */
.tg-cart__body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* ── Cart table ── */
.tg-cart__items { min-width: 0; }

.tg-cart-table { display: flex; flex-direction: column; gap: 0; }

.tg-cart-table__head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: 16px;
  padding: 10px 16px;
  background: rgba(20,102,83,.04);
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--tg-main);
  margin-bottom: 8px;
}

.tg-cart-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(20,102,83,.07);
  transition: background .18s ease;
}
.tg-cart-row:hover { background: rgba(20,102,83,.02); }
.tg-cart-row:last-child { border-bottom: none; }

.tg-cart-row__product { display: flex; gap: 14px; align-items: center; min-width: 0; }
.tg-cart-row__img {
  width: 72px; height: 72px; flex-shrink: 0;
  background: #f5f3ee; border-radius: 10px;
  overflow: hidden; border: 1.5px solid rgba(20,102,83,.08);
}
.tg-cart-row__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tg-cart-row__img a { display: block; width: 100%; height: 100%; }

.tg-cart-row__info { min-width: 0; }
.tg-cart-row__name { font-size: 13px; font-weight: 600; color: var(--tg-charcoal); line-height: 1.4; margin-bottom: 4px; }
.tg-cart-row__name a { color: inherit; text-decoration: none; }
.tg-cart-row__name a:hover { color: var(--tg-main); }
.tg-cart-row__sku { font-size: 11px; color: #9ca3af; }

.tg-cart-row__price .woocommerce-Price-amount,
.tg-cart-row__subtotal .woocommerce-Price-amount {
  font-size: 14px !important; font-weight: 700 !important; color: var(--tg-main) !important;
}
.tg-cart-row__subtotal .woocommerce-Price-amount { font-size: 15px !important; }

/* Qty input */
.tg-cart-row__qty .quantity { display: flex; align-items: center; }
.tg-cart-row__qty .qty {
  width: 52px !important; height: 40px !important;
  border: 1.5px solid rgba(20,102,83,.2) !important; border-radius: 8px !important;
  text-align: center !important; font-size: 14px !important; font-weight: 600 !important;
  color: var(--tg-charcoal) !important; background: #fff !important;
  outline: none !important; padding: 0 !important;
}
.tg-cart-row__qty .qty:focus { border-color: var(--tg-main) !important; box-shadow: 0 0 0 3px rgba(20,102,83,.1) !important; }

/* Remove */
.tg-cart-remove {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  color: #9ca3af;
  text-decoration: none;
  transition: all .18s ease;
}
.tg-cart-remove:hover { background: #fef2f2; color: #e53935; }
.tg-cart-remove svg { width: 16px; height: 16px; }

/* Cart actions */
.tg-cart__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  flex-wrap: wrap;
}

.tg-cart__coupon { display: flex; gap: 8px; align-items: center; }
.tg-cart__coupon-input {
  padding: 10px 14px;
  border: 1.5px solid rgba(20,102,83,.2);
  border-radius: 10px;
  font-family: var(--tg-font-main); font-size: 13px; color: var(--tg-charcoal);
  outline: none; background: #fff; width: 200px;
  transition: border-color .18s ease;
}
.tg-cart__coupon-input:focus { border-color: var(--tg-main); box-shadow: 0 0 0 3px rgba(20,102,83,.1); }
.tg-cart__coupon-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px;
  background: rgba(20,102,83,.08); color: var(--tg-main);
  border: 1.5px solid rgba(20,102,83,.18);
  font-family: var(--tg-font-main); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .18s ease;
}
.tg-cart__coupon-btn:hover { background: var(--tg-main); color: #fff; border-color: var(--tg-main); }
.tg-cart__coupon-btn svg { width: 14px; height: 14px; }

.tg-cart__update { display: flex; gap: 12px; align-items: center; }
.tg-cart__btn-continue {
  font-size: 13px; color: #6b7b74; text-decoration: none;
  transition: color .18s ease; font-weight: 500;
}
.tg-cart__btn-continue:hover { color: var(--tg-main); }
.tg-cart__btn-update {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 10px;
  background: #fff; color: var(--tg-charcoal);
  border: 1.5px solid rgba(20,102,83,.2);
  font-family: var(--tg-font-main); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .18s ease;
}
.tg-cart__btn-update:hover { border-color: var(--tg-main); color: var(--tg-main); }
.tg-cart__btn-update svg { width: 14px; height: 14px; }

/* ── Cart summary ── */
.tg-cart__summary { min-width: 0; }
.tg-cart__summary-sticky {
  position: sticky;
  top: calc(var(--tg-header-h, 68px) + var(--tg-topbar-h, 36px) + 20px);
  background: #fff;
  border: 1.5px solid rgba(20,102,83,.1);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(13,74,59,.07);
}

.tg-cart__summary-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--tg-font-main); font-size: 17px; font-weight: 800;
  color: var(--tg-charcoal); letter-spacing: -.02em;
  margin: 0 0 20px; padding-bottom: 16px;
  border-bottom: 2px solid rgba(20,102,83,.08);
}
.tg-cart__summary-title svg { width: 18px; height: 18px; color: var(--tg-main); }

.tg-cart__totals { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.tg-cart__totals-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(20,102,83,.06);
  font-size: 14px; color: #4b5563;
}
.tg-cart__totals-row:last-child { border-bottom: none; }
.tg-cart__totals-row .woocommerce-Price-amount { font-size: 14px !important; color: var(--tg-charcoal) !important; font-weight: 600 !important; }
.tg-cart__totals-row--coupon { color: var(--tg-main); }
.tg-cart__totals-row--coupon .tg-cart__totals-discount { color: #e53935; font-weight: 700; }
.tg-cart__totals-row--total {
  padding: 16px 0 0;
  font-size: 16px; font-weight: 800; color: var(--tg-charcoal);
  border-top: 2px solid rgba(20,102,83,.1);
  margin-top: 8px;
}
.tg-cart__totals-row--total .woocommerce-Price-amount {
  font-size: 20px !important; font-weight: 800 !important; color: var(--tg-main) !important;
}
.tg-cart__remove-coupon {
  margin-left: 6px; color: #9ca3af; text-decoration: none;
  font-size: 12px; transition: color .18s;
}
.tg-cart__remove-coupon:hover { color: #e53935; }

.tg-cart__btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 24px; border-radius: 12px;
  background: var(--tg-main); color: #fff;
  font-family: var(--tg-font-main); font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all .2s ease;
  margin-bottom: 20px;
}
.tg-cart__btn-checkout:hover { background: #0d4a3b; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,74,59,.3); color: #fff; }
.tg-cart__btn-checkout svg { width: 16px; height: 16px; }

.tg-cart__trust { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1.5px solid rgba(20,102,83,.07); }
.tg-cart__trust-item { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #6b7b74; }
.tg-cart__trust-item svg { width: 14px; height: 14px; color: var(--tg-main); flex-shrink: 0; }


/* ============================================================
   CHECKOUT
============================================================ */
.tg-checkout {
  background: #fff;
  min-height: 60vh;
  padding: 40px 0 80px;
}

.tg-checkout__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px; padding-bottom: 20px;
  border-bottom: 2px solid rgba(20,102,83,.08);
  flex-wrap: wrap; gap: 12px;
}

.tg-checkout__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--tg-font-main); font-size: 26px; font-weight: 800;
  color: var(--tg-charcoal); letter-spacing: -.025em; margin: 0;
}
.tg-checkout__title svg { width: 24px; height: 24px; color: var(--tg-main); }

.tg-checkout__steps {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
}
.tg-checkout__step a { color: #6b7b74; text-decoration: none; transition: color .18s; }
.tg-checkout__step a:hover { color: var(--tg-main); }
.tg-checkout__step--active { color: var(--tg-main); font-weight: 700; }
.tg-checkout__step--next { color: #d1d5db; }
.tg-checkout__steps svg { color: #d1d5db; }

/* Body */
.tg-checkout__body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* ── Main (left) ── */
.tg-checkout__main { min-width: 0; display: flex; flex-direction: column; gap: 28px; }

.tg-checkout__section {
  background: #fff;
  border: 1.5px solid rgba(20,102,83,.1);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(13,74,59,.04);
}

.tg-checkout__section-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--tg-font-main); font-size: 17px; font-weight: 800;
  color: var(--tg-charcoal); letter-spacing: -.02em;
  margin: 0 0 24px; padding-bottom: 16px;
  border-bottom: 2px solid rgba(20,102,83,.08);
}
.tg-checkout__section-title svg { width: 18px; height: 18px; color: var(--tg-main); flex-shrink: 0; }

/* WooCommerce form fields override */
.tg-checkout .woocommerce-input-wrapper { display: block !important; }

.tg-checkout .form-row { margin-bottom: 16px !important; }

.tg-checkout .form-row label {
  font-size: 13px !important; font-weight: 600 !important;
  color: var(--tg-charcoal) !important; display: block !important; margin-bottom: 6px !important;
}

.tg-checkout .form-row input[type="text"],
.tg-checkout .form-row input[type="email"],
.tg-checkout .form-row input[type="tel"],
.tg-checkout .form-row input[type="number"],
.tg-checkout .form-row input[type="password"],
.tg-checkout .form-row select,
.tg-checkout .form-row textarea {
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1.5px solid rgba(20,102,83,.2) !important;
  border-radius: 10px !important;
  font-family: var(--tg-font-main) !important; font-size: 14px !important;
  color: var(--tg-charcoal) !important; background: #fff !important;
  outline: none !important; transition: border-color .18s ease !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
}
.tg-checkout .form-row input:focus,
.tg-checkout .form-row select:focus,
.tg-checkout .form-row textarea:focus {
  border-color: var(--tg-main) !important;
  box-shadow: 0 0 0 3px rgba(20,102,83,.1) !important;
}

.tg-checkout .form-row.woocommerce-invalid input,
.tg-checkout .form-row.woocommerce-invalid select {
  border-color: #e53935 !important;
}

/* 2-cột form fields */
.tg-checkout .col2-set { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
.tg-checkout .col2-set .col-1,
.tg-checkout .col2-set .col-2 { padding: 0 !important; float: none !important; width: 100% !important; }

/* Checkbox */
.tg-checkout .form-row input[type="checkbox"] {
  width: auto !important; padding: 0 !important; border: none !important;
  box-shadow: none !important; margin-right: 6px !important;
  accent-color: var(--tg-main) !important;
}

/* Ship to different address */
.tg-checkout #ship-to-different-address {
  display: flex !important; align-items: center !important;
  gap: 8px !important; cursor: pointer !important;
  font-size: 13px !important; font-weight: 600 !important;
  color: var(--tg-main) !important; margin-bottom: 16px !important;
}

/* Payment methods */
.tg-checkout__payment-wrap .woocommerce-checkout-payment {
  background: none !important;
  border: none !important; padding: 0 !important;
}
.tg-checkout .payment_methods { list-style: none !important; margin: 0 0 20px !important; padding: 0 !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
.tg-checkout .payment_methods li {
  background: #f9fafb !important;
  border: 1.5px solid rgba(20,102,83,.1) !important;
  border-radius: 12px !important; padding: 14px 18px !important;
  transition: border-color .18s ease !important;
}
.tg-checkout .payment_methods li:has(input:checked) {
  border-color: var(--tg-main) !important;
  background: rgba(20,102,83,.04) !important;
}
.tg-checkout .payment_methods li label {
  display: flex !important; align-items: center !important; gap: 10px !important;
  cursor: pointer !important; font-size: 14px !important; font-weight: 600 !important;
  color: var(--tg-charcoal) !important; margin: 0 !important;
}
.tg-checkout .payment_methods li input[type="radio"] {
  accent-color: var(--tg-main) !important; width: 16px !important; height: 16px !important;
  flex-shrink: 0 !important;
}
.tg-checkout .payment_box {
  margin-top: 12px !important; padding-top: 12px !important;
  border-top: 1px solid rgba(20,102,83,.08) !important;
  font-size: 13px !important; color: #6b7b74 !important;
}

/* Place order button */
.tg-checkout #place_order {
  display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  width: 100% !important; padding: 16px 24px !important; border-radius: 12px !important;
  background: var(--tg-main) !important; color: #fff !important;
  font-family: var(--tg-font-main) !important; font-size: 15px !important; font-weight: 700 !important;
  border: none !important; cursor: pointer !important; transition: all .2s ease !important;
  letter-spacing: -.01em !important;
}
.tg-checkout #place_order:hover { background: #0d4a3b !important; box-shadow: 0 6px 20px rgba(13,74,59,.3) !important; }

/* Terms */
.tg-checkout .woocommerce-terms-and-conditions-wrapper {
  font-size: 12px !important; color: #6b7b74 !important; margin-bottom: 16px !important;
}
.tg-checkout .woocommerce-terms-and-conditions-wrapper a { color: var(--tg-main) !important; }

/* ── Sidebar (right) ── */
.tg-checkout__sidebar { min-width: 0; }
.tg-checkout__sidebar-sticky {
  position: sticky;
  top: calc(var(--tg-header-h, 68px) + var(--tg-topbar-h, 36px) + 20px);
  background: #fff;
  border: 1.5px solid rgba(20,102,83,.1);
  border-radius: 18px; padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(13,74,59,.07);
}

.tg-checkout__summary-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--tg-font-main); font-size: 17px; font-weight: 800;
  color: var(--tg-charcoal); letter-spacing: -.02em;
  margin: 0 0 20px; padding-bottom: 16px;
  border-bottom: 2px solid rgba(20,102,83,.08);
}
.tg-checkout__summary-title svg { width: 18px; height: 18px; color: var(--tg-main); }

/* Order review table */
.tg-checkout__order-review table.shop_table {
  width: 100% !important; border-collapse: collapse !important;
  font-size: 13px !important;
}
.tg-checkout__order-review .cart_item td,
.tg-checkout__order-review tfoot tr td,
.tg-checkout__order-review tfoot tr th {
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(20,102,83,.07) !important;
  vertical-align: middle !important;
}
.tg-checkout__order-review tfoot tr:last-child td,
.tg-checkout__order-review tfoot tr:last-child th { border-bottom: none !important; }
.tg-checkout__order-review .product-name { font-weight: 600 !important; color: var(--tg-charcoal) !important; }
.tg-checkout__order-review .product-total .woocommerce-Price-amount { color: var(--tg-main) !important; font-weight: 700 !important; }
.tg-checkout__order-review tfoot .order-total td,
.tg-checkout__order-review tfoot .order-total th {
  font-size: 16px !important; font-weight: 800 !important;
  color: var(--tg-charcoal) !important; border-top: 2px solid rgba(20,102,83,.1) !important;
  padding-top: 14px !important; border-bottom: none !important;
}
.tg-checkout__order-review tfoot .order-total .woocommerce-Price-amount {
  font-size: 18px !important; color: var(--tg-main) !important;
}

/* Trust */
.tg-checkout__trust { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1.5px solid rgba(20,102,83,.07); }
.tg-checkout__trust-item { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #6b7b74; }
.tg-checkout__trust-item svg { width: 14px; height: 14px; color: var(--tg-main); flex-shrink: 0; }


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .tg-cart__body,
  .tg-checkout__body { grid-template-columns: 1fr; }
  .tg-cart__summary-sticky,
  .tg-checkout__sidebar-sticky { position: static; }
  .tg-cart-table__head { display: none; }
  .tg-cart-row {
    grid-template-columns: 1fr;
    gap: 8px; padding: 16px 0;
  }
  .tg-cart-row__price::before { content: attr(data-label) ': '; font-weight: 600; color: var(--tg-charcoal); }
  .tg-cart-row__qty::before  { content: attr(data-label) ': '; font-weight: 600; color: var(--tg-charcoal); }
  .tg-cart-row__subtotal::before { content: attr(data-label) ': '; font-weight: 600; color: var(--tg-charcoal); }
  .tg-checkout .col2-set { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .tg-cart .tg-container,
  .tg-checkout .tg-container { padding-inline: 20px; }
  .tg-cart { padding: 28px 0 48px; }
  .tg-checkout { padding: 28px 0 48px; }
  .tg-cart__actions { flex-direction: column; align-items: flex-start; }
  .tg-cart__coupon { width: 100%; }
  .tg-cart__coupon-input { flex: 1; }
  .tg-checkout__header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CHECKOUT FORM — override toàn bộ WooCommerce defaults
============================================================ */

/* Ẩn label "optional" */
.tg-checkout .optional { color: #9ca3af !important; font-weight: 400 !important; font-size: 11px !important; }

/* Required star */
.tg-checkout .required { color: #e53935 !important; }

/* Form row spacing */
.tg-checkout .woocommerce-billing-fields__field-wrapper,
.tg-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 20px !important;
}

/* Full width fields */
.tg-checkout .form-row-wide,
.tg-checkout #billing_address_1_field,
.tg-checkout #billing_address_2_field,
.tg-checkout #shipping_address_1_field,
.tg-checkout #shipping_address_2_field,
.tg-checkout #billing_phone_field,
.tg-checkout #billing_email_field,
.tg-checkout #order_comments_field {
  grid-column: 1 / -1 !important;
}

/* Input styling */
.tg-checkout p.form-row {
  margin: 0 0 16px !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
}

.tg-checkout .form-row label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 6px !important;
}

.tg-checkout .woocommerce-input-wrapper input,
.tg-checkout .woocommerce-input-wrapper select,
.tg-checkout .woocommerce-input-wrapper textarea {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1.5px solid rgba(20,102,83,.18) !important;
  border-radius: 10px !important;
  font-family: var(--tg-font-main) !important;
  font-size: 14px !important;
  color: var(--tg-charcoal) !important;
  background: #fff !important;
  outline: none !important;
  transition: border-color .18s ease, box-shadow .18s ease !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  height: auto !important;
  line-height: 1.5 !important;
}

.tg-checkout .woocommerce-input-wrapper input:focus,
.tg-checkout .woocommerce-input-wrapper select:focus,
.tg-checkout .woocommerce-input-wrapper textarea:focus {
  border-color: var(--tg-main) !important;
  box-shadow: 0 0 0 3px rgba(20,102,83,.1) !important;
}

.tg-checkout .woocommerce-input-wrapper input::placeholder,
.tg-checkout .woocommerce-input-wrapper textarea::placeholder {
  color: #9ca3af !important;
}

/* Select arrow */
.tg-checkout .woocommerce-input-wrapper select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23146653' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 40px !important;
}

/* Textarea order notes */
.tg-checkout #order_comments {
  min-height: 90px !important;
  resize: vertical !important;
}

/* Validation states */
.tg-checkout .form-row.woocommerce-validated .woocommerce-input-wrapper input {
  border-color: var(--tg-accent) !important;
}
.tg-checkout .form-row.woocommerce-invalid .woocommerce-input-wrapper input {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,.1) !important;
}
.tg-checkout .woocommerce-error,
.tg-checkout .form-row .woocommerce-error {
  color: #e53935 !important;
  font-size: 12px !important;
  margin-top: 4px !important;
}

/* Ship to different toggle */
.tg-checkout #ship-to-different-address label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--tg-charcoal) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 14px 0 !important;
}

/* Order comments section */
.tg-checkout .woocommerce-additional-fields {
  margin-top: 0 !important;
}
.tg-checkout .woocommerce-additional-fields h3 {
  font-family: var(--tg-font-main) !important;
  font-size: 17px !important; font-weight: 800 !important;
  color: var(--tg-charcoal) !important;
  margin: 0 0 20px !important; padding-bottom: 16px !important;
  border-bottom: 2px solid rgba(20,102,83,.08) !important;
}

/* Payment section tách biệt */
.tg-checkout__payment-wrap {
  margin-top: 0 !important;
}

.tg-checkout .wc_payment_method label img {
  max-height: 24px !important;
  width: auto !important;
  margin-left: auto !important;
}

/* Place order button lớn hơn */
.tg-checkout #place_order {
  margin-top: 4px !important;
  letter-spacing: .01em !important;
  font-size: 16px !important;
  padding: 18px 24px !important;
}