/* ═══════════════════════════════════════════════
   REFONTE FICHE PRODUIT 2026 — product-specific-imp.tpl (IMP-* 14 produits)
   ═══════════════════════════════════════════════ */

/* ── Variables globales --pf-* ── */
:root {
  --pf-vert:        #76845E;
  --pf-vert-fonce:  #5f6d4d;
  --pf-brun:        #2D2711;
  --pf-terracotta:  #A75B4A;
  --pf-creme:       #E5E3D7;
  --pf-creme-light: #F8F7F3;
  --pf-gris-texte:  #5a5541;
  --pf-border:      #F0EEE8;
  --pf-bg:          #FAFAF8;
  --pf-font:        'Raleway', sans-serif;
  --pf-font-hand:   'Caveat', cursive;
  --pf-font-num:    'Space Grotesk', sans-serif;
  --pf-radius:      8px;
  --pf-radius-lg:   16px;
  --pf-section-gap: 8px;
}

/* ── Reset page produit — IMP-* (1885–1898) ── */
.product-id-1885 #main, .product-id-1886 #main, .product-id-1887 #main,
.product-id-1888 #main, .product-id-1889 #main, .product-id-1890 #main,
.product-id-1891 #main, .product-id-1892 #main, .product-id-1893 #main,
.product-id-1894 #main, .product-id-1895 #main, .product-id-1896 #main,
.product-id-1897 #main, .product-id-1898 #main,
.product-id-1885 .product-container, .product-id-1886 .product-container,
.product-id-1887 .product-container, .product-id-1888 .product-container,
.product-id-1889 .product-container, .product-id-1890 .product-container,
.product-id-1891 .product-container, .product-id-1892 .product-container,
.product-id-1893 .product-container, .product-id-1894 .product-container,
.product-id-1895 .product-container, .product-id-1896 .product-container,
.product-id-1897 .product-container, .product-id-1898 .product-container {
  all: unset;
  display: block;
}
.product-id-1885 body, .product-id-1886 body, .product-id-1887 body,
.product-id-1888 body, .product-id-1889 body, .product-id-1890 body,
.product-id-1891 body, .product-id-1892 body, .product-id-1893 body,
.product-id-1894 body, .product-id-1895 body, .product-id-1896 body,
.product-id-1897 body, .product-id-1898 body {
  background: var(--pf-bg);
  font-family: var(--pf-font);
  color: var(--pf-brun);
  padding-bottom: 90px;
}

/* ── Wrapper produit ── */
.pf-product {
  max-width: 1217px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Galerie placeholder Phase 1 ── */
.pf-gallery-wrap {
  width: 100%;
  margin-bottom: 24px;
}
.pf-gallery-frame {
  width: 100%;
  background: var(--pf-creme-light);
  border-radius: var(--pf-radius-lg);
  overflow: clip;
}
.pf-gallery-main-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Infos produit ── */
.pf-product-top {
  margin-bottom: 24px;
}
.pf-product-title {
  font-family: var(--pf-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--pf-brun);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pf-product-tag {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 12px;
}
.pf-product-tag span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pf-vert);
}
.pf-product-tag a {
  font-size: 13px;
  color: var(--pf-brun);
  text-decoration: underline;
}
.pf-product-tag a:hover {
  color: var(--pf-vert);
}
.pf-product-desc {
  font-size: 14px;
  color: var(--pf-gris-texte);
  line-height: 1.6;
}

