/* ═══════════════════════════════════════════════════════════════════
   FULL CART PAGE  (.acp- = amrita cart page)
═══════════════════════════════════════════════════════════════════ */

/* ─── WooCommerce wrapper reset for cart page ─── */
.woocommerce-cart .amrita-woo-wrap {
  padding: 100px 80px 100px;
  background: var(--cream);
  min-height: 80vh;
}
.woocommerce-cart .amrita-woo-wrap > .woocommerce {
  display: block; /* override any grid from WC default */
}

/* ─── Page header ─── */
.acp-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.acp-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  color: var(--brown-dark);
  line-height: 1.06;
  letter-spacing: 0.01em;
}
.acp-title-count {
  font-size: 0.55em;
  font-weight: 300;
  color: var(--tx-muted);
  letter-spacing: 0.05em;
}
.acp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-muted);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 6px;
}
.acp-back-link:hover { color: var(--brown-dark); }

/* ─── Two-column layout ─── */
.acp-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.acp-summary-col { position: sticky; top: 100px; }

/* ─── Free shipping bar ─── */
.acp-ship-bar {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.acp-ship-bar--mobile { display: none; }
.acp-ship-msg {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--tx-secondary);
  margin-bottom: 10px;
  line-height: 1.5;
}
.acp-ship-msg strong { font-weight: 500; color: var(--brown-dark); }
.acp-ship-unlocked {
  color: var(--p-success);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 0;
}
.acp-ship-track {
  height: 3px;
  background: var(--bd-default);
  border-radius: 2px;
  overflow: hidden;
}
.acp-ship-fill {
  height: 100%;
  background: linear-gradient(to right, var(--p-gold), var(--p-brown-2));
  border-radius: 2px;
  transition: width 0.5s var(--ease-out);
}

/* ─── Item cards ─── */
.acp-items-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.acp-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--bd-light);
  transition: background 0.2s;
}
.acp-item:first-child { border-top: 1px solid var(--bd-light); }

/* Image */
.acp-item-img { width: 88px; height: 110px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.acp-item-img a, .acp-item-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.acp-item-img a img { transition: transform 0.4s var(--ease-out); }
.acp-item-img a:hover img { transform: scale(1.06); }

/* Info */
.acp-item-info { display: flex; flex-direction: column; gap: 5px; }
.acp-item-cat {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--tx-muted);
}
.acp-item-name a, .acp-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--brown-dark);
  text-decoration: none;
  line-height: 1.15;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.acp-item-name a:hover { color: var(--brown-mid); }
.acp-item-meta { font-size: 11px; color: var(--tx-muted); line-height: 1.5; }
.acp-item-unit-price {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--tx-muted);
  letter-spacing: 0.04em;
}

/* Actions column */
.acp-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.acp-item-subtotal {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--brown-dark);
  white-space: nowrap;
}

/* WooCommerce qty input override for cart page */
.acp-item-qty .quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--bd-default);
  border-radius: 40px;
  overflow: hidden;
}
.acp-item-qty .qty {
  width: 44px;
  text-align: center;
  border: none;
  padding: 7px 4px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--brown-dark);
  background: transparent;
  -moz-appearance: textfield;
}
.acp-item-qty .qty::-webkit-outer-spin-button,
.acp-item-qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.acp-item-qty .qty:focus { outline: none; }
.acp-qty-solo { font-family: 'Jost', sans-serif; font-size: 13px; color: var(--tx-muted); padding: 7px 14px; }

/* Remove */
.acp-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--bd-light);
  color: var(--tx-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.acp-item-remove:hover { background: #fde8e8; color: var(--p-danger); border-color: #f5c6c6; }

/* ─── Cart actions (coupon + update) ─── */
.acp-cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
}
.acp-coupon { display: flex; align-items: center; gap: 8px; }
.acp-coupon-input {
  padding: 10px 18px;
  border: 1px solid var(--bd-default);
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--brown-dark);
  background: transparent;
  width: 180px;
  transition: border-color 0.2s;
}
.acp-coupon-input:focus { outline: none; border-color: var(--brown-mid); }
.acp-coupon-input::placeholder { color: var(--tx-muted); }
.acp-coupon-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--bd-default);
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-mid);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.acp-coupon-btn:hover { border-color: var(--brown-dark); color: var(--brown-dark); }
.acp-update-btn {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--bd-default);
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.acp-update-btn:hover { border-color: var(--brown-mid); color: var(--brown-dark); }
.acp-update-btn:disabled { opacity: 0.3; pointer-events: none; }

