/* ═══════════════════════════════════════════════════════════════════════════
   ALLURA × WOOCOMMERCE — Base & tokens
   Aligned with the live Elementor kit (post-6.css):
     palette  → warm cream + 262626 ink + B89A5E gold
     fonts    → Gourmand (display), Georgia (subhead), ARIAL R (UI), EB Garamond (italic)
     buttons  → radius 10px, ink fill, cream hover invert
   Scoped to body.woocommerce-* surfaces so non-shop pages stay untouched.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── 1. Tokens (mirror Elementor kit globals where possible) ─────────────── */

body.woocommerce-account,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received,
body.woocommerce-page,
body.woocommerce,
body.single-product,
body.post-type-archive-product,
body.archive.tax-product_cat,
body.archive.tax-product_tag {

  /* Palette — sourced from .elementor-kit-6 globals */
  --allura-ink:        #262626;
  --allura-ink-soft:   #4f4f4d;
  --allura-ink-mute:   #8b8a85;
  --allura-ink-faint:  #b8b6ae;

  --allura-gold:       #B89A5E;
  --allura-gold-deep:  #9a8048;
  --allura-gold-pale:  #d4bc8a;

  --allura-cream-bg:   #FDFBF7;   /* body bg in the kit */
  --allura-cream-warm: #F8F2E2;   /* secondary in the kit */
  --allura-cream-soft: #f4ecd9;
  --allura-line:       #E7E1D6;   /* warm hairline */
  --allura-line-soft:  #efe9dc;
  --allura-white:      #ffffff;

  --allura-navy:       #262626;   /* retired — navy dropped from WC surfaces, aliased to ink */
  --allura-danger:     #b32d2e;
  --allura-success:    #4a6f3a;

  /* Type stacks — Gourmand falls back to Cardo (already enqueued by WC)
     and EB Garamond (enqueued by Elementor), then Georgia/system. */
  --allura-font-display: 'Gourmand', 'Cardo', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --allura-font-serif:   'EB Garamond', 'Cardo', Georgia, 'Times New Roman', serif;
  --allura-font-ui:      'ARIAL R', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --allura-font-georgia: 'Georgia', 'Times New Roman', serif;

  /* Motion */
  --allura-ease:     cubic-bezier(.25,.46,.45,.94);
  --allura-ease-out: cubic-bezier(.16,1,.3,1);
  --allura-ease-in:  cubic-bezier(.7,0,.84,0);

  /* Layout */
  --allura-gutter:   clamp(20px, 4vw, 56px);
  --allura-section:  clamp(48px, 8vw, 96px);
  --allura-rule:     1px solid var(--allura-line);

  --allura-width-wide: 1280px;
  --allura-width-form: 920px;
  --allura-width-text: 720px;

  /* Buttons — sharp, no radius. Matches the rest of the DA. */
  --allura-radius-btn: 0;
  --allura-radius-pill: 999px;

  /* Primary button = ink ; hover = gold ; alt/conversion CTA = gold ; alt-hover = ink. No navy. */
  --allura-btn-bg:        var(--allura-ink);
  --allura-btn-fg:        #ffffff;
  --allura-btn-hover-bg:  var(--allura-gold);
  --allura-btn-hover-fg:  #ffffff;

  /* Elevation — used very sparingly */
  --allura-shadow-modal:
    0 1px 3px rgba(38,38,38,.06),
    0 12px 40px rgba(38,38,38,.10),
    0 32px 80px rgba(38,38,38,.08);
}

/* ─── 2. Base body & resets on WooCommerce surfaces ─────────────────────── */

body.woocommerce-account,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received,
body.single-product,
body.post-type-archive-product,
body.archive.tax-product_cat,
body.archive.tax-product_tag {
  background: var(--allura-cream-bg);
  color: var(--allura-ink);
  font-family: var(--allura-font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection — match Elementor kit */
.woocommerce ::selection { background: var(--allura-ink); color: var(--allura-cream-warm); }
.woocommerce ::-moz-selection { background: var(--allura-ink); color: var(--allura-cream-warm); }

.woocommerce a {
  color: var(--allura-ink);
  text-decoration: none;
  transition: color .22s var(--allura-ease);
}
.woocommerce a:hover { color: var(--allura-gold-deep); }

.woocommerce h1, .woocommerce h2, .woocommerce h3,
.woocommerce h4, .woocommerce h5, .woocommerce h6 {
  font-family: var(--allura-font-display);
  font-weight: 400;
  color: var(--allura-ink);
  letter-spacing: .005em;
  line-height: 1.18;
  margin: 0 0 24px;
}

.woocommerce h1 { font-size: clamp(38px, 4.8vw, 56px); font-weight: 400; letter-spacing: 0; }
.woocommerce h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; }
.woocommerce h3 { font-size: clamp(22px, 2.4vw, 28px); }
.woocommerce h4 { font-family: var(--allura-font-ui); font-size: 16px; font-weight: 500; letter-spacing: .04em; }

.woocommerce p { margin: 0 0 18px; }
.woocommerce p:last-child { margin-bottom: 0; }

/* Default radius reset — buttons keep their 10px, everything else sharp. */
.woocommerce *,
.woocommerce *::before,
.woocommerce *::after {
  border-radius: 0;
}

/* ─── 3. Shell wrappers ─────────────────────────────────────────────────── */

body.woocommerce-account .woocommerce,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-order-received .woocommerce {
  max-width: var(--allura-width-wide);
  margin: 0 auto;
  padding: var(--allura-section) var(--allura-gutter);
  padding-top: 30px;
}

/* ─── 4. Typography utilities ───────────────────────────────────────────── */

.allura-eyebrow {
  font-family: var(--allura-font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--allura-ink-soft);
  margin: 0 0 14px;
}

.allura-eyebrow--gold { color: var(--allura-gold-deep); }
.allura-eyebrow--mute { color: var(--allura-ink-mute); }

.allura-headline {
  font-family: var(--allura-font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--allura-ink);
  margin: 0 0 28px;
}

.allura-lede {
  font-family: var(--allura-font-georgia);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--allura-ink-soft);
  max-width: 60ch;
  margin: 0 0 32px;
  font-style: italic;
}

