/* ====================================================================
   GELATIN LABS — MY ACCOUNT PAGE OVERHAUL
   ====================================================================
   Drop into WordPress Additional CSS or a Custom CSS plugin.
   Targets the WooCommerce My Account page.
   Congruent with cart/checkout design language:
     Gold #FDCE31 | Dark #1b1b1b | Card #242424 | korolev headings | Lexend body
   2026-10-14: section 25 holds WooCommerce's stock nav list back until accountNav
     has grouped it (data-gl-ready), with a 1.2 s fail-open if the script never runs.
   2026-10-15: desktop gap between the account menu and the content (Ben)
   2026-10-21: section 28, the Roll Card stamps and line on the gold member card (Roll Card online)
   ==================================================================== */

/* ------------------------------------------------------------------ */
/* 0. VARIABLES & PAGE SHELL                                           */
/* ------------------------------------------------------------------ */
.woocommerce-account {
  --gl-gold: #FDCE31;
  --gl-dark: #1b1b1b;
  --gl-card: #242424;
  --gl-card-hover: #2a2a2a;
  --gl-border: rgba(255,255,255,0.06);
  --gl-border-gold: rgba(253,206,49,0.15);
  --gl-text: #ffffff;
  --gl-text-muted: rgba(255,255,255,0.5);
  --gl-text-dim: rgba(255,255,255,0.35);
  --gl-ease: cubic-bezier(.16,1,.3,1);
  --gl-radius: 16px;
  --gl-radius-sm: 12px;
}


/* ------------------------------------------------------------------ */
/* 1. SIDEBAR NAVIGATION — CONTRAST FIX                                */
/* ------------------------------------------------------------------ */

/* Nav list (N1, 2026-10-12): no card, no borders; the rows carry the fill */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  gap: 2px !important;
  list-style: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link a {
  background: transparent !important;
  color: rgba(255,255,255,0.6) !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  transition: background 0.15s var(--gl-ease), color 0.15s var(--gl-ease) !important;
}
/* :not(.is-active) keeps this off the active row, so it never ties with the active rule below (same weight otherwise) */
.woocommerce-account .woocommerce-MyAccount-navigation-link:not(.is-active) a:hover {
  background: #141414 !important;
  color: var(--gl-text) !important;
}
/* Active = a soft filled row. No edge bar, no underline: the house rule bans side accents. */
.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active a {
  background: var(--gl-card) !important;
  color: var(--gl-text) !important;
  font-weight: 600 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link::after,
.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active::after,
.woocommerce-account .woocommerce-MyAccount-navigation-link a::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link a::after {
  display: none !important;
  content: none !important;
}
/* FA 6 Solid SVGs injected by chrome/fixNavIcons.ts */
.woocommerce-account .woocommerce-MyAccount-navigation-link a svg {
  display: inline-block !important;
  fill: currentColor !important;
  color: inherit !important;
  opacity: 0.7 !important;
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active a svg {
  color: var(--gl-gold) !important;
  opacity: 1 !important;
}

/* Hide Communication tab */
.woocommerce-account .woocommerce-MyAccount-navigation-link--communication-preferences {
  display: none !important;
}

/* Hide Dashboard tab */
.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard {
  display: none !important;
}


/* ------------------------------------------------------------------ */
/* 2. CONTENT AREA — TYPOGRAPHY & CARD TREATMENT                       */
/* ------------------------------------------------------------------ */

/* Content wrapper */
.woocommerce-account .woocommerce-MyAccount-content {
  color: var(--gl-text) !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* Dashboard greeting text */
.woocommerce-account .woocommerce-MyAccount-content p {
  color: var(--gl-text-muted) !important;
  font-family: Lexend, system-ui, sans-serif !important;
}

/* Links in content area — gold (exclude buttons and injected CTAs) */
.woocommerce-account .woocommerce-MyAccount-content a:not(.view):not(.button):not(.woocommerce-button):not(.wc-forward):not(.gl-track-btn):not(.gl-status-check-btn):not(.gl-subswitch__tab):not(.gl-logout-foot) {
  color: var(--gl-gold) !important;
  text-decoration: none !important;
  transition: opacity 0.15s ease !important;
}
.woocommerce-account .woocommerce-MyAccount-content a:not(.view):not(.button):not(.woocommerce-button):not(.wc-forward):not(.gl-track-btn):not(.gl-status-check-btn):not(.gl-subswitch__tab):not(.gl-logout-foot):hover {
  opacity: 0.8 !important;
}

/* VIEW buttons on order cards — pill CTA matching "Start Your Order" */
.woocommerce-account .woocommerce-MyAccount-content a.view,
.woocommerce-account .ast-orders-table__row .woocommerce-button,
.woocommerce-account .ast-orders-table__row .button,
.woocommerce-account .ast-orders-table__row a.view {
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  font-family: korolev, sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-block !important;
  cursor: pointer !important;
  transition: background 0.15s var(--gl-ease) !important;
}
.woocommerce-account .woocommerce-MyAccount-content a.view:hover,
.woocommerce-account .ast-orders-table__row .woocommerce-button:hover,
.woocommerce-account .ast-orders-table__row .button:hover,
.woocommerce-account .ast-orders-table__row a.view:hover {
  background: #e5ba2c !important;
  opacity: 1 !important;
}


/* ------------------------------------------------------------------ */
/* 3. ORDERS LIST — COMPACT HORIZONTAL CARD LAYOUT                     */
/* ------------------------------------------------------------------ */

/* Grid container — tight gaps */
.woocommerce-account .ast-woo-grid-orders-container {
  gap: 10px !important;
}

/* Order grid cards — visual base (layout handled by JS inline styles) */
.woocommerce-account .ast-woo-grid-orders-container .ast-orders-table__row {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  color: var(--gl-text) !important;
  overflow: hidden !important;
}

/* Hide product thumbnails — unified card design */
.woocommerce-account .ast-orders-table__cell-order-number img {
  display: none !important;
}

/* Hide number cell entirely (thumbnails removed, pills moved to date cell) */
.woocommerce-account .ast-orders-table__cell-order-number {
  display: none !important;
}

/* Hide Invoice links from order cards */
.woocommerce-account .ast-orders-table__cell-order-actions a.invoice {
  display: none !important;
}

/* Hide total cell entirely (mostly $0.00 for service orders, not useful) */
.woocommerce-account .ast-orders-table__cell-order-total {
  display: none !important;
}

/* Force actions cell to static — Astra sets position:absolute which breaks flex layout */
.woocommerce-account .ast-orders-table__cell-order-actions {
  position: static !important;
}

/* Order card text */
.woocommerce-account .ast-orders-table__row .ast-orders-table__cell {
  color: var(--gl-text) !important;
  font-family: Lexend, system-ui, sans-serif !important;
}

/* Date cell — flex wrap for ID + pills + date */
.woocommerce-account .ast-orders-table__cell-order-date time,
.woocommerce-account .ast-orders-table__cell-order-date .ast-orders-order-date,
.woocommerce-account .ast-orders-table__cell-order-date .ast-woo-order-date {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: var(--gl-text) !important;
  white-space: nowrap !important;
}

/* Status cell — pill style matching location/category pills */
.woocommerce-account .ast-orders-table__cell-order-status {
  font-family: korolev, sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.6) !important;
  white-space: nowrap !important;
}
.woocommerce-account .ast-orders-table__row .ast-orders-table__cell .ast-order-status-badge {
  color: rgba(255,255,255,0.6) !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---- RESPONSIVE: Tablet (<=768px) ---- */
@media (max-width: 768px) {
  .woocommerce-account .ast-orders-table__cell-order-status {
    display: none !important;
  }
}

/* ---- RESPONSIVE: Mobile (<=600px) ---- */
@media (max-width: 600px) {
  .gl-order-row-pills {
    gap: 4px !important;
  }
  .gl-order-loc, .gl-order-cat {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
}

/* ---- RESPONSIVE: Small mobile (<=480px) ---- */
@media (max-width: 480px) {
  .woocommerce-account .woocommerce-MyAccount-content a.view,
  .woocommerce-account .ast-orders-table__row a.view {
    padding: 8px 14px !important;
    font-size: 11px !important;
  }
}

/* "No order has been made yet" empty state */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  color: var(--gl-text-muted) !important;
  font-family: Lexend, system-ui, sans-serif !important;
  padding: 20px !important;
}

/* "Browse products" / "Go shop" button in empty state */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button {
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}


/* ------------------------------------------------------------------ */
/* 4. FORMS — ACCOUNT DETAILS, ADDRESSES, PASSWORD                     */
/* ------------------------------------------------------------------ */

/* Form labels */
.woocommerce-account .woocommerce-MyAccount-content label {
  color: var(--gl-text-muted) !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 6px !important;
}

/* Text inputs */
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content input[type="number"],
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: 8px !important;
  color: var(--gl-text) !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 15px !important;
  padding: 12px 14px !important;
  transition: border-color 0.15s ease !important;
}
.woocommerce-account .woocommerce-MyAccount-content input:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
  border-color: var(--gl-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(253,206,49,0.15) !important;
}

/* Placeholder text */
.woocommerce-account .woocommerce-MyAccount-content input::placeholder {
  color: var(--gl-text-dim) !important;
}

/* Submit / Save buttons */
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
.woocommerce-account .woocommerce-MyAccount-content .button:not(.wc-forward) {
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 32px !important;
  cursor: pointer !important;
  transition: background 0.15s var(--gl-ease) !important;
}
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-account .woocommerce-MyAccount-content .button:not(.wc-forward):hover {
  background: #e5ba2c !important;
}

/* Fieldset legends (e.g., "Password change") */
.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
  color: var(--gl-text) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  border-bottom-color: var(--gl-border) !important;
  padding-bottom: 8px !important;
}

/* Helper/description text */
.woocommerce-account .woocommerce-MyAccount-content em,
.woocommerce-account .woocommerce-MyAccount-content .description {
  color: var(--gl-text-dim) !important;
  font-size: 13px !important;
}


/* ------------------------------------------------------------------ */
/* 5. ADDRESSES PAGE                                                   */
/* ------------------------------------------------------------------ */

/* Address card containers */
.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 20px !important;
}

/* Address titles */
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h3,
.woocommerce-account .woocommerce-column__title {
  color: var(--gl-text) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
}

/* Address text */
.woocommerce-account .woocommerce-Addresses address {
  color: var(--gl-text-muted) !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-style: normal !important;
}


/* ------------------------------------------------------------------ */
/* 6. STORE CREDIT & GIFT CARDS                                        */
/* ------------------------------------------------------------------ */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-store-credit {
  color: var(--gl-text) !important;
}
.woocommerce-account .woocommerce-MyAccount-store-credit .button {
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  border-radius: 8px !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
}

/* Store Credit / Gift Cards — "no coupons found" empty state */
.woocommerce-store-credit .woocommerce-MyAccount-content > p.woocommerce-info,
.woocommerce-store-credit .woocommerce-MyAccount-content > p.woocommerce-Message {
  display: block !important;
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  color: var(--gl-text-muted) !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 14px !important;
  padding: 24px !important;
  text-align: center !important;
}

/* Hide WooCommerce info icon in store credit empty state */
.woocommerce-store-credit .woocommerce-info::before,
.woocommerce-store-credit .woocommerce-Message--info::before {
  display: none !important;
  content: none !important;
}


/* ------------------------------------------------------------------ */
/* 7. WOO NOTICES (cart added, errors, etc.)                           */
/* ------------------------------------------------------------------ */
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  color: var(--gl-text) !important;
  font-family: Lexend, system-ui, sans-serif !important;
}
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message a,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info a {
  color: var(--gl-gold) !important;
}

/* "View Cart" button in notice bar */
.woocommerce-account .woocommerce-notices-wrapper .button.wc-forward {
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
}


/* ------------------------------------------------------------------ */
/* 8. PAGE TITLE                                                       */
/* ------------------------------------------------------------------ */
.woocommerce-account .entry-title,
.woocommerce-account h1.entry-title {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(24px, 3.5vw, 32px) !important;
  letter-spacing: 0.06em !important;
  color: var(--gl-text) !important;
  text-transform: uppercase !important;
  text-align: center !important;
}


/* ------------------------------------------------------------------ */
/* 9. TABLES (order details, payment methods, etc.)                    */
/* ------------------------------------------------------------------ */
.woocommerce-account table {
  border-collapse: collapse !important;
}
.woocommerce-account table th {
  background: rgba(255,255,255,0.04) !important;
  color: var(--gl-text-muted) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--gl-border) !important;
}
.woocommerce-account table td {
  color: var(--gl-text) !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--gl-border) !important;
}
.woocommerce-account table tbody tr:hover {
  background: rgba(255,255,255,0.02) !important;
}


/* ------------------------------------------------------------------ */
/* 10. ORDER DETAILS PAGE (view-order)                                 */
/* ------------------------------------------------------------------ */

/* ---- 10a. Hide barcode ---- */
.woocommerce-account .woocommerce-order-barcodes-container {
  display: none !important;
}

/* ---- 10b. Order status banner (original <p> hidden, replaced with pills) ---- */
/* Scoped to view-order pages only so store-credit/other pages' <p> aren't hidden */
.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type {
  display: none !important;
}

/* ---- 10b-2. Order header pills container (injected by JS) ---- */
.gl-order-header {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
}

/* Order number — large prominent pill */
.gl-order-header .gl-pill--order {
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  letter-spacing: 0.04em !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  line-height: 1.2 !important;
}

/* Status pill — smaller */
.gl-order-header .gl-pill--status {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  line-height: 1.2 !important;
}

/* Date pill — smaller, muted */
.gl-order-header .gl-pill--date {
  background: rgba(255,255,255,0.12) !important;
  color: var(--gl-text-muted) !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  line-height: 1.2 !important;
}

/* ---- 10b-2b. Check Order Status button ---- */
.gl-status-check-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(255,255,255,0.12) !important;
  color: var(--gl-text-muted) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.gl-status-check-btn:hover {
  background: rgba(255,255,255,0.1) !important;
  color: var(--gl-text) !important;
}

/* ---- 10b-3. Drop-off card when moved outside order-details (by JS) ---- */
.gl-dropoff-card {
  background: rgba(253, 206, 49, 0.04) !important;
  border: 1px solid var(--gl-border-gold) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 14px 20px !important;
  margin-bottom: 20px !important;
}
.gl-dropoff-card dt {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--gl-text-muted) !important;
  margin-bottom: 4px !important;
}
.gl-dropoff-card dd {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 15px !important;
  color: var(--gl-text) !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* ---- 10b-4. Shipping / Track order card (injected by JS) ---- */
.gl-shipping-card {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 16px 20px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
.gl-shipping-card .gl-shipping-info {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 14px !important;
  color: var(--gl-text-muted) !important;
}
.gl-shipping-card .gl-shipping-info strong {
  color: var(--gl-text) !important;
  font-weight: 600 !important;
}
.gl-shipping-card .gl-track-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  transition: background 0.15s var(--gl-ease) !important;
}
.gl-shipping-card .gl-track-btn:hover {
  background: #e5ba2c !important;
  opacity: 1 !important;
}

/* ---- Download Label link (secondary action in shipping card) ---- */
.gl-shipping-card .gl-label-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: transparent !important;
  color: var(--gl-text-muted) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 8px 14px !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: 8px !important;
  transition: border-color 0.15s var(--gl-ease), color 0.15s var(--gl-ease) !important;
}
.gl-shipping-card .gl-label-btn:hover {
  color: var(--gl-text) !important;
  border-color: rgba(255,255,255,0.15) !important;
  opacity: 1 !important;
}