/* ─── Totals card ─── */
.acp-totals-card {
  background: var(--bg-panel);
  border: 1px solid var(--bd-light);
  border-radius: 20px;
  padding: 32px 28px;
}
.acp-totals-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.acp-totals-rows { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.acp-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--bd-light);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--tx-secondary);
}
.acp-totals-row:last-child { border-bottom: none; }
.acp-totals-row--total {
  padding-top: 18px;
  font-weight: 400;
  color: var(--brown-dark);
}
.acp-grand-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--brown-dark);
}
.acp-free-ship { color: var(--p-success); font-weight: 400; }
.acp-totals-row--coupon { color: var(--p-success); }
.acp-coupon-code { font-style: italic; margin-left: 4px; }
.acp-coupon-saving { color: var(--p-success); }

/* ─── Checkout button ─── */
.acp-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--brown-dark);
  color: var(--cream);
  border: none;
  border-radius: 14px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s;
  margin-bottom: 20px;
}
.acp-checkout-btn:hover { background: var(--brown); }

/* ─── Trust badges ─── */
.acp-trust {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 4px;
}
.acp-trust-item {
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  color: var(--tx-muted);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── Empty state ─── */
.acp-empty {
  text-align: center;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.acp-empty-icon { color: var(--bd-default); margin-bottom: 8px; }
.acp-empty-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--brown-dark);
}
.acp-empty-sub {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--tx-muted);
  max-width: 400px;
  line-height: 1.75;
}

/* ─── Checkout page ─── */
.woocommerce-checkout .amrita-woo-wrap {
  padding: 110px 80px 100px;
  background: var(--cream);
  min-height: 80vh;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* Cart page notices span full width */
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

/* ─── Cart Page Header ─── */
.woocommerce-cart-form { grid-column: 1; }
.cart-collaterals        { grid-column: 2; }

.woocommerce-cart-form::before {
  content: 'Your Bag';
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--brown-dark);
  line-height: 1.1;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

/* ─── Cart Table ─── */
table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}
table.shop_table thead th {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tx-muted);
  padding: 0 0 16px;
  border-bottom: 1px solid var(--bd-default);
  text-align: left;
}
table.shop_table thead th.product-subtotal { text-align: right; }
table.shop_table thead th.product-remove   { width: 32px; }

table.shop_table tbody tr.cart_item {
  border-bottom: 1px solid var(--bd-light);
  transition: background 0.2s;
}
table.shop_table tbody tr.cart_item:hover { background: rgba(160,121,90,0.04); }

table.shop_table td {
  padding: 24px 12px;
  vertical-align: middle;
}
table.shop_table td:first-child { padding-left: 0; }
table.shop_table td:last-child  { padding-right: 0; }

/* Remove button */
td.product-remove { width: 40px; text-align: center; }
td.product-remove a.remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: var(--tx-muted);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: 1px solid var(--bd-light);
}
td.product-remove a.remove:hover { background: #fde8e8; color: var(--p-danger); border-color: #f5c6c6; }

/* Product thumbnail */
td.product-thumbnail { width: 80px; }
td.product-thumbnail a { display: block; width: 72px; height: 90px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
td.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; transition: transform 0.4s; }
td.product-thumbnail a:hover img { transform: scale(1.05); }

/* Product name */
td.product-name { min-width: 180px; }
td.product-name a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--brown-dark);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
td.product-name a:hover { color: var(--brown-mid); }
td.product-name .variation {
  font-size: 11px;
  color: var(--tx-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* Price */
td.product-price .woocommerce-Price-amount {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--tx-secondary);
}

/* Quantity */
td.product-quantity .quantity { display: flex; align-items: center; gap: 0; }
td.product-quantity input.input-text.qty {
  width: 52px;
  text-align: center;
  border: 1px solid var(--bd-default);
  border-radius: 0;
  padding: 8px 4px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--brown-dark);
  background: transparent;
  -moz-appearance: textfield;
}
td.product-quantity input.input-text.qty::-webkit-outer-spin-button,
td.product-quantity input.input-text.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
td.product-quantity input.input-text.qty:focus { outline: none; border-color: var(--brown-mid); }

