/* gem-cart-checkout.css: cart, checkout and the logged-out My Account page
   brought to the V325 home / product page look (Treyson 2026-11-11:
   "restyle + light layout"). CSS only, loaded after gem-pages.css and scoped
   to html.gem-pages6. Nothing here hides, moves or reorders a field, a
   notice, the payment box, coupons, store credit, the membership offer or an
   order bump; the markup belongs to WooCommerce, Blocksy, the cart-meta
   mu-plugin and the checkout plugin, and none of them is edited.

   The rules (Treyson 11-11):
   - form text is ink #01010C or gray #61616B only (labels, typed values,
     choices, totals ink; hints, placeholders, required asterisks, secondary
     amounts gray); validation errors keep their red
   - underlined text links on white / off-white are gray with a gray
     underline, ink on hover; never navy
   - gold filled buttons have white text; gold outline buttons have gold
     #D39700 text and border and fill gold with white text on hover; no navy
   - ink headings, 16px corners, #EBEBED hairlines, white cards on the
     off-white ground, no horizontal scroll at 390px */

html.gem-pages6 {
  --gcc-ink: #01010C; --gcc-gray: #61616B; --gcc-line: #EBEBED; --gcc-field: #DADAE0;
  --gcc-gold: #D39700; --gcc-gold-grad: linear-gradient(180deg, #EAC66E, #D39700);
  --gcc-cream: #FBF5E6; --gcc-paper: #FBFBFB;
  --gcc-ring: 0 0 0 3px rgba(234, 198, 110, .6);
  --gcc-ease: cubic-bezier(.16, 1, .3, 1);
}
html.gem-pages6 body { --theme-form-field-border-focus-color: #D39700; --theme-form-selection-field-active-color: #D39700; }
html.gem-pages6 .skip-link { color: var(--gcc-ink); }

/* ================================================================
   Shared: form text, links and the two button kinds
   ================================================================ */
html.gem-pages6 :is(.woocommerce, .gac-checkout) :is(input, select, textarea) { color: var(--gcc-ink); }
html.gem-pages6 :is(.woocommerce, .gac-checkout) :is(input, textarea)::placeholder { color: var(--gcc-gray); opacity: 1; }
html.gem-pages6 :is(.woocommerce, .gac-checkout) :is(abbr.required, .required) { color: var(--gcc-gray) !important; text-decoration: none; border: 0; }
/* focus: the gold ring with a gold edge (gem-pages.css had a navy edge) */
html.gem-pages6 :where(.woocommerce, .gac-checkout) :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea):focus,
html.gem-pages6 body.gac-portal-body :is(input, select, textarea):focus { border-color: var(--gcc-gold) !important; box-shadow: var(--gcc-ring); outline: none; }
html.gem-pages6 .select2-container--default:is(.select2-container--focus, .select2-container--open) .select2-selection--single { border-color: var(--gcc-gold); }
html.gem-pages6 :is(.woocommerce, .gac-checkout) input[type="checkbox"],
html.gem-pages6 :is(.woocommerce, .gac-checkout) input[type="radio"] { accent-color: var(--gcc-gold); }

/* underlined gray text links */
html.gem-pages6.gem-pages6 body :is(
  .woocommerce-cart .shipping-calculator-button,
  .woocommerce-cart .cart_totals p.woocommerce-shipping-destination a,
  .woocommerce-account .woocommerce-LostPassword a,
  .woocommerce-account .woocommerce-privacy-policy-text a,
  .gac-checkout .woocommerce-info a,
  .gac-checkout .woocommerce-message a,
  .gac-checkout .gac-link-back,
  .gac-checkout .gac-link-edit,
  .gac-checkout .gac-btn--ghost,
  .gac-checkout .gac-bump__toggle,
  .gac-checkout #payment .woocommerce-privacy-policy-text a,
  .gac-checkout #payment .woocommerce-terms-and-conditions-link
) {
  color: var(--gcc-gray) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--gcc-gray) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html.gem-pages6.gem-pages6 body :is(
  .woocommerce-cart .shipping-calculator-button,
  .woocommerce-cart .cart_totals p.woocommerce-shipping-destination a,
  .woocommerce-account .woocommerce-LostPassword a,
  .woocommerce-account .woocommerce-privacy-policy-text a,
  .gac-checkout .woocommerce-info a,
  .gac-checkout .woocommerce-message a,
  .gac-checkout .gac-link-back,
  .gac-checkout .gac-link-edit,
  .gac-checkout .gac-btn--ghost,
  .gac-checkout .gac-bump__toggle,
  .gac-checkout #payment .woocommerce-privacy-policy-text a,
  .gac-checkout #payment .woocommerce-terms-and-conditions-link
):is(:hover, :focus-visible) { color: var(--gcc-ink) !important; text-decoration-color: var(--gcc-ink) !important; }