/* ---- 10b-2. Scan Delivery Card ---- */
.gl-scan-card {
  background: #265b3b !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 18px 20px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* Top row: info left, CTA right */
.gl-scan-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
.gl-scan-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.gl-scan-badge-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
.gl-scan-badge {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.03em !important;
  color: #ffffff !important;
}
.gl-scan-tag {
  display: inline-block !important;
  background: rgba(253,206,49,0.9) !important;
  color: #1b1b1b !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  line-height: 1.3 !important;
}
.gl-scan-date {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.6) !important;
}
.gl-scan-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  transition: background 0.15s var(--gl-ease) !important;
  flex-shrink: 0 !important;
}
.gl-scan-btn:hover {
  background: #e5ba2c !important;
  opacity: 1 !important;
}

/* Additional scans notice */
.gl-scan-notice {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.55) !important;
}

/* Multi-roll arrival note */
.gl-scan-rollnote {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.4) !important;
  line-height: 1.5 !important;
}

/* 30-day storage row */
.gl-scan-storage {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  padding-top: 6px !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.gl-scan-storage-text {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.55) !important;
}

/* Expand/collapse trigger */
.gl-scan-expand-btn {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.4) !important;
  padding: 0 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  transition: color 0.15s ease !important;
}
.gl-scan-expand-btn:hover {
  color: rgba(255,255,255,0.65) !important;
}
.gl-scan-expand-btn::after {
  content: " \25BE" !important;
  font-size: 11px !important;
}
.gl-scan-expand-btn.gl-scan-expand-open::after {
  content: " \25B4" !important;
}

/* Expanded content */
.gl-scan-expand-content {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.5) !important;
  line-height: 1.6 !important;
  padding: 8px 0 2px !important;
}

/* ---- 10b-3. Pipeline Progress Row ---- */
.gl-pipeline-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  padding: 0 2px !important;
}
.gl-pipeline-step {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--gl-text-dim) !important;
}
.gl-pipeline-step.gl-pipeline-done {
  color: #2ecc71 !important;
}
.gl-pipeline-arrow {
  font-size: 12px !important;
  color: var(--gl-text-dim) !important;
}

/* ---- 10b-4. Film Arrival Card ---- */
.gl-arrival-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  background: var(--gl-card) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 18px 20px !important;
  margin-bottom: 20px !important;
}
.gl-arrival-card.gl-arrival-received {
  background: rgba(46,204,113,0.04) !important;
  border-color: rgba(46,204,113,0.15) !important;
}
.gl-arrival-icon {
  font-size: 20px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}
.gl-arrival-body {
  flex: 1 !important;
  min-width: 0 !important;
}
.gl-arrival-title {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: var(--gl-text) !important;
  margin-bottom: 4px !important;
}
.gl-arrival-received .gl-arrival-title {
  color: #2ecc71 !important;
}
.gl-arrival-desc {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  color: var(--gl-text-muted) !important;
  line-height: 1.6 !important;
}

/* ---- 10b-5. Lab Notes Card (gold-tinted card) ---- */
.gl-labnotes-card {
  background: rgba(253,206,49,0.04) !important;
  border: 1px solid rgba(253,206,49,0.15) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 20px 22px !important;
  margin-bottom: 20px !important;
}
.gl-labnotes-header {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gl-gold) !important;
  margin-bottom: 12px !important;
}

/* Notes body text */
.gl-labnotes-text,
.woocommerce-account .gl-labnotes-text {
  margin: 0 !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 14px !important;
  color: var(--gl-text-muted) !important;
  line-height: 1.7 !important;
}

/* Sign-off — prominent attribution */
.gl-labnotes-signoff {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(253,206,49,0.10) !important;
}
.gl-labnotes-sig-line,
.woocommerce-account .gl-labnotes-sig-line {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12px !important;
  color: var(--gl-text-dim) !important;
}
.gl-labnotes-sig-name,
.woocommerce-account .gl-labnotes-sig-name {
  font-family: korolev, system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--gl-gold) !important;
  letter-spacing: 0.02em !important;
}
.gl-labnotes-sig-label,
.woocommerce-account .gl-labnotes-sig-label {
  display: inline-block !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 10px !important;
  color: var(--gl-text-dim) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-top: 2px !important;
}

/* Blank Roll Notice — appended inside lab notes card */
.gl-blank-notice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-top: 16px !important;
  padding: 14px 16px !important;
  background: rgba(231,76,60,0.08) !important;
  border-radius: 8px !important;
}
.gl-blank-icon {
  font-size: 20px !important;
  flex-shrink: 0 !important;
  line-height: 1.3 !important;
}
.gl-blank-body {
  flex: 1 !important;
}
.gl-blank-title {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #e74c3c !important;
  margin-bottom: 4px !important;
}
.gl-blank-ids,
.woocommerce-account .gl-blank-ids {
  font-family: 'Space Mono', 'Courier New', monospace !important;
  font-size: 12px !important;
  color: #ffffff !important;
  margin-bottom: 6px !important;
}
.gl-blank-credit {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  color: var(--gl-text-muted) !important;
  line-height: 1.5 !important;
}

/* ---- 10b-5. Order Summary ---- */
.gl-order-summary {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 20px 22px !important;
  margin-bottom: 20px !important;
}
.gl-order-summary-heading {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--gl-text) !important;
  margin-bottom: 4px !important;
}
.gl-order-summary-count {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--gl-gold) !important;
  margin-bottom: 12px !important;
}
.gl-order-summary-text {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 14px !important;
  color: var(--gl-text-muted) !important;
  line-height: 1.7 !important;
  margin: 0 0 4px 0 !important;
}
.gl-order-summary-text:last-child {
  margin-bottom: 0 !important;
}
.gl-order-summary-dellabel {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--gl-text-dim) !important;
  margin-top: 14px !important;
  margin-bottom: 6px !important;
}
.gl-order-summary-dellist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.gl-order-summary-dellist li {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  color: var(--gl-text-muted) !important;
  line-height: 1.5 !important;
  padding: 3px 0 !important;
  padding-left: 16px !important;
  position: relative !important;
}
.gl-order-summary-dellist li::before {
  content: "\2713" !important;
  position: absolute !important;
  left: 0 !important;
  color: #2ecc71 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* ---- 10b-6. Fast Pass Badge (compact, under pills) ---- */
.gl-fastpass {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: rgba(253,206,49,0.06) !important;
  border: 1px solid rgba(253,206,49,0.15) !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  margin-bottom: 12px !important;
}
.gl-fastpass-icon {
  font-size: 16px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}
.gl-fastpass-desc {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12px !important;
  color: var(--gl-text-muted) !important;
  line-height: 1.4 !important;
}

/* ---- 10c. Order updates — card treatment ---- */
.woocommerce-account .woocommerce-MyAccount-content > h2 {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--gl-text) !important;
  margin-top: 8px !important;
  margin-bottom: 16px !important;
}

.woocommerce-account .woocommerce-OrderUpdates {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 20px 22px !important;
  margin: 0 0 28px 0 !important;
  list-style: none !important;
}
.woocommerce-account .woocommerce-OrderUpdates li {
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--gl-border) !important;
  list-style: none !important;
}
.woocommerce-account .woocommerce-OrderUpdates li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.woocommerce-account .woocommerce-OrderUpdates li:first-child {
  padding-top: 0 !important;
}
.woocommerce-account .woocommerce-OrderUpdates .meta,
.woocommerce-account .woocommerce-OrderUpdates .woocommerce-OrderUpdate-meta {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: var(--gl-text-muted) !important;
  margin-bottom: 4px !important;
}
.woocommerce-account .woocommerce-OrderUpdates .description,
.woocommerce-account .woocommerce-OrderUpdates .woocommerce-OrderUpdate-description {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 14px !important;
  color: var(--gl-text) !important;
  line-height: 1.5 !important;
}

/* ---- 10d. Order details section — card ---- */
.woocommerce-account .woocommerce-order-details {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius) !important;
  padding: 24px !important;
  margin-bottom: 28px !important;
}
.woocommerce-account .woocommerce-order-details .woocommerce-order-details__title {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--gl-text) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 16px !important;
}

/* Order details table inside the card — no double border */
.woocommerce-account .woocommerce-order-details table {
  border: none !important;
}
.woocommerce-account .woocommerce-order-details table th,
.woocommerce-account .woocommerce-order-details table td {
  background: transparent !important;
}

/* THWEPO item meta styling */
.woocommerce-account .woocommerce-order-details .wc-item-meta {
  list-style: none !important;
  padding: 0 !important;
  margin: 8px 0 0 0 !important;
}
.woocommerce-account .woocommerce-order-details .wc-item-meta li {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  color: var(--gl-text-muted) !important;
  padding: 3px 0 !important;
  line-height: 1.5 !important;
}
.woocommerce-account .woocommerce-order-details .wc-item-meta li strong,
.woocommerce-account .woocommerce-order-details .wc-item-meta .wc-item-meta-label {
  color: var(--gl-text-dim) !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

/* Product name link in order details */
.woocommerce-account .woocommerce-order-details .product-name a {
  color: var(--gl-gold) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

/* Price column */
.woocommerce-account .woocommerce-order-details .product-total {
  font-family: Lexend, system-ui, sans-serif !important;
  font-weight: 600 !important;
  color: var(--gl-text) !important;
}

/* Totals rows styling */
.woocommerce-account .woocommerce-order-details tfoot th {
  font-family: Lexend, system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--gl-text-muted) !important;
}
.woocommerce-account .woocommerce-order-details tfoot td {
  font-weight: 600 !important;
}

/* Tfoot amounts — default to white */
.woocommerce-account .woocommerce-order-details tfoot td .amount {
  color: var(--gl-text) !important;
}

/* Refund row only — red (JS adds .gl-row-refund) */
.woocommerce-account .woocommerce-order-details tfoot tr.gl-row-refund td,
.woocommerce-account .woocommerce-order-details tfoot tr.gl-row-refund td .amount {
  color: #e74c3c !important;
}

/* Strikethrough original total on refunded orders */
.woocommerce-account .woocommerce-order-details tfoot td del .amount {
  color: var(--gl-text-dim) !important;
}
.woocommerce-account .woocommerce-order-details tfoot td ins .amount {
  color: #e74c3c !important;
}

/* ---- 10e. Additional Order Details — hide header ---- */
.woocommerce-account .woocommerce-order-details > header {
  display: none !important;
}

/* Download Scans custom fields table — hidden (Airtable scan card replaces it) */
.woocommerce-account .woocommerce-order-details table.order-custom-fields {
  display: none !important;
}
.woocommerce-account .woocommerce-order-details table.order-custom-fields th {
  font-family: Lexend, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: var(--gl-text-muted) !important;
}
.woocommerce-account .woocommerce-order-details table.order-custom-fields td {
  color: var(--gl-text-dim) !important;
  font-style: italic !important;
  font-size: 13px !important;
}

/* ---- 10f. Drop-off location DL — card treatment ---- */
.woocommerce-account .woocommerce-order-details > dl {
  background: rgba(253, 206, 49, 0.04) !important;
  border: 1px solid var(--gl-border-gold) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 16px 20px !important;
  margin-top: 16px !important;
}
.woocommerce-account .woocommerce-order-details > dl dt {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--gl-text-muted) !important;
  margin-bottom: 6px !important;
}
.woocommerce-account .woocommerce-order-details > dl dd {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 15px !important;
  color: var(--gl-text) !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* ---- 10g. Customer details / addresses section ---- */
.woocommerce-account .woocommerce-customer-details {
  margin-top: 20px !important;
}
.woocommerce-account .woocommerce-customer-details .woocommerce-columns {
  display: flex !important;
  gap: 14px !important;
}
.woocommerce-account .woocommerce-customer-details .woocommerce-column {
  flex: 1 !important;
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 16px 18px !important;
}
.woocommerce-account .woocommerce-customer-details .woocommerce-column__title {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--gl-text-muted) !important;
  margin-bottom: 8px !important;
  margin-top: 0 !important;
}
.woocommerce-account .woocommerce-customer-details address {
  color: var(--gl-text-muted) !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-style: normal !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.woocommerce-account .woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-account .woocommerce-customer-details .woocommerce-customer-details--email {
  color: var(--gl-text-dim) !important;
  font-size: 12px !important;
  margin-top: 6px !important;
}


/* ------------------------------------------------------------------ */
/* 10c. DROPBOX SCAN BROWSER                                           */
/* ------------------------------------------------------------------ */

/* ---- Browser wrapper ---- */
.gl-dbx-browser {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius) !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
}

/* ---- Header: title + download all ---- */
.gl-dbx-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
}
.gl-dbx-title {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gl-gold) !important;
}
.gl-dbx-dl-all {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: background 0.15s var(--gl-ease), transform 0.15s var(--gl-ease) !important;
}
.gl-dbx-dl-all:hover {
  background: #ffe566 !important;
  transform: translateY(-1px) !important;
}

/* "Scanned by" attribution line below header */
.gl-dbx-scanned-by {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  color: var(--gl-text-dim) !important;
  margin-bottom: 16px !important;
  margin-top: -8px !important;
}
.gl-dbx-scanned-by strong {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 600 !important;
}

/* ---- Roll list ---- */
.gl-dbx-rolls {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* ---- Roll section (collapsible) ---- */
.gl-dbx-roll {
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  overflow: hidden !important;
  transition: border-color 0.15s var(--gl-ease) !important;
}
.gl-dbx-roll.gl-dbx-roll-open {
  border-color: var(--gl-border-gold) !important;
}

/* ---- Roll header ---- */
.gl-dbx-roll-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 16px !important;
  background: var(--gl-card-hover) !important;
  cursor: pointer !important;
  transition: background 0.12s var(--gl-ease) !important;
  user-select: none !important;
}
.gl-dbx-roll-header:hover {
  background: rgba(255,255,255,0.04) !important;
}

/* Chevron */
.gl-dbx-chevron {
  font-size: 14px !important;
  color: var(--gl-text-dim) !important;
  flex-shrink: 0 !important;
  width: 16px !important;
  text-align: center !important;
  transition: color 0.12s var(--gl-ease) !important;
}
.gl-dbx-roll-open .gl-dbx-chevron {
  color: var(--gl-gold) !important;
}