/* ── Sticky bar ── */
.pf-sticky-m {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--pf-creme);
  box-shadow: 0 -4px 20px rgba(0,0,0,.07);
  z-index: 500;
}
.pf-sticky-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 16px;
}
.pf-sticky-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pf-sticky-b2b {
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pf-sticky-b2b-lbl {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pf-vert);
}
.pf-sticky-b2b-txt {
  font-size: 11px;
  font-weight: 600;
  color: var(--pf-brun);
}
.pf-sticky-price { flex: 1; min-width: 0; }
.pf-sticky-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--pf-brun);
  line-height: 1;
  margin-bottom: 3px;
  white-space: nowrap;
}
.pf-sticky-unit {
  font-size: 13px;
  color: var(--pf-gris-texte);
  white-space: nowrap;
}
.pf-sticky-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pf-sticky-wish {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--pf-border);
  border-radius: 8px;
  background: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pf-brun);
  transition: border-color 0.2s, color 0.2s;
}
.pf-sticky-wish:hover { border-color: var(--pf-terra); color: var(--pf-terra); }
.pf-sticky-delivery {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--pf-border);
  padding: 7px 20px;
  font-size: 12px;
  color: var(--pf-brun);
  font-weight: 500;
}
.pf-sticky-delivery strong { font-weight: 700; }
.pf-btn-commander {
  padding: 14px 26px;
  background: var(--pf-vert);
  color: white;
  border: none;
  border-radius: var(--pf-radius);
  font-family: var(--pf-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.pf-btn-commander:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.pf-btn-commander:not(:disabled):hover {
  background: var(--pf-vert-fonce);
}
.pf-sticky-error {
  width: 100%;
  font-size: .8rem;
  color: #c00;
  text-align: center;
  padding: 4px 0 0;
  margin: 0;
}

/* ── Desktop layout ── */
@media (min-width: 768px) {
  .pf-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "gallery main";
    gap: 0 48px;
    align-items: start;
  }
  .pf-gallery-wrap { grid-area: gallery; position: sticky; top: var(--pf-header-h, 80px); }
  .pf-main-col     { grid-area: main; }
  .pf-below-wrap   { width: 100%; }

  /* Sticky bar desktop — pleine largeur, contenu aligné sur la grille */
  .pf-sticky-m {
    border-radius: 0;
  }
  .pf-sticky-main {
    flex-direction: row;
    align-items: center;
    padding: 14px 48px;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .pf-sticky-b2b {
    display: block;
    border-right: 1px solid var(--pf-border);
    padding-right: 16px;
    margin-right: 4px;
  }
  .pf-sticky-b2b-lbl { margin-bottom: 2px; }
  .pf-sticky-row {
    display: contents;
  }
  .pf-sticky-delivery {
    padding: 8px 48px;
    max-width: 1280px;
    margin: 0 auto;
  }
}
/* ── PHASE 2 : CONFIGURATEUR SELECTORS ──────────────────── */

.pf-selectors {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.pf-selector-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--pf-border);
  cursor: pointer;
  font-family: var(--pf-font);
}
@media (max-width: 767px) {
  .pf-selector-row {
    display: inline-block;
    border: none;
    border-bottom: 0;
    padding: 0 0 16px 0;
  }
}
.pf-selector-row:last-child { border-bottom: none; }

.pf-selector-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--pf-brun);
  white-space: nowrap;
  text-align: left;
}
@media (max-width: 767px) {
  .pf-selector-label {
    margin-bottom: 5px;
    display: block;
  }
}

.pf-selector-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--pf-border);
  border-radius: 8px;
  background: white;
  transition: border-color 0.2s;
}
.pf-selector-row:hover .pf-selector-body { border-color: var(--pf-brun); }

.pf-selector-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--pf-creme), #D5D3C7);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  overflow: hidden;
}
.pf-qty-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--pf-vert);
  background: var(--pf-creme-light);
}

.pf-selector-info { flex: 1; text-align: left; }
.pf-selector-eyebrow {
  display: block;
  font-size: 11px;
  color: var(--pf-gris-texte);
  margin-bottom: 1px;
}
.pf-selector-current {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--pf-brun);
}
.pf-selector-chevron {
  font-size: 13px;
  color: var(--pf-gris-texte);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── PANELS (overlay + contenu) ── */

.pf-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.pf-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.pf-panel.is-open .pf-panel-overlay { opacity: 1; }

.pf-panel-inner {
  position: absolute;
  background: white;
  display: flex;
  flex-direction: column;
}

/* Mobile : bottom sheet */
@media (max-width: 767px) {
  .pf-panel-inner {
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85dvh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .pf-panel.is-open .pf-panel-inner { transform: translateY(0); }
}

/* Desktop : drawer droite */
@media (min-width: 768px) {
  .pf-panel-inner {
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    border-radius: 16px 0 0 16px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .pf-panel.is-open .pf-panel-inner { transform: translateX(0); }
  .pf-panel-handle { display: none; }
}

.pf-panel-handle {
  width: 40px;
  height: 4px;
  background: var(--pf-border);
  border-radius: 2px;
  margin: 12px auto 4px;
  flex-shrink: 0;
}

.pf-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--pf-border);
  flex-shrink: 0;
}

.pf-panel-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--pf-brun);
  font-family: var(--pf-font);
}

