/* ===== WpZone – Product (rev PRO) ===== */

/* Grille principale */
.pz-hero{ display:grid; grid-template-columns:1.15fr .85fr; gap:24px; align-items:start; margin:1rem auto 2rem; }
@media (max-width: 992px){ .pz-hero{ grid-template-columns:1fr } }

/* Galerie */
.pz-gallery{ position:relative; }
.pz-slider{ position:relative; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; background:#fff; }
.pz-slide{ display:none; margin:0; cursor: zoom-in; }
.pz-slide.is-active{ display:block }
.pz-media{ width:100%; height:auto; display:block; }
.pz-figcap{ padding:.5rem .75rem; font-size:var(--fs-sm); color:var(--muted); background:var(--surface) }

.pz-thumbs{ display:flex; gap:.5rem; margin-top:.75rem; overflow:auto; padding-bottom:.25rem }
.pz-thumb{ border:1px solid var(--border); background:#fff; border-radius:10px; padding:2px; cursor:pointer; line-height:0; transition:box-shadow .2s ease, outline-color .2s ease }
.pz-thumb.is-active{ outline:2px solid var(--brand-400); box-shadow: var(--shadow) }
.pz-thumb-img{ display:block; width:78px; height:auto; border-radius:8px }
@media (max-width:420px){ .pz-thumb-img{ width:68px } }

/* Buybox */
.pz-buybox{ position:relative; border:1px solid var(--border); border-radius:var(--radius); padding:1rem; background:#fff; box-shadow:var(--shadow) }
.pz-title{ margin:.25rem 0 .5rem; font-size:clamp(1.5rem,2.5vw,2rem); font-weight:800; }
.pz-meta{ display:flex; gap:1rem; align-items:center; flex-wrap:wrap; margin:.25rem 0 .5rem }
.pz-stock.in{ color:#059669; font-weight:700; animation:blinkGreen 1.6s ease-in-out 2; }
.pz-stock.out{ color:#b91c1c; font-weight:700; animation:blinkRed 1.6s ease-in-out 2; }
@keyframes blinkGreen{ 0%,100%{opacity:1} 50%{opacity:.6} }
@keyframes blinkRed{ 0%,100%{opacity:1} 50%{opacity:.6} }

.pz-price{ font-size: clamp(1.25rem,2vw,1.6rem); font-weight:800; }
.pz-price.pulse{ animation:pulse 550ms ease; }
@keyframes pulse{ 0%{transform:scale(1)} 40%{transform:scale(1.06)} 100%{transform:scale(1)} }

.pz-short{ color:var(--muted); margin-bottom:1rem }
.pz-atc form.cart, .pz-atc .variations_form{ display:grid; gap:.75rem }
.pz-atc .single_add_to_cart_button{ width:100%; min-height:48px }

/* Badges */
.pz-badges{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:.5rem; margin:1rem 0 0; padding:0; list-style:none }
.pz-badge{ background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:.55rem .75rem; font-size:var(--fs-sm); color:var(--muted) }
.pz-badge--sale{ background:#fff7ed; border-color:#fed7aa; color:#9a3412; }
.pz-badge--new{ background:#ecfeff; border-color:#a5f3fc; color:#155e75; }
.pz-badge--best{ background:#f0fdf4; border-color:#bbf7d0; color:#166534; }
@media (max-width:480px){ .pz-badges{ grid-template-columns:1fr } }

/* Accordéons */
.pz-accordions{ margin: 1.5rem auto }
.pz-acc{ border:1px solid var(--border); border-radius:var(--radius); background:#fff; margin-bottom:.75rem; overflow:hidden }
.pz-acc > summary{ cursor:pointer; list-style:none; padding:.875rem 1rem; font-weight:700; position:relative }
.pz-acc > summary::-webkit-details-marker{ display:none }
.pz-acc[open] > summary{ color:var(--brand) }
.pz-acc > *:not(summary){ padding:1rem; border-top:1px solid var(--border) }

/* Sticky CTA mobile */
.pz-sticky-cta{
  position: fixed; left:0; right:0;
  bottom: max(8px, env(safe-area-inset-bottom)); margin:0 auto;
  width: calc(100% - 24px);
  display:flex; align-items:center; justify-content:space-between; gap:.75rem;
  padding:.75rem 1rem; background:rgba(255,255,255,.98);
  border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow);
  z-index: 1200; transform: translateY(110%); opacity:0; pointer-events:none;
  transition: transform .25s ease, opacity .25s ease;
}
.pz-sticky-cta.is-visible{ transform: translateY(0); opacity:1; pointer-events:auto; }
.pz-sticky-price{ font-weight:800; font-size:1.125rem }
@media (min-width: 992px){ .pz-sticky-cta{ display:none !important } }

/* Mini-header sticky */
.pz-mini-header{
  position: sticky; top: calc(56px + env(safe-area-inset-top,0px)); z-index: 69;
  display:none; align-items:center; justify-content:space-between; gap:12px;
  padding:.5rem .75rem; background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--border); backdrop-filter:saturate(180%) blur(8px);
}
.pz-mini-header.is-visible{ display:flex; }
.pz-mini-left{ display:flex; gap:.5rem; align-items:center; min-width:0 }
.pz-mini-thumb img{ width:36px; height:36px; border-radius:8px; object-fit:cover; display:block }
.pz-mini-title{ font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:56vw }
.pz-mini-right{ display:flex; gap:.5rem; align-items:center }
.pz-mini-price{ font-weight:800 }
.btn-mini{ padding:.5rem .75rem; min-height:40px }

/* Lightbox plein écran */
.pz-lightbox{
  position:fixed; inset:0; background:rgba(2,8,23,.9); z-index:1400;
  display:none; align-items:center; justify-content:center;
}
.pz-lightbox.is-open{ display:flex; }
.pz-lightbox-img{
  max-width:96vw; max-height:90vh; user-select:none; cursor:grab;
  transition: transform .15s ease;
}
.pz-lightbox-img.is-zoomed{ cursor:grab; }
.pz-lightbox-close, .pz-lightbox-prev, .pz-lightbox-next{
  position:absolute; top:12px; width:44px; height:44px; border-radius:10px; border:1px solid var(--border);
  display:grid; place-items:center; background:#fff; color:var(--ink);
}
.pz-lightbox-close{ right:12px }
.pz-lightbox-prev{ left:12px; top:50%; transform:translateY(-50%) }
.pz-lightbox-next{ right:12px; top:50%; transform:translateY(-50%) }

/* Étoiles hover (micro-interaction) */
.woocommerce .star-rating{ filter: drop-shadow(0 0 0 rgba(0,0,0,0)); transition: filter .2s ease }
.woocommerce .star-rating:hover{ filter: drop-shadow(0 0 6px rgba(250, 204, 21, .6)); }


/* Sticky CTA mobile (unique) */
.pz-sticky-cta{
  position: fixed; left:0; right:0;
  bottom: max(8px, env(safe-area-inset-bottom)); margin:0 auto;
  width: calc(100% - 24px);
  display:flex; align-items:center; gap:.75rem;
  padding:.6rem .85rem; background:rgba(255,255,255,.98);
  border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow);
  z-index: 1200; transform: translateY(110%); opacity:0; pointer-events:none;
  transition: transform .25s ease, opacity .25s ease;
}
.pz-sticky-cta.is-visible{ transform: translateY(0); opacity:1; pointer-events:auto; }

.pz-sticky-left{ display:flex; align-items:center; gap:.6rem; min-width:0; flex:1 1 auto; }
.pz-sticky-thumb img{ width:36px; height:36px; border-radius:8px; object-fit:cover; display:block }
.pz-sticky-meta{ min-width:0; display:flex; flex-direction:column; line-height:1.2 }
.pz-sticky-title{ font-weight:700; font-size:.95rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pz-sticky-price{ font-weight:800; font-size:.95rem; color:var(--ink) }

/* bouton collé à droite */
.pz-sticky-cta .btn{
  margin-left:auto;        /* pousse totalement à droite */
  min-height:44px;
  padding:.65rem 1rem;
  white-space:nowrap;
}

@media (min-width: 992px){
  .pz-sticky-cta{ display:none !important }
}


/* =========================================================
   WP Arbo Export – Landing v2.1 (spécifique page)
   S’appuie sur base.css : --brand, --surface, --ink, --muted, --border, --shadow, --ff-mono
========================================================= */

:root{
  --lp-max: 1140px;
  --lp-gap: 16px;
  --lp-gap-lg: 24px;
}

.wae-wrap{ max-width: var(--lp-max); }

/* ---------- HERO ---------- */
.wae-hero{
  display:grid; grid-template-columns: 1.15fr .85fr; gap: var(--lp-gap-lg); align-items:center;
  margin: clamp(16px, 4vw, 28px) 0 clamp(18px, 4vw, 36px);
}
@media (max-width: 980px){ .wae-hero{ grid-template-columns: 1fr } }

.wae-h1{
  font-size: clamp(34px, 5.5vw, 48px);
  line-height:1.08; margin:.3rem 0 1rem; letter-spacing:-.02em;
}
.wae-h2{ font-size: clamp(22px, 3.5vw, 28px); margin: .25rem 0 1rem }

.wae-lead{ font-size: clamp(16px, 2.3vw, 18px); color: var(--muted); margin-bottom: 14px; }
.wae-badge{
  display:inline-block; padding:6px 10px; border-radius:999px;
  border:1px solid var(--border); background: var(--surface);
  font-size:12px; color: var(--muted);
}
.wae-benefits{ margin:.25rem 0 1rem; padding-left: 1.15rem }
.wae-benefits li{ margin:.35rem 0 }

.wae-hero-image{
  display:block; width:100%; height:auto; border-radius:16px; border:1px solid var(--border);
  box-shadow: var(--shadow);
}
.wae-hero-right .wae-hero-demo{
  display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:16px;
  background: var(--surface); border:1px solid var(--border); border-radius:12px;
}
@media (max-width: 820px){ .wae-hero-right .wae-hero-demo{ grid-template-columns:1fr } }

.wae-cta{ display:flex; gap:10px; flex-wrap:wrap; margin:.5rem 0 }
.wae-btn-primary{ background: var(--brand); border-color: var(--brand); color:#fff }
.wae-btn-primary:hover{ background: var(--brand-600); border-color: var(--brand-600); }
.wae-kicker{ font-size:.85rem; color:var(--muted) }

/* ---------- Grille cartes ---------- */
.wae-section{ margin: clamp(24px, 6vw, 48px) 0 }
.wae-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: var(--lp-gap); }
.card{ background:#fff; border:1px solid var(--border); border-radius:12px; box-shadow: var(--shadow); }
.surface{ background: var(--surface); }
.wae-card{ padding: clamp(14px, 3vw, 20px); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.wae-card:hover{ transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.08) }

/* ---------- Préformatés ---------- */
.wae-pre{
  font-family: var(--ff-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
  background:#0b122a; color:#e5e7eb; border-radius:10px; padding:12px; white-space:pre; overflow:auto;
  border:1px solid var(--border); box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

/* ---------- Ligne infos (étoiles + compat) ---------- */
.wae-info-line{
  display:flex; gap:.75rem; align-items:center; flex-wrap:wrap;
  padding:.6rem .8rem; color: var(--ink);
  border:1px solid var(--border); border-radius:10px; background: var(--surface);
  margin-bottom: clamp(12px, 2vw, 18px);
}
.wae-stars{ letter-spacing:.2ch; color: var(--brand-500, #3b82f6); font-weight:700 }
.wae-sep{ opacity:.6 }

/* ---------- Fiche technique (tableau) ---------- */
.wae-spec-wrap{ overflow:auto; border:1px solid var(--border); border-radius:12px; background:#fff; box-shadow: var(--shadow); }
.wae-spec{ width:100%; border-collapse: collapse; }
.wae-spec th,
.wae-spec td{
  border-bottom:1px solid var(--border);
  padding:.75rem .9rem; text-align:left; vertical-align: top;
}
.wae-spec th{
  width: 240px; max-width: 32ch; white-space: nowrap; font-weight:600; color: var(--ink);
  background: var(--surface);
}
.wae-spec tr:last-child th,
.wae-spec tr:last-child td{ border-bottom:0 }

/* ---------- Quotes ---------- */
.wae-quote{ font-style: italic; }
.wae-quote footer{ margin-top:.5rem; font-style:normal; color:var(--muted) }

/* ---------- Pricing ---------- */
.wae-pricing{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--lp-gap);
  margin-top: .5rem;
}
.wae-plan{ position:relative; padding: 18px; border:1px solid var(--border); }
.wae-plan h3{ margin:.25rem 0 .75rem }
.wae-price{ font-size: clamp(22px, 3vw, 28px); font-weight:700; margin:.25rem 0 .5rem }
.wae-plan .wae-badge-below{ display:block; margin-top:.5rem; color:var(--muted); font-size:.85rem }
.wae-plan-popular{
  border-color: var(--brand);
  box-shadow: 0 10px 28px rgba(37,99,235,.12);
}
.wae-ribbon{
  position:absolute; top:12px; right:-8px; background: var(--brand); color:#fff; font-size:.75rem;
  padding:.25rem .5rem; transform: rotate(2deg); border-radius:6px; box-shadow: var(--shadow);
}

/* ---------- Garantie ---------- */
.wae-guarantee{
  margin-top: clamp(12px, 2vw, 18px);
  padding: 12px 14px; border-radius:10px; color: var(--ink);
  background: var(--surface); border:1px dashed var(--border);
}

/* ---------- FAQ ---------- */
.wae-faq{ display:grid; gap:10px }
.wae-faq-item{
  background:#fff; border:1px solid var(--border); border-radius:10px; padding:.25rem .5rem;
}
.wae-faq-item > summary{
  cursor:pointer; padding:.6rem .5rem; list-style:none; font-weight:600;
}
.wae-faq-item[open] > summary{ color: var(--brand) }
.wae-faq-item > p{ padding: 0 .5rem .75rem }

/* ---------- Sticky CTA (mobile conservée) ---------- */
.wae-stick-cta{
  position: fixed; left:0; right:0; bottom:0; z-index: 90;
  background: rgba(255,255,255,.92); border-top:1px solid var(--border); backdrop-filter: blur(6px);
  padding: .5rem 0; display:none;
}
.wae-stick-inner{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.wae-stick-title{ font-weight:700 }
@media (max-width: 900px){ .wae-stick-cta{ display:block } }

/* ---------- Dark mode ---------- */
@media (prefers-color-scheme: dark){
  .card{ background: var(--surface); }
  .wae-hero-image{ border-color: var(--border) }
  .wae-stick-cta{ background: rgba(15,23,42,.92) }
  .wae-spec-wrap{ background: var(--surface); }
  .wae-spec th{ background: color-mix(in oklab, var(--surface) 80%, #000) }
}

/* ---------- A11Y focus ---------- */
:where(a,button,.btn).wae-btn-primary:focus-visible,
.wae-plan a.btn:focus-visible,
.wae-faq-item summary:focus-visible{
  outline:none; box-shadow: var(--focus);
}

/* ---------- Responsivité fine ---------- */
@media (max-width: 640px){
  .wae-h1{font-size: clamp(28px, 8vw, 34px)}
  .wae-cta{gap:8px}
  .wae-btn{padding:11px 14px}
  .wae-spec th{ width: 44% }
}

/* ---------- Impression ---------- */
@media print{
  .wae-stick-cta, .wae-cta, .wae-badge{display:none !important}
  .wae-card{box-shadow:none;border-color:#ccc}
  body{background:#fff;color:#000}
}


/* ======= WPZone – Landing plugins (mobile overflow fix) ======= */
.wae-wrap { overflow-x: hidden; }

/* Grid hero -> 1 colonne sur mobile */
@media (max-width: 768px){
  .wae-hero { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .wae-hero-left, .wae-hero-right { min-width: 0; } /* autorise le shrink */
  .wae-h1 { font-size: clamp(26px, 6vw, 38px); line-height: 1.15; word-wrap: break-word; }
  .wae-cta { flex-wrap: wrap; gap: 10px; }
  .wae-cta .btn { width: auto; max-width: 100%; }
}

/* Limiter les éléments qui débordent */
.wae-hero-image,
.wae-card,
.wae-pre,
.wae-spec-wrap,
.wae-spec { max-width: 100%; }

/* <pre> et <code> : autoriser les retours à la ligne longues chaînes/URLs */
.wae-pre,
.wae-spec code {
  white-space: pre-wrap;         /* wrap au besoin */
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Tableau technique responsive */
.wae-spec { width: 100%; table-layout: fixed; }
.wae-spec th, .wae-spec td { word-break: break-word; }

/* Bouton sticky bas d'écran : pas de dépassement horizontal */
.wae-stick-cta { left: 0; right: 0; max-width: 100vw; }
.wae-stick-inner { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.wae-stick-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Petits raffinements mobiles */
@media (max-width: 480px){
  .wae-badge, .wae-kicker { font-size: .92rem; }
  .wae-list, .wae-benefits { padding-left: 1rem; }
}



//CSS additionnel minimal pour la bottom-sheet (tout le reste = ton CSS .wae- existant)
.w ae-sheet-backdrop{position:fixed;inset:0;background:rgba(2,6,23,.5);backdrop-filter:blur(4px);z-index:90}
.wae-sheet{position:fixed;left:0;right:0;bottom:-100%;background:#fff;border-top-left-radius:16px;border-top-right-radius:16px;
  box-shadow:0 -12px 40px rgba(0,0,0,.18);z-index:91;transition:transform .2s ease, bottom .2s ease;transform:translateY(100%)}
.wae-sheet.is-open{bottom:0;transform:translateY(0)}
.wae-sheet[aria-hidden="true"]{display:block} /* éviter le FOUC */
.wae-sheet-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--border)}
.wae-sheet-close{background:transparent;border:0;font-size:26px;line-height:1;cursor:pointer}
.wae-sheet-body{padding:8px 12px 16px}
.wae-sheet-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.wae-sheet-line{display:flex;align-items:center;justify-content:space-between;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.wae-sheet-title{font-weight:700}
.wae-sheet-sub{font-size:12px;color:var(--muted);margin-top:2px}
@media (min-width:720px){.wae-sheet{max-width:620px;margin:0 auto}}