/* Subtotal */
td.product-subtotal { text-align: right; }
td.product-subtotal .woocommerce-Price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--brown-dark);
}

/* Actions row */
tr.cart_item + tr.actions td,
.woocommerce-cart-form .actions {
  padding-top: 20px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: none;
}
/* Coupon */
.coupon { display: flex; gap: 8px; align-items: center; }
.coupon label { display: none; }
.coupon #coupon_code {
  padding: 10px 18px;
  border: 1px solid var(--bd-default);
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--brown-dark);
  background: transparent;
  width: 180px;
  transition: border-color 0.2s;
}
.coupon #coupon_code:focus { outline: none; border-color: var(--brown-mid); }
.coupon #coupon_code::placeholder { color: var(--tx-muted); }
.coupon .button,
button[name="apply_coupon"] {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--bd-default);
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-mid);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.coupon .button:hover,
button[name="apply_coupon"]:hover { border-color: var(--brown-dark); color: var(--brown-dark); }

/* Update cart button */
button[name="update_cart"],
.woocommerce-cart-form .actions > button[type="submit"] {
  padding: 10px 24px;
  background: var(--brown-dark);
  border: 1px solid var(--brown-dark);
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s;
}
button[name="update_cart"]:hover { background: var(--brown); border-color: var(--brown); }
button[name="update_cart"]:disabled,
button[name="update_cart"][disabled] { opacity: 0.35; cursor: default; }

/* ─── Cart Totals Sidebar ─── */
.cart_totals {
  background: var(--bg-panel);
  border: 1px solid var(--bd-light);
  border-radius: 20px;
  padding: 36px 32px;
  position: sticky;
  top: 100px;
}
.cart_totals h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.cart_totals table.shop_table { margin-bottom: 0; }
.cart_totals table.shop_table tr { border-bottom: 1px solid var(--bd-light); }
.cart_totals table.shop_table tr:last-child { border-bottom: none; }
.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
  padding: 14px 0;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--tx-secondary);
  vertical-align: middle;
}
.cart_totals table.shop_table th { font-size: 10px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tx-muted); width: 40%; }
.cart_totals table.shop_table td { text-align: right; }
.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td { padding-top: 18px; font-weight: 400; }
.cart_totals table.shop_table tr.order-total td .woocommerce-Price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--brown-dark);
}
/* Free shipping label */
.cart_totals .woocommerce-shipping-destination { font-size: 11px; color: var(--tx-muted); margin-top: 4px; }
.cart_totals .shipping-calculator-trigger { font-size: 11px; color: var(--brown-mid); text-decoration: none; }
.cart_totals .shipping-calculator-trigger:hover { color: var(--brown-dark); }

/* Proceed to checkout */
.wc-proceed-to-checkout { margin-top: 24px; }
.wc-proceed-to-checkout a.checkout-button,
.wc-proceed-to-checkout .button.alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--brown-dark);
  color: var(--cream);
  border: none;
  border-radius: 14px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s;
}
.wc-proceed-to-checkout a.checkout-button:hover,
.wc-proceed-to-checkout .button.alt:hover { background: var(--brown); }

/* Empty cart state */
.woocommerce-cart .cart-empty {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--tx-muted);
  text-align: center;
  padding: 80px 0 20px;
  grid-column: 1 / -1;
}
.woocommerce-cart .return-to-shop {
  text-align: center;
  grid-column: 1 / -1;
  margin-top: 12px;
}
.woocommerce-cart .return-to-shop .button {
  display: inline-flex;
  padding: 13px 32px;
  background: var(--brown-dark);
  color: var(--cream);
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.woocommerce-cart .return-to-shop .button:hover { background: var(--brown); }

/* ═══════════════════════════════════════════════════════════════════
   CHECKOUT PAGE  (.aco- = amrita checkout)
═══════════════════════════════════════════════════════════════════ */

/* ─── Page wrapper ─── */
.woocommerce-checkout .amrita-woo-wrap { background: var(--cream); }

/* ─── Page header ─── */
.aco-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.aco-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  color: var(--brown-dark);
  line-height: 1.06;
  letter-spacing: 0.01em;
}
.aco-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-muted);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 6px;
}
.aco-back-link:hover { color: var(--brown-dark); }