.allura-meta {
  font-family: var(--allura-font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--allura-ink-mute);
}

.allura-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* ─── 5. Page head ──────────────────────────────────────────────────────── */

.allura-page-head {
  border-top: var(--allura-rule);
  padding-top: 36px;
  margin: 0 0 clamp(40px, 6vw, 72px);
  max-width: 920px;
}

.allura-page-head__eyebrow {
  font-family: var(--allura-font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--allura-ink-mute);
  margin: 0 0 16px;
}

.allura-page-head__title {
  font-family: var(--allura-font-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--allura-ink);
  margin: 0;
}

.allura-page-head__title em,
.allura-page-head__title i {
  font-family: var(--allura-font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--allura-gold-deep);
}

/* ─── 6. Section heads ──────────────────────────────────────────────────── */

.allura-section-head {
  border-top: var(--allura-rule);
  padding-top: 28px;
  margin: 0 0 40px;
}

.allura-section-head__title {
  font-family: var(--allura-font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  color: var(--allura-ink);
  margin: 0;
  letter-spacing: 0;
}

/* ─── 7. Animated gold rule (signature) ────────────────────────────────── */

.allura-rule {
  display: block;
  height: 1px;
  background: var(--allura-gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .5s var(--allura-ease-out);
}

.allura-rule.is-in,
*:hover > .allura-rule,
.allura-link:hover .allura-rule {
  transform: scaleX(1);
}

/* ─── 8. Buttons — Allura ink primary, gold hover, sharp ─────────────
   Hardened against the Elementor kit cascade:
     .elementor-kit-6 a { color: #262626 }
     .elementor-kit-6 a:hover { color: #F8F2E2 }
     .elementor-kit-6 .button { background: #262626; color: #F8F2E2; }
   Body-scoped specificity boost + explicit hex + !important on color so the
   text never inherits a link or kit value.
   ────────────────────────────────────────────────────────────────────── */

/* Primary (navy) — Default + ghost + all-WC */
body.elementor-default .woocommerce .button,
body.elementor-default .woocommerce a.button,
body.elementor-default .woocommerce button.button,
body.elementor-default .woocommerce input.button,
body.elementor-default .woocommerce input[type="submit"],
body.elementor-default .woocommerce-Button,
body.elementor-default .allura-btn,
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce input[type="submit"],
.woocommerce-Button,
.allura-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #262626 !important;
  color: #ffffff !important;
  border: 1px solid #262626 !important;
  padding: 14px 26px;
  font-family: var(--allura-font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1;
  cursor: pointer;
  transition: background-color .25s var(--allura-ease),
              border-color .25s var(--allura-ease),
              color .25s var(--allura-ease);
  border-radius: 0 !important;
  white-space: nowrap;
  min-height: 48px;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Primary hover → gold */
body.elementor-default .woocommerce .button:hover,
body.elementor-default .woocommerce a.button:hover,
body.elementor-default .woocommerce button.button:hover,
body.elementor-default .woocommerce input.button:hover,
body.elementor-default .woocommerce input[type="submit"]:hover,
body.elementor-default .woocommerce-Button:hover,
body.elementor-default .allura-btn:hover,
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce input[type="submit"]:hover,
.woocommerce-Button:hover,
.allura-btn:hover {
  background-color: #B89A5E !important;
  border-color: #B89A5E !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Focus-visible accessibility ring */
.woocommerce .button:focus-visible,
.allura-btn:focus-visible {
  outline: 2px solid #B89A5E !important;
  outline-offset: 3px !important;
}

/* Gold variant (.alt + closing CTAs) — gold default, navy hover */
body.elementor-default .woocommerce .button.alt,
body.elementor-default .woocommerce a.button.alt,
body.elementor-default .woocommerce button.button.alt,
body.elementor-default .woocommerce input.button.alt,
body.elementor-default .woocommerce .single_add_to_cart_button,
body.elementor-default .woocommerce #place_order,
body.elementor-default .allura-btn--gold,
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order,
.allura-btn--gold {
  background-color: #B89A5E !important;
  border-color: #B89A5E !important;
  color: #ffffff !important;
}

body.elementor-default .woocommerce .button.alt:hover,
body.elementor-default .woocommerce a.button.alt:hover,
body.elementor-default .woocommerce button.button.alt:hover,
body.elementor-default .woocommerce input.button.alt:hover,
body.elementor-default .woocommerce .single_add_to_cart_button:hover,
body.elementor-default .woocommerce #place_order:hover,
body.elementor-default .allura-btn--gold:hover,
.woocommerce .button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #place_order:hover,
.allura-btn--gold:hover {
  background-color: #262626 !important;
  border-color: #262626 !important;
  color: #ffffff !important;
}

/* Ghost variant — transparent, navy on hover */
body.elementor-default .allura-btn--ghost,
body.elementor-default .woocommerce a.wc-block-cart__submit-button.outline,
body.elementor-default .woocommerce button.button[name="apply_coupon"],
body.elementor-default .woocommerce button.button[name="update_cart"],
.allura-btn--ghost,
.woocommerce a.wc-block-cart__submit-button.outline,
.woocommerce button.button[name="apply_coupon"],
.woocommerce button.button[name="update_cart"] {
  background-color: transparent !important;
  color: #262626 !important;
  border: 1px solid var(--allura-line) !important;
}
body.elementor-default .allura-btn--ghost:hover,
body.elementor-default .woocommerce button.button[name="apply_coupon"]:hover,
body.elementor-default .woocommerce button.button[name="update_cart"]:hover,
.allura-btn--ghost:hover,
.woocommerce button.button[name="apply_coupon"]:hover,
.woocommerce button.button[name="update_cart"]:hover {
  background-color: transparent !important;
  border-color: #262626 !important;
  color: #262626 !important;
}

/* Full width modifier */
.allura-btn--full {
  width: 100%;
  display: flex;
}

/* Small modifier */
.allura-btn--small {
  padding: 9px 18px;
  font-size: 11px;
  min-height: 38px;
}

/* Disabled */
.woocommerce .button[disabled],
.woocommerce .button.disabled,
.woocommerce .button:disabled,
.allura-btn:disabled,
.allura-btn[disabled] {
  opacity: .4;
  pointer-events: none;
  cursor: not-allowed;
}

/* Inline link with animated underline */
.allura-link {
  position: relative;
  display: inline-block;
  font-family: var(--allura-font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--allura-ink-soft);
  text-decoration: none;
  padding-bottom: 6px;
  transition: color .22s var(--allura-ease);
}
.allura-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--allura-gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .35s var(--allura-ease-out);
}
.allura-link:hover { color: var(--allura-gold-deep); }
.allura-link:hover::after { transform: scaleX(1); }

.allura-link--ink::after { background: var(--allura-ink); }

/* ─── 9. Inputs — sharp underline, no box ───────────────────────────────── */

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-form-row input.input-text,
.allura-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--allura-line);
  border-radius: 0;
  padding: 12px 0 10px;
  font-family: var(--allura-font-ui);
  font-size: 15px;
  font-weight: 400;
  color: var(--allura-ink);
  line-height: 1.4;
  transition: border-color .22s var(--allura-ease);
  outline: none;
  box-shadow: none;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.allura-input:focus {
  border-bottom-color: var(--allura-gold);
  outline: none;
  box-shadow: none;
}

.woocommerce form .form-row input.input-text::placeholder,
.allura-input::placeholder {
  color: var(--allura-ink-faint);
  font-style: italic;
}

/* Native select arrow */
.woocommerce form .form-row select {
  background: transparent
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8" fill="none"><path d="M1 1l5 5 5-5" stroke="%238b8a85" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
              no-repeat right 4px center / 11px 7px;
  padding-right: 24px;
  cursor: pointer;
}

/* Labels */
.woocommerce form .form-row label,
.allura-label {
  display: block;
  font-family: var(--allura-font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--allura-ink-mute);
  margin: 0 0 6px;
}

.woocommerce form .form-row .required {
  color: var(--allura-gold-deep);
  text-decoration: none;
  margin-left: 2px;
}

.woocommerce form .form-row .optional {
  font-size: 10px;
  color: var(--allura-ink-faint);
  font-style: italic;
  margin-left: 6px;
  text-transform: none;
  letter-spacing: 0;
}

/* Form rows spacing */
.woocommerce form .form-row {
  margin: 0 0 26px;
  padding: 0;
}

/* Side by side rows */
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
  float: none;
  width: 100%;
}
@media (min-width: 640px) {
  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last {
    width: calc(50% - 12px);
    display: inline-block;
    vertical-align: top;
  }
  .woocommerce form .form-row-first { margin-right: 24px; }
}

/* Validation feedback */
.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
  border-bottom-color: var(--allura-success) !important;
}
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
  border-bottom-color: var(--allura-danger) !important;
}
.woocommerce-error-message,
.woocommerce-error,
.woocommerce-NoticeGroup-checkout .woocommerce-error {
  color: var(--allura-danger);
}