/* gold outline buttons: Apply coupon, Update cart, the shipping
   calculator's Update, the order summary's Apply */
html.gem-pages6.gem-pages6 body :is(.woocommerce-cart-form button.button, .woocommerce-cart-form .coupon .button, .woocommerce-shipping-calculator button.button, .gac-coupon__apply) {
  min-height: 46px; padding: 11px 22px;
  background: transparent !important; color: var(--gcc-gold) !important;
  border: 1.5px solid var(--gcc-gold) !important; border-radius: 999px !important;
  font: 700 .95rem/1.2 "Quasimoda", system-ui, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
  box-shadow: none !important; filter: none; opacity: 1;
  transition: color .25s var(--gcc-ease), background-color .25s var(--gcc-ease);
}
html.gem-pages6.gem-pages6 body :is(.woocommerce-cart-form button.button, .woocommerce-cart-form .coupon .button, .woocommerce-shipping-calculator button.button, .gac-coupon__apply):not(:disabled):is(:hover, :focus-visible) { background: var(--gcc-gold) !important; color: #fff !important; }
html.gem-pages6.gem-pages6 body :is(.woocommerce-cart-form button.button, .woocommerce-shipping-calculator button.button, .gac-coupon__apply):focus-visible { outline: none; box-shadow: var(--gcc-ring) !important; }
html.gem-pages6.gem-pages6 body :is(.woocommerce-cart-form button.button, .gac-coupon__apply):disabled { opacity: .45; cursor: default; }
/* gold filled buttons keep white text; the focus outline goes gold (was navy) */
html.gem-pages6 body :is(.wc-proceed-to-checkout .checkout-button, #place_order, .gac-btn--primary, .woocommerce-form-login__submit, .woocommerce-form-register__submit, .return-to-shop .button):focus-visible { outline: none !important; box-shadow: var(--gcc-ring) !important; }

/* ================================================================
   Cart (/cart/ with items)
   ================================================================ */
/* light layout: the cart, the totals (and My Account below) line up with
   the page title's container instead of the Divi shim's narrower row */
html.gem-pages6 body:is(.woocommerce-cart, .woocommerce-account) .entry-content > .gds-section:has(.woocommerce) { padding: 8px 0 0; max-width: none; }
html.gem-pages6 body:is(.woocommerce-cart, .woocommerce-account) .entry-content > .gds-section:has(.woocommerce) > .gds-row {
  width: var(--theme-container-width, min(100%, 90vw)); max-width: var(--theme-normal-container-max-width, 1290px);
  margin-left: auto; margin-right: auto; padding: 0;
}
html.gem-pages6 body:is(.woocommerce-cart, .woocommerce-account) .entry-content > .gds-section:has(.woocommerce) .gds-col { flex: 1 1 100%; width: 100%; min-width: 0; max-width: none; margin: 0; }
html.gem-pages6 body.woocommerce-cart .ct-woocommerce-cart-form { align-items: start; }
/* the table had a 7px top margin, so it sat lower than the totals card */
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .shop_table { margin: 0 !important; }

/* the header row: the cart-meta plugin nudged each heading sideways with
   left offsets to make up for the hidden thumbnail cell. Keep that cell in
   the table as a zero-width column (its image is already shown inside the
   product cell) so the headings sit over their own columns again. */
@media (min-width: 690px) {
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail { display: table-cell !important; width: 0 !important; padding: 0 !important; overflow: hidden; }
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail > * { display: none !important; }
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name { padding-left: 20px !important; }
}
html.gem-pages6 body.woocommerce-cart table.shop_table thead tr th { position: static !important; left: auto !important; padding: 18px 12px 14px !important; font: 700 .78rem/1.3 "Quasimoda", system-ui, sans-serif !important; letter-spacing: .12em !important; text-transform: uppercase; color: var(--gcc-ink); background: none; }
html.gem-pages6 body.woocommerce-cart table.shop_table thead th.product-name { text-align: left !important; padding-left: 20px !important; }
html.gem-pages6 body.woocommerce-cart table.shop_table thead th.product-quantity { text-align: center !important; }
html.gem-pages6 body.woocommerce-cart table.shop_table thead th.product-subtotal { text-align: right !important; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table :is(th, td) { border-style: solid !important; border-color: var(--gcc-line) !important; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody td { padding-top: 20px !important; padding-bottom: 20px !important; vertical-align: top !important; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-subtotal { text-align: right !important; color: var(--gcc-ink); font-weight: 700; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-subtotal .amount { color: var(--gcc-ink); }
/* column widths: the quantity stepper, the subtotal and the bin each get
   room (the subtotal had a 70px left padding inside a 90px cell, so the bin
   sat on the price) */
@media (min-width: 690px) {
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table :is(th, td).product-quantity { width: 136px !important; min-width: 136px !important; padding-left: 12px !important; padding-right: 12px !important; box-sizing: border-box; }
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table :is(th, td).product-subtotal { width: 104px !important; min-width: 104px !important; padding-left: 12px !important; padding-right: 8px !important; box-sizing: border-box; }
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table :is(th, td).product-remove { width: 52px !important; min-width: 52px !important; padding-left: 8px !important; padding-right: 20px !important; box-sizing: border-box; }
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-subtotal { padding-top: 32px !important; }
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-remove { padding-top: 34px !important; }
}
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-remove { text-align: center !important; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form :is(td.product-remove, .product-mobile-actions) a.remove { color: var(--gcc-gray) !important; background: none !important; opacity: 1; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form :is(td.product-remove, .product-mobile-actions) a.remove:is(:hover, :focus-visible) { color: var(--gcc-ink) !important; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form a.remove svg { width: 12px; height: 12px; }

/* the product cell (built by the cart-meta mu-plugin): photo tile, name,
   unit price. Its title link carries an inline 0.82em, so the size is set
   on the wrapper. */
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-inner { gap: 16px; align-items: center; }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-img { flex: 0 0 76px; width: 76px; }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-img img { width: 76px !important; height: 76px !important; object-fit: contain; padding: 6px; box-sizing: border-box; border-radius: 12px; background: linear-gradient(160deg, #F5F5F8, #EDEDF3); }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-info { font-size: 1.22rem; line-height: 1.3; }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-info > a { color: var(--gcc-ink) !important; font-weight: 700; text-decoration: none; }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-info > a:hover { text-decoration: underline; text-decoration-color: var(--gcc-ink); text-underline-offset: 3px; }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-info p.price { margin: 4px 0 0; font-size: .92rem; color: var(--gcc-gray); }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-info p.price .amount { color: var(--gcc-gray); font-weight: 400; }

/* "View Details": a quiet gray text toggle under the name, not a pill
   (the toggle still opens the line's details; the mu-plugin owns the JS) */
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-cart-toggle {
  display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; margin: 12px 0 0 92px; padding: 4px 0;
  background: none !important; border: 0 !important; border-radius: 0; box-shadow: none;
  font: 600 .85rem/1.3 "Quasimoda", system-ui, sans-serif; letter-spacing: 0; text-transform: none;
  color: var(--gcc-gray) !important; cursor: pointer;
}
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-cart-toggle .gem-label { text-decoration: underline; text-decoration-color: var(--gcc-gray); text-decoration-thickness: 1px; text-underline-offset: 3px; }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-cart-toggle .gem-arrow { font-size: .6rem; color: var(--gcc-gray); }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-cart-toggle:is(:hover, :focus-visible) { color: var(--gcc-ink) !important; background: none !important; }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-cart-toggle:is(:hover, :focus-visible) :is(.gem-label, .gem-arrow) { color: var(--gcc-ink); text-decoration-color: var(--gcc-ink); }
html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-cart-toggle:focus-visible { outline: none; box-shadow: var(--gcc-ring); border-radius: 4px; }
/* the opened details: a light panel, labels ink and values gray */
html.gem-pages6 body.woocommerce-cart .gem-meta-open :is(dl.variation, .woocommerce-item-meta, .wc-item-meta) { margin: 10px 0 0 92px !important; width: auto !important; padding: 12px 14px !important; background: var(--gcc-paper) !important; border: 1px solid var(--gcc-line) !important; border-radius: 12px !important; }
html.gem-pages6 body.woocommerce-cart :is(.woocommerce-item-meta, dl.variation) dt { color: var(--gcc-ink) !important; font-size: .82rem !important; }
html.gem-pages6 body.woocommerce-cart :is(.woocommerce-item-meta, dl.variation) dd,
html.gem-pages6 body.woocommerce-cart :is(.woocommerce-item-meta, dl.variation) dd p { color: var(--gcc-gray) !important; font-size: .88rem !important; margin-bottom: 0; }

/* quantity. Blocksy's stepper ("type-2") puts − and + inside the field, but
   the field had shrunk to 44px, so the − sat on the number ("-1") and the +
   fell outside. Full-width field again, the two signs inside it. */
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .quantity[data-type="type-2"] { width: 112px; height: 44px; margin: 0 auto; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .quantity[data-type="type-2"] input.qty {
  width: 100% !important; height: 44px; padding: 0 32px !important; box-sizing: border-box;
  border: 1px solid var(--gcc-field) !important; border-radius: 999px !important; background: #fff;
  text-align: center; font: 700 1rem/1 "Quasimoda", system-ui, sans-serif; color: var(--gcc-ink); -moz-appearance: textfield;
}
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .quantity[data-type="type-2"] input.qty::-webkit-inner-spin-button,
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .quantity[data-type="type-2"] input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .quantity[data-type="type-2"] :is(.ct-increase, .ct-decrease) { top: 50% !important; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; color: var(--gcc-gray); cursor: pointer; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .quantity[data-type="type-2"] .ct-decrease { left: 7px !important; right: auto !important; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .quantity[data-type="type-2"] .ct-increase { right: 7px !important; left: auto !important; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .quantity[data-type="type-2"] :is(.ct-increase, .ct-decrease):hover { color: var(--gcc-ink); background: var(--gcc-paper); }
/* designer lines: the designer plugin swaps the field for a locked number
   (class-gnd-cart.php: lock_cart_qty_input), so it reads as plain text,
   with no box that looks editable */
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .gnd-qty-locked { display: inline-block; min-width: 1.5em; padding: 10px 0; border: 0; background: none; font: 700 1rem/1.4 "Quasimoda", system-ui, sans-serif; color: var(--gcc-ink); text-align: center; cursor: help; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .product-mobile-actions .gnd-qty-locked { padding: 0; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .product-mobile-actions { align-items: center; gap: 10px; margin-top: 10px; color: var(--gcc-gray); }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .product-mobile-actions .quantity[data-type="type-2"] { margin: 0; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form .product-mobile-actions > .amount { color: var(--gcc-ink); font-weight: 700; }

/* the coupon / update row */
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form td.actions { padding: 20px !important; border-bottom: 0 !important; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon { gap: 10px; }
html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon input#coupon_code { min-height: 46px; border-radius: 999px !important; padding: 0 18px; }

/* cart totals card */
html.gem-pages6 body.woocommerce-cart .cart_totals { padding: 28px 28px 30px; }
html.gem-pages6 body.woocommerce-cart .cart_totals > h2 { margin: 0 0 8px !important; font: 700 1.35rem/1.25 "Quasimoda", system-ui, sans-serif !important; color: var(--gcc-ink) !important; }
html.gem-pages6 body.woocommerce-cart .cart_totals table.shop_table.shop_table_responsive { padding-left: 0 !important; padding-right: 0 !important; }
html.gem-pages6 body.woocommerce-cart .cart_totals table.shop_table.shop_table_responsive tr { padding: 14px 0 !important; border-top-color: var(--gcc-line) !important; }
html.gem-pages6 body.woocommerce-cart .cart_totals table.shop_table.shop_table_responsive th { color: var(--gcc-ink) !important; font: 600 .95rem/1.3 "Quasimoda", system-ui, sans-serif !important; }
html.gem-pages6 body.woocommerce-cart .cart_totals table.shop_table.shop_table_responsive td,
html.gem-pages6 body.woocommerce-cart .cart_totals table.shop_table.shop_table_responsive td .amount { color: var(--gcc-ink) !important; }
html.gem-pages6 body.woocommerce-cart .cart_totals table.shop_table.shop_table_responsive tr.order-total :is(th, td, .amount) { font-size: 1.12rem !important; font-weight: 700 !important; color: var(--gcc-ink) !important; }
/* the responsive table's "Subtotal:" label repeated beside the visible one
   on phones */
html.gem-pages6 body.woocommerce-cart .cart_totals table.shop_table.shop_table_responsive td::before { content: none !important; display: none !important; }
html.gem-pages6 body.woocommerce-cart .cart_totals :is(p.woocommerce-shipping-destination, .woocommerce-shipping-contents) { color: var(--gcc-gray) !important; }
html.gem-pages6 body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li { color: var(--gcc-ink); }
html.gem-pages6 body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li.gem-shipping-selected::after { color: var(--gcc-gray) !important; }
html.gem-pages6 body.woocommerce-cart .cart_totals .gem-selected-shipping-note { color: var(--gcc-ink) !important; background: var(--gcc-cream) !important; }
html.gem-pages6 body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator { margin-top: 6px; }
html.gem-pages6 body.woocommerce-cart .cart_totals .shipping-calculator-form { margin-top: 12px; }
html.gem-pages6 body.woocommerce-cart .cart_totals .wc-proceed-to-checkout { padding-top: 18px; padding-bottom: 0; }

@media (max-width: 689.98px) {
  /* phones: the header row only carried an empty "Product" band */
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table thead { display: none; }
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name { padding: 18px 16px !important; }
  html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-inner { align-items: flex-start; gap: 14px; }
  html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-img { flex-basis: 64px; width: 64px; }
  html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-img img { width: 64px !important; height: 64px !important; }
  html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-product-info { font-size: 1.15rem; }
  html.gem-pages6 body.woocommerce-cart table.shop_table td.product-name .gem-cart-toggle { margin-left: 78px; }
  html.gem-pages6 body.woocommerce-cart .gem-meta-open :is(dl.variation, .woocommerce-item-meta, .wc-item-meta) { margin-left: 0 !important; }
  html.gem-pages6 body.woocommerce-cart .woocommerce-cart-form td.actions { padding: 16px !important; }
  html.gem-pages6 body.woocommerce-cart .cart_totals { padding: 22px 20px 24px; }
}

/* ================================================================
   My Account, logged out (/my-account/: the Login and Register cards)
   ================================================================ */
html.gem-pages6 .woocommerce-account #customer_login { gap: 20px; }
html.gem-pages6 .woocommerce-account #customer_login h2 { color: var(--gcc-ink) !important; }
html.gem-pages6 .woocommerce-account #customer_login label:not(.woocommerce-form__label-for-checkbox) { color: var(--gcc-ink); }
html.gem-pages6 .woocommerce-account #customer_login .woocommerce-form__label-for-checkbox,
html.gem-pages6 .woocommerce-account #customer_login .woocommerce-form__label-for-checkbox span { color: var(--gcc-ink); }
html.gem-pages6 .woocommerce-account #customer_login :is(p:not(.form-row), .woocommerce-privacy-policy-text, .woocommerce-privacy-policy-text p) { color: var(--gcc-gray); }
html.gem-pages6 .woocommerce-account #customer_login .show-password-input { color: var(--gcc-gray); }
html.gem-pages6 .woocommerce-account #customer_login :is(input.input-text, input[type="password"], input[type="email"], input[type="text"]) { min-height: 48px; }
html.gem-pages6 .woocommerce-account .woocommerce-LostPassword { margin: 18px 0 0; }

/* ================================================================
   Checkout (the checkout plugin's portal page: /checkout/)
   ================================================================ */
html.gem-pages6 body.gac-portal-body { font-family: "Quasimoda", system-ui, -apple-system, sans-serif !important; color: var(--gcc-ink); background: var(--gcc-paper) !important; }
html.gem-pages6 body.gac-portal-body .gac-portal__main :is(input, select, textarea, button, label, .gac-billing-toggle__label span) { font-family: inherit; }
/* the page content's stray line breaks (wpautop around the Divi shim rows)
   pushed the checkout ~90px down */
html.gem-pages6 body.gac-portal-body .gac-portal__main :is(.gds-section, .gds-row) > br { display: none; }
html.gem-pages6 body.gac-portal-body .gac-portal__main > .gds-section { padding-top: 0; }
/* the theme's site footer is not printed on the portal (inc/mockup-h.php skips it when GAC_Checkout::is_portal()) */
html.gem-pages6 body.gac-portal-body .gac-portal__footer { background: #fff; border-top: 1px solid var(--gcc-line); color: var(--gcc-gray); }
html.gem-pages6 body.gac-portal-body :is(.gac-portal__links a, .gac-portal__copy) { color: var(--gcc-gray); }
html.gem-pages6 body.gac-portal-body .gac-portal__links a:hover { color: var(--gcc-ink); }
html.gem-pages6 body.gac-portal-body .gac-portal__header { border-bottom-color: var(--gcc-line); }
html.gem-pages6 body.gac-portal-body .gac-portal__secure { color: var(--gcc-gray); }

/* "Returning customer?": a white card on the checkout's own width, no navy
   edge. Its link is the gray underlined link above. */
html.gem-pages6 body.gac-portal-body .woocommerce > .woocommerce-info { box-sizing: border-box; width: auto; max-width: 1052px; margin: 32px auto 0 !important; }
html.gem-pages6 body.gac-portal-body :is(.woocommerce-info, .woocommerce-message) {
  background: #fff !important; color: var(--gcc-gray) !important;
  border: 1px solid var(--gcc-line) !important; border-radius: 16px !important;
  padding: 16px 20px !important; font-size: .95rem !important;
}
html.gem-pages6 body.gac-portal-body :is(.woocommerce-info, .woocommerce-message) a { margin-left: .3em; }
html.gem-pages6 body.gac-portal-body .woocommerce-error { border-radius: 16px !important; }
html.gem-pages6 body.gac-portal-body .gac-checkout__form { padding-top: 24px; }

/* step pills: white with a hairline; the current step gets a gold edge and
   a gold number, finished steps a cream number. Ink and gray text only. */
html.gem-pages6 body.gac-portal-body .gac-stepnav__item { background: #fff; border: 1px solid var(--gcc-line); color: var(--gcc-gray); font-size: .88rem; font-weight: 600; }
html.gem-pages6 body.gac-portal-body .gac-stepnav__link { padding: 8px 16px 8px 9px; }
html.gem-pages6 body.gac-portal-body .gac-stepnav__item .gac-stepnav__num { width: 24px; height: 24px; background: var(--gcc-line) !important; color: var(--gcc-gray) !important; }
html.gem-pages6 body.gac-portal-body .gac-stepnav__item.is-active { background: #fff; border-color: var(--gcc-gold); color: var(--gcc-ink); box-shadow: 0 0 0 1px var(--gcc-gold) inset; }
html.gem-pages6 body.gac-portal-body .gac-stepnav__item.is-active .gac-stepnav__num { background: var(--gcc-gold-grad) !important; color: #fff !important; }
html.gem-pages6 body.gac-portal-body .gac-stepnav__item.is-done { background: #fff; color: var(--gcc-ink); }
html.gem-pages6 body.gac-portal-body .gac-stepnav__item.is-done .gac-stepnav__num { background: var(--gcc-cream) !important; color: #8A6200 !important; }
html.gem-pages6 body.gac-portal-body .gac-stepnav__link:focus-visible { outline: none; box-shadow: var(--gcc-ring) !important; }

/* the step cards and the summary card */
html.gem-pages6 body.gac-portal-body .gac-checkout__section { background: #fff; border-color: var(--gcc-line); border-radius: 16px; padding: 26px 28px 28px; }
html.gem-pages6 body.gac-portal-body .gac-checkout__summary-inner { background: #fff; border-color: var(--gcc-line); border-radius: 16px; }
html.gem-pages6 body.gac-portal-body :is(.gac-checkout__section, .gac-checkout__summary-inner) > h3 { font-size: 1.25rem; font-weight: 700; color: var(--gcc-ink); }
html.gem-pages6 body.gac-portal-body .gac-checkout__summary-inner > h3 { margin-bottom: 14px; }
html.gem-pages6 body.gac-portal-body :is(.gac-subsection-heading, .gac-shipping-block h3, .gac-shipping-block h4, .gac-billing-block h3) { color: var(--gcc-ink) !important; }
html.gem-pages6 body.gac-portal-body .gac-shipping-block { border-top-color: var(--gcc-line); }
html.gem-pages6 body.gac-portal-body .gac-checkout__form label:not(#payment label) { color: var(--gcc-ink); }
html.gem-pages6 body.gac-portal-body .gac-checkout__form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea) { border-color: var(--gcc-field); border-radius: 12px; }
html.gem-pages6 body.gac-portal-body .gac-billing-toggle { background: var(--gcc-paper); border-color: var(--gcc-line); border-radius: 12px; }
html.gem-pages6 body.gac-portal-body :is(.gac-billing-toggle__label, .gac-billing-toggle__label span) { color: var(--gcc-ink) !important; }
html.gem-pages6 body.gac-portal-body .gac-billing-toggle__label input[type="checkbox"] { accent-color: var(--gcc-gold); }

/* review block on steps 2 and 3 */
html.gem-pages6 body.gac-portal-body .gac-review-contact { background: var(--gcc-paper); border-color: var(--gcc-line); border-radius: 12px; }
html.gem-pages6 body.gac-portal-body .gac-review-contact dl { padding-right: 44px; }   /* room for the Edit link */
html.gem-pages6 body.gac-portal-body .gac-review-contact dd { overflow-wrap: anywhere; }
html.gem-pages6 body.gac-portal-body .gac-review-contact dt { color: var(--gcc-gray); }
html.gem-pages6 body.gac-portal-body .gac-review-contact dd { color: var(--gcc-ink); }

/* step 2: shipping choices; the chosen one gets the gold edge */
html.gem-pages6 body.gac-portal-body .gac-shipping-host li { border-color: var(--gcc-line); border-radius: 12px; color: var(--gcc-ink); }
html.gem-pages6 body.gac-portal-body .gac-shipping-host :is(li:has(input:checked), li.gac-shipping-host__row--only) { border-color: var(--gcc-gold); background: var(--gcc-cream); }
html.gem-pages6 body.gac-portal-body .gac-shipping-host input[type="radio"] { accent-color: var(--gcc-gold); }

/* step 3: payment. Colors only; the box, the Stripe fields and their order
   are the plugin's and Stripe's. */
html.gem-pages6 body.gac-portal-body .gac-checkout__form #payment ul.payment_methods li.wc_payment_method { border-color: var(--gcc-line); border-radius: 12px; }
html.gem-pages6 body.gac-portal-body .gac-checkout__form #payment ul.payment_methods li.wc_payment_method:has(input:checked) { border-color: var(--gcc-gold); box-shadow: 0 0 0 2px rgba(211, 151, 0, .14); }
html.gem-pages6 body.gac-portal-body .gac-checkout__form #payment ul.payment_methods li.wc_payment_method > label { color: var(--gcc-ink); }
html.gem-pages6 body.gac-portal-body .gac-checkout__form #payment :is(input[type="radio"], input[type="checkbox"]) { accent-color: var(--gcc-gold); }
html.gem-pages6 body.gac-portal-body .gac-checkout__form #payment .wc-stripe-elements-field--focused { border-color: var(--gcc-gold) !important; }
html.gem-pages6 body.gac-portal-body .gac-checkout__form #payment .woocommerce-SavedPaymentMethods li:has(input:checked) { border-color: var(--gcc-gold); background: var(--gcc-cream); }

/* the membership offer: its navy text to ink and gray (layout untouched) */
html.gem-pages6 body.gac-portal-body .gac-bump--membership :is(.gac-bump__pitch, .gac-bump__price) { color: var(--gcc-ink); }

/* order summary */
html.gem-pages6 body.gac-portal-body .gac-coupon__input[type="text"] { min-height: 46px; border: 1px solid var(--gcc-field); border-radius: 999px; padding: 0 16px; font-size: .95rem; color: var(--gcc-ink); }
html.gem-pages6.gem-pages6 body.gac-portal-body .gac-coupon__apply { min-height: 46px; padding: 0 20px; }
/* the discount field and its Apply sit on one row at every width (they are
   loose inline children of the summary card, so they wrapped on phones) */
html.gem-pages6 body.gac-portal-body .gac-checkout__summary-inner > .gac-coupon__input[type="text"] { display: inline-block; width: calc(100% - 108px); margin: 0 6px 0 0; vertical-align: middle; box-sizing: border-box; }
html.gem-pages6.gem-pages6 body.gac-portal-body .gac-checkout__summary-inner > .gac-coupon__apply { width: 92px; padding: 0 !important; vertical-align: middle; }
html.gem-pages6 body.gac-portal-body .gac-coupon__status:not(.is-error):not(.is-success) { color: var(--gcc-gray); }
html.gem-pages6 body.gac-portal-body .gac-applied-coupons__item { background: var(--gcc-paper); color: var(--gcc-ink); border-color: var(--gcc-line); }
html.gem-pages6 body.gac-portal-body .gac-applied-coupons__remove { color: var(--gcc-gray); }
html.gem-pages6 body.gac-portal-body .gac-applied-coupons__remove:hover { color: var(--gcc-ink); }
html.gem-pages6 body.gac-portal-body .gac-summary__thumb { border-color: var(--gcc-line); border-radius: 10px; background: linear-gradient(160deg, #F5F5F8, #EDEDF3); }
html.gem-pages6 body.gac-portal-body .gac-summary__qty-badge { background: var(--gcc-ink); color: #fff; }
html.gem-pages6 body.gac-portal-body .gac-summary__name { color: var(--gcc-ink); }
html.gem-pages6 body.gac-portal-body .gac-summary__price,
html.gem-pages6 body.gac-portal-body .gac-summary__price .amount { color: var(--gcc-gray); }
html.gem-pages6 body.gac-portal-body :is(.gac-summary__item, .gac-summary__totals, .gac-summary__row--total) { border-color: var(--gcc-line); }
html.gem-pages6 body.gac-portal-body .gac-summary__row { color: var(--gcc-gray); }
html.gem-pages6 body.gac-portal-body .gac-summary__row--total,
html.gem-pages6 body.gac-portal-body .gac-summary__row--total * { color: var(--gcc-ink); }

/* step actions: gold primary on the right, the back link gray */
html.gem-pages6 body.gac-portal-body .gac-step__actions { padding: 0; margin-top: 22px; }
html.gem-pages6 body.gac-portal-body .gac-btn--primary { min-width: 220px; }
html.gem-pages6 body.gac-portal-body :is(.gac-link-back, .gac-btn--ghost) { padding: 8px 0 !important; font-size: .95rem !important; }
html.gem-pages6 body.gac-portal-body .gac-review-contact .gac-link-edit { font-size: .85rem !important; }

@media (max-width: 860px) {
  html.gem-pages6 body.gac-portal-body .woocommerce > .woocommerce-info { margin: 20px 24px 0 !important; }
}
@media (max-width: 600px) {
  html.gem-pages6 body.gac-portal-body .gac-checkout__form { padding-left: 16px; padding-right: 16px; }
  html.gem-pages6 body.gac-portal-body .woocommerce > .woocommerce-info { margin: 16px 16px 0 !important; }
  html.gem-pages6 body.gac-portal-body .gac-checkout__section { padding: 20px 18px 22px; }
  html.gem-pages6 body.gac-portal-body .gac-btn--primary { width: 100%; min-width: 0; }
}