/* ─── Two-column layout ─── */
.aco-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}
.aco-summary-col { position: sticky; top: 100px; }

/* ─── Section blocks ─── */
.aco-section { margin-bottom: 44px; }
.aco-section:last-child { margin-bottom: 0; }
.aco-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bd-light);
}
.aco-section-title--small { font-size: 22px; }

/* ─── Login prompt ─── */
.aco-login-prompt {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 32px;
}
.aco-login-text {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--tx-secondary);
}
.aco-login-link { color: var(--brown-mid); text-decoration: none; font-weight: 400; }
.aco-login-link:hover { color: var(--brown-dark); }

/* ─── Form fields ─── */
.woocommerce-checkout p.form-row { margin-bottom: 18px; }
.woocommerce-checkout .form-row label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tx-muted);
  margin-bottom: 8px;
}
.woocommerce-checkout .form-row label .required { color: var(--p-gold); margin-left: 2px; }

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--bd-default);
  border-radius: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--brown-dark);
  background: var(--bg-panel);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  outline: none;
  border-color: var(--brown-mid);
  box-shadow: 0 0 0 3px rgba(160,121,90,0.1);
}
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder { color: var(--tx-muted); }
.woocommerce-checkout textarea { resize: vertical; min-height: 100px; }

/* Half-width fields (WC default) */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last { width: calc(50% - 8px); display: inline-block; vertical-align: top; }
.woocommerce-checkout .form-row-first { margin-right: 16px; }

/* Inline error */
.woocommerce-checkout .form-row.woocommerce-invalid input,
.woocommerce-checkout .form-row.woocommerce-invalid select { border-color: var(--p-danger); }
.woocommerce-checkout .form-row .woocommerce-input-wrapper { position: relative; }

/* Checkbox rows */
.woocommerce-checkout .form-row input[type="checkbox"] { width: auto; margin-right: 8px; accent-color: var(--brown-dark); }

/* ─── WC billing/shipping labels ─── */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 { display: none; } /* hidden — our .aco-section-title replaces them */

/* ─── "Ship to different address" checkbox ─── */
.woocommerce-shipping-fields .shipping_address { margin-top: 16px; }

/* ─── Order card (right column) ─── */
.aco-order-card {
  background: var(--bg-panel);
  border: 1px solid var(--bd-light);
  border-radius: 20px;
  padding: 32px 28px;
}
.aco-order-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bd-light);
  letter-spacing: 0.01em;
}

/* ─── Order review table ─── */
table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}
table.woocommerce-checkout-review-order-table thead th {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--tx-muted);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--bd-light);
  text-align: left;
}
table.woocommerce-checkout-review-order-table thead th:last-child { text-align: right; }
table.woocommerce-checkout-review-order-table tbody tr,
table.woocommerce-checkout-review-order-table tfoot tr { border-bottom: 1px solid var(--bd-light); }
table.woocommerce-checkout-review-order-table tbody tr:last-child { border-bottom: none; }
table.woocommerce-checkout-review-order-table td,
table.woocommerce-checkout-review-order-table th {
  padding: 13px 0;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--tx-secondary);
  vertical-align: middle;
}
table.woocommerce-checkout-review-order-table .product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--brown-dark);
  line-height: 1.3;
}
table.woocommerce-checkout-review-order-table .product-name .product-quantity {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: var(--tx-muted);
}
table.woocommerce-checkout-review-order-table .product-total { text-align: right; }
table.woocommerce-checkout-review-order-table tfoot th {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tx-muted);
  font-weight: 400;
}
table.woocommerce-checkout-review-order-table tfoot td { text-align: right; }
table.woocommerce-checkout-review-order-table tfoot tr.order-total td,
table.woocommerce-checkout-review-order-table tfoot tr.order-total th {
  padding-top: 18px;
  font-weight: 400;
  border-bottom: none;
}
table.woocommerce-checkout-review-order-table tfoot tr.order-total td .woocommerce-Price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--brown-dark);
}

/* ─── Payment section ─── */
#payment { margin-top: 24px; }

#payment .payment_methods {
  list-style: none;
  margin: 0 0 0;
  padding: 0;
  border: 1px solid var(--bd-default);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}