/* Field hints / descriptions */
.woocommerce form .form-row .description,
.woocommerce form .form-row em,
.woocommerce form .form-row > small {
  display: block;
  font-family: var(--allura-font-ui);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .04em;
  color: var(--allura-ink-mute);
  margin-top: 8px;
}

/* ─── 10. Select2 / SelectWoo override ────────────────────────────────── */

.woocommerce .select2-container .select2-selection--single,
.woocommerce .select2-container--default .select2-selection--single {
  border: none !important;
  border-bottom: 1px solid var(--allura-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  height: 48px !important;
  outline: none !important;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  font-family: var(--allura-font-ui) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--allura-ink) !important;
  line-height: 48px !important;
  padding-left: 0 !important;
  padding-right: 24px !important;
}
.woocommerce .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce .select2-container--default.select2-container--focus .select2-selection--single {
  border-bottom-color: var(--allura-gold) !important;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--allura-ink-faint) !important;
  font-style: italic;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  width: 20px !important;
  right: 0 !important;
  top: 1px !important;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--allura-ink-soft) transparent transparent transparent !important;
  border-width: 5px 4px 0 4px !important;
}
.woocommerce .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--allura-gold-deep) transparent !important;
  border-width: 0 4px 5px 4px !important;
}
.select2-dropdown {
  border: 1px solid var(--allura-line) !important;
  border-radius: 0 !important;
  background: var(--allura-white) !important;
  box-shadow: var(--allura-shadow-modal) !important;
  font-family: var(--allura-font-ui) !important;
}
.select2-dropdown .select2-search__field {
  border: none !important;
  border-bottom: 1px solid var(--allura-line) !important;
  border-radius: 0 !important;
  padding: 10px !important;
  font-family: var(--allura-font-ui) !important;
  font-size: 13px !important;
  outline: none !important;
}
.select2-dropdown .select2-results__option {
  font-family: var(--allura-font-ui) !important;
  font-size: 13px !important;
  color: var(--allura-ink) !important;
  padding: 10px 14px !important;
}
.select2-dropdown .select2-results__option--highlighted {
  background: var(--allura-cream-warm) !important;
  color: var(--allura-ink) !important;
}
.select2-dropdown .select2-results__option[aria-selected="true"] {
  background: var(--allura-cream-soft) !important;
}