/* Roll name + meta */
.gl-dbx-roll-info {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  overflow: hidden !important;
}
.gl-dbx-roll-name {
  font-family: Lexend, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--gl-text) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.gl-dbx-roll-meta {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: var(--gl-gold) !important;
  background: rgba(253,206,49,0.10) !important;
  padding: 2px 8px !important;
  border-radius: 20px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Frame count badge */
.gl-dbx-roll-count {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 11px !important;
  color: var(--gl-text-dim) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* "Open in Dropbox" pill — inside expanded roll body */
.gl-dbx-open-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: var(--gl-gold) !important;
  background: rgba(253,206,49,0.10) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  margin-bottom: 12px !important;
  transition: background 0.15s var(--gl-ease), color 0.15s var(--gl-ease) !important;
}
.gl-dbx-open-pill:hover {
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
}
.gl-dbx-open-pill svg {
  flex-shrink: 0 !important;
}

/* ---- Roll body (thumbnail grid container) ---- */
.gl-dbx-roll-body {
  padding: 16px !important;
  background: rgba(253,206,49,0.02) !important;
}

/* ---- Contact Sheet Film Strips (v2.0.0) ---- */
.gl-cs-sheet {
  background: #0e0e0e !important;
  border: 1px solid var(--gl-border) !important;
  border-top: none !important;
  border-radius: 0 0 10px 10px !important;
  padding: 16px !important;
}
.gl-cs-strip {
  position: relative !important;
  background: #111 !important;
  border-radius: 3px !important;
  padding: 10px 8px !important;
  margin-bottom: 6px !important;
  overflow: hidden !important;
}
.gl-cs-strip:last-child { margin-bottom: 0 !important; }
.gl-cs-sprockets {
  position: absolute !important;
  left: 8px !important;
  right: 8px !important;
  display: flex !important;
  justify-content: space-between !important;
  pointer-events: none !important;
}
.gl-cs-sprockets-top { top: 2px !important; }
.gl-cs-sprockets-bottom { bottom: 2px !important; }
.gl-cs-sprocket {
  width: 5px !important;
  height: 5px !important;
  border-radius: 1px !important;
  background: #181818 !important;
  border: 1px solid #252525 !important;
}
.gl-cs-frames {
  display: flex !important;
  gap: 4px !important;
}
.gl-cs-frame {
  flex: 0 0 calc((100% - 20px) / 6) !important; /* 6 frames + 5 gaps of 4px */
  text-align: center !important;
  cursor: pointer !important;
}
.gl-cs-frame:hover .gl-cs-frame-img {
  border-color: rgba(253,206,49,0.4) !important;
}
.gl-cs-frame-img {
  aspect-ratio: 3/2 !important;
  border-radius: 2px !important;
  border: 1px solid #2a2a2a !important;
  overflow: hidden !important;
  transition: border-color 0.15s !important;
}
.gl-cs-frame-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}
.gl-cs-frame-img img.gl-cs-loaded { opacity: 1 !important; }
.gl-cs-frame-img.gl-cs-shimmer {
  background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%) !important;
  background-size: 200% 100% !important;
  animation: glCsShimmer 1.5s ease-in-out infinite !important;
}
@keyframes glCsShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.gl-cs-frame-num {
  font-family: 'Courier New', monospace !important;
  font-size: 9px !important;
  color: var(--gl-accent) !important;
  margin-top: 2px !important;
  letter-spacing: 0.5px !important;
}
.gl-dbx-roll-meta-right {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.gl-dbx-roll-uploaded {
  font-size: 11px !important;
  color: var(--gl-text-dim) !important;
  font-family: 'Courier New', monospace !important;
}
.gl-dbx-roll-dl {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: var(--gl-text-dim) !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
  text-decoration: none !important;
}
.gl-dbx-roll-dl svg { width: 14px !important; height: 14px !important; fill: currentColor !important; }
.gl-dbx-roll-dl:hover {
  background: rgba(253,206,49,0.12) !important;
  border-color: rgba(253,206,49,0.25) !important;
  color: var(--gl-accent) !important;
}

/* ---- Scan Lightbox ---- */
.gl-lightbox-overlay {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(0,0,0,0.92) !important;
  backdrop-filter: blur(8px) !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
}
.gl-lightbox-overlay.gl-lb-visible { display: flex !important; opacity: 1 !important; }
.gl-lb-close {
  position: absolute !important; top: 20px !important; right: 20px !important;
  width: 36px !important; height: 36px !important; border-radius: 50% !important;
  background: rgba(255,255,255,0.08) !important; border: 1px solid rgba(255,255,255,0.1) !important;
  color: var(--gl-text-muted) !important; font-size: 18px !important;
  cursor: pointer !important; display: flex !important; align-items: center !important;
  justify-content: center !important; transition: all 0.15s !important;
}
.gl-lb-close:hover { background: rgba(255,255,255,0.15) !important; color: var(--gl-text) !important; }
.gl-lb-img-wrap {
  max-width: 80vw !important; max-height: 60vh !important;
  border-radius: 6px !important; overflow: hidden !important;
  background: #1a1a1a !important; transform: scale(0.95) !important;
  transition: transform 0.25s cubic-bezier(.16,1,.3,1) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.gl-lb-visible .gl-lb-img-wrap { transform: scale(1) !important; }
.gl-lb-img-wrap img { display: block !important; max-width: 80vw !important; max-height: 60vh !important; }
.gl-lb-bar {
  margin-top: 16px !important; display: flex !important; align-items: center !important;
  gap: 16px !important; flex-wrap: wrap !important; justify-content: center !important;
}
.gl-lb-frame-label {
  font-family: 'Courier New', monospace !important; color: var(--gl-accent) !important;
  font-size: 13px !important; letter-spacing: 1px !important;
}
.gl-lb-dl-btn {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  padding: 8px 16px !important; border-radius: 8px !important;
  background: rgba(253,206,49,0.12) !important; border: 1px solid rgba(253,206,49,0.25) !important;
  color: var(--gl-accent) !important; font-size: 13px !important; cursor: pointer !important;
  transition: all 0.15s !important; font-family: Lexend, system-ui, sans-serif !important;
}
.gl-lb-dl-btn svg { width: 13px !important; height: 13px !important; fill: currentColor !important; }
.gl-lb-dl-btn:hover { background: rgba(253,206,49,0.2) !important; border-color: rgba(253,206,49,0.4) !important; }
.gl-lb-info-btn {
  width: 32px !important; height: 32px !important; border-radius: 50% !important;
  background: rgba(255,255,255,0.06) !important; border: 1px solid rgba(255,255,255,0.1) !important;
  color: var(--gl-text-dim) !important;
  cursor: pointer !important; display: flex !important; align-items: center !important;
  justify-content: center !important; transition: all 0.15s !important;
  padding: 0 !important;
}
.gl-lb-info-btn svg { width: 16px !important; height: 16px !important; fill: currentColor !important; }
.gl-lb-info-btn:hover,
.gl-lb-info-btn.gl-lb-info-active { background: rgba(255,255,255,0.1) !important; color: var(--gl-text-muted) !important; }
.gl-lb-info-panel {
  margin-top: 12px !important; background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--gl-border) !important; border-radius: var(--gl-radius-sm) !important;
  padding: 16px 20px !important; max-width: 480px !important; width: 90vw !important;
  display: none !important;
}
.gl-lb-info-panel.gl-lb-info-visible { display: block !important; animation: glLbFadeUp 0.2s ease !important; }
@keyframes glLbFadeUp { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.gl-lb-info-row {
  display: flex !important; justify-content: space-between !important; align-items: center !important;
  padding: 6px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}
.gl-lb-info-row:last-child { border-bottom: none !important; }
.gl-lb-info-label { font-size: 12px !important; color: var(--gl-text-dim) !important; }
.gl-lb-info-value { font-size: 12px !important; color: var(--gl-text-muted) !important; font-family: 'Courier New', monospace !important; }

/* Print Potential */
.gl-pp { margin-top: 12px !important; padding-top: 12px !important; border-top: 1px solid var(--gl-border) !important; }
.gl-pp-label { font-size: 11px !important; color: var(--gl-accent) !important; font-weight: 500 !important; margin-bottom: 12px !important; letter-spacing: 0.3px !important; }
.gl-pp-size-display { text-align: center !important; margin-bottom: 14px !important; padding: 10px 0 !important; }
.gl-pp-size-value { font-size: 22px !important; color: var(--gl-text) !important; font-family: 'Courier New', monospace !important; font-weight: 600 !important; letter-spacing: 1px !important; }
.gl-pp-cards { display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; gap: 6px !important; }
.gl-pp-card {
  padding: 10px 8px !important; border-radius: 8px !important; cursor: pointer !important;
  background: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.06) !important;
  text-align: center !important; transition: all 0.15s !important;
}
.gl-pp-card:hover { background: rgba(255,255,255,0.05) !important; border-color: rgba(255,255,255,0.1) !important; }
.gl-pp-card.gl-pp-active { background: rgba(253,206,49,0.08) !important; border-color: rgba(253,206,49,0.25) !important; }
.gl-pp-card-name { font-size: 12px !important; font-weight: 500 !important; margin-bottom: 3px !important; color: var(--gl-text-dim) !important; transition: color 0.15s !important; }
.gl-pp-card.gl-pp-active .gl-pp-card-name { color: var(--gl-accent) !important; }
.gl-pp-card-desc { font-size: 10px !important; color: rgba(255,255,255,0.2) !important; line-height: 1.3 !important; }

/* ---- Intake Image Modal ---- */
.gl-intake-link {
  display: inline-flex !important; align-items: center !important; gap: 7px !important;
  font-family: Lexend, system-ui, sans-serif !important; font-size: 12px !important;
  color: var(--gl-text-dim) !important; cursor: pointer !important; transition: all 0.15s !important;
  text-decoration: none !important; padding: 6px 12px !important; border-radius: 8px !important;
  background: rgba(255,255,255,0.03) !important; border: 1px solid var(--gl-border) !important;
  margin-top: 12px !important;
}
.gl-intake-link:hover { color: var(--gl-text-muted) !important; background: rgba(255,255,255,0.05) !important; border-color: rgba(255,255,255,0.1) !important; }
.gl-intake-link svg { width: 14px !important; height: 14px !important; fill: currentColor !important; opacity: 0.7 !important; }
.gl-intake-modal {
  display: none; position: fixed !important; inset: 0 !important; z-index: 99998 !important;
  background: rgba(0,0,0,0.88) !important; backdrop-filter: blur(6px) !important;
  align-items: center !important; justify-content: center !important; flex-direction: column !important;
  opacity: 0 !important; transition: opacity 0.2s ease !important;
}
.gl-intake-modal.gl-intake-visible { display: flex !important; opacity: 1 !important; }
.gl-intake-content {
  max-width: 500px !important; width: 90vw !important; background: var(--gl-card) !important;
  border: 1px solid rgba(255,255,255,0.08) !important; border-radius: var(--gl-radius) !important;
  overflow: hidden !important; transform: scale(0.95) !important;
  transition: transform 0.25s cubic-bezier(.16,1,.3,1) !important;
}
.gl-intake-visible .gl-intake-content { transform: scale(1) !important; }
.gl-intake-img { width: 100% !important; aspect-ratio: 4/3 !important; object-fit: cover !important; display: block !important; background: #111 !important; }
.gl-intake-body { padding: 20px !important; }
.gl-intake-title { font-family: korolev, system-ui, sans-serif !important; font-size: 14px !important; font-weight: 700 !important; color: var(--gl-text) !important; margin-bottom: 6px !important; }
.gl-intake-desc { font-size: 12px !important; color: var(--gl-text-muted) !important; line-height: 1.6 !important; }
.gl-intake-close {
  position: absolute !important; top: 16px !important; right: 16px !important;
  width: 32px !important; height: 32px !important; border-radius: 50% !important;
  background: rgba(255,255,255,0.08) !important; border: 1px solid rgba(255,255,255,0.1) !important;
  color: var(--gl-text-muted) !important; font-size: 16px !important; cursor: pointer !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
}

/* ---- Download toast (bottom-of-page notification) ---- */
.gl-dl-toast {
  position: fixed !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(80px) !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: var(--gl-card, #242424) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  padding: 14px 22px !important;
  z-index: 10000 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
  opacity: 0 !important;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), opacity 0.35s ease !important;
  min-width: 260px !important;
}
.gl-dl-toast-show {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}
.gl-dl-toast-hide {
  opacity: 0 !important;
  transform: translateX(-50%) translateY(20px) !important;
}

/* Spinner (rotating ring) */
.gl-dl-spinner {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border: 2.5px solid rgba(253,206,49,0.2) !important;
  border-top-color: var(--gl-gold, #FDCE31) !important;
  border-radius: 50% !important;
  animation: glDlSpin 0.7s linear infinite !important;
}
@keyframes glDlSpin {
  to { transform: rotate(360deg); }
}

/* Success / error icon replacing spinner */
.gl-dl-icon-done,
.gl-dl-icon-err {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Toast text */
.gl-dl-toast-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
.gl-dl-toast-title {
  font-family: korolev, sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #fff !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}
.gl-dl-toast-file {
  font-family: 'Lexend', sans-serif !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
}

/* ---- Skeleton loading for roll list ---- */
.gl-dbx-skeleton-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.gl-dbx-skeleton {
  height: 52px !important;
  border-radius: var(--gl-radius-sm) !important;
  background: rgba(255,255,255,0.04) !important;
  animation: glDbxPulse 1.5s ease-in-out infinite !important;
}

/* ---- Empty state ---- */
.gl-dbx-empty {
  text-align: center !important;
  padding: 24px 16px !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  color: var(--gl-text-dim) !important;
}


/* ------------------------------------------------------------------ */
/* 11. RESPONSIVE — TABLET & MOBILE                                    */
/* ------------------------------------------------------------------ */

/* ---- 11a. Tablet (≤ 900px) ---- */
@media (max-width: 940px) {

  /* Container overflow protection */
  .woocommerce-account .woocommerce {
    overflow: hidden !important;
    max-width: 100% !important;
  }

  /* Stack layout on tablet/mobile — kicks in before the sidebar gets too narrow */
  .woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  .woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* All direct children — constrain to container width */
  .woocommerce-account .woocommerce-MyAccount-content > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Cards and key elements — explicit containment */
  .woocommerce-account .woocommerce-order-details,
  .gl-shipping-card,
  .gl-scan-card,
  .gl-pipeline-row,
  .gl-order-header,
  .gl-dropoff-card,
  .gl-arrival-card,
  .gl-dbx-browser,
  .gl-labnotes-card,
  .gl-order-summary,
  .gl-fastpass,
  .woocommerce-account .woocommerce-OrderUpdates,
  .woocommerce-account .woocommerce-customer-details,
  .woocommerce-account .woocommerce-customer-details .woocommerce-columns {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Tables must not exceed container */
  .woocommerce-account .woocommerce-order-details table {
    max-width: 100% !important;
    table-layout: fixed !important;
    word-wrap: break-word !important;
  }

  /* Pills — slightly smaller on tablet */
  .gl-order-header .gl-pill--order {
    font-size: 16px !important;
    padding: 8px 18px !important;
  }
  .gl-order-header .gl-pill--status,
  .gl-order-header .gl-pill--date,
  .gl-status-check-btn {
    font-size: 12px !important;
    padding: 7px 14px !important;
  }

  /* Shipping card — tighter padding */
  .gl-shipping-card {
    padding: 14px 16px !important;
  }

  /* Drop-off card — tighter */
  .gl-dropoff-card {
    padding: 12px 16px !important;
  }

  /* Order details card — less padding */
  .woocommerce-account .woocommerce-order-details {
    padding: 18px !important;
    border-radius: var(--gl-radius-sm) !important;
  }

  /* Table cells — tighter on tablet */
  .woocommerce-account table th,
  .woocommerce-account table td {
    padding: 10px 12px !important;
  }

  /* Address cards — reduce padding */
  .woocommerce-account .woocommerce-customer-details .woocommerce-column {
    padding: 14px 16px !important;
  }
}

/* ---- 11b. Small tablet / large phone (≤ 600px) ---- */
@media (max-width: 600px) {

  /* Pills row — wrap tighter */
  .gl-order-header {
    gap: 8px !important;
    margin-bottom: 16px !important;
  }
  .gl-order-header .gl-pill--order {
    font-size: 15px !important;
    padding: 7px 16px !important;
  }
  .gl-order-header .gl-pill--status,
  .gl-order-header .gl-pill--date {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }
  .gl-status-check-btn {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }

  /* Shipping card — stack text + button vertically */
  .gl-shipping-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 14px 16px !important;
    gap: 10px !important;
  }
  .gl-shipping-card .gl-track-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
  }
  .gl-shipping-card .gl-label-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Scan card — tighter padding */
  .gl-scan-card {
    padding: 14px 16px !important;
    gap: 8px !important;
  }
  .gl-scan-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .gl-scan-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 16px !important;
  }
  .gl-scan-storage {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  /* Pipeline — tighter */
  .gl-pipeline-row {
    gap: 6px !important;
  }
  .gl-pipeline-step {
    font-size: 10px !important;
  }

  /* Film Arrival — tighter */
  .gl-arrival-card {
    padding: 14px 16px !important;
    gap: 10px !important;
  }
  .gl-arrival-title {
    font-size: 12px !important;
  }
  .gl-arrival-desc {
    font-size: 12px !important;
  }

  /* Lab Notes — tighter */
  .gl-labnotes-card {
    padding: 16px !important;
  }
  .gl-labnotes-text {
    font-size: 13px !important;
  }
  .gl-labnotes-sig-name {
    font-size: 14px !important;
  }
  .gl-blank-notice {
    padding: 12px 14px !important;
  }

  /* Order Summary — tighter */
  .gl-order-summary {
    padding: 16px !important;
  }
  .gl-order-summary-heading {
    font-size: 16px !important;
  }
  .gl-order-summary-text {
    font-size: 13px !important;
  }

  /* Fast Pass — tighter */
  .gl-fastpass {
    padding: 6px 12px !important;
    gap: 8px !important;
  }
  .gl-fastpass-desc {
    font-size: 11px !important;
  }

  /* Drop-off card — tighter */
  .gl-dropoff-card {
    padding: 12px 14px !important;
  }
  .gl-dropoff-card dt {
    font-size: 11px !important;
  }
  .gl-dropoff-card dd {
    font-size: 14px !important;
  }

  /* Order details card — minimal padding */
  .woocommerce-account .woocommerce-order-details {
    padding: 14px !important;
    margin-bottom: 20px !important;
  }
  .woocommerce-account .woocommerce-order-details .woocommerce-order-details__title {
    font-size: 16px !important;
    margin-bottom: 12px !important;
  }

  /* Order details table — make it a stacked block layout */
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details,
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead,
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody,
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot,
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tr,
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details th,
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td {
    display: block !important;
    width: 100% !important;
  }

  /* Hide table header row on mobile */
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead {
    display: none !important;
  }

  /* Product rows — full width block, product name on top, price below */
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody tr {
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--gl-border) !important;
  }
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody td {
    padding: 2px 0 !important;
    border-bottom: none !important;
  }
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody td.product-name {
    padding-bottom: 4px !important;
  }
  .woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody td.product-total {
    padding-top: 6px !important;
    font-size: 15px !important;
  }

  /* Product meta — tighter on mobile */
  .woocommerce-account .woocommerce-order-details .wc-item-meta li {
    font-size: 12px !important;
    padding: 2px 0 !important;
  }

  /* Totals rows — keep two-column with flexbox */
  .woocommerce-account .woocommerce-order-details tfoot tr {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--gl-border) !important;
  }
  .woocommerce-account .woocommerce-order-details tfoot tr:last-child {
    border-bottom: none !important;
  }
  .woocommerce-account .woocommerce-order-details tfoot th,
  .woocommerce-account .woocommerce-order-details tfoot td {
    padding: 0 !important;
    border-bottom: none !important;
    width: auto !important;
  }
  .woocommerce-account .woocommerce-order-details tfoot th {
    font-size: 11px !important;
  }
  .woocommerce-account .woocommerce-order-details tfoot td {
    text-align: right !important;
    font-size: 14px !important;
  }

  /* Address cards — STACK vertically */
  .woocommerce-account .woocommerce-customer-details .woocommerce-columns {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .woocommerce-account .woocommerce-customer-details .woocommerce-column {
    flex: none !important;
    width: 100% !important;
  }

  /* Section headings — smaller on mobile */
  .woocommerce-account .woocommerce-MyAccount-content > h2 {
    font-size: 16px !important;
    margin-bottom: 12px !important;
  }

  /* Order updates — tighter */
  .woocommerce-account .woocommerce-OrderUpdates {
    padding: 14px 16px !important;
  }

  /* Store Credit empty state */
  .woocommerce-store-credit .woocommerce-MyAccount-content > p.woocommerce-info,
  .woocommerce-store-credit .woocommerce-MyAccount-content > p.woocommerce-Message {
    padding: 18px !important;
    font-size: 13px !important;
  }

  /* Addresses page — stack edit-address cards */
  .woocommerce-account .woocommerce-Addresses {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    width: 100% !important;
    padding: 16px !important;
  }

  /* Forms — full width inputs */
  .woocommerce-account .woocommerce-MyAccount-content input[type="text"],
  .woocommerce-account .woocommerce-MyAccount-content input[type="email"],
  .woocommerce-account .woocommerce-MyAccount-content input[type="password"],
  .woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
  .woocommerce-account .woocommerce-MyAccount-content select {
    width: 100% !important;
    font-size: 14px !important;
    padding: 10px 12px !important;
  }

  /* Submit buttons — full width on mobile */
  .woocommerce-account .woocommerce-MyAccount-content button[type="submit"] {
    width: 100% !important;
    padding: 14px 24px !important;
  }

  /* Dropbox browser — tighter */
  .gl-dbx-browser {
    padding: 16px !important;
    border-radius: var(--gl-radius-sm) !important;
  }
  .gl-dbx-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }
  .gl-dbx-dl-all {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 16px !important;
  }
  .gl-dbx-roll-header {
    padding: 12px !important;
    gap: 8px !important;
  }
  .gl-dbx-roll-name {
    font-size: 13px !important;
  }
  .gl-dbx-roll-meta {
    display: none !important;
  }
  .gl-dbx-roll-count {
    font-size: 10px !important;
  }
  .gl-dbx-roll-body {
    padding: 10px !important;
  }
  .gl-cs-sheet { padding: 12px !important; }
  .gl-cs-strip { padding: 8px 6px !important; margin-bottom: 4px !important; }
  .gl-cs-frames { gap: 3px !important; flex-wrap: wrap !important; }
  .gl-cs-frame { flex: 0 0 calc((100% - 6px) / 3) !important; } /* 3 per row, wraps 6-frame strips into 2 rows */
  .gl-cs-frame-num { font-size: 8px !important; }
  .gl-cs-sprocket { width: 4px !important; height: 4px !important; }
  .gl-dbx-roll-uploaded { display: none !important; }
}

/* ---- 11c. Phone (≤ 480px) ---- */
@media (max-width: 480px) {

  /* Page title — smaller */
  .woocommerce-account .entry-title,
  .woocommerce-account h1.entry-title {
    font-size: 22px !important;
  }

  /* Pills — compact */
  .gl-order-header {
    gap: 6px !important;
  }
  .gl-order-header .gl-pill--order {
    font-size: 14px !important;
    padding: 6px 14px !important;
  }
  .gl-order-header .gl-pill--status,
  .gl-order-header .gl-pill--date {
    font-size: 10px !important;
    padding: 5px 10px !important;
  }
  .gl-status-check-btn {
    font-size: 10px !important;
    padding: 5px 10px !important;
  }

  /* Order details card */
  .woocommerce-account .woocommerce-order-details {
    padding: 12px !important;
    border-radius: 10px !important;
  }
  .woocommerce-account .woocommerce-order-details .woocommerce-order-details__title {
    font-size: 15px !important;
  }

  /* Product name link — smaller */
  .woocommerce-account .woocommerce-order-details .product-name a {
    font-size: 14px !important;
  }

  /* Address card titles — smaller */
  .woocommerce-account .woocommerce-customer-details .woocommerce-column__title {
    font-size: 11px !important;
  }
  .woocommerce-account .woocommerce-customer-details address {
    font-size: 12px !important;
  }
  .woocommerce-account .woocommerce-customer-details .woocommerce-column {
    padding: 12px 14px !important;
  }

  /* Drop-off + Shipping — minimal padding */
  .gl-shipping-card {
    padding: 12px 14px !important;
    border-radius: 10px !important;
  }
  .gl-shipping-card .gl-shipping-info {
    font-size: 13px !important;
  }
  .gl-shipping-card .gl-track-btn {
    font-size: 12px !important;
    padding: 10px 14px !important;
  }
  .gl-dropoff-card {
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }
  .gl-scan-card {
    padding: 12px 14px !important;
    border-radius: 10px !important;
  }
  .gl-scan-badge {
    font-size: 14px !important;
  }
  .gl-scan-tag {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  .gl-scan-btn {
    font-size: 12px !important;
    padding: 10px 14px !important;
  }
  .gl-scan-rollnote,
  .gl-scan-storage-text,
  .gl-scan-expand-btn {
    font-size: 11px !important;
  }

  /* Film Arrival — compact */
  .gl-arrival-card {
    padding: 12px 14px !important;
    gap: 10px !important;
    border-radius: 10px !important;
  }
  .gl-arrival-icon {
    font-size: 18px !important;
  }
  .gl-arrival-title {
    font-size: 12px !important;
  }
  .gl-arrival-desc {
    font-size: 11px !important;
  }

  /* Lab Notes — compact */
  .gl-labnotes-card {
    padding: 14px !important;
    border-radius: 10px !important;
  }
  .gl-labnotes-text {
    font-size: 12px !important;
  }
  .gl-labnotes-sig-name {
    font-size: 13px !important;
  }
  .gl-labnotes-sig-label {
    font-size: 9px !important;
  }
  .gl-blank-notice {
    padding: 10px 12px !important;
    gap: 8px !important;
  }
  .gl-blank-title {
    font-size: 12px !important;
  }
  .gl-blank-ids,
  .gl-blank-credit {
    font-size: 11px !important;
  }

  /* Order Summary — compact */
  .gl-order-summary {
    padding: 14px !important;
    border-radius: 10px !important;
  }
  .gl-order-summary-heading {
    font-size: 15px !important;
  }
  .gl-order-summary-count {
    font-size: 11px !important;
  }
  .gl-order-summary-text {
    font-size: 12px !important;
  }

  /* Fast Pass — compact */
  .gl-fastpass {
    padding: 6px 10px !important;
    gap: 6px !important;
  }
  .gl-fastpass-icon {
    font-size: 14px !important;
  }
  .gl-fastpass-desc {
    font-size: 10px !important;
  }

  /* Order Summary deliverables — compact */
  .gl-order-summary-dellist li {
    font-size: 11px !important;
  }

  /* Dropbox browser — compact */
  .gl-dbx-browser {
    padding: 12px !important;
    border-radius: 10px !important;
  }
  .gl-dbx-title {
    font-size: 11px !important;
  }
  .gl-dbx-dl-all {
    font-size: 10px !important;
    padding: 8px 12px !important;
  }
  .gl-dbx-roll-header {
    padding: 10px 12px !important;
  }
  .gl-dbx-roll-name {
    font-size: 12px !important;
  }
  .gl-dbx-roll-body {
    padding: 8px !important;
  }
  .gl-cs-sheet { padding: 10px !important; }
  .gl-lb-img-wrap { max-width: 92vw !important; max-height: 55vh !important; }
  .gl-lb-img-wrap img { max-width: 92vw !important; max-height: 55vh !important; }
  .gl-lb-info-panel { padding: 12px 14px !important; }
  .gl-pp-card { padding: 8px 6px !important; }
  .gl-pp-card-name { font-size: 11px !important; }
  .gl-pp-card-desc { font-size: 9px !important; }
  .gl-cs-frame-num {
    font-size: 8px !important;
    padding: 14px 4px 3px !important;
  }
}


/* ================================================================== */
/* 14. POS ORDERS — LOCATION PILLS & ORDERS LIST                     */
/* ================================================================== */

/* ---- Location pill (shared between orders list + detail view) ---- */
.gl-order-loc {
  display: inline-flex !important;
  align-items: center !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: 50px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}
.gl-loc-online {
  background: rgba(253,206,49,0.12) !important;
  color: var(--gl-gold) !important;
}
.gl-loc-nj {
  background: rgba(46,204,113,0.12) !important;
  color: #2ecc71 !important;
}
.gl-loc-nyc {
  background: rgba(155,89,182,0.12) !important;
  color: #bb86fc !important;
}

/* ---- Order row ID (displayed above date in date cell) ---- */
.gl-order-row-id {
  display: block !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  color: var(--gl-text) !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
  margin-bottom: 2px !important;
}

/* ---- Pill row under order link (location + category) ---- */
.gl-order-row-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 6px !important;
}

/* ---- Category pill (Services / Shop Order) ---- */
.gl-order-cat {
  display: inline-flex !important;
  align-items: center !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: 50px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}
.gl-cat-services {
  background: rgba(52,152,219,0.12) !important;
  color: #5dade2 !important;
}
.gl-cat-shop {
  background: rgba(255,255,255,0.08) !important;
  color: var(--gl-text-muted) !important;
}

/* ---- POS card in Astra grid ---- */
.gl-pos-row.ast-orders-table__row {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  color: var(--gl-text) !important;
  overflow: hidden !important;
}
.gl-pos-row .ast-orders-table__cell {
  color: var(--gl-text) !important;
  font-family: Lexend, system-ui, sans-serif !important;
}

/* POS number cell — hidden (same as all cards, unified design) */
.gl-pos-row .ast-orders-table__cell-order-number .gl-order-row-pills {
  margin-top: 0 !important;
}

/* Roll count badge next to order total */
.gl-pos-rollcount {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12px !important;
  color: var(--gl-text-dim) !important;
  font-weight: 400 !important;
}

/* POS View button — matches WooCommerce View button */
.gl-pos-view-btn {
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.15s var(--gl-ease) !important;
}
.gl-pos-view-btn:hover {
  background: #e5ba2c !important;
}

/* ---- Refresh Orders bar + button ---- */
.gl-refresh-bar {
  display: flex !important;
  justify-content: flex-end !important;
  margin-bottom: 12px !important;
}
.gl-refresh-btn {
  background: none !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.5) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 7px 14px !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, color 0.15s ease !important;
}
.gl-refresh-btn:hover {
  border-color: rgba(255,255,255,0.25) !important;
  color: rgba(255,255,255,0.8) !important;
}
.gl-refresh-btn:disabled {
  opacity: 0.4 !important;
  cursor: default !important;
}


/* ================================================================== */
/* 15. POS ORDER DETAIL VIEW                                          */
/* ================================================================== */

/* ---- Back button ---- */
.gl-pos-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--gl-text-muted) !important;
  text-decoration: none !important;
  margin-bottom: 20px !important;
  cursor: pointer !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  transition: color 0.15s ease !important;
}
.gl-pos-back:hover {
  color: var(--gl-text) !important;
}

