/*
Theme Name: Miodeal Marketplace
Theme URI: https://miodeal.invalid
Author: Miodeal
Description: Professional, responsive light-themed WooCommerce storefront for Miodeal. Spain/Portugal-ready display strings; multilingual catalogue requires a localization plugin.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: miodeal
License: GPL-2.0-or-later
*/
:root{--navy:#183b56;--navy2:#254f70;--orange:#ff9900;--red:#e53935;--bg:#f5f8fb;--pale:#fff2e2;--line:#e3e9ee;--text:#17364d;--muted:#63798a;--radius:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--text);font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}.container{width:min(1260px,calc(100% - 36px));margin:auto}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:10px;top:10px;background:#fff;padding:10px;z-index:999}
.topbar{background:var(--bg);border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.topbar .container{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:10px}.topbar-links{display:flex;gap:18px}.site-header{background:white;position:sticky;top:0;z-index:40;box-shadow:0 2px 12px #193b5310}.header-main{display:flex;align-items:center;gap:22px;padding:15px 0}.logo{display:block;width:230px;flex:none}.logo img{width:100%;height:auto;display:block}.header-search{display:flex;flex:1;min-width:120px;border:2px solid var(--orange);border-radius:10px;overflow:hidden;background:white}.header-search input{height:46px;width:100%;min-width:0;padding:0 14px;border:0;outline:none}.header-search button{border:0;background:var(--orange);color:#122f44;font-weight:750;padding:0 24px}.header-actions{display:flex;align-items:center;gap:15px;font-size:13px;font-weight:700;white-space:nowrap}.header-actions a{display:flex;align-items:center;gap:6px}.country-select{border:1px solid var(--line);background:white;color:var(--navy);border-radius:8px;padding:8px;max-width:130px}.navline{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f8fbfe}.navline .container{display:flex;gap:27px;align-items:center;min-height:44px;overflow:auto;white-space:nowrap;font-size:13px;font-weight:750}.navline a:hover,.header-actions a:hover{color:#c96800}.menu-toggle{display:none;background:none;border:0;color:var(--navy);font-size:24px}.promo-strip{background:#fff1df;color:var(--navy);font-size:12px;padding:7px 0;text-align:center}
.hero{position:relative;margin:22px auto 24px;border-radius:20px;overflow:hidden;min-height:365px;background:#fff1df}.slide{display:none;min-height:365px;align-items:center;position:relative;padding:40px 7%;isolation:isolate}.slide.active{display:flex}.slide:nth-child(1){background:linear-gradient(115deg,#e6f3ff 0%,#fff8ed 74%)}.slide:nth-child(2){background:linear-gradient(110deg,#fff1e7,#fff9f1)}.slide:nth-child(3){background:linear-gradient(110deg,#e7f5fa,#fff9eb)}.slide:nth-child(4){background:linear-gradient(110deg,#edf3ff,#fff0e0)}.hero-text{z-index:2;max-width:55%}.hero-kicker{display:inline-flex;padding:6px 12px;border-radius:30px;color:#a34c04;background:#fff;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.hero h1{font-size:clamp(30px,3.8vw,53px);letter-spacing:-.045em;line-height:1.11;margin:15px 0;color:var(--navy)}.hero p{font-size:clamp(14px,1.35vw,18px);color:#3f5d73;margin:0 0 24px}.cta{display:inline-flex;background:var(--orange);padding:13px 25px;font-weight:800;border-radius:10px;color:#183b56;box-shadow:0 5px 13px #df8e1933}.cta:hover{background:#f8aa2c}.hero-art{position:absolute;right:6%;top:10%;bottom:7%;width:35%;display:grid;place-items:center}.hero-product{width:75%;aspect-ratio:1;border-radius:28%;background:linear-gradient(145deg,#fff,#ecf3fd);box-shadow:20px 23px 40px #46688d2b,inset 0 0 0 8px #ffffff95;display:grid;place-items:center;font-size:clamp(75px,10vw,160px);transform:rotate(-7deg)}.hero-product:before{content:'';position:absolute;width:82%;height:82%;border-radius:50%;z-index:-1;background:#ff990033;transform:translate(60px,20px)}.hero-controls{position:absolute;bottom:15px;left:0;right:0;display:flex;gap:7px;align-items:center;justify-content:center;z-index:4}.hero-dot{width:9px;height:9px;border:0;background:#183b5655;border-radius:50%;padding:0}.hero-dot.active{background:var(--orange);width:25px;border-radius:15px}.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;background:#ffffffd8;border-radius:50%;width:35px;height:35px;z-index:4;color:var(--navy);font-size:23px}.hero-prev{left:8px}.hero-next{right:8px}
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 auto 34px}.trust-item{border:1px solid var(--line);background:white;border-radius:12px;padding:16px;display:flex;gap:12px;align-items:center;font-size:13px;font-weight:750}.trust-icon{border-radius:10px;background:#edf4fa;color:var(--navy);font-size:23px;width:42px;height:42px;display:grid;place-items:center;flex:none}.section{margin:34px auto}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px}.section h2{font-size:clamp(23px,2.5vw,31px);letter-spacing:-.025em;margin:0;color:var(--navy)}.section-more{font-weight:750;font-size:13px;color:#b65f00}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.cat-card{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;background:#f6f9fc;border:1px solid #e8edf2;border-radius:16px;padding:20px 8px;min-height:160px;text-align:center;font-size:14px;font-weight:750}.cat-card:hover{border-color:var(--orange);transform:translateY(-2px)}.cat-emoji{font-size:55px;line-height:1.3}.sale-band{margin:38px auto;border-radius:19px;background:linear-gradient(100deg,#173d57,#315a78);color:white;padding:26px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.sale-band h2{font-size:26px;margin:0}.sale-band p{margin:6px 0 0;color:#e5edf5}.sale-band a{background:var(--orange);color:var(--navy);padding:12px 20px;border-radius:9px;font-weight:800}.about-section{background:#edf4fa;border-radius:18px;padding:32px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.about-section h2{margin:0 0 10px}.about-section p{margin:0;color:#446277}.about-art{display:flex;justify-content:center;align-items:center;font-size:75px}
.products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin:0!important}.products ul.products:before,.products ul.products:after{display:none!important}.products ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:13px!important;background:#fff;border:1px solid var(--line);border-radius:15px;display:flex;flex-direction:column;min-width:0}.products ul.products li.product img{border-radius:10px;aspect-ratio:1;object-fit:contain;background:#f8fafc}.products ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.4;min-height:40px;color:var(--navy)}.products ul.products li.product .price{color:#bf3d24!important;font-weight:800!important;font-size:18px!important}.products ul.products li.product .button{margin-top:auto!important;background:var(--orange)!important;border-radius:8px!important;color:var(--navy)!important;text-align:center;padding:11px!important;font-weight:750!important}.woocommerce span.onsale{background:var(--red)!important}.woocommerce div.product .single_add_to_cart_button,.woocommerce #payment #place_order{background:var(--orange)!important;color:var(--navy)!important;border-radius:8px!important}.woocommerce .woocommerce-breadcrumb{color:var(--muted)}.shop-shell{padding:35px 0;min-height:45vh}.site-footer{background:#edf4fa;margin-top:60px;border-top:1px solid var(--line);padding:43px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:35px}.footer-grid h3{font-size:14px;margin:0 0 13px;color:var(--navy)}.footer-grid a{display:block;font-size:13px;color:#496274;margin:0 0 10px}.footer-grid p{color:#496274;font-size:13px}.footer-logo{width:200px;max-width:100%}.footer-bottom{border-top:1px solid #cddbe4;margin-top:28px;padding-top:18px;color:#697e8f;font-size:12px}.notice{background:#fff9ed;border:1px solid #f5e1bb;padding:18px;border-radius:10px;color:#725225}.mobile-only{display:none}
@media(max-width:920px){.logo{width:180px}.header-actions{gap:10px}.header-actions .act-label{display:none}.categories{grid-template-columns:repeat(3,1fr)}.products ul.products{grid-template-columns:repeat(3,1fr)!important}.trust{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.hero-art{right:2%;width:39%}}
@media(max-width:650px){.container{width:min(100% - 24px,1260px)}.topbar-links{display:none}.header-main{flex-wrap:wrap;gap:10px;padding:10px 0}.menu-toggle{display:inline-block}.logo{width:160px}.header-search{order:5;flex:0 0 100%}.header-search input{height:42px}.header-actions{margin-left:auto}.header-actions .country-select{font-size:12px;padding:6px;max-width:92px}.navline{display:none}.navline.open{display:block}.navline .container{flex-direction:column;align-items:flex-start;gap:0;padding:10px 0}.navline a{padding:10px 0}.hero{margin-top:14px;border-radius:14px;min-height:390px}.slide{padding:25px 22px 175px;min-height:390px;align-items:flex-start}.hero-text{max-width:100%}.hero h1{font-size:30px}.hero p{font-size:14px;margin-bottom:15px}.hero-art{width:160px;height:154px;top:auto;bottom:24px;right:12%;}.hero-product{font-size:78px}.hero-arrow{width:28px;height:28px}.trust{gap:8px}.trust-item{padding:10px;gap:7px;font-size:11px}.trust-icon{width:33px;height:33px;font-size:18px}.categories{grid-template-columns:repeat(3,1fr);gap:8px}.cat-card{padding:12px 4px;min-height:110px;font-size:11px;border-radius:11px}.cat-emoji{font-size:35px}.section{margin:27px auto}.section-head h2{font-size:22px}.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.products ul.products li.product{padding:9px!important}.products ul.products li.product .price{font-size:16px!important}.sale-band{padding:20px;align-items:flex-start;flex-direction:column}.sale-band h2{font-size:23px}.about-section{grid-template-columns:1fr;padding:22px}.about-art{display:none}.footer-grid{grid-template-columns:repeat(2,1fr);gap:20px}.footer-logo{width:150px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* MIODEAL 1.1 — bright marketplace visual refresh */
:root{--orange:#ff7900;--red:#e53935;--pale:#fff0de;--bg:#fff8f1}
.topbar{background:#fff4e7;color:#51697c}.site-header{box-shadow:0 2px 15px #183b5619}.navline{background:#fff1dc;border-bottom:2px solid #ffc37a}.navline a:hover{color:#d74f1c}
.header-search button,.cta,.sale-band a,.products ul.products li.product .button{background:linear-gradient(110deg,#ff9900,#ff7900)!important;color:#fff!important}
.hero{background:#fff1e5;min-height:390px;border:1px solid #f6ded0;box-shadow:0 14px 40px #183b560d}
.hero .slide{min-height:390px}.hero h1{max-width:640px}.hero-kicker{background:#fff2e3;color:#bd4914;border:1px solid #ffca9a}
.hero p{color:#37536a;font-weight:550}.hero-dot.active{background:#f06519}.hero .slide[style]{background-repeat:no-repeat;background-size:cover;background-position:center}
.trust-item{background:#fffcf9;border-color:#ffe8d3}.trust-icon{background:#fff0db;color:#c75e17}
.cat-card{background:linear-gradient(155deg,#fff,#fff3e7);border-color:#f3dfcf;transition:transform .2s ease,box-shadow .2s ease}
.cat-card:hover{box-shadow:0 9px 23px #fa8b3120}.section-more{color:#d4561e}
.sale-band{background:linear-gradient(105deg,#fff0db,#ffe1c1);color:#183b56;border:1px solid #ffd09d}.sale-band p{color:#526577}
.about-section{background:#fff3e9}.site-footer{background:#fff4e9}.site-footer .footer-bottom{border-top-color:#f3d9c4}
.logo{width:218px}.logo img{object-fit:contain}
@media(max-width:650px){.logo{width:152px}.hero .slide{min-height:390px;background-position:60% center!important}.hero .slide[style]{background-size:cover}.hero-text{max-width:100%}.hero h1{font-size:31px}.hero p{max-width:85%}}

.miodeal-language-switcher select,.country-select{border:1px solid #e1e9ed;border-radius:7px;padding:9px;background:white;color:#183b56}.language-hint{font-size:12px;color:#7a8997;white-space:nowrap}

/* MIODEAL V4: video-powered marketplace, light and joyful */
body{background:#fff;color:#183b56} .hero{isolation:isolate;min-height:430px;background:#fff5e9;box-shadow:0 16px 40px #0a254017;border:1px solid #ffe1bf}
.hero .slide{position:absolute;inset:0;background-color:#fff5e9!important;min-height:430px;overflow:hidden}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;pointer-events:none}
.hero .slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fffaf5f8 0%,#fffaf5ef 31%,#fff9f570 53%,transparent 79%);z-index:1;pointer-events:none}
.hero-text{position:relative;z-index:2;max-width:54%}.hero .hero-controls,.hero .hero-arrow{z-index:5;position:absolute}
.hero .hero-arrow{top:50%;transform:translateY(-50%)}
.cat-card,.products li.product,.product,.trust-item,.cta,.sale-band a,.section-more{transition:transform .3s ease,box-shadow .3s ease,filter .3s ease}
@media(hover:hover){.cat-card:hover{transform:translateY(-5px) scale(1.045);box-shadow:0 14px 32px #183b5627}.products li.product:hover,.product:hover{transform:translateY(-4px) scale(1.022);box-shadow:0 17px 28px #183b5622}.cta:hover,.sale-band a:hover{transform:scale(1.04);filter:brightness(.96)}.trust-item:hover{transform:translateY(-2px)}.cat-card:hover .cat-emoji{transform:scale(1.09)}}
.cat-emoji{transition:transform .3s ease}.hero .cta{background:#ff9900;color:#152d41}.hero .hero-kicker{color:#d62828}
@media(max-width:720px){.hero,.hero .slide{min-height:450px}.hero .hero-text{max-width:100%;padding-right:5%}.hero-video{object-position:65% center}.hero .slide::before{background:linear-gradient(180deg,#fffaf5fa 0%,#fffaf5e8 42%,#fffaf535 95%)} }
@media(prefers-reduced-motion:reduce){.hero-video{display:none!important}.cat-card,.products li.product,.product,.cta,.sale-band a{transition:none!important;transform:none!important}}


/* V6 MARKETPLACE REBUILD */
:root{--navy:#183b56;--orange:#ff9900;--red:#d62828;--bg:#f5f6f8;--line:#e6e9ed}
body{background:#f6f7f9} .site-header{background:#fff}.topbar{background:#fff6ec}.navline{background:#23374a;color:#fff}.navline a:hover{color:#ffbd61}
.marketplace{background:#f6f7f9;padding-bottom:16px}.market-breadcrumb{color:#6a7a86;font-size:12px;padding:16px 0}.market-breadcrumb span{color:#fa920c;padding:0 8px}
.marquee-promo{background:linear-gradient(90deg,#ffb13d,#ff8a00);color:#233547;font-size:12px;font-weight:750}.marquee-promo .container{display:flex;justify-content:space-around;gap:14px;min-height:32px;align-items:center;flex-wrap:wrap}
.market-hero-grid{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(245px,1fr);gap:16px;align-items:stretch}
.market-hero-grid .hero{margin:0;min-height:415px;border-radius:14px;box-shadow:none;border:0}.market-hero-grid .slide{min-height:415px!important;background-position:center;background-size:cover;display:none;align-items:center;padding:35px 6.5%;}.market-hero-grid .slide.active{display:flex}.market-hero-grid .hero-text{max-width:60%}.market-hero-grid .hero-veil{position:absolute;inset:0;background:linear-gradient(90deg,#fffaf5 0%,#fff9f1ea 31%,#ffffff12 85%);z-index:1}.market-hero-grid .hero-video{z-index:0}.market-hero-grid .hero h1{font-size:clamp(27px,3vw,46px)}
.hero-aside{display:grid;grid-template-rows:1fr 1fr;gap:16px}.mini-promo{position:relative;border-radius:14px;overflow:hidden;display:flex;min-height:196px;padding:23px}.mini-promo.peach{background:#ffdfd4}.mini-promo.cream{background:#fff0c7}.mini-promo div{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:7px;max-width:62%}.mini-promo small{font-size:10px;font-weight:900;letter-spacing:.15em;color:#bd431d}.mini-promo strong{font-size:22px;line-height:1.12;color:#183b56}.mini-promo span{font-size:12px;font-weight:750;margin-top:10px;color:#bc5510}.mini-promo img{position:absolute;right:-13%;bottom:-10%;width:69%;height:90%;object-fit:cover;clip-path:ellipse(52% 47% at 50% 50%);transition:transform .28s}
.market-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 27px}.market-benefits>div{display:flex;align-items:center;gap:10px;background:#fff;padding:15px;border-radius:11px;font-size:25px;box-shadow:0 2px 8px #173e5608}.market-benefits span{display:flex;flex-direction:column;font-size:12px}.market-benefits b{color:#273b4c}.market-benefits small{color:#7b8995;font-size:11px;font-weight:400}
.market-section{background:#fff;padding:24px;border-radius:15px;margin:22px 0;box-shadow:0 2px 10px #1c35460a}.market-section .section-head{margin-bottom:20px}.market-section .section-head h2{font-size:clamp(22px,2.25vw,29px);margin:2px 0 0}.eyebrow{color:#ee8100;font-size:10px;letter-spacing:.16em;font-weight:900}.eyebrow.hot{color:#d62828}.photo-categories{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:11px}.photo-category{text-align:center;display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px}.photo-category-pic{display:block;aspect-ratio:1;border-radius:50%;overflow:hidden;background:#fff4e9}.photo-category img{width:100%;height:100%;object-fit:cover;transition:transform .28s}.photo-category small{color:#ee8100}
.editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.editorial-card{position:relative;overflow:hidden;background:#fff4e8;border-radius:13px;min-height:236px;padding:19px;isolation:isolate}.editorial-card:nth-child(2){background:#ffe5e2}.editorial-card:nth-child(3){background:#deeff9}.editorial-card>small,.editorial-card>h3,.editorial-card>span{position:relative;z-index:2;display:block;width:60%}.editorial-card small{font-size:11px;font-weight:900;color:#c65e13}.editorial-card h3{font-size:21px;line-height:1.12;margin:9px 0;color:#173c59}.editorial-card span{font-size:12px;font-weight:800;color:#bf5411;margin-top:13px}.editorial-card img{position:absolute;bottom:-8%;right:-15%;height:95%;width:65%;object-fit:cover;clip-path:ellipse(58% 58% at 55% 60%);transition:transform .32s}
.product-demo-note{background:#fffaf2;border:1px solid #f7e4ca;border-radius:9px;color:#805820;padding:10px 13px;font-size:12px;margin-bottom:16px}.demo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.demo-item{display:flex;flex-direction:column;padding:10px;border:1px solid #e9ecf0;border-radius:11px;min-width:0;transition:transform .28s,box-shadow .28s}.demo-img{width:100%;aspect-ratio:1.15;background:#f8f8f8;border-radius:8px;overflow:hidden}.demo-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.demo-name{font-size:13px;line-height:1.4;font-weight:700;margin-top:10px}.demo-price{color:#bd5b18;font-weight:800;margin-top:3px}.demo-note{font-size:10px;color:#8995a0;margin-top:6px}
.wide-promo{background:linear-gradient(110deg,#fff0d9,#ffe4bc);border-radius:16px;display:flex;align-items:center;min-height:238px;overflow:hidden;margin:22px 0;position:relative}.wide-promo>div{padding:33px;width:61%;position:relative;z-index:2}.wide-promo h2{font-size:clamp(24px,3.5vw,39px);margin:8px 0;color:#17374c;line-height:1.14}.wide-promo p{font-size:14px;color:#586a72}.wide-promo a,.market-newsletter>a{display:inline-block;background:#ff9900;padding:11px 18px;border-radius:8px;font-weight:850;font-size:13px;color:#183b56}.wide-promo>img{position:absolute;right:0;width:42%;height:100%;object-fit:cover;mask-image:linear-gradient(90deg,transparent,#000 25%)}
.four-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.four-tiles a{border:1px solid #e8ecef;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;gap:9px;padding-bottom:13px}.four-tiles img{width:100%;height:152px;object-fit:cover;transition:transform .28s}.four-tiles b,.four-tiles span{margin:0 13px;font-size:13px}.four-tiles span{color:#eb7e00}.market-newsletter{margin:22px 0;background:#e8f2f9;border:1px solid #d4e6f0;border-radius:14px;padding:25px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.market-newsletter h2{margin:7px 0;font-size:25px}.market-newsletter p{font-size:13px;color:#587185;margin:0}
.marketplace .products ul.products li.product{border:1px solid #e9ecf0!important}.site-footer{margin-top:0}
@media(hover:hover){.photo-category:hover img{transform:scale(1.07)}.mini-promo:hover img,.editorial-card:hover img,.four-tiles a:hover img,.demo-item:hover img{transform:scale(1.06)}.demo-item:hover,.four-tiles a:hover{transform:translateY(-4px);box-shadow:0 8px 25px #17354b1e}.marketplace a.cta:hover{transform:scale(1.04)}}
@media(max-width:1100px){.market-hero-grid{grid-template-columns:1.8fr 1fr}.photo-categories{grid-template-columns:repeat(4,1fr)}.market-benefits{grid-template-columns:repeat(2,1fr)}}
@media(max-width:740px){.marquee-promo .container span:nth-child(n+2){display:none}.market-breadcrumb{font-size:11px}.market-hero-grid{grid-template-columns:1fr}.market-hero-grid .hero{height:360px;min-height:360px}.market-hero-grid .slide{min-height:360px!important;padding:28px 22px!important;align-items:flex-start}.market-hero-grid .hero-text{max-width:100%;width:82%}.market-hero-grid .hero h1{font-size:29px}.market-hero-grid .hero p{font-size:13px}.market-hero-grid .hero-veil{background:linear-gradient(180deg,#fff9f3f7,#fff9f3c4 56%,#fff9f305)}.hero-aside{grid-template-columns:1fr 1fr;grid-template-rows:auto}.mini-promo{min-height:154px;padding:14px}.mini-promo strong{font-size:17px}.mini-promo div{max-width:78%}.mini-promo img{opacity:.8}.market-benefits{gap:8px}.market-benefits>div{padding:10px;font-size:20px}.market-benefits span{font-size:10px}.market-benefits small{font-size:9px}.market-section{padding:15px;margin:14px 0}.photo-categories{grid-template-columns:repeat(4,1fr);gap:12px}.photo-category{font-size:11px}.editorial-grid{grid-template-columns:1fr}.editorial-card{min-height:170px}.editorial-card img{width:48%}.demo-grid{grid-template-columns:repeat(2,1fr)}.four-tiles{grid-template-columns:repeat(2,1fr)}.four-tiles img{height:120px}.wide-promo>div{padding:20px;width:75%}.wide-promo>img{width:55%}.market-newsletter{padding:18px;flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.demo-item,.demo-img img,.editorial-card img,.mini-promo img{transition:none}}

.demo-button{margin-top:10px;border:0;background:#ff9900;color:#17374b;padding:9px;border-radius:7px;font-size:12px;font-weight:800;cursor:pointer}.demo-item.hidden{display:none}.logo img{max-height:64px;object-fit:contain}.market-hero-grid .hero .slide{position:absolute;inset:0}.market-hero-grid .hero{position:relative}.market-hero-grid .hero .slide.active{display:flex}@media(max-width:750px){.header-actions{flex-wrap:wrap}.header-actions label{font-size:10px}.header-actions select{max-width:95px}.site-header .navline{display:block}.site-header .navline .container{flex-direction:row;overflow:auto;gap:15px;white-space:nowrap}.site-header .navline a{flex-shrink:0}.logo{width:150px}.topbar .container span:last-child{display:none}}
/* MIODEAL V7 — exactly two header rows on desktop; compact 2-row mobile header */
.topbar,.marquee-promo,.market-breadcrumb,.promo-strip{display:none!important}
.site-header{position:sticky;top:0;z-index:100;background:#ff7900!important;box-shadow:0 4px 18px #17324a24!important}
.site-header .header-main{width:min(100% - 36px,1500px);max-width:1500px;padding:10px 0!important;min-height:74px;gap:16px;flex-wrap:nowrap;display:flex;align-items:center}
.site-header .logo{width:175px;flex-shrink:0;background:#fff;border-radius:9px;padding:5px 9px;box-shadow:0 1px 5px #70300024}
.site-header .logo img{max-height:48px!important;object-fit:contain;width:100%;height:auto}
.site-header .header-search{flex:1;min-width:100px;border:0!important;background:white!important;border-radius:8px!important;box-shadow:0 1px 5px #8437002b}
.site-header .header-search input{height:45px!important;font-size:15px}
.site-header .header-search button{background:#ffce51!important;color:#172f41!important;border-radius:0!important;font-size:26px!important;padding:0 19px!important}
.site-header .header-actions{gap:12px;color:#fff!important;font-size:12px;display:flex;align-items:center;flex-wrap:nowrap!important;margin-left:0}
.site-header .header-actions a,.site-header .header-actions button,.site-header .header-actions span{color:inherit}
.site-header .header-actions select,.site-header .country-select{background:#fff;color:#142c3d;border:0;border-radius:6px;padding:8px 5px;font-size:12px;max-width:126px}
.site-header .header-actions label{display:flex;align-items:center;gap:4px}
.site-header .navline{background:#ffad49!important;color:#182b39!important;border:0!important;border-bottom:2px solid #ff9c27!important}
.site-header .navline .container{width:min(100% - 36px,1500px);max-width:1500px;min-height:42px;gap:clamp(12px,2vw,30px);overflow-x:auto;display:flex;align-items:center;white-space:nowrap;scrollbar-width:none}
.site-header .navline a{color:#182b39!important;font-size:13px;font-weight:750;transition:background .2s,transform .2s;padding:10px 1px}
.site-header .navline a:hover{color:#102335!important;transform:translateY(-1px);text-decoration:underline}
.marketplace{padding-top:14px}
.site-header .menu-toggle{display:none;border:0;color:#162b38;background:#fff3;border-radius:6px;font-size:25px;padding:4px 9px;cursor:pointer}
@media(max-width:1100px){.site-header .header-main{gap:9px}.site-header .logo{width:140px}.site-header .header-actions{gap:7px}.site-header .header-actions .act-label{display:none}.site-header .header-actions select{max-width:95px;padding:7px 2px}.site-header .header-search input{font-size:13px}}
@media(max-width:700px){
 .site-header{position:sticky}
 .site-header .header-main{width:calc(100% - 20px);min-height:0;display:grid;grid-template-columns:auto minmax(90px,1fr) auto;grid-template-rows:48px 45px;gap:5px 8px;padding:6px 0!important}
 .site-header .menu-toggle{display:block;grid-column:1;grid-row:1;font-size:23px;background:#fff;padding:4px 8px}
 .site-header .logo{width:128px;max-width:100%;grid-column:2;grid-row:1;justify-self:start;padding:3px 6px}
 .site-header .logo img{max-height:39px!important}
 .site-header .header-actions{grid-column:3;grid-row:1;margin:0;justify-self:end;gap:5px;font-size:11px}
 .site-header .header-actions label,.site-header .header-actions form,.site-header .header-actions .language-hint,.site-header .header-actions .miodeal-language-switcher,.site-header .header-actions .account{display:none!important}
 .site-header .header-actions select{display:none}
 .site-header .header-search{grid-row:2;grid-column:1/-1;order:0;margin:0;width:100%;height:42px}
 .site-header .header-search input{height:42px!important}
 .site-header .navline{display:none!important;position:absolute;top:100%;left:0;right:0;box-shadow:0 10px 20px #24374a2a}
 .site-header .navline.open{display:block!important}
 .site-header .navline .container{width:calc(100% - 28px);min-height:unset;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:7px 0;overflow:visible}
 .site-header .navline a{padding:9px 12px!important;border-bottom:1px solid #f6bc74}
 .marketplace{padding-top:10px}
}
@media(min-width:701px) and (max-width:820px){.site-header .logo{width:120px}.site-header .header-actions{gap:4px;font-size:11px}.site-header .header-actions select{max-width:80px}.site-header .header-search button{padding:0 12px!important}}

/* MIODEAL V8: white logo/header row, vivid warm orange category row. Exactly 2 rows. */
.site-header {background:#fff!important;box-shadow:0 3px 15px #172f4517!important}
.site-header .header-main {background:#fff!important}
.site-header .logo {background:#fff!important;box-shadow:none!important;padding:2px 4px!important}
.site-header .header-actions {color:#183B56!important}
.site-header .header-actions a,.site-header .header-actions button,.site-header .header-actions span {color:#183B56!important}
.site-header .header-actions select,.site-header .country-select {background:#f6f7f9!important;color:#183B56!important;border:1px solid #dfe4eb!important}
.site-header .header-search {border:2px solid #ff9900!important;box-shadow:none!important}
.site-header .header-search button {background:#ff9900!important;color:#172f41!important}
.site-header .navline {background:#ff9900!important;border-bottom:1px solid #eb8a00!important;color:#183B56!important}
.site-header .navline a {color:#183B56!important}
.site-header .navline a:hover {background:#ffffff36!important;text-decoration:none!important}
.site-header .menu-toggle {background:#fff4e5!important;color:#183B56!important}
@media(max-width:700px){.site-header .header-main{background:#fff!important}}

/* V9 category update */
.photo-categories{grid-template-columns:repeat(5,minmax(0,1fr))!important}.five-tiles{grid-template-columns:repeat(5,minmax(0,1fr))!important}.photo-category b,.five-tiles b{line-height:1.25}.navline .container{gap:12px!important}.navline a{white-space:nowrap!important}@media(max-width:900px){.photo-categories,.five-tiles{grid-template-columns:repeat(2,1fr)!important}}

/* MIODEAL: weekly deals to the right of unchanged slider */
.weekly-deal{background:linear-gradient(118deg,#fff0d7,#ffe2c1)!important;border:1px solid #ffcd91}
.weekly-deal small{color:#b42318!important}
.weekly-deal strong{font-size:clamp(18px,1.65vw,23px)!important;line-height:1.18!important}
.weekly-deal span{color:#ad4518!important;font-weight:900!important}
.weekly-deal img{opacity:.20!important;filter:saturate(.65)}
.weekly-deals-banner{background:linear-gradient(110deg,#fff4de,#fffaf3 60%,#ffe9df);border:1px solid #ffd5a6;border-radius:14px;margin:17px 0 0;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.weekly-deals-banner h2{font-size:clamp(20px,2.3vw,30px);color:#193b55;margin:6px 0}
.weekly-deals-banner p{margin:4px 0;color:#5a606b;font-size:14px}
.weekly-deals-banner small{display:block;max-width:610px;color:#7b6b57;font-size:11px;margin-top:8px}
.weekly-tag{display:inline-flex;background:#da3328;color:white;padding:5px 11px;border-radius:30px;font-weight:900;font-size:11px;letter-spacing:.04em}
.weekly-deals-banner>a{white-space:nowrap;background:#ff9900;color:#183b56;font-size:13px;padding:12px 15px;font-weight:900;border-radius:9px}
@media(max-width:740px){.weekly-deals-banner{flex-direction:column;align-items:flex-start;padding:16px}.weekly-deals-banner>a{width:100%;text-align:center}.weekly-deal strong{font-size:17px!important}}

/* FINAL YouCan design reference — changes strictly limited to validated V12 layout */
.site-header .header-main {gap:12px!important}
.site-header .header-actions{gap:7px!important}
.address-trigger{background:#fff4e5;border:1px solid #f3d6ae;border-radius:9px;color:#153754;padding:9px 10px;cursor:pointer;white-space:nowrap;font-size:12px;font-weight:700;max-width:168px;overflow:hidden;text-overflow:ellipsis}
.address-trigger:hover{background:#ffe8c7}
.hero-aside .highlighted-deal{position:relative;overflow:hidden;background:linear-gradient(120deg,#fff0dd 0%,#fff6ef 60%,#fff 100%);isolation:isolate}
.highlighted-deal img{position:absolute;right:-4px;bottom:0;height:100%;width:53%;object-fit:cover;object-position:34% 15%;opacity:1;mask-image:linear-gradient(90deg,transparent 0%,#000 23%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 23%);z-index:-1}
.highlighted-deal .deal-info{position:relative;z-index:1;max-width:68%!important}
.highlighted-deal strong{color:#b42318!important;font-weight:900!important;font-size:clamp(20px,1.9vw,30px)!important;line-height:1.08}
.highlighted-deal small{color:#b42318!important}
.highlighted-deal span{display:inline-block;background:#ff9900;border-radius:8px;padding:7px 9px;color:#172a3e!important;font-weight:800}
.highlighted-deal em.demo-only{display:block;margin-top:8px;font-size:9px;font-style:normal;color:#735e55;line-height:1.3}
.weekly-deals-banner{scroll-margin-top:24px}
.md-modal[hidden]{display:none!important}.md-modal{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:16px}.md-overlay{position:absolute;inset:0;background:rgba(14,37,54,.57)}.md-dialog{position:relative;background:#fff;border-radius:18px;padding:25px;width:min(480px,95vw);box-shadow:0 18px 80px #0005;display:grid;gap:13px}.md-dialog-title{display:flex;justify-content:space-between;align-items:center}.md-dialog-title h2{margin:0}.md-dialog-title button{border:none;background:#f5f6f8;padding:9px;cursor:pointer}.md-hint{font-size:12px;line-height:1.4;color:#6a7280;margin:0}.md-dialog label{font-size:13px;font-weight:700;display:grid;gap:5px}.md-dialog label input,.md-dialog label select{border:1px solid #c7ced4;border-radius:8px;padding:11px;min-width:0}.md-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.md-buttons{display:flex;justify-content:flex-end;gap:10px}.md-buttons button{cursor:pointer;border:1px solid #d0d5dc;background:#fff;border-radius:8px;padding:10px 14px}.md-buttons .save{background:#ff9900;border-color:#ff9900;font-weight:800}
@media(max-width:1050px){.site-header .header-main{gap:8px!important}.address-trigger{font-size:11px;padding:8px}.site-header .logo img{max-width:180px;height:auto}}
@media(max-width:700px){.address-trigger{max-width:120px}.highlighted-deal .deal-info{max-width:72%!important}.highlighted-deal strong{font-size:19px!important}.highlighted-deal img{width:48%}}

/* Seule section nouvelle : nouveautes, juste apres l'offre -70% */
.md-new-arrivals { margin-top: 18px; }
.md-new-arrivals .arrival-hint { color:#657889; font-size:13px; margin:0 0 14px; }
.md-new-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.md-new-card {display:flex;flex-direction:column;background:white;border:1px solid #e5e9ef;border-radius:14px;overflow:hidden;min-width:0;transition:transform .25s,box-shadow .25s;}
.md-new-card:hover {transform:translateY(-3px);box-shadow:0 12px 25px #17354b1a;}
.md-new-image {position:relative;display:block;aspect-ratio:1/0.79;overflow:hidden;background:#f7f8fa;}
.md-new-image img {width:100%;height:100%;object-fit:cover;}
.md-new-image em {position:absolute;top:10px;left:10px;background:#ff9900;color:#183b56;font-weight:800;font-size:10px;border-radius:100px;padding:6px 9px;font-style:normal;}
.md-new-card strong {font-size:15px;padding:12px 12px 2px;line-height:1.3;}
.md-new-card>span:last-child {font-size:12px;color:#63798a;padding:2px 12px 13px;}
@media(max-width:850px){.md-new-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:420px){.md-new-grid{gap:9px}.md-new-card strong{font-size:13px}.md-new-card>span:last-child{font-size:11px}}

/* Correctif cible : photo dans son cadre a gauche, regard vers la remise a droite */
.hero-aside .highlighted-deal {display:flex!important;align-items:center!important;justify-content:flex-end!important;padding:17px 16px 17px 12px!important;}
.hero-aside .highlighted-deal img {left:0!important;right:auto!important;top:0!important;bottom:0!important;width:49%!important;height:100%!important;object-fit:cover!important;object-position:53% 24%!important;clip-path:none!important;border-radius:12px 0 0 12px!important;mask-image:linear-gradient(90deg,#000 0%,#000 78%,transparent 100%)!important;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 78%,transparent 100%)!important;z-index:0!important;transform:none;}
.hero-aside .highlighted-deal .deal-info {margin-left:auto!important;width:53%!important;max-width:53%!important;z-index:2!important;align-items:flex-start!important;}
.hero-aside .highlighted-deal strong{font-size:clamp(17px,1.55vw,25px)!important;}
.market-benefits .md-delivery-trigger{cursor:pointer;}
.market-benefits .md-delivery-trigger:hover{outline:2px solid #ff9900;outline-offset:-2px;}
.md-delivery-dialog .md-delivery-copy{color:#334155;font-size:14px;line-height:1.65;}
.md-delivery-copy p{margin:0 0 12px;}
.md-delivery-copy p:last-child{margin-bottom:0;}
@media(max-width:740px){.hero-aside .highlighted-deal{min-height:174px!important;padding:11px!important}.hero-aside .highlighted-deal img{width:48%!important}.hero-aside .highlighted-deal .deal-info{width:55%!important;max-width:55%!important}.hero-aside .highlighted-deal strong{font-size:17px!important}}


/* MIODEAL approved thin color system: no changes to the rest of the site */
#nouveautes .md-new-card{border:1px solid #d62828!important}
#ofertas-reales .demo-item{border:1px solid #f28c28!important}
#products .demo-item{border:1px solid #183b56!important}
#nouveautes .md-new-card,#ofertas-reales .demo-item,#products .demo-item{border-radius:11px}
#weekly-deals{background:linear-gradient(110deg,#fff6eb,#fffdfb 60%,#fff0e2)!important;border:1px solid #f28c28!important}
#weekly-deals>a{background:#f28c28!important;color:#153651!important}
#ofertas-reales .eyebrow{color:#d66a06!important}
#nouveautes .eyebrow{color:#d62828!important}
#products .eyebrow{color:#183b56!important}
#nouveautes .md-new-card{cursor:pointer}
#products .md-open-product{cursor:pointer}
#products .md-open-product:hover{text-decoration:underline}
#products .demo-img.md-open-product:hover{text-decoration:none}
.md-product-backdrop[hidden]{display:none!important}
.md-product-backdrop{position:fixed;inset:0;z-index:200;background:#06192bd1;display:grid;place-items:center;padding:20px;overflow:auto}
.md-product-modal{position:relative;background:#fff;color:#183b56;border-radius:15px;width:min(1040px,100%);max-height:92vh;overflow:auto;padding:25px;box-shadow:0 22px 70px #0004}
.md-product-close{position:absolute;right:14px;top:11px;background:#f1f5f8;color:#183b56;border:0;border-radius:50%;width:34px;height:34px;font-size:25px;cursor:pointer}
.md-product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}
.md-product-cover{width:100%;aspect-ratio:1;object-fit:contain;background:#f8f9fb;border-radius:10px}
.md-gallery-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
.md-gallery-thumbs button{border:1px solid #d8e1e8;border-radius:7px;padding:3px;background:#fff;cursor:pointer}
.md-gallery-thumbs button:focus-visible{outline:2px solid #f28c28}
.md-gallery-thumbs img{width:61px;height:61px;object-fit:contain}
.md-product-modal h2{margin:7px 0 12px;font-size:25px}
.md-product-modal .md-stock{border:1px solid #e0e7ed;border-radius:8px;padding:9px;margin:12px 0;font-weight:700}
.md-product-modal .md-stock.out{color:#b3261e;border-color:#edbdb7;background:#fff5f3}
.md-product-modal .md-stock.in{color:#216545;border-color:#b9ddc7;background:#f4fbf6}
.md-product-manage{border-top:1px solid #e3e9ef;margin-top:18px;padding-top:14px}
.md-product-manage summary{font-size:13px;font-weight:800;cursor:pointer}
.md-product-manage label{display:block;font-size:12px;margin:9px 0 4px}
.md-product-manage input[type=number],.md-product-manage input[type=url]{max-width:100%;width:100%;border:1px solid #c9d4dc;border-radius:6px;padding:9px}
.md-product-manage button,.md-product-landing{margin-top:9px;background:#183b56;color:#fff;border:0;border-radius:7px;padding:10px 14px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}
.md-product-landing[hidden]{display:none}
.md-product-hint{font-size:12px;color:#667b89;line-height:1.5}
@media(max-width:650px){.md-product-layout{grid-template-columns:1fr}.md-product-modal{padding:19px}}

/* Ajustement demandé : promotion orange, nouveautés rouge. Autres éléments inchangés. */
#weekly-deals.weekly-deals-banner{background:linear-gradient(112deg,#f77713 0%,#ff8e24 53%,#ffad55 100%)!important;border-color:#f77713!important;box-shadow:0 8px 22px rgba(238,104,15,.15)!important}
#weekly-deals.weekly-deals-banner h2{color:#fff!important;font-size:clamp(23px,2.7vw,36px)!important;font-weight:900!important;text-shadow:0 1px 4px rgba(100,50,0,.15)}
#weekly-deals.weekly-deals-banner p{color:#fff!important;font-weight:600!important}
#weekly-deals.weekly-deals-banner .weekly-tag{background:#fff!important;color:#bb4d00!important}
#weekly-deals.weekly-deals-banner small{color:#fff8e9!important}
#weekly-deals.weekly-deals-banner>a{background:#fff!important;color:#bf5100!important;box-shadow:0 3px 12px #a74a172b}
.hero-aside .mini-promo.cream{background:linear-gradient(120deg,#fee7e8 0%,#f9c9d0 55%,#ee6c80 100%)!important;border-color:#e7a0aa!important}
.hero-aside .mini-promo.cream small{color:#a31535!important;font-weight:900!important}
.hero-aside .mini-promo.cream strong{color:#86132e!important}
.hero-aside .mini-promo.cream span{background:#c51e40!important;color:white!important}
.hero-aside .mini-promo.cream img{filter:none!important}
#nouveautes.md-theme-new{background:linear-gradient(180deg,#fff3f4 0%,#fff 75%)!important;border-radius:16px}
#nouveautes .md-new-card{border-color:transparent!important;box-shadow:0 3px 12px rgba(188,33,62,.085)!important}
#nouveautes .md-new-image em{background:#d62842!important;color:#fff!important}
#nouveautes .eyebrow{color:#c51e40!important}
#ofertas-reales.md-theme-sale{background:linear-gradient(180deg,#fff4e9,#fff 80%)!important;border-radius:16px}
#ofertas-reales .demo-item{border-color:transparent!important;box-shadow:0 3px 11px #ed812311!important}
#products.md-theme-all{background:linear-gradient(180deg,#eff6fb,#fff 80%)!important;border-radius:16px}
#products .demo-item{border-color:transparent!important;box-shadow:0 3px 11px #183b5612!important}

/* Uniquement les retouches validées : nuances sans contours et bannière orange premium. */
#nouveautes .md-new-card,
#ofertas-reales .demo-item,
#products .demo-item{
  border:0!important;
  outline:none!important;
  box-shadow:0 7px 22px rgba(22,46,68,.055)!important;
  border-radius:14px!important;
}
#nouveautes .md-new-card{background:linear-gradient(165deg,#fff4f5,#fffafa 47%,#fff 100%)!important}
#ofertas-reales .demo-item{background:linear-gradient(160deg,#fff2e6,#fff8f3 47%,#fff 100%)!important}
#products .demo-item{background:linear-gradient(160deg,#edf5fc,#f6faff 50%,#fff 100%)!important}
#nouveautes .md-new-card:hover,
#ofertas-reales .demo-item:hover,
#products .demo-item:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 27px rgba(18,45,69,.1)!important;
}
#weekly-deals.weekly-deals-banner{
  position:relative;isolation:isolate;overflow:hidden;
  background:linear-gradient(112deg,#ee5700 0%,#fc7915 39%,#ff9b3d 70%,#ffbb70 100%)!important;
  border:0!important;border-radius:18px!important;
  min-height:190px;padding:30px clamp(24px,4vw,54px)!important;
  box-shadow:0 14px 30px rgba(215,96,9,.19)!important;
}
#weekly-deals.weekly-deals-banner:before{
  content:'';position:absolute;z-index:-1;pointer-events:none;
  width:370px;height:370px;right:11%;top:-200px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.23),rgba(255,255,255,0) 70%);
}
#weekly-deals.weekly-deals-banner:after{
  content:'70%';position:absolute;z-index:-1;right:19%;top:50%;
  transform:translateY(-52%) rotate(-7deg);pointer-events:none;
  color:rgba(255,255,255,.19);font-size:clamp(100px,13vw,205px);font-weight:1000;
  letter-spacing:-.09em;line-height:1;
}
#weekly-deals.weekly-deals-banner h2{font-size:clamp(27px,3.15vw,44px)!important;font-weight:950!important;line-height:1.12!important;max-width:620px;letter-spacing:-.03em}
#weekly-deals.weekly-deals-banner p{font-size:clamp(13px,1.2vw,16px)!important;color:#fff!important}
#weekly-deals.weekly-deals-banner .weekly-tag{
  color:#c94c04!important;background:#fff!important;border:0!important;
  box-shadow:0 2px 10px rgba(136,56,0,.1);letter-spacing:.07em;
}
#weekly-deals.weekly-deals-banner>a{
  color:#b84800!important;background:#fff!important;border:0!important;
  box-shadow:0 7px 15px rgba(100,38,0,.17)!important;
  padding:14px 19px!important;border-radius:11px!important;
  position:relative;z-index:1;
}
#weekly-deals.weekly-deals-banner>a:hover{background:#fff4ed!important;transform:translateY(-2px)}
#ofertas-reales .md-sale-examples-note{color:#85542d;font-size:12px;margin:0 0 15px;line-height:1.5}
#ofertas-reales .md-offer-label{display:inline-block;align-self:flex-start;background:#fff0e0;
 color:#bd5a0a;font-weight:900;font-size:10px;letter-spacing:.03em;border-radius:20px;padding:5px 9px;margin:10px 0 0}
#ofertas-reales #md-no-real-deals{display:none!important}
#ofertas-reales .demo-item .demo-name{margin-top:9px}
@media(max-width:720px){
 #weekly-deals.weekly-deals-banner{min-height:auto;padding:25px 20px!important}
 #weekly-deals.weekly-deals-banner:after{right:-5%;top:36%;font-size:122px}
 #weekly-deals.weekly-deals-banner h2{max-width:100%}
}

.market-benefits .md-trust-trigger{position:relative;cursor:pointer}.market-benefits .md-trust-trigger:focus-visible{outline:2px solid #183b56;outline-offset:3px;border-radius:8px}.md-trust-hover{display:none;position:absolute;left:0;bottom:calc(100% + 12px);width:min(360px,75vw);padding:15px 18px;background:#fff;color:#273746;box-shadow:0 10px 28px #183b5630;border-radius:12px;z-index:20;font:400 13px/1.6 system-ui,sans-serif;text-align:left;white-space:normal;pointer-events:none}.md-trust-trigger:hover .md-trust-hover,.md-trust-trigger:focus-within .md-trust-hover{display:block}.md-trust-modal[hidden]{display:none!important}.md-trust-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px}.md-trust-shade{position:absolute;inset:0;background:#142b43a6}.md-trust-panel{position:relative;background:#fff;border-radius:18px;padding:25px;max-width:540px;width:100%;box-shadow:0 15px 50px #101e3355;color:#183b56}.md-trust-panel h2{margin:0 45px 15px 0;font-size:23px}.md-trust-panel p{font-size:16px;line-height:1.75}.md-trust-close{border:0;background:transparent;color:#183b56;cursor:pointer;position:absolute;right:16px;top:13px;font-size:27px}.md-trust-ok{background:#ff9900;color:white;border:0;border-radius:10px;padding:11px 25px;font-weight:700;cursor:pointer}.md-trust-panel .md-trust-ok{display:block;margin-left:auto}

/* Landing page / cart / COD extension: no homepage layout changes. */
#nouveautes .md-new-card{border:none!important;box-shadow:0 8px 24px rgba(190,31,58,.18)!important;background:#fff!important}
#ofertas-reales .demo-item{border:none!important;box-shadow:0 8px 24px rgba(239,117,20,.20)!important;background:#fff!important}
#products .demo-item{border:none!important;box-shadow:0 8px 24px rgba(24,59,86,.17)!important;background:#fff!important}
#nouveautes .md-new-card:hover{box-shadow:0 12px 30px rgba(190,31,58,.27)!important}
#ofertas-reales .demo-item:hover{box-shadow:0 12px 30px rgba(239,117,20,.27)!important}
#products .demo-item:hover{box-shadow:0 12px 30px rgba(24,59,86,.24)!important}
.md-order-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 9px}
.md-order-actions button,.md-order-submit{border:0;border-radius:10px;padding:13px 12px;font-weight:800;font-size:14px;cursor:pointer;color:white}
.md-action-cart{background:#183b56}.md-action-direct,.md-order-submit{background:#ec831a}
.md-order-actions button:disabled{background:#9aa5ae;cursor:not-allowed}
.md-order-info,.md-order-result{font-size:13px;line-height:1.5;color:#42576a;min-height:10px}
.md-order-form-wrap,.md-cart-panel{background:#f9fbfc;border:1px solid #e4e9ee;border-radius:14px;padding:17px;margin:14px 0}
.md-order-form-wrap[hidden],.md-cart-panel[hidden]{display:none!important}
.md-order-form-wrap h3,.md-cart-panel h3{font-size:18px;margin:0 0 15px;color:#183b56}
.md-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.md-form-grid label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#364e62}
.md-form-grid input,.md-form-grid select,.md-form-grid textarea{width:100%;max-width:100%;border:1px solid #ccd5de;background:white;padding:10px;border-radius:8px;font:inherit;font-size:14px;box-sizing:border-box}
.md-wide{grid-column:1/-1}.md-order-disclaimer{font-size:12px;color:#607285;line-height:1.5}
.md-order-submit{width:100%;margin-top:5px}.md-cart-panel button{border:0;border-radius:8px;padding:9px;background:#183b56;color:white;cursor:pointer;margin:8px 8px 0 0}
#md-cart-items{font-size:13px;line-height:1.7;color:#32465a}
@media(max-width:520px){.md-form-grid{grid-template-columns:1fr}.md-order-actions{grid-template-columns:1fr}}

#md-real-deals-grid .md-promo-list-action{display:block;width:100%;margin:10px 0 2px;background:#fff4e8;color:#a94b0b;border:0;border-radius:9px;padding:10px;font-size:12px;font-weight:800;cursor:pointer}#md-real-deals-grid .md-promo-list-action:hover{background:#ffe0bb}

/* Scoped visual correction: retain pure white page; tinted shadow on PRODUCT tiles only. */
#nouveautes,#ofertas-reales,#products{background:#fff!important;box-shadow:none!important;border:0!important}
#nouveautes .md-new-grid,#ofertas-reales .demo-grid,#products .demo-grid{background:transparent!important;box-shadow:none!important;border:0!important}
#nouveautes .md-new-card{background:#fff!important;border:0!important;box-shadow:0 5px 21px rgba(210,36,65,.22)!important}
#ofertas-reales .demo-item{background:#fff!important;border:0!important;box-shadow:0 5px 21px rgba(235,115,14,.24)!important}
#products .demo-item{background:#fff!important;border:0!important;box-shadow:0 5px 21px rgba(24,75,137,.20)!important}
#nouveautes .md-new-card:hover{box-shadow:0 8px 30px rgba(210,36,65,.31)!important}
#ofertas-reales .demo-item:hover{box-shadow:0 8px 30px rgba(235,115,14,.34)!important}
#products .demo-item:hover{box-shadow:0 8px 30px rgba(24,75,137,.29)!important}
/* Product à la une: screenshot-inspired large orange hero tile and three featured products. */
.md-featured-section{background:#fff!important;margin:26px auto 34px;max-width:1240px;padding:0 20px;box-sizing:border-box}
.md-featured-heading{display:flex;align-items:center;gap:9px;margin:0 0 15px;color:#173b56}.md-featured-heading h2{font-size:23px;margin:0;font-weight:850}.md-featured-dot{width:10px;height:10px;border-radius:50%;background:#ff720b}
.md-featured-layout{display:grid;grid-template-columns:25% 1fr;gap:16px;align-items:stretch}
.md-featured-main{min-width:0;display:flex;flex-direction:column;position:relative;border-radius:15px;padding:20px 16px 15px;background:linear-gradient(155deg,#ff970f 0%,#ff7100 45%,#ee5700 100%);color:white;box-shadow:0 9px 25px rgba(242,105,0,.22)!important;overflow:hidden}
.md-featured-main-brand{font-size:25px;letter-spacing:-1px;font-weight:900}.md-featured-main-brand span{font-size:17px;float:right}.md-featured-main>img{display:block;width:100%;height:205px;object-fit:contain;mix-blend-mode:multiply;filter:drop-shadow(0 8px 11px #9c42003d);margin:9px auto}
.md-featured-main-copy{display:flex;flex-direction:column;gap:7px;margin-top:auto}.md-featured-main-copy>span{font-weight:700;font-size:11px;letter-spacing:.07em}.md-featured-main-copy>strong{font-weight:850;font-size:17px}
.md-featured-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.md-featured-tile{border:0!important;border-radius:15px;background:white;box-shadow:0 5px 22px rgba(231,117,13,.24);padding:13px;display:flex;flex-direction:column;min-width:0;transition:transform .2s,box-shadow .2s}.md-featured-tile:hover{transform:translateY(-3px);box-shadow:0 10px 29px rgba(231,117,13,.32)}
.md-featured-tile img{width:100%;aspect-ratio:1.10;object-fit:contain;border-radius:9px}.md-featured-tile strong{display:block;font-size:14px;color:#1c2e40;line-height:1.4;margin:13px 0 4px}.md-featured-muted{margin-top:auto;color:#667686;font-size:12px;padding-top:6px}.md-featured-click{cursor:pointer}.md-featured-click:focus-visible{outline:3px solid #ff9b37;outline-offset:2px}
@media(max-width:850px){.md-featured-layout{grid-template-columns:1fr}.md-featured-main{flex-direction:row;align-items:center;gap:20px}.md-featured-main>img{width:35%;height:165px;margin:0}.md-featured-main-copy{margin:0}.md-featured-side{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.md-featured-section{padding:0 14px}.md-featured-main{flex-wrap:wrap;padding:15px}.md-featured-main>img{width:46%;height:140px}.md-featured-main-copy{flex:1}.md-featured-side{gap:9px}.md-featured-tile{padding:7px}.md-featured-tile strong{font-size:11px}.md-featured-muted{font-size:10px}}


/* MIODEAL — corrections strictement ciblées, novembre 2026 */
/* 1. Le blanc reste visible entre chaque produit : ombre UNIQUEMENT sur chaque carte. */
body,main.marketplace{background:#fff!important;}
#weekly-deals.weekly-deals-banner h2{font-size:clamp(26px,2.65vw,38px)!important;max-width:710px!important;overflow-wrap:normal!important;}
#weekly-deals.weekly-deals-banner:after{opacity:.16!important;pointer-events:none!important;}

#nouveautes.md-new-arrivals,
#ofertas-reales.md-discounts-only,
#products.product-shelf {background:#fff!important;box-shadow:none!important;border:0!important;}
#nouveautes .md-new-grid,
#ofertas-reales .demo-grid,
#products .demo-grid {background:#fff!important;border:0!important;box-shadow:none!important;gap:20px!important;padding:10px 8px 17px!important;}
#nouveautes .md-new-card{
  background:#fff!important;border:0!important;outline:0!important;
  box-shadow:0 3px 18px rgba(198,31,60,.25)!important;border-radius:13px!important;
}
#nouveautes .md-new-card:hover{box-shadow:0 7px 25px rgba(198,31,60,.35)!important;}
#ofertas-reales .demo-item{
  background:#fff!important;border:0!important;outline:0!important;
  box-shadow:0 3px 18px rgba(241,114,12,.26)!important;border-radius:13px!important;
}
#ofertas-reales .demo-item:hover{box-shadow:0 7px 25px rgba(241,114,12,.36)!important;}
#products .demo-item{
  background:#fff!important;border:0!important;outline:0!important;
  box-shadow:0 3px 18px rgba(24,75,137,.24)!important;border-radius:13px!important;
}
#products .demo-item:hover{box-shadow:0 7px 25px rgba(24,75,137,.33)!important;}
/* 2. Le bloc de la UNE suit exactement l'organisation de la référence :
      bandeau orange continu, grande photo à gauche, trois fiches blanches à droite. */
#produit-a-la-une.md-featured-section{background:#fff!important;box-shadow:none!important;border:0!important;
  max-width:1240px!important;margin:28px auto 34px!important;padding:0 18px!important;}
#produit-a-la-une .md-featured-layout{
  display:grid!important;grid-template-columns:minmax(0,25%) minmax(0,75%)!important;
  align-items:stretch!important;gap:0!important;
  background:linear-gradient(110deg,#ff8300 0%,#ff7000 48%,#ff6000 100%)!important;
  padding:22px!important;border-radius:4px!important;box-shadow:none!important;
}
#produit-a-la-une .md-featured-main{
  background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;
  padding:14px 18px 12px 6px!important;min-width:0!important;
}
#produit-a-la-une .md-featured-main-brand{color:#fff!important;}
#produit-a-la-une .md-featured-main>img{height:240px!important;max-width:100%!important;
  object-fit:contain!important;mix-blend-mode:normal!important;filter:drop-shadow(0 12px 10px rgba(100,41,0,.15))!important;}
#produit-a-la-une .md-featured-side{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;min-width:0!important;
}
#produit-a-la-une .md-featured-tile{
  border:0!important;border-radius:12px!important;background:#fff!important;
  padding:13px!important;box-shadow:none!important;min-width:0!important;
}
#produit-a-la-une .md-featured-tile:hover{transform:translateY(-2px);box-shadow:0 5px 15px rgba(123,42,0,.15)!important;}
#produit-a-la-une .md-featured-tile img{width:100%!important;height:210px!important;object-fit:contain!important;aspect-ratio:auto!important;}
/* 3. Pas de paragraphes de paiement/livraison visibles avant l'action. */
#delivery-modal[hidden],#md-trust-modal[hidden],#miodeal-product-details[hidden],
#md-order-form-wrap[hidden],#md-cart-panel[hidden],#md-landing-view[hidden],
[hidden].md-modal,[hidden].md-trust-modal,[hidden].md-product-backdrop{display:none!important;visibility:hidden!important;}
#md-cod-hover:not(:is(:hover,:focus)),.md-trust-hover{display:none!important;}
#md-cod-trigger:hover #md-cod-hover,#md-cod-trigger:focus-within #md-cod-hover{
  display:block!important;
}
@media(max-width:850px){
 #produit-a-la-une .md-featured-layout{grid-template-columns:1fr!important;gap:14px!important;}
 #produit-a-la-une .md-featured-main{display:flex!important;flex-direction:row!important;min-height:155px!important;align-items:center!important;gap:15px!important;flex-wrap:wrap!important;}
 #produit-a-la-une .md-featured-main>img{width:35%!important;height:155px!important;margin:0!important;}
 #produit-a-la-une .md-featured-side{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}
 #produit-a-la-une .md-featured-tile img{height:145px!important;}
}
@media(max-width:520px){
 #produit-a-la-une .md-featured-layout{padding:12px!important;}
 #produit-a-la-une .md-featured-main-brand{font-size:20px!important;}
 #produit-a-la-une .md-featured-tile{padding:8px!important;}
 #produit-a-la-une .md-featured-tile img{height:100px!important;}
 #produit-a-la-une .md-featured-tile strong{font-size:11px!important;}
 #nouveautes .md-new-grid,#ofertas-reales .demo-grid,#products .demo-grid{gap:13px!important;}
}


/* Actual product cards: shading touches the item only; the page remains white */
body,.marketplace,main,.market-section{background:#fff!important}
.md-live-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:18px 0 26px}
.md-live-card{min-width:0;background:#fff;border:0!important;border-radius:15px;padding:14px;display:flex;flex-direction:column;gap:9px;text-decoration:none;color:#183b56;transition:transform .18s ease,box-shadow .18s ease}
.md-live-card:hover{transform:translateY(-3px)}
.md-sale-card{box-shadow:0 4px 20px rgba(233,117,18,.17)!important}
.md-new-card-real{box-shadow:0 4px 20px rgba(199,31,56,.16)!important}
.md-blue-card{box-shadow:0 4px 20px rgba(24,59,86,.15)!important}
.md-live-card img{height:190px;width:100%;object-fit:contain;background:#fff;border-radius:10px}
.md-live-card h3{font-size:15px;line-height:1.4;margin:3px 0;min-height:40px}
.md-live-card .price{font-weight:800;color:#183b56}
.md-featured-native{padding:18px 20px;background:linear-gradient(125deg,#ed7418,#ffa449);border-radius:18px;margin:30px 0}
.md-featured-native h2{color:white;margin:0 0 14px}
.md-featured-native-grid{display:grid;grid-template-columns:1.45fr repeat(3,1fr);gap:14px}
.md-featured-native-grid .md-live-card{box-shadow:0 5px 16px rgba(121,49,3,.15)!important}
.md-featured-native-grid .md-live-card:first-child{min-height:305px}
.md-featured-native-grid .md-live-card:first-child img{height:220px}
.md-landing-container{max-width:1140px;margin:16px auto;padding:20px}
.md-landing-embed{display:block;width:100%;height:680px;border:0;background:white}
.md-buy-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}
.md-buy-actions button{cursor:pointer;border:0;border-radius:9px;padding:13px 18px;color:white;font-weight:700;background:#183b56}
.md-buy-actions button.md-direct-buy{background:#ec7a17}
.md-product-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(280px,1.2fr);gap:32px;margin:20px 0}
.md-product-layout .main-picture{max-width:100%;max-height:450px;object-fit:contain}
.md-product-layout .gallery{display:flex;gap:10px;flex-wrap:wrap}
.md-product-layout .gallery img{height:90px;width:90px;object-fit:contain}
.md-landing-note{padding:12px;background:#fff6ed;border-radius:9px;margin:12px 0}
.md-mini-note{font-size:13px;color:#656e77}
.md-native-hero{max-width:1200px;margin:0 auto}
.md-global-footer{margin-top:30px}
.md-popover-info[hidden]{display:none!important}
.md-popover-info{background:#fff;border-radius:12px;padding:15px;box-shadow:0 8px 30px #17395830;max-width:370px;position:absolute;z-index:30}
.md-benefit-trigger{cursor:pointer}
@media(max-width:900px){.md-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.md-featured-native-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.md-product-layout{grid-template-columns:1fr}}
@media(max-width:550px){.md-live-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.md-live-card{padding:9px}.md-live-card img{height:115px}.md-featured-native-grid{grid-template-columns:1fr 1fr}.md-landing-embed{height:470px}}

/* MIODEAL - subtle product and category image zoom, respects reduced motion */
@media (prefers-reduced-motion: no-preference){
.photo-category-pic img,.md-featured-tile img,.md-featured-main img,.md-live-card .md-gallery-image,.md-new-card .md-new-image img,.demo-item .demo-img img{transition:transform .38s ease,opacity .3s ease}
.photo-category:hover .photo-category-pic img,.md-featured-tile:hover img,.md-featured-main:hover img,.md-live-card:hover .md-gallery-image,.md-new-card:hover .md-new-image img,.demo-item:hover .demo-img img{transform:scale(1.055)}
}
.photo-category-pic,.md-new-image,.md-live-card .md-gallery{overflow:hidden}

/* MIODEAL — single original demonstration card if no real products; product zoom */
.md-samples-disabled{display:none!important}
.md-demo-limited .md-new-card:not(:first-child), .md-demo-limited .demo-item:not(:first-child){display:none!important}
.md-demo-limited:has(~ .md-manual-product-grid .md-live-card), .market-section:has(.md-youcan-grid .md-live-card) > .md-demo-limited{display:none!important}
.market-section:has(.md-youcan-grid .md-live-card) > .arrival-hint,.market-section:has(.md-youcan-grid .md-live-card) > .product-demo-note,.market-section:has(.md-youcan-grid .md-live-card) > .md-sale-examples-note{display:none!important}
.md-config-badge{display:inline-block;padding:.18rem .5rem;border-radius:15px;background:#f3a044;color:#142b55;font-size:.72rem;font-weight:700;margin:.4rem .1rem}
@media (prefers-reduced-motion: reduce){.md-gallery-image{transition:none!important}}

/* Texte optionnel configurable au bas des cartes À la une */
.md-featured-bottom-text {font-size: .86rem; margin-top: .35rem; line-height: 1.5;}
.md-featured-bottom-link {display:inline-block;margin-top:.35rem;}
.md-featured-main-description {margin-top:.4rem;line-height:1.4;}