/* ─── 11. Checkbox & radio ───────────────────────────────────────────── */

.woocommerce form .form-row input[type="checkbox"],
.woocommerce form input[type="checkbox"],
.allura-checkbox__input {
  width: 16px;
  height: 16px;
  border: 1px solid var(--allura-ink-mute);
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin: 0;
  vertical-align: middle;
  border-radius: 0 !important;
  min-width: 16px;
}
.woocommerce form .form-row input[type="checkbox"]:checked,
.woocommerce form input[type="checkbox"]:checked,
.allura-checkbox__input:checked {
  background: var(--allura-ink);
  border-color: var(--allura-ink);
}
.woocommerce form .form-row input[type="checkbox"]:checked::after,
.woocommerce form input[type="checkbox"]:checked::after,
.allura-checkbox__input:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid var(--allura-cream-warm);
  border-bottom: 1.5px solid var(--allura-cream-warm);
  transform: rotate(45deg);
}
.woocommerce form .form-row input[type="checkbox"]:focus-visible,
.allura-checkbox__input:focus-visible {
  outline: 2px solid var(--allura-gold);
  outline-offset: 2px;
}

.woocommerce form .form-row input[type="radio"],
.allura-radio {
  width: 16px;
  height: 16px;
  border: 1px solid var(--allura-ink-mute);
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50% !important;
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin: 0;
  vertical-align: middle;
  min-width: 16px;
  transition: border-color .2s;
}
.woocommerce form .form-row input[type="radio"]:checked,
.allura-radio:checked {
  border-color: var(--allura-gold-deep);
}
.woocommerce form .form-row input[type="radio"]:checked::after,
.allura-radio:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--allura-gold);
  border-radius: 50% !important;
}

/* Checkbox label inline */
.woocommerce-form__label-for-checkbox,
.woocommerce form .form-row .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--allura-font-ui);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--allura-ink-soft);
  margin: 0;
  cursor: pointer;
}
.woocommerce-form__label-for-checkbox a { color: var(--allura-ink); border-bottom: 1px solid var(--allura-gold); }

/* ─── 12. Quantity input ─────────────────────────────────────────────── */

.woocommerce .quantity,
.allura-qty {
  display: inline-flex;
  align-items: stretch;
  background: var(--allura-white);
  border: 1px solid var(--allura-line);
  border-radius: var(--allura-radius-btn);
  overflow: hidden;
  height: 46px;
}
.woocommerce .quantity input.qty,
.allura-qty input.qty,
.allura-qty input.input-text {
  width: 56px;
  height: 100%;
  border: none !important;
  background: transparent !important;
  text-align: center;
  font-family: var(--allura-font-ui) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--allura-ink) !important;
  outline: none !important;
  padding: 0 !important;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
  -webkit-appearance: none;
  border-radius: 0 !important;
}
.woocommerce .quantity input::-webkit-outer-spin-button,
.woocommerce .quantity input::-webkit-inner-spin-button,
.allura-qty input::-webkit-outer-spin-button,
.allura-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* +/- buttons */
.allura-qty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 100%;
  background: transparent;
  border: none;
  font-family: var(--allura-font-ui);
  font-size: 18px;
  font-weight: 400;
  color: var(--allura-ink-soft);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: background .2s var(--allura-ease), color .2s var(--allura-ease);
  border-radius: 0 !important;
}
.allura-qty__btn:hover {
  background: var(--allura-cream-warm);
  color: var(--allura-ink);
}
.allura-qty__btn--minus { border-right: 1px solid var(--allura-line); }
.allura-qty__btn--plus  { border-left:  1px solid var(--allura-line); }
.allura-qty__btn:focus-visible {
  outline: 2px solid var(--allura-gold);
  outline-offset: -2px;
}

/* ─── 13. Tables — hairlines, no chrome ────────────────────────────── */

.woocommerce table.shop_table {
  width: 100%;
  background: transparent;
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 32px;
  border-radius: 0;
}

.woocommerce table.shop_table thead { background: transparent; }

.woocommerce table.shop_table thead th {
  font-family: var(--allura-font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--allura-ink-mute);
  text-align: left;
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--allura-line);
  background: transparent;
}

.woocommerce table.shop_table tbody td,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
  padding: 22px 16px;
  border-top: 1px solid var(--allura-line);
  border-bottom: none;
  border-left: none;
  border-right: none;
  background: transparent;
  font-family: var(--allura-font-ui);
  font-size: 14px;
  color: var(--allura-ink-soft);
  vertical-align: middle;
}

.woocommerce table.shop_table tbody td:first-child,
.woocommerce table.shop_table thead th:first-child,
.woocommerce table.shop_table tfoot th:first-child,
.woocommerce table.shop_table tfoot td:first-child { padding-left: 0; }

.woocommerce table.shop_table tbody td:last-child,
.woocommerce table.shop_table thead th:last-child,
.woocommerce table.shop_table tfoot th:last-child,
.woocommerce table.shop_table tfoot td:last-child {
  padding-right: 0;
  text-align: right;
}

.woocommerce table.shop_table tbody tr:hover {
  background: rgba(184,154,94,.04);
}

.woocommerce table.shop_table .product-name,
.woocommerce table.shop_table .woocommerce-orders-table__cell-order-number {
  font-family: var(--allura-font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--allura-ink);
  letter-spacing: 0;
}