#payment .payment_methods > li {
  padding: 0;
  border-bottom: 1px solid var(--bd-light);
}
#payment .payment_methods > li:last-child { border-bottom: none; }

#payment .payment_methods > li > label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--brown-dark);
  cursor: pointer;
  transition: background 0.15s;
}
#payment .payment_methods > li > label:hover { background: var(--bg-alt); }
#payment .payment_methods > li > label img { height: 22px; width: auto; opacity: 0.8; }
#payment .payment_methods > li input[type="radio"] {
  accent-color: var(--brown-dark);
  width: 16px; height: 16px;
  flex-shrink: 0;
}

#payment .payment_box {
  padding: 12px 18px 16px;
  background: var(--bg-alt);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--tx-muted);
  line-height: 1.75;
  border-top: 1px solid var(--bd-light);
}
#payment .payment_box p { margin: 0; }

/* ─── Place order button ─── */
#place_order,
.woocommerce #payment #place_order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 17px 24px;
  background: var(--brown-dark);
  color: var(--cream);
  border: none;
  border-radius: 14px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  margin-top: 4px;
}
#place_order:hover { background: var(--brown); transform: translateY(-1px); }

/* ─── Privacy & terms ─── */
.woocommerce-privacy-policy-text {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: var(--tx-muted);
  line-height: 1.7;
  margin-top: 14px;
  text-align: center;
}
.woocommerce-privacy-policy-text a { color: var(--brown-mid); }

/* ─── Inline validation messages ─── */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
  margin-bottom: 20px;
}
.woocommerce-checkout-review-order-table + #payment { margin-top: 0; }

/* ═══════════════════════════════════════════════════════════════════
   MY ACCOUNT PAGE
═══════════════════════════════════════════════════════════════════ */
.woocommerce-account .amrita-woo-wrap {
  padding: 110px 80px 100px;
}
.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.woocommerce-MyAccount-navigation {
  background: var(--bg-panel);
  border: 1px solid var(--bd-light);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 13px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--bd-light);
  transition: background 0.15s, color 0.15s;
}
.woocommerce-MyAccount-navigation ul li:last-child a { border-bottom: none; }
.woocommerce-MyAccount-navigation ul li a:hover { background: var(--bg-alt); color: var(--brown-dark); }
.woocommerce-MyAccount-navigation ul li.is-active a { background: var(--brown-dark); color: var(--cream); font-weight: 400; }
.woocommerce-MyAccount-content {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--tx-secondary);
}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 20px;
}
.woocommerce-MyAccount-content h2 { font-size: 32px; }
.woocommerce-MyAccount-content h3 { font-size: 24px; }
.woocommerce-MyAccount-content table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.woocommerce-MyAccount-content table th { font-size: 9px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tx-muted); padding: 0 12px 12px 0; border-bottom: 1px solid var(--bd-default); }
.woocommerce-MyAccount-content table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--bd-light); font-size: 13px; }
.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-MyAccount-content .button {
  display: inline-flex;
  padding: 9px 20px;
  background: var(--brown-dark);
  color: var(--cream);
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.woocommerce-MyAccount-content .button:hover { background: var(--brown); }

/* ─── Cart / Checkout / Account Responsive ─── */
@media (max-width: 960px) {
  .acp-layout                              { grid-template-columns: 1fr; }
  .acp-summary-col                         { position: static; }
  .acp-ship-bar:not(.acp-ship-bar--mobile) { display: none; }
  .acp-ship-bar--mobile                    { display: block; }
  .woocommerce-cart .amrita-woo-wrap,
  .woocommerce-checkout .amrita-woo-wrap   { padding: 100px 32px 80px; }
  .aco-layout                              { grid-template-columns: 1fr; }
  .aco-summary-col                         { position: static; }
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last     { width: 100%; display: block; margin-right: 0; }
  .woocommerce-account .woocommerce        { grid-template-columns: 1fr; }
  .woocommerce-account .amrita-woo-wrap    { padding: 100px 32px 80px; }
  .woocommerce-MyAccount-navigation        { position: static; }
}
@media (max-width: 600px) {
  .acp-item                  { grid-template-columns: 72px 1fr; }
  .acp-item-actions          { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 4px; }
  .acp-item-img              { width: 72px; height: 90px; }
  .woocommerce-cart .amrita-woo-wrap { padding: 90px 20px 60px; }
}