/* ---- Loading spinner ---- */
.gl-pos-loading {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 80px 0 !important;
  gap: 16px !important;
}
.gl-pos-loading-spinner {
  width: 28px !important;
  height: 28px !important;
  border: 2.5px solid rgba(253,206,49,0.15) !important;
  border-top-color: var(--gl-accent) !important;
  border-radius: 50% !important;
  animation: gl-spin 0.7s linear infinite !important;
}
.gl-pos-loading-text {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  color: var(--gl-text-dim) !important;
  letter-spacing: 0.3px !important;
}
@keyframes gl-spin {
  to { transform: rotate(360deg); }
}

/* ---- Empty state ---- */
.gl-pos-empty {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 15px !important;
  color: var(--gl-text-muted) !important;
  text-align: center !important;
  padding: 40px 20px !important;
}


/* ================================================================== */
/* 16. POS ROLL BREAKDOWN CARD                                        */
/* ================================================================== */

.gl-pos-rolls-card {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 22px !important;
  margin-bottom: 20px !important;
}
.gl-pos-rolls-heading {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gl-text-muted) !important;
  margin-bottom: 16px !important;
}

/* Individual roll */
.gl-pos-roll {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: 10px !important;
  padding: 16px 18px !important;
  margin-bottom: 10px !important;
  transition: background 0.15s ease !important;
}
.gl-pos-roll:last-child {
  margin-bottom: 0 !important;
}
.gl-pos-roll:hover {
  background: rgba(255,255,255,0.05) !important;
}

