

.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;
}

.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;
}

.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; }

.tg-cart__body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.tg-cart .woocommerce-cart-form table.cart {
  display: block; width: 100%; border: none; border-collapse: collapse;
}
.tg-cart .woocommerce-cart-form table.cart thead,
.tg-cart .woocommerce-cart-form table.cart tbody { display: block; width: 100%; }

.tg-cart .woocommerce-cart-form table.cart td,
.tg-cart .woocommerce-cart-form table.cart th {
  border: none !important;
  padding: 0 !important;
}

.tg-cart .woocommerce-cart-form table.cart tr { display: block; width: 100%; }

.tg-cart .woocommerce-cart-form table.cart thead tr,
.tg-cart .woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item {
  display: grid;
  grid-template-columns: 80px 2fr 1fr 1fr 1fr 40px;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.tg-cart .woocommerce-cart-form table.cart thead tr {
  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 .woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item {
  padding: 16px;
  border-bottom: 1px solid rgba(20,102,83,.07);
  transition: background .18s ease;
}
.tg-cart .woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item:hover { background: rgba(20,102,83,.02); }
.tg-cart .woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item:last-child { border-bottom: none; }

.tg-cart .product-thumbnail  { order: 1; }
.tg-cart .product-name       { order: 2; min-width: 0; }
.tg-cart .product-price      { order: 3; }
.tg-cart .product-quantity   { order: 4; }
.tg-cart .product-subtotal   { order: 5; }
.tg-cart .product-remove     { order: 6; }

.tg-cart tbody .product-thumbnail {
  width: 72px; height: 72px;
  background: #f5f3ee; border-radius: 10px;
  overflow: hidden; border: 1.5px solid rgba(20,102,83,.08);
}

.tg-cart tbody .product-thumbnail a {
  display: block; width: 100%; height: 100%;
}

.tg-cart .product-thumbnail img {
  width: 100% !important; height: 100% !important;
  max-width: 100% !important;
  object-fit: contain; display: block; box-shadow: none;
}

.tg-cart .product-name { font-size: 13px; font-weight: 600; color: var(--tg-charcoal); line-height: 1.4; }
.tg-cart .product-name a { color: inherit; text-decoration: none; }
.tg-cart .product-name a:hover { color: var(--tg-main); }

.tg-cart .product-price .woocommerce-Price-amount,
.tg-cart .product-subtotal .woocommerce-Price-amount {
  font-size: 14px !important; font-weight: 700 !important; color: var(--tg-main) !important;
}
.tg-cart .product-subtotal .woocommerce-Price-amount { font-size: 15px !important; }

.tg-cart .product-quantity .quantity { display: flex; align-items: center; }
.tg-cart .product-quantity .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 .product-quantity .qty:focus { border-color: var(--tg-main) !important; box-shadow: 0 0 0 3px rgba(20,102,83,.1) !important; }

.tg-cart .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 .tg-cart-remove:hover { background: #fef2f2; color: #e53935; }
.tg-cart .tg-cart-remove svg { width: 16px; height: 16px; }

.tg-cart .woocommerce-cart-form table.cart td.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px !important;
  margin-top: 20px;
  padding-top: 20px !important;
}

.tg-cart .coupon { display: flex; gap: 8px; align-items: center; order: 1; margin-right: auto; }
.tg-cart .coupon #coupon_code {
  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 #coupon_code:focus { border-color: var(--tg-main); box-shadow: 0 0 0 3px rgba(20,102,83,.1); }
.tg-cart .coupon button[name="apply_coupon"] {
  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 button[name="apply_coupon"]:hover { background: var(--tg-main); color: #fff; border-color: var(--tg-main); }

.tg-cart .tg-cart__btn-continue {
  order: 2;
  font-size: 13px; color: #6b7b74; text-decoration: none;
  transition: color .18s ease; font-weight: 500;
}
.tg-cart .tg-cart__btn-continue:hover { color: var(--tg-main); }
.tg-cart .woocommerce-cart-form table.cart td.actions button[name="update_cart"] {
  order: 3;
  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 .woocommerce-cart-form table.cart td.actions button[name="update_cart"]:hover { border-color: var(--tg-main); color: var(--tg-main); }

.tg-cart .cart-collaterals {
  min-width: 0; width: auto !important; float: none !important;
  align-self: stretch;
}
.tg-cart .cart-collaterals::before,
.tg-cart .cart-collaterals::after { content: none !important; display: none !important; }
.tg-cart .cart_totals {
  float: none !important;
  width: 100% !important;
  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 .cart_totals > h2:not(.tg-cart__summary-title) { display: none; }

.tg-cart .cart_totals table.shop_table { width: 100%; border: none; margin-bottom: 20px; }
.tg-cart .cart_totals table.shop_table tr {
  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 .cart_totals table.shop_table tr:last-child { border-bottom: none; }
.tg-cart .cart_totals table.shop_table th,
.tg-cart .cart_totals table.shop_table td { padding: 0; border: none; font-weight: inherit; text-align: left; }
.tg-cart .cart_totals .woocommerce-Price-amount { font-size: 14px !important; color: var(--tg-charcoal) !important; font-weight: 600 !important; }
.tg-cart .cart_totals tr.cart-discount { color: var(--tg-main); }
.tg-cart .cart_totals tr.order-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 .cart_totals tr.order-total .woocommerce-Price-amount {
  font-size: 20px !important; font-weight: 800 !important; color: var(--tg-main) !important;
}
.tg-cart .cart_totals .woocommerce-remove-coupon {
  margin-left: 6px; color: #9ca3af; text-decoration: none;
  font-size: 12px; transition: color .18s;
}
.tg-cart .cart_totals .woocommerce-remove-coupon:hover { color: #e53935; }
.tg-cart .wc-proceed-to-checkout { display: block; }

.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; }

.tg-checkout {
  background: #f5f4f0;
  min-height: 100vh;
  padding: 0 0 80px;
}

.tg-checkout > .tg-container {
  padding-top: 36px;
}

.tg-checkout__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1.5px solid rgba(20,102,83,.1);
  flex-wrap: wrap; gap: 12px;
}

.tg-checkout__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--tg-font-main); font-size: 24px; font-weight: 800;
  color: var(--tg-charcoal); letter-spacing: -.025em; margin: 0;
}
.tg-checkout__title svg { width: 22px; height: 22px; color: var(--tg-main); }

.tg-checkout__steps {
  display: flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1.5px solid rgba(20,102,83,.12);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  box-shadow: 0 1px 4px rgba(20,102,83,.07);
}
.tg-checkout__step { font-weight: 500; color: #9ca3af; }
.tg-checkout__step a { color: #9ca3af; 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;
  position: relative;
}
.tg-checkout__step--active::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tg-main);
  margin-right: 5px;
  vertical-align: middle;
}
.tg-checkout__step--next { color: #d1d5db; }
.tg-checkout__steps > svg { color: #d1d5db; width: 12px; height: 12px; flex-shrink: 0; }

.tg-checkout__login-wrap { margin-bottom: 20px; }

.tg-checkout form.checkout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

.tg-checkout__main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.tg-checkout__section {
  background: #fff;
  border: 1.5px solid rgba(20,102,83,.08);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 2px 16px rgba(13,74,59,.06);
}

.tg-checkout__section-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--tg-font-main); font-size: 16px; font-weight: 700;
  color: var(--tg-charcoal); letter-spacing: -.015em;
  margin: 0 0 20px; padding-bottom: 16px;
  border-bottom: 1.5px solid rgba(20,102,83,.08);
}
.tg-checkout__section-title svg {
  width: 16px; height: 16px; color: var(--tg-main); flex-shrink: 0;
  background: rgba(20,102,83,.1); padding: 4px; border-radius: 6px;
  box-sizing: content-box;
}

.tg-checkout .woocommerce-billing-fields > h3,
.tg-checkout .woocommerce-shipping-fields > h3 { display: none !important; }

.tg-checkout .woocommerce-input-wrapper { display: block !important; }
.tg-checkout .col2-set { display: block !important; }
.tg-checkout .col2-set .col-1,
.tg-checkout .col2-set .col-2 {
  padding: 0 !important; float: none !important; width: 100% !important; margin-bottom: 28px;
}
.tg-checkout .col2-set .col-2:last-child { margin-bottom: 0; }

.tg-checkout .woocommerce-billing-fields__field-wrapper,
.tg-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px 20px !important;
}

.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; }

.tg-checkout p.form-row {
  margin: 0 !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: .03em !important;
  text-transform: uppercase !important;
  display: block !important; margin-bottom: 6px !important;
}
.tg-checkout .optional { color: #9ca3af !important; font-weight: 400 !important; font-size: 11px !important; text-transform: none !important; }
.tg-checkout .required { color: #e53935 !important; }

.tg-checkout .woocommerce-input-wrapper input,
.tg-checkout .woocommerce-input-wrapper select,
.tg-checkout .woocommerce-input-wrapper textarea {
  width: 100% !important; height: 46px !important;
  padding: 0 14px !important;
  border: 1.5px solid rgba(0,0,0,.1) !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;
  line-height: 46px !important;
}
.tg-checkout .woocommerce-input-wrapper textarea {
  height: auto !important; line-height: 1.5 !important;
  padding: 12px 14px !important; min-height: 90px !important; resize: vertical !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; }

.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; cursor: pointer !important;
}

.tg-checkout .form-row input[type="checkbox"] {
  width: auto !important; height: auto !important; padding: 0 !important;
  border: none !important; box-shadow: none !important; margin-right: 6px !important;
  accent-color: var(--tg-main) !important;
}

.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; }

.tg-checkout #ship-to-different-address { display: flex !important; align-items: center !important; gap: 8px !important; margin-bottom: 16px !important; }
.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;
}

