/* Grille et cartes produit : présentation éditoriale. Tailles en px (OceanWP fixe la racine à 10 px). */
body.pv-theme .woocommerce ul.products,body.pv-theme ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 24px;margin:0!important;padding:0;list-style:none;float:none;width:100%}
body.pv-theme ul.products::before,body.pv-theme ul.products::after{display:none!important}
body.pv-theme ul.products li.product.pv-card{width:auto!important;float:none!important;margin:0!important;padding:0!important;clear:none!important}

/* Carte : pas de cadre. La photo est posée sur une « zone studio » blanche, le beige du site restant autour des cartes. */
.pv-card__inner{display:flex;flex-direction:column;height:100%;position:relative;background:transparent;border:0;border-radius:0;overflow:visible}
.pv-card__well{position:relative;aspect-ratio:1;background:var(--pv-studio);display:grid;place-items:center;overflow:hidden;border-radius:2px;box-shadow:0 10px 30px rgb(30 22 15/.045),0 0 0 1px rgb(30 22 15/.035)}
/* Même cadre carré pour toutes les cartes : les photos catalogue sont carrées, contain les montre en entier sans bande. */
.pv-card__img{display:block;width:100%;height:100%}
/* Photo affichée fidèlement : ni fondu (mix-blend-mode), ni filtre, ni recadrage (contain : jamais un flacon coupé). */
.pv-card__img img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 50%;margin:0!important;border:0!important;opacity:1;filter:none;mix-blend-mode:normal;transition:transform .6s cubic-bezier(.22,.61,.36,1)}
@media (hover:hover) and (pointer:fine){.pv-card__inner:hover .pv-card__img img{transform:scale(1.025)}}
@media (prefers-reduced-motion:reduce){.pv-card__img img{transition:none}.pv-card__inner:hover .pv-card__img img{transform:none}}
.pv-tag{position:absolute;top:14px;left:14px;z-index:2;padding:5px 11px;border-radius:2px;background:var(--pv-ink);color:var(--pv-on-ink);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;line-height:1.2}

.pv-visual-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--pv-field);text-align:center}
.pv-visual-placeholder span{font-size:11.5px;letter-spacing:.06em;color:var(--pv-muted);max-width:140px;line-height:1.4}
.pv-visual-placeholder--gallery{aspect-ratio:1;background:var(--pv-studio);border-radius:2px;box-shadow:0 10px 30px rgb(30 22 15/.045),0 0 0 1px rgb(30 22 15/.035)}

.pv-card__body{display:flex;flex-direction:column;gap:8px;padding:18px 2px 0;flex:1;text-align:left}
.pv-card__brand{display:none}
body.pv-theme #main .pv-card__title,body.pv-theme .pv-card__title{font:500 14.5px/1.45 var(--pv-font-body)!important;letter-spacing:.025em!important;margin:0!important;text-align:left!important;text-transform:none!important;color:var(--pv-text)}
body.pv-theme .pv-card__title a{color:var(--pv-text)!important;text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .3s}
body.pv-theme .pv-card__inner:hover .pv-card__title a{background-size:100% 1px}
.pv-card__title a::after{content:"";position:absolute;inset:0;z-index:1}
.pv-card__facts{font-size:13px;line-height:1.5;color:var(--pv-muted);margin:0}

/* Pied de carte : prix en serif à gauche, action discrète à droite, filet au-dessus */
.pv-card__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:14px;border-top:1px solid var(--pv-line)}
.pv-card__price{margin:0;padding:0;font:500 21px/1.2 var(--pv-font-head);letter-spacing:-.005em;color:var(--pv-text)}
.pv-card__price del,.pv-card__price .screen-reader-text{display:none}
.pv-card__price ins{text-decoration:none;background:none}
body.pv-theme .pv-card__price,body.pv-theme .pv-card__price .amount,body.pv-theme .pv-card__price bdi,body.pv-theme .pv-card__price .woocommerce-Price-currencySymbol{color:var(--pv-text)!important;font-family:var(--pv-font-head)!important;font-weight:500}
body.pv-theme .pv-card .button::before,body.pv-theme .pv-card .button::after{display:none!important}
body.pv-theme .pv-card .added_to_cart{position:relative;z-index:2;font-size:12.5px;margin-left:8px}