/* Roll header row — ID badge + film description + service tag */
.gl-pos-roll-header {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

/* Roll ID badge */
.gl-pos-roll-id {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  padding: 4px 12px !important;
  border-radius: 50px !important;
  line-height: 1.3 !important;
}

/* Film type description */
.gl-pos-roll-film {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--gl-text) !important;
}

/* Service tag (Develop & Scan, etc.) */
.gl-pos-roll-svc {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(255,255,255,0.08) !important;
  color: var(--gl-text-muted) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 10px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: 50px !important;
  line-height: 1.3 !important;
}

/* Uploaded / Pending pill on YOUR ROLLS card */
.gl-pos-roll-uploaded {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(76, 175, 80, 0.18) !important;
  color: #66bb6a !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 9px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 3px 10px !important;
  border-radius: 50px !important;
  line-height: 1.3 !important;
  margin-left: 8px !important;
}
.gl-pos-roll-uploaded.gl-pos-roll-pending {
  background: rgba(255, 193, 7, 0.15) !important;
  color: #ffca28 !important;
}
.gl-pos-roll-uploaded.gl-pos-roll-blank {
  background: rgba(239, 83, 80, 0.15) !important;
  color: #ef9a9a !important;
}
.gl-pos-roll-uploaded.gl-pos-roll-printed {
  background: rgba(186, 104, 200, 0.15) !important;
  color: #ce93d8 !important;
}

/* Printed pill in Dropbox scan browser roll headers */
.gl-dbx-roll-printed {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(186, 104, 200, 0.15) !important;
  color: #ce93d8 !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 3px 10px !important;
  border-radius: 50px !important;
  line-height: 1.3 !important;
  margin-left: 8px !important;
}

/* Roll details line (GelForm, scan size, handling, etc.) */
.gl-pos-roll-details {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12px !important;
  color: var(--gl-text-dim) !important;
  line-height: 1.6 !important;
  margin-top: 4px !important;
}

/* Roll notes */
.gl-pos-roll-notes {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12px !important;
  color: var(--gl-text-muted) !important;
  font-style: italic !important;
  margin-top: 6px !important;
  padding-top: 6px !important;
  border-top: 1px solid var(--gl-border) !important;
  line-height: 1.5 !important;
}

/* Generic roll badge (fallback mode — "Roll 1", "Roll 2", etc.) */
.gl-pos-roll-generic {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--gl-text) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  padding: 4px 12px !important;
  border-radius: 50px !important;
  line-height: 1.3 !important;
}

/* Process-type ROLL IDs card (inside YOUR ROLLS card, fallback mode) */
.gl-pos-process-ids-card {
  margin-top: 20px !important;
  padding: 16px 20px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
}
.gl-pos-process-ids-heading {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gl-text-muted) !important;
  margin-bottom: 12px !important;
}
.gl-pos-process-group {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}
.gl-pos-process-group:last-child {
  margin-bottom: 0 !important;
}
.gl-pos-process-label {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  color: var(--gl-text-dim) !important;
  min-width: 48px !important;
}
.gl-pos-process-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.gl-pos-process-pill {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  padding: 3px 10px !important;
  border-radius: 50px !important;
  line-height: 1.3 !important;
}


/* ================================================================== */
/* 17. POS INVOICE / ORDER BREAKDOWN                                  */
/* ================================================================== */

.gl-pos-invoice {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius-sm) !important;
  padding: 22px !important;
  margin-bottom: 20px !important;
}
.gl-pos-invoice-heading {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gl-text-muted) !important;
  margin-bottom: 16px !important;
}

/* Invoice row */
.gl-pos-invoice-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid var(--gl-border) !important;
}
.gl-pos-invoice-row:last-of-type {
  border-bottom: none !important;
}

/* Description column */
.gl-pos-invoice-desc {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 14px !important;
  color: var(--gl-text) !important;
  font-weight: 500 !important;
  flex: 1 !important;
  min-width: 0 !important;
  padding-right: 16px !important;
}

/* Price column */
.gl-pos-invoice-price {
  font-family: korolev, system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--gl-text) !important;
  white-space: nowrap !important;
}

/* Sub-detail line (handling, turnaround, etc.) */
.gl-pos-invoice-sub {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 11px !important;
  color: var(--gl-text-dim) !important;
  padding: 2px 0 8px 2px !important;
  letter-spacing: 0.01em !important;
}

/* Total row — gold emphasis */
.gl-pos-invoice-total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  padding: 14px 0 0 !important;
  margin-top: 8px !important;
  border-top: 2px solid rgba(253,206,49,0.2) !important;
}
.gl-pos-invoice-total .gl-pos-invoice-desc {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--gl-text) !important;
}
.gl-pos-invoice-total .gl-pos-invoice-price {
  font-size: 18px !important;
  color: var(--gl-gold) !important;
}


/* ================================================================== */
/* 18. POS ORDER META (pickup/delivery, address, total)               */
/* ================================================================== */

.gl-pos-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}
.gl-pos-meta-item {
  flex: 1 1 auto !important;
  min-width: 140px !important;
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.gl-pos-meta-label {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--gl-text-dim) !important;
}
.gl-pos-meta-value {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--gl-text) !important;
}

/* Total value — gold emphasis */
.gl-pos-total {
  color: var(--gl-gold) !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 18px !important;
}


/* ================================================================== */
/* 19. POS RESPONSIVE — 940px                                         */
/* ================================================================== */

@media (max-width: 940px) {
  .gl-pos-rolls-card,
  .gl-pos-invoice,
  .gl-pos-meta {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* ================================================================== */
/* 20. POS RESPONSIVE — 600px                                         */
/* ================================================================== */

@media (max-width: 600px) {
  /* Location + category pills — slightly smaller */
  .gl-order-loc,
  .gl-order-cat {
    font-size: 9px !important;
    padding: 3px 8px !important;
  }
  .gl-order-row-id {
    font-size: 13px !important;
  }

  /* Back button */
  .gl-pos-back {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }

  /* Roll breakdown */
  .gl-pos-rolls-card {
    padding: 16px !important;
    border-radius: 10px !important;
  }
  .gl-pos-roll {
    padding: 12px 14px !important;
    border-radius: 8px !important;
  }
  .gl-pos-roll-header {
    gap: 8px !important;
  }
  .gl-pos-roll-id {
    font-size: 12px !important;
    padding: 3px 10px !important;
  }
  .gl-pos-roll-film {
    font-size: 13px !important;
  }
  .gl-pos-roll-svc {
    font-size: 9px !important;
  }
  .gl-pos-roll-details {
    font-size: 11px !important;
  }
  .gl-pos-roll-notes {
    font-size: 11px !important;
  }
  .gl-pos-roll-generic {
    font-size: 12px !important;
    padding: 3px 10px !important;
  }
  .gl-pos-process-ids-card {
    padding: 12px 14px !important;
  }
  .gl-pos-process-pill {
    font-size: 11px !important;
    padding: 2px 8px !important;
  }

  /* Invoice */
  .gl-pos-invoice {
    padding: 16px !important;
    border-radius: 10px !important;
  }
  .gl-pos-invoice-desc {
    font-size: 13px !important;
  }
  .gl-pos-invoice-price {
    font-size: 13px !important;
  }
  .gl-pos-invoice-total .gl-pos-invoice-price {
    font-size: 16px !important;
  }

  /* Meta cards — stack */
  .gl-pos-meta {
    flex-direction: column !important;
  }
  .gl-pos-meta-item {
    min-width: 0 !important;
  }
}


/* ================================================================== */
/* 21. POS RESPONSIVE — 480px                                         */
/* ================================================================== */

@media (max-width: 480px) {
  .gl-order-row-id {
    font-size: 12px !important;
  }
  .gl-order-row-pills {
    gap: 4px !important;
  }
  .gl-pos-rolls-card {
    padding: 12px !important;
  }
  .gl-pos-roll {
    padding: 10px 12px !important;
  }
  .gl-pos-roll-id {
    font-size: 11px !important;
    padding: 3px 8px !important;
  }
  .gl-pos-roll-film {
    font-size: 12px !important;
  }
  .gl-pos-roll-details {
    font-size: 10px !important;
  }
  .gl-pos-roll-generic {
    font-size: 11px !important;
    padding: 3px 8px !important;
  }
  .gl-pos-process-ids-card {
    padding: 10px 12px !important;
  }
  .gl-pos-process-pill {
    font-size: 10px !important;
  }

  .gl-pos-invoice {
    padding: 12px !important;
  }
  .gl-pos-invoice-desc {
    font-size: 12px !important;
  }
  .gl-pos-invoice-price {
    font-size: 12px !important;
  }
  .gl-pos-invoice-total .gl-pos-invoice-desc {
    font-size: 13px !important;
  }
  .gl-pos-invoice-total .gl-pos-invoice-price {
    font-size: 15px !important;
  }

  .gl-pos-meta-item {
    padding: 12px 14px !important;
  }
  .gl-pos-meta-value {
    font-size: 14px !important;
  }
  .gl-pos-total {
    font-size: 16px !important;
  }
}


/* ====================================================================
   LOGIN / REGISTER PAGE — LOGGED-OUT STATE (G1 to G3, 2026-10-12)
   ====================================================================
   Layout only. Everything INSIDE .xoo-el-form-container (tabs, fields,
   icons, checkmarks, button) is styled ONCE in Easy Login's own Custom
   CSS option (xoo-el-av-options[m-custom-css]; repo copy
   snippets/xoo-el-custom-css-2026-10-12.css), because the sign-up
   pop-up is on every page and this file loads on /my-account/* only.
   Markup: account-page/src/chrome/renderLoginFeatures.ts.
   Desktop: welcome + five perks on the left, the form on the right.
   Phones: welcome, form, then three perks.
   ==================================================================== */
.gl-login-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  grid-template-areas: "hero form" "perks form" !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  column-gap: 40px !important;
  row-gap: 26px !important;
  align-items: start !important;
  max-width: 1100px !important;
  margin: 40px auto 60px !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}
.gl-login-hero { grid-area: hero !important; margin: 6px 2px 0 !important; min-width: 0 !important; }
.gl-login-form-col { grid-area: form !important; min-width: 0 !important; }
.gl-login-perks { grid-area: perks !important; display: grid !important; gap: 16px !important; margin: 0 2px !important; min-width: 0 !important; }

.gl-login-hero-heading {
  font-family: korolev-rounded, korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 42px !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  color: var(--gl-text) !important;
  margin: 0 0 6px !important;
  text-wrap: balance !important;
}
.gl-login-hero-heading em { font-style: normal !important; color: var(--gl-gold) !important; }
.gl-login-hero-sub {
  font-family: Lexend, system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  color: rgba(255,255,255,0.6) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  max-width: 40ch !important;
}

.gl-login-perks-heading {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.17em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.5) !important;
  margin: 0 !important;
}
.gl-login-perk { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) !important; gap: 12px !important; align-items: center !important; }
.gl-login-perk-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 13px !important;
  background: var(--gl-gold) !important;
  color: #111 !important;
  display: grid !important;
  place-items: center !important;
}
.gl-login-perk-icon svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.gl-login-perk-text { min-width: 0 !important; }
.gl-login-perk-title {
  display: block !important;
  font-family: korolev-rounded, korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  color: var(--gl-text) !important;
  margin: 0 !important;
}
.gl-login-perk-desc {
  display: block !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  color: rgba(255,255,255,0.6) !important;
  margin: 1px 0 0 !important;
}

/* The inline form's card. The pop-up has its own card from the plugin. */
.woocommerce-account .xoo-el-form-container.xoo-el-form-inline {
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: 20px !important;
  padding: 12px 14px 16px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
.woocommerce-account .xoo-el-form-inline { max-width: none !important; width: 100% !important; }

/* ---- Hide default page title on logged-out state ---- */
.woocommerce-account:not(.logged-in) .entry-title,
.woocommerce-account:not(.logged-in) .page-title,
.woocommerce-account:not(.logged-in) .ast-the-title {
  display: none !important;
}

/* ---- Break the WooCommerce container out for the login layout ---- */
.woocommerce-account:not(.logged-in) .woocommerce {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}
.woocommerce-account:not(.logged-in) .entry-content,
.woocommerce-account:not(.logged-in) .ast-woocommerce-container,
.woocommerce-account:not(.logged-in) .site-content > .ast-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

/* ------------------------------------------------------------------ */
/* LOGIN PAGE — RESPONSIVE                                             */
/* ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .gl-login-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "hero" "form" "perks" !important;
    grid-template-rows: none !important;
    row-gap: 18px !important;
    max-width: 520px !important;
    margin: 16px auto 40px !important;
    padding: 0 16px !important;
  }
  .gl-login-hero-heading { font-size: 27px !important; }
  .gl-login-hero-sub { font-size: 13.5px !important; }
  .gl-login-perks { gap: 12px !important; }
  /* Three reasons on phones (children 2 to 4 after the heading); the other two wait for the account */
  .gl-login-perks > :nth-child(n+5) { display: none !important; }
}

/* Under 400px the Turnstile widget (a fixed 300px) needs the room: trim the page and card side padding.
   The selectors carry .woocommerce-account / .gl-login-wrapper, so they outrank the rules above and never tie. */
@media (max-width: 400px) {
  .woocommerce-account .gl-login-wrapper { padding: 0 8px !important; }
  .woocommerce-account .gl-login-wrapper .xoo-el-form-container.xoo-el-form-inline { padding: 12px 8px 16px !important; }
}

/* ====================================================================
   RESET PASSWORD PAGE — /my-account/lost-password/?show-reset-form=true
   ====================================================================
   When a user arrives from a password-reset email, the cookie-based flow
   lands them on the lost-password endpoint. xoo-el's popup and image
   must be hidden; WooCommerce's native reset form gets card styling
   matching the login/signup design language.
   ==================================================================== */

/* ---- Hide ALL xoo-el elements on the reset page ---- */
body.gl-is-reset-page .xoo-el-modal,
body.gl-is-reset-page .xoo-el-modal-overlay,
body.gl-is-reset-page .xoo-el-modal-backdrop,
body.gl-is-reset-page .xoo-el-sidebar,
body.gl-is-reset-page .xoo-el-form-container,
body.gl-is-reset-page .xoo-el-form-inline,
body.gl-is-reset-page .xoo-el-notice,
body.gl-is-reset-page .xoo-el-header,
body.gl-is-reset-page .xoo-el-srcimg,
body.gl-is-reset-page .xoo-el-wrap,
body.gl-is-reset-page .xoo-el-container,
body.gl-is-reset-page [class*="xoo-el-modal"],
body.gl-is-reset-page [class*="xoo-el-overlay"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Kill any residual page dimming from xoo-el backdrop */
body.gl-is-reset-page::after,
body.gl-is-reset-page::before {
  background: transparent !important;
  display: none !important;
}
body.gl-is-reset-page {
  overflow: auto !important;
}
body.gl-is-reset-page .xoo-el-modal.gl-reset-hide {
  display: none !important;
}

/* ---- Reset form wrapper — centered card ---- */
.gl-reset-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  max-width: 440px !important;
  margin: 60px auto 80px !important;
  padding: 0 20px !important;
}

.gl-reset-card {
  width: 100% !important;
  background: var(--gl-card) !important;
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius) !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* ---- Card header ---- */
.gl-reset-card-header {
  background: rgba(255, 255, 255, 0.03) !important;
  padding: 20px 28px !important;
  text-align: center !important;
}