.woocommerce table.shop_table .product-name a,
.woocommerce table.shop_table .woocommerce-orders-table__cell-order-number a {
  color: var(--allura-ink);
}

.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal,
.woocommerce table.shop_table .product-total,
.woocommerce-Price-amount,
.woocommerce .amount {
  font-family: var(--allura-font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--allura-ink);
  font-variant-numeric: tabular-nums;
}

/* ─── 14. Notices ────────────────────────────────────────────────── */

.woocommerce-notices-wrapper { margin: 0 0 24px; text-align: center; }

/* Épuré: no box, no fill — a single centered typographic line. !important
   throughout because WooCommerce's own notice CSS loads after ours. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
ul.woocommerce-error {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 0 6px !important;
  padding: 12px 16px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--allura-font-ui) !important;
  font-size: 13px !important;
  letter-spacing: .02em;
  line-height: 1.55 !important;
  color: var(--allura-ink-soft) !important;
  text-align: center !important;
}

/* WooCommerce's default ::before icons off (success gets our own marker). */
.woocommerce-info::before,
.woocommerce-error::before,
ul.woocommerce-error::before { display: none !important; }

/* Error: simply tint the line, no box. */
.woocommerce-error,
ul.woocommerce-error { color: var(--allura-danger) !important; }

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
}

.woocommerce-message strong,
.woocommerce-info strong,
.woocommerce-error strong,
.woocommerce-error li > strong {
  display: inline;
  font-weight: 600;
  color: inherit;
}

/* Inline sentence links (e.g. "Resend the verification email") — gold underline. */
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
  color: var(--allura-gold-deep) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--allura-gold-pale);
  transition: color .22s var(--allura-ease), border-color .22s var(--allura-ease);
}
.woocommerce-message a:not(.button):hover,
.woocommerce-info a:not(.button):hover,
.woocommerce-error a:not(.button):hover {
  color: var(--allura-ink) !important;
  border-bottom-color: var(--allura-ink);
}

/* Action links ("View cart") — tracked gold micro-link with arrow, on the line. */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
ul.woocommerce-error .button {
  display: inline !important;
  float: none !important;
  margin: 0 0 0 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  font-family: var(--allura-font-ui) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: var(--allura-gold-deep) !important;
  vertical-align: baseline !important;
  white-space: nowrap;
  transition: color .22s var(--allura-ease);
}
.woocommerce-message .button::after,
.woocommerce-info .button::after,
.woocommerce-error .button::after,
ul.woocommerce-error .button::after { content: " \2192"; }
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover,
ul.woocommerce-error .button:hover {
  background: transparent !important;
  color: var(--allura-ink) !important;
}

.woocommerce-error:focus,
.woocommerce-message:focus,
.woocommerce-info:focus { outline: none; }

/* Success ("added to cart") reads as a positive confirmation: subtle gold
   check before the text, still slim and single-line. */
.woocommerce-message::before {
  content: "\2713" !important; /* ✓ */
  display: inline-block !important;
  position: static !important;
  margin: 0 9px 0 0 !important;
  padding: 0 !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  color: var(--allura-gold-deep) !important;
  font-family: var(--allura-font-ui) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: inherit !important;
  vertical-align: baseline !important;
}

/* ─── 15. Tags / chips ───────────────────────────────────────────── */

.allura-tag {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--allura-line);
  font-family: var(--allura-font-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--allura-ink-soft);
  line-height: 1.1;
  background: transparent;
}

.allura-tag--gold {
  color: var(--allura-gold-deep);
  border-color: var(--allura-gold-pale);
}

.allura-tag--ink {
  color: var(--allura-cream-warm);
  background: var(--allura-ink);
  border-color: var(--allura-ink);
}

/* ─── 16. Empty state ────────────────────────────────────────────── */

.allura-empty {
  border-top: var(--allura-rule);
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.allura-empty__lede {
  font-family: var(--allura-font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--allura-ink);
  margin: 0;
}

.allura-empty__meta {
  font-family: var(--allura-font-ui);
  font-size: 15px;
  color: var(--allura-ink-soft);
  margin: 0 0 24px;
  max-width: 56ch;
  line-height: 1.55;
}

/* ─── 17. Reveal animation ──────────────────────────────────────── */

@keyframes allura-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.allura-rise { animation: allura-rise .6s var(--allura-ease-out) both; }
.allura-rise:nth-child(2) { animation-delay: .04s; }
.allura-rise:nth-child(3) { animation-delay: .08s; }
.allura-rise:nth-child(4) { animation-delay: .12s; }
.allura-rise:nth-child(5) { animation-delay: .16s; }
.allura-rise:nth-child(6) { animation-delay: .2s;  }
.allura-rise:nth-child(7) { animation-delay: .24s; }
.allura-rise:nth-child(8) { animation-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ─── 18. Divider ────────────────────────────────────────────────── */

.allura-divider {
  height: 1px;
  background: var(--allura-line);
  margin: 32px 0;
  border: 0;
}

.allura-divider--gold { background: var(--allura-gold); }

/* ─── 19. Mini-cart widget polish ──────────────────────────────────── */

.allura-mini-cart {
  font-family: var(--allura-font-ui);
}

.allura-mini-cart__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--allura-line) transparent;
}

.allura-mini-cart__list::-webkit-scrollbar { width: 4px; }
.allura-mini-cart__list::-webkit-scrollbar-thumb { background: var(--allura-line); }

.allura-mini-cart__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 28px 14px 0;
  border-bottom: var(--allura-rule);
}