@media (max-width:1100px){body.pv-theme .woocommerce ul.products,body.pv-theme ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){body.pv-theme .woocommerce ul.products,body.pv-theme ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 14px}}
@media (max-width:560px){body.pv-theme #main .pv-card__title,body.pv-theme .pv-card__title{font-size:13.5px!important}.pv-card__price{font-size:18px!important}.pv-card__foot{flex-wrap:wrap;gap:0}body.pv-theme .pv-card .button{font-size:11px!important}}

/* Boutons des cartes (listes de produits) : plein orange Philouvap, bien visibles sur fond crème ; pleine largeur sous le prix */
body.pv-theme #main .pv-card .pv-card__foot{flex-direction:column;align-items:stretch;gap:12px}
body.pv-theme #main .pv-card .pv-card__foot .pv-card__price{text-align:center}
body.pv-theme #main .pv-card .button,body.pv-theme #main .pv-card a.button,body.pv-theme #main .woocommerce ul.products li.product.pv-card .button{position:relative;z-index:2;margin:0!important;display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:0 14px!important;background:#e95120!important;color:#16110d!important;border:1px solid #e95120!important;border-radius:8px;font:700 12px/1.1 var(--pv-font-body)!important;letter-spacing:.1em;text-transform:uppercase;text-align:center;white-space:normal;box-shadow:0 6px 16px rgb(233 81 32/.22);transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}
body.pv-theme #main .pv-card .button:hover,body.pv-theme #main .pv-card a.button:hover{background:#f0683a!important;border-color:#f0683a!important;color:#16110d!important;transform:translateY(-1px);box-shadow:0 10px 22px rgb(233 81 32/.3)}
body.pv-theme #main .pv-card .button:focus-visible{outline:3px solid #16110d;outline-offset:2px}
/* produit en rupture : bouton discret (contour), pour ne pas pousser à l'achat */
body.pv-theme #main li.product.outofstock.pv-card .button,body.pv-theme #main li.product.pv-card.outofstock .button{background:transparent!important;color:var(--pv-text)!important;border:1px solid var(--pv-text)!important;box-shadow:none!important}
body.pv-theme #main li.product.outofstock.pv-card .button:hover{background:var(--pv-surface-2)!important;border-color:var(--pv-text)!important;transform:none}
body.pv-theme #main .pv-card .added_to_cart{display:block;text-align:center;margin:8px 0 0;font-size:13px}
@media (prefers-reduced-motion:reduce){body.pv-theme #main .pv-card .button:hover{transform:none}}

/* ===== État du stock : « En stock » en pastille verte, « Rupture de stock » écrit en rouge ===== */
.pv-stock{display:inline-flex;align-items:center;justify-content:center;gap:7px;align-self:center;margin:0;font:600 12px/1 var(--pv-font-body);letter-spacing:.02em;text-align:center}
.pv-stock--in{padding:7px 13px;border:1px solid #b6dbc2;border-radius:999px;background:#e8f5ec;color:#17622f}
.pv-stock--in::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:#2e9e57}
.pv-stock--out{color:#b3261e;font-weight:700}
body.pv-theme #main .pv-card .pv-card__foot .pv-stock{align-self:center}

/* 09/10/2026 : cartes communes, hiérarchie complète sans masquer de texte. */
body.pv-theme #main li.pv-card .pv-card__inner{width:100%;border:1px solid rgb(34 30 25/.12);border-radius:16px;background:var(--pv-surface);box-shadow:0 5px 18px rgb(34 30 25/.045);transition:border-color .2s,box-shadow .2s}
body.pv-theme #main li.pv-card .pv-card__well{border-radius:15px 15px 0 0;box-shadow:none;background:#fff}
body.pv-theme #main li.pv-card .pv-card__img img{transition:transform .2s}
body.pv-theme #main li.pv-card .pv-card__body{padding:16px 14px 14px;gap:10px}
body.pv-theme #main li.pv-card .pv-card__title{min-height:2.9em;overflow-wrap:anywhere}
body.pv-theme #main li.pv-card .pv-card__title a{transition:background-size .2s}
body.pv-theme #main li.pv-card .pv-card__facts{margin-bottom:4px;overflow-wrap:anywhere}
body.pv-theme #main li.pv-card .pv-card__foot{gap:10px;padding-top:12px}
body.pv-theme #main li.pv-card .pv-stock{min-height:28px;line-height:1.3}
body.pv-theme #main li.pv-card .pv-stock--in{padding:5px 11px}
body.pv-theme #main li.pv-card .pv-card__price{font-size:21px}
body.pv-theme #main li.pv-card .button{border-radius:999px;letter-spacing:.045em;box-shadow:none}
body.pv-theme #main li.pv-card .button:hover{box-shadow:0 4px 12px rgb(34 30 25/.1)}
body.pv-theme #main li.pv-card .pv-card__inner:focus-within{box-shadow:0 0 0 2px var(--pv-text)}
@media(hover:hover) and (pointer:fine){body.pv-theme #main li.pv-card .pv-card__inner:hover{border-color:rgb(34 30 25/.24);box-shadow:0 8px 22px rgb(34 30 25/.07)}}
@media(max-width:640px){body.pv-theme #main li.pv-card .pv-card__body{padding:14px 10px 12px}body.pv-theme #main li.pv-card .pv-card__facts{font-size:12px}body.pv-theme #main li.pv-card .pv-stock{font-size:11px}body.pv-theme #main li.pv-card .pv-card__price{font-size:18px}}
@media(prefers-reduced-motion:reduce){body.pv-theme #main li.pv-card .pv-card__img img{transition:none;transform:none}body.pv-theme #main li.pv-card .pv-card__inner{transition:none}}

/* Spécificité du bouton WooCommerce : capsule et ombre commune. */
body.pv-theme #main .woocommerce ul.products li.product.pv-card .pv-card__foot a.button{border-radius:999px;letter-spacing:.045em;box-shadow:none}
body.pv-theme #main .woocommerce ul.products li.product.pv-card .pv-card__foot a.button:hover{box-shadow:0 4px 12px rgb(34 30 25/.1)}

/* ===== Pastille « PACK » en haut à droite de la photo (jaune 3pour10, vert 3pour40, rouge 3pour30) ===== */
.pv-card__well,.woocommerce-product-gallery__image{position:relative}
/* pastille « PACK » : visuels fournis (jaune 3pour10, vert 3pour40, bleu 3pour30), assets/img/pack-y|g|b.png */
.pv-packbadge{position:absolute;top:10px;right:10px;z-index:4;display:block;width:clamp(46px,5.2vw,60px);aspect-ratio:1;border-radius:50%;line-height:0;text-decoration:none;filter:drop-shadow(0 3px 6px rgb(0 0 0/.28));transition:transform .15s,filter .15s}
.pv-packbadge img{display:block;width:100%;height:100%;border-radius:50%;margin:0;box-shadow:none}
.pv-packbadge:hover,.pv-packbadge:focus-visible{transform:translateY(-1px) scale(1.07);filter:drop-shadow(0 6px 12px rgb(0 0 0/.35))}
.pv-packbadge:focus-visible{outline:3px solid #16110d;outline-offset:2px}
body.pv-theme a.pv-packbadge,body.pv-theme a.pv-packbadge:hover,body.pv-theme a.pv-packbadge:focus{text-decoration:none!important;background:none}
/* fiche produit : la pastille se place à gauche de la loupe de zoom (qui occupe le coin supérieur droit) */
.woocommerce-product-gallery__image .pv-packbadge{right:58px}
@media (prefers-reduced-motion:reduce){.pv-packbadge{transition:none}}

.pv-stock--soon{padding:7px 13px;border:1px solid #b9cdea;border-radius:999px;background:#e8f0fb;color:#1a4a94}
.pv-stock--soon::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:#2f6fd1}

/* Cartes : état du stock à gauche et prix à droite sur la même ligne, bouton dessous */
body.pv-theme #main .pv-card .pv-card__line{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}
body.pv-theme #main .pv-card .pv-card__foot .pv-card__price{text-align:right;margin-left:auto;white-space:nowrap}
body.pv-theme #main .pv-card .pv-card__foot .pv-stock{align-self:center;justify-content:flex-start;text-align:left;white-space:nowrap}
@media(max-width:640px){body.pv-theme #main li.pv-card .pv-stock--in,body.pv-theme #main li.pv-card .pv-stock--soon{padding:4px 8px;gap:5px}body.pv-theme #main li.pv-card .pv-stock{font-size:10.5px}body.pv-theme #main li.pv-card .pv-card__price{font-size:16px}}
/* Pastille PACK : même diamètre et même place que la pastille SALT des photos (15 % de la largeur de l'image) */
.pv-card__well .pv-packbadge{top:5.5%;right:5.5%;width:15.5%;min-width:26px}
.woocommerce-product-gallery__image .pv-packbadge{top:5.5%;width:15.5%;min-width:40px}
