
/* Boutique MrocWall — v5 mw-c1 (override Edile + WooCommerce) */

/* ===== CRITIQUE : fond blanc Edile ===== */
body.mw-c1-woo .nicdark_site,
body.mw-c1-woo .nicdark_site.nicdark_bg_white,
body.single-product .nicdark_site,
body.woocommerce-cart .nicdark_site,
body.woocommerce-checkout .nicdark_site,
body.tax-product_cat .nicdark_site,
body.page-id-1111 .nicdark_site,
body.page-id-18 .nicdark_site,
body.page-id-19 .nicdark_site{background:#121214!important;color:#e8e8e8;}
body.mw-c1-woo,body.single-product,body.woocommerce-cart,body.woocommerce-checkout,body.tax-product_cat,body.page-id-1111,body.page-id-18,body.page-id-19{background:#121214!important;}
body.mw-c1-woo .nicdark_section,
body.mw-c1-woo .nd_options_container,
body.mw-c1-woo #nd_options_main_content,
body.mw-c1-woo .nicdark_container_page_php,
body.mw-c1-woo .nd_options_content{background:#121214!important;}
body.single-product .nd_options_section.nd_options_height_50,
body.woocommerce-cart .nd_options_section.nd_options_height_50,
body.woocommerce-shop .nd_options_section.nd_options_height_50,
body.tax-product_cat .nd_options_section.nd_options_height_50,
body.page-id-1111 .nd_options_section.nd_options_height_50,
body.page-id-18 .nd_options_section.nd_options_height_50,
body.page-id-19 .nd_options_section.nd_options_height_50{display:none!important;height:0!important;margin:0!important;padding:0!important;}

/* Titre automatique Edile (boutique / panier / commande) */
article.type-page:has(.mw-c1-shop) > h1:not(.mw-c1-hero__title),
article.type-page:has(.mw-c1-shop-flow-page) > h1:not(.mw-c1-hero__title),
#post-1111 > h1,#post-18 > h1,#post-19 > h1,
.page-id-1111 #post-1111 > h1,.page-id-18 #post-18 > h1,.page-id-19 #post-19 > h1{display:none!important;}

/* Bandeau titre WooCommerce Edile (bande noire vide au-dessus du hero boutique) */
body.woocommerce-shop .nd_options_section.nd_options_bg_greydark.nd_options_background_size_cover,
body.woocommerce-shop .nd_options_section.nd_options_bg_greydark.nd_options_background_size_cover ~ .nd_options_section.nd_options_height_50,
body.tax-product_cat .nd_options_section.nd_options_bg_greydark.nd_options_background_size_cover,
body.tax-product_cat .nd_options_section.nd_options_bg_greydark.nd_options_background_size_cover ~ .nd_options_section.nd_options_height_50,
body.page-id-1111 .nd_options_section.nd_options_bg_greydark.nd_options_background_size_cover,
body.page-id-1111 .nd_options_section.nd_options_bg_greydark.nd_options_background_size_cover ~ .nd_options_section.nd_options_height_50{display:none!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;}

body.woocommerce-shop .nd_options_woo_template_archive_layout-2,
body.tax-product_cat .nd_options_woo_template_archive_layout-2{padding-top:0!important;margin-top:0!important;}
body.woocommerce-shop #nd_options_woocommerce_content,
body.tax-product_cat #nd_options_woocommerce_content{padding:0!important;margin:0!important;float:none!important;width:100%!important;}
body.woocommerce-shop .page-description,
body.tax-product_cat .page-description{margin:0!important;padding:0!important;}
body.woocommerce-shop .mw-c1-shop,
body.tax-product_cat .mw-c1-shop{margin-top:0!important;padding-top:0!important;}

/* ===== Reset templates Edile WooCommerce ===== */
.nd_options_woo_template_single_layout-2,
.nd_options_woo_template_single_layout-8{background:transparent!important;padding:0!important;max-width:100%!important;width:100%!important;}
.single-product #nd_options_main_content,.single-product .nicdark_container_page_php,
.page-id-1111 #nd_options_main_content,.page-id-1111 .nicdark_container_page_php,
.page-id-18 #nd_options_main_content,.page-id-18 .nicdark_container_page_php,
.page-id-19 #nd_options_main_content,.page-id-19 .nicdark_container_page_php{padding:0!important;}
.single-product .nd_options_page_content_header,.single-product .entry-header,
.page-id-1111 .nd_options_page_content_header,.page-id-1111 .entry-header,
.page-id-18 .nd_options_page_content_header,.page-id-18 .entry-header,
.page-id-19 .nd_options_page_content_header,.page-id-19 .entry-header{display:none!important;}

/* ===== Override inline Edile (tabs, boutons, panier) ===== */
body.woocommerce.woocommerce-page .product .woocommerce-tabs ul{border-bottom:1px solid rgba(255,255,255,.1)!important;}
body.woocommerce.woocommerce-page .product .woocommerce-tabs ul li{background:none!important;border:0!important;margin:0!important;}
body.woocommerce.woocommerce-page .product .woocommerce-tabs ul li a{color:#b0b0b0!important;font-weight:600!important;padding:14px 20px!important;}
body.woocommerce.woocommerce-page .product .woocommerce-tabs ul li.active a{color:#ff7a00!important;}
body.woocommerce.woocommerce-page .product .summary.entry-summary .price ins,
body.woocommerce.woocommerce-page .product .summary.entry-summary .price > .woocommerce-Price-amount,
body.woocommerce.woocommerce-page .product .summary.entry-summary .price > .amount{color:#ff7a00!important;font-weight:700!important;}
body.woocommerce.woocommerce-page .product .summary.entry-summary .price del,
body.woocommerce.woocommerce-page .product .summary.entry-summary .price del .amount,
body.woocommerce.woocommerce-page .product .summary.entry-summary .price del span{color:#888!important;font-weight:500!important;}
body.woocommerce.woocommerce-page .add_to_cart_button,
body.woocommerce.woocommerce-page .single_add_to_cart_button,
body.woocommerce.woocommerce-page button.button.alt{background:#ff7a00!important;color:#fff!important;border:0!important;border-radius:999px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.04em!important;}
body.woocommerce-cart .woocommerce .shop_table.cart,
body.woocommerce-cart .woocommerce .shop_table.cart thead,
body.woocommerce-cart .woocommerce .shop_table.cart .actions{background:#15171a!important;border-color:rgba(255,255,255,.1)!important;}
body.woocommerce-cart .woocommerce table.shop_table thead tr th{color:#fff!important;font-weight:700!important;text-transform:uppercase;font-size:11px;letter-spacing:.06em;}
body.woocommerce-cart .woocommerce .shop_table.cart td{border-color:rgba(255,255,255,.08)!important;color:#d8d8d8!important;}
body.woocommerce-cart .woocommerce .shop_table.cart .actions input[type="submit"],
body.woocommerce-cart .woocommerce .shop_table.cart .actions .button{background:#ff7a00!important;color:#fff!important;border:0!important;border-radius:999px!important;font-weight:700!important;}
body.woocommerce-cart .woocommerce .shop_table.cart .actions .coupon #coupon_code{background:#1a1a1e!important;border:1px solid rgba(255,255,255,.15)!important;color:#fff!important;border-radius:10px!important;}
body.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout a{background:#ff7a00!important;color:#fff!important;border-radius:999px!important;font-weight:700!important;}
body.woocommerce-cart .woocommerce .shop_table.cart .product-remove .remove{background:rgba(255,80,80,.15)!important;color:#ff9999!important;}

/* ===== mw-c1 pages boutique / panier ===== */
.mw-c1-shop,.mw-c1-shop-flow-page,.mw-c1-product{background:#121214;display:block;}
.mw-c1-hero{position:relative;display:flex;align-items:center;background-size:cover;background-position:center center;background-repeat:no-repeat;}
.mw-c1-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,10,10,.94) 0%,rgba(10,10,10,.78) 32%,rgba(10,10,10,.35) 58%,rgba(10,10,10,.08) 100%);pointer-events:none;}
.mw-c1-hero__inner{position:relative;z-index:2;max-width:1280px;margin:0 auto;padding:0 6%;width:100%;}
.mw-c1-hero--shop,.mw-c1-shop .mw-c1-hero--shop,.mw-c1-shop-flow-page .mw-c1-hero--shop{
  background-image:url(/wp-content/uploads/2026/06/mw-shop-hero.png)!important;
  background-size:cover!important;
  background-position:48% center!important;
}
.mw-c1-hero--shop{min-height:clamp(260px,38vh,380px);max-height:380px;}
.mw-c1-hero--compact{min-height:28vh;}
.mw-c1-shop-catalog{max-width:1140px;margin:0 auto;padding:24px 28px 72px;}
.mw-c1-shop-catalog__title{color:#ff7a00!important;font-size:clamp(22px,2.5vw,32px);font-weight:800;text-transform:uppercase;letter-spacing:.04em;text-align:center;margin:0 0 36px;}
body.woocommerce-shop.mw-c1-woo .woocommerce-no-products-found{display:none!important;}
.mw-c1-shop-flow{max-width:1140px;margin:0 auto;padding:28px 28px 72px;}
.mw-c1-shop-flow .woocommerce>h1,.mw-c1-shop-flow .entry-title{display:none!important;}
.mw-c1-product-body{max-width:1140px;margin:0 auto;padding:20px 28px 48px;}
.mw-c1-product .summary .product_title,.mw-c1-product .entry-title.product_title{display:none!important;}

/* ===== Grille produits ===== */
.mw-c1-shop .woocommerce ul.products,.single-product .related.products ul.products,.single-product .upsells.products ul.products,.woocommerce-cart .cross-sells ul.products,.tax-product_cat .woocommerce ul.products,.mw-c1-shop-flow .woocommerce ul.products{
display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0!important;padding:0!important;list-style:none!important;width:100%!important;}
.mw-c1-shop .woocommerce ul.products::before,.mw-c1-shop .woocommerce ul.products::after,.single-product .related.products ul.products::before,.single-product .related.products ul.products::after,.woocommerce-cart .cross-sells ul.products::before,.woocommerce-cart .cross-sells ul.products::after,.tax-product_cat .woocommerce ul.products::before,.tax-product_cat .woocommerce ul.products::after{display:none!important;content:none!important;}
.mw-c1-shop .woocommerce ul.products li.product,.single-product .related.products ul.products li.product,.single-product .upsells.products ul.products li.product,.woocommerce-cart .cross-sells ul.products li.product,.tax-product_cat .woocommerce ul.products li.product,.mw-c1-shop-flow .woocommerce ul.products li.product{
float:none!important;clear:none!important;width:100%!important;max-width:none!important;margin:0!important;
background:#15171a;border:1px solid rgba(255,255,255,.1);border-radius:16px;overflow:hidden;
display:flex!important;flex-direction:column!important;align-items:stretch!important;transition:border-color .2s,transform .2s;}
.mw-c1-shop .woocommerce ul.products li.product:hover,.single-product .related.products ul.products li.product:hover,.woocommerce-cart .cross-sells ul.products li.product:hover{border-color:rgba(255,122,0,.4);transform:translateY(-3px);}
.mw-c1-shop .woocommerce ul.products li.product a img,.single-product .related.products ul.products li.product a img,.woocommerce-cart .cross-sells ul.products li.product a img,.tax-product_cat .woocommerce ul.products li.product a img,.mw-c1-shop-flow .woocommerce ul.products li.product a img{
display:block!important;width:100%!important;height:200px!important;object-fit:contain!important;background:#fff;padding:16px;box-sizing:border-box;margin:0!important;}
.mw-c1-shop .woocommerce ul.products li.product .woocommerce-loop-product__title,.single-product .related.products ul.products li.product .woocommerce-loop-product__title,.woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title,.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,.mw-c1-shop-flow .woocommerce ul.products li.product .woocommerce-loop-product__title{
color:#fff!important;font-size:16px!important;font-weight:700!important;line-height:1.35!important;padding:14px 16px 4px!important;margin:0!important;text-align:left!important;}
.mw-c1-shop .woocommerce ul.products li.product .price,.single-product .related.products ul.products li.product .price,.woocommerce-cart .cross-sells ul.products li.product .price,.tax-product_cat .woocommerce ul.products li.product .price,.mw-c1-shop-flow .woocommerce ul.products li.product .price{
color:#ff7a00!important;font-size:15px!important;font-weight:700!important;padding:0 16px 10px!important;margin:0!important;}
.mw-c1-shop .woocommerce ul.products li.product .price del,.single-product .related.products ul.products li.product .price del{color:#888!important;}
.mw-c1-shop .woocommerce ul.products li.product .price ins,.single-product .related.products ul.products li.product .price ins{text-decoration:none;color:#ff7a00!important;}
.mw-c1-shop .woocommerce ul.products li.product .button,.single-product .related.products ul.products li.product .button,.single-product .related.products ul.products li.product a.button,.woocommerce-cart .cross-sells ul.products li.product .button,.tax-product_cat .woocommerce ul.products li.product .button,.nd_options_woo_template_single_layout-8 .related.products .add_to_cart_button,.nd_options_woo_template_archive_layout-8 .products .add_to_cart_button{
display:inline-flex!important;align-items:center;justify-content:center;align-self:flex-start!important;
margin:0 16px 16px!important;padding:10px 18px!important;border-radius:999px!important;
background:#ff7a00!important;color:#fff!important;border:0!important;font-size:12px!important;
font-weight:700!important;text-transform:uppercase;letter-spacing:.04em!important;white-space:nowrap!important;line-height:1.2!important;}
.mw-c1-shop .onsale,.single-product .onsale,.single-product .related.products .onsale{background:#ff7a00!important;color:#fff!important;border-radius:999px!important;padding:6px 10px!important;font-size:11px!important;font-weight:700!important;top:10px!important;left:10px!important;}

/* ===== Fiche produit ===== */
/* Wrapper Edile (#post-xxx) : un seul enfant mw-c1 — pas de grille ici */
.single-product [id^="post-"].product{display:block!important;width:100%!important;max-width:100%!important;float:none!important;grid-template:none!important;}
.mw-c1-product,.mw-c1-product-body{width:100%!important;max-width:100%!important;}

/* Grille compacte : galerie à gauche, achat + description empilés à droite */
.mw-c1-product-body > .product,
.mw-c1-product-body > [id^="product-"].product,
.single-product [id^="product-"].product{
display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);grid-template-areas:"gallery summary" "gallery tabs" "related related";gap:16px 28px;align-items:start;
max-width:100%!important;width:100%!important;margin:0!important;padding:0!important;
background:transparent!important;flex-wrap:unset!important;min-height:0!important;box-shadow:none!important;}

/* WooCommerce layout legacy (float 48 %) */
.single-product .woocommerce div.product div.images,
.single-product .woocommerce-product-gallery,
.single-product .woocommerce div.product div.summary,
body.woocommerce.single-product .summary.entry-summary{float:none!important;width:auto!important;max-width:none!important;clear:none!important;box-sizing:border-box!important;min-width:0!important;}
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image{width:100%!important;max-width:100%!important;}
.single-product .woocommerce-product-gallery img{width:100%!important;max-width:100%!important;object-fit:contain;}
.single-product .woocommerce-product-gallery{grid-area:gallery;background:#15171a;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:16px;position:relative!important;min-height:0!important;align-self:start!important;}
.single-product .woocommerce-product-gallery img{border-radius:10px;background:#fff;max-width:100%!important;width:auto!important;max-height:min(440px,48vh)!important;height:auto!important;display:block!important;margin:0 auto!important;object-fit:contain!important;}
.single-product .summary.entry-summary{grid-area:summary;padding:18px 20px!important;background:#15171a!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:16px!important;text-align:left!important;align-self:start!important;display:flex!important;flex-direction:column!important;gap:12px!important;}
.single-product .summary p.price{display:flex!important;flex-wrap:wrap;align-items:baseline!important;gap:8px 12px!important;margin:0!important;line-height:1.1!important;}
.single-product .summary p.price > .amount,
.single-product .summary p.price > .woocommerce-Price-amount{color:#ff7a00!important;font-size:clamp(24px,2.5vw,32px)!important;font-weight:700!important;}
.single-product .summary p.price del{float:none!important;display:inline-flex!important;align-items:baseline!important;color:#888!important;text-decoration:line-through!important;font-size:clamp(18px,2vw,24px)!important;font-weight:500!important;opacity:.9;margin:0!important;}
.single-product .summary p.price del .amount,
.single-product .summary p.price del .woocommerce-Price-amount,
.single-product .summary p.price del span,
.single-product .summary p.price del bdi{color:#888!important;font-size:inherit!important;font-weight:inherit!important;text-decoration:inherit!important;}
.single-product .summary p.price ins{float:none!important;display:inline-flex!important;align-items:baseline!important;text-decoration:none!important;color:#ff7a00!important;font-size:clamp(24px,2.5vw,32px)!important;font-weight:700!important;margin:0!important;background:none!important;}
.single-product .summary p.price ins .amount,
.single-product .summary p.price ins .woocommerce-Price-amount,
.single-product .summary p.price ins span,
.single-product .summary p.price ins bdi{color:#ff7a00!important;font-size:inherit!important;font-weight:inherit!important;text-decoration:none!important;}
.single-product .summary.entry-summary .price .woocommerce-Price-amount,
.single-product .summary.entry-summary .price .woocommerce-Price-amount .woocommerce-Price-currencySymbol{display:inline!important;}
.single-product .woocommerce-product-details__short-description,.single-product .woocommerce-product-details__short-description p{color:#d8d8d8!important;font-size:15px;line-height:1.65;margin:0!important;}
.single-product form.cart{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin:0!important;}
.single-product form.cart .quantity{align-self:flex-start!important;}
.single-product form.cart .single_add_to_cart_button{flex:none!important;width:100%!important;min-width:0!important;padding:13px 20px!important;font-size:13px!important;}
.single-product .product_meta{margin-top:24px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);color:#aaa!important;font-size:14px;}
.single-product .product_meta .posted_in,.single-product .product_meta .tagged_as{display:none!important;}
.single-product .product_meta:not(:has(.sku)){display:none!important;margin:0!important;padding:0!important;border:0!important;}
.single-product .product_meta a,.single-product .posted_in a{color:#ff7a00!important;}
.single-product .posted_in a{display:inline-block;padding:4px 12px;border:1px solid rgba(255,122,0,.5);border-radius:999px;font-size:12px;font-weight:600;margin-left:6px;}

/* Onglets / description — sous le bloc achat, colonne droite desktop */
.single-product .woocommerce-tabs{grid-area:tabs;width:100%!important;margin:0!important;padding:0!important;align-self:start!important;}
.single-product .woocommerce-tabs:has(ul.tabs > li:only-child)::before{content:"Description";display:block;color:#ff7a00!important;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin:0 0 10px;}
.single-product .woocommerce-tabs ul.tabs:has(> li:only-child){display:none!important;}
.single-product .woocommerce-tabs ul.tabs{display:flex!important;flex-wrap:wrap;margin:0!important;padding:0 12px!important;list-style:none!important;background:#1a1a1e;border:1px solid rgba(255,255,255,.1);border-bottom:0;border-radius:16px 16px 0 0;}
.single-product .woocommerce-tabs ul.tabs::before,.single-product .woocommerce-tabs ul.tabs::after,.woocommerce.woocommerce-page .product .woocommerce-tabs ul li::before,.woocommerce.woocommerce-page .product .woocommerce-tabs ul li::after{display:none!important;content:none!important;}
.single-product .woocommerce-tabs ul.tabs li a{display:block;padding:14px 20px;color:#b0b0b0!important;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.04em;text-decoration:none!important;border-bottom:2px solid transparent;}
.single-product .woocommerce-tabs ul.tabs li.active a{color:#ff7a00!important;border-bottom-color:#ff7a00!important;}
.single-product .woocommerce-Tabs-panel,.single-product .woocommerce-tabs .panel{padding:18px 20px!important;color:#d8d8d8!important;font-size:15px;line-height:1.65;background:#15171a;border:1px solid rgba(255,255,255,.1);border-radius:16px;}
.single-product .woocommerce-tabs ul.tabs:not(:has(> li:only-child)) + .woocommerce-Tabs-panel,.single-product .woocommerce-tabs ul.tabs:not(:has(> li:only-child)) ~ .panel{border-top:0;border-radius:0 0 16px 16px;}
.single-product .woocommerce-Tabs-panel h2,.single-product .woocommerce-tabs .panel h2{display:none!important;}
.single-product .woocommerce-Tabs-panel table td,.single-product .woocommerce-Tabs-panel table th{padding:12px 16px!important;border:1px solid rgba(255,255,255,.08)!important;color:#d8d8d8!important;background:#121214!important;}
.single-product .woocommerce-Tabs-panel table th{color:#fff!important;background:#1a1a1e!important;width:38%;}
.single-product .woocommerce-Tabs-panel img{max-width:100%;height:auto;border-radius:12px;background:#fff;padding:10px;box-sizing:border-box;}

/* Similaires */
.single-product .related.products,.single-product .upsells.products{grid-area:related;grid-column:1/-1!important;width:100%!important;padding:24px 0 0!important;margin:0!important;clear:both!important;}
.single-product .related.products>h2,.single-product .upsells.products>h2,.woocommerce-cart .cross-sells>h2{color:#ff7a00!important;font-size:clamp(20px,2.5vw,28px)!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.04em!important;text-align:center;margin:0 0 28px!important;}

/* ===== Panier ===== */
.mw-c1-cart .mw-c1-shop-flow,.mw-c1-checkout .mw-c1-shop-flow{padding-top:36px;}
.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals{max-width:100%;}
.woocommerce-cart table.shop_table .product-thumbnail{width:88px;}
.woocommerce-cart table.shop_table .product-name{width:auto;}
.woocommerce-cart table.shop_table .product-quantity{min-width:110px;}
.woocommerce-cart table.shop_table .product-subtotal,.woocommerce-cart table.shop_table .product-price{white-space:nowrap;}
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{color:#d8d8d8;}
.woocommerce-cart .cart-empty{text-align:center;color:#d8d8d8!important;font-size:18px;padding:40px 0 20px;}
.woocommerce-cart .return-to-shop{text-align:center;margin:0 0 40px;}
.woocommerce-cart .return-to-shop .button,.woocommerce-cart .return-to-shop a.button{background:#ff7a00!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:12px 24px!important;font-weight:700!important;text-transform:uppercase;}
.woocommerce-cart table.shop_table,.woocommerce-checkout table.shop_table,.woocommerce-checkout #order_review{background:#15171a;border:1px solid rgba(255,255,255,.1);border-radius:16px;color:#d8d8d8;border-collapse:separate;border-spacing:0;overflow:hidden;width:100%;}
.woocommerce-cart table.shop_table th,.woocommerce-checkout table.shop_table th,.woocommerce-checkout #order_review_heading{background:#1a1a1e;color:#fff!important;padding:14px 16px;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;}
.woocommerce-cart table.shop_table td,.woocommerce-checkout table.shop_table td{padding:14px 16px;border-top:1px solid rgba(255,255,255,.07);vertical-align:middle;color:#d8d8d8;}
.woocommerce-cart .product-thumbnail img{width:72px;height:72px;object-fit:contain;background:#fff;border-radius:8px;padding:4px;}
.woocommerce-cart .product-name a{color:#fff!important;font-weight:600;text-decoration:none;}
.woocommerce-cart .product-price,.woocommerce-cart .product-subtotal{color:#ff7a00!important;font-weight:700;}
.woocommerce-cart .product-remove a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:rgba(255,80,80,.12);color:#ff9999!important;text-decoration:none;}
.woocommerce-cart .actions{padding:16px!important;background:#15171a!important;}
.woocommerce-cart .coupon{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.woocommerce-cart .coupon label{display:none;}
.woocommerce-cart .coupon .input-text,.woocommerce-checkout .form-row input.input-text,.woocommerce-checkout .form-row textarea,.woocommerce-checkout .form-row select,.woocommerce-checkout .select2-container--default .select2-selection--single{background:#1a1a1e!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:10px!important;color:#fff!important;padding:12px 14px!important;font-size:15px!important;min-height:46px;box-sizing:border-box;}
.woocommerce-cart .coupon .input-text{flex:1;min-width:160px;}
.woocommerce-cart .actions .button,.woocommerce-cart .coupon .button,.woocommerce-checkout .button,.woocommerce a.button,.woocommerce button.button{background:#ff7a00!important;color:#fff!important;border-radius:999px!important;border:0!important;padding:11px 20px!important;font-weight:700!important;text-transform:uppercase;font-size:12px!important;}
.woocommerce-cart .cart-collaterals{margin-top:32px;display:flex;flex-wrap:wrap;gap:28px;justify-content:space-between;}
.woocommerce-cart .cart_totals{flex:0 1 400px;background:#15171a;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:22px 24px;margin-left:auto;}
.woocommerce-cart .cart_totals h2{color:#fff!important;font-size:18px;font-weight:800;margin:0 0 14px;text-transform:uppercase;}
.woocommerce-cart .cart_totals .order-total .amount{color:#ff7a00!important;font-size:22px;font-weight:800;}
.woocommerce-cart .wc-proceed-to-checkout{padding:14px 0 0;}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button{display:flex!important;width:100%!important;justify-content:center;padding:14px 20px!important;}
.woocommerce-cart .cross-sells{flex:1 1 100%;padding-top:28px;border-top:1px solid rgba(255,255,255,.08);}

/* ===== Quantité — stepper +/- visible ===== */
.mw-c1-woo .quantity.mw-qty-stepper{display:inline-flex!important;align-items:stretch!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:8px!important;overflow:hidden;background:#1a1a1e!important;vertical-align:middle;}
.mw-c1-woo .quantity.mw-qty-stepper .qty{width:52px!important;min-width:52px!important;max-width:52px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#fff!important;text-align:center!important;padding:10px 4px!important;font-size:15px!important;font-weight:600!important;-moz-appearance:textfield!important;appearance:textfield!important;box-shadow:none!important;}
.mw-c1-woo .quantity.mw-qty-stepper .qty::-webkit-outer-spin-button,.mw-c1-woo .quantity.mw-qty-stepper .qty::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;display:none!important;}
.mw-c1-woo .mw-qty-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;min-width:38px!important;border:0!important;background:#2a2a2e!important;color:#fff!important;font-size:20px!important;font-weight:700!important;line-height:1!important;cursor:pointer!important;padding:0!important;transition:background .15s,color .15s!important;}
.mw-c1-woo .mw-qty-btn:hover:not(:disabled){background:#ff7a00!important;color:#fff!important;}
.mw-c1-woo .mw-qty-btn:disabled{opacity:.35!important;cursor:not-allowed!important;}
.mw-c1-woo .quantity:not(.mw-qty-stepper) .qty{background:#1a1a1e!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;border-radius:8px!important;padding:10px!important;text-align:center!important;color-scheme:dark!important;}

/* ===== Checkout v5 — layout optimisé ===== */
.mw-c1-checkout .mw-c1-shop-flow{padding-top:28px;}
.mw-c1-checkout .woocommerce-form-coupon-toggle .woocommerce-info{background:#15171a!important;border:1px solid rgba(255,255,255,.1)!important;border-left:4px solid #ff7a00!important;border-radius:12px!important;color:#e8e8e8!important;margin:0 0 20px!important;padding:14px 18px!important;}
.mw-c1-checkout .woocommerce-form-coupon-toggle a{color:#ff7a00!important;font-weight:600;text-decoration:none;}
.mw-c1-checkout .checkout_coupon,.mw-c1-checkout .woocommerce-form-coupon{background:#15171a;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:18px 20px;margin:0 0 20px;}

/* Grille principale : formulaire | récap commande */
.mw-c1-checkout form.checkout{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(300px,420px)!important;grid-template-areas:"details review"!important;gap:24px 32px!important;align-items:start!important;max-width:100%!important;}
.mw-c1-checkout #customer_details{grid-area:details!important;margin:0!important;width:100%!important;float:none!important;}
.mw-c1-checkout #order_review_heading{display:none!important;}
.mw-c1-checkout #order_review{grid-area:review!important;margin:0!important;position:sticky!important;top:96px!important;padding:20px 22px!important;background:#15171a;border:1px solid rgba(255,255,255,.1);border-radius:16px;}
.mw-c1-checkout #order_review::before{content:"Votre commande";display:block;color:#ff7a00!important;font-size:17px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;margin:0 0 10px;}
.mw-c1-checkout #order_review::after{content:"";display:block;width:44px;height:3px;background:#ff7a00;border-radius:2px;margin:0 0 18px;}

/* Facturation + notes : une seule carte empilée (plus de vide latéral) */
.mw-c1-checkout #customer_details.col2-set{display:flex!important;flex-direction:column!important;gap:0!important;grid-template-columns:unset!important;margin-bottom:0!important;float:none!important;width:100%!important;}
.mw-c1-checkout #customer_details .col-1,.mw-c1-checkout #customer_details .col-2{float:none!important;width:100%!important;max-width:100%!important;background:#15171a!important;border:1px solid rgba(255,255,255,.1)!important;padding:20px 22px!important;box-sizing:border-box!important;}
.mw-c1-checkout #customer_details .col-1{border-radius:16px 16px 0 0!important;border-bottom:0!important;}
.mw-c1-checkout #customer_details .col-2{border-radius:0 0 16px 16px!important;border-top:1px solid rgba(255,255,255,.08)!important;padding-top:16px!important;}
.mw-c1-checkout #customer_details .col-2 .woocommerce-additional-fields h3{font-size:13px!important;margin:0 0 12px!important;letter-spacing:.04em;color:#ff7a00!important;}
.mw-c1-checkout .woocommerce-billing-fields h3{margin:0 0 14px!important;}
.mw-c1-checkout .woocommerce-checkout #customer_details h3{color:#ff7a00!important;font-size:16px!important;font-weight:800!important;margin:0 0 14px!important;text-transform:uppercase;letter-spacing:.03em;}
.mw-c1-checkout .woocommerce-checkout #customer_details h3::after{display:none!important;content:none!important;}
.mw-c1-checkout .woocommerce-checkout .form-row{margin:0 0 12px!important;padding:0!important;}
.mw-c1-checkout .woocommerce-checkout .form-row-first,.mw-c1-checkout .woocommerce-checkout .form-row-last{width:calc(50% - 8px)!important;float:left!important;}
.mw-c1-checkout .woocommerce-checkout .form-row-first{margin-right:16px!important;}
.mw-c1-checkout .woocommerce-checkout .form-row-wide,.mw-c1-checkout .woocommerce-checkout .form-row.clear{clear:both!important;width:100%!important;float:none!important;}
.mw-c1-checkout .woocommerce-checkout .form-row label{color:#e8e8e8!important;font-size:13px!important;font-weight:600;margin-bottom:5px!important;display:block;}
.mw-c1-checkout .woocommerce-checkout .form-row .required{color:#ff7a00!important;}
.mw-c1-checkout .woocommerce-checkout .form-row input.input-text,.mw-c1-checkout .woocommerce-checkout .form-row textarea,.mw-c1-checkout .woocommerce-checkout .form-row select,.mw-c1-checkout .woocommerce-checkout .select2-container--default .select2-selection--single{background:#1a1a1e!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:10px!important;color:#fff!important;padding:11px 13px!important;font-size:14px!important;min-height:44px;box-sizing:border-box;}

.mw-c1-checkout #customer_details .col-2 .form-row{margin-bottom:0!important;}
.mw-c1-checkout #customer_details .col-2 textarea{min-height:88px!important;resize:vertical;}

.mw-c1-checkout #payment ul.payment_methods,.mw-c1-checkout #payment .woocommerce-info,.mw-c1-checkout #payment .woocommerce-error,.mw-c1-checkout #payment .woocommerce-message{display:none!important;}
.mw-c1-checkout .mw-c1-pay-note{margin:0 0 14px;padding:12px 14px;background:#1a1a1e;border:1px solid rgba(255,122,0,.25);border-radius:10px;color:#d8d8d8;font-size:13px;line-height:1.55;}
.mw-c1-checkout #payment{background:transparent;border:0;padding:0;margin-top:14px;}
.mw-c1-checkout #payment ul.payment_methods{border-bottom:1px solid rgba(255,255,255,.08)!important;padding:0 0 12px!important;margin:0 0 12px!important;list-style:none;}
.mw-c1-checkout #payment ul.payment_methods li{color:#d8d8d8!important;padding:6px 0!important;margin:0!important;}
.mw-c1-checkout #payment div.payment_box{background:#121214!important;color:#d8d8d8!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:10px!important;padding:12px!important;margin:8px 0 0!important;}
.mw-c1-checkout #payment div.payment_box::before{display:none!important;}
.mw-c1-checkout .woocommerce-privacy-policy-text,.mw-c1-checkout .woocommerce-terms-and-conditions-wrapper{display:none!important;}
.mw-c1-checkout #place_order{width:100%!important;padding:14px 18px!important;margin-top:8px!important;}

/* Récap — liste produits compacte, un seul total */
.mw-c1-checkout .woocommerce-checkout-review-order-table{border:0!important;background:transparent!important;box-shadow:none!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table thead{display:none!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tbody tr.cart_item{display:flex!important;justify-content:space-between;align-items:flex-start;gap:12px;padding:11px 0!important;border-bottom:1px solid rgba(255,255,255,.07)!important;background:transparent!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tbody tr.cart_item td{display:block!important;padding:0!important;border:0!important;background:transparent!important;width:auto!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tbody .product-name{flex:1 1 auto!important;color:#fff!important;font-size:14px!important;line-height:1.45!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tbody .product-quantity{color:#aaa!important;font-weight:500;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tbody .product-total{flex:0 0 auto!important;color:#ff7a00!important;font-weight:700!important;font-size:14px!important;white-space:nowrap!important;text-align:right!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal{display:none!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr{display:flex!important;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px!important;margin-top:8px!important;background:#121214!important;border:1px solid rgba(255,122,0,.35)!important;border-radius:12px!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr th,.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr td{display:block!important;padding:0!important;border:0!important;background:transparent!important;width:auto!important;color:#fff!important;font-size:16px!important;font-weight:800!important;text-transform:uppercase;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr .amount{color:#ff7a00!important;font-size:22px!important;font-weight:800!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr.shipping th,.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr.fee th,.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr.tax-rate th{font-size:13px!important;font-weight:600!important;text-transform:none!important;color:#d8d8d8!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr.shipping,.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr.fee,.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr.tax-rate{background:#1a1a1e!important;border-color:rgba(255,255,255,.08)!important;margin-top:6px!important;padding:10px 14px!important;}
.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr.shipping td,.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr.fee td,.mw-c1-checkout .woocommerce-checkout-review-order-table tfoot tr.tax-rate td{font-size:14px!important;font-weight:600!important;color:#e8e8e8!important;}

/* Overrides Edile sur le tableau checkout */
.woocommerce-checkout.checkout #order_review .shop_table.woocommerce-checkout-review-order-table,
.woocommerce-checkout.checkout #order_review .shop_table.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout.checkout #order_review .shop_table.woocommerce-checkout-review-order-table tfoot{background:transparent!important;border:0!important;}
.woocommerce-checkout.checkout #order_review .shop_table.woocommerce-checkout-review-order-table tbody td{background:transparent!important;}

.mw-c1-checkout .select2-container--default .select2-selection--single{background:#1a1a1e!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:10px!important;min-height:44px!important;}
.mw-c1-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{color:#fff!important;line-height:42px!important;padding-left:13px!important;}
.mw-c1-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px!important;filter:invert(1) brightness(1.4);}
.mw-c1-checkout .select2-dropdown{background:#1a1a1e!important;border:1px solid rgba(255,255,255,.15)!important;color:#fff!important;}
.mw-c1-checkout .select2-container--default .select2-results__option--highlighted[aria-selected]{background:#ff7a00!important;color:#fff!important;}
.mw-c1-checkout .select2-container--default .select2-search--dropdown .select2-search__field{background:#121214!important;border:1px solid rgba(255,255,255,.15)!important;color:#fff!important;border-radius:8px!important;}

/* Legacy checkout rules (panier / fallback) */
.woocommerce-checkout .woocommerce{color:#d8d8d8;}
.woocommerce-checkout form.checkout{max-width:100%;}
.woocommerce-checkout .button,.woocommerce-checkout #place_order{background:#ff7a00!important;color:#fff!important;border-radius:999px!important;border:0!important;font-weight:700!important;text-transform:uppercase;}

/* Total panier — correction Edile */
.woocommerce-cart .cart-collaterals .cart_totals table,
.woocommerce-cart .cart-collaterals .cart_totals table thead,
.woocommerce-cart .cart-collaterals .cart_totals table tbody,
.woocommerce-cart .cart-collaterals .cart_totals table tfoot{background:transparent!important;background-color:transparent!important;border-color:rgba(255,255,255,.08)!important;}
.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td{background:#1a1a1e!important;color:#d8d8d8!important;border-color:rgba(255,255,255,.08)!important;}
.woocommerce-cart .cart-collaterals .cart_totals table tr.cart-subtotal{display:none!important;}
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total th,
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total td{background:#121214!important;border-top:2px solid rgba(255,122,0,.35)!important;color:#fff!important;}
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total .amount{color:#ff7a00!important;font-size:22px!important;font-weight:800!important;}

/* ===== Notices ===== */
.woocommerce-notices-wrapper{max-width:1140px;margin:0 auto;padding:0 28px;}
.woocommerce-message,.woocommerce-info,.woocommerce-error{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px 16px!important;max-width:1140px;margin:16px auto!important;padding:14px 18px 14px 48px!important;border-radius:12px!important;color:#e8e8e8!important;background:#15171a!important;border:1px solid rgba(255,255,255,.12)!important;border-left:4px solid #ff7a00!important;list-style:none!important;position:relative!important;}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{position:absolute!important;left:16px!important;top:50%!important;transform:translateY(-50%)!important;color:#ff7a00!important;}
.woocommerce-message .button{margin-left:auto!important;padding:8px 16px!important;font-size:12px!important;white-space:nowrap!important;}

/* ===== Catégorie ===== */
.tax-product_cat .woocommerce-products-header,.tax-product_cat .term-description{max-width:820px;margin:0 auto;padding:32px 28px 0;color:#d8d8d8;text-align:center;}
.tax-product_cat .woocommerce-products-header h1{color:#fff!important;font-size:clamp(26px,3vw,38px);font-weight:800;text-transform:uppercase;}
.tax-product_cat .woocommerce ul.products{max-width:1140px;margin:0 auto;padding:24px 28px 72px;}

/* ===== Responsive ===== */
@media(max-width:1024px){
.mw-c1-shop .woocommerce ul.products,.single-product .related.products ul.products,.tax-product_cat .woocommerce ul.products,.woocommerce-cart .cross-sells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:768px){
.mw-c1-product-body > .product,.mw-c1-product-body > [id^="product-"].product,.single-product [id^="product-"].product{grid-template-columns:1fr!important;grid-template-areas:"gallery" "summary" "tabs" "related";gap:16px;}
.mw-c1-shop .woocommerce ul.products,.single-product .related.products ul.products{grid-template-columns:1fr!important;}
.mw-c1-checkout form.checkout{grid-template-columns:1fr!important;grid-template-areas:"details" "review"!important;}
.mw-c1-checkout #order_review{position:static!important;top:auto!important;}
.mw-c1-checkout .woocommerce-checkout .form-row-first,.mw-c1-checkout .woocommerce-checkout .form-row-last{width:100%!important;float:none!important;margin-right:0!important;}
.mw-c1-shop-flow,.mw-c1-product-body{padding-left:20px;padding-right:20px;padding-bottom:40px;}
.mw-c1-hero--shop,.mw-c1-shop .mw-c1-hero--shop,.mw-c1-shop-flow-page .mw-c1-hero--shop{
  min-height:clamp(240px,36vh,300px)!important;
  max-height:300px!important;
  background-position:50% 38%!important;
}
.mw-c1-hero--shop::after,.mw-c1-shop .mw-c1-hero--shop::after,.mw-c1-shop-flow-page .mw-c1-hero--shop::after{
  background:linear-gradient(180deg,rgba(10,10,10,.94) 0%,rgba(10,10,10,.82) 42%,rgba(10,10,10,.45) 72%,rgba(10,10,10,.2) 100%)!important;
}
.mw-c1-hero--shop .mw-c1-hero__inner,.mw-c1-shop .mw-c1-hero--shop .mw-c1-hero__inner{padding:0 20px!important;}
.mw-c1-shop-flow-page .mw-c1-hero.mw-c1-hero--compact{
  min-height:clamp(200px,32vh,260px)!important;
  max-height:260px!important;
  background-position:50% 35%!important;
}
.single-product .woocommerce-product-gallery img{max-height:min(360px,55vh)!important;}
.woocommerce-cart .cart_totals{flex:1 1 100%;margin-left:0;}
.woocommerce-cart .coupon{flex-direction:column;align-items:stretch;}
.woocommerce-message .button{margin-left:0!important;width:100%;justify-content:center;}
}
