/* iGlow Cart / Checkout / My Account — mirrors C:\WSCODE\iglow Cart.tsx + Checkout.tsx */

/* Base shell styles: ONLY the <main> element — never body (breaks Divi header). */
main.iglow-shell {
  font-family: var(--ig-sans, "DM Sans", system-ui, sans-serif);
  color: var(--ig-text, #2D2D2D);
  background: #fff;
  min-height: 60vh;
  padding-bottom: 4rem;
  display: block;
  width: 100%;
}

.iglow-shell__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1rem 0;
  box-sizing: border-box;
}

.iglow-shell__topbar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
  margin-bottom: 0.5rem;
}
.iglow-shell__topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0;
  padding-bottom: 0;
}
.iglow-shell__topbar .iglow-shell__crumb { margin-bottom: 0.35rem; }
.iglow-shell__topbar .iglow-shell__title {
  color: var(--ig-primary, #4A6741);
  font-weight: 500;
  margin: 0;
}

.iglow-shell__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--ig-muted, #8A8A8A);
  margin-bottom: 1.5rem;
}
.iglow-shell__crumb a {
  color: inherit;
  text-decoration: none;
}
.iglow-shell__crumb a:hover { color: var(--ig-primary, #4A6741); }

.iglow-shell__title {
  font-family: var(--ig-serif, "Playfair Display", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  color: var(--ig-dark, #2C3E2D);
  margin: 0;
  letter-spacing: -0.02em;
}

/* Stepper — Cart → Delivery → Payment */
.iglow-steps {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
}
.iglow-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #9ca3af;
}
.iglow-steps__item.is-active,
.iglow-steps__item.is-done {
  color: var(--ig-primary, #4A6741);
  font-weight: 700;
}
.iglow-steps__num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.7rem;
  font-weight: 700;
}
.iglow-steps__item.is-active .iglow-steps__num,
.iglow-steps__item.is-done .iglow-steps__num {
  background: var(--ig-primary, #4A6741);
  color: #fff;
}
.iglow-steps__rule {
  width: 2rem;
  height: 1px;
  background: #d1d5db;
  list-style: none;
}

/* Shared Woo form controls */
.iglow-shell .woocommerce,
.iglow-shell.woocommerce { font-family: inherit; }

.iglow-shell input.input-text,
.iglow-shell textarea,
.iglow-shell select {
  border: 1px solid #e5e7eb !important;
  border-radius: 0.25rem !important;
  padding: 0.7rem 0.85rem !important;
  font-size: 0.8rem !important;
  background: #fff !important;
  color: var(--ig-text, #2D2D2D) !important;
  box-shadow: none !important;
  min-height: 2.6rem;
}
.iglow-shell textarea { min-height: 4.5rem; }
.iglow-shell input.input-text:focus,
.iglow-shell textarea:focus,
.iglow-shell select:focus {
  border-color: var(--ig-primary, #4A6741) !important;
  outline: none !important;
  box-shadow: none !important;
}

.iglow-shell .woocommerce label,
.iglow-shell form.checkout label,
.iglow-shell .iglow-shell__content label,
main.iglow-shell label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ig-text, #2D2D2D);
  margin-bottom: 0.35rem;
}

.iglow-shell--cart .woocommerce .button,
.iglow-shell--checkout .woocommerce .button,
.iglow-shell--account .woocommerce .button,
.iglow-shell--cart .woocommerce button.button,
.iglow-shell--checkout .woocommerce button.button,
.iglow-shell--account .woocommerce button.button,
.iglow-shell--cart .woocommerce a.button,
.iglow-shell--checkout .woocommerce a.button,
.iglow-shell--account .woocommerce a.button,
.iglow-shell--cart .woocommerce #place_order,
.iglow-shell--checkout .woocommerce #place_order,
.iglow-shell--checkout form.checkout .button,
.iglow-shell--checkout form.checkout #place_order,
.iglow-shell--cart .woocommerce .woocommerce-Button,
.iglow-shell--checkout .woocommerce .woocommerce-Button,
.iglow-shell--account .woocommerce .woocommerce-Button,
main.iglow-shell .iglow-shell__content .button,
main.iglow-shell .iglow-shell__content button.button,
main.iglow-shell .iglow-shell__content a.button,
main.iglow-shell .iglow-shell__content #place_order,
main.iglow-shell .iglow-shell__content .woocommerce-Button,
main.iglow-shell .iglow-shell__topbar .button,
.iglow-shell--checkout .iglow-checkout-sticky__btn {
  background: var(--ig-primary, #4A6741) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em;
  padding: 0.85rem 1.35rem !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  transition: background 0.2s ease;
}
.iglow-shell--cart .woocommerce a.checkout-button,
.iglow-shell--cart .woocommerce .checkout-button,
.iglow-shell--cart .wc-proceed-to-checkout .checkout-button,
main.iglow-shell--cart .iglow-shell__content a.checkout-button {
  background: var(--ig-accent, #c9a84c) !important;
  color: #fff !important;
}
.iglow-shell--cart .woocommerce a.checkout-button:hover,
.iglow-shell--cart .woocommerce .checkout-button:hover,
.iglow-shell--cart .wc-proceed-to-checkout .checkout-button:hover,
main.iglow-shell--cart .iglow-shell__content a.checkout-button:hover {
  background: #b8963f !important;
  color: #fff !important;
}
.iglow-cart-empty .button,
.iglow-shell--cart .iglow-cart-empty .button {
  background: var(--ig-accent, #c9a84c) !important;
}
.iglow-shell--cart .woocommerce .button:hover,
.iglow-shell--checkout .woocommerce .button:hover,
.iglow-shell--account .woocommerce .button:hover,
.iglow-shell--cart .woocommerce button.button:hover,
.iglow-shell--checkout .woocommerce button.button:hover,
.iglow-shell--checkout .woocommerce #place_order:hover,
.iglow-shell--checkout form.checkout .button:hover,
.iglow-shell--checkout form.checkout #place_order:hover,
main.iglow-shell .iglow-shell__content .button:hover,
main.iglow-shell .iglow-shell__content button.button:hover,
main.iglow-shell .iglow-shell__content #place_order:hover,
.iglow-shell--checkout .iglow-checkout-sticky__btn:hover {
  background: #3d5636 !important;
  color: #fff !important;
}
.iglow-shell--cart .woocommerce .button.alt,
.iglow-shell--checkout .woocommerce .button.alt,
.iglow-shell--checkout .woocommerce a.checkout-button,
main.iglow-shell .iglow-shell__content .button.alt {
  background: var(--ig-primary, #4A6741) !important;
}
.iglow-shell--cart .woocommerce a.checkout-button,
.iglow-shell--cart .woocommerce .checkout-button,
.iglow-shell--cart .wc-proceed-to-checkout .checkout-button,
main.iglow-shell--cart .iglow-shell__content a.checkout-button,
main.iglow-shell .iglow-shell__content a.checkout-button {
  background: var(--ig-accent, #c9a84c) !important;
  color: #fff !important;
}
.iglow-shell--cart .woocommerce a.checkout-button:hover,
.iglow-shell--cart .woocommerce .checkout-button:hover,
.iglow-shell--cart .wc-proceed-to-checkout .checkout-button:hover,
main.iglow-shell--cart .iglow-shell__content a.checkout-button:hover,
main.iglow-shell .iglow-shell__content a.checkout-button:hover {
  background: #b8963f !important;
  color: #fff !important;
}

.iglow-shell--cart .woocommerce .button[name="update_cart"],
.iglow-shell--cart .woocommerce .button[name="apply_coupon"],
main.iglow-shell .iglow-shell__content .button[name="update_cart"],
main.iglow-shell .iglow-shell__content .button[name="apply_coupon"] {
  background: #fff !important;
  color: var(--ig-primary, #4A6741) !important;
  border: 1px solid var(--ig-primary, #4A6741) !important;
}
.iglow-shell--cart .woocommerce .button[name="update_cart"]:hover,
.iglow-shell--cart .woocommerce .button[name="apply_coupon"]:hover,
main.iglow-shell .iglow-shell__content .button[name="update_cart"]:hover,
main.iglow-shell .iglow-shell__content .button[name="apply_coupon"]:hover {
  background: var(--ig-primary, #4A6741) !important;
  color: #fff !important;
}

/* ========== CART (React Cart.tsx) ========== */
main.iglow-shell--cart {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 8rem);
  background: #faf9f6;
}
body.iglow-shell--cart #main-content,
body.iglow-shell--cart #left-area,
body.iglow-shell--cart .entry-content {
  background: var(--ig-bg, #fdfbf6);
}
.iglow-shell--cart .iglow-shell__topbar { background: var(--ig-bg, #fdfbf6); }
.iglow-shell--cart .iglow-shell__inner {
  max-width: 90rem;
  width: 100%;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}
.iglow-shell--cart .iglow-shell__content.woocommerce,
.iglow-shell--cart .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: start;
  width: 100% !important;
  float: none !important;
}
.iglow-shell--cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }

.iglow-ship-banner {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1.15rem 1.25rem;
  margin-bottom: 0;
  box-shadow: none;
}
.iglow-shell--cart .iglow-cart-form > .iglow-ship-banner,
.iglow-shell--cart .woocommerce > .iglow-ship-banner {
  grid-column: 1 / -1;
}
.iglow-shell--cart .woocommerce-cart-form,
.iglow-shell--cart .iglow-cart-form {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  background: transparent;
  border: 0;
  padding: 0;
}
.iglow-shell--cart .iglow-ship-banner {
  order: -1;
}
.iglow-ship-banner__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.iglow-ship-banner__text { margin: 0; color: var(--ig-text, #2D2D2D); }
.iglow-ship-banner__text--ok { color: #047857; font-weight: 600; }
.iglow-ship-banner__amt { color: var(--ig-primary, #4A6741); }
.iglow-ship-banner__pct { color: var(--ig-muted, #8A8A8A); font-size: 0.75rem; }
.iglow-ship-banner__track {
  width: 100%;
  height: 2px;
  background: var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  overflow: hidden;
}
.iglow-ship-banner__fill {
  display: block;
  height: 100%;
  background: var(--ig-accent, #c9a84c);
  border-radius: 0;
  transition: width 0.45s ease;
}

.iglow-cart-panel {
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.iglow-cart-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.15rem;
  background: var(--ig-surface, #f7f3e9);
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  font-family: var(--ig-sans, sans-serif);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ig-muted, #8A8A8A);
}
.iglow-cart-clear,
.iglow-cart-clear-form .iglow-cart-clear {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #9ca3af;
  text-decoration: none;
}
.iglow-cart-clear:hover { color: #e11d48; }

.iglow-cart-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  align-items: flex-start;
}
.iglow-cart-item:last-child { border-bottom: 0; }
.iglow-cart-item__media img {
  width: 6rem !important;
  height: 6rem !important;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  background: var(--ig-surface, #f7f3e9);
  display: block;
  margin: 0 !important;
}
.iglow-cart-item__body { flex: 1; min-width: 0; }
.iglow-cart-item__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}
.iglow-cart-item__brand {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ig-accent, #C9A84C);
  margin-bottom: 0.2rem;
}
.iglow-cart-item__name a {
  font-family: var(--ig-serif, Georgia, serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ig-primary, #4A6741);
  text-decoration: none;
  line-height: 1.3;
}
.iglow-cart-item__name a:hover { color: var(--ig-accent, #C9A84C); }
.iglow-cart-item__unit {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--ig-muted, #8A8A8A);
}
.iglow-cart-item__remove .remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.25rem;
  background: transparent !important;
  color: #d1d5db !important;
  font-size: 1.25rem !important;
  text-decoration: none !important;
  border: 0 !important;
}
.iglow-cart-item__remove .remove:hover { color: #e11d48 !important; }
.iglow-cart-item__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
}
.iglow-cart-item__qty .quantity {
  display: inline-flex;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  background: #f9fafb;
  overflow: hidden;
}
.iglow-cart-item__qty .qty {
  width: 3rem !important;
  min-height: 2.25rem !important;
  text-align: center;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.iglow-cart-item__total { text-align: right; }
.iglow-cart-item__total-label {
  display: block;
  font-size: 0.7rem;
  color: var(--ig-muted, #8A8A8A);
}
.iglow-cart-item__total-val {
  font-family: var(--ig-serif, Georgia, serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ig-primary, #4A6741);
}

.iglow-cart-gift {
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1.25rem;
}
.iglow-cart-gift__label {
  display: block;
  margin-bottom: 0.5rem;
}
.iglow-cart-gift textarea { width: 100%; box-sizing: border-box; }
.iglow-cart-gift__hint {
  margin: 0.4rem 0 0;
  font-size: 0.7rem;
  color: var(--ig-muted, #8A8A8A);
}

.iglow-cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1rem;
}
.iglow-cart-actions .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  flex: 1 1 14rem;
  float: none !important;
  margin: 0 !important;
}
.iglow-cart-actions .coupon #coupon_code {
  flex: 1 1 10rem;
  max-width: 16rem;
}
.iglow-cart-continue {
  grid-column: 1;
  margin: 0.25rem 0 0;
}
.iglow-cart-continue a {
  color: var(--ig-primary, #4A6741);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.iglow-cart-continue a:hover { text-decoration: underline; }

.iglow-shell--cart .cart-collaterals,
.iglow-shell--cart .iglow-cart-aside {
  grid-column: 2;
  grid-row: 2;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  position: sticky;
  top: 5.5rem;
  align-self: start;
}
.iglow-shell--cart .iglow-cart-form,
.iglow-shell--cart .woocommerce-cart-form {
  grid-column: 1;
  grid-row: 2;
}
.iglow-shell--cart .iglow-cart-continue {
  grid-column: 1;
  grid-row: 3;
}
.iglow-shell--cart .iglow-ship-banner {
  grid-column: 1 / -1;
  grid-row: 1;
}
.iglow-shell--cart .cart_totals,
.iglow-order-summary {
  float: none !important;
  width: 100% !important;
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1.5rem;
  box-sizing: border-box;
  box-shadow: none;
}
.iglow-order-summary h2 {
  font-family: var(--ig-serif, Georgia, serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ig-text, #2d2d2d);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
}
.iglow-order-summary table.shop_table {
  border: 0 !important;
  margin: 0 0 1.25rem !important;
  width: 100%;
}
.iglow-order-summary table.shop_table th,
.iglow-order-summary table.shop_table td {
  border: 0 !important;
  border-bottom: 1px solid #f3f4f6 !important;
  padding: 0.75rem 0 !important;
  background: transparent !important;
  font-size: 0.85rem;
}
.iglow-order-summary table.shop_table th {
  font-weight: 500;
  color: #6b7280;
  text-align: left;
}
.iglow-order-summary table.shop_table td {
  text-align: right;
  font-weight: 600;
}
.iglow-order-summary .order-total th,
.iglow-order-summary .order-total td {
  border-bottom: 0 !important;
  padding-top: 1rem !important;
  font-family: var(--ig-serif, Georgia, serif);
  font-size: 1.1rem;
  color: var(--ig-primary, #4A6741) !important;
}
.iglow-order-summary a { color: var(--ig-primary, #4A6741) !important; }
.iglow-shell--cart .wc-proceed-to-checkout { padding: 0 !important; }
.iglow-shell--cart .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100%;
  text-align: center;
  font-size: 0.9rem !important;
  padding: 1rem !important;
  border-radius: 0.25rem !important;
  position: relative;
  overflow: hidden;
}
/* Divi injects a hover ">" on .button that lands mid-label */
.iglow-shell a.checkout-button::before,
.iglow-shell a.checkout-button::after,
.iglow-shell a.checkout-button:hover::before,
.iglow-shell a.checkout-button:hover::after,
.iglow-shell a.button.wc-forward::before,
.iglow-shell a.button.wc-forward::after,
.iglow-shell a.button.wc-forward:hover::before,
.iglow-shell a.button.wc-forward:hover::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.iglow-trust {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid #f3f4f6;
  font-size: 0.7rem;
  color: var(--ig-muted, #8A8A8A);
}
.iglow-trust li {
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}
.iglow-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ig-primary, #4A6741);
  font-weight: 700;
}

.iglow-cart-empty {
  max-width: 36rem;
  margin: 3rem auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 3rem 1.5rem;
  box-shadow: none;
}
.iglow-cart-empty__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 0;
  background: var(--ig-surface, #f7f3e9);
  color: var(--ig-muted, #8A8A8A);
  display: flex;
  align-items: center;
  justify-content: center;
}
.iglow-cart-empty h2 {
  font-family: var(--ig-serif, Georgia, serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ig-text, #2d2d2d);
  margin: 0 0 0.75rem;
}
.iglow-cart-empty p {
  font-size: 0.875rem;
  color: var(--ig-muted, #8A8A8A);
  margin: 0 0 1.75rem;
}
.iglow-shell--cart .cross-sells {
  grid-column: 1 / -1;
  margin-top: 1rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.5rem;
  padding: 1.5rem;
}
.iglow-shell--cart .cross-sells > h2 {
  font-family: var(--ig-serif, Georgia, serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ig-primary, #4A6741);
}

/* ========== CHECKOUT (full-width Secure Checkout) ========== */
/* Background only on <main> — body also gets .iglow-shell--checkout as a marker. */
main.iglow-shell--checkout {
  width: 100%;
  max-width: none;
  background: #faf9f6;
}
body.iglow-shell--checkout #main-content,
body.iglow-shell--checkout #left-area,
body.iglow-shell--checkout .entry-content {
  background: #faf9f6;
}
.iglow-shell--checkout .iglow-shell__topbar {
  background: #fff;
}
.iglow-shell--checkout .iglow-shell__inner {
  max-width: 90rem;
  width: 100%;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}
.iglow-shell--checkout .iglow-shell__content.woocommerce {
  width: 100%;
  float: none !important;
}

/* Coupon / login above form */
.iglow-shell--checkout .woocommerce-form-coupon-toggle,
.iglow-shell--checkout .woocommerce-form-login-toggle,
.iglow-shell--checkout form.checkout_coupon,
.iglow-shell--checkout form.woocommerce-form-login {
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}

.iglow-shell--checkout form.checkout,
.iglow-shell--checkout form.iglow-checkout-form {
  display: block !important;
  width: 100% !important;
  float: none !important;
  max-width: none !important;
}

.iglow-checkout-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.85fr);
  gap: 1.75rem;
  align-items: start;
  width: 100%;
}

.iglow-checkout-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  float: none !important;
  width: 100% !important;
}

.iglow-checkout-step,
.iglow-checkout-aside {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.iglow-checkout-step__head,
.iglow-checkout-aside__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}
.iglow-checkout-step__head h2,
.iglow-checkout-aside__head h3,
.iglow-checkout-aside #order_review_heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-family: var(--ig-serif, Georgia, serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ig-primary, #4A6741);
}
.iglow-checkout-step__num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--ig-primary, #4A6741);
  color: #fff;
  font-family: var(--ig-sans, sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.iglow-checkout-step__hint {
  font-size: 0.7rem;
  color: var(--ig-muted, #8A8A8A);
}
.iglow-checkout-step__note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ig-muted, #8A8A8A);
}

/* Kill Divi / WC floats inside checkout */
.iglow-shell--checkout .col2-set,
.iglow-shell--checkout #iglow-customer-cols,
.iglow-shell--checkout #customer_details {
  width: 100% !important;
  float: none !important;
  display: block !important;
}
.iglow-shell--checkout .col2-set::after,
.iglow-shell--checkout .col2-set::before {
  display: none !important;
}
.iglow-shell--checkout .col2-set .col-1,
.iglow-shell--checkout .col2-set .col-2 {
  width: 100% !important;
  float: none !important;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  clear: both !important;
}
.iglow-shell--checkout .woocommerce-billing-fields > h3,
.iglow-shell--checkout .woocommerce-shipping-fields > h3,
.iglow-shell--checkout .woocommerce-additional-fields > h3 {
  font-family: var(--ig-serif, Georgia, serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ig-dark, #2C3E2D);
  margin: 0 0 1rem;
}

.iglow-checkout-aside {
  position: sticky;
  top: 5rem;
  align-self: start;
}
.iglow-checkout-aside #order_review {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  position: static !important;
  width: 100% !important;
  float: none !important;
}

/* Shipping methods as cards */
.iglow-shell--checkout #shipping_method {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.iglow-shell--checkout #shipping_method li {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  background: #fff;
}
.iglow-shell--checkout #shipping_method li:has(input:checked),
.iglow-shell--checkout #shipping_method li.iglow-is-selected {
  border-color: var(--ig-primary, #4A6741);
  background: rgba(74, 103, 65, 0.05);
}
.iglow-shell--checkout #shipping_method label {
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

/* Payment methods as cards */
.iglow-shell--checkout .woocommerce-checkout-payment {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.iglow-shell--checkout .wc_payment_methods {
  list-style: none;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  display: grid;
  gap: 0.5rem;
}
.iglow-shell--checkout .wc_payment_method {
  margin: 0 !important;
  padding: 0.85rem 1rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.375rem !important;
  background: #fff !important;
}
.iglow-shell--checkout .wc_payment_method:has(input:checked),
.iglow-shell--checkout .wc_payment_method.iglow-is-selected {
  border-color: var(--ig-primary, #4A6741) !important;
  background: rgba(74, 103, 65, 0.05) !important;
}
.iglow-shell--checkout .payment_box {
  background: #f9fafb !important;
  border-radius: 0.25rem;
  margin-top: 0.65rem;
  font-size: 0.8rem;
}
.iglow-shell--checkout #place_order {
  width: 100%;
  margin-top: 0.75rem;
  padding: 1rem !important;
}
.iglow-shell--checkout .shop_table {
  border: 0 !important;
  width: 100%;
}
.iglow-shell--checkout .shop_table th,
.iglow-shell--checkout .shop_table td {
  border-color: #f3f4f6 !important;
  padding: 0.65rem 0 !important;
  background: transparent !important;
}

.iglow-shell--checkout .woocommerce-order {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}
.iglow-shell--checkout .iglow-shell__sub {
  margin: 0.4rem 0 0 !important;
  font-size: 0.9rem;
  color: #6b7280 !important;
  max-width: 28rem;
}
.iglow-shell--checkout .woocommerce-thankyou-order-received {
  color: #374151 !important;
  font-family: inherit;
  font-size: 1rem;
}

/* ========== MY ACCOUNT ========== */
main.iglow-shell--account {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 8rem);
  background: var(--ig-bg, #fdfbf6);
  color: #2D2D2D !important;
  display: block !important;
  clear: both;
}
body.iglow-shell--account #main-content,
body.iglow-shell--account #left-area {
  background: var(--ig-bg, #fdfbf6);
}
.iglow-shell--account .iglow-shell__topbar {
  background: var(--ig-bg, #fdfbf6);
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
}
.iglow-shell--account .iglow-shell__topbar-inner {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
}
.iglow-shell--account .iglow-shell__title {
  color: var(--ig-text, #2d2d2d) !important;
  margin: 0 !important;
}
.iglow-shell--account .iglow-shell__sub {
  margin: 0.4rem 0 0 !important;
  font-size: 0.9rem;
  color: var(--ig-muted, #8a8a8a) !important;
  max-width: 36rem;
}
.iglow-shell--account .iglow-account-logout,
.iglow-shell--account .iglow-account-shop-link {
  display: inline-flex !important;
  align-items: center;
  padding: 0.75rem 1.15rem;
  border-radius: 0;
  border: 1px solid var(--ig-text, #2d2d2d);
  color: var(--ig-text, #2d2d2d) !important;
  text-decoration: none !important;
  font-family: var(--ig-sans, sans-serif);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  flex-shrink: 0;
}
.iglow-shell--account .iglow-account-logout:hover,
.iglow-shell--account .iglow-account-shop-link:hover {
  background: var(--ig-primary, #4A6741);
  border-color: var(--ig-primary, #4A6741);
  color: #fff !important;
}

.iglow-shell--account .iglow-shell__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  box-sizing: border-box;
  width: 100%;
}

.iglow-shell--account .iglow-shell__content.woocommerce,
.iglow-shell--account .woocommerce,
body.woocommerce-account .woocommerce {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  color: #2D2D2D !important;
  box-sizing: border-box !important;
}

.iglow-shell--account .woocommerce-notices-wrapper {
  display: block !important;
  width: 100% !important;
  margin: 0 0 1rem !important;
  float: none !important;
  clear: both !important;
}

/* Explicit account layout wrapper — never rely on WC floats */
.iglow-account-layout {
  display: grid !important;
  grid-template-columns: 16rem minmax(0, 1fr) !important;
  gap: 1.5rem !important;
  align-items: start !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}
.iglow-account-layout .woocommerce-MyAccount-navigation,
.iglow-shell--account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.65rem !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12)) !important;
  border-radius: 0 !important;
  box-shadow: none;
  position: sticky;
  top: 5rem;
  writing-mode: horizontal-tb !important;
}
.iglow-account-layout .woocommerce-MyAccount-navigation ul,
.iglow-shell--account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  width: 100% !important;
}
.iglow-account-layout .woocommerce-MyAccount-navigation li,
.iglow-shell--account .woocommerce-MyAccount-navigation li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
  width: 100% !important;
  float: none !important;
  display: block !important;
}
.iglow-account-layout .woocommerce-MyAccount-navigation a,
.iglow-shell--account .woocommerce-MyAccount-navigation a {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.75rem 0.95rem !important;
  border-radius: 0 !important;
  color: #374151 !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  word-break: normal !important;
  writing-mode: horizontal-tb !important;
}
.iglow-account-layout .woocommerce-MyAccount-navigation a:hover {
  background: #f3f6f2 !important;
  color: var(--ig-primary, #4A6741) !important;
}
.iglow-account-layout .woocommerce-MyAccount-navigation .is-active a,
.iglow-account-layout .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--ig-primary, #4A6741) !important;
  color: #fff !important;
}

.iglow-account-layout__content,
.iglow-account-layout .woocommerce-MyAccount-content,
.iglow-shell--account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12)) !important;
  border-radius: 0 !important;
  padding: 1.5rem 1.6rem 1.75rem !important;
  min-height: 18rem;
  box-shadow: none;
  color: #2D2D2D !important;
}

/* Desktop only: pin nav | content columns (avoid implicit col-2 squeeze on mobile) */
@media (min-width: 901px) {
  .iglow-account-layout .woocommerce-MyAccount-navigation,
  .iglow-shell--account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-navigation {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .iglow-account-layout__content,
  .iglow-account-layout .woocommerce-MyAccount-content,
  .iglow-shell--account .woocommerce-MyAccount-content,
  body.woocommerce-account .woocommerce-MyAccount-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}

.iglow-shell--account .woocommerce-MyAccount-content p,
.iglow-shell--account .woocommerce-MyAccount-content label,
.iglow-shell--account .woocommerce-MyAccount-content td,
.iglow-shell--account .woocommerce-MyAccount-content th,
.iglow-shell--account .woocommerce-MyAccount-content li,
.iglow-shell--account .woocommerce-MyAccount-content address {
  color: #2D2D2D !important;
}
.iglow-shell--account .woocommerce-MyAccount-content a:not(.button):not(.iglow-account-dash__card) {
  color: var(--ig-primary, #4A6741) !important;
}

/* Guest login */
.iglow-account-auth {
  display: grid !important;
  gap: 1.25rem;
  margin: 0.5rem 0 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.iglow-account-auth--split {
  max-width: 56rem;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.iglow-account-auth__card {
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1.5rem 1.6rem 1.65rem;
  box-shadow: none;
}
.iglow-account-auth__head {
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
}
.iglow-account-auth__head h2 {
  margin: 0 0 0.35rem !important;
  font-family: var(--ig-serif, Georgia, serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ig-text, #2d2d2d) !important;
}
.iglow-account-auth__head p,
.iglow-account-auth__hint {
  margin: 0;
  font-size: 0.82rem;
  color: #6b7280 !important;
}
.iglow-shell--account .iglow-account-auth label,
.iglow-shell--account .iglow-account-auth p {
  color: #2D2D2D !important;
}
.iglow-account-auth__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Dashboard cards */
.iglow-account-dash {
  display: block !important;
  width: 100% !important;
}
.iglow-account-dash__hello {
  margin: 0 0 0.5rem !important;
  font-size: 1rem;
  color: #2D2D2D !important;
}
.iglow-account-dash__intro {
  margin: 0 0 1.35rem !important;
  color: #6b7280 !important;
  font-size: 0.9rem;
}
.iglow-account-dash__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.85rem !important;
  width: 100% !important;
  align-items: stretch !important;
}
.iglow-account-dash__card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.4rem !important;
  padding: 1.25rem 1.15rem !important;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12)) !important;
  border-radius: 0 !important;
  background: #fff !important;
  text-decoration: none !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
  height: auto !important;
  box-shadow: none !important;
}
.iglow-account-dash__card:hover {
  border-color: var(--ig-primary, #4A6741) !important;
  background: var(--ig-surface, #f7f3e9) !important;
}
.iglow-account-dash__card-title {
  display: block !important;
  font-family: var(--ig-serif, Georgia, serif);
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  color: var(--ig-text, #2d2d2d) !important;
  line-height: 1.3 !important;
}
.iglow-account-dash__card-desc {
  display: block !important;
  font-size: 0.875rem !important;
  color: var(--ig-muted, #8a8a8a) !important;
  line-height: 1.45 !important;
  font-weight: 300 !important;
}
.iglow-account-dash__card-cta {
  display: block !important;
  margin-top: 0.5rem !important;
  font-family: var(--ig-sans, sans-serif) !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--ig-primary, #4A6741) !important;
  font-style: normal !important;
}

.iglow-shell--account table.shop_table {
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12)) !important;
  border-radius: 0;
  overflow: hidden;
  width: 100% !important;
  float: none !important;
}
.iglow-shell--account table.shop_table th,
.iglow-shell--account table.shop_table td {
  border-color: #f3f4f6 !important;
  padding: 0.85rem !important;
  background: #fff !important;
  color: #2D2D2D !important;
}
.iglow-shell--account .woocommerce-Addresses,
.iglow-shell--account .u-columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem !important;
  float: none !important;
  width: 100% !important;
}
.iglow-shell--account .u-column1,
.iglow-shell--account .u-column2,
.iglow-shell--account .woocommerce-Address {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.iglow-shell--account .woocommerce-Address {
  background: #faf9f6;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1.15rem;
}
.iglow-shell--account fieldset {
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1rem 1.15rem;
  margin: 0 0 1.25rem;
  background: #faf9f6;
}

@media (max-width: 900px) {
  .iglow-account-layout,
  .iglow-shell--account .iglow-account-layout,
  body.woocommerce-account .iglow-account-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .iglow-account-layout .woocommerce-MyAccount-navigation,
  .iglow-shell--account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  .iglow-account-layout__content,
  .iglow-account-layout .woocommerce-MyAccount-content,
  .iglow-shell--account .woocommerce-MyAccount-content,
  body.woocommerce-account .woocommerce-MyAccount-content {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }
  .iglow-account-layout .woocommerce-MyAccount-navigation ul,
  .iglow-shell--account .woocommerce-MyAccount-navigation ul,
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    gap: 0.35rem !important;
  }
  .iglow-account-layout .woocommerce-MyAccount-navigation a,
  .iglow-shell--account .woocommerce-MyAccount-navigation a,
  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    text-align: center !important;
    padding: 0.7rem 0.5rem !important;
  }
  .iglow-account-dash__grid,
  .iglow-account-auth--split,
  .iglow-shell--account .woocommerce-Addresses,
  .iglow-shell--account .u-columns {
    grid-template-columns: 1fr !important;
  }
}

/* ---- Amazon-style order cards ---- */
.iglow-orders {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}

.iglow-order-card {
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.iglow-order-card__header {
  background: var(--ig-surface, #f7f3e9);
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  padding: 0.9rem 1.15rem;
}

.iglow-order-card__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  align-items: start;
}

.iglow-order-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.iglow-order-card__meta-block {
  font-size: 0.9rem;
  color: #1f2937;
  min-width: 0;
  word-break: break-word;
}

.iglow-order-card__meta-block--order {
  text-align: right;
}

.iglow-order-card__total {
  font-weight: 600;
  color: var(--ig-primary, #4A6741);
}

.iglow-order-card__status {
  display: inline-block;
  margin-top: 0.15rem;
  padding: 0.15rem 0.55rem;
  border-radius: 0;
  background: #eef2ea;
  color: var(--ig-primary, #4A6741);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.iglow-order-card__count {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #6b7280;
}

.iglow-order-card__body {
  padding: 1rem 1.15rem 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: start;
}

.iglow-order-card__items,
.iglow-order-details__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-width: 0;
}

.iglow-order-item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: start;
}

.iglow-order-card .iglow-order-item {
  grid-template-columns: 4.5rem minmax(0, 1fr);
}

.iglow-order-item__thumb {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0;
  overflow: hidden;
  background: var(--ig-surface, #f7f3e9);
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  flex-shrink: 0;
}

.iglow-order-item__thumb img,
.iglow-order-item__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
}

.iglow-order-item__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.iglow-order-item__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937 !important;
  text-decoration: none !important;
  line-height: 1.35;
}

a.iglow-order-item__name:hover {
  color: var(--ig-primary, #4A6741) !important;
  text-decoration: underline !important;
}

.iglow-order-item__qty,
.iglow-order-item__price {
  font-size: 0.82rem;
  color: #6b7280;
}

.iglow-order-item__price {
  font-weight: 500;
  color: #374151;
}

.iglow-order-item__total {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  text-align: right;
}

.iglow-order-item__meta {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  font-size: 0.78rem;
  color: #6b7280;
}

.iglow-order-item__meta li {
  margin: 0;
}

.iglow-order-card__actions,
.iglow-order-details__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 9.5rem;
}

.iglow-order-card__btn,
.iglow-shell--account .iglow-order-card__btn.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.9rem !important;
  border-radius: 0 !important;
  border: 1px solid #d1d5db !important;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-align: center;
  white-space: nowrap;
  box-shadow: none !important;
}

.iglow-order-card__btn:hover,
.iglow-shell--account .iglow-order-card__btn.button:hover {
  border-color: var(--ig-primary, #4A6741) !important;
  color: var(--ig-primary, #4A6741) !important;
  background: #f7f9f5 !important;
}

.iglow-order-card__btn--primary,
.iglow-shell--account .iglow-order-card__btn--primary.button {
  background: var(--ig-primary, #4A6741) !important;
  border-color: var(--ig-primary, #4A6741) !important;
  color: #fff !important;
}

.iglow-order-card__btn--primary:hover,
.iglow-shell--account .iglow-order-card__btn--primary.button:hover {
  background: #3d5636 !important;
  border-color: #3d5636 !important;
  color: #fff !important;
}

.iglow-orders__pagination {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* View order */
.iglow-view-order__header {
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.iglow-view-order__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-bottom: 0.35rem;
}

.iglow-view-order__title {
  margin: 0 !important;
  font-family: var(--ig-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(1.35rem, 3vw, 1.65rem) !important;
  font-weight: 500 !important;
  color: var(--ig-primary, #4A6741) !important;
}

.iglow-view-order__status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 0;
  background: #eef2ea;
  color: var(--ig-primary, #4A6741);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.iglow-view-order__placed {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.iglow-view-order__updates {
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: #faf9f6;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
}

.iglow-view-order__updates h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.iglow-order-details__card {
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

.iglow-order-details__title {
  margin: 0 0 1rem !important;
  font-size: 1.1rem !important;
  font-family: var(--ig-serif, "Playfair Display", Georgia, serif);
  color: var(--ig-dark, #2C3E2D) !important;
}

.iglow-order-details__totals {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.iglow-order-details__total-row,
.iglow-order-details__note {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.9rem;
}

.iglow-order-details__total-row--order_total {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid #e5e7eb;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ig-primary, #4A6741);
}

.iglow-order-details__total-label {
  color: #6b7280;
}

.iglow-order-details__actions {
  margin-top: 1.15rem;
  flex-direction: row;
  flex-wrap: wrap;
  min-width: 0;
}

.iglow-order-details__actions .iglow-order-card__btn {
  width: auto;
  min-width: 8rem;
  flex: 1 1 auto;
}

/* Shared delivery-details card (thank-you + My Account view-order) */
.iglow-customer-details {
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1.15rem 1.15rem 1.05rem;
  margin-top: 1rem;
}
.iglow-customer-details__heading {
  margin: 0 0 0.95rem !important;
  font-family: var(--ig-serif, Georgia, serif) !important;
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  color: var(--ig-primary, #4A6741) !important;
}
.iglow-customer-details__grid {
  display: grid;
  gap: 0.85rem;
}
.iglow-customer-details__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.iglow-customer-details__col {
  padding: 0.95rem 1rem;
  background: #faf9f6;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
}
.iglow-customer-details__col h3,
.iglow-customer-details .woocommerce-column__title {
  margin: 0 0 0.45rem !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af !important;
}
.iglow-customer-details address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #374151 !important;
  margin: 0;
  word-break: break-word;
}
.iglow-customer-details .woocommerce-customer-details--phone,
.iglow-customer-details .woocommerce-customer-details--email {
  margin: 0.4rem 0 0 !important;
  color: #4b5563 !important;
}

.iglow-shell--account .woocommerce-customer-details {
  margin-top: 0.25rem;
}

.iglow-shell--account .woocommerce-customer-details .addresses,
.iglow-shell--account .woocommerce-customer-details .col2-set {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  float: none !important;
  width: 100% !important;
}

.iglow-shell--account .woocommerce-customer-details .col-1,
.iglow-shell--account .woocommerce-customer-details .col-2,
.iglow-shell--account .woocommerce-customer-details .woocommerce-column {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 1rem !important;
  background: #faf9f6;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  box-sizing: border-box;
}

.iglow-shell--account .woocommerce-customer-details address {
  font-style: normal;
  line-height: 1.55;
}

.iglow-order-item--note {
  grid-template-columns: 1fr;
  padding: 0.75rem 0.9rem;
  background: #faf9f6;
  border-radius: 0;
  font-size: 0.85rem;
  color: #4b5563;
}

@media (max-width: 900px) {
  .iglow-order-card__meta {
    grid-template-columns: 1fr 1fr;
  }

  .iglow-order-card__meta-block--order {
    text-align: left;
  }

  .iglow-order-card__body {
    grid-template-columns: 1fr;
  }

  .iglow-order-card__actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .iglow-order-card__actions .iglow-order-card__btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 7.5rem;
  }

  .iglow-shell--account .woocommerce-customer-details .addresses,
  .iglow-shell--account .woocommerce-customer-details .col2-set {
    grid-template-columns: 1fr !important;
  }
}

/* ---- My Account mobile polish (login + all endpoints) ---- */
@media (max-width: 767px) {
  .iglow-shell--account {
    overflow-x: clip;
  }

  .iglow-shell--account .iglow-shell__topbar-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
    padding: 1.15rem 1rem !important;
  }

  .iglow-shell--account .iglow-shell__title {
    font-size: clamp(1.65rem, 7vw, 2rem) !important;
  }

  .iglow-shell--account .iglow-shell__sub {
    max-width: none !important;
    font-size: 0.88rem !important;
  }

  .iglow-shell--account .iglow-account-logout,
  .iglow-shell--account .iglow-account-shop-link {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 0.8rem 1rem !important;
  }

  .iglow-shell--account .iglow-shell__inner {
    padding: 1rem 0.85rem 2.5rem !important;
  }

  /* Login / register / lost password */
  .iglow-account-auth,
  .iglow-account-auth--split,
  .iglow-account-auth--single {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 1rem !important;
    grid-template-columns: 1fr !important;
  }

  .iglow-account-auth__card {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 1.15rem 1rem 1.25rem !important;
  }

  .iglow-shell--account .woocommerce form.login,
  .iglow-shell--account .woocommerce form.register,
  .iglow-shell--account .woocommerce-form-login,
  .iglow-shell--account .woocommerce-form-register,
  .iglow-shell--account .woocommerce-ResetPassword,
  .iglow-shell--account .lost_reset_password,
  .iglow-account-auth form,
  .iglow-shell--account .woocommerce-EditAccountForm,
  .iglow-shell--account .woocommerce-address-fields,
  .iglow-shell--account form.woocommerce-EditAccountForm,
  .iglow-shell--account form.edit-account {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  .iglow-shell--account .iglow-account-auth .form-row,
  .iglow-shell--account .iglow-account-auth .woocommerce-form-row,
  .iglow-shell--account .woocommerce-form-row,
  .iglow-shell--account .form-row,
  .iglow-shell--account .form-row-wide,
  .iglow-shell--account .form-row-first,
  .iglow-shell--account .form-row-last,
  .iglow-shell--account .woocommerce-form-row--wide,
  .iglow-shell--account .woocommerce-form-row--first,
  .iglow-shell--account .woocommerce-form-row--last {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: both !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .iglow-shell--account input.input-text,
  .iglow-shell--account textarea,
  .iglow-shell--account select,
  .iglow-shell--account .woocommerce-Input,
  .iglow-shell--account .woocommerce-Input--text,
  .iglow-shell--account .select2-container,
  .iglow-account-auth input[type="text"],
  .iglow-account-auth input[type="email"],
  .iglow-account-auth input[type="password"],
  .iglow-account-auth input[type="tel"],
  .iglow-account-auth select,
  .iglow-account-auth textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
  }

  .iglow-shell--account .select2-container {
    display: block !important;
  }

  .iglow-shell--account .password-input,
  .iglow-account-auth .password-input {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    position: relative !important;
  }

  .iglow-shell--account .password-input input {
    width: 100% !important;
    padding-right: 2.75rem !important;
  }

  .iglow-account-auth__actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .iglow-account-auth__actions .button,
  .iglow-account-auth .woocommerce-button,
  .iglow-account-auth button[type="submit"],
  .iglow-shell--account .woocommerce-MyAccount-content .button,
  .iglow-shell--account .woocommerce-Button,
  .iglow-shell--account .woocommerce-button,
  .iglow-shell--account button[type="submit"],
  .iglow-shell--account .woocommerce-Address-title .edit {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  /* Logged-in nav: 2-col sharp grid (DESIGN.md — no radius, no chip scroll) */
  .iglow-account-layout {
    gap: 0.85rem !important;
  }

  .iglow-account-layout .woocommerce-MyAccount-navigation,
  .iglow-shell--account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-navigation {
    padding: 0.65rem !important;
    border-radius: 0 !important;
    position: static !important;
    z-index: auto !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .iglow-account-layout .woocommerce-MyAccount-navigation ul,
  .iglow-shell--account .woocommerce-MyAccount-navigation ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    overflow: visible !important;
    gap: 0.35rem !important;
    padding-bottom: 0 !important;
  }

  .iglow-account-layout .woocommerce-MyAccount-navigation li {
    width: auto !important;
    flex: unset !important;
    min-width: 0 !important;
  }

  .iglow-account-layout .woocommerce-MyAccount-navigation a {
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.7rem 0.5rem !important;
    font-size: 0.6875rem !important;
    letter-spacing: 0.1em !important;
    border-radius: 0 !important;
  }

  .iglow-account-layout__content,
  .iglow-account-layout .woocommerce-MyAccount-content,
  .iglow-shell--account .woocommerce-MyAccount-content {
    padding: 1.1rem 1rem 1.25rem !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
  }

  .iglow-account-dash__grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .iglow-account-dash__card {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Addresses */
  .iglow-shell--account .woocommerce-Addresses,
  .iglow-shell--account .u-columns,
  .iglow-shell--account .col2-set {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    float: none !important;
    width: 100% !important;
  }

  .iglow-shell--account .woocommerce-Address,
  .iglow-shell--account fieldset {
    padding: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .iglow-shell--account .woocommerce-Address-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }

  .iglow-shell--account .woocommerce-Address-title h3 {
    margin: 0 !important;
  }

  /* Responsive account tables → stacked cards (downloads, payment methods — NOT Amazon order cards) */
  .iglow-shell--account table.shop_table_responsive:not(.order_details) thead,
  .iglow-shell--account table.woocommerce-MyAccount-paymentMethods thead,
  .iglow-shell--account table.woocommerce-table--order-downloads thead,
  .iglow-shell--account .woocommerce-MyAccount-content table.shop_table:not(.order_details):not(.woocommerce-orders-table) thead {
    display: none !important;
  }

  .iglow-shell--account table.shop_table_responsive:not(.order_details),
  .iglow-shell--account table.woocommerce-MyAccount-paymentMethods,
  .iglow-shell--account table.woocommerce-table--order-downloads {
    display: block !important;
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
  }

  .iglow-shell--account table.shop_table_responsive:not(.order_details) tbody,
  .iglow-shell--account table.woocommerce-MyAccount-paymentMethods tbody,
  .iglow-shell--account table.woocommerce-table--order-downloads tbody {
    display: block !important;
    width: 100% !important;
  }

  .iglow-shell--account table.shop_table_responsive:not(.order_details) tr,
  .iglow-shell--account table.woocommerce-MyAccount-paymentMethods tr,
  .iglow-shell--account table.woocommerce-table--order-downloads tr {
    display: block !important;
    width: 100% !important;
    margin: 0 0 0.85rem !important;
    padding: 0.85rem 1rem !important;
    border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12)) !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  .iglow-shell--account table.shop_table_responsive:not(.order_details) th,
  .iglow-shell--account table.shop_table_responsive:not(.order_details) td,
  .iglow-shell--account table.woocommerce-MyAccount-paymentMethods th,
  .iglow-shell--account table.woocommerce-MyAccount-paymentMethods td,
  .iglow-shell--account table.woocommerce-table--order-downloads th,
  .iglow-shell--account table.woocommerce-table--order-downloads td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    border: 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    padding: 0.55rem 0 !important;
    text-align: right !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  .iglow-shell--account table.shop_table_responsive:not(.order_details) tr td:last-child,
  .iglow-shell--account table.woocommerce-MyAccount-paymentMethods tr td:last-child,
  .iglow-shell--account table.woocommerce-table--order-downloads tr td:last-child {
    border-bottom: 0 !important;
  }

  .iglow-shell--account table.shop_table_responsive:not(.order_details) td::before,
  .iglow-shell--account table.woocommerce-MyAccount-paymentMethods td::before,
  .iglow-shell--account table.woocommerce-table--order-downloads td::before {
    content: attr(data-title) !important;
    float: none !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    text-align: left !important;
    flex: 0 1 42% !important;
  }

  /* Amazon order cards — mobile */
  .iglow-order-card__header {
    padding: 0.85rem 1rem !important;
  }

  .iglow-order-card__meta {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  .iglow-order-card__body {
    padding: 0.95rem 1rem 1.05rem !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .iglow-order-item {
    grid-template-columns: 3.75rem minmax(0, 1fr) !important;
    gap: 0.75rem !important;
  }

  .iglow-order-details .iglow-order-item {
    grid-template-columns: 3.75rem minmax(0, 1fr) !important;
  }

  .iglow-order-details .iglow-order-item__total {
    grid-column: 2;
    text-align: left;
    margin-top: 0.15rem;
  }

  .iglow-order-item__thumb {
    width: 3.75rem !important;
    height: 3.75rem !important;
  }

  .iglow-order-card__actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .iglow-order-card__actions .iglow-order-card__btn {
    flex: 1 1 auto !important;
    width: 100% !important;
  }

  .iglow-order-details__card {
    padding: 1rem !important;
  }

  .iglow-order-details__actions {
    flex-direction: column !important;
  }

  .iglow-order-details__actions .iglow-order-card__btn {
    width: 100% !important;
  }

  .iglow-view-order__title-row {
    flex-direction: column;
    align-items: flex-start !important;
  }

  /* View order addresses */
  .iglow-customer-details__grid--two,
  .iglow-shell--account .woocommerce-customer-details .woocommerce-columns,
  .iglow-shell--account .woocommerce-customer-details .col2-set,
  .iglow-shell--account .woocommerce-customer-details .addresses {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .iglow-shell--account .order-again {
    display: block !important;
    width: 100% !important;
  }

  .iglow-shell--account .order-again .button {
    width: 100% !important;
  }

  /* Payment methods */
  .iglow-shell--account .woocommerce-PaymentMethod,
  .iglow-shell--account .woocommerce-PaymentBox,
  .iglow-shell--account .payment_methods {
    width: 100% !important;
  }

  .iglow-shell--account .woocommerce-MyAccount-content .woocommerce-pagination,
  .iglow-orders__pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    justify-content: center !important;
  }
}

/* ---- shared notices + cart/checkout readability (kept) ---- */
/* Divi forces .woocommerce-message/info/error { color:#fff !important }
   on a blue bar. We use light notice cards — so we MUST override text to dark
   or messages are invisible on cart / checkout. */
.iglow-shell .woocommerce-message,
.iglow-shell .woocommerce-info,
.iglow-shell .woocommerce-error,
.iglow-shell .woocommerce-NoticeGroup .woocommerce-message,
.iglow-shell .woocommerce-NoticeGroup .woocommerce-info,
.iglow-shell .woocommerce-NoticeGroup .woocommerce-error,
.iglow-shell .woocommerce-notices-wrapper .woocommerce-message,
.iglow-shell .woocommerce-notices-wrapper .woocommerce-info,
.iglow-shell .woocommerce-notices-wrapper .woocommerce-error {
  border-radius: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-top: 1px solid #e5e7eb !important;
  border-left: 3px solid var(--ig-primary, #4A6741) !important;
  background: #f9fafb !important;
  list-style: none !important;
  color: #1f2937 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
  padding: 0.95rem 1.1rem !important;
}
.iglow-shell .woocommerce-error {
  border-left-color: #dc2626 !important;
  background: #fef2f2 !important;
  color: #7f1d1d !important;
}
.iglow-shell .woocommerce-message {
  border-left-color: #059669 !important;
  background: #ecfdf5 !important;
  color: #064e3b !important;
}
.iglow-shell .woocommerce-info {
  border-left-color: var(--ig-primary, #4A6741) !important;
  background: #f3f6f2 !important;
  color: #1f2937 !important;
}
.iglow-shell .woocommerce-message a,
.iglow-shell .woocommerce-info a,
.iglow-shell .woocommerce-error a,
.iglow-shell .woocommerce-message a:visited,
.iglow-shell .woocommerce-info a:visited,
.iglow-shell .woocommerce-error a:visited {
  color: var(--ig-primary, #4A6741) !important;
  text-decoration: underline;
  font-weight: 600;
}
.iglow-shell .woocommerce-message a.button,
.iglow-shell .woocommerce-info a.button,
.iglow-shell .woocommerce-error a.button,
.iglow-shell .woocommerce-message a.button.wc-forward,
.iglow-shell .woocommerce-info a.button.wc-forward {
  background: var(--ig-primary, #4A6741) !important;
  color: #fff !important;
  text-decoration: none !important;
  border: 0 !important;
  border-radius: 0.25rem !important;
  padding: 0.45rem 0.85rem !important;
  font-size: 0.8rem !important;
  display: inline-block;
  margin-left: 0.5rem;
}
.iglow-shell .woocommerce-message::before,
.iglow-shell .woocommerce-info::before,
.iglow-shell .woocommerce-error::before {
  display: none !important;
}

/* Keep cart/checkout body copy readable if Divi bleaches section text */
main.iglow-shell--cart,
main.iglow-shell--checkout {
  color: #2D2D2D !important;
}
.iglow-shell--cart .woocommerce,
.iglow-shell--checkout .woocommerce,
.iglow-shell--cart .iglow-shell__content,
.iglow-shell--checkout .iglow-shell__content,
.iglow-shell--cart form.woocommerce-cart-form,
.iglow-shell--checkout form.checkout {
  color: #2D2D2D !important;
}
.iglow-shell--cart .woocommerce p:not(.button):not(.woocommerce-message):not(.woocommerce-info):not(.woocommerce-error),
.iglow-shell--checkout .woocommerce p:not(.button),
.iglow-shell--cart .iglow-shell__content p:not(.button):not(.woocommerce-message):not(.woocommerce-info):not(.woocommerce-error),
.iglow-shell--checkout .iglow-shell__content p:not(.button),
.iglow-shell--cart .woocommerce label,
.iglow-shell--checkout .woocommerce label,
.iglow-shell--cart .iglow-shell__content label,
.iglow-shell--checkout .iglow-shell__content label,
.iglow-shell--cart .woocommerce th,
.iglow-shell--checkout .woocommerce th,
.iglow-shell--cart .iglow-shell__content th,
.iglow-shell--checkout .iglow-shell__content th,
.iglow-shell--cart .woocommerce td,
.iglow-shell--checkout .woocommerce td,
.iglow-shell--cart .iglow-shell__content td,
.iglow-shell--checkout .iglow-shell__content td,
.iglow-shell--cart .woocommerce li,
.iglow-shell--checkout .woocommerce li,
.iglow-shell--cart .iglow-shell__content li,
.iglow-shell--checkout .iglow-shell__content li,
.iglow-shell--cart .woocommerce-shipping-destination,
.iglow-shell--checkout .woocommerce-shipping-destination,
.iglow-shell--cart .cart-empty,
.iglow-shell--cart .return-to-shop {
  color: #2D2D2D !important;
}
.iglow-shell--cart .iglow-ship-banner__text,
.iglow-shell--cart .iglow-ship-banner__text strong,
.iglow-shell--cart .iglow-ship-banner__amt {
  color: #1f2937 !important;
}
.iglow-shell--cart .iglow-ship-banner__text--ok {
  color: #047857 !important;
}
.iglow-shell--cart .iglow-order-summary th {
  color: #6b7280 !important;
}
.iglow-shell--cart .iglow-order-summary td {
  color: #1f2937 !important;
}
/* Preserve intentional white text on green controls (commerce content only) */
.iglow-shell--cart .woocommerce .button,
.iglow-shell--checkout .woocommerce .button,
.iglow-shell--cart .woocommerce a.button,
.iglow-shell--checkout .woocommerce a.button,
.iglow-shell--cart .iglow-shell__content .button,
.iglow-shell--checkout .iglow-shell__content .button,
.iglow-shell--cart .iglow-shell__content a.button,
.iglow-shell--checkout .iglow-shell__content a.button,
.iglow-shell--cart form.checkout .button,
.iglow-shell--checkout form.checkout .button,
.iglow-shell--cart #place_order,
.iglow-shell--checkout #place_order,
.iglow-shell--cart .iglow-steps__item.is-active .iglow-steps__num,
.iglow-shell--cart .iglow-steps__item.is-done .iglow-steps__num,
.iglow-shell--checkout .iglow-steps__item.is-active .iglow-steps__num,
.iglow-shell--checkout .iglow-steps__item.is-done .iglow-steps__num,
.iglow-shell--checkout .iglow-checkout-step__num,
.iglow-shell--checkout .iglow-checkout-sticky__btn {
  color: #fff !important;
}
.iglow-shell--cart .button[name="update_cart"],
.iglow-shell--cart .button[name="apply_coupon"] {
  color: var(--ig-primary, #4A6741) !important;
}
.iglow-shell--cart .button[name="update_cart"]:hover,
.iglow-shell--cart .button[name="apply_coupon"]:hover {
  color: #fff !important;
}

@media (max-width: 900px) {
  .iglow-shell__topbar-inner { align-items: flex-start; }
  .iglow-shell--cart .iglow-shell__content.woocommerce,
  .iglow-shell--cart .woocommerce,
  .iglow-checkout-layout,
  .iglow-account-layout,
  .iglow-shell--account .u-columns,
  .iglow-shell--account .woocommerce-Addresses,
  .iglow-account-auth--split,
  .iglow-account-dash__grid {
    grid-template-columns: 1fr !important;
  }
  .iglow-shell--cart .cart-collaterals,
  .iglow-shell--cart .iglow-cart-aside,
  .iglow-checkout-aside {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }
  .iglow-cart-item { flex-direction: column; }
  .iglow-account-layout .woocommerce-MyAccount-navigation,
  .iglow-shell--account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  .iglow-account-layout__content,
  .iglow-account-layout .woocommerce-MyAccount-content,
  .iglow-shell--account .woocommerce-MyAccount-content,
  body.woocommerce-account .woocommerce-MyAccount-content {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }
}

/* ---- Cart / Checkout phone polish ---- */
@media (max-width: 767px) {
  .iglow-shell--cart,
  .iglow-shell--checkout {
    overflow-x: clip;
  }

  .iglow-shell--cart .iglow-shell__inner,
  .iglow-shell--checkout .iglow-shell__inner {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .iglow-shell--cart .iglow-shell__topbar-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
    padding-top: 0.25rem !important;
  }

  .iglow-shell--cart .iglow-shell__title,
  .iglow-shell--checkout .iglow-shell__title {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
  }

  .iglow-shell--cart .iglow-steps,
  .iglow-shell--checkout .iglow-steps {
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    width: 100%;
    justify-content: flex-start;
  }

  .iglow-shell--cart .iglow-steps__rule,
  .iglow-shell--checkout .iglow-steps__rule {
    display: none;
  }

  .iglow-shell--cart .woocommerce,
  .iglow-shell--cart .iglow-shell__content.woocommerce {
    gap: 1rem !important;
  }

  .iglow-cart-panel__head {
    padding: 0.85rem 1rem;
    font-size: 0.65rem;
  }

  .iglow-cart-item {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.85rem !important;
    padding: 1rem !important;
  }

  .iglow-cart-item__media img {
    width: 4.5rem !important;
    height: 4.5rem !important;
  }

  .iglow-cart-item__body {
    flex: 1 1 calc(100% - 5.5rem);
    min-width: 0;
  }

  .iglow-cart-item__name a {
    font-size: 0.95rem !important;
  }

  .iglow-cart-item__bottom {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .iglow-cart-actions {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem;
    padding: 0.9rem;
  }

  .iglow-cart-actions .coupon {
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
    flex: 1 1 auto;
  }

  .iglow-cart-actions .coupon #coupon_code {
    max-width: none !important;
    width: 100% !important;
    font-size: 16px !important;
  }

  .iglow-cart-actions .coupon .button,
  .iglow-cart-actions .button[name="update_cart"],
  .iglow-shell--cart .wc-proceed-to-checkout .checkout-button,
  .iglow-shell--cart .checkout-button {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .iglow-cart-gift {
    padding: 1rem;
  }

  .iglow-cart-gift textarea {
    font-size: 16px !important;
  }

  .iglow-shell--cart .iglow-cart-aside,
  .iglow-shell--cart .cart_totals,
  .iglow-shell--cart .iglow-order-summary {
    width: 100% !important;
    max-width: none !important;
  }

  .iglow-shell--cart .shipping-calculator-form .form-row,
  .iglow-shell--cart .shipping-calculator-form .form-row-wide,
  .iglow-shell--cart .shipping-calculator-form .form-row-first,
  .iglow-shell--cart .shipping-calculator-form .form-row-last {
    width: 100% !important;
    float: none !important;
    margin: 0 0 0.75rem !important;
  }

  .iglow-shell--cart .shipping-calculator-form input.input-text,
  .iglow-shell--cart .shipping-calculator-form select,
  .iglow-shell--cart .shipping-calculator-form .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  .iglow-shell--cart select.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
  }

  .iglow-shell--cart #shipping_method label {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 0.35rem 0.5rem !important;
    line-height: 1.4 !important;
  }

  .iglow-ship-banner {
    padding: 1rem !important;
  }

  .iglow-ship-banner__row {
    flex-direction: column;
    gap: 0.35rem;
  }
}