.pf-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--pf-gris-texte);
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.15s;
}
.pf-panel-close:hover { background: var(--pf-creme-light); }

.pf-panel-options {
  list-style: none;
  padding: 12px 16px;
  margin: 0;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pf-panel-options li { padding: 0; }

.pf-option {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  background: white;
  border: 1.5px solid var(--pf-border);
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--pf-font);
  text-align: left;
  overflow: hidden;
  transition: border-color 0.18s;
}
.pf-option:hover { border-color: #c5c0b0; }
.pf-option.is-selected { border-color: var(--pf-brun); }

/* Photo placeholder */
.pf-opt-img {
  width: 100%;
  height: 200px;
  background: var(--pf-creme);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .pf-opt-img { height: 150px; }
}
.pf-opt-img img { width: 100%; height: 100%; object-fit: cover; }

/* Corps texte */
.pf-opt-body {
  padding: 12px 14px;
}
.pf-opt-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.pf-opt-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--pf-brun);
  line-height: 1.3;
}
.pf-opt-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--pf-gris-texte);
  margin: 0;
}

/* Indicateur radio */
.pf-opt-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--pf-border);
  flex-shrink: 0;
  transition: border-color 0.18s, background 0.18s;
  position: relative;
}
.pf-opt-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--pf-vert);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.18s, transform 0.18s;
}
.pf-option.is-selected .pf-opt-radio {
  border-color: var(--pf-vert);
}
.pf-option.is-selected .pf-opt-radio::after {
  opacity: 1;
  transform: scale(1);
}

.pf-panel-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--pf-border);
  flex-shrink: 0;
}

.pf-btn-valider {
  width: 100%;
  padding: 14px;
  background: var(--pf-vert);
  color: white;
  border: none;
  border-radius: var(--pf-radius);
  font-family: var(--pf-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.pf-btn-valider:hover { background: var(--pf-vert-fonce); }

body.pf-no-scroll { overflow: hidden; }

/* ═══════════════════════════════════════════════
   PHASE 3 — Quantité + Prix
   ═══════════════════════════════════════════════ */

/* ── Drawer overlay ── */
.pf-qty-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  z-index: 9000;
  transition: opacity 0.25s, visibility 0.25s;
}
.pf-qty-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ── Drawer panel ── */
.pf-qty-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.pf-qty-drawer-overlay.is-active .pf-qty-drawer-panel {
  transform: translateX(0);
}

.pf-qty-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--pf-border, #eee);
  flex-shrink: 0;
}

.pf-qty-drawer-title {
  font-family: var(--pf-font-title, 'Space Grotesk', sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--pf-brun);
}