.gl-reset-card-title {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--gl-gold) !important;
  margin: 0 !important;
}

.gl-reset-card-sub {
  font-family: Lexend, system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  color: var(--gl-text-muted) !important;
  margin: 6px 0 0 !important;
}

/* ---- Card body (form area) ---- */
.gl-reset-card-body {
  padding: 28px 28px 24px !important;
}

/* Labels */
.gl-reset-card-body label {
  display: block !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  color: var(--gl-text-muted) !important;
  margin-bottom: 6px !important;
}

/* Input fields */
.gl-reset-card-body input[type="password"] {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 13px 14px !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  color: var(--gl-text) !important;
  outline: none !important;
  transition: border-color 0.2s var(--gl-ease), box-shadow 0.2s var(--gl-ease) !important;
  box-sizing: border-box !important;
}

.gl-reset-card-body input[type="password"]:focus {
  border-color: rgba(253, 206, 49, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(253, 206, 49, 0.08) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

.gl-reset-card-body input[type="password"]::placeholder {
  color: var(--gl-text-dim) !important;
  font-weight: 400 !important;
}

/* Form rows — force full width (override WC's form-row-first/last 50% split) */
.gl-reset-card-body .woocommerce-form-row,
.gl-reset-card-body .form-row,
.gl-reset-card-body p.form-row-first,
.gl-reset-card-body p.form-row-last,
.gl-reset-card-body p.form-row-wide {
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin-bottom: 16px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Password strength meter (WooCommerce) */
.gl-reset-card-body .woocommerce-password-strength {
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 12px !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  margin-top: 6px !important;
  text-align: center !important;
}

/* Submit button */
.gl-reset-card-body button[type="submit"],
.gl-reset-card-body .woocommerce-Button,
.gl-reset-card-body input[type="submit"] {
  width: 100% !important;
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 24px !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.2s var(--gl-ease), transform 0.1s var(--gl-ease) !important;
  margin-top: 8px !important;
}

.gl-reset-card-body button[type="submit"]:hover,
.gl-reset-card-body .woocommerce-Button:hover,
.gl-reset-card-body input[type="submit"]:hover {
  background: #ffe566 !important;
}

.gl-reset-card-body button[type="submit"]:active,
.gl-reset-card-body .woocommerce-Button:active,
.gl-reset-card-body input[type="submit"]:active {
  transform: scale(0.98) !important;
}

/* Hide the default "Enter a new password below." paragraph */
.gl-reset-card-body > p:first-child:not(.woocommerce-form-row) {
  display: none !important;
}

/* WooCommerce notices on the reset form */
.gl-reset-card .woocommerce-notices-wrapper .woocommerce-message,
.gl-reset-card .woocommerce-notices-wrapper .woocommerce-error {
  border-radius: 8px !important;
  font-family: Lexend, system-ui, sans-serif !important;
  font-size: 13px !important;
  margin: 0 0 16px !important;
}

/* ---- Hide default WC page elements on reset page ---- */
.woocommerce-account.gl-is-reset-page:not(.logged-in) .woocommerce-MyAccount-navigation,
.woocommerce-account.gl-is-reset-page:not(.logged-in) .woocommerce-MyAccount-content > *:not(.gl-reset-wrapper),
.woocommerce-account.gl-is-reset-page:not(.logged-in) .entry-title,
.woocommerce-account.gl-is-reset-page:not(.logged-in) .page-title {
  display: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .gl-reset-wrapper {
    margin: 32px auto 48px !important;
    padding: 0 16px !important;
  }
  .gl-reset-card-header {
    padding: 16px 20px !important;
  }
  .gl-reset-card-body {
    padding: 20px 20px 18px !important;
  }
  .gl-reset-card-body button[type="submit"],
  .gl-reset-card-body .woocommerce-Button,
  .gl-reset-card-body input[type="submit"] {
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
}


/* ------------------------------------------------------------------
   NO-ORDERS EMPTY STATE (v1.4.0)
   Shown when user has zero WooCommerce + zero POS orders.
   ------------------------------------------------------------------ */
.gl-no-orders-msg {
  padding: 32px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Lexend", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin: 16px 0;
}

/* ==================================================================
   T3 INBOUND CARD — 5 states
   ================================================================== */
.gl-inbound-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--drop-card, #242424);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 14px 0;
  color: rgba(255,255,255,0.9);
}
.gl-inbound-card .gl-inbound-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253,206,49,0.12);
  border-radius: 8px;
}
.gl-inbound-card .gl-inbound-body {
  flex: 1 1 200px;
  min-width: 0;
}
.gl-inbound-card .gl-inbound-title {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}
.gl-inbound-card .gl-inbound-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.gl-inbound-card .gl-inbound-address,
.gl-inbound-card .gl-inbound-hours {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  margin-top: 4px;
}
.gl-inbound-card .gl-inbound-directions {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--drop-accent, #FDCE31);
  text-decoration: underline;
}
.gl-inbound-card .gl-inbound-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.gl-inbound-card .gl-track-btn,
.gl-inbound-card .gl-label-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  cursor: pointer;
}
.gl-inbound-card .gl-track-btn {
  background: var(--drop-accent, #FDCE31);
  color: #1b1b1b !important;
}
.gl-inbound-card .gl-label-btn {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9) !important;
  border: 1px solid rgba(255,255,255,0.15);
}
.gl-inbound-card .gl-inbound-relatedlabel {
  flex-basis: 100%;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.1);
}
.gl-inbound-card .gl-inbound-expiry-warn {
  flex-basis: 100%;
  font-size: 13px;
  color: #f0b32c;
  margin-top: 6px;
}
.gl-inbound-card .gl-inbound-expiry-expired {
  flex-basis: 100%;
  font-size: 13px;
  color: #e74c3c;
  margin-top: 6px;
}
.gl-inbound-card .gl-inbound-expiry-expired a {
  color: var(--drop-accent, #FDCE31);
  text-decoration: underline;
}

/* ==================================================================
   T3 OUTBOUND CARD — 2 variants
   ================================================================== */
.gl-outbound-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--drop-card, #242424);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 14px 0;
  color: rgba(255,255,255,0.9);
}
.gl-outbound-card .gl-outbound-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,204,113,0.12);
  border-radius: 8px;
}
.gl-outbound-card .gl-outbound-body {
  flex: 1 1 200px;
  min-width: 0;
}
.gl-outbound-card .gl-outbound-title {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}
.gl-outbound-card .gl-outbound-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.gl-outbound-card .gl-track-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  background: var(--drop-accent, #FDCE31);
  color: #1b1b1b !important;
  flex-shrink: 0;
}
.gl-outbound-card.gl-outbound-pos-static .gl-outbound-icon {
  background: rgba(255,255,255,0.08);
}

/* ==================================================================
   T3 PICKUP CARD — POS order scans ready for pickup
   ================================================================== */
.gl-pickup-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--drop-card, #242424);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 14px 0;
  color: rgba(255,255,255,0.9);
}
.gl-pickup-card .gl-pickup-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,204,113,0.12);
  border-radius: 8px;
}
.gl-pickup-card .gl-pickup-body {
  flex: 1 1 200px;
  min-width: 0;
}
.gl-pickup-card .gl-pickup-title {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}
.gl-pickup-card .gl-pickup-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}
.gl-pickup-card .gl-pickup-address,
.gl-pickup-card .gl-pickup-hours {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.45;
}
.gl-pickup-card .gl-pickup-directions {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--drop-accent, #FDCE31);
  text-decoration: underline;
}
.gl-pickup-card .gl-pickup-policy {
  flex-basis: 100%;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.1);
}

/* ==================================================================
   T3 BILLING NOTES CARD — customer-facing note when counts don't match
   ================================================================== */
.gl-billing-card {
  background: var(--drop-card, #242424);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 14px 0;
  color: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 1px rgba(253,206,49,0.18) inset;
}
.gl-billing-card .gl-billing-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.gl-billing-card .gl-billing-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gl-billing-card .gl-billing-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--drop-accent, #FDCE31);
  margin: 0;
  line-height: 1.2;
}
.gl-billing-card .gl-billing-body {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  background: rgba(253,206,49,0.05);
  padding: 10px 12px;
  border-radius: 6px;
}
.gl-billing-card .gl-billing-resolution {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.gl-billing-card .gl-billing-resolution em {
  color: rgba(255,255,255,0.85);
  font-style: italic;
}

/* ==================================================================
   T3 INTAKE MODAL — operator note display
   ================================================================== */
.gl-intake-modal .gl-intake-note {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(253,206,49,0.08);
  border-radius: 6px;
}
.gl-intake-modal .gl-intake-note-label {
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--drop-accent, #FDCE31);
  font-weight: 600;
  margin-bottom: 6px;
}
.gl-intake-modal .gl-intake-note-body {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  max-height: 300px;
  overflow-y: auto;
}

/* ---- Gold-dot indicator on the intake link ---- */
.gl-intake-link.gl-intake-link-has-note {
  position: relative;
}
.gl-intake-link .gl-intake-link-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--drop-accent, #FDCE31);
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
  animation: gl-intake-dot-pulse 1.6s ease-out 2;
  animation-fill-mode: forwards;
}
@keyframes gl-intake-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(253,206,49,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(253,206,49,0); }
  100% { box-shadow: 0 0 0 0 rgba(253,206,49,0); }
}

/* ==================================================================
   T4 PICKUP CARD STATES — picked-up + expired (extends T3 base)
   ================================================================== */

/* Picked Up — green check, same card */
.gl-pickup-card.gl-pickup-completed .gl-pickup-icon {
  background: rgba(46,204,113,0.18);
  color: #2ecc71;
}

/* Pickup Window Expired — soft grey, no celebration */
.gl-pickup-card.gl-pickup-expired { opacity: 0.85; }
.gl-pickup-card.gl-pickup-expired .gl-pickup-icon {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
}
.gl-pickup-card.gl-pickup-expired .gl-pickup-title {
  color: rgba(255,255,255,0.7);
}
.gl-pickup-card.gl-pickup-expired .gl-pickup-policy {
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ==================================================================
 * 2026-04-20 ACCOUNT ORDER PAGE REDESIGN
 * Spec: docs/superpowers/specs/2026-04-19-account-order-page-redesign-design.md
 * No gradients — solid fills only (§4.4).
 * ================================================================== */

/* --- Pipeline bar (§5.6) --- */
.gl-pipeline {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 12px 14px !important;
  background: #1b1b1b !important;
  border-radius: 14px !important;
  margin: 12px 0 !important;
}
.gl-pipe-step {
  flex: 1 !important;
  text-align: center !important;
  padding: 7px 4px !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-family: 'Lexend', system-ui, sans-serif !important;
}
.gl-pipe-step b { font-size: 9px; font-weight: 700; opacity: 0.85; display: block; margin-top: 1px; letter-spacing: 0.04em; }
.gl-pipe-done { background: rgba(253,206,49,0.15) !important; color: var(--gl-gold) !important; font-weight: 700 !important; }
.gl-pipe-current { background: var(--gl-gold) !important; color: var(--gl-dark) !important; font-weight: 800 !important; }
.gl-pipe-partial { color: var(--gl-dark) !important; font-weight: 800 !important; /* background gradient set inline by JS */ }
.gl-pipe-pending { color: rgba(255,255,255,0.35) !important; }

/* --- Status description --- */
.gl-status-line {
  font-size: 12px !important;
  color: rgba(255,255,255,0.85) !important;
  margin: 10px 0 0 !important;
  padding: 0 8px !important;
  text-align: center !important;
  font-family: 'Lexend', system-ui, sans-serif !important;
}

/* --- Download CTA (§6) --- */
.gl-download-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 14px 18px !important;
  margin: 12px 0 8px !important;
  background: var(--gl-gold) !important;
  color: var(--gl-dark) !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px -6px rgba(253,206,49,0.45) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}
.gl-download-cta:hover { transform: translateY(-1px) !important; box-shadow: 0 8px 22px -6px rgba(253,206,49,0.55) !important; }
.gl-download-cta-title { font-family: 'Korolev', sans-serif !important; font-weight: 800 !important; font-size: 14px !important; letter-spacing: 0.04em !important; text-transform: uppercase !important; }
.gl-download-cta-meta { font-size: 12px !important; opacity: 0.75 !important; font-family: 'Lexend', sans-serif !important; }
.gl-download-cta-icon { font-size: 22px !important; line-height: 1 !important; }
.gl-secondary-actions { display: flex !important; gap: 8px !important; margin: 0 0 8px !important; flex-wrap: wrap !important; }
.gl-secondary-link { font-size: 11px !important; padding: 8px 14px !important; background: rgba(255,255,255,0.05) !important; color: rgba(255,255,255,0.8) !important; border-radius: 999px !important; text-decoration: none !important; font-family: 'Korolev', sans-serif !important; font-weight: 700 !important; letter-spacing: 0.04em !important; text-transform: uppercase !important; display: inline-block !important; }