.tg-checkout .woocommerce-additional-fields { margin-top: 0 !important; }
.tg-checkout .woocommerce-additional-fields h3 {
  font-family: var(--tg-font-main) !important; font-size: 16px !important; font-weight: 700 !important;
  color: var(--tg-charcoal) !important; margin: 0 0 16px !important;
  padding-bottom: 14px !important; border-bottom: 1.5px solid rgba(20,102,83,.08) !important;
}
.tg-checkout #order_comments { min-height: 90px !important; }

.tg-checkout__payment-wrap .woocommerce-checkout-payment { background: none !important; border: none !important; padding: 0 !important; }
.tg-checkout__payment-wrap { margin-top: 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: 0 !important;
}
.tg-checkout .payment_methods li {
  background: none !important; border: none !important;
  border-bottom: 1px solid rgba(0,0,0,.07) !important;
  border-radius: 0 !important; padding: 14px 0 !important;
  cursor: pointer !important;
}
.tg-checkout .payment_methods li:last-child { border-bottom: none !important; }
.tg-checkout .payment_methods li:has(input:checked) > label {
  color: var(--tg-main) !important;
}
.tg-checkout .payment_methods li label {
  display: flex !important; align-items: center !important; gap: 12px !important;
  cursor: pointer !important; font-size: 14px !important; font-weight: 600 !important;
  color: var(--tg-charcoal) !important; margin: 0 !important;
  text-transform: none !important; letter-spacing: 0 !important;
  transition: color .18s !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 .wc_payment_method label img { max-height: 24px !important; width: auto !important; margin-left: auto !important; }
.tg-checkout .payment_box {
  margin: 8px 0 4px 28px !important; padding: 12px 16px !important;
  background: rgba(20,102,83,.04) !important; border-radius: 8px !important;
  border: none !important; font-size: 13px !important; color: #6b7b74 !important;
}

.tg-checkout .woocommerce-terms-and-conditions-wrapper {
  font-size: 12px !important; color: #6b7b74 !important;
  margin-bottom: 16px !important; line-height: 1.6 !important;
}
.tg-checkout .woocommerce-terms-and-conditions-wrapper a { color: var(--tg-main) !important; }

.tg-checkout #place_order {
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 10px !important; width: 100% !important; padding: 18px 24px !important;
  border-radius: 14px !important; background: var(--tg-main) !important; color: #fff !important;
  font-family: var(--tg-font-main) !important; font-size: 16px !important; font-weight: 700 !important;
  border: none !important; cursor: pointer !important; letter-spacing: -.01em !important;
  transition: all .2s ease !important;
  box-shadow: 0 4px 18px rgba(20,102,83,.28) !important;
  margin-top: 4px !important;
}
.tg-checkout #place_order:hover {
  background: #0d4a3b !important;
  box-shadow: 0 8px 28px rgba(13,74,59,.38) !important;
  transform: translateY(-1px) !important;
}