.allura-mini-cart__item img {
  width: 48px !important;
  height: 64px;
  object-fit: cover;
  background: var(--allura-line);
  margin: 0 !important;
}

.allura-mini-cart__link {
  display: contents;
  text-decoration: none;
  color: inherit;
}

.allura-mini-cart__name {
  font-family: var(--allura-font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--allura-ink);
  line-height: 1.3;
}

.allura-mini-cart__qty {
  grid-column: 2 / -1;
  font-family: var(--allura-font-ui);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--allura-ink-mute);
  font-variant-numeric: tabular-nums;
}

.allura-mini-cart__remove {
  position: absolute;
  top: 14px;
  right: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--allura-line);
  border-radius: 50% !important;
  color: var(--allura-ink-mute);
  font-size: 14px;
  text-decoration: none;
  line-height: 1;
  transition: color .2s, border-color .2s;
}
.allura-mini-cart__remove:hover {
  color: var(--allura-danger);
  border-color: var(--allura-danger);
}

.allura-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  font-family: var(--allura-font-ui);
  font-size: 14px;
  color: var(--allura-ink);
  font-weight: 500;
  border-top: 1px solid var(--allura-ink);
  border-bottom: var(--allura-rule);
  margin: 0 0 16px;
}

.allura-mini-cart__total strong {
  font-family: var(--allura-font-ui);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--allura-ink-mute);
  font-weight: 500;
}

.allura-mini-cart__total .amount {
  font-family: var(--allura-font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--allura-ink);
  font-variant-numeric: tabular-nums;
}

.allura-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.allura-mini-cart__buttons a.button {
  width: 100%;
  text-align: center;
}

.allura-mini-cart__empty {
  padding: 32px 0;
  font-family: var(--allura-font-ui);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--allura-ink-mute);
  text-align: center;
  margin: 0;
}

/* ─── 20. Cross-page polish ──────────────────────────────────────── */

.woocommerce img { max-width: 100%; height: auto; }

.allura-checkout #order_review_heading { display: none; }

.allura-eyebrow--ink-3 { color: var(--allura-ink-mute); }

.elementor-widget-woocommerce-cart .e-cart-section,
.elementor-widget-woocommerce-checkout-page .e-checkout__container > .e-checkout__order_review {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   21. ELEMENTOR CAGE BREAK-OUT (the root fix)
   On WooCommerce surfaces only, neutralise the Elementor container chrome that
   wraps the_content(): max-width cap, padding, --container-max-width.
   Leaves the Elementor-rendered header/footer (outside .wp-site-blocks) intact.
   ═══════════════════════════════════════════════════════════════════════════ */

body.woocommerce-cart .wp-site-blocks .e-con,
body.woocommerce-cart .wp-site-blocks .e-con-inner,
body.woocommerce-checkout .wp-site-blocks .e-con,
body.woocommerce-checkout .wp-site-blocks .e-con-inner,
body.woocommerce-account .wp-site-blocks .e-con,
body.woocommerce-account .wp-site-blocks .e-con-inner,
body.woocommerce-order-received .wp-site-blocks .e-con,
body.woocommerce-order-received .wp-site-blocks .e-con-inner,
body.single-product .wp-site-blocks .e-con,
body.single-product .wp-site-blocks .e-con-inner,
body.woocommerce-shop .wp-site-blocks .e-con,
body.woocommerce-shop .wp-site-blocks .e-con-inner,
body.post-type-archive-product .wp-site-blocks .e-con,
body.post-type-archive-product .wp-site-blocks .e-con-inner,
body.archive.tax-product_cat .wp-site-blocks .e-con,
body.archive.tax-product_cat .wp-site-blocks .e-con-inner,
body.archive.tax-product_tag .wp-site-blocks .e-con,
body.archive.tax-product_tag .wp-site-blocks .e-con-inner {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  --container-max-width: 100% !important;
  background-color: transparent !important;
}

/* Same for legacy elementor sections (in case the page uses old structure) */
body.woocommerce-cart .wp-site-blocks .elementor-section .elementor-container,
body.woocommerce-checkout .wp-site-blocks .elementor-section .elementor-container,
body.woocommerce-account .wp-site-blocks .elementor-section .elementor-container,
body.woocommerce-order-received .wp-site-blocks .elementor-section .elementor-container,
body.single-product .wp-site-blocks .elementor-section .elementor-container,
body.woocommerce-shop .wp-site-blocks .elementor-section .elementor-container,
body.post-type-archive-product .wp-site-blocks .elementor-section .elementor-container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Make the body of our pages the cream surface even when Elementor injects bgs */
body.woocommerce-cart .wp-site-blocks,
body.woocommerce-checkout .wp-site-blocks,
body.woocommerce-account .wp-site-blocks,
body.woocommerce-order-received .wp-site-blocks,
body.single-product .wp-site-blocks,
body.woocommerce-shop .wp-site-blocks,
body.post-type-archive-product .wp-site-blocks {
  background: var(--allura-cream-bg);
}

/* The legacy entry-content sometimes wraps content — neutralise */
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content,
body.woocommerce-order-received .entry-content,
body.woocommerce-shop .entry-content,
body.single-product .entry-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   22. PAPER-GRAIN — quiet noise overlay on cream surfaces.
   Tiny SVG noise data-URI, ~6KB once. Fixed background so it doesn't repaint
   on scroll. opacity baked into the SVG via fillOpacity.
   ═══════════════════════════════════════════════════════════════════════════ */

body.woocommerce-cart::before,
body.woocommerce-checkout::before,
body.woocommerce-account::before,
body.woocommerce-order-received::before,
body.single-product::before,
body.woocommerce-shop::before,
body.post-type-archive-product::before,
body.archive.tax-product_cat::before,
body.archive.tax-product_tag::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .102 0 0 0 0 .098 0 0 0 0 .078 0 0 0 .045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  background-repeat: repeat;
  mix-blend-mode: multiply;
  opacity: .9;
}

