/* ─────────────────────────────────────────────────────────────
   Orion · WooCommerce + Kadence visual overrides
   Restyles WC's default form widgets to match the Terra design.
   Loaded after orion.css so these tokens win.
   ───────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────
   Shop archive (full canvas)
   ───────────────────────────────────────────────────────────── */
.archive-canvas .shop-hero {
  background: var(--bg-2, #fbf3eb);
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line, #ebe3d3);
}
.archive-canvas .shop-hero .crumb { padding: 0 0 18px; font-size: 12px; }
.archive-canvas .shop-hero__title {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  margin: 4px 0 14px;
  text-wrap: balance;
}
.archive-canvas .shop-hero__lede {
  max-width: 60ch;
  margin: 0;
}
.archive-canvas .shop-cats {
  background: var(--bg-2, #fbf3eb);
  padding-top: 0;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.archive-canvas .shop-grid {
  padding-top: clamp(48px, 5vw, 72px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.shop-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line, #ebe3d3);
}
.shop-sort__count {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft, #6a6a66);
}
.shop-sort__order select {
  appearance: none;
  -webkit-appearance: none;
  background:
    var(--bg-card, #fff)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e0c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 12px center / 14px 14px;
  border: 1px solid var(--line, #ebe3d3);
  border-radius: 8px;
  padding: 10px 36px 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink, #0e0e0c);
  cursor: pointer;
}

ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 720px) { ul.products { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1080px) { ul.products { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

ul.products li.orion-card {
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto !important;
  float: none !important;
}

.orion-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--line, #ebe3d3);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: block;
}
.orion-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink, #0e0e0c);
  box-shadow: 0 12px 28px rgba(11,18,32,.07);
}
.orion-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.orion-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-2, #fbf3eb);
  overflow: hidden;
}
.orion-card__media .orion-card__img,
.orion-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.orion-card:hover .orion-card__media img { transform: scale(1.04); }
.orion-card__ph { position: absolute; inset: 0; border: 0; border-radius: 0; }
.orion-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 2;
}
.orion-card__badge--accent {
  background: var(--accent, #b85c34);
  color: #fff;
}
.orion-card__badge--soon {
  background: var(--ink, #0e0e0c);
  color: var(--bg-card, #fff);
}
.orion-card__body {
  padding: 18px 20px 4px;
}
.orion-card__cat {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-soft, #6a6a66);
  margin-bottom: 8px;
}
.orion-card__title {
  font-family: var(--sans, 'Sora', sans-serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--ink, #0e0e0c);
}
.orion-card__price {
  font-family: var(--serif, 'Instrument Serif', serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink, #0e0e0c);
}
.orion-card__price del { color: var(--ink-soft, #6a6a66); font-size: 16px; margin-left: 6px; }
.orion-card__price ins { text-decoration: none; }
.orion-card__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px 18px;
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #b85c34);
}
.orion-card:hover .orion-card__cta svg { transform: translateX(3px); }
.orion-card__cta svg { transition: transform .2s ease; }

/* WC's default "Showing N results" text — clean up */
.woocommerce-result-count { margin: 0; }
.woocommerce-ordering { margin: 0; }

/* Pagination */
.woocommerce-pagination {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}
.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  gap: 6px;
  padding: 0;
  list-style: none;
  border: 0;
}
.woocommerce-pagination ul.page-numbers li { margin: 0; }
.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line, #ebe3d3);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink, #0e0e0c);
  text-decoration: none;
  background: var(--bg-card, #fff);
}
.woocommerce-pagination .page-numbers.current {
  background: var(--ink, #0e0e0c);
  color: var(--bg-card, #fff);
  border-color: var(--ink, #0e0e0c);
}

/* ─────────────────────────────────────────────────────────────
   Section backgrounds — landing page palette overrides
   "La vraie cause" goes cream so the dark pain cards inside pop.
   "L'offre originale" (.offer block) goes Terra accent for a final
   warm CTA band instead of pure black.
   ───────────────────────────────────────────────────────────── */
#probleme.section--dark {
  background: var(--bg-2, #fbf3eb) !important;
  color: var(--ink, #0e0e0c) !important;
}
#probleme .eyebrow { color: var(--ink-soft, #6a6a66) !important; }
#probleme .lede,
#probleme .h-section { color: var(--ink, #0e0e0c) !important; }
#probleme em.mark { color: var(--accent-2, #93431f) !important; }

/* Pain cards: title pure white + body readable cream on dark cards
   (default cream-on-grey was washing out against the cream section bg) */
#probleme .pain-card h3 { color: #ffffff !important; }
#probleme .pain-card p  { color: #d8d3c6 !important; }

/* Hero benefits row (replaces the old logoplate wordmark band).
   3 icons + caption stacks: 95% Bambou / Coupe stable / Essai 45 j.
   Mobile-first: tighter padding + smaller icons under 420px. */
.hero-logoplate.hero-benefits {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 0;
  padding: 18px 12px;
  background: #fff;
  border-top: 1px solid var(--line, #ebe3d3);
}
.hero-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 4px 8px;
  position: relative;
  color: var(--ink, #0e0e0c);
}
.hero-benefit + .hero-benefit::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--line, #ebe3d3);
}
.hero-benefit__icon {
  width: 28px;
  height: 28px;
  color: var(--accent-2, #93431f);
  flex-shrink: 0;
}
.hero-benefit__title {
  font-family: var(--sans, 'Sora', sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.hero-benefit__sub {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft, #6a6a66);
  line-height: 1.2;
}
@media (max-width: 720px) {
  .hero-logoplate.hero-benefits { padding: 16px 8px; }
  .hero-benefit { gap: 5px; padding: 4px 4px; }
  .hero-benefit__icon { width: 24px; height: 24px; }
  .hero-benefit__title { font-size: 12px; }
  .hero-benefit__sub { font-size: 9px; letter-spacing: 0.1em; }
}
@media (max-width: 380px) {
  .hero-benefit__title { font-size: 11px; }
  .hero-benefit__sub { display: none; }
}

/* Size chips: accommodate the 6th size (3XL) without wrapping */
.sizes {
  grid-template-columns: repeat(6, 1fr) !important;
}
@media (max-width: 720px) {
  .sizes {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
}

.offer {
  background: var(--accent-2, #93431f) !important;
  color: #fff !important;
}
.offer h2,
.offer .now { color: #fff !important; }
.offer em.mark { color: #fef2ee !important; }
.offer .lede { color: rgba(255, 255, 255, 0.85) !important; }
.offer .was { color: rgba(255, 255, 255, 0.6) !important; }
.offer .per { color: rgba(255, 255, 255, 0.78) !important; }
.offer .bullets li { color: rgba(255, 255, 255, 0.92) !important; }
.offer .eyebrow { color: rgba(255, 255, 255, 0.78) !important; }
.offer .offer-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
}
.offer .pill--accent {
  background: #fff !important;
  color: var(--accent-2, #93431f) !important;
}
/* Hero-CTA inside the offer block: white pill on dark accent for max
   contrast (Terra ATC on Terra bg would disappear). */
.offer .btn--accent {
  background: #fff !important;
  color: var(--ink, #0e0e0c) !important;
}
.offer .btn--accent:hover {
  background: var(--paper, #fbf3eb) !important;
}

/* ── Profile-rec row: stack vertically on mobile ──────────── */
@media (max-width: 720px) {
  .profile-rec {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .profile-rec strong { font-size: 14px; }
}

/* ── Pack tier cards as <button>: strip browser default chrome
   only — leave .pack's own grid/padding/border/background alone. */
button.pack {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
}
button.pack:focus-visible { outline: 2px solid var(--accent, #b85c34); outline-offset: 2px; }

/* Pack price column: room for the absolutely-positioned .pack-best
   badge that sits at top: -8px, so the badge doesn't overlap the
   "now" price on narrow viewports. */
@media (max-width: 720px) {
  .packs .pack { padding-top: 22px !important; }
  .pack-price { padding-top: 4px; }
  .pack-best { top: 8px !important; right: 8px !important; }
}

/* ─────────────────────────────────────────────────────────────
   Image-slot normalization → 1:1
   Forces every placeholder media slot (shop card, category strip,
   hero visual, comparison cell, gallery override) to a square ratio.
   Reels (9:16) + UGC mosaic modifiers + founder portrait (already 1)
   are intentionally left alone.
   ───────────────────────────────────────────────────────────── */
.cat-media,
.hero-visual,
.hero-visual .ph,
.compare-col .ph,
.gallery-main {
  aspect-ratio: 1 / 1 !important;
}

/* ─────────────────────────────────────────────────────────────
   Category strip: neutralize the design's data-tone colored
   backgrounds so cards read as proper image placeholders, ready
   to swap in real category preview photos.
   ───────────────────────────────────────────────────────────── */
.cat-card[data-tone] .cat-media,
.cat-card .cat-media {
  background: var(--bg-2, #fbf3eb) !important;
  color: var(--ink-soft, #6a6a66);
}
.cat-card .cat-media .ph {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
}
/* Hide design's data-tone overlay/gradient if any */
.cat-card[data-tone]::before,
.cat-card[data-tone]::after { content: none !important; }

/* ─────────────────────────────────────────────────────────────
   Mobile-first refinements
   Applied at ≤720px. Targets thumb-reach + tap targets, kills the
   shop category-strip overflow, gives full-width primary CTAs,
   and respects iPhone safe-area.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  /* Shop archive: category strip stacks (was 2-col with overflow) */
  .cats {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .cat-card { width: 100%; }
  .cat-media { aspect-ratio: 1 / 1 !important; }

  /* Promo bar: tighter (still 2 lines max, smaller type) */
  .promo {
    font-size: 11.5px !important;
    padding: 9px 12px !important;
    line-height: 1.5 !important;
  }
  .promo .dot { margin: 0 4px !important; }

  /* Tap targets ≥44px on size + color selectors */
  .sizes .size-btn { min-height: 48px !important; padding: 0 12px !important; }
  .colors { gap: 14px !important; }
  .colors .swatch { width: 36px !important; height: 36px !important; }

  /* Hero CTAs: stack + full-width */
  .hero-ctas {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }
  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Hero microsignal: smaller, wrap cleanly */
  .hero-microsignal {
    font-size: 12px !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
  }

  /* Buy box: tighter top spacing */
  .buybox h1 { font-size: clamp(24px, 7vw, 30px) !important; }

  /* WC variations form: full-width ATC button, dropdowns 100% */
  .orion-wc-form button.single_add_to_cart_button {
    width: 100% !important;
    flex: 1 0 100% !important;
  }

  /* Reassurance row: tighter padding so it fits 3 across */
  .reassure { gap: 6px !important; }
  .reassure-item { padding: 10px 6px !important; font-size: 11.5px !important; }

  /* iPhone safe area for sticky bar so home indicator doesn't overlap */
  .sticky-buy {
    padding-bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px)) !important;
  }
  body.has-sticky-buy {
    padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }

  /* Forms in /contact/: thumb-friendly */
  .orion-form input,
  .orion-form textarea {
    font-size: 16px !important;   /* prevents iOS zoom on focus */
    padding: 14px 16px !important;
    border-radius: 10px !important;
  }
  .orion-form button[type="submit"] {
    min-height: 56px !important;
    font-size: 16px !important;
  }

  /* Site footer: stack columns single-file, tighten gaps */
  .foot-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .foot h5 { margin-bottom: 8px !important; }

  /* Section spacing: tighter overall on mobile */
  section.section { padding: clamp(40px, 8vw, 64px) 0 !important; }
}

/* Extra-small (≤420px) — cram a bit more efficiently */
@media (max-width: 420px) {
  .pack-best { font-size: 10px !important; padding: 4px 8px !important; }
  .pack-title { font-size: 15px !important; }
  .pack-sub { font-size: 12px !important; }
  .pack-price .now { font-size: 18px !important; }
  .pack-price .was { font-size: 13px !important; }
  .buybox h1 { font-size: clamp(22px, 6.5vw, 28px) !important; }
  .h-display { font-size: clamp(30px, 8vw, 42px) !important; }
}

/* ── Header logo: bigger on Kadence header + canvas nav ───── */
.site-branding .site-logo img,
.site-branding .custom-logo,
.site-branding a.brand img,
.header-logo img {
  max-height: 56px !important;
  height: 56px !important;
  width: auto !important;
}
@media (max-width: 720px) {
  .site-branding .site-logo img,
  .site-branding .custom-logo,
  .site-branding a.brand img,
  .header-logo img {
    max-height: 42px !important;
    height: 42px !important;
  }
}
/* Canvas nav (used on homepage + product PDP) */
.nav .brand img {
  height: 44px;
  width: auto;
}
@media (max-width: 720px) {
  .nav .brand img { height: 36px; }
}

/* ── Gallery: fill its grid column on desktop ─────────────── */
.product-grid .gallery,
.product-grid .gallery-sticky {
  width: 100%;
  min-width: 0;
  display: block;
}
.gallery-main {
  width: 100%;
}
@media (min-width: 960px) {
  .gallery-main { max-height: 720px; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 720px) {
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}

/* ── Sticky buy bar: clean translate + hide on offer/pack ─ */
.sticky-buy {
  transform: translateY(120%) !important;
  transition: transform .28s cubic-bezier(.2,.7,.3,1);
  will-change: transform;
  padding: 14px 18px !important;
  gap: 14px !important;
}
.sticky-buy.is-visible {
  transform: translateY(0) !important;
}
/* Real WC price markup inside .sb-price: strip the cluttered <ins>/<del> tags */
.sticky-buy .sb-price { display: flex; align-items: baseline; gap: 8px; }
.sticky-buy .sb-price ins { text-decoration: none; }
.sticky-buy .sb-price del { display: none; }
.sticky-buy .sb-price .woocommerce-Price-amount { font-family: var(--serif, 'Instrument Serif', serif); }
.sticky-buy .sb-title { font-size: 14px; font-weight: 500; }
.sticky-buy .btn { min-height: 46px; padding: 0 22px; }

/* Bundle products: the main ATC is the only place to buy. Sticky bar
   would re-stamp the wrong pack price — hide it entirely on pack/offer. */
body.layout-pack .sticky-buy,
body.layout-offer .sticky-buy {
  display: none !important;
}
/* Push body content up so the sticky bar doesn't cover footer / last section */
body.has-sticky-buy { padding-bottom: 84px !important; }
@media (max-width: 720px) {
  body.has-sticky-buy { padding-bottom: 76px !important; }
}

/* ── When custom buy box is active, hide native WC selects ── */
.orion-wc-form--hidden-selects table.variations,
.orion-wc-form--hidden-selects .single_variation_wrap .woocommerce-variation-description,
.orion-wc-form--hidden-selects .single_variation_wrap .woocommerce-variation-price {
  display: none;
}
.orion-wc-form--hidden-selects .woocommerce-variation-availability {
  margin: 6px 0 12px;
}

/* ── Single-buy PDP: hide qty stepper, keep ATC full-width ─ */
.orion-wc-form--hide-qty .quantity {
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden;
}
.orion-wc-form--hide-qty button.single_add_to_cart_button {
  flex: 1 1 100% !important;
  width: 100%;
}

.orion-wc-form .atc-price {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ── Buy-box WC form: dropdowns ───────────────────────────── */
.orion-wc-form table.variations { width: 100%; border: 0; margin: 0 0 18px; border-spacing: 0; }
.orion-wc-form table.variations td,
.orion-wc-form table.variations th {
  border: 0;
  padding: 10px 0;
  vertical-align: middle;
}
.orion-wc-form table.variations th.label,
.orion-wc-form table.variations th label {
  font-family: var(--sans, 'Sora', sans-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--ink, #0e0e0c);
  padding-right: 16px;
  width: 30%;
  text-transform: none;
}
.orion-wc-form table.variations select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background:
    var(--bg-card, #fff)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e0c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 14px center / 16px 16px;
  border: 1px solid var(--line, #e8e6e1);
  border-radius: 8px;
  padding: 12px 44px 12px 14px;
  font-family: var(--sans, 'Sora', sans-serif);
  font-size: 15px;
  color: var(--ink, #0e0e0c);
  cursor: pointer;
  transition: border-color .15s ease;
}
.orion-wc-form table.variations select:focus {
  outline: 0;
  border-color: var(--accent, #b85c34);
}
.orion-wc-form .reset_variations {
  display: inline-block;
  margin-left: 10px;
  font-size: 13px;
  color: var(--ink-soft, #6a6a66);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Qty stepper (styled WC qty input + visual +/− glyphs) ── */
.orion-wc-form .woocommerce-variation-add-to-cart,
.orion-wc-form form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 8px;
}
.orion-wc-form .quantity {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  background: var(--bg-card, #fff);
  border: 1px solid var(--line, #e8e6e1);
  border-radius: 999px;
  overflow: hidden;
  min-width: 132px;
}
.orion-wc-form .quantity::before,
.orion-wc-form .quantity::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: var(--ink, #0e0e0c);
  -webkit-mask: center / 14px no-repeat;
  mask: center / 14px no-repeat;
  pointer-events: none;
  transform: translateY(-50%);
}
.orion-wc-form .quantity::before {
  left: 18px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.orion-wc-form .quantity::after {
  right: 18px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.orion-wc-form .quantity input.qty {
  width: 132px;
  padding: 0 44px;
  text-align: center;
  border: 0;
  background: transparent;
  font-family: var(--sans, 'Sora', sans-serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink, #0e0e0c);
  appearance: textfield;
  -moz-appearance: textfield;
}
.orion-wc-form .quantity input.qty::-webkit-outer-spin-button,
.orion-wc-form .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.orion-wc-form .quantity input.qty:focus {
  outline: 0;
}

/* ── Add to cart button: Terra orange (beats Kadence WC defaults) ── */
.orion-wc-form button.single_add_to_cart_button,
.orion-wc-form button.single_add_to_cart_button.alt,
body.single-product-canvas button.single_add_to_cart_button,
body.single-product-canvas button.single_add_to_cart_button.alt {
  flex: 1 1 220px !important;
  min-height: 54px !important;
  padding: 0 26px !important;
  background: var(--accent, #b85c34) !important;
  background-color: var(--accent, #b85c34) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: var(--sans, 'Sora', sans-serif) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: 0.005em !important;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  text-transform: none !important;
  box-shadow: none !important;
}
.orion-wc-form button.single_add_to_cart_button:hover,
.orion-wc-form button.single_add_to_cart_button.alt:hover,
body.single-product-canvas button.single_add_to_cart_button:hover,
body.single-product-canvas button.single_add_to_cart_button.alt:hover {
  background: var(--accent-2, #93431f) !important;
  background-color: var(--accent-2, #93431f) !important;
  transform: translateY(-1px);
}
.orion-wc-form button.single_add_to_cart_button[disabled],
.orion-wc-form button.single_add_to_cart_button:disabled,
.orion-wc-form button.single_add_to_cart_button.disabled {
  opacity: 0.55 !important;
  cursor: not-allowed;
}
.orion-wc-form .woocommerce-variation-price {
  display: none;  /* price already shown in .buybox-price */
}
.orion-wc-form .woocommerce-variation-availability {
  font-size: 13px;
  color: var(--ink-soft, #6a6a66);
  margin: 6px 0 0;
}

/* ── Buy box buttons (Voir l'offre on home + ghost) ───────── */
.btn--accent { background: var(--accent, #b85c34); color: #fff; }
.btn--accent:hover { background: var(--accent-2, #93431f); }

/* ── Buybox bullets: stop the WC-side 2-col flex bug ─────── */
.buybox-bullets li {
  display: block !important;
  padding-left: 28px;
}
.buybox-bullets li strong {
  display: inline;
}

/* ── Pain points + Solution H2: keep italic-mark in flow ──── */
.section--dark .h-section,
#systeme .h-section,
#probleme .h-section {
  max-width: 920px;
  text-wrap: balance;
}
.section--dark .h-section em.mark,
#systeme .h-section em.mark,
#probleme .h-section em.mark {
  display: inline;
  white-space: normal;
}

/* ── Hero H1: keep italic mark on the same flow on narrow screens ── */
.hero .h-display {
  text-wrap: balance;
}
.hero .h-display em.mark {
  display: inline;
  white-space: normal;
}
@media (max-width: 720px) {
  .hero .h-display {
    font-size: clamp(34px, 9.2vw, 50px);
    line-height: 1.05;
  }
}

/* ── Solution feature icons: stronger contrast on paper ───── */
.features .feature-icon {
  background: var(--bg-2, #fbf3eb);
  color: var(--ink, #0e0e0c);
  border: 1px solid var(--line, #ebe3d3);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.features .feature-icon svg { stroke-width: 1.8; }

/* ── Mobile fixes ─────────────────────────────────────────── */
@media (max-width: 720px) {
  /* Fix the "2-column bullets" layout on phones (also affects home) */
  .bullets li {
    display: block !important;
  }
  .bullets li::before {
    margin-right: 0;
  }
  .buybox-bullets li {
    padding-left: 28px;
  }

  /* Tighter qty + ATC stack */
  .orion-wc-form .quantity { width: 132px; }
  .orion-wc-form .single_add_to_cart_button {
    width: 100%;
    flex: 1 0 100%;
  }

  /* Gallery: badges shouldn't overlap the ph label */
  .gallery-badges {
    top: 12px;
    left: 12px;
  }
  .gallery-main .ph-label {
    margin-top: 60px;
  }

  /* Promo bar: cleaner two-line wrap */
  .promo {
    font-size: 12px;
    padding: 9px 14px;
    line-height: 1.4;
  }
  .promo .dot { margin: 0 4px; }
}

/* ── Sticky buy bar: use brand accent ─────────────────────── */
.sticky-buy .btn--accent {
  background: var(--accent, #b85c34);
  color: #fff;
}