.pf-qty-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 22px;
  line-height: 1;
  background: var(--pf-bg-light, #f9f6f1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--pf-brun);
}
.pf-qty-drawer-close:hover { background: var(--pf-cream, #EDEADE); }

.pf-qty-drawer-readout {
  padding: 14px 20px;
  background: var(--pf-bg-light, #f9f6f1);
  border-bottom: 1px solid var(--pf-border, #eee);
  flex-shrink: 0;
  font-family: var(--pf-font);
  font-size: 14px;
  color: var(--pf-brun);
}

.pf-qty-drawer-count {
  font-family: var(--pf-font-title, 'Space Grotesk', sans-serif);
  font-size: 20px;
  font-weight: 700;
}

.pf-qty-drawer-unit {
  font-size: 14px;
  margin-left: 4px;
}

.pf-qty-drawer-total {
  font-size: 13px;
  color: var(--pf-gris, #888);
  margin-left: 6px;
}

/* ── Liste dans le drawer ── */
.pf-qty-list {
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  scroll-behavior: smooth;
  flex-shrink: 0;
}

.pf-qty-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--pf-border, #f0ede8);
  transition: background 0.1s;
}
.pf-qty-item:last-child { border-bottom: none; }
.pf-qty-item:hover { background: var(--pf-bg-light, #f9f6f1); }

.pf-qty-item.is-active {
  background: var(--pf-vert);
  color: white;
}
.pf-qty-item.is-active .pf-qty-item-price { color: rgba(255,255,255,.85); }

.pf-qty-item-left {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pf-qty-item-val {
  font-family: var(--pf-font-title, 'Space Grotesk', sans-serif);
  font-size: 15px;
  font-weight: 700;
}

.pf-qty-item-unit {
  font-size: 13px;
  opacity: 0.75;
}

.pf-qty-item-price {
  font-family: var(--pf-font);
  font-size: 13px;
  color: var(--pf-gris, #888);
  white-space: nowrap;
}

/* Lien devis pro en bas du drawer quantité */
/* ── Saisie libre quantité ── */
.pf-qty-custom-wrap {
  padding: 16px 20px 20px;
  border-top: 2px solid var(--pf-border);
  margin-top: 12px;
  background: var(--pf-creme-light, #faf9f6);
  border-radius: 0 0 14px 14px;
}
.pf-qty-custom-label {
  display: block;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--pf-brun);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 10px;
}
.pf-qty-custom-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pf-qty-custom-input {
  flex: 1;
  min-width: 0;
  max-width: 140px;
  padding: 12px 14px;
  border: 2px solid var(--pf-border);
  border-radius: var(--pf-radius);
  font-family: var(--pf-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--pf-brun);
  background: white;
  transition: border-color 0.18s, box-shadow 0.18s;
  -moz-appearance: textfield;
}
.pf-qty-custom-input::-webkit-inner-spin-button,
.pf-qty-custom-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.pf-qty-custom-input:focus {
  outline: none;
  border-color: var(--pf-brun);
  box-shadow: 0 0 0 3px rgba(93,72,45,0.08);
}
.pf-qty-custom-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--pf-gris-texte);
  white-space: nowrap;
}
.pf-qty-custom-valider {
  flex-shrink: 0;
  padding: 11px 18px;
  background: var(--pf-brun);
  color: #fff;
  border: none;
  border-radius: var(--pf-radius);
  font-family: var(--pf-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
}
.pf-qty-custom-valider:hover { background: var(--pf-vert-fonce); }
.pf-qty-custom-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--pf-vert);
  font-weight: 600;
  text-align: left;
}

.pf-qty-drawer-pro {
  flex-shrink: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--pf-border, #eee);
  font-family: var(--pf-font);
  font-size: 13px;
  color: var(--pf-gris, #888);
}

.pf-qty-drawer-pro-link {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  font-family: var(--pf-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--pf-vert);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.pf-qty-drawer-pro-link:hover { color: var(--pf-vert-fonce, #5f6d4d); }

/* ── Bloc B2B desktop (fond brun, caché mobile — le mobile a son propre bloc) ── */
.pf-b2b-desktop {
  display: none;
  margin-top: 48px;
  background: var(--pf-brun, #2D2711);
  border-radius: var(--pf-radius-lg, 12px);
  padding: 36px 48px;
  gap: 32px;
  align-items: center;
}

/* pf-b2b-desktop masqué sur desktop — B2B géré par sticky bar + carte cross-selling */

.pf-b2b-desktop .pf-b2b-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pf-vert, #76845E);
  margin-bottom: 8px;
}

.pf-b2b-desktop .pf-b2b-ttl {
  font-family: var(--pf-font-title, 'Space Grotesk', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.pf-b2b-desktop .pf-b2b-txt {
  font-size: 13px;
  color: #C9C7BB;
  line-height: 1.7;
}

.pf-b2b-desktop .pf-b2b-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.pf-b2b-desktop .pf-b2b-tag {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  font-size: 11px;
  color: #E5E3D7;
}

.pf-b2b-desktop-cta {
  text-align: center;
  flex-shrink: 0;
}

.pf-b2b-desktop .pf-b2b-note {
  font-size: 11px;
  color: #C9C7BB;
  text-align: center;
  margin-top: 6px;
}

/* ── Modale B2B ── */
.pf-b2b-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45,39,17,.6);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.pf-b2b-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.pf-b2b-modal {
  background: white;
  border-radius: 14px;
  padding: 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  transform: translateY(12px);
  transition: transform 0.25s;
}
.pf-b2b-overlay.is-active .pf-b2b-modal {
  transform: translateY(0);
}

.pf-b2b-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--pf-gris, #888);
}
.pf-b2b-modal-close:hover { color: var(--pf-brun); }

.pf-b2b-modal-icon { font-size: 32px; margin-bottom: 12px; }

.pf-b2b-modal-title {
  font-family: var(--pf-font-title, 'Space Grotesk', sans-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--pf-brun);
  margin-bottom: 8px;
}

.pf-b2b-modal-text {
  font-family: var(--pf-font);
  font-size: 13px;
  color: var(--pf-gris, #888);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pf-b2b-modal-cta {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--pf-vert);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: var(--pf-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  margin-bottom: 10px;
}
.pf-b2b-modal-cta:hover { background: var(--pf-vert-fonce, #5f6d4d); color: white; }

.pf-b2b-modal-skip {
  font-family: var(--pf-font);
  font-size: 13px;
  color: var(--pf-gris, #888);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  cursor: pointer;
}
.pf-b2b-modal-skip:hover { color: var(--pf-brun); }

/* ── Prix récap ── */
.pf-price-recap {
  margin-top: 16px;
  padding: 16px 20px;
  background: white;
  border: 2px solid var(--pf-vert);
  border-radius: var(--pf-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pf-price-total-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pf-price-label {
  font-family: var(--pf-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--pf-gris, #888);
}

.pf-price-total {
  font-family: var(--pf-font-title, 'Space Grotesk', sans-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--pf-brun);
  line-height: 1;
}

.pf-price-unit {
  font-family: var(--pf-font);
  font-size: 13px;
  color: var(--pf-gris, #888);
  text-align: right;
}

@media (max-width: 767px) {
  .pf-price-recap {
    display: none;
  }
  #pfPriceRecap { display: none; }
  .pf-price-unit { text-align: left; }
}

/* ═══════════════════════════════════════════════
   PHASE 4 — BAT + Upload fichier
   ═══════════════════════════════════════════════ */

/* ── BAT ── */
.pf-bat-section {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--pf-bg-light, #f9f6f1);
  border: 1.5px solid transparent;
  border-radius: var(--pf-radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
}
.pf-bat-section:hover {
  border-color: var(--pf-vert);
}
.pf-bat-input:checked ~ * { /* handled via JS class */ }

.pf-bat-section:has(.pf-bat-input:checked) {
  border-color: var(--pf-vert);
  background: color-mix(in srgb, var(--pf-vert) 6%, white);
}

.pf-bat-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pf-bat-checkbox-ui {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--pf-border, #ccc);
  border-radius: 4px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}

.pf-bat-section:has(.pf-bat-input:checked) .pf-bat-checkbox-ui {
  border-color: var(--pf-vert);
  background: var(--pf-vert);
}

.pf-bat-section:has(.pf-bat-input:checked) .pf-bat-checkbox-ui::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.pf-bat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pf-bat-title {
  font-family: var(--pf-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--pf-brun);
}

.pf-bat-desc {
  font-family: var(--pf-font);
  font-size: 12px;
  color: var(--pf-gris, #888);
}

.pf-bat-price {
  flex-shrink: 0;
  font-family: var(--pf-font-title, 'Space Grotesk', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--pf-vert);
  white-space: nowrap;
}

/* ── Upload section ── */
.pf-upload-section {
  margin-top: 12px;
  margin-bottom: 16px;
}
.pf-upload-section--2 {
  border-top: 1px solid var(--pf-border);
  padding-top: 12px;
}
.pf-upload-optional {
  font-weight: 400;
  font-size: 12px;
  color: var(--pf-gris-texte);
  text-transform: none;
}

.pf-upload-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.pf-upload-title {
  font-family: var(--pf-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--pf-brun);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pf-upload-later-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--pf-font);
  font-size: 13px;
  color: var(--pf-gris, #888);
  cursor: pointer;
}

.pf-upload-later-input {
  accent-color: var(--pf-vert);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* ── Dropzone ── */
.pf-dropzone {
  border: 2px dashed var(--pf-border, #ccc);
  border-radius: var(--pf-radius);
  background: white;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  overflow: hidden;
}

.pf-dropzone.is-dragover {
  border-color: var(--pf-vert);
  background: color-mix(in srgb, var(--pf-vert) 6%, white);
}

.pf-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.pf-dropzone-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 767px) {
  .pf-dropzone-empty { display: inline-block; }
}

.pf-dropzone-icon {
  color: var(--pf-gris, #aaa);
  flex-shrink: 0;
}

.pf-dropzone-text {
  font-family: var(--pf-font);
  font-size: 13px;
  color: var(--pf-gris, #888);
  margin: 0;
  flex: 1;
  white-space: nowrap;
}

.pf-dropzone-btn {
  pointer-events: auto;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--pf-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--pf-vert);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  position: relative;
  z-index: 3;
}
.pf-dropzone-btn:hover { color: var(--pf-vert-fonce, #5f6d4d); }

.pf-dropzone-formats {
  font-family: var(--pf-font);
  font-size: 12px;
  color: var(--pf-gris, #bbb);
  margin: 0;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Fichier sélectionné */
.pf-file-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  position: relative;
  z-index: 2;
}

.pf-file-icon { color: var(--pf-vert); flex-shrink: 0; }

.pf-file-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pf-file-name {
  font-family: var(--pf-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--pf-brun);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-file-size {
  font-family: var(--pf-font);
  font-size: 11px;
  color: var(--pf-gris, #aaa);
}

.pf-file-remove {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--pf-border, #ddd);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  color: var(--pf-gris, #aaa);
  transition: border-color 0.15s, color 0.15s;
}
.pf-file-remove:hover { border-color: #e55; color: #e55; }

.pf-upload-error {
  margin-top: 8px;
  padding: 8px 12px;
  background: #fff2f2;
  border: 1px solid #f5c6cb;
  border-radius: var(--pf-radius);
  font-family: var(--pf-font);
  font-size: 13px;
  color: #c0392b;
}

/* ── PHASE 6 : ZONES BASSES ─────────────────────────────── */

/* Wrapper sections basses */
.pf-below-wrap {
  width: 100%;
}

/* ── Accordéons ── */
.pf-accordions-wrap {
  border-top: 1px solid var(--pf-border);
  margin-bottom: 48px;
}

.pf-acc-item {
  border-bottom: 1px solid var(--pf-border);
}

.pf-acc-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--pf-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--pf-brun);
  text-align: left;
  line-height: 1.3;
  transition: color 0.15s;
}
.pf-acc-trigger:hover { color: var(--pf-vert); }
.pf-acc-trigger[aria-expanded="true"] .pf-acc-icon { transform: rotate(45deg); }

.pf-acc-icon {
  font-size: 22px;
  line-height: 1;
  color: var(--pf-vert);
  flex-shrink: 0;
  transition: transform 0.25s ease;
  margin-left: 12px;
}

.pf-acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0;
}
.pf-acc-body.is-open {
  max-height: 600px;
  padding-bottom: 20px;
}
@media (max-width: 767px) {
  .pf-acc-body.is-open { max-height: inherit; }
}

.pf-acc-body p {
  font-family: var(--pf-font);
  font-size: 14px;
  line-height: 1.8;
  color: var(--pf-gris-texte);
  margin: 0 0 12px;
}
.pf-acc-body p:last-child { margin-bottom: 0; }
.linkGuide, .linkME { font-weight: bold; }

/* ── Cross-selling ── */
.pf-crossselling-wrap {
  padding-block: 48px 56px;
  border-top: 1px solid var(--pf-border);
  margin-top: 40px;
}

.pf-cross-title {
  font-family: var(--pf-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--pf-brun);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.pf-cross-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Desktop : 4e produit caché, carte noire visible */
.pf-cross-card:nth-child(4) { display: none; }

@media (max-width: 600px) {
  .pf-cross-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  /* Mobile : 4 produits visibles, carte noire cachée */
  .pf-cross-card:nth-child(4) { display: block; }
  .pf-cross-card-pro { display: none; }
}

/* Cartes produits accessoires — même pattern que .pf-tuto-card */
.pf-cross-card,
.pf-cross-card:hover,
.pf-cross-card:focus,
.pf-cross-card:visited {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(45,39,17,.06);
}
.pf-cross-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.pf-cross-img {
  height: 300px;
  background: var(--pf-creme);
  overflow: hidden;
}
@media (max-width: 767px) {
  .pf-cross-img { height: 200px; }
}
.pf-cross-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-cross-body {
  padding: 12px 14px 14px;
}
.pf-cross-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--pf-brun);
  line-height: 1.3;
  margin-bottom: 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.pf-cross-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--pf-vert);
}

/* Placeholder temporaire (à supprimer après association BO) */
.pf-cross-placeholder {
  border-radius: var(--pf-radius);
  overflow: hidden;
  border: 1px solid var(--pf-border);
  background: white;
}
.pf-cross-ph-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--pf-creme) 0%, #D8D6CA 100%);
  position: relative;
  overflow: hidden;
}
.pf-cross-ph-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  animation: pf-ph-shimmer 1.6s infinite;
}
@keyframes pf-ph-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.pf-cross-ph-body {
  padding: 10px 12px 14px;
}
.pf-cross-ph-name {
  height: 13px;
  background: var(--pf-creme);
  border-radius: 4px;
  width: 70%;
  margin-bottom: 8px;
}
.pf-cross-ph-price {
  height: 11px;
  background: var(--pf-creme);
  border-radius: 4px;
  width: 40%;
}

/* Carte Pro */
.pf-cross-card-pro {
  background: var(--pf-brun);
  border-radius: var(--pf-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pf-cross-pro-label {
  font-family: var(--pf-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.pf-cross-pro-title {
  font-family: var(--pf-font);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.35;
}

.pf-cross-pro-text {
  font-family: var(--pf-font);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.6;
}

.pf-cross-pro-btn {
  display: inline-block;
  margin-top: auto;
  padding: 8px 14px;
  background: var(--pf-vert);
  color: #fff;
  border-radius: var(--pf-radius-sm);
  font-family: var(--pf-font);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.15s;
}
.pf-cross-pro-btn:hover { opacity: 0.88; color: #fff; text-decoration: none; }

/* ── Tuto plantation ── */
.pf-tuto-wrap {
  background: #F7F5EE;
  border-radius: var(--pf-radius-lg);
  padding: 36px 24px;
  margin-bottom: 64px;
  text-align: center;
}

@media (min-width: 768px) {
  .pf-tuto-wrap { padding: 36px 40px; }
}

.pf-tuto-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pf-terra);
  margin: 0 0 6px;
}

.pf-tuto-title {
  font-family: var(--pf-font);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--pf-brun);
  margin: 0 0 28px;
}

.pf-tuto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

@media (max-width: 767px) {
  .pf-tuto-grid {
    display: block;
  }
  .pf-tuto-card {
    margin-bottom: 20px;
  }
  .pf-tuto-card:last-child {
    margin-bottom: 0;
  }
}

.pf-tuto-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(45,39,17,.06);
}

.pf-tuto-img {
  height: 140px;
  background: var(--pf-creme);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pf-tuto-img img { width: 100%; height: 100%; object-fit: cover; }
.pf-tuto-card:nth-child(2) .pf-tuto-img { background: #D5D3C7; }
.pf-tuto-card:nth-child(3) .pf-tuto-img { background: #C9C7BB; }
.pf-tuto-card:nth-child(4) .pf-tuto-img { background: #BDB9B0; }

.pf-tuto-content { padding: 16px; }

.pf-tuto-rule {
  width: 100%;
  height: 1px;
  background: var(--pf-border);
  margin-bottom: 10px;
}

.pf-tuto-num {
  font-family: var(--pf-font);
  font-size: 22px;
  font-weight: 400;
  color: var(--pf-terra);
  margin-bottom: 2px;
  line-height: 1;
}

.pf-tuto-step {
  font-family: var(--pf-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pf-brun);
  margin: 0 0 6px;
}

.pf-tuto-desc {
  font-family: var(--pf-font);
  font-size: 12px;
  line-height: 1.6;
  color: var(--pf-gris-texte);
  margin: 0;
}

/* ── Section B2B mobile ── */
.pf-b2b-mobile { display: none; }
@media (max-width: 767px) {
  .pf-b2b-mobile {
    display: block;
    background: #2D2711;
    padding: 28px 25px;
    margin: 24px -25px;
  }
  .pf-cross-card-pro { display: none; }
  .pf-b2b-lbl {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #76845E;
    margin-bottom: 8px;
  }
  .pf-b2b-ttl {
    font-size: 19px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .pf-b2b-txt {
    font-size: 13px;
    color: #C9C7BB;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .pf-b2b-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
  }
  .pf-b2b-tag {
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 11px;
    color: #E5E3D7;
  }
  .pf-b2b-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #76845E;
    color: white;
    border: none;
    border-radius: var(--pf-radius);
    font-family: var(--pf-font);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
  }
  .pf-b2b-note {
    font-size: 11px;
    color: #C9C7BB;
    text-align: center;
    margin-top: 8px;
  }
}

/* ── Mobile : padding container page produit ── */
@media (max-width: 767px) {
  .page-product .container {
    padding: 0 25px !important;
  }
  .page-product #content-wrapper {
    padding-top: 0 !important;
  }
  .page-product #main .row:first-child {
    margin-top: 0 !important;
  }
}

/* ── PHASE 7 : GALERIE SWIPE MOBILE ─────────────────────── */

/* Track commun mobile/desktop */
.pf-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pf-gallery-track::-webkit-scrollbar { display: none; }

.pf-gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.pf-gallery-slide img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

/* Dots mobile */
.pf-gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 0 4px;
  background: #fff;
}
.pf-gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pf-border);
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
  flex-shrink: 0;
}
.pf-gallery-dot.is-active {
  background: var(--pf-vert);
  width: 18px;
  border-radius: 4px;
}

/* Desktop : image pleine largeur, hauteur naturelle, rien rogné */
@media (min-width: 768px) {
  .pf-gallery-frame {
    border-radius: var(--pf-radius-lg);
    overflow: hidden;
  }
  .pf-gallery-track {
    overflow-x: scroll !important;
    scroll-behavior: smooth;
    height: auto !important;
  }
  .pf-gallery-slide {
    flex: 0 0 100% !important;
    height: auto !important;
  }
  .pf-gallery-slide img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: unset !important;
    display: block;
  }
  .pf-gallery-dots { display: none; }
}

/* Thumbnails desktop — rangée horizontale */
.pf-gallery-thumbs { display: none; }
@media (min-width: 768px) {
  .pf-gallery-thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 0 0;
  }
  .pf-gallery-thumb {
    flex: 1 1 0;
    min-width: 0;
    aspect-ratio: 1 / 1;
    border: 2px solid var(--pf-border);
    border-radius: var(--pf-radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: var(--pf-creme);
    padding: 0;
    transition: border-color 0.2s ease;
  }
  .pf-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .pf-gallery-thumb.is-active,
  .pf-gallery-thumb:hover {
    border-color: var(--pf-vert);
  }
}


/* ── Galerie : flèches navigation + loupe ── */
.pf-gallery-frame { position: relative; }

.pf-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 56px;
  background: rgba(0,0,0,0.28);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.pf-gallery-prev { left: 0; border-radius: 0 4px 4px 0; }
.pf-gallery-next { right: 0; border-radius: 4px 0 0 4px; }
.pf-gallery-frame:hover .pf-gallery-arrow { opacity: 1; }
.pf-gallery-arrow:hover { background: rgba(0,0,0,0.48); }
.pf-gallery-arrow[hidden] { display: none; }

.pf-gallery-zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 38px;
  height: 38px;
  background: #fff;
  border: none;
  border-radius: 50%;
  color: var(--pf-brun);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
  padding: 0;
}
.pf-gallery-zoom-btn:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.22); transform: scale(1.06); }

/* Lightbox */
.pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.pf-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  cursor: default;
}
.pf-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.15s, background 0.15s;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.pf-lightbox-close:hover { opacity: 1; background: rgba(255,255,255,0.25); }

/* ── Mention livraison sous le prix ── */
.pf-delivery-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  margin: 15px 0 41px;
}
.pf-delivery-hint strong { color: var(--pf-brun); font-weight: 600; }
.pf-delivery-hint svg { flex-shrink: 0; color: var(--pf-vert); }
@media (max-width: 767px) {
  .pf-product { padding: 0; margin-top: 0; }
  .pf-top-row { margin-top: 0; }
  .page-product #content-wrapper,
  .page-product #main { padding-top: 0 !important; margin-top: 0 !important; }
  .pf-gallery-wrap {
    position: relative;
    left: 50%;
    margin-left: -50vw;
    width: 100vw;
  }
  .pf-gallery-frame { border-radius: 0; }
  .pf-main-col { padding: 4px 16px 0; }
  .pf-below-wrap { padding: 0 16px 0; }
  .pf-delivery-hint { display: none; }
  #wrapper .breadcrumb li:last-child { font-size: 13px; }
  .breadcrumb { display: none; }
  .pf-gallery-slide { aspect-ratio: 4/5; }
  .pf-gallery-slide img { height: 100%; object-fit: cover; max-height: none; }
}




