/* iGlow Secure Checkout — readable + WC-compatible shipping/payment */

/* Prefer <main> shell; when class is on body (Divi shortcode mode), only tint content areas */
main.iglow-shell--checkout {
  width: 100%;
  max-width: none;
  background: var(--ig-bg, #fdfbf6);
  color: #2D2D2D !important;
}
body.iglow-shell--checkout #main-content,
body.iglow-shell--checkout #left-area,
body.iglow-shell--checkout .entry-content {
  background: var(--ig-bg, #fdfbf6);
}
.iglow-shell--checkout .iglow-shell__topbar { background: var(--ig-bg, #fdfbf6); }
.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;
  color: #2D2D2D !important;
}

/* Force readable text against Divi overrides.
   Scope to Woo/checkout content — body also gets .iglow-shell--checkout for Divi shortcode mode. */
.iglow-shell--checkout .woocommerce,
.iglow-shell--checkout .woocommerce p,
.iglow-shell--checkout .woocommerce span:not(.iglow-checkout-step__num),
.iglow-shell--checkout .woocommerce label,
.iglow-shell--checkout .woocommerce th,
.iglow-shell--checkout .woocommerce td,
.iglow-shell--checkout .woocommerce li,
.iglow-shell--checkout form.checkout,
.iglow-shell--checkout form.checkout p,
.iglow-shell--checkout form.checkout span:not(.iglow-checkout-step__num),
.iglow-shell--checkout form.checkout label,
.iglow-shell--checkout form.checkout th,
.iglow-shell--checkout form.checkout td,
.iglow-shell--checkout form.checkout li,
.iglow-shell--checkout .iglow-shell__content,
.iglow-shell--checkout .iglow-shell__content p,
.iglow-shell--checkout .iglow-shell__content span:not(.iglow-checkout-step__num),
.iglow-shell--checkout .iglow-shell__content label,
.iglow-shell--checkout .iglow-shell__content th,
.iglow-shell--checkout .iglow-shell__content td,
.iglow-shell--checkout .iglow-shell__content li {
  color: #2D2D2D;
}
.iglow-shell--checkout .woocommerce a:not(.button):not(.checkout-button):not(.et_pb_button),
.iglow-shell--checkout form.checkout a:not(.button):not(.checkout-button):not(.et_pb_button),
.iglow-shell--checkout .iglow-shell__content a:not(.button):not(.checkout-button):not(.et_pb_button) {
  color: var(--ig-primary, #4A6741) !important;
}
.iglow-shell--checkout .woocommerce .form-row label,
.iglow-shell--checkout form.checkout .form-row label,
.iglow-shell--checkout .woocommerce label,
.iglow-shell--checkout form.checkout label,
.iglow-shell--checkout .iglow-shell__content .form-row label,
.iglow-shell--checkout .iglow-shell__content label {
  color: #374151 !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}
.iglow-shell--checkout .woocommerce .required,
.iglow-shell--checkout form.checkout .required { color: #b91c1c !important; }
.iglow-shell--checkout .woocommerce input.input-text,
.iglow-shell--checkout .woocommerce textarea,
.iglow-shell--checkout .woocommerce select,
.iglow-shell--checkout form.checkout input.input-text,
.iglow-shell--checkout form.checkout textarea,
.iglow-shell--checkout form.checkout select {
  color: #111827 !important;
  background: #fff !important;
  border-color: #d1d5db !important;
  opacity: 1 !important;
}

/* Select2 country/state — keep selected value centered inside the box */
.iglow-shell--checkout .select2-container {
  width: 100% !important;
  max-width: 100% !important;
}

/* Prevent Select2’s visually-hidden <select> from widening the page on mobile */
.iglow-shell--checkout select.select2-hidden-accessible,
.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;
  left: 0 !important;
  top: 0 !important;
}
.iglow-shell--checkout .select2-container .select2-selection--single {
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12)) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}
.iglow-shell--checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #111827 !important;
  line-height: 1.25 !important;
  padding: 0 2rem 0 0.85rem !important;
  margin: 0 !important;
  font-size: 0.875rem !important;
  width: 100%;
  box-sizing: border-box;
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.iglow-shell--checkout .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #9ca3af !important;
  line-height: 1.25 !important;
}
.iglow-shell--checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  right: 0.35rem !important;
  width: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.iglow-shell--checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
  margin: 0 !important;
  position: static !important;
  border-color: #6b7280 transparent transparent transparent !important;
}
.iglow-shell--checkout .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #6b7280 transparent !important;
}