/* Hide noise overlay on print */
@media print {
  body.woocommerce-cart::before,
  body.woocommerce-checkout::before,
  body.woocommerce-account::before,
  body.woocommerce-order-received::before,
  body.single-product::before,
  body.woocommerce-shop::before,
  body.post-type-archive-product::before { display: none; }
}

/* Make all content sit above the noise.
   Exclude Elementor dialogs/popups/lightboxes (appended as body children): they
   must keep their own position:fixed + z-index, else the popup falls into the
   document flow and lands at the page bottom. */
body.woocommerce-cart > *:not(.dialog-widget),
body.woocommerce-checkout > *:not(.dialog-widget),
body.woocommerce-account > *:not(.dialog-widget),
body.woocommerce-order-received > *:not(.dialog-widget),
body.single-product > *:not(.dialog-widget),
body.woocommerce-shop > *:not(.dialog-widget),
body.post-type-archive-product > *:not(.dialog-widget) {
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════════════
   23. HOVER FULL-ROW — pseudo-element bleed past padding
   For lists where the row's hover bg must extend past the inner padding
   to reach the visible container edge.
   ═══════════════════════════════════════════════════════════════════════════ */

.allura-orders__row,
.allura-cart__row,
.allura-pm__row,
.allura-review__row,
.allura-notes__item,
.allura-payment__method,
.allura-mini-cart__item {
  position: relative;
}

.allura-orders__row > *,
.allura-cart__row > *,
.allura-pm__row > *,
.allura-review__row > *,
.allura-notes__item > *,
.allura-payment__method > *,
.allura-mini-cart__item > * {
  position: relative;
  z-index: 2;
}

.allura-orders__row::after,
.allura-cart__row::after,
.allura-pm__row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background .25s var(--allura-ease);
  z-index: 1;
  pointer-events: none;
}

.allura-orders__row:hover::after,
.allura-cart__row:hover::after,
.allura-pm__row:hover::after {
  background: rgba(184, 154, 94, .07);
}

/* Disable the simple bg hover that may double up */
.allura-orders__row:hover { background: transparent !important; }
.allura-cart__row:hover { background: transparent !important; }
.allura-pm__row:hover { background: transparent !important; }
.woocommerce table.shop_table tbody tr:hover { background: transparent !important; }

/* (24. Hero watermark — REMOVED per DA review. Keep selector empty for layout.) */

.allura-page-head { position: relative; }

/* ═══════════════════════════════════════════════════════════════════════════
   25. NUMBERED SECTION HEAD — for steps and table-of-contents-like sections
   Add [data-step="01"] to .allura-section-head to render the number left of
   the title in tracked uppercase ARIAL R, separated by a 28px gold rule.
   ═══════════════════════════════════════════════════════════════════════════ */

.allura-section-head[data-step] {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
}

.allura-section-head[data-step]::before {
  content: attr(data-step);
  grid-column: 1;
  grid-row: 1 / 3;
  font-family: var(--allura-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 4vw, 52px);
  color: var(--allura-gold-deep);
  line-height: 1;
  letter-spacing: -.02em;
  align-self: start;
  padding-top: 4px;
}

.allura-section-head[data-step] .allura-eyebrow,
.allura-section-head[data-step] > .allura-eyebrow {
  grid-column: 2 / -1;
  grid-row: 1;
  margin: 0;
}

.allura-section-head[data-step] .allura-section-head__title,
.allura-section-head[data-step] > .allura-section-head__title {
  grid-column: 2 / -1;
  grid-row: 2;
  margin: 4px 0 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   26. SVG ORNAMENT — gold fleuron / double rule decorative
   Drop <span class="allura-ornament"></span> anywhere to render a centered
   3-piece editorial divider (rule · diamond · rule).
   ═══════════════════════════════════════════════════════════════════════════ */

.allura-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 32px 0;
  pointer-events: none;
}

.allura-ornament::before,
.allura-ornament::after {
  content: '';
  flex: 1;
  max-width: 64px;
  height: 1px;
  background: var(--allura-gold);
  opacity: .5;
}

.allura-ornament::before { box-shadow: 0 3px 0 -2px var(--allura-gold); }
.allura-ornament::after  { box-shadow: 0 3px 0 -2px var(--allura-gold); }

.allura-ornament .allura-ornament__mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border: 1px solid var(--allura-gold);
}

/* ═══════════════════════════════════════════════════════════════════════════
   27. EDITORIAL NUMBER — large Gourmand italic number used inline
   .allura-num--display for headlines featuring an order number, library
   count, or stat. Always tabular-nums.
   ═══════════════════════════════════════════════════════════════════════════ */

.allura-num--display {
  font-family: var(--allura-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--allura-ink);
  font-variant-numeric: tabular-nums;
}

.allura-num--display.is-gold { color: var(--allura-gold-deep); }

/* ═══════════════════════════════════════════════════════════════════════════
   28. SECTION PADDING TIERS — promote to 120px on desktop
   ═══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 1100px) {
  .allura-cart,
  .allura-confirm,
  .allura-checkout,
  .allura-shop,
  .allura-product,
  .allura-auth {
    padding-top: clamp(72px, 9vw, 120px);
    padding-bottom: clamp(72px, 9vw, 120px);
  }
  .allura-account {
    padding-top: 0;
    padding-bottom: clamp(72px, 9vw, 120px);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   29. CHOREOGRAPHED REVEAL — page-head first, then content
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes allura-curtain {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.allura-page-head .allura-page-head__eyebrow,
.allura-page-head .allura-page-head__title {
  animation: allura-curtain .7s var(--allura-ease-out) both;
}

.allura-page-head .allura-page-head__eyebrow { animation-delay: 0s; }
.allura-page-head .allura-page-head__title   { animation-delay: .12s; }

/* ═══════════════════════════════════════════════════════════════════════════
   30. RESPONSIVE SAFETY — ensure no horizontal scroll on mobile
   ═══════════════════════════════════════════════════════════════════════════ */

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.woocommerce-order-received,
body.single-product,
body.woocommerce-shop,
body.post-type-archive-product {
  overflow-x: hidden;
}