/* Download CTA context line (30-day guarantee + delivered date + help) */
.gl-download-cta-ctx { margin: 8px 0 4px !important; font-family: 'Lexend', sans-serif !important; font-size: 11px !important; color: rgba(255,255,255,0.55) !important; line-height: 1.6 !important; }
.gl-download-cta-ctx-date { color: rgba(255,255,255,0.7) !important; }
.gl-download-cta-ctx-help { background: transparent !important; border: 0 !important; padding: 0 !important; margin-left: 2px !important; color: var(--gl-gold, #FDCE31) !important; font-family: 'Korolev', sans-serif !important; font-weight: 700 !important; letter-spacing: 0.04em !important; text-transform: uppercase !important; font-size: 10px !important; cursor: pointer !important; }
.gl-download-cta-ctx-help-body { margin-top: 6px !important; padding: 8px 10px !important; background: rgba(255,255,255,0.04) !important; border-radius: 6px !important; color: rgba(255,255,255,0.75) !important; font-size: 11px !important; }
.gl-download-cta-ctx-help-body a { color: var(--gl-gold, #FDCE31) !important; text-decoration: underline !important; }

/* --- Billing alert (§7) --- */
.gl-billing-flag {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  margin: 12px 0 !important;
  background: rgba(251,146,60,0.08) !important;
  border: 1px solid rgba(251,146,60,0.25) !important;
  border-radius: 10px !important;
  font-size: 11px !important;
  color: rgba(255,237,213,0.95) !important;
  font-family: 'Lexend', sans-serif !important;
}
.gl-billing-flag-icon { font-size: 16px !important; flex-shrink: 0 !important; line-height: 1 !important; margin-top: 1px !important; }
.gl-billing-flag-text strong { font-family: 'Korolev', sans-serif !important; font-weight: 800 !important; letter-spacing: 0.04em !important; text-transform: uppercase !important; font-size: 10px !important; color: #fed7aa !important; display: block !important; margin-bottom: 2px !important; }

/* --- Section header pattern (§4.3) --- */
.gl-section-row {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  margin: 18px 0 8px !important;
  padding: 0 2px !important;
  gap: 8px !important;
}
.gl-section-label {
  font-family: 'Korolev', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  color: var(--gl-gold) !important;
}
.gl-section-meta {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: rgba(255,255,255,0.6) !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-family: 'Korolev', sans-serif !important;
}

/* --- Per-roll cards (§9) --- */
.gl-roll-card {
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  margin-bottom: 7px !important;
  background: #1f1f1f !important;
  font-family: 'Lexend', sans-serif !important;
}
.gl-roll-card.is-pending { background: #181818 !important; border-style: dashed !important; opacity: 0.85 !important; }
.gl-roll-card.is-blank { border-color: rgba(244,63,94,0.25) !important; background: #1f1f1f !important; }
.gl-roll-card.is-devonly { background: #1c1f24 !important; border-color: rgba(96,165,250,0.18) !important; }
.gl-roll-head-rich { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-bottom: 6px !important; }
.gl-roll-id { font-family: 'Source Code Pro', monospace !important; font-weight: 700 !important; font-size: 13px !important; color: #fff !important; }
.gl-roll-film { font-size: 12px !important; color: rgba(255,255,255,0.7) !important; }
.gl-roll-pills { display: flex !important; flex-wrap: wrap !important; gap: 4px !important; margin-top: 4px !important; }

/* --- Pills (§9.2.1) --- */
.gl-pill { display: inline-block !important; padding: 2px 8px !important; border-radius: 999px !important; font-size: 10.5px !important; font-weight: 700 !important; letter-spacing: 0.06em !important; text-transform: uppercase !important; font-family: 'Korolev', sans-serif !important; }
.gl-pill-svc-ds { background: rgba(96,165,250,0.18) !important; color: #93c5fd !important; }
.gl-pill-svc-so { background: rgba(34,197,94,0.18) !important; color: #86efac !important; }
.gl-pill-svc-do { background: rgba(148,163,184,0.18) !important; color: #cbd5e1 !important; }
.gl-pill-gelform { background: rgba(253,206,49,0.12) !important; color: var(--gl-gold) !important; }
.gl-pill-scan-size { background: rgba(255,255,255,0.08) !important; color: rgba(255,255,255,0.85) !important; }
.gl-pill-handling { background: rgba(192,132,252,0.12) !important; color: #d8b4fe !important; }
.gl-pill-handling-toss { background: rgba(148,163,184,0.18) !important; color: #cbd5e1 !important; }
.gl-pill-push-pull { background: rgba(168,85,247,0.18) !important; color: #d8b4fe !important; }
.gl-pill-prints { background: rgba(168,85,247,0.18) !important; color: #d8b4fe !important; }
.gl-pill-contact { background: rgba(34,197,94,0.12) !important; color: #86efac !important; }
.gl-pill-printed { background: rgba(168,85,247,0.18) !important; color: #d8b4fe !important; }
.gl-pill-blank { background: rgba(244,63,94,0.18) !important; color: #fca5a5 !important; }
.gl-pill-pending { background: rgba(255,255,255,0.06) !important; color: rgba(255,255,255,0.55) !important; }

/* --- Per-roll Client Request line --- */
.gl-roll-client-req { padding: 6px 10px !important; background: rgba(96,165,250,0.06) !important; border-radius: 6px !important; font-size: 11px !important; color: rgba(191,219,254,0.9) !important; margin: 6px 0 !important; font-family: 'Lexend', sans-serif !important; }
.gl-roll-client-req::before { content: '\270E '; opacity: 0.7; }

/* --- Blank state copy + Blank Roll Note --- */
.gl-blank-block { padding: 8px 10px !important; background: rgba(244,63,94,0.06) !important; border-radius: 6px !important; font-size: 11px !important; color: rgba(255,255,255,0.85) !important; margin-top: 4px !important; font-family: 'Lexend', sans-serif !important; }
.gl-blank-note { padding: 6px 10px !important; background: rgba(244,63,94,0.04) !important; border-radius: 6px !important; font-size: 11px !important; color: rgba(255,255,255,0.7) !important; margin-top: 4px !important; font-style: italic !important; font-family: 'Lexend', sans-serif !important; }
.gl-blank-note::before { content: '\270E '; opacity: 0.6; font-style: normal; }

/* --- Dev-only block --- */
.gl-devonly-block { padding: 8px 10px !important; background: rgba(96,165,250,0.05) !important; border-radius: 6px !important; font-size: 11px !important; color: rgba(255,255,255,0.7) !important; margin-top: 4px !important; font-family: 'Lexend', sans-serif !important; }

/* --- Pending strip --- */
.gl-pending-strip { height: 50px !important; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 8px, rgba(255,255,255,0.05) 8px 16px) !important; border-radius: 6px !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 10px !important; color: rgba(255,255,255,0.45) !important; letter-spacing: 0.06em !important; text-transform: uppercase !important; font-family: 'Korolev', sans-serif !important; font-weight: 700 !important; margin-top: 6px !important; }
/* Note: repeating-linear-gradient is a PATTERN not a "background gradient" — kept per spec intent. */

/* --- Roll actions --- */
.gl-roll-actions { display: flex !important; gap: 12px !important; margin-top: 6px !important; }
.gl-roll-actions a { color: rgba(253,206,49,0.85) !important; font-size: 10px !important; text-decoration: none !important; }
.gl-roll-actions a:hover { text-decoration: underline !important; }

/* --- Show more --- */
.gl-show-more { padding: 10px !important; text-align: center !important; background: #1a1a1a !important; border: 1px dashed rgba(255,255,255,0.1) !important; border-radius: 8px !important; font-size: 11px !important; color: rgba(255,255,255,0.55) !important; margin-bottom: 7px !important; font-family: 'Korolev', sans-serif !important; font-weight: 700 !important; letter-spacing: 0.06em !important; }

/* --- Stage block (Lab/Developing notes body) --- */
.gl-stage-block { padding: 8px 10px !important; background: rgba(255,255,255,0.03) !important; border-radius: 6px !important; font-size: 11px !important; line-height: 1.5 !important; color: rgba(255,255,255,0.85) !important; font-family: 'Lexend', sans-serif !important; }

/* --- Intake row (photo + notes) --- */
.gl-intake-row { display: flex !important; gap: 12px !important; align-items: flex-start !important; }
.gl-intake-photo { width: 88px !important; height: 88px !important; background: #444 !important; border-radius: 8px !important; flex-shrink: 0 !important; cursor: pointer !important; }
.gl-intake-meta { font-size: 10px !important; color: rgba(255,255,255,0.45) !important; margin-top: 4px !important; }

/* --- Order-level Client Requests block (§10.1) --- */
.gl-client-req-block { padding: 10px 12px !important; background: rgba(96,165,250,0.06) !important; border: 1px solid rgba(96,165,250,0.15) !important; border-radius: 8px !important; font-size: 11px !important; line-height: 1.5 !important; color: rgba(219,234,254,0.95) !important; margin-bottom: 6px !important; font-family: 'Lexend', sans-serif !important; }
.gl-client-req-label { font-family: 'Korolev', sans-serif !important; font-weight: 800 !important; font-size: 9px !important; letter-spacing: 0.06em !important; text-transform: uppercase !important; color: rgba(147,197,253,0.85) !important; margin-bottom: 4px !important; }

/* --- Order details bottom --- */
.gl-prose { font-size: 11px !important; color: rgba(255,255,255,0.65) !important; padding: 4px 2px !important; line-height: 1.5 !important; margin: 0 !important; font-family: 'Lexend', sans-serif !important; }
.gl-summary-line { padding: 10px 14px !important; background: #1a1a1a !important; border-radius: 8px !important; font-size: 12px !important; color: rgba(255,255,255,0.75) !important; display: flex !important; justify-content: space-between !important; align-items: center !important; cursor: pointer !important; border: 1px solid rgba(255,255,255,0.05) !important; font-family: 'Lexend', sans-serif !important; }
.gl-disclose { font-size: 10px !important; color: rgba(255,255,255,0.4) !important; font-family: 'Korolev', sans-serif !important; letter-spacing: 0.04em !important; text-transform: uppercase !important; }
.gl-summary-expanded { background: #161616 !important; border-radius: 8px !important; padding: 12px !important; margin-top: 4px !important; border: 1px solid rgba(253,206,49,0.15) !important; }
.gl-grid3 { display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; gap: 6px !important; }
.gl-card { background: #1a1a1a !important; border-radius: 8px !important; padding: 10px 12px !important; margin-bottom: 6px !important; border: 1px solid rgba(255,255,255,0.05) !important; font-size: 11px !important; line-height: 1.5 !important; }
.gl-card h5 { font-family: 'Korolev', sans-serif !important; font-weight: 800 !important; font-size: 9px !important; letter-spacing: 0.06em !important; text-transform: uppercase !important; color: rgba(255,255,255,0.45) !important; margin: 0 0 4px !important; }
.gl-card p { margin: 0 !important; color: rgba(255,255,255,0.78) !important; }
.gl-line-row { display: flex !important; justify-content: space-between !important; padding: 3px 0 !important; font-size: 11px !important; }
.gl-line-row.total { border-top: 1px solid rgba(255,255,255,0.08) !important; margin-top: 4px !important; padding-top: 6px !important; font-weight: 700 !important; color: var(--gl-gold) !important; }

/* --- Mobile: 3-col grid → 1-col stack --- */
@media (max-width: 600px) {
  .gl-grid3 { grid-template-columns: 1fr !important; }
}

/* ---- Itemized breakdown (POS + WC) ---- */
.gl-itemized-item { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.gl-itemized-item:last-of-type { border-bottom: 0; }
.gl-itemized-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: 'Lexend', sans-serif; font-size: 12px; color: rgba(255,255,255,0.9); }
.gl-itemized-line .title { font-weight: 600; }
.gl-itemized-line .price { font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.75); }
.gl-itemized-meta { font-family: 'Lexend', sans-serif; font-size: 11px; color: rgba(255,255,255,0.55); line-height: 1.5; margin-top: 2px; }
.gl-itemized-addon { font-family: 'Lexend', sans-serif; font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 1px; }
.gl-itemized-divider { border: 0; border-top: 1px solid rgba(255,255,255,0.08); margin: 8px 0 4px; }
.gl-itemized-total { font-family: 'Korolev', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: #FDCE31; display: flex; justify-content: space-between; }

/* ==================================================================
   MEMBER CARD + GREETING (2026-09-08)
   Rendered by account-page-enhancements.js (chrome/renderMemberCard.ts)
   inside nav.woocommerce-MyAccount-navigation, between the greeting and
   the <ul>. Desktop: portrait card + wallet badges. Phones: a pill that
   opens the landscape card in a modal. Gravatar hidden everywhere.
   ================================================================== */
.woocommerce-account .ast-wooaccount-user-wrapper img.avatar { display: none !important; }
.woocommerce-account .ast-wooaccount-user-wrapper { min-height: 36px !important; display: flex !important; align-items: center !important; }

.woocommerce-account .gl-member { margin: 0 0 16px !important; }
.woocommerce-account .gl-member__card {
  position: relative !important; overflow: hidden !important; isolation: isolate !important;
  border-radius: 18px !important; background: #FDCE31 !important; color: #1B1B1B !important;
  font-family: Lexend, system-ui, sans-serif !important; display: grid !important; gap: 12px !important;
  padding: 16px !important; box-shadow: 0 14px 30px -18px rgba(20, 16, 4, .45) !important;
}
.woocommerce-account .gl-member__card::before {
  content: "" !important; position: absolute !important; inset: 0 !important; z-index: 1 !important; pointer-events: none !important;
  background: linear-gradient(112deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,.10) 58%, rgba(255,255,255,0) 72%, rgba(120,80,0,.08) 100%) !important;
}
.woocommerce-account .gl-member__top { display: flex !important; align-items: center !important; justify-content: space-between !important; position: relative !important; z-index: 2 !important; }
.woocommerce-account .gl-member__logo { height: 20px !important; width: auto !important; display: block !important; }
.woocommerce-account .gl-member__tile { display: block !important; background: #fff !important; border-radius: 12px !important; padding: 9px !important; position: relative !important; z-index: 2 !important; }
.woocommerce-account .gl-member__tile svg { display: block !important; width: 100% !important; height: auto !important; shape-rendering: crispEdges !important; }
.woocommerce-account .gl-member__meta { position: relative !important; z-index: 2 !important; }
.woocommerce-account .gl-member__eyebrow { font-family: korolev, 'Barlow Condensed', system-ui, sans-serif !important; font-weight: 700 !important; font-size: 11px !important; letter-spacing: .16em !important; text-transform: uppercase !important; opacity: .62 !important; margin: 0 0 4px !important; line-height: 1 !important; }
.woocommerce-account .gl-member__code { font-family: ui-monospace, 'SF Mono', Menlo, monospace !important; font-weight: 700 !important; font-size: 19px !important; letter-spacing: .06em !important; line-height: 1 !important; color: #1B1B1B !important; }
.woocommerce-account .gl-member__name { font-size: 12px !important; font-weight: 500 !important; opacity: .8 !important; margin: 5px 0 0 !important; color: #1B1B1B !important; }
.woocommerce-account .gl-member__jelly { position: absolute !important; z-index: 0 !important; opacity: .12 !important; pointer-events: none !important; height: auto !important; }
/* desktop portrait card: jelly in the right negative space */
.woocommerce-account .gl-member__card--side .gl-member__jelly { width: 96% !important; right: -34% !important; bottom: -16% !important; left: auto !important; }
/* landscape (phone modal): jelly bleeds in from the bottom-left */
.woocommerce-account .gl-member__card--wide { aspect-ratio: 1.586 !important; grid-template-columns: minmax(0, 1fr) 38% !important; grid-template-rows: auto 1fr !important; column-gap: 14px !important; padding: 18px 18px 16px !important; }
.woocommerce-account .gl-member__card--wide .gl-member__top { grid-column: 1 !important; }
.woocommerce-account .gl-member__card--wide .gl-member__tile { grid-column: 2 !important; grid-row: 1 / span 2 !important; align-self: center !important; }
.woocommerce-account .gl-member__card--wide .gl-member__meta { grid-column: 1 !important; align-self: end !important; }
.woocommerce-account .gl-member__card--wide .gl-member__jelly { width: 82% !important; left: -19% !important; bottom: -30% !important; right: auto !important; }
.woocommerce-account .gl-member__badges { display: flex !important; gap: 8px !important; flex-wrap: wrap !important; margin: 10px 0 0 !important; }
.woocommerce-account .gl-member__badge { display: inline-block !important; background: transparent !important; border: 0 !important; padding: 0 !important; line-height: 0 !important; cursor: pointer !important; }
.woocommerce-account .gl-member__badge img { height: 36px !important; width: auto !important; display: block !important; }
.woocommerce-account .gl-member__pill {
  display: none !important; align-items: center !important; gap: 8px !important; margin: 6px 0 0 !important;
  border: 0 !important; border-radius: 999px !important; padding: 7px 12px 7px 10px !important; background: #FDCE31 !important; color: #1B1B1B !important;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace !important; font-weight: 700 !important; font-size: 12px !important; letter-spacing: .06em !important; cursor: pointer !important; text-transform: none !important;
}
.woocommerce-account .gl-member__pill svg { width: 14px !important; height: 14px !important; fill: currentColor !important; }
.woocommerce-account .gl-member__pill small { font-family: korolev, 'Barlow Condensed', system-ui, sans-serif !important; font-size: 10px !important; letter-spacing: .1em !important; opacity: .7 !important; }
.gl-member-modal { position: fixed !important; inset: 0 !important; z-index: 99999 !important; background: rgba(0,0,0,.86) !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 18px !important; }
.gl-member-modal__box { width: 100% !important; max-width: 360px !important; }
.gl-member-modal__x { position: absolute !important; top: 14px !important; right: 14px !important; width: 32px !important; height: 32px !important; border-radius: 50% !important; background: rgba(0,0,0,.55) !important; border: 1px solid rgba(255,255,255,.12) !important; color: #fff !important; font-size: 16px !important; line-height: 30px !important; text-align: center !important; padding: 0 !important; cursor: pointer !important; }
.gl-member-modal__hint { text-align: center !important; color: rgba(255,255,255,.6) !important; font-size: 12px !important; margin: 14px 0 0 !important; font-family: Lexend, system-ui, sans-serif !important; }
.gl-member-modal .gl-member__badges { justify-content: center !important; }
@media (max-width: 760px) {
  .woocommerce-account .gl-member__side { display: none !important; }
  .woocommerce-account .gl-member__pill { display: inline-flex !important; }
  /* 2026-09-09: the pill sat flush on the nav box on phones (Ben's screenshot) - keep a gap below it. */
  .woocommerce-account .gl-member { margin: 0 0 14px !important; }
}
@media (prefers-reduced-motion: reduce) { .gl-member-modal, .gl-member__card { transition: none !important; } }

/* ================================================================== */
/* 25. ACCOUNT NAV (2026-10-12, N1)                                    */
/*     Markup: chrome/accountNav.ts. Groups: Orders · Credit · Account */
/*     Desktop: greeting, grouped tabs, member card, Log out.          */
/*     Phones (≤760): greeting + member pill on one row, a sticky       */
/*     three-part switch below, the grouped rows hidden; Credit /      */
/*     Account pages add a second row of pills at the top of the       */
/*     content. Every phone rule that changes the nav or its parent    */
/*     hangs off .gl-acct[data-gl-ready], which accountNav sets as its */
/*     last step: a half-run page keeps today's links. The sub-switch  */
/*     and the Log out foot live in the content and show on phones     */
/*     whenever accountNav built them.                                 */
/* ================================================================== */
/* Hold the stock list back until accountNav has grouped it (data-gl-ready is its LAST step), so the ungrouped list
   never flashes before the grouped one (Ben 2026-10-14). visibility, not display: the column keeps its height on
   desktop, so nothing jumps. No !important on visibility, on purpose: an important declaration beats an animation,
   and the reveal below is the fail-open when the script never runs (1.2 s, the orders grid's own rule in the island's
   index.css). Under [data-gl-ready] this selector no longer matches and every rule below applies as before. */
@keyframes gl-nav-reveal { to { visibility: visible; } }
.woocommerce-account .woocommerce-MyAccount-navigation:not([data-gl-ready]) > ul {
  visibility: hidden;
  animation: gl-nav-reveal 0s 1.2s forwards;
}
.woocommerce-account .woocommerce-MyAccount-navigation .ast-wooaccount-user-wrapper { margin: 2px 10px 12px !important; }
.woocommerce-account .woocommerce-MyAccount-navigation .ast-wooaccount-user-wrapper .ast-username {
  font-family: korolev-rounded, korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  color: var(--gl-text) !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation .ast-wooaccount-user-wrapper .ast-username strong { font-weight: 700 !important; color: inherit !important; }

/* Desktop group labels: list items so the menu stays one <ul> */
.woocommerce-account .woocommerce-MyAccount-navigation .gl-acct__label {
  list-style: none !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #7b7870 !important;
  margin: 0 !important;
  padding: 16px 12px 4px !important;
}

/* Log out at the foot of the sidebar */
.woocommerce-account .woocommerce-MyAccount-navigation .gl-acct__logout { margin: 16px 12px 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation .gl-acct__logout a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 10.5px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation .gl-acct__logout a:hover { color: var(--gl-text) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation .gl-acct__logout a svg { width: 12px !important; height: 12px !important; fill: currentColor !important; opacity: 0.7 !important; }

/* Phone-only pieces stay hidden on desktop and tablet */
.woocommerce-account .gl-switch,
.woocommerce-account .gl-subswitch,
.woocommerce-account .gl-logout-foot { display: none !important; }

@media (max-width: 760px) {
  /* A sticky switch needs a tall containing block, and a grid item's is its grid area (one row), so the
     greeting row lives on .woocommerce as a wrapping flex row and the nav drops its own box. The switch is then
     a flex item of .woocommerce and sticks for the whole page section. overflow-x: clip, not the 940px rule's
     hidden, keeps .woocommerce from becoming the scroll container that would pin the switch in place.
     Every selector here is (0,3,0) or more and keyed on [data-gl-ready] where it changes layout: above the
     rules it overrides, whatever the source order, and a half-run page keeps today's stack. */
  .woocommerce-account .woocommerce:has(> .gl-acct[data-gl-ready]) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    column-gap: 10px !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
  }
  .woocommerce-account .woocommerce > .gl-acct[data-gl-ready] { display: contents !important; }
  /* Woo's clearfix pseudo-elements would become flex items (the ::before pushes the pill 10px left via the column gap) */
  .woocommerce-account .woocommerce:has(> .gl-acct[data-gl-ready])::before,
  .woocommerce-account .woocommerce:has(> .gl-acct[data-gl-ready])::after { display: none !important; content: none !important; }
  /* Any other direct child (a notice, a plugin banner) takes a full-width row above the greeting instead of joining it */
  .woocommerce-account .woocommerce:has(> .gl-acct[data-gl-ready]) > :not(.gl-acct):not(.woocommerce-MyAccount-content) { order: -3 !important; flex: 0 0 100% !important; }
  .woocommerce-account .woocommerce:has(> .gl-acct[data-gl-ready]) > .woocommerce-MyAccount-content { flex: 0 0 100% !important; min-width: 0 !important; }
  .woocommerce-account .gl-acct[data-gl-ready] .ast-wooaccount-user-wrapper { order: -2 !important; flex: 1 1 0 !important; min-width: 0 !important; margin: 2px 2px 6px !important; min-height: 0 !important; }
  .woocommerce-account .gl-acct[data-gl-ready] .gl-member { order: -1 !important; flex: 0 0 auto !important; margin: 0 !important; }
  .woocommerce-account .gl-acct[data-gl-ready] .gl-member__pill { margin: 0 !important; font-size: 11.5px !important; padding: 6px 11px 6px 9px !important; }
  .woocommerce-account .gl-acct[data-gl-ready] .gl-member__pill small { display: none !important; }
  /* Hide only the grouped rows and their labels (an unknown plugin row stays reachable; Dashboard is hidden
     by section 1). An all-hidden <ul> has no rows to lay out, so it collapses to no height. */
  .woocommerce-account .gl-acct[data-gl-ready] ul > li[data-gl-group],
  .woocommerce-account .gl-acct[data-gl-ready] ul > li.gl-acct__label,
  .woocommerce-account .gl-acct[data-gl-ready] .gl-acct__logout { display: none !important; }
  .woocommerce-account .gl-acct[data-gl-ready] > ul { flex: 0 0 100% !important; min-width: 0 !important; }

  /* The bar bleeds 14px past the page gutter on both sides: basis = 100% + 28px, margins -14px */
  .woocommerce-account .gl-acct[data-gl-ready] .gl-switch {
    display: block !important;
    box-sizing: border-box !important;
    flex: 0 0 calc(100% + 28px) !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--gl-switch-top, 0px) !important;
    z-index: 5 !important;
    background: #000 !important;
    margin: 0 -14px 4px !important;
    padding: 8px 14px 10px !important;
  }
  .woocommerce-account .gl-switch__track {
    display: grid !important;
    grid-template-columns: repeat(var(--gl-groups, 3), minmax(0, 1fr)) !important;
    gap: 4px !important;
    background: #171717 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 999px !important;
    padding: 4px !important;
  }
  .woocommerce-account .gl-switch__tab {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 36px !important;
    border-radius: 999px !important;
    padding: 9px 6px !important;
    font-family: korolev, system-ui, sans-serif !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.6) !important;
    background: transparent !important;
    text-decoration: none !important;
  }
  .woocommerce-account .gl-switch__tab[aria-current="page"] { background: var(--gl-gold) !important; color: #111 !important; }
  /* Order pages drop the switch; the page keeps "‹ Your orders". (0,5,0): above the show rule's (0,4,0) */
  .woocommerce-account .gl-acct.gl-acct--order[data-gl-ready] .gl-switch { display: none !important; }

  .woocommerce-account .woocommerce-MyAccount-content .gl-subswitch { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; margin: 4px 2px 12px !important; }
  .woocommerce-account .gl-subswitch__tab {
    border: 1px solid #3a3a37 !important;
    border-radius: 999px !important;
    padding: 6px 12px !important;
    font-family: Lexend, system-ui, sans-serif !important;
    font-weight: 500 !important;
    font-size: 12.5px !important;
    color: rgba(255,255,255,0.6) !important;
    background: transparent !important;
    text-decoration: none !important;
  }
  .woocommerce-account .gl-subswitch__tab[aria-current="page"] { background: var(--gl-text) !important; border-color: var(--gl-text) !important; color: #111 !important; }

  .woocommerce-account .woocommerce-MyAccount-content .gl-logout-foot {
    display: block !important;
    box-sizing: border-box !important;
    width: fit-content !important;
    min-height: 44px !important;
    padding: 12px 16px !important;
    margin: 18px auto 0 !important;
    text-align: center !important;
    font-family: korolev, system-ui, sans-serif !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.5) !important;
    text-decoration: none !important;
  }
}

/* ================================================================== */
/* 26. MEMBER BAR (2026-10-12, M1)                                     */
/*     Desktop: a mail-in-only customer (walkin:false) sees a slim gold */
/*     bar with the code and "Show card"; one click opens the card in  */
/*     place. Wallet badges stay below either way. Phones: the pill.    */
/* ================================================================== */
.woocommerce-account .gl-member__bar {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  background: var(--gl-gold) !important;
  color: #111 !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  cursor: pointer !important;
  text-align: left !important;
  font-family: Lexend, system-ui, sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}
.woocommerce-account .gl-member__bar:hover { background: #ffe566 !important; }
.woocommerce-account .gl-member__bar-text { display: block !important; min-width: 0 !important; }
.woocommerce-account .gl-member__bar-eb {
  display: block !important;
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 9px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  opacity: 0.7 !important;
  line-height: 1 !important;
  margin: 0 0 3px !important;
}
.woocommerce-account .gl-member__bar-code {
  display: block !important;
  font-family: korolev-rounded, korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
}
.woocommerce-account .gl-member__bar-show {
  font-family: korolev, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
.woocommerce-account .gl-member__side--collapsed .gl-member__open { margin-top: 10px !important; }
.woocommerce-account .gl-member__open[hidden] { display: none !important; }

/* ================================================================== */
/* 27. DESKTOP SPACING, ACCOUNT MENU (2026-10-15)                     */
/*     Two readings of Ben's "padding between the order card and      */
/*     the sidebar menu items", both covered:                         */
/*     (a) the gutter between the menu and the content. Astra         */
/*     floats the menu at 30% and the content at 68%, so the only     */
/*     gap was the 2% left over (about 24 px at 1200). The content    */
/*     gives up 24 px more: about 48 px of air. Desktop only: at      */
/*     940 px and under section 11 stacks the two.                    */
/*     (b) the member bar under the last menu item, flush on it       */
/*     (0 px): 14 px of margin above it from 761 px up. Phones keep   */
/*     their own margin (the 760 px rules above win there).           */
/*     Section 26's note on walkin:false is superseded: the script    */
/*     now starts the desktop member card folded for everyone.        */
/* ================================================================== */
@media (min-width: 941px) {
  .woocommerce-account .woocommerce-MyAccount-content { width: calc(68% - 24px) !important; }
}
@media (min-width: 761px) {
  .woocommerce-account .gl-member { margin-top: 14px !important; }
}

/* ================================================================== */
/* 28. ROLL CARD ON THE GOLD MEMBER CARD (2026-10-21)                 */
/*     Ink on the gold, no dark box: a 1 px rule under the member     */
/*     block, then "Your Roll Card" and the standing, the stamps and  */
/*     the counter's sentence. Stamps are the counter's circles       */
/*     (18 px, 6 px apart): ink when earned, a ring when not, and the */
/*     gift circle last, filled with a gold gift when the next roll   */
/*     is on us. The landscape modal card spans both its columns.     */
/*     The hint under the badges (desktop panel) is quiet grey.       */
/* ================================================================== */
.woocommerce-account .gl-member__rc {
  position: relative !important; z-index: 2 !important; display: flex !important; flex-direction: column !important; gap: 8px !important;
  border-top: 1px solid rgba(26, 20, 0, 0.18) !important; padding: 12px 0 0 !important; margin: 0 !important; color: #1A1400 !important;
}
.woocommerce-account .gl-member__rc-head { display: flex !important; justify-content: space-between !important; align-items: baseline !important; gap: 10px !important; }
.woocommerce-account .gl-member__rc-head span:first-child { font-size: 14px !important; font-weight: 700 !important; line-height: 1.2 !important; }
.woocommerce-account .gl-member__rc-head span:last-child { font-size: 12px !important; font-weight: 600 !important; line-height: 1.2 !important; text-align: right !important; }
/* One row, always: the dozen is 13 x 18 + 12 x 6 = 306 px, the desktop side card has at most 304 px inside and the phone modal less at 375 and
   360. The dots give a pixel or two rather than let the gift wrap onto a row of its own (aspect-ratio keeps them round as they shrink). */
.woocommerce-account .gl-member__rc-strip { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; gap: 6px !important; }
.woocommerce-account .gl-member__rc-dot {
  width: 18px !important; height: auto !important; aspect-ratio: 1 / 1 !important; border-radius: 50% !important; box-sizing: border-box !important; flex: 0 1 18px !important; min-width: 0 !important;
  display: grid !important; place-items: center !important; background: transparent !important;
  border: 1.5px solid rgba(26, 20, 0, 0.45) !important; color: rgba(26, 20, 0, 0.45) !important; padding: 0 !important;
}
.woocommerce-account .gl-member__rc-dot--on { background: #1A1400 !important; border-color: #1A1400 !important; }
.woocommerce-account .gl-member__rc-dot--gift.gl-member__rc-dot--on { color: #FDCE31 !important; }
.woocommerce-account .gl-member__rc-dot svg { display: block !important; width: 11px !important; height: 11px !important; }
.woocommerce-account .gl-member__rc-line { font-size: 12.5px !important; line-height: 1.45 !important; font-weight: 400 !important; margin: 0 !important; color: #1A1400 !important; }
.woocommerce-account .gl-member__card--wide .gl-member__rc { grid-column: 1 / -1 !important; grid-row: 3 !important; }
/* the landscape card is a fixed ratio with overflow hidden: with the Roll Card on it the ratio gives way to the content */
.woocommerce-account .gl-member__card--wide.gl-member__card--rc { aspect-ratio: auto !important; }
.woocommerce-account .gl-member__hint { font-family: Lexend, system-ui, sans-serif !important; font-size: 12px !important; line-height: 1.4 !important; color: #8E8E93 !important; text-align: center !important; margin: 10px 0 0 !important; }

/* ================================================================== */
/* 29. SIDE CARD FITS ITS COLUMN (2026-11-06)                         */
/*     Ben's screenshot: the opened desktop card clipped its QR and   */
/*     the Roll Card line on the right. The card is a grid with no    */
/*     column template, so its one column took the width of its      */
/*     widest child: the 13 stamps on one row (306 px), wider than    */
/*     the ~245 px sidebar, and overflow: hidden cut the rest off.    */
/*     minmax(0, 1fr) holds the column to the card; the stamps        */
/*     already shrink (flex 0 1 18px, min-width 0), and their gap     */
/*     shrinks with them so the gift stays on the row. Checked at     */
/*     200 to 340 px: QR square inside the card, one row of stamps.   */
/* ================================================================== */
.woocommerce-account .gl-member__card--side { grid-template-columns: minmax(0, 1fr) !important; }
.woocommerce-account .gl-member__card--side .gl-member__rc-strip { gap: clamp(3px, 2.2%, 6px) !important; }
