/* Native WooCommerce Cart/Checkout blocks and classic forms remain intact. */
.mpe-cart-link{color:inherit;text-decoration:none}
body.mpe-commerce{background:#f6f2ec;color:#282824;font-family:'DM Sans',sans-serif;--theme-text-color:#282824;--theme-border-color:#d9cdc3;--theme-link-initial-color:#76665e;--theme-link-hover-color:#a7676d;--theme-button-background-initial-color:#76665e;--theme-button-background-hover-color:#51463f;--theme-button-text-initial-color:#fff;--theme-button-border-radius:0px}
.mpe-commerce :is(h1,h2,h3,.wc-block-cart__totals-title,.wc-block-components-checkout-step__title){font-family:'MuseoModerno',sans-serif;font-weight:500;letter-spacing:-.025em;color:#282824}
.mpe-commerce h1{font-size:clamp(30px,4vw,48px)}
.mpe-commerce :is(h2,h3){font-size:clamp(18px,2vw,25px)}
.mpe-commerce-nav{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 32px;padding-bottom:18px;border-bottom:1px solid #d9cdc3;font-size:13px}
.mpe-commerce-nav a{color:#76665e;text-decoration:none}
.mpe-commerce-nav .mpe-cart-count{display:inline-block;min-width:22px;text-align:center;border-radius:50%;background:#e7ddd2;color:#282824;margin-left:5px}
.mpe-commerce :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout){font-family:'DM Sans',sans-serif;font-size:14px;--wc-form-border-color:#b8a99d;--wc-form-border-radius:2px;--wc-form-color-text:#282824;--wc-form-color-background:#fffdf9}
.mpe-commerce :is(.wc-block-components-sidebar,.cart_totals,#order_review){background:#eee6dd;padding:clamp(18px,3vw,32px);border:1px solid #d9cdc3;border-radius:0;box-shadow:none}
.mpe-commerce :is(.wc-block-cart-items,.shop_table){border-color:#d9cdc3}
.mpe-commerce :is(.wc-block-cart-items__row,.wc-block-components-totals-wrapper){border-color:#d9cdc3}
.mpe-commerce .wc-block-components-button:not(:disabled){background:#76665e;color:#fff;border-radius:0;transition:background .2s}
.mpe-commerce .wc-block-components-button:not(:disabled):hover{background:#51463f}
.mpe-commerce :is(.wc-block-cart-item__remove-link,.product-remove a){color:#76665e}
.mpe-commerce :is(.wc-block-cart__empty-cart__title,.cart-empty){text-align:center;padding-block:35px}
.mpe-commerce .wc-block-cart-item__image img{object-fit:contain}
.mpe-commerce :is(a,button,input,select):focus-visible{outline:2px solid #76665e;outline-offset:3px}
@media(max-width:767px){.mpe-commerce-nav{margin-bottom:24px}.mpe-commerce :is(.wc-block-components-sidebar,.cart_totals,#order_review){padding:20px}.mpe-commerce :is(.wc-block-cart,.wc-block-checkout){max-width:100%}}
@media(prefers-reduced-motion:reduce){.mpe-commerce .wc-block-components-button{transition:none}}

/* Shared frame: homepage header kept solid, as no dark Hero sits behind it here. */
body.mpe-commerce .mpe-v43-page .header{color:#302c2a}
body.mpe-commerce .mpe-v43-page .header:before{opacity:1}
.mpe-commerce-main{padding-top:104px;min-height:60vh}
.mpe-commerce-main .hero-section,.mpe-commerce-main .entry-header{margin:0;padding:0;background:none;text-align:left}
.mpe-commerce-main .hero-section{--min-height:0;display:block;min-height:0;height:auto;max-width:1560px;margin:auto;padding:clamp(34px,4.5vw,64px) clamp(22px,5vw,80px) clamp(24px,3vw,40px)}
.mpe-commerce-main .ct-container-full .hero-section{width:100%;max-width:none;margin:0;padding-inline:0}
.mpe-commerce-main .hero-section .entry-header{display:block;min-height:0;max-width:none;width:auto}
.mpe-commerce .page-title{margin:0;text-align:left;font:500 clamp(38px,4.2vw,64px)/1.12 'MuseoModerno',sans-serif;letter-spacing:-.035em;color:#282824}
.mpe-commerce-main .ct-container,.mpe-commerce-main .ct-container-full{width:100%;max-width:1560px;margin:auto;padding-inline:clamp(22px,5vw,80px)}
.mpe-commerce-main .ct-container-full>article,.mpe-commerce-main .entry-content{width:100%;max-width:none}
.mpe-commerce-main .entry-content>.woocommerce{width:100%;max-width:none}

/* Shared controls for the native forms. */
.mpe-commerce-main .button,.mpe-commerce-main button[type=submit]{min-height:50px;padding:15px 25px;border:1px solid #282824;border-radius:0;background:#282824;color:#fff;font:500 11px/1.5 'DM Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;transition:background .25s,border-color .25s}
.mpe-commerce-main .button:hover,.mpe-commerce-main button[type=submit]:hover{border-color:#a7676d;background:#a7676d;color:#fff}
.mpe-commerce-main :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],select,textarea,.select2-selection){min-height:50px;border:1px solid #b8a99d;border-radius:0;background:#fffdf9;color:#282824;font:400 14px 'DM Sans',sans-serif;box-shadow:none}
.mpe-commerce-main :is(input,select,textarea):focus{border-color:#76665e}
.mpe-commerce-main .form-row label{margin-bottom:7px;font-size:12px;letter-spacing:.04em;color:#5f5650}
.mpe-commerce-main :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){margin:0 0 24px;padding:16px 20px;border:1px solid #d9cdc3;border-radius:0;background:#eee6dd;color:#282824;font-size:14px;list-style:none}
.mpe-commerce-main .woocommerce-info:before,.mpe-commerce-main .woocommerce-message:before,.mpe-commerce-main .woocommerce-error:before{display:none}

/* Empty cart counter stays hidden until WooCommerce reports an item. */
.mpe-cart-count[hidden]{display:none!important}

/* Editorial pages, including the legal texts. */
.mpe-editorial-page .mpe-commerce-main .entry-content{max-width:760px;padding-bottom:clamp(60px,7vw,110px);font-size:15px;line-height:1.9;color:#282824}
.mpe-editorial-page .mpe-commerce-main .entry-content :is(h2,h3){margin:44px 0 12px;font:500 clamp(22px,2.2vw,30px)/1.25 'MuseoModerno',sans-serif;letter-spacing:-.03em;color:#282824}
.mpe-editorial-page .mpe-commerce-main .entry-content :is(h2,h3):first-child{margin-top:0}
.mpe-editorial-page .mpe-commerce-main .entry-content a{color:#76665e}

/* Shop: native catalogue, three large columns. */
.mpe-commerce-main .woo-listing-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 clamp(24px,3vw,40px);padding-bottom:16px;border-bottom:1px solid #d9cdc3;font-size:13px;color:#5f5650}
.mpe-commerce-main .woo-listing-top :is(p,form){margin:0}
.mpe-commerce-main .woo-listing-top select{min-height:42px;width:auto;border:0;background-color:transparent}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(36px,4vw,64px) clamp(22px,3vw,44px);margin:0 0 clamp(60px,7vw,110px);padding:0;list-style:none}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products li.product{display:flex;flex-direction:column;align-items:flex-start;width:auto;margin:0;padding:0;text-align:left}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products figure{width:100%;margin:0 0 18px;background:#eee6dd;overflow:hidden}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products .ct-media-container{display:block;width:100%;aspect-ratio:4/5}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products .ct-media-container img{position:absolute;inset:0;width:100%;height:100%;padding:9%;object-fit:contain;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products li.product:hover .ct-media-container img{transform:scale(1.035)}
:is(.mpe-commerce-main,.mpe-recommendations) .woocommerce-loop-product__title{margin:0 0 6px;font:500 clamp(21px,1.8vw,27px)/1.25 'MuseoModerno',sans-serif;letter-spacing:-.03em}
:is(.mpe-commerce-main,.mpe-recommendations) .woocommerce-loop-product__title a{color:#282824;text-decoration:none}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products .price{display:block;margin:0 0 6px;font:400 16px/1.4 'DM Sans',sans-serif;color:#a7676d}
.mpe-price-note{display:block;margin-top:3px;font:400 11px/1.4 'DM Sans',sans-serif;letter-spacing:.02em;color:#766c66}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products .entry-meta{order:-1;margin:0 0 8px;padding:0;list-style:none;font-size:10px;letter-spacing:.14em;text-transform:uppercase}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products figure{order:-2}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products .entry-meta li{margin:0}
:is(.mpe-commerce-main,.mpe-recommendations) ul.products .entry-meta a{color:#766c66;text-decoration:none}
:is(.mpe-commerce-main,.mpe-recommendations) .ct-woo-card-actions{width:auto;margin-top:12px;opacity:1;visibility:visible;transform:none}
:is(.mpe-commerce-main,.mpe-recommendations) .mpe-loop-link{min-height:0;padding:0 0 5px;border:0;border-bottom:1px solid #b8a99d;background:none;color:#282824;font-size:10px}
:is(.mpe-commerce-main,.mpe-recommendations) .mpe-loop-link:hover{border-color:#a7676d;background:none;color:#a7676d}

/* Product page recommendations reuse the shop cards. */
.mpe-product .mpe-recommendations{margin-top:clamp(56px,7vw,100px);padding-top:clamp(36px,4vw,60px);border-top:1px solid var(--mpe-line)}
.mpe-product .mpe-recommendations>h2{margin-bottom:clamp(24px,3vw,40px)}
.mpe-recommendations ul.products{margin-bottom:0}

/* Shop page: the homepage cards section (v43.css), its title as the page heading. */
body.mpe-v43 .mpe-shop-page .mpe-pc-head h1{margin:8px 0 0;font:500 clamp(42px,5vw,76px)/1 'MuseoModerno',sans-serif;letter-spacing:-.055em;color:#302b29}
body.mpe-v43 .mpe-shop-page .mpe-pc{padding-top:clamp(40px,5vw,72px)}

/* Cart and checkout: classic WooCommerce forms. */
.mpe-commerce-main .woocommerce-cart-form{margin-bottom:40px}
.mpe-commerce-main table.shop_table{width:100%;margin:0 0 24px;border:0;border-collapse:collapse;background:none}
.mpe-commerce-main table.shop_table :is(th,td){padding:16px 10px 16px 0;border:0;border-bottom:1px solid #d9cdc3;background:none;text-align:left;font-size:14px;font-weight:400;color:#282824}
.mpe-commerce-main table.shop_table thead th{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#766c66}
.mpe-commerce-main table.shop_table img{width:80px;height:auto;background:#eee6dd}
/* Cart photo: one full square, never cropped or overflowing its cell. */
.mpe-commerce-main table.shop_table .product-thumbnail{width:96px}
.mpe-commerce-main table.shop_table .product-thumbnail :is(a,.ct-media-container){display:block;width:80px;aspect-ratio:1/1;overflow:hidden;background:#eee6dd}
.mpe-commerce-main table.shop_table .product-thumbnail img{display:block;width:80px!important;height:80px!important;max-width:none;aspect-ratio:1/1;object-fit:cover}
.mpe-commerce-main table.shop_table .product-thumbnail img:not(.mpe-cart-photo){object-fit:contain}
.mpe-commerce-main table.shop_table a{color:#282824;text-decoration:none}
.mpe-commerce-main .cart_totals h2,.mpe-commerce-main #order_review_heading,.mpe-commerce-main .woocommerce-billing-fields h3,.mpe-commerce-main .woocommerce-additional-fields h3,.mpe-commerce-main .woocommerce-shipping-fields h3{margin:0 0 20px;font:500 clamp(21px,2vw,27px)/1.25 'MuseoModerno',sans-serif;letter-spacing:-.03em}
.mpe-commerce-main .return-to-shop{margin:0}
.mpe-commerce-main .coupon{display:flex;flex-wrap:wrap;gap:10px}
.mpe-commerce-main #payment{border-radius:0;background:none}
.mpe-commerce-main #payment ul.payment_methods{padding:0 0 16px;border-bottom:1px solid #d9cdc3}
.mpe-commerce-main #payment .place-order{padding:18px 0 0}
@media(min-width:1000px){.mpe-commerce-main form.checkout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:0 clamp(40px,6vw,90px);align-items:start}.mpe-commerce-main #customer_details{grid-row:1/3;width:auto}.mpe-commerce-main #customer_details>*{float:none;width:100%}}

/* Account. */
.mpe-commerce-main .ct-woo-unauthorized{max-width:460px;margin-bottom:clamp(60px,7vw,110px)}
.mpe-commerce-main .ct-woo-unauthorized h2,.mpe-commerce-main .woocommerce-MyAccount-content h2,.mpe-commerce-main .woocommerce-MyAccount-content h3{margin:0 0 20px;font:500 clamp(22px,2vw,28px)/1.25 'MuseoModerno',sans-serif;letter-spacing:-.03em}
.mpe-commerce-main form.login{margin:0;padding:0;border:0;border-radius:0}
.mpe-commerce-main .lost_password a,.mpe-commerce-main .woocommerce-MyAccount-content a:not(.button){color:#76665e}
.mpe-commerce-main .woocommerce-MyAccount-navigation ul{margin:0;padding:0;list-style:none}
.mpe-commerce-main .woocommerce-MyAccount-navigation li{margin:0;border-bottom:1px solid #d9cdc3}
.mpe-commerce-main .woocommerce-MyAccount-navigation a{display:block;padding:13px 0;font-size:14px;color:#282824;text-decoration:none}
.mpe-commerce-main .woocommerce-MyAccount-navigation .is-active a{color:#a7676d}
.mpe-commerce-main .woocommerce-MyAccount-content{font-size:15px;line-height:1.8}

@media(max-width:999px){:is(.mpe-commerce-main,.mpe-recommendations) ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.mpe-commerce-main{padding-top:78px}}
@media(max-width:767px){.mpe-commerce-main .hero-section,.mpe-commerce-main .ct-container,.mpe-commerce-main .ct-container-full{padding-inline:18px}}
@media(max-width:560px){:is(.mpe-commerce-main,.mpe-recommendations) ul.products{grid-template-columns:minmax(0,1fr)}.mpe-commerce-main .woo-listing-top{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){:is(.mpe-commerce-main,.mpe-recommendations) ul.products .ct-media-container img,.mpe-commerce-main .button{transition:none}}
/* "Vous aimerez aussi": the same square in-situ photographs as the homepage cards. */
.mpe-recommendations ul.products figure{border-radius:14px}
.mpe-recommendations ul.products .ct-media-container{aspect-ratio:1/1}
.mpe-recommendations ul.products .ct-media-container img.mpe-reco-photo{padding:0;object-fit:cover}
@media(min-width:561px){.mpe-recommendations ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(28px,3vw,44px) clamp(14px,2vw,28px)}}
@media(min-width:561px) and (max-width:999px){.mpe-recommendations .woocommerce-loop-product__title{font-size:19px}.mpe-recommendations ul.products .price{font-size:14.5px}}
/* Phones: a compact list, photo on the left, name, price and link on the right. */
@media(max-width:560px){
.mpe-recommendations ul.products{gap:14px}
.mpe-recommendations ul.products li.product{display:grid;grid-template-columns:112px minmax(0,1fr);grid-auto-rows:min-content;column-gap:16px;align-content:center;align-items:start;padding-bottom:14px;border-bottom:1px solid var(--mpe-line,rgba(60,48,43,.12))}
.mpe-recommendations ul.products li.product:last-child{padding-bottom:0;border-bottom:0}
.mpe-recommendations ul.products figure{grid-column:1;grid-row:1/span 5;margin:0;border-radius:12px}
.mpe-recommendations ul.products li.product>:not(figure){grid-column:2}
.mpe-recommendations ul.products .entry-meta{margin:2px 0 4px;font-size:9.5px}
.mpe-recommendations .woocommerce-loop-product__title{margin:0 0 3px;font-size:19px}
.mpe-recommendations ul.products .price{margin:0 0 2px;font-size:14px}
.mpe-recommendations ul.products .mpe-price-note{display:none}
.mpe-recommendations .ct-woo-card-actions{margin-top:6px}
}
/* "Vous aimerez aussi": pill button of the homepage cards, aligned at the bottom of every card. */
.mpe-recommendations ul.products li.product .ct-woo-card-actions{display:block;width:100%;margin-top:auto;padding-top:16px}
.mpe-recommendations ul.products .mpe-reco-cta{display:flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;width:100%;min-height:46px;padding:0 20px;border:1px solid #302b29;border-radius:999px;background:#302b29;color:#f6f2ec;font:600 13px/1 'DM Sans',sans-serif;letter-spacing:.01em;text-decoration:none;transition:background .25s,border-color .25s,color .25s}
.mpe-recommendations ul.products .mpe-reco-cta b{font-weight:400;transition:transform .25s}
.mpe-recommendations ul.products .mpe-reco-cta:hover{border-color:#a7676d;background:#a7676d;color:#fff}
.mpe-recommendations ul.products .mpe-reco-cta:hover b{transform:translate(2px,-2px)}
.mpe-recommendations ul.products .mpe-reco-cta:focus-visible{outline:2px solid #302b29;outline-offset:3px}
@media(max-width:560px){.mpe-recommendations ul.products li.product .ct-woo-card-actions{margin-top:0;padding-top:8px}.mpe-recommendations ul.products .mpe-reco-cta{display:inline-flex;width:auto;min-height:40px;padding:0 18px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.mpe-recommendations ul.products .mpe-reco-cta,.mpe-recommendations ul.products .mpe-reco-cta b{transition:none}}
/* Boxtal relay points: chosen point in the order summary, and the map window, in the shop's colours. */
.mpe-commerce .bw-parcel-point{display:block;margin-top:12px;padding:14px 16px;border:1px solid #d9cdc3;background:#f6f2ec;font-size:13px;line-height:1.6}
.mpe-commerce .bw-parcel-point small{font-size:12px;color:#5f5650}
.mpe-commerce .bw-select-parcel{display:inline-block;margin-top:8px;font-weight:600;color:#282824;text-underline-offset:3px}
.mpe-commerce .bw-select-parcel:hover{color:#a7676d}
.mpe-commerce .bw-select-parcel:focus-visible{outline:2px solid #76665e;outline-offset:3px}
.mpe-commerce #bw-map{background:#f6f2ec;border-radius:14px;box-shadow:0 24px 70px rgba(40,34,30,.35);font-family:'DM Sans',sans-serif}
.mpe-commerce #bw-map #bw-map-inner{background:#f6f2ec}
.mpe-commerce #bw-map #bw-map-inner #bw-map-container #bw-map-canvas{border-radius:8px}
.mpe-commerce #bw-map #bw-map-inner #bw-pp-container{font-family:'DM Sans',sans-serif}
.mpe-commerce #bw-map #bw-map-inner #bw-pp-container table td{border-color:#d9cdc3;background:none;color:#5f5650}
.mpe-commerce #bw-map #bw-map-inner #bw-pp-container table td a{color:#282824;font-weight:600;text-decoration:none}
.mpe-commerce #bw-map .bw-marker:not(.bw-marker-recipient){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='35' viewBox='0 0 28 35'%3E%3Cpath d='M14 35C9 27 1 22 1 14a13 13 0 0 1 26 0c0 8-8 13-13 21Z' fill='%238f4f56'/%3E%3C/svg%3E");background-repeat:no-repeat;font:600 12px/1 'DM Sans',sans-serif;padding-top:8px}
.mpe-commerce #bw-map #bw-map-inner .bw-parcel-point-button{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:10px 12px;border:1px solid #302b29;border-radius:999px;background:#302b29;color:#f6f2ec!important;font:600 12px/1.2 'DM Sans',sans-serif;text-align:center;text-decoration:none;transition:background .25s,border-color .25s}
.mpe-commerce #bw-map #bw-map-inner .bw-parcel-point-button:hover{border-color:#a7676d;background:#a7676d}
@media(max-width:767px){.mpe-commerce #bw-map #bw-map-inner .bw-close{top:-14px;right:-10px}.mpe-commerce #bw-map .maplibregl-popup{max-width:200px!important}.mpe-commerce #bw-map .maplibregl-popup-content{padding:12px;font-size:12px;line-height:1.5}.mpe-commerce #bw-map .bw-marker-popup{width:auto}}
.mpe-commerce .mpe-pickup-note,.mpe-commerce-main .mpe-pickup-note{margin:6px 0 0;color:#5f5650;font-size:13px;line-height:1.45}