/* ─── 14b. Toast popups (JS converts WC notices into these) ─────────── */

/* When JS is active, hide the inline notice containers — the toasts replace
   them. Without JS the class is never added, so the épuré inline notices show. */
.allura-toasts-on .woocommerce-notices-wrapper,
.allura-toasts-on .woocommerce-NoticeGroup { display: none !important; }

/* Centred confirmation card (Entry-Doors style, Allura DA).
   NOTE: this node is appended to <html> (outside <body>) so it CANNOT use the
   body-scoped --allura-* custom properties — every value here is literal. */
.allura-pop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.allura-pop__overlay {
  position: absolute;
  inset: 0;
  background: rgba(38, 38, 38, .5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s ease;
}
.allura-pop.is-in .allura-pop__overlay { opacity: 1; }
.allura-pop.is-out .allura-pop__overlay { opacity: 0; }

.allura-pop__card {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(440px, 100%);
  background: #ffffff;
  border: 1px solid #E7E1D6;
  box-shadow:
    0 1px 3px rgba(38, 38, 38, .06),
    0 16px 50px rgba(38, 38, 38, .14),
    0 40px 90px rgba(38, 38, 38, .10);
  padding: 56px 40px 48px;
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .42s cubic-bezier(.16, 1, .3, 1), transform .42s cubic-bezier(.16, 1, .3, 1);
}
.allura-pop.is-in .allura-pop__card  { opacity: 1; transform: none; }
.allura-pop.is-out .allura-pop__card { opacity: 0; transform: translateY(8px) scale(.98); }

.allura-pop__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
  color: #b8b6ae !important;
  cursor: pointer;
  transition: color .2s ease;
}
.allura-pop__close:hover,
.allura-pop__close:focus { background: transparent !important; color: #262626 !important; box-shadow: none !important; }

.allura-pop__mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  border: 1px solid #B89A5E;
  border-radius: 50%;
  color: #B89A5E;
  animation: alluraPopMark .5s cubic-bezier(.16, 1, .3, 1) both;
}
.allura-pop--error .allura-pop__mark { border-color: #b32d2e; color: #b32d2e; }
@keyframes alluraPopMark {
  from { transform: scale(.7); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}

.allura-pop__eyebrow {
  font-family: 'ARIAL R', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #9a8048;
  margin: 0 0 12px;
}
.allura-pop--error .allura-pop__eyebrow { color: #b32d2e; }

.allura-pop__title {
  font-family: 'Gourmand', 'Cardo', 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
  letter-spacing: .005em;
  color: #262626;
  margin: 0 0 34px;
}

.allura-pop__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.allura-pop__btn {
  font-family: 'ARIAL R', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  /* inline-flex + border-box + fixed height so the <button> and <a> render at
     exactly the same size (their default UA metrics differ otherwise). */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 46px;
  padding: 0 24px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.allura-pop__btn--ghost,
.allura-pop__btn--ghost:focus {
  background: transparent !important;
  color: #4f4f4d !important;
  border-color: #E7E1D6 !important;
}
.allura-pop__btn--ghost:hover {
  background: transparent !important;
  border-color: #262626 !important;
  color: #262626 !important;
}
.allura-pop__btn--primary,
.allura-pop__btn--primary:focus {
  background: #262626 !important;
  color: #ffffff !important;
  border-color: #262626 !important;
}
.allura-pop__btn--primary:hover {
  background: #B89A5E !important;
  border-color: #B89A5E !important;
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .allura-pop__card { padding: 46px 22px 34px; }
  .allura-pop__buttons { gap: 8px; }
  .allura-pop__btn { min-height: 44px; padding: 0 16px; font-size: 10px; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  .allura-pop__card,
  .allura-pop__overlay { transition: opacity .2s ease; }
  .allura-pop.is-in .allura-pop__card { transform: none; }
  .allura-pop__mark { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — mobile/tablet hardening (2026-06-08)
   ═══════════════════════════════════════════════════════════════════════ */

/* iOS auto-zooms any focused field whose font-size is < 16px. Bump every WC
   text field to 16px on the touch range; the 15px refinement stays on desktop.
   !important is required to beat the several `font-size:15px !important` rules. */
@media (max-width: 1024px) {
  .woocommerce input[type="text"],
  .woocommerce input[type="email"],
  .woocommerce input[type="tel"],
  .woocommerce input[type="number"],
  .woocommerce input[type="password"],
  .woocommerce input[type="search"],
  .woocommerce input.input-text,
  .woocommerce textarea,
  .woocommerce select,
  .woocommerce .quantity input.qty,
  .allura-input,
  .allura-qty input.qty,
  input#coupon_code,
  form.checkout input.input-text,
  form.woocommerce-form input.input-text {
    font-size: 16px !important;
  }
}

/* The global Elementor footer has a flex container with a 10px right margin that
   spills ~12px past the viewport on narrow screens. Clip the footer region (clip,
   not hidden — it creates no scroll container, so sticky header / body-appended
   popups are unaffected). */
.elementor-location-footer,
footer.elementor-location-footer { overflow-x: clip; }