.tg-checkout__sidebar { min-width: 0; align-self: start; }
.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;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(13,74,59,.09);
}

.tg-checkout__summary-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--tg-font-main); font-size: 15px; font-weight: 700;
  color: #fff; letter-spacing: -.01em;
  margin: 0; padding: 18px 24px;
  background: linear-gradient(135deg, var(--tg-main) 0%, #0d4a3b 100%);
}
.tg-checkout__summary-title svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .8; }

.tg-checkout #order_review_heading { display: none !important; }

.tg-checkout .woocommerce-checkout-review-order { padding: 0 24px 20px; }

.tg-checkout .woocommerce-checkout-review-order table.shop_table {
  width: 100% !important; border-collapse: collapse !important; font-size: 13px !important;
}

.tg-checkout .woocommerce-checkout-review-order table.shop_table thead { display: none !important; }

.tg-checkout .woocommerce-checkout-review-order .cart_item td {
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(20,102,83,.06) !important;
  vertical-align: middle !important;
}
.tg-checkout .woocommerce-checkout-review-order .product-name {
  font-weight: 600 !important; color: var(--tg-charcoal) !important; line-height: 1.4 !important;
}

.tg-checkout .woocommerce-checkout-review-order .product-name .product-quantity {
  color: #6b7b74 !important; font-weight: 400 !important; font-size: 12px !important;
}
.tg-checkout .woocommerce-checkout-review-order .product-total {
  text-align: right !important; white-space: nowrap !important;
}
.tg-checkout .woocommerce-checkout-review-order .product-total .woocommerce-Price-amount {
  color: var(--tg-main) !important; font-weight: 700 !important;
}

