/* Corrections mobile et livraison (fichier a part : charge apres theme.css et premium.css) */
/* Mobile : quantite et « Ajouter au panier » sur la meme ligne ; quantite masquee (stock de 1) sans trait residuel */
body.pv-theme form.cart:not(.variations_form):not(.grouped_form):not(.floating-cart),body.pv-theme .woocommerce-variation-add-to-cart{display:flex;flex-wrap:nowrap;align-items:stretch;gap:10px}
body.pv-theme form.cart .quantity{float:none;margin:0;flex:0 0 auto}
body.pv-theme form.cart .single_add_to_cart_button{flex:1 1 0;min-width:0;width:auto;padding-left:14px;padding-right:14px;white-space:normal;line-height:1.2;justify-content:center;text-align:center}
body.pv-theme .quantity .minus,body.pv-theme .quantity .plus{display:flex;align-items:center;justify-content:center}
body.pv-theme .quantity:has(> input[type=hidden]){display:none}
@media(max-width:420px){body.pv-theme form.cart .quantity .qty{width:42px}body.pv-theme form.cart .quantity .minus,body.pv-theme form.cart .quantity .plus{width:36px}}

/* Double barre de livraison offerte : relais Chronopost (bleu) et Colissimo (orange) */
.pv-franco--duo{display:grid;gap:12px}
.pv-franco--duo .pv-franco__row p{margin:0 0 6px}
.pv-franco--duo .pv-franco__row--relais .pv-franco__bar span{background:#0b5cab}
.pv-franco--duo .pv-franco__row--colissimo .pv-franco__bar span{background:#e95120}
.pv-franco--duo .pv-franco__row--relais p strong:first-child{color:#0a4a8a}
.pv-franco--duo .pv-franco__row--colissimo p strong:first-child{color:#c2410c}
.pv-franco--duo .pv-franco__row.is-ok p::before{content:"\2713\00a0";font-weight:700}

/* Recherche plein ecran sur mobile (FiboSearch) : le champ etait noir avec un texte noir. Fond creme, texte sombre, comme la barre du site. */
body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp{background:var(--pv-surface,#FBF8F2)!important;border:1px solid var(--pv-field,#CFC3AF)!important;border-radius:999px!important;box-shadow:none!important}
body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar .dgwt-wcas-search-input,body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar input[type=search].dgwt-wcas-search-input{background:transparent!important;color:var(--pv-text,#221E19)!important;-webkit-text-fill-color:var(--pv-text,#221E19)!important;border:0!important;box-shadow:none!important;border-radius:999px!important}
body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar .dgwt-wcas-search-input::placeholder{color:var(--pv-muted,#5A5246)!important;opacity:1!important}
body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar .dgwt-wcas-preloader,body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar .dgwt-wcas-close svg{fill:var(--pv-text,#221E19)!important;color:var(--pv-text,#221E19)!important}

/* Panier sur mobile : une carte par article (photo a gauche ; nom, prix a l'unite, quantite et sous-total a droite) au lieu d'une pile de lignes */
@media(max-width:768px){
body.pv-theme .woocommerce-cart-form table.shop_table_responsive.cart{border:0;background:transparent;margin:0 0 8px}
body.pv-theme .woocommerce-cart-form table.cart thead{display:none}
body.pv-theme .woocommerce-cart-form table.cart tbody{display:block}
body.pv-theme .woocommerce-cart-form table.cart tr.cart_item{display:grid;grid-template-columns:88px minmax(0,1fr) auto;grid-template-areas:"thumb name name" "thumb price price" "thumb qty sub";column-gap:14px;row-gap:6px;align-items:center;position:relative;margin:0 0 12px;padding:14px;background:var(--pv-surface,#FBF8F2);border:1px solid var(--pv-line,#E5DCCB);border-radius:16px;box-shadow:0 6px 18px rgb(34 30 25/.06)}
body.pv-theme .woocommerce-cart-form table.cart tr.cart_item td{display:block;border:0!important;padding:0!important;text-align:left!important;width:auto!important;background:transparent}
body.pv-theme .woocommerce-cart-form table.cart tr.cart_item td::before{display:none!important;content:none!important}
body.pv-theme .woocommerce-cart-form table.cart td.product-thumbnail{grid-area:thumb;align-self:start}
body.pv-theme .woocommerce-cart-form table.cart td.product-thumbnail img{width:88px;height:88px;object-fit:contain;border-radius:12px;background:#fff;display:block}
body.pv-theme .woocommerce-cart-form table.cart tr.cart_item td.product-name{grid-area:name;padding-right:40px!important;font-size:15px;line-height:1.3;font-weight:600}
body.pv-theme .woocommerce-cart-form table.cart td.product-name a{color:var(--pv-text,#221E19);text-decoration:none}
body.pv-theme .woocommerce-cart-form table.cart td.product-price{grid-area:price;font-size:13px;color:var(--pv-muted,#5A5246)}
body.pv-theme .woocommerce-cart-form table.cart td.product-price::after{display:inline!important;content:" l\2019unit\00e9"}
body.pv-theme .woocommerce-cart-form table.cart td.product-quantity{grid-area:qty}
body.pv-theme .woocommerce-cart-form table.cart td.product-subtotal{grid-area:sub;justify-self:end;font-size:17px;font-weight:700;color:var(--pv-text,#221E19)}
body.pv-theme .woocommerce-cart-form table.cart td.product-remove{position:absolute;top:10px;right:10px;width:auto!important}
body.pv-theme .woocommerce-cart-form table.cart td.product-remove a.remove{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--pv-surface-2,#F0E9DC);color:var(--pv-muted,#5A5246)!important;font-size:18px;line-height:1;text-decoration:none}
body.pv-theme .woocommerce-cart-form table.cart tr:not(.cart_item) td.actions{display:block;padding:4px 0 0!important;border:0!important}
}