/* Dropdown list: above sticky panels, not clipped */
.iglow-shell--checkout .iglow-checkout-card,
.iglow-shell--checkout .form-row,
.iglow-shell--checkout .woocommerce-input-wrapper,
.iglow-shell--checkout #customer_details,
.iglow-shell--checkout .woocommerce-billing-fields,
.iglow-shell--checkout .woocommerce-shipping-fields {
  overflow: visible !important;
}
.select2-container--open {
  z-index: 100060 !important;
}
.select2-dropdown {
  z-index: 100061 !important;
  border-color: #d1d5db !important;
  border-radius: 0.25rem !important;
  overflow: hidden;
}
.select2-container--default .select2-results__option {
  color: #111827 !important;
  font-size: 0.875rem !important;
  padding: 0.55rem 0.85rem !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: var(--ig-primary, #4A6741) !important;
  color: #fff !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #d1d5db !important;
  border-radius: 0.25rem !important;
  padding: 0.5rem 0.65rem !important;
  color: #111827 !important;
}

.iglow-shell--checkout .woocommerce ::placeholder,
.iglow-shell--checkout form.checkout ::placeholder,
.iglow-shell--checkout .iglow-shell__content ::placeholder { color: #9ca3af !important; opacity: 1 !important; }

/* Login — quiet inline prompt */
.iglow-checkout-login { margin: 0 0 1rem; }
.iglow-checkout-login__banner {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.iglow-checkout-login__prompt {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563 !important;
}
.iglow-checkout-login__link,
.iglow-checkout-login__toggle {
  display: inline !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 0 0.25rem !important;
  color: var(--ig-primary, #4A6741) !important;
  font-weight: 600 !important;
  font-size: inherit !important;
  text-decoration: underline !important;
  cursor: pointer;
  box-shadow: none !important;
}
.iglow-checkout-login__panel[hidden] { display: none !important; }
.iglow-checkout-login__panel.is-open { display: block; }
.iglow-checkout-login form.woocommerce-form-login {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin: 0.75rem 0 1rem;
  color: #2D2D2D !important;
  display: block !important;
}
.iglow-shell--checkout form.checkout_coupon {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin: 0.75rem 0 1rem;
  color: #2D2D2D !important;
  /* Let WooCommerce toggle visibility — do not force display:block */
}
.iglow-checkout-login form.woocommerce-form-login p,
.iglow-checkout-login form.woocommerce-form-login label {
  color: #2D2D2D !important;
}
.iglow-checkout-coupon-toggle {
  margin: 0 0 1rem !important;
}

.iglow-checkout-must-login {
  max-width: 32rem;
  margin: 2rem auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 2rem;
}
.iglow-checkout-must-login h2 {
  font-family: var(--ig-serif, Georgia, serif);
  color: var(--ig-primary, #4A6741);
  margin-top: 0;
}
.iglow-checkout-must-login__hint { font-size: 0.8rem; color: #6b7280; }

.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.35fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}

.iglow-checkout-card {
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1.35rem 1.5rem 1.5rem;
  box-shadow: none;
}
.iglow-checkout-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
}
.iglow-checkout-card__head h2,
.iglow-checkout-card__head h3,
.iglow-shell--checkout #order_review_heading {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: var(--ig-serif, Georgia, serif) !important;
  font-weight: 500 !important;
  font-size: 1.2rem !important;
  color: var(--ig-primary, #4A6741) !important;
}
.iglow-checkout-step__num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0;
  background: var(--ig-primary, #4A6741);
  color: #fff !important;
  font-family: var(--ig-sans, sans-serif);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.iglow-checkout-card__hint,
.iglow-checkout-aside__lead {
  font-size: 0.78rem;
  color: #6b7280 !important;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.iglow-shell--checkout #customer_details.col2-set {
  width: 100% !important;
  float: none !important;
  display: block !important;
}
.iglow-shell--checkout #customer_details .col-1,
.iglow-shell--checkout #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
}
.iglow-shell--checkout .woocommerce-billing-fields > h3,
.iglow-shell--checkout .woocommerce-shipping-fields > h3,
.iglow-shell--checkout .woocommerce-additional-fields > h3,
.iglow-shell--checkout #ship-to-different-address {
  font-family: var(--ig-serif, Georgia, serif) !important;
  font-weight: 500 !important;
  font-size: 1.05rem !important;
  color: #2C3E2D !important;
  margin: 0 0 1rem !important;
}
.iglow-shell--checkout #ship-to-different-address label {
  color: #2C3E2D !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.iglow-shell--checkout .woocommerce-account-fields {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}
.iglow-create-account-toggle {
  margin: 0 !important;
}
.iglow-create-account-toggle .woocommerce-form__label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 600 !important;
  color: #1f2937 !important;
  cursor: pointer;
}
.iglow-create-account-toggle__hint {
  display: block;
  margin: 0.35rem 0 0 1.5rem;
  font-size: 0.78rem;
  color: #6b7280 !important;
  line-height: 1.4;
  font-weight: 400;
}
.iglow-shell--checkout .woocommerce-account-fields .create-account.iglow-create-account-fields,
.iglow-shell--checkout .woocommerce-account-fields > .create-account:not(.form-row) {
  display: none !important;
  margin-top: 0.85rem;
}
.iglow-shell--checkout .woocommerce-account-fields.is-open .create-account.iglow-create-account-fields,
.iglow-shell--checkout .woocommerce-account-fields:has(#createaccount:checked) .create-account.iglow-create-account-fields,
.iglow-shell--checkout .woocommerce-account-fields.is-open > .create-account:not(.form-row),
.iglow-shell--checkout .woocommerce-account-fields:has(#createaccount:checked) > .create-account:not(.form-row) {
  display: block !important;
}
.iglow-shell--checkout .create-account label,
.iglow-shell--checkout .woocommerce-account-fields label {
  color: #2D2D2D !important;
}
.iglow-shell--checkout .woocommerce-account-fields.is-open .create-account .form-row,
.iglow-shell--checkout .woocommerce-account-fields:has(#createaccount:checked) #account_password_field,
.iglow-shell--checkout .woocommerce-account-fields.is-open #account_password_field,
.iglow-shell--checkout .woocommerce-account-fields:has(#createaccount:checked) .woocommerce-password-strength,
.iglow-shell--checkout .woocommerce-account-fields.is-open .woocommerce-password-strength,
.iglow-shell--checkout .woocommerce-account-fields:has(#createaccount:checked) .woocommerce-password-hint,
.iglow-shell--checkout .woocommerce-account-fields.is-open .woocommerce-password-hint {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
.iglow-shell--checkout .woocommerce-account-fields.is-open #account_password,
.iglow-shell--checkout .woocommerce-account-fields:has(#createaccount:checked) #account_password,
.iglow-shell--checkout .woocommerce-account-fields.is-open input[name="account_password"],
.iglow-shell--checkout .woocommerce-account-fields:has(#createaccount:checked) input[name="account_password"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  min-height: 2.6rem !important;
}

.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;
  width: 100% !important;
  float: none !important;
}

.iglow-shell--checkout .woocommerce-checkout-review-order-table {
  width: 100% !important;
  border: 0 !important;
  margin: 0 0 1.25rem !important;
}
.iglow-shell--checkout .woocommerce-checkout-review-order-table th,
.iglow-shell--checkout .woocommerce-checkout-review-order-table td {
  border-color: #f3f4f6 !important;
  padding: 0.75rem 0 !important;
  background: transparent !important;
  color: #2D2D2D !important;
  font-size: 0.875rem !important;
  vertical-align: top;
}
.iglow-shell--checkout .woocommerce-checkout-review-order-table thead th {
  font-size: 0.7rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280 !important;
}
.iglow-shell--checkout .woocommerce-checkout-review-order-table .order-total th,
.iglow-shell--checkout .woocommerce-checkout-review-order-table .order-total td {
  font-family: var(--ig-serif, Georgia, serif);
  font-size: 1.15rem !important;
  color: var(--ig-primary, #4A6741) !important;
  border-top: 1px solid #e5e7eb !important;
  padding-top: 1rem !important;
}

/* Checkout line items with thumbnails */
.iglow-checkout-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.iglow-checkout-item__thumb {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
}
.iglow-checkout-item__thumb a {
  display: block;
  line-height: 0;
}
.iglow-checkout-item__thumb img,
.iglow-checkout-item__img {
  width: 3.5rem !important;
  height: 3.5rem !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-checkout-item__info {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}
.iglow-checkout-item__name {
  display: block;
  font-weight: 500;
  color: #2D2D2D;
}
.iglow-checkout-item .product-quantity {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 400;
  margin-top: 0.15rem;
}
.iglow-shell--checkout .woocommerce-checkout-review-order-table tbody td.product-name {
  padding-right: 0.5rem !important;
}
.iglow-shell--checkout .woocommerce-checkout-review-order-table tbody td.product-total {
  text-align: right !important;
  white-space: nowrap;
  vertical-align: top;
  padding-top: 0.85rem !important;
}

/* Shipping method cards — where users select delivery */
.iglow-shell--checkout tr.iglow-shipping-row th {
  display: block;
  width: 100% !important;
  padding-bottom: 0.35rem !important;
  font-weight: 700 !important;
  color: var(--ig-primary, #4A6741) !important;
  font-size: 0.95rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.iglow-shell--checkout tr.iglow-shipping-row td {
  display: block;
  width: 100% !important;
  text-align: left !important;
}
.iglow-shipping-row__intro {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: #4b5563 !important;
  font-weight: 400 !important;
}
.iglow-shipping-row__dest {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: #6b7280 !important;
}
.iglow-checkout-section-title {
  margin: 1.25rem 0 0.25rem !important;
  font-family: var(--ig-serif, Georgia, serif);
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: var(--ig-primary, #4A6741) !important;
}
.iglow-checkout-section-help {
  margin: 0 0 0.85rem !important;
  font-size: 0.78rem !important;
  color: #6b7280 !important;
  font-weight: 400 !important;
}
.iglow-shell--checkout #shipping_method,
.iglow-shell--checkout .iglow-shipping-methods {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 0.55rem !important;
}
.iglow-shell--checkout #shipping_method li {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 !important;
  padding: 0.9rem 1rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.45rem !important;
  background: #fff !important;
  cursor: pointer;
  position: relative;
}
.iglow-shell--checkout #shipping_method li.is-selected,
.iglow-shell--checkout #shipping_method li:has(input:checked) {
  border-color: var(--ig-primary, #4A6741) !important;
  background: rgba(74, 103, 65, 0.06) !important;
  box-shadow: 0 0 0 1px var(--ig-primary, #4A6741);
}
.iglow-shell--checkout #shipping_method input.shipping_method,
.iglow-shell--checkout .wc_payment_method input[name="payment_method"] {
  appearance: auto !important;
  -webkit-appearance: radio !important;
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-width: 1.05rem;
  margin: 0.2rem 0 0 !important;
  flex-shrink: 0;
  cursor: pointer;
  pointer-events: auto !important;
  opacity: 1 !important;
  position: static !important;
  accent-color: var(--ig-primary, #4A6741);
}
.iglow-shell--checkout #shipping_method label {
  color: #111827 !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  line-height: 1.35;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  pointer-events: auto !important;
}
.iglow-shipping-methods__carrier {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280 !important;
}
.iglow-shipping-methods__label {
  color: #111827 !important;
}
.iglow-shell--checkout #shipping_method .amount,
.iglow-shell--checkout #shipping_method .woocommerce-Price-amount {
  color: var(--ig-primary, #4A6741) !important;
  font-weight: 700 !important;
}
.iglow-shipping-empty {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 0.45rem;
  padding: 1rem;
  color: #374151 !important;
  font-size: 0.85rem;
}
.iglow-shipping-empty strong { color: #111827 !important; display: block; margin-bottom: 0.35rem; }
.iglow-shipping-empty p { margin: 0.35rem 0 0; color: #6b7280 !important; font-size: 0.8rem; }
.iglow-shipping-empty--warn {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412 !important;
}

.iglow-shell--checkout .woocommerce-checkout-payment {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.iglow-shell--checkout .wc_payment_methods {
  list-style: none !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  display: grid;
  gap: 0.55rem;
}
.iglow-shell--checkout .wc_payment_method {
  margin: 0 !important;
  padding: 0.9rem 1rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.45rem !important;
  background: #fff !important;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.65rem;
  align-items: start;
}
.iglow-shell--checkout .wc_payment_method.is-selected,
.iglow-shell--checkout .wc_payment_method:has(input:checked) {
  border-color: var(--ig-primary, #4A6741) !important;
  background: rgba(74, 103, 65, 0.06) !important;
  box-shadow: 0 0 0 1px var(--ig-primary, #4A6741);
}
.iglow-shell--checkout .wc_payment_method > label {
  color: #111827 !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  cursor: pointer;
  pointer-events: auto !important;
}
.iglow-shell--checkout .wc_payment_method .payment_box {
  grid-column: 1 / -1;
}
.iglow-shell--checkout .payment_box {
  background: #f9fafb !important;
  border-radius: 0.35rem;
  margin-top: 0.65rem;
  color: #374151 !important;
  font-size: 0.8rem !important;
}
.iglow-shell--checkout .payment_box p { color: #374151 !important; }
.iglow-shell--checkout #place_order {
  width: 100%;
  margin-top: 0.85rem;
  padding: 1rem !important;
  font-size: 0.95rem !important;
}
.iglow-shell--checkout .woocommerce-terms-and-conditions-wrapper,
.iglow-shell--checkout .woocommerce-privacy-policy-text {
  color: #4b5563 !important;
  font-size: 0.8rem;
}

/* Beat Divi's color:#fff !important on WC notices */
.iglow-shell--checkout .woocommerce-info,
.iglow-shell--checkout .woocommerce-message,
.iglow-shell--checkout .woocommerce-error,
.iglow-shell--checkout .woocommerce-NoticeGroup .woocommerce-info,
.iglow-shell--checkout .woocommerce-NoticeGroup .woocommerce-message,
.iglow-shell--checkout .woocommerce-NoticeGroup .woocommerce-error {
  color: #1f2937 !important;
  background: #f3f6f2 !important;
  border: 1px solid #e5e7eb !important;
  border-left: 3px solid var(--ig-primary, #4A6741) !important;
  text-shadow: none !important;
  font-size: 0.9rem !important;
}
.iglow-shell--checkout .woocommerce-message {
  background: #ecfdf5 !important;
  color: #064e3b !important;
  border-left-color: #059669 !important;
}
.iglow-shell--checkout .woocommerce-error {
  background: #fef2f2 !important;
  color: #7f1d1d !important;
  border-left-color: #dc2626 !important;
}
.iglow-shell--checkout .woocommerce-info a,
.iglow-shell--checkout .woocommerce-message a,
.iglow-shell--checkout .woocommerce-error a {
  color: var(--ig-primary, #4A6741) !important;
}
.iglow-shell--checkout .woocommerce-info a.button,
.iglow-shell--checkout .woocommerce-message a.button,
.iglow-shell--checkout .woocommerce-error a.button {
  color: #fff !important;
  background: var(--ig-primary, #4A6741) !important;
}

/* Required field hints + inline validation on the form itself */
.iglow-shell--checkout .form-row .required {
  color: #b91c1c !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: 0 !important;
}
.iglow-shell--checkout .form-row.woocommerce-invalid label,
.iglow-shell--checkout .form-row.woocommerce-invalid-required-field label {
  color: #b91c1c !important;
}
.iglow-shell--checkout .form-row.woocommerce-invalid input.input-text,
.iglow-shell--checkout .form-row.woocommerce-invalid textarea,
.iglow-shell--checkout .form-row.woocommerce-invalid select,
.iglow-shell--checkout .form-row.woocommerce-invalid .select2-selection {
  border-color: #dc2626 !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 1px #dc2626 !important;
}
.iglow-shell--checkout .checkout-inline-error-message {
  display: block !important;
  margin: 0.4rem 0 0 !important;
  padding: 0 !important;
  color: #b91c1c !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  background: transparent !important;
  border: 0 !important;
}
.iglow-shell--checkout .woocommerce-NoticeGroup-checkout {
  margin: 0 0 1.25rem !important;
}
.iglow-shell--checkout .woocommerce-NoticeGroup-checkout .woocommerce-error li a {
  color: var(--ig-primary, #4A6741) !important;
  text-decoration: underline;
  font-weight: 600;
}

.iglow-shell--checkout .woocommerce-order {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2D2D2D !important;
}
.iglow-shell--checkout .woocommerce-thankyou-order-received {
  color: #374151 !important;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
}

/* ===== Order received / thank-you ===== */
.iglow-thankyou {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 44rem;
  margin: 0 auto 3rem;
}
.iglow-thankyou__hero {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 0 0 1.75rem;
  text-align: left;
}
.iglow-thankyou__hero--failed {
  border-color: rgba(176, 58, 38, 0.35);
  background: transparent;
  padding: 1.25rem 0 1.5rem;
  border-left: 2px solid #b03a26;
  padding-left: 1.15rem;
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
}
.iglow-thankyou__eyebrow,
.iglow-thankyou__section-label {
  margin: 0 0 0.65rem !important;
  font-family: var(--ig-sans, sans-serif) !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ig-accent, #c9a84c) !important;
}
.iglow-thankyou__hero--failed .iglow-thankyou__eyebrow {
  color: #b03a26 !important;
}
.iglow-thankyou__title {
  margin: 0 0 0.75rem !important;
  font-family: var(--ig-serif, Georgia, serif) !important;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem) !important;
  font-weight: 500 !important;
  color: var(--ig-text, #2d2d2d) !important;
  line-height: 1.15 !important;
}
.iglow-thankyou__lead {
  margin: 0 !important;
  max-width: 36rem;
  color: var(--ig-muted, #8a8a8a) !important;
  font-family: var(--ig-sans, sans-serif) !important;
  font-weight: 300 !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.iglow-thankyou__lead::before {
  display: none !important;
}
.iglow-thankyou__email-note {
  margin: 1rem 0 0 !important;
  font-family: var(--ig-sans, sans-serif) !important;
  font-weight: 300 !important;
  font-size: 0.875rem !important;
  color: var(--ig-muted, #8a8a8a) !important;
}
.iglow-thankyou__meta,
.iglow-shell--checkout ul.iglow-thankyou__meta.order_details {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  float: none !important;
  width: 100% !important;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12)) !important;
  background: #fff !important;
}
.iglow-thankyou__meta li,
.iglow-shell--checkout ul.iglow-thankyou__meta.order_details li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 1.1rem 1.15rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
  font-size: 0.8rem !important;
  color: var(--ig-muted, #8a8a8a) !important;
  border-right: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12)) !important;
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12)) !important;
  box-sizing: border-box;
}
.iglow-thankyou__meta li:nth-child(2n),
.iglow-shell--checkout ul.iglow-thankyou__meta.order_details li:nth-child(2n) {
  border-right: 0 !important;
}
.iglow-thankyou__meta li:nth-last-child(-n+2),
.iglow-shell--checkout ul.iglow-thankyou__meta.order_details li:nth-last-child(-n+2) {
  border-bottom: 0 !important;
}
.iglow-thankyou__meta-label {
  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-thankyou__meta strong {
  color: var(--ig-text, #2d2d2d) !important;
  font-family: var(--ig-sans, sans-serif) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  word-break: break-word;
  line-height: 1.35;
}
.iglow-thankyou__meta .woocommerce-Price-amount {
  color: var(--ig-primary, #4a6741) !important;
  font-weight: 500 !important;
}
.iglow-thankyou__next {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 0.25rem 0 0;
}
.iglow-thankyou__next-title {
  margin: 0 0 1.25rem !important;
  font-family: var(--ig-serif, Georgia, serif) !important;
  font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
  font-weight: 500 !important;
  color: var(--ig-text, #2d2d2d) !important;
}
.iglow-thankyou__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: iglow-next;
}
.iglow-thankyou__steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
  color: var(--ig-muted, #8a8a8a) !important;
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
}
.iglow-thankyou__steps li:last-child {
  border-bottom: 0;
}
.iglow-thankyou__steps li::before {
  counter-increment: iglow-next;
  content: counter(iglow-next, decimal-leading-zero);
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--ig-accent, #c9a84c);
  font-family: var(--ig-sans, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  display: inline-block;
  padding-top: 0.2rem;
  grid-row: 1 / span 2;
}
.iglow-thankyou__steps strong {
  display: block;
  color: var(--ig-text, #2d2d2d) !important;
  font-family: var(--ig-serif, Georgia, serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.iglow-thankyou__steps span {
  color: var(--ig-muted, #8a8a8a) !important;
  font-family: var(--ig-sans, sans-serif);
  font-weight: 300;
  font-size: 0.9rem;
}
.iglow-thankyou__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}
.iglow-thankyou__btn,
.iglow-shell--checkout .iglow-thankyou__btn.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.85rem 1.35rem !important;
  border-radius: 0 !important;
  font-family: var(--ig-sans, sans-serif) !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  margin: 0 !important;
  flex: 1 1 11rem;
  max-width: 18rem;
  box-shadow: none !important;
}
.iglow-thankyou__btn--primary,
.iglow-shell--checkout .iglow-thankyou__btn--primary.button {
  background: var(--ig-primary, #4a6741) !important;
  color: #fff !important;
  border: 0 !important;
}
.iglow-thankyou__btn--shop,
.iglow-shell--checkout .iglow-thankyou__btn--shop.button {
  background: var(--ig-accent, #c9a84c) !important;
  color: #fff !important;
  border: 0 !important;
}
.iglow-thankyou__btn--ghost,
.iglow-shell--checkout .iglow-thankyou__btn--ghost.button {
  background: transparent !important;
  color: var(--ig-text, #2d2d2d) !important;
  border: 1px solid var(--ig-text, #2d2d2d) !important;
}
.iglow-thankyou__help {
  margin: 0 !important;
  font-family: var(--ig-sans, sans-serif);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--ig-muted, #8a8a8a) !important;
}
.iglow-thankyou__help a {
  color: var(--ig-primary, #4a6741) !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Thank-you order details + addresses */
.iglow-shell--checkout .iglow-order-details,
.iglow-shell--checkout .iglow-customer-details {
  margin-top: 0.35rem;
}
.iglow-shell--checkout .iglow-order-details__card,
.iglow-customer-details {
  background: #fff;
  border: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  border-radius: 0;
  padding: 1.35rem 1.25rem 1.2rem;
  box-shadow: none;
}
.iglow-customer-details__heading,
.iglow-shell--checkout .iglow-order-details__title {
  margin: 0 0 1rem !important;
  font-family: var(--ig-serif, Georgia, serif) !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  color: var(--ig-text, #2d2d2d) !important;
}
.iglow-customer-details__grid {
  display: grid;
  gap: 1.25rem;
}
.iglow-customer-details__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.iglow-customer-details__col h3,
.iglow-customer-details .woocommerce-column__title {
  margin: 0 0 0.55rem !important;
  font-family: var(--ig-sans, sans-serif) !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ig-muted, #8a8a8a) !important;
}
.iglow-customer-details address {
  font-style: normal;
  font-family: var(--ig-sans, sans-serif);
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ig-text, #2d2d2d) !important;
  margin: 0;
  word-break: break-word;
}
.iglow-customer-details .woocommerce-customer-details--phone,
.iglow-customer-details .woocommerce-customer-details--email {
  margin: 0.45rem 0 0 !important;
  color: var(--ig-muted, #8a8a8a) !important;
}

@media (max-width: 900px) {
  .iglow-checkout-layout { grid-template-columns: 1fr !important; }
  .iglow-checkout-aside { position: static; }
}

@media (max-width: 767px) {
  .iglow-shell--checkout {
    overflow-x: clip;
  }

  .iglow-shell--checkout .iglow-shell__inner {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .iglow-shell--checkout .iglow-shell__topbar-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
  }

  .iglow-shell--checkout .iglow-steps {
    flex-wrap: wrap;
    gap: 0.45rem;
    width: 100%;
  }

  .iglow-shell--checkout .iglow-steps__rule {
    display: none;
  }

  .iglow-checkout-card {
    padding: 1.1rem 1rem 1.2rem !important;
  }

  .iglow-checkout-card__head {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .iglow-shell--checkout .form-row,
  .iglow-shell--checkout .form-row-wide,
  .iglow-shell--checkout .form-row-first,
  .iglow-shell--checkout .form-row-last,
  .iglow-shell--checkout .woocommerce-billing-fields .form-row-first,
  .iglow-shell--checkout .woocommerce-billing-fields .form-row-last,
  .iglow-shell--checkout .woocommerce-shipping-fields .form-row-first,
  .iglow-shell--checkout .woocommerce-shipping-fields .form-row-last,
  .iglow-shell--checkout .woocommerce-additional-fields .form-row-first,
  .iglow-shell--checkout .woocommerce-additional-fields .form-row-last {
    width: 100% !important;
    max-width: 100% !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--checkout input.input-text,
  .iglow-shell--checkout textarea,
  .iglow-shell--checkout select,
  .iglow-shell--checkout .select2-container,
  .iglow-shell--checkout .select2-selection--single,
  .iglow-shell--checkout .password-input,
  .iglow-shell--checkout .woocommerce-Input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
  }

  .iglow-shell--checkout .password-input {
    display: block !important;
    position: relative !important;
  }

  .iglow-shell--checkout #order_review,
  .iglow-shell--checkout .woocommerce-checkout-payment,
  .iglow-shell--checkout .wc_payment_methods,
  .iglow-shell--checkout .payment_box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .iglow-shell--checkout #shipping_method li,
  .iglow-shell--checkout .iglow-shipping-methods li,
  .iglow-shell--checkout .wc_payment_method {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .iglow-shell--checkout #shipping_method label,
  .iglow-shell--checkout .wc_payment_method label {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 0.4rem 0.55rem !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }

  .iglow-shell--checkout #place_order,
  .iglow-shell--checkout .woocommerce-checkout .button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .iglow-shell--checkout .checkout_coupon .form-row-first,
  .iglow-shell--checkout .checkout_coupon .form-row-last,
  .iglow-shell--checkout .checkout_coupon .form-row {
    width: 100% !important;
    float: none !important;
  }

  .iglow-shell--checkout .checkout_coupon .button {
    width: 100% !important;
    margin-top: 0.5rem !important;
  }

  .iglow-shell--checkout .woocommerce-form-login .form-row-first,
  .iglow-shell--checkout .woocommerce-form-login .form-row-last {
    width: 100% !important;
    float: none !important;
  }

  .iglow-shell--checkout .woocommerce-order {
    padding: 0 !important;
    max-width: none;
  }

  .iglow-thankyou {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .iglow-thankyou__hero,
  .iglow-thankyou__next,
  .iglow-shell--checkout .iglow-order-details__card,
  .iglow-customer-details {
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0;
  }

  .iglow-shell--checkout .iglow-order-details__card,
  .iglow-customer-details {
    padding: 1.1rem 1rem !important;
  }

  .iglow-thankyou__title {
    font-size: clamp(1.65rem, 7vw, 2.1rem) !important;
  }

  .iglow-thankyou__meta,
  .iglow-shell--checkout ul.iglow-thankyou__meta.order_details,
  .iglow-shell--checkout .woocommerce-order-overview,
  .iglow-shell--checkout ul.order_details {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .iglow-shell--checkout ul.order_details li,
  .iglow-thankyou__meta li {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0.95rem 1rem !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12)) !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .iglow-thankyou__meta li:last-child {
    border-bottom: 0 !important;
  }

  .iglow-thankyou__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .iglow-thankyou__btn,
  .iglow-shell--checkout .iglow-thankyou__btn.button {
    max-width: none;
    width: 100%;
    flex: 1 1 auto;
  }

  .iglow-customer-details__grid--two {
    grid-template-columns: 1fr !important;
  }

  .iglow-shell--checkout .iglow-order-item {
    grid-template-columns: 3.75rem minmax(0, 1fr) !important;
  }

  .iglow-shell--checkout .iglow-order-item__total {
    grid-column: 2;
    text-align: left;
    margin-top: 0.15rem;
  }

  .iglow-shell--checkout .iglow-order-details__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .iglow-shell--checkout .iglow-order-details__actions .button {
    width: 100%;
    text-align: center;
  }
}

/* Section titles inside order review */
.iglow-checkout-section-title {
  margin: 0 0 0.65rem !important;
  font-family: var(--ig-serif, Georgia, serif) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  color: var(--ig-primary, #4A6741) !important;
}
.iglow-checkout-section-hint {
  margin: -0.35rem 0 0.85rem !important;
  font-size: 0.78rem !important;
  color: #6b7280 !important;
  line-height: 1.4;
}
.iglow-shell--checkout .woocommerce-shipping-totals th,
.iglow-shell--checkout .woocommerce-shipping-totals .iglow-checkout-section-title {
  padding-top: 0.85rem !important;
}

/* Free delivery nudge */
.iglow-checkout-ship-nudge td {
  border: 0 !important;
  padding: 0.35rem 0 0.75rem !important;
}
.iglow-checkout-ship-nudge__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}
.iglow-checkout-ship-nudge__box--more {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412 !important;
}
.iglow-checkout-ship-nudge__box--ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857 !important;
}
.iglow-checkout-ship-nudge__box a {
  font-weight: 600 !important;
  text-decoration: underline !important;
}

/* Trust line — directly under Place order */
.iglow-place-order {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 !important;
  padding-top: 0.5rem !important;
}
.iglow-checkout-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.72rem;
  color: #6b7280 !important;
  justify-content: center;
  text-align: center;
}
.iglow-checkout-trust li {
  position: relative;
  padding-left: 0.9rem;
  color: #6b7280 !important;
}
.iglow-checkout-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ig-secondary, #7A9E5A);
  font-weight: 700;
}

/* Split review blocks */
.iglow-checkout-block {
  margin: 0 0 1.15rem;
  padding: 0 0 1.15rem;
  border-bottom: 1px solid #f3f4f6;
}
.iglow-checkout-block--payment,
.iglow-checkout-block--pay-head {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0.65rem;
}
.iglow-checkout-aside__card {
  margin: 0;
}
.iglow-shell--checkout .iglow-shipping-row--checkout th {
  display: block;
  width: 100% !important;
  padding-bottom: 0.35rem !important;
  font-family: var(--ig-serif, Georgia, serif);
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  color: var(--ig-primary, #4A6741) !important;
}
.iglow-shell--checkout .iglow-shipping-row--checkout td {
  display: block;
  width: 100% !important;
}

/* Sticky mobile place-order bar */
.iglow-checkout-sticky[hidden] {
  display: none !important;
}
.iglow-checkout-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100050;
  background: var(--ig-bg, #fdfbf6);
  border-top: 1px solid var(--ig-hairline, rgba(45, 45, 45, 0.12));
  box-shadow: none;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
}
.iglow-checkout-sticky__inner {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.iglow-checkout-sticky__total {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.iglow-checkout-sticky__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  font-weight: 600;
}
.iglow-checkout-sticky__amount {
  font-size: 1.05rem;
  color: var(--ig-primary, #4A6741) !important;
  font-weight: 700;
}
.iglow-checkout-sticky__btn,
.iglow-checkout-sticky__btn.button {
  flex: 0 0 auto;
  min-width: 9.5rem;
  background: var(--ig-primary, #4A6741) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.85rem 1.15rem !important;
  font-weight: 500 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
body.iglow-checkout-sticky-visible {
  padding-bottom: 5.5rem;
}
@media (min-width: 901px) {
  .iglow-checkout-sticky {
    display: none !important;
  }
  body.iglow-checkout-sticky-visible {
    padding-bottom: 0;
  }
}

/* Multi-gateway: clearer method cards + icons */
.iglow-shell--checkout .wc_payment_method > label {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.iglow-shell--checkout .wc_payment_method img {
  max-height: 1.5rem;
  width: auto;
  vertical-align: middle;
}
.iglow-shell--checkout .wc_payment_methods li + li {
  margin-top: 0 !important;
}

/* #12 Saved addresses */
.iglow-saved-address {
  margin: 0 0 1rem;
}
.iglow-saved-address__card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.95rem 1.05rem;
}
.iglow-saved-address__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}
.iglow-saved-address__head strong {
  color: #111827 !important;
  font-size: 0.85rem;
  font-weight: 700;
}
.iglow-saved-address__edit {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ig-primary, #4A6741) !important;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.15rem 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.iglow-saved-address__edit:hover {
  color: #3a5234 !important;
}
.iglow-saved-address__body {
  display: block;
  font-style: normal;
  color: #374151 !important;
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
}
.iglow-saved-address__note {
  margin: 0.55rem 0 0;
  color: #6b7280 !important;
  font-size: 0.75rem;
  line-height: 1.35;
}
.iglow-saved-address.is-editing .iglow-saved-address__card {
  background: #fff;
  border-style: dashed;
}
.woocommerce-billing-fields:has(.iglow-saved-address--billing:not(.is-editing)) .woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields:has(.iglow-saved-address--shipping:not(.is-editing)) .woocommerce-shipping-fields__field-wrapper {
  display: none !important;
}

/* #13 Inline validation */
.iglow-shell--checkout .checkout-inline-error-message {
  color: #b91c1c !important;
  font-size: 0.75rem !important;
  margin: 0.35rem 0 0 !important;
  line-height: 1.3;
}
.iglow-shell--checkout .form-row.woocommerce-invalid .input-text,
.iglow-shell--checkout .form-row.woocommerce-invalid select,
.iglow-shell--checkout .form-row.woocommerce-invalid textarea {
  border-color: #ef4444 !important;
}