.tg-checkout .woocommerce-checkout-review-order tfoot tr td,
.tg-checkout .woocommerce-checkout-review-order tfoot tr th {
  padding: 9px 0 !important; border-bottom: 1px solid rgba(20,102,83,.06) !important;
  font-size: 13px !important; vertical-align: middle !important;
}
.tg-checkout .woocommerce-checkout-review-order tfoot tr:last-child td,
.tg-checkout .woocommerce-checkout-review-order tfoot tr:last-child th { border-bottom: none !important; }
.tg-checkout .woocommerce-checkout-review-order tfoot th { color: #6b7b74 !important; font-weight: 500 !important; }
.tg-checkout .woocommerce-checkout-review-order tfoot td { text-align: right !important; }

.tg-checkout .woocommerce-checkout-review-order tfoot .order-total td,
.tg-checkout .woocommerce-checkout-review-order tfoot .order-total th {
  font-size: 14px !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 .woocommerce-checkout-review-order tfoot .order-total .woocommerce-Price-amount {
  font-size: 20px !important; color: var(--tg-main) !important; font-weight: 800 !important;
}

.tg-checkout__trust {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1.5px solid rgba(20,102,83,.07);
  background: rgba(20,102,83,.025);
  margin: 0;
}
.tg-checkout__trust-item { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: #4b5563; }
.tg-checkout__trust-item svg { width: 15px; height: 15px; color: var(--tg-main); flex-shrink: 0; }

@media (max-width: 1024px) {
  .tg-cart__body,
  .tg-checkout form.checkout { grid-template-columns: 1fr; }
  .tg-cart .cart_totals,
  .tg-checkout__sidebar-sticky { position: static; }
  .tg-cart .woocommerce-cart-form table.cart thead { display: none; }
  .tg-cart .woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item {
    grid-template-columns: 1fr;
    gap: 8px; padding: 16px 0;
  }
  .tg-cart .product-price::before     { content: attr(data-title) ': '; font-weight: 600; color: var(--tg-charcoal); }
  .tg-cart .product-quantity::before  { content: attr(data-title) ': '; font-weight: 600; color: var(--tg-charcoal); }
  .tg-cart .product-subtotal::before  { content: attr(data-title) ': '; font-weight: 600; color: var(--tg-charcoal); }
  
  .tg-checkout form.checkout { gap: 24px; }
  .tg-checkout__sidebar { order: -1; }
  .tg-checkout__sidebar-sticky { border-radius: 14px; }
}

@media (max-width: 768px) {
  .tg-cart .tg-container,
  .tg-checkout .tg-container { padding-inline: 20px; }
  .tg-cart { padding: 28px 0 48px; }
  .tg-checkout > .tg-container { padding-top: 24px; }
  .tg-cart .woocommerce-cart-form table.cart td.actions { flex-direction: column; align-items: flex-start; }
  .tg-cart .coupon { width: 100%; margin-right: 0; }
  .tg-cart .coupon #coupon_code { flex: 1; }
  .tg-checkout__header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tg-checkout__steps { align-self: flex-start; }
  
  .tg-checkout .woocommerce-billing-fields__field-wrapper,
  .tg-checkout .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .tg-checkout__section { padding: 20px; }
  .tg-checkout form.checkout { gap: 16px; }
}