/* BriShop — habillage WooCommerce */

.boutique{padding:70px 0 120px}
.boutique--fiche{padding-top:40px}
.fil{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gris);margin-bottom:2rem}
.fil a:hover{color:var(--rouille)}
.fil span{margin:0 .4em;color:var(--caramel)}

/* Filtres par catégorie */
.filtres{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:2.6rem}
.filtres a{border:1px solid var(--sable);border-radius:99px;padding:.6em 1.3em;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;font-weight:500;transition:.3s}
.filtres a:hover,.filtres a.actif{background:var(--espresso);border-color:var(--espresso);color:var(--creme)}

/* Barre de tri */
.woocommerce-result-count{font-size:.85rem;color:var(--gris);float:left;margin:0 0 2rem}
.woocommerce-ordering{float:right;margin:0 0 2rem}
.woocommerce-ordering select{border:1px solid var(--sable);background:var(--creme);padding:.7em 1em;font:inherit;font-size:.85rem}
.woocommerce-products-header{display:none}

/* Grille produits */
ul.products{list-style:none;clear:both;display:grid;grid-template-columns:repeat(4,1fr);gap:44px 24px;margin:0;padding:0}
ul.products::before,ul.products::after{display:none!important}
ul.products li.product{position:relative;width:auto!important;margin:0!important;float:none!important;text-align:left}
ul.products li.product a img{width:100%;aspect-ratio:4/5;object-fit:cover;background:#EADFCF;margin:0 0 16px!important;transition:transform .9s}
ul.products li.product a.woocommerce-LoopProduct-link{display:block;overflow:hidden}
ul.products li.product:hover a img{transform:scale(1.04)}
ul.products li.product .woocommerce-loop-product__title{font-family:var(--sans);font-size:.95rem;font-weight:500;padding:0;margin:0}
ul.products li.product .price{display:block;font-family:var(--serif);font-size:1.15rem;color:var(--chataigne);margin-top:2px}
ul.products li.product .price del{color:var(--gris);font-size:.9rem;margin-right:.4em}
ul.products li.product .price ins{text-decoration:none}
ul.products li.product .button{display:inline-block;margin-top:12px;font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;font-weight:600;border-bottom:1px solid var(--rouille);color:var(--rouille);padding-bottom:.3em}
ul.products li.product .added_to_cart{display:block;margin-top:8px;font-size:.8rem;color:var(--chataigne);text-decoration:underline}
.onsale{position:absolute;top:14px;left:14px;z-index:2;background:var(--rouille);color:#fff;font-size:.6rem;letter-spacing:.22em;text-transform:uppercase;padding:.55em 1em;font-weight:600}
@media (max-width:1024px){ ul.products{grid-template-columns:repeat(3,1fr)} }
@media (max-width:760px){ ul.products{grid-template-columns:repeat(2,1fr);gap:32px 14px} .woocommerce-ordering,.woocommerce-result-count{float:none} }

/* Pagination */
.woocommerce-pagination{margin-top:4rem;text-align:center}
.woocommerce-pagination ul{list-style:none;display:inline-flex;gap:.4rem;padding:0}
.woocommerce-pagination a,.woocommerce-pagination span{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--sable)}
.woocommerce-pagination .current{background:var(--espresso);color:var(--creme);border-color:var(--espresso)}

/* Fiche produit */
.single-product div.product{display:grid;grid-template-columns:1.1fr 1fr;gap:5rem;align-items:start;position:relative}
.single-product div.product .woocommerce-product-gallery{width:auto!important;float:none!important;position:relative}
.single-product div.product .woocommerce-product-gallery img{background:#EADFCF;width:100%}
.single-product .woocommerce-product-gallery__wrapper{margin:0}
.single-product .flex-control-thumbs{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px;padding:0}
.single-product .flex-control-thumbs img{cursor:pointer;opacity:.6}
.single-product .flex-control-thumbs img.flex-active{opacity:1}
.woocommerce-product-gallery__trigger{position:absolute;top:14px;right:14px;z-index:3;background:var(--creme);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:0}
.woocommerce-product-gallery__trigger::before{content:"⤢";font-size:1rem;color:var(--encre)}
.single-product div.product .summary{width:auto!important;float:none!important;position:sticky;top:120px}
.single-product .product_title{font-size:clamp(2rem,3.4vw,3rem);margin-bottom:.4em}
.single-product .summary .price{font-family:var(--serif);font-size:1.8rem;color:var(--rouille);margin-bottom:1.2rem}
.single-product .woocommerce-product-details__short-description{color:var(--gris);margin-bottom:1.6rem}
.single-product form.cart{display:flex;gap:.8rem;flex-wrap:wrap;align-items:stretch;margin:1.4rem 0 2rem}
.single-product form.cart table.variations{width:100%;margin-bottom:.6rem}
.single-product form.cart table.variations th{text-align:left;font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;padding-right:1rem}
.single-product form.cart select{border:1px solid var(--sable);background:#fff;padding:.8em 1em;font:inherit;width:100%}
.single-product .single_variation_wrap{width:100%}
.single-product .woocommerce-variation-add-to-cart{display:flex;gap:.8rem;margin-top:1rem}
.quantity input.qty{width:70px;height:100%;min-height:52px;border:1px solid var(--sable);text-align:center;font:inherit;background:#fff}
.single_add_to_cart_button,.woocommerce .button.alt,.checkout-button,#place_order{background:var(--rouille)!important;color:#fff!important;border:0;padding:1.15em 2.2em!important;font:600 .78rem var(--sans)!important;letter-spacing:.2em!important;text-transform:uppercase;cursor:pointer;border-radius:0!important;transition:.3s}
.single_add_to_cart_button:hover,.checkout-button:hover,#place_order:hover{background:var(--chataigne)!important}
.product_meta{font-size:.82rem;color:var(--gris);border-top:1px solid var(--sable);padding-top:1.2rem}
.product_meta>span{display:block;margin-bottom:.3em}
.product_meta a{color:var(--chataigne)}
.bs-rassurance{list-style:none;margin:1.6rem 0;padding:1.2rem 0;border-top:1px solid var(--sable);border-bottom:1px solid var(--sable);font-size:.88rem;color:var(--gris)}
.bs-rassurance li{padding-left:1.6em;position:relative;margin:.4em 0}
.bs-rassurance li::before{content:"";position:absolute;left:0;top:.75em;width:.8em;height:1px;background:var(--rouille)}
.woocommerce-tabs{grid-column:1/-1;margin-top:3rem}
.woocommerce-tabs ul.tabs{list-style:none;display:flex;gap:2rem;border-bottom:1px solid var(--sable);padding:0;margin-bottom:2rem}
.woocommerce-tabs ul.tabs li a{display:block;padding:1em 0;font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;font-weight:600;color:var(--gris)}
.woocommerce-tabs ul.tabs li.active a{color:var(--rouille);box-shadow:inset 0 -2px 0 var(--rouille)}
.woocommerce-tabs .panel h2{font-size:1.6rem;margin-bottom:.6em}
.related,.upsells{grid-column:1/-1;margin-top:4rem}
.related>h2,.upsells>h2{font-size:2.2rem;margin-bottom:1.6rem}
.stock.out-of-stock{color:var(--rouille);font-weight:600}
@media (max-width:900px){ .single-product div.product{grid-template-columns:1fr;gap:2rem} .single-product div.product .summary{position:static} }

/* Messages */
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;background:var(--lin);border-left:3px solid var(--rouille);padding:1.1em 1.3em;margin:0 0 2rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.woocommerce-message .button,.woocommerce-info .button{font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;font-weight:600;color:var(--rouille)}

/* Panier, commande, compte */
.woocommerce table.shop_table{width:100%;border-collapse:collapse;margin-bottom:2rem;font-size:.95rem}
.woocommerce table.shop_table th{text-align:left;font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--chataigne);padding:1em .6em;border-bottom:1px solid var(--sable)}
.woocommerce table.shop_table td{padding:1.1em .6em;border-bottom:1px solid var(--sable);vertical-align:middle}
.woocommerce table.shop_table img{width:80px;background:#EADFCF}
.woocommerce a.remove{font-size:1.4rem;color:var(--rouille)!important}
.woocommerce .coupon{display:flex;gap:.5rem;flex-wrap:wrap}
.woocommerce input.input-text,.woocommerce form .form-row input,.woocommerce form .form-row select,.woocommerce form .form-row textarea,.select2-container .select2-selection--single{border:1px solid var(--sable)!important;background:#fff;padding:.85em 1em;font:inherit;border-radius:0!important;min-height:48px;width:100%}
.woocommerce .button{background:var(--espresso);color:var(--creme);border:0;padding:1em 1.6em;font:600 .72rem var(--sans);letter-spacing:.18em;text-transform:uppercase;cursor:pointer;border-radius:0}
.woocommerce form .form-row{margin-bottom:1rem}
.woocommerce form .form-row label{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--chataigne);display:block;margin-bottom:.4em}
.cart-collaterals .cart_totals{max-width:460px;margin-left:auto;background:var(--lin);padding:32px}
.cart-collaterals .cart_totals h2{font-size:1.8rem;margin-bottom:1rem}
.wc-proceed-to-checkout .checkout-button{display:block;text-align:center;margin-top:1rem}
.woocommerce-checkout .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
.woocommerce-checkout h3{font-size:1.6rem;margin:1rem 0}
#order_review{background:var(--lin);padding:32px}
.woocommerce-checkout #payment ul.payment_methods{list-style:none;padding:0}
.woocommerce-checkout #payment li{padding:.8em 0;border-bottom:1px solid var(--sable)}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:2rem}
.woocommerce-MyAccount-navigation a{display:block;border:1px solid var(--sable);padding:.6em 1.1em;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase}
.woocommerce-MyAccount-navigation .is-active a{background:var(--espresso);color:var(--creme)}
@media (max-width:760px){ .woocommerce-checkout .col2-set{grid-template-columns:1fr} .woocommerce table.shop_table_responsive thead{display:none} }

/* Titre et compteur répétés par woocommerce_content() : l'en-tête de page les porte déjà */
.boutique h1.page-title{display:none}
.woocommerce .quantity .qty{-moz-appearance:textfield}
.woocommerce-product-gallery__image--placeholder img,.woocommerce-placeholder{background:#EADFCF}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.woocommerce .star-rating{display:none}
