/* Beauté Pro: product page, cart and checkout (loaded after main.css, only on these pages) */

/* ---------- Shared ---------- */
.bp-card-box{background:#fff;border-radius:14px;border:1px solid #edf0f2}
.bp-trust{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.bp-trust li{display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.4;color:var(--bp-ent)}
.bp-trust svg{flex:none;width:38px;height:38px;padding:8px;border-radius:50%;background:rgba(0,166,155,.09);color:var(--bp-primary)}

/* ---------- Product page ---------- */
.bp-single{padding-top:24px}
.bp-single>.bp-container>.bp-single-top{margin-bottom:20px}
.bp-single-top .bp-breadcrumb{font-size:13px;color:var(--bp-text)}
.bp-prodnav a{width:32px;height:32px;border-radius:50%;background:#fff;border:1px solid #edf0f2;align-items:center;justify-content:center;padding:0}
.bp-prodnav a:hover{border-color:var(--bp-primary);color:var(--bp-primary)}
.bp-single-main{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:40px;margin-bottom:50px}
.bp-single-gallery{position:sticky;top:calc(var(--bp-header-h) + 20px);padding:20px;border-radius:14px;border:1px solid #edf0f2}
.admin-bar .bp-single-gallery{top:calc(var(--bp-header-h) + 52px)}
.bp-single-gallery .bp-labels{top:30px;left:30px;right:auto}
.woocommerce-product-gallery .flex-control-thumbs{grid-template-columns:repeat(6,1fr);gap:10px;margin-top:15px}
.woocommerce-product-gallery .flex-control-thumbs img{opacity:1;border:2px solid #edf0f2;border-radius:8px;background:#fff;transition:border-color .2s}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover{border-color:var(--bp-primary)}
.woocommerce-product-gallery__trigger{top:15px;right:15px;bottom:auto;left:auto}
.woocommerce-product-gallery__trigger::after{left:23px;top:23px}

.bp-single-summary{padding:34px 36px;background:#fff;border-radius:14px;border:1px solid #edf0f2}
.bp-brand-link{display:inline-block;margin-bottom:10px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--bp-primary)}
.bp-brand-link:hover{color:var(--bp-primary-h)}
.bp-single-summary .product_title{font-size:28px;line-height:1.25;font-weight:600;color:var(--bp-title);margin:0 0 14px;letter-spacing:-.01em}
.bp-single-summary>.price{font-size:30px;font-weight:700;margin:0 0 22px;color:var(--bp-title)}
.bp-single-summary>.price .woocommerce-Price-amount{color:var(--bp-primary)}
.bp-single-summary>.price del{font-size:18px;font-weight:500;color:#aaa}
.bp-single-summary>.price del .woocommerce-Price-amount{color:#aaa}
.bp-single-summary .bp-stock{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:30px;background:rgba(69,150,71,.1);color:var(--bp-ok);font-size:13px;font-weight:600;margin:0 0 20px}
.bp-single-summary .bp-stock::before{content:"";position:static;width:8px;height:8px;border-radius:50%;background:currentColor}
.bp-single-summary .bp-stock.out-of-stock{background:rgba(224,16,32,.08);color:#e01020}
.bp-single-summary .bp-stock.available-on-backorder{background:rgba(224,178,82,.15);color:#a87a14}

/* Add to cart */
.bp-single-summary form.cart{padding:22px 0;margin:0 0 24px;border-top:1px solid #edf0f2;border-bottom:1px solid #edf0f2;gap:12px;flex-wrap:nowrap}
.bp-single-summary form.cart.variations_form{display:block}
.bp-single-summary .variations{margin:0 0 6px;width:100%}
.bp-single-summary .variations tr{display:block;margin-bottom:14px}
.bp-single-summary .variations th,.bp-single-summary .variations td{display:block;padding:0}
.bp-single-summary .variations th.label label,.bp-single-summary .variations td.label label{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--bp-title);margin-bottom:8px}
.bp-single-summary .variations select{max-width:100%}
.bp-swatches{display:flex;flex-wrap:wrap;gap:8px}
.bp-swatch{min-height:40px;padding:6px 16px;border-radius:10px;border:1.5px solid #dde2e5;background:#fff;color:var(--bp-ent);font-size:14px;font-weight:500;transition:border-color .2s,background-color .2s,color .2s}
.bp-swatch:hover{border-color:var(--bp-ent)}
.bp-swatch.is-active{border-color:var(--bp-primary);background:rgba(0,166,155,.08);color:var(--bp-primary)}
.bp-swatch:disabled{opacity:.4;text-decoration:line-through;cursor:not-allowed}
.bp-has-swatches select{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}
.reset_variations{display:inline-block;margin:4px 0 0;font-size:13px;color:var(--bp-text);text-decoration:underline}
.single_variation_wrap .woocommerce-variation{margin:8px 0 0}
.single_variation_wrap .woocommerce-variation-price .price{font-size:24px;font-weight:700;color:var(--bp-primary);margin-bottom:6px}
.single_variation_wrap .woocommerce-variation-availability .bp-stock{margin:6px 0 12px}
.woocommerce-variation-add-to-cart{flex-wrap:nowrap;gap:12px;margin-top:8px}
.bp-single-summary .quantity{flex:none;height:52px;border:1.5px solid #dde2e5;border-radius:12px;background:#fff;overflow:hidden}
.bp-single-summary .quantity .qty{width:44px;height:100%;border:0;font-size:16px;font-weight:600;background:transparent}
.bp-single-summary .bp-qty-btn{width:40px;height:100%;border:0;background:transparent;font-size:18px;border-radius:0}
.bp-single-summary .bp-qty-btn:hover{background:#f3f5f6}
.bp-single-summary .single_add_to_cart_button{flex:1;min-height:52px;border-radius:12px;font-size:15px;font-weight:600;letter-spacing:.02em}
.bp-single-summary .single_add_to_cart_button.disabled{opacity:.45}

.bp-single-summary .bp-trust{margin:0 0 22px}
.bp-single-actions{gap:24px;margin:0 0 22px}
.bp-single-actions .bp-link-btn{font-size:13px;color:var(--bp-text)}
.bp-single-actions .bp-link-btn:hover{color:var(--bp-primary)}
.product_meta{margin:0 0 18px;padding:16px 18px;border-radius:12px;background:#f7f9fa;font-size:13px;display:grid;gap:6px}
.product_meta>span{display:flex;gap:6px;margin:0;font-weight:600;color:var(--bp-title)}
.product_meta>span>span,.product_meta>span>a{font-weight:500}
.product_meta .posted_in{display:block}
.bp-share{font-size:13px;color:var(--bp-text);gap:8px}
.bp-share strong{font-weight:500;margin-right:4px}
.bp-share a{width:30px;height:30px;border-radius:50%;border:1px solid #edf0f2;align-items:center;justify-content:center;color:var(--bp-ent)}
.bp-share a:hover{border-color:var(--bp-primary);color:var(--bp-primary)}

/* Tabs: description in a readable card */
.bp-single-tabs{border:0;background:none}
.woocommerce-tabs{padding:0 15px 50px}
.woocommerce-tabs .tabs{justify-content:flex-start;gap:8px;margin:0 0 -1px;position:relative;z-index:1}
.woocommerce-tabs .tabs li a{padding:14px 22px;border:1px solid transparent;border-bottom:0;border-radius:12px 12px 0 0;margin:0;font-size:13px;font-weight:600;letter-spacing:.05em}
.woocommerce-tabs .tabs li.active a{background:#fff;border-color:#edf0f2;color:var(--bp-title)}
.woocommerce-Tabs-panel{background:#fff;border:1px solid #edf0f2;border-radius:0 14px 14px 14px;padding:40px 48px;font-size:15px;line-height:1.8;color:#555}
.woocommerce-Tabs-panel>*{max-width:860px}
.woocommerce-Tabs-panel h1,.woocommerce-Tabs-panel h2,.woocommerce-Tabs-panel h3,.woocommerce-Tabs-panel h4{font-size:19px;font-weight:600;color:var(--bp-title);margin:28px 0 12px}
.woocommerce-Tabs-panel>:first-child{margin-top:0}
.woocommerce-Tabs-panel ul{padding-left:0;list-style:none}
.woocommerce-Tabs-panel ul li{position:relative;padding-left:24px;margin-bottom:6px}
.woocommerce-Tabs-panel ul li::before{content:"";position:absolute;left:4px;top:.75em;width:7px;height:7px;border-radius:50%;background:var(--bp-primary)}
.woocommerce-Tabs-panel a{color:var(--bp-primary);text-decoration:underline}
.shop_attributes{max-width:700px}
.shop_attributes th,.shop_attributes td{padding:12px 0;border-bottom:1px solid #edf0f2}
.shop_attributes td p{margin:0}
.bp-single .bp-related{border:0;padding-top:0}

/* ---------- Steps (cart / checkout) ---------- */
.bp-steps{counter-reset:bpstep;justify-content:center;gap:14px;margin:0 0 34px;font-size:15px}
.bp-steps li:not(.bp-step-sep){counter-increment:bpstep}
.bp-steps li span,.bp-steps li a{display:inline-flex;align-items:center;gap:10px;color:var(--bp-text);border:0!important;padding:0!important}
.bp-steps li span::before,.bp-steps li a::before{content:counter(bpstep);width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1.5px solid #dde2e5;font-size:13px;font-weight:700;color:var(--bp-text)}
.bp-steps li.is-done a::before{content:"✓";background:var(--bp-primary);border-color:var(--bp-primary);color:#fff}
.bp-steps li a:hover{color:var(--bp-title)}
.bp-steps li.is-current span{color:var(--bp-title);font-weight:600}
.bp-steps li.is-current span::before{background:var(--bp-title);border-color:var(--bp-title);color:#fff}
.bp-step-sep{width:60px;height:1.5px;background:#dde2e5}
.bp-step-sep svg{display:none}

/* ---------- Cart ---------- */
.woocommerce-cart .bp-content>.woocommerce{grid-template-columns:minmax(0,1fr) 400px;gap:30px}
.woocommerce-cart-form{padding:10px 30px 24px;border-radius:14px;border:1px solid #edf0f2}
.woocommerce-cart-form .shop_table thead th{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--bp-text);padding:18px 10px;border-bottom:1px solid #edf0f2}
.woocommerce-cart-form .shop_table td{padding:20px 10px;border-bottom:1px solid #edf0f2;font-size:15px}
.woocommerce-cart-form .shop_table tr:last-child td{border-bottom:0}
.shop_table .product-thumbnail{width:100px}
.shop_table .product-thumbnail img{width:84px;height:84px;object-fit:contain;border-radius:10px;border:1px solid #edf0f2;background:#fff;padding:4px}
.shop_table .product-name a{color:var(--bp-title);font-weight:600;font-size:15px;line-height:1.4}
.shop_table .product-name a:hover{color:var(--bp-primary)}
.shop_table .product-name .variation{display:grid;grid-template-columns:auto 1fr;gap:2px 6px;margin:6px 0 0;font-size:13px;color:var(--bp-text)}
.shop_table .product-name .variation dt,.shop_table .product-name .variation dd{margin:0}
.shop_table .product-name .variation dd p{margin:0}
.shop_table .product-price{color:var(--bp-text)}
.shop_table .product-subtotal{font-weight:700}
.shop_table .product-subtotal .amount{color:var(--bp-title)}
.shop_table .product-remove{width:40px}
.shop_table .product-remove a.remove{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#f3f5f6;color:#888;font-size:18px;line-height:1}
.shop_table .product-remove a.remove:hover{background:#e01020;color:#fff}
.woocommerce-cart-form .quantity{height:42px;border:1.5px solid #dde2e5;border-radius:10px;overflow:hidden;background:#fff}
.woocommerce-cart-form .quantity .qty{width:38px;height:100%;border:0;font-weight:600;background:transparent}
.woocommerce-cart-form .bp-qty-btn{width:32px;height:100%;border:0;border-radius:0;background:transparent;font-size:16px}
.woocommerce-cart-form .bp-qty-btn:hover{background:#f3f5f6}
.shop_table td.actions{padding:20px 0 0!important;border:0}
.coupon{gap:8px}
.coupon label{display:none}
.coupon input{width:220px;border-radius:10px}
.coupon .button{border-radius:10px;background:var(--bp-title);color:#fff}
.coupon .button:hover{background:#000}

.cart-collaterals{padding:0;background:none;position:sticky;top:calc(var(--bp-header-h) + 20px)}
.admin-bar .cart-collaterals{top:calc(var(--bp-header-h) + 52px)}
.cart_totals{background:#fff;border-radius:14px;border:1px solid #edf0f2;padding:28px 28px 24px}
.cart_totals h2{font-size:20px;font-weight:600;margin:0 0 8px}
.cart_totals table{margin:0}
.cart_totals th,.cart_totals td{padding:14px 0;border-bottom:1px solid #edf0f2;font-size:14px}
.cart_totals th{color:var(--bp-text);font-weight:500;width:40%}
.cart_totals td{color:var(--bp-title)}
.cart_totals .order-total th,.cart_totals .order-total td{border:0;padding-top:18px;color:var(--bp-title);font-weight:600;font-size:16px}
.cart_totals .order-total .amount{font-size:26px;font-weight:700;color:var(--bp-title)}
.wc-proceed-to-checkout{padding:6px 0 0}
.wc-proceed-to-checkout .checkout-button{min-height:54px;border-radius:12px;font-size:16px;font-weight:600;margin:0}
.bp-continue{display:flex;align-items:center;justify-content:center;gap:6px;margin:16px 0 22px;font-size:14px;color:var(--bp-text)}
.bp-continue:hover{color:var(--bp-primary)}
.cart-collaterals .bp-trust{background:#fff;border:1px solid #edf0f2;border-radius:14px;padding:20px}
.woocommerce-cart .bp-related{border:0;padding-top:20px}

/* Shipping options (cart + checkout): one bordered row per option */
.woocommerce-shipping-methods li{flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;margin:0 0 8px;border:1.5px solid #dde2e5;border-radius:10px;background:#fff}
.woocommerce-shipping-methods li:has(input:checked){border-color:var(--bp-primary);background:rgba(0,166,155,.05)}
.woocommerce-shipping-methods li input{margin:0}
.woocommerce-shipping-methods li label{flex:1;margin:0;color:var(--bp-title);font-size:14px;cursor:pointer}
.woocommerce-shipping-methods li>:not(input):not(label){flex-basis:100%}
.woocommerce-shipping-destination,.woocommerce-shipping-calculator{font-size:13px;color:var(--bp-text);text-align:left;margin:8px 0 0}
.woocommerce-shipping-totals td{text-align:left!important}
.woocommerce-shipping-totals th{vertical-align:top}

/* ---------- Checkout ---------- */
.woocommerce-checkout .bp-content>.woocommerce>.woocommerce-form-coupon-toggle .woocommerce-info{border-radius:12px;padding:14px 20px;font-size:14px;justify-content:flex-start;border-color:#edf0f2}
.woocommerce-form-coupon-toggle .showcoupon{color:var(--bp-primary);font-weight:600}
form.checkout_coupon{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #edf0f2;border-radius:12px;padding:16px 20px;margin:-10px 0 20px}
form.checkout_coupon p{margin:0}
form.checkout_coupon .form-row-first{width:260px}
form.checkout_coupon .form-row-last{width:auto}
form.checkout_coupon .button{border-radius:10px;background:var(--bp-title);color:#fff}
form.checkout{grid-template-columns:minmax(0,1fr) 460px;gap:30px}
#customer_details{padding:34px 36px;border-radius:14px;border:1px solid #edf0f2}
.woocommerce-billing-fields h3,.woocommerce-shipping-fields h3,.woocommerce-additional-fields h3{font-size:20px;font-weight:600;margin:0 0 22px;padding-bottom:14px;border-bottom:1px solid #edf0f2}
.woocommerce-additional-fields h3{margin-top:14px}
#ship-to-different-address{font-size:15px;font-weight:500;border:0;padding:0;margin:10px 0 18px}
#ship-to-different-address label{display:flex;align-items:center;gap:8px;cursor:pointer;margin:0}
.woocommerce-shipping-fields__field-wrapper{display:flex;flex-wrap:wrap;column-gap:20px}
.woocommerce-shipping-fields__field-wrapper>.form-row{flex:1 1 100%;margin-right:0}
.woocommerce-shipping-fields__field-wrapper>.form-row-first,.woocommerce-shipping-fields__field-wrapper>.form-row-last{flex:1 1 calc(50% - 10px)}
form.checkout .form-row label{font-size:13px;font-weight:600;color:var(--bp-title);margin-bottom:6px}
form.checkout .form-row label .optional{font-weight:500;color:var(--bp-text)}
form.checkout input[type=text],form.checkout input[type=email],form.checkout input[type=tel],form.checkout input[type=password],form.checkout select,form.checkout textarea,form.checkout .select2-container .select2-selection{height:48px;border-radius:10px;border:1.5px solid #dde2e5;font-size:15px}
form.checkout textarea{height:110px;min-height:110px;padding-top:12px}
form.checkout input:focus,form.checkout textarea:focus{border-color:var(--bp-primary);box-shadow:0 0 0 3px rgba(0,166,155,.12)}
form.checkout .select2-container .select2-selection__rendered{line-height:45px!important;padding-left:15px!important}
form.checkout .select2-container .select2-selection__arrow{height:46px!important}
form.checkout .woocommerce-invalid input{border-color:#e01020}
.bp-order-box{position:sticky;top:calc(var(--bp-header-h) + 20px);padding:30px 30px 26px;border-radius:14px;border:1px solid #edf0f2}
.admin-bar .bp-order-box{top:calc(var(--bp-header-h) + 52px)}
#order_review_heading{font-size:20px;font-weight:600;margin:0 0 10px}
.woocommerce-checkout-review-order-table thead{display:none}
.woocommerce-checkout-review-order-table td,.woocommerce-checkout-review-order-table th{padding:12px 0;border-bottom:1px solid #edf0f2;font-size:14px}
.woocommerce-checkout-review-order-table .cart_item td{vertical-align:middle}
.woocommerce-checkout-review-order-table .product-name{display:flex;align-items:center;gap:12px;color:var(--bp-title);font-weight:500;line-height:1.35}
.woocommerce-checkout-review-order-table .product-name .product-quantity{font-weight:600;color:var(--bp-text);white-space:nowrap}
.bp-ro-img{position:relative;flex:none}
.bp-ro-img img{width:56px;height:56px;object-fit:contain;border-radius:8px;border:1px solid #edf0f2;background:#fff;padding:3px}
.bp-ro-name{flex:1}
.woocommerce-checkout-review-order-table .product-name .variation{font-size:12px;color:var(--bp-text);margin:2px 0 0;display:flex;flex-wrap:wrap;gap:0 4px}
.woocommerce-checkout-review-order-table .product-name .variation dt,.woocommerce-checkout-review-order-table .product-name .variation dd,.woocommerce-checkout-review-order-table .product-name .variation p{margin:0}
.woocommerce-checkout-review-order-table tfoot th{color:var(--bp-text);font-weight:500}
.woocommerce-checkout-review-order-table tfoot td{color:var(--bp-title)}
.woocommerce-checkout-review-order-table .order-total th,.woocommerce-checkout-review-order-table .order-total td{border:0;padding-top:18px;color:var(--bp-title);font-weight:600;font-size:16px}
.woocommerce-checkout-review-order-table .order-total .amount{font-size:26px;font-weight:700;color:var(--bp-title)}
.woocommerce-checkout-payment{margin-top:10px}
.wc_payment_methods{display:grid;gap:10px}
.wc_payment_method{border:1.5px solid #dde2e5;border-radius:12px;padding:14px 16px;background:#fff;transition:border-color .2s,background-color .2s}
.wc_payment_method:has(>input:checked){border-color:var(--bp-primary);background:rgba(0,166,155,.04)}
.wc_payment_method>input{margin:0 8px 0 0;vertical-align:middle}
.wc_payment_method>label{font-size:15px;font-weight:600;cursor:pointer}
.wc_payment_method>label img{max-height:24px;width:auto;vertical-align:middle;margin-left:6px;display:inline-block}
.wc_payment_method .payment_box{background:transparent;padding:10px 0 0;margin:0;font-size:13px;color:var(--bp-text)}
.wc_payment_method .payment_box p:last-child{margin-bottom:0}
.wc_payment_methods .woocommerce-notice,.woocommerce-checkout-payment .woocommerce-info{font-size:14px;border-radius:12px}
.woocommerce-privacy-policy-text{font-size:12px;line-height:1.6;color:var(--bp-text)}
.woocommerce-privacy-policy-text a,.woocommerce-terms-and-conditions-link{color:var(--bp-primary)}
.woocommerce-terms-and-conditions-wrapper .form-row{margin:0}
.woocommerce-terms-and-conditions-wrapper label{display:block;font-size:14px;font-weight:500;line-height:1.5;cursor:pointer}
.woocommerce-terms-and-conditions-wrapper input{margin:0 6px 0 0;vertical-align:-2px}
#place_order{min-height:56px;border-radius:12px;font-size:16px;font-weight:600;letter-spacing:.02em;margin-top:6px}
.bp-secure{margin:16px 0 14px;padding:12px 14px;border-radius:12px;background:#f7f9fa;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.bp-secure>span{margin:0;font-size:13px;font-weight:600;gap:6px;color:var(--bp-ent);justify-content:flex-start}
.bp-secure>span::before,.bp-secure>span::after{display:none}
.bp-cards{gap:6px!important}
.bp-cards b{width:auto!important;height:26px!important;padding:0 8px;border-radius:5px!important;font-size:10px!important;letter-spacing:.02em}
.bp-cards .c-visa{font-size:13px!important;background:#1a1f71}
.bp-cards .c-amex{font-size:10px!important}

/* ---------- Responsive ---------- */
@media (max-width:1200px){
	.bp-single-main{gap:24px}
	.bp-single-summary{padding:26px}
	.woocommerce-cart .bp-content>.woocommerce{grid-template-columns:minmax(0,1fr) 340px}
	form.checkout{grid-template-columns:minmax(0,1fr) 400px}
}
@media (max-width:1024px){
	.bp-single-gallery,.cart-collaterals,.bp-order-box{position:static}
	.bp-single-main{grid-template-columns:1fr;gap:16px;margin-bottom:30px}
	.bp-single-gallery{padding:12px}
	.bp-single-summary .product_title{font-size:23px}
	.bp-single-summary>.price{font-size:26px}
	.woocommerce-tabs .tabs{overflow-x:auto;scrollbar-width:none}
	.woocommerce-tabs .tabs li a{white-space:nowrap;padding:12px 16px}
	.woocommerce-Tabs-panel{padding:26px 22px;border-radius:0 14px 14px 14px;font-size:14px}
	.woocommerce-cart .bp-content>.woocommerce,form.checkout{grid-template-columns:1fr;gap:20px}
	#customer_details,.bp-order-box{padding:24px 20px}
}
@media (max-width:768px){
	.bp-single{padding-top:12px}
	.bp-single-top .bp-breadcrumb{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
	.bp-single-summary{padding:22px 18px}
	.bp-single-summary form.cart{flex-wrap:wrap}
	.woocommerce-variation-add-to-cart{flex-wrap:nowrap}
	.bp-single-summary .quantity{height:50px}
	.bp-single-summary .single_add_to_cart_button{min-height:50px}
	.woocommerce-cart-form{padding:6px 16px 18px}
	.woocommerce-cart-form .shop_table_responsive tr.cart_item{display:grid;grid-template-columns:76px 1fr auto;grid-template-areas:"img name remove" "img price price" "img qty sub";column-gap:14px;row-gap:6px;padding:16px 0;border-bottom:1px solid #edf0f2}
	.woocommerce-cart-form .shop_table_responsive tr.cart_item td{display:block;padding:0;border:0;text-align:left}
	.woocommerce-cart-form .shop_table_responsive tr.cart_item td::before{display:none}
	.woocommerce-cart-form td.product-thumbnail{grid-area:img;display:block!important;width:auto}
	.woocommerce-cart-form td.product-thumbnail img{width:76px;height:76px}
	.woocommerce-cart-form td.product-name{grid-area:name;font-size:14px}
	.woocommerce-cart-form td.product-remove{grid-area:remove;width:auto}
	.woocommerce-cart-form td.product-price{grid-area:price;font-size:13px}
	.woocommerce-cart-form td.product-quantity{grid-area:qty}
	.woocommerce-cart-form td.product-subtotal{grid-area:sub;align-self:center;text-align:right!important}
	.woocommerce-cart-form .shop_table_responsive tr:last-child{display:block}
	.woocommerce-cart-form td.actions{display:block!important}
	.coupon{float:none;width:100%}
	.coupon input{flex:1;width:auto}
	.cart_totals{padding:22px 18px}
	form.checkout_coupon{flex-wrap:wrap}
	form.checkout_coupon .form-row-first{width:100%}
	.bp-secure{justify-content:center}
}

/* Totals tables (cart + checkout): rows as flex lines, shipping options full width */
.cart_totals table,.woocommerce-checkout-review-order-table{display:block;width:100%}
.cart_totals tbody,.woocommerce-checkout-review-order-table tbody,.woocommerce-checkout-review-order-table tfoot{display:block}
.cart_totals tr,.woocommerce-checkout-review-order-table tr{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;padding:13px 0;border-bottom:1px solid #edf0f2}
.cart_totals tr th,.cart_totals tr td,.woocommerce-checkout-review-order-table tr th,.woocommerce-checkout-review-order-table tr td{display:block;padding:0!important;border:0!important;width:auto}
.cart_totals tr.order-total,.woocommerce-checkout-review-order-table tr.order-total{border:0;padding-top:18px}
.woocommerce-shipping-totals th,.woocommerce-shipping-totals td{flex:1 1 100%}
.woocommerce-shipping-totals th{margin-bottom:6px}
.woocommerce-checkout-review-order-table tr.cart_item{flex-wrap:nowrap}
.woocommerce-checkout-review-order-table td.product-name{flex:1;position:relative}
.woocommerce-checkout-review-order-table td.product-total{white-space:nowrap;font-weight:600;color:var(--bp-title)}
.woocommerce-checkout-review-order-table .product-name .product-quantity{position:absolute;left:42px;top:-6px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--bp-title);color:#fff!important;font-size:11px;display:flex;align-items:center;justify-content:center}
.woocommerce-checkout-review-order-table .product-name .variation{flex-basis:100%}
.bp-ro-name{display:block}
.bp-single-summary .variations tr:last-child{margin-bottom:0}
.bp-share strong{line-height:1}
@media (max-width:1024px){
	.woocommerce-cart .bp-content>.woocommerce,form.checkout{grid-template-columns:minmax(0,1fr)}
	.cart_totals td::before,.woocommerce-checkout-review-order-table td::before{display:none!important}
}
.cart-collaterals .bp-continue{color:var(--bp-text)}
.cart-collaterals .bp-continue:hover,.woocommerce-shipping-calculator a,.shipping-calculator-button,.woocommerce-terms-and-conditions-wrapper a{color:var(--bp-primary)}

/* ---------- Product page v2: gallery left (sticky, 4:5, thumbs in a column), info + description right ---------- */
.bp-single-main{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px;align-items:start}
.bp-single-info{display:grid;gap:24px;min-width:0}
.bp-single-gallery{padding:16px}
.woocommerce-product-gallery:has(.flex-control-thumbs){display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px;align-items:start}
.woocommerce-product-gallery:has(.flex-control-thumbs) .flex-viewport{grid-column:2;grid-row:1}
.woocommerce-product-gallery .flex-control-thumbs{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:10px;margin:0;max-height:calc(100vh - var(--bp-header-h) - 80px);overflow-y:auto;scrollbar-width:thin}
.woocommerce-product-gallery .flex-control-thumbs li{flex:none;width:100%}
.woocommerce-product-gallery .flex-control-thumbs img{width:100%;aspect-ratio:1;height:auto;object-fit:contain;padding:4px}
.woocommerce-product-gallery__image{aspect-ratio:4/5}
.woocommerce-product-gallery__image img:not(.zoomImg){aspect-ratio:4/5;object-fit:contain!important}
.woocommerce-product-gallery__image img.bp-fit-45:not(.zoomImg){object-fit:cover!important}
.woocommerce-product-gallery .flex-viewport,.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{width:100%;max-width:calc((100vh - var(--bp-header-h) - 80px) * .8);margin:0 auto}
.woocommerce-product-gallery__trigger{top:12px;right:12px}
.bp-single-gallery .bp-labels{top:28px;left:auto;right:64px}
.bp-single-info .bp-single-tabs{min-width:0}
.bp-single-info .woocommerce-tabs{max-width:none;margin:0;padding:0}
.bp-single-info .woocommerce-Tabs-panel{padding:30px 32px;font-size:14px}
.bp-single-info .woocommerce-Tabs-panel>*{max-width:none}
.bp-single-summary{padding:30px 32px}
@media (max-width:1024px){
	.bp-single-main{grid-template-columns:minmax(0,1fr);gap:16px}
	.bp-single-info{gap:16px}
	.bp-single-gallery{position:static}
	.woocommerce-product-gallery:has(.flex-control-thumbs){display:block}
	.woocommerce-product-gallery .flex-control-thumbs{flex-direction:row;max-height:none;overflow-x:auto;margin-top:12px}
	.woocommerce-product-gallery .flex-control-thumbs li{width:64px}
	.woocommerce-product-gallery .flex-viewport,.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{max-width:none}
	.woocommerce-product-gallery__image,.woocommerce-product-gallery__image img:not(.zoomImg){aspect-ratio:1}
	.woocommerce-product-gallery__image img.bp-fit-45:not(.zoomImg){object-fit:contain!important}
	.bp-single-info .woocommerce-Tabs-panel{padding:24px 20px}
	.bp-single-summary{padding:22px 18px}
}

/* Stock line */
.bp-single-summary .bp-stock,.single_variation_wrap .bp-stock{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;padding:0;margin:0 0 18px;background:none!important;border-radius:0;color:var(--bp-ok);font-size:14px;font-weight:500}
.bp-single-summary .bp-stock::before{display:none}
.bp-stock .bp-stock-dot{position:relative;width:10px;height:10px;border-radius:50%;background:currentColor;flex:none}
.bp-stock .bp-stock-dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;background:currentColor;opacity:.2;animation:bpPulse 1.8s ease-out infinite}
.bp-stock strong{font-weight:700}
.bp-stock .bp-stock-note{color:var(--bp-text);font-size:13px}
.bp-stock.bp-stock-low,.bp-stock.available-on-backorder{color:#c77c02!important}
.bp-stock.out-of-stock{color:#e01020!important}
.bp-stock.out-of-stock .bp-stock-dot::after{animation:none}
@keyframes bpPulse{0%{transform:scale(.6);opacity:.35}100%{transform:scale(1.6);opacity:0}}
@media (prefers-reduced-motion:reduce){.bp-stock .bp-stock-dot::after{animation:none}}

/* Buy now */
.bp-single-summary form.cart,.bp-single-summary .woocommerce-variation-add-to-cart{flex-wrap:wrap}
.bp-single-summary .bp-buy-now{flex:1 1 100%;min-height:52px;border-radius:12px;background:var(--bp-title);color:#fff;font-size:15px;font-weight:600;letter-spacing:.02em}
.bp-single-summary .bp-buy-now:hover{background:#000;color:#fff}
.quantity:has(input[type=hidden]){display:none!important}
.bp-single-summary form.cart,.bp-single-summary .woocommerce-variation-add-to-cart{flex-wrap:nowrap}
.bp-single-summary .single_add_to_cart_button,.bp-single-summary .bp-buy-now{flex:1 1 0;min-width:0;padding:5px 12px}
@media (max-width:480px){
	.bp-single-summary form.cart:not(.variations_form),.bp-single-summary .woocommerce-variation-add-to-cart{display:grid;grid-template-columns:1fr 1fr;gap:10px}
	.bp-single-summary form.cart .quantity{grid-column:1/-1;justify-self:start}
	.bp-single-summary .single_add_to_cart_button,.bp-single-summary .bp-buy-now{font-size:14px;padding:5px 8px;white-space:normal;line-height:1.2}
}

/* Phone gallery: full width, swipe, dots */
.bp-gal-dots{display:none}
@media (max-width:768px){
	.bp-single-main>.bp-single-gallery{margin:0 -15px;padding:0;border:0;border-radius:0;background:#fff}
	.bp-single-gallery .woocommerce-product-gallery__image,.bp-single-gallery .woocommerce-product-gallery__image img:not(.zoomImg){border-radius:0}
	.woocommerce-product-gallery .flex-control-thumbs{display:none!important}
	.bp-gal-dots{display:flex;justify-content:center;gap:8px;padding:12px 0 14px}
	.bp-gal-dots button{width:8px;height:8px;padding:0;border:0;border-radius:4px;background:#d5dadd;transition:width .25s,background-color .25s}
	.bp-gal-dots button.is-active{width:22px;background:var(--bp-primary)}
	.woocommerce-product-gallery__trigger{top:12px;right:12px}
	.bp-single-gallery .bp-labels{top:14px;left:14px;right:auto}
	.bp-single-main{gap:0}
	.bp-single-info{margin-top:14px}
}

/* Checkout: details and order summary side by side, 50 / 50 */
@media (min-width:1025px){form.checkout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

/* Stock line: stronger than the "Out of Stock Message" plugin's inline style (white text on green, hidden when sold out) */
body div.product p.stock.bp-stock{display:flex!important;padding:0!important;background:none!important;border-radius:0!important;font-weight:500!important;color:var(--bp-ok)!important}
body div.product p.stock.bp-stock.bp-stock-low,body div.product p.stock.bp-stock.available-on-backorder{color:#c77c02!important}
body div.product p.stock.bp-stock.out-of-stock{color:#e01020!important}

/* Cart: suggestions right under the cart table (no empty gap), totals column sticky beside both */
.woocommerce-cart .bp-content>.woocommerce{align-items:start}
.woocommerce-cart .bp-content>.woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-cart .bp-content>.woocommerce>.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-cart .bp-content>.woocommerce>.cart-collaterals{grid-column:2;grid-row:span 2;align-self:start}
.woocommerce-cart .bp-content>.woocommerce>.bp-related{grid-column:1;min-width:0;padding-top:10px}
.woocommerce-cart .bp-related .bp-products-carousel.bp-cols-5 .bp-track>*{width:calc((100% - 3 * var(--bp-gap)) / 4)}
.woocommerce-cart .bp-related .bp-next{right:-12px}.woocommerce-cart .bp-related .bp-prev{left:-12px}
@media (max-width:1024px){
	.woocommerce-cart .bp-content>.woocommerce>.cart-collaterals,.woocommerce-cart .bp-content>.woocommerce>.bp-related{grid-column:1;grid-row:auto}
	.woocommerce-cart .bp-related .bp-products-carousel.bp-cols-5 .bp-track>*{width:calc((100% - var(--bp-gap)) / 2)}
}

/* Product gallery: a picture that does not fill the frame gets a soft blurred copy of itself behind it (no white bands); packshots on white stay on white */
.woocommerce-product-gallery__image{position:relative;overflow:hidden;isolation:isolate}
.woocommerce-product-gallery__image.bp-blurfill::before{content:"";position:absolute;inset:-40px;z-index:-1;background:var(--bp-blur) center/cover no-repeat;filter:blur(30px) saturate(1.1);transform:scale(1.15)}

/* Product gallery: square main picture over the full column width, thumbnails beside it */
.woocommerce-product-gallery__image,.woocommerce-product-gallery__image img:not(.zoomImg){aspect-ratio:1}
.woocommerce-product-gallery__image img.bp-fit-45:not(.zoomImg){object-fit:contain!important}
.woocommerce-product-gallery .flex-viewport,.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{max-width:none}
.woocommerce-product-gallery__image,.woocommerce-product-gallery .flex-viewport{border-radius:12px}

/* Product gallery: slight light filter so white products keep visible edges (computer only, not on phones) */
@media (min-width:769px){.woocommerce-product-gallery__image img:not(.zoomImg),.woocommerce-product-gallery .flex-control-thumbs img{filter:brightness(.97)}}

/* Phone: quantity + Ajouter au panier on one row, Acheter maintenant full width below */
@media (max-width:768px){
	.bp-single-summary form.cart:not(.variations_form),.bp-single-summary .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:10px}
	.bp-single-summary form.cart .quantity{flex:none;grid-column:auto;justify-self:auto}
	.bp-single-summary .single_add_to_cart_button{flex:1 1 0;min-width:0}
	.bp-single-summary .bp-buy-now{flex:1 1 100%}
	.bp-single-summary .single_add_to_cart_button,.bp-single-summary .bp-buy-now{font-size:15px;white-space:nowrap;min-height:50px}
}
