/* KIDS DISCOUNTS V4 · Eco editorial storefront · CSS layer after themes.css
   Photos stay neutral: no CSS color filter, tint, overlay or multiply blend mode. */
.kd-v4{
  --kd-forest:var(--brand-dark,#193f31);
  --kd-sage:var(--brand-pale,#e3f6eb);
  --kd-mint:var(--brand-soft,#dff3e8);
  --kd-leaf:var(--brand-bright,#5da51c);
  --kd-ink:var(--brand-text,#183d30);
  --kd-radius:16px;
  font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;
  color:var(--kd-ink);
  background:#fff;
}
.kd-v4 :focus-visible{outline:3px solid var(--brand-bright);outline-offset:3px}
.kd-v4 .container{width:min(1460px,calc(100% - 64px))}
.kd-v4 .btn{font-weight:800;border-radius:12px;box-shadow:none}
.kd-v4 .btn-dark{background:var(--kd-forest);color:#fff}
.kd-v4 .btn-dark:hover{background:var(--brand-strong)}
.kd-v4 .text-link{text-decoration:none;color:var(--kd-forest)}
/* Thin brand/social strip */
.kd-v4 .eco-topbar{background:linear-gradient(100deg,var(--brand-secondary),var(--brand-pale));color:var(--kd-forest);font-size:.75rem;min-height:34px}
.kd-v4 .eco-topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:34px}
.kd-v4 .topbar-tagline{font-weight:750;letter-spacing:.01em}
.kd-v4 .topbar-tagline>span:first-child{font-size:1.25rem;color:var(--brand-bright);vertical-align:middle}
.kd-v4 .topbar-note{font-weight:600}
.kd-v4 .topbar-social{display:flex;align-items:center;gap:12px;font-weight:700}
.kd-v4 .topbar-social .social-links{margin:0;gap:5px}
.kd-v4 .topbar-social .social-icon{border:0!important;background:transparent!important;color:var(--kd-forest)!important;width:26px;height:26px;font-size:1.05rem!important}
/* One-row desktop masthead, like the approved design */
.kd-v4 .main-header{position:relative;z-index:20;background:#fff;box-shadow:0 2px 15px rgba(21,63,45,.055);border-color:#ebf0eb}
.kd-v4 .header-inner{min-height:104px;gap:clamp(15px,1.45vw,28px);display:flex;align-items:center;justify-content:space-between}
.kd-v4 .header-logo{flex:0 0 184px;min-width:0;overflow:visible}
.kd-v4 .logo:has(.brand-logo-image){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;max-width:none;overflow:visible}
.kd-v4 .brand-logo-image{display:block;max-width:100%;max-height:none;width:100%;height:auto;object-fit:contain;object-position:center;filter:none!important;mix-blend-mode:normal!important}
.kd-v4 .header-logo .brand-slogan{max-width:220px;font-size:.6rem;line-height:1.15;color:var(--brand-strong);letter-spacing:0;font-weight:650;text-align:center;display:none}
.kd-v4 .main-nav{border:0;display:block;min-width:0;flex:1 1 auto}
.kd-v4 .main-nav .nav-inner{display:flex;align-items:center;justify-content:space-evenly;gap:clamp(9px,1.05vw,21px);min-height:0;padding:0;flex-wrap:nowrap}
.kd-v4 .main-nav a{font-size:clamp(.73rem,.82vw,.86rem);font-weight:760;white-space:nowrap;color:var(--kd-forest);position:relative;padding-block:10px}
.kd-v4 .main-nav a:hover{color:var(--brand-bright)}
.kd-v4 .main-nav .nav-home::after{content:"";position:absolute;left:0;right:0;bottom:5px;height:3px;border-radius:5px;background:var(--brand-bright)}
.kd-v4 .main-nav .nav-flash{color:var(--kd-forest)}
.kd-v4 .main-nav .nav-inner a:last-child>span{color:var(--brand-bright);font-size:1.15rem}
.kd-v4 .desktop-search{flex:0 1 300px;min-width:175px;max-width:310px;height:46px;background:#fff;border:1px solid #d9e1dd;border-radius:14px;box-shadow:0 1px 4px rgba(0,0,0,.035)}
.kd-v4 .search input{font-size:.78rem}
.kd-v4 .desktop-search button{padding:4px 9px;background:transparent;color:var(--kd-forest);font-size:1.35rem}
.kd-v4 .desktop-search>span{font-size:1.6rem;color:var(--kd-forest)}
.kd-v4 .header-actions{flex:0 0 auto;gap:19px}
.kd-v4 .head-action{color:var(--kd-forest)}
.kd-v4 .head-action>span{font-size:29px}
.kd-v4 .head-action small{font-size:.62rem;letter-spacing:-.01em}
.kd-v4 .cart-count{background:var(--brand-bright);top:-5px;right:7px}
.kd-v4 .mobile-search{display:none}
/* HERO : natural imagery, no green cast on slide media */
.kd-v4 .hero{position:relative;isolation:isolate;overflow:hidden}
.kd-v4 .hero-slide,.kd-v4 .hero-slide.rose,.kd-v4 .hero-slide.menthe,.kd-v4 .hero-slide.lavande{min-height:423px;background:var(--brand-hero-1)}
.kd-v4 .hero-slide.menthe{background:var(--brand-hero-2)}
.kd-v4 .hero-slide.lavande{background:var(--brand-hero-3)}
.kd-v4 .hero-slide::before,.kd-v4 .hero-slide::after{content:"❧";position:absolute;z-index:0;color:var(--brand-tint);opacity:.47;font-size:clamp(6rem,12vw,13rem);line-height:1;pointer-events:none}
.kd-v4 .hero-slide::before{left:-75px;bottom:-55px;transform:rotate(-35deg)}
.kd-v4 .hero-slide::after{right:-55px;bottom:-60px;transform:rotate(30deg)}
.kd-v4 .hero-content{min-height:423px;grid-template-columns:1fr 1fr;gap:42px}
.kd-v4 .hero-copy{padding:47px 0 55px;max-width:660px}
.kd-v4 .hero-eyebrow{margin-bottom:12px;color:var(--brand-strong);font-size:.83rem;letter-spacing:.13em}
.kd-v4 .hero h1{color:var(--kd-forest);font-size:clamp(3.35rem,5.6vw,5.6rem);line-height:1.04;letter-spacing:-.072em;max-width:640px;margin:0 0 19px;font-weight:900}
.kd-v4 .hero p{color:var(--brand-strong);font-size:1.1rem;line-height:1.5;max-width:500px;margin-bottom:21px}
.kd-v4 .hero .btn-dark{font-size:.9rem;min-height:54px;padding:15px 26px}
.kd-v4 .hero-micro{color:var(--brand-strong);font-weight:760;margin-top:20px}
.kd-v4 .hero-visual{height:405px;align-self:end;position:relative;isolation:isolate}
.kd-v4 .hero-blob{inset:25px 21px -36px 21px;border-radius:53% 53% 0 0 / 58% 58% 0 0;background:var(--brand-tint);opacity:.45;transform:rotate(-5deg)}
.kd-v4 .hero-slide.menthe .hero-blob,.kd-v4 .hero-slide.lavande .hero-blob{background:var(--brand-tint)}
.kd-v4 .hero-visual>img{
  position:absolute;inset:18px 17px 0 auto;display:block;width:91%;height:100%;
  object-fit:cover;object-position:50% 39%;border-radius:52% 52% 0 0 / 55% 55% 0 0;
  z-index:1;background:#fff;opacity:1!important;mix-blend-mode:normal!important;
  filter:none!important;backdrop-filter:none!important;transform:none!important;
}
.kd-v4 .hero-sticker{width:114px;height:114px;right:-5px;top:21px;background:#e9f5d1;box-shadow:0 6px 24px rgba(37,75,33,.1);color:var(--kd-forest);font-size:1.65rem;transform:rotate(13deg)}
.kd-v4 .hero-controls{bottom:18px;left:49%;gap:10px}
.kd-v4 .hero-controls>button{width:35px;height:35px;background:#fff;color:var(--kd-forest)}
.kd-v4 .hero-dots button{background:#b4b9b3}
.kd-v4 .hero-dots button.active{background:var(--kd-forest)}
/* Two editorial rows immediately below hero */
.kd-v4 .kd-home-layout{display:grid;grid-template-columns:minmax(0,1.82fr) minmax(380px,1fr);gap:24px;align-items:end;padding-top:19px}
.kd-v4 .kd-home-categories{min-width:0}
.kd-v4 .kd-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:12px}
.kd-v4 .kd-section-heading h2{font-size:clamp(1.25rem,1.65vw,1.7rem);letter-spacing:-.04em;color:var(--kd-forest);margin:0;position:relative;line-height:1.3}
.kd-v4 .kd-section-heading h2::after{content:"";position:absolute;left:0;bottom:-6px;width:35px;height:3px;background:var(--brand-bright);border-radius:5px}
.kd-v4 .kd-section-heading>a{font-size:.73rem;font-weight:760;color:var(--kd-forest);white-space:nowrap}
.kd-v4 .kd-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.kd-v4 .kd-category-tile{position:relative;isolation:isolate;display:block;border-radius:14px;overflow:hidden;height:135px;background:var(--brand-soft)}
.kd-v4 .kd-category-tile>img{display:block;width:100%;height:100%;object-fit:cover;object-position:left center;filter:none!important;mix-blend-mode:normal!important;transition:transform .3s}
.kd-v4 .kd-category-tile:hover>img{transform:scale(1.05)}
.kd-v4 .kd-category-label{position:absolute;right:0;top:0;bottom:0;width:45%;background:rgba(247,251,238,.93);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;color:var(--kd-forest);border-radius:30px 0 0 30px}
.kd-v4 .kd-cat-icon{font-size:1.4rem;color:var(--brand-bright)}
.kd-v4 .kd-category-label strong{font-size:1.05rem;line-height:1.2}
.kd-v4 .kd-round-arrow{display:grid;place-items:center;background:#fff;border-radius:50%;width:27px;height:27px;font-size:1.1rem;margin-top:3px;box-shadow:0 2px 8px #0001}
.kd-v4 .kd-flash-panel{position:relative;overflow:hidden;min-height:180px;display:flex;align-items:center;border-radius:16px;background:linear-gradient(120deg,var(--brand-pale),var(--brand-secondary));padding:21px 23px;border:1px solid var(--brand-line)}
.kd-v4 .kd-flash-content{position:relative;z-index:2;width:65%}
.kd-v4 .kd-flash-eyebrow{display:block;font-size:.67rem;letter-spacing:.075em;color:var(--brand-strong);font-weight:820}
.kd-v4 .kd-flash-content h2{font-size:1.75rem;font-weight:900;margin:4px 0 3px;color:var(--kd-forest)}
.kd-v4 .kd-flash-content p{font-size:.82rem;max-width:255px;line-height:1.3;margin:0 0 11px}
.kd-v4 .kd-flash-countdown{display:flex;gap:6px;margin:10px 0}
.kd-v4 .kd-flash-countdown>span{width:48px;min-height:43px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border-radius:8px;box-shadow:0 3px 10px #294a3012}
.kd-v4 .kd-flash-countdown b{font-size:1rem;line-height:1.1;color:var(--kd-forest);font-variant-numeric:tabular-nums}
.kd-v4 .kd-flash-countdown small{font-size:.54rem;color:var(--kd-forest)}
.kd-v4 .kd-flash-panel .btn{min-height:35px;border-radius:8px;font-size:.72rem;padding:8px 14px}
.kd-v4 .kd-flash-image{position:absolute;bottom:-8px;right:5%;height:83%;width:30%;object-fit:contain;filter:none;mix-blend-mode:normal;border-radius:10px}
.kd-v4 .kd-flash-discount{position:absolute;right:5px;top:8px;background:var(--brand-bright);border-radius:50%;color:#fff;font-size:1rem;font-weight:900;display:grid;place-items:center;width:57px;height:57px;transform:rotate(11deg)}
.kd-v4 .kd-favorites-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:stretch;padding-top:23px;padding-bottom:23px}
.kd-v4 .kd-favorites{min-width:0}
.kd-v4 .kd-featured-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.kd-v4 .kd-product-card{box-shadow:0 2px 10px #173c2a0b;border:1px solid #f0f2ee;border-radius:13px;overflow:hidden}
.kd-v4 .kd-featured-grid .product-photo{height:175px;background:#f2f4ee}
.kd-v4 .kd-product-card .product-photo img{width:100%;height:100%;object-fit:cover;filter:none!important;mix-blend-mode:normal!important}
.kd-v4 .product-love{position:absolute;top:8px;right:8px;border-radius:50%;background:#fff;width:27px;height:27px;display:grid;place-items:center;color:var(--kd-forest);font-size:1.3rem;line-height:1;pointer-events:none}
.kd-v4 .kd-product-card .product-info{padding:11px 10px}
.kd-v4 .kd-product-card .tiny{font-size:.65rem}
.kd-v4 .kd-product-card .product-name{font-size:.81rem;min-height:36px;line-height:1.24;margin:4px 0 8px;letter-spacing:-.02em;color:var(--kd-forest)}
.kd-v4 .kd-product-card .product-price{gap:6px;flex-wrap:wrap}
.kd-v4 .kd-product-card .product-price strong{color:var(--brand-strong);font-size:.9rem}
.kd-v4 .kd-product-card .product-price del{font-size:.69rem}
.kd-v4 .discount-chip{display:inline-flex;align-items:center;justify-content:center;background:var(--brand-soft);border-radius:15px;padding:1px 6px;color:var(--brand-strong);font-weight:800;font-size:.62rem;margin-left:auto}
.kd-v4 .kd-product-card .product-quick{font-size:.7rem;color:var(--brand-strong);margin-top:8px;padding-top:8px}
.kd-v4 .kd-eco-panel{min-height:273px;border-radius:17px;overflow:hidden;position:relative;isolation:isolate;background:linear-gradient(100deg,var(--brand-secondary),var(--brand-pale));padding:22px 17px 22px 23px}
.kd-v4 .kd-eco-copy{position:relative;z-index:1;width:66%}
.kd-v4 .kd-eco-leaf{color:var(--brand-bright);font-size:2.7rem;position:absolute;left:0;top:-5px}
.kd-v4 .kd-eco-copy h2{font-size:clamp(1.15rem,1.65vw,1.8rem);line-height:1.13;letter-spacing:-.04em;color:var(--kd-forest);margin:0 0 9px 43px;font-weight:900}
.kd-v4 .kd-eco-copy p{font-size:.79rem;line-height:1.46;max-width:300px;margin:0 0 14px}
.kd-v4 .kd-eco-features{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.kd-v4 .kd-eco-features>div{font-size:.65rem;text-align:center;line-height:1.25;display:flex;flex-direction:column;align-items:center;gap:5px}
.kd-v4 .kd-eco-features>div+div{border-left:1px solid #88b398}
.kd-v4 .kd-eco-features span{font-size:1.4rem;color:var(--brand-strong)}
.kd-v4 .kd-eco-panel>img{position:absolute;right:0;bottom:0;width:35%;height:100%;object-fit:cover;object-position:center;filter:none!important;mix-blend-mode:normal!important}
.kd-v4 .kd-eco-link{display:inline-block;color:var(--brand-strong);font-size:.74rem;font-weight:800;margin-top:11px;text-decoration:underline;text-underline-offset:3px}
.kd-v4 .kd-trust-strip{background:linear-gradient(100deg,#fff,var(--brand-pale));border-top:1px solid var(--brand-line);border-bottom:1px solid var(--brand-line)}
.kd-v4 .kd-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:14px 0;gap:16px}
.kd-v4 .kd-trust-grid>div{display:flex;align-items:center;justify-content:center;gap:11px}
.kd-v4 .kd-trust-grid>div+div{border-left:1px solid var(--brand-line)}
.kd-v4 .kd-trust-grid>div>span{font-size:2rem;color:var(--brand-strong);width:35px;text-align:center}
.kd-v4 .kd-trust-grid p{margin:0;line-height:1.3}
.kd-v4 .kd-trust-grid strong{display:block;font-size:.76rem}
.kd-v4 .kd-trust-grid small{font-size:.64rem;display:block;color:var(--brand-strong)}
/* Shared shopping pages visually harmonized */
.kd-v4 .catalog-head h1,.kd-v4 .product-details h1,.kd-v4 .page-top h1{color:var(--kd-forest)}
.kd-v4 .product-card .product-photo img,.kd-v4 .gallery-main img,.kd-v4 .thumb img{filter:none!important;mix-blend-mode:normal!important}
.kd-v4 .breadcrumbs a,.kd-v4 .product-quick{color:var(--brand-strong)}
.kd-v4 .form-card,.kd-v4 .filters{border-color:var(--brand-line)}
/* Footer */
.kd-v4 .footer.kd-footer{background:var(--brand-footer);margin-top:0;color:#fff}
.kd-v4 .kd-footer-grid{grid-template-columns:minmax(165px,1.3fr) minmax(100px,.8fr) minmax(140px,.9fr) minmax(110px,.9fr) minmax(210px,1.3fr);padding-top:34px;padding-bottom:26px;gap:clamp(14px,2.1vw,32px)}
.kd-v4 .kd-footer .footer-brand .brand-logo-image{max-width:180px;filter:brightness(0) invert(1)!important;opacity:.98}
.kd-v4 .kd-footer .footer-brand .logo{align-items:flex-start}
.kd-v4 .kd-footer .footer-brand .brand-slogan{display:none}
.kd-v4 .kd-footer .footer-brand>p{font-size:.76rem;line-height:1.5;color:#e4f0e8;max-width:260px;margin-top:8px}
.kd-v4 .kd-footer h3{font-size:.85rem;font-weight:830;margin-bottom:11px;color:#fff}
.kd-v4 .kd-footer-grid a:not(.logo){font-size:.75rem;line-height:1.34;color:#e5f0e9;margin-bottom:7px}
.kd-v4 .kd-footer-grid a:not(.logo):hover{color:#fff}
.kd-v4 .kd-footer-news p{color:#d9e7e0;font-size:.72rem;line-height:1.45;margin:0 0 11px}
.kd-v4 .kd-news-cta{display:flex!important;align-items:center;justify-content:space-between;background:#fff;color:var(--brand-dark)!important;border-radius:7px;padding:9px 10px;font-weight:800!important;max-width:225px}
.kd-v4 .kd-news-cta span{background:var(--brand-bright);color:#fff;padding:3px 7px;border-radius:5px}
.kd-v4 .kd-footer-social{margin-top:14px}
.kd-v4 .kd-footer-social strong{display:block;font-size:.74rem;margin-bottom:7px}
.kd-v4 .kd-footer-social .social-links{display:flex;gap:5px;margin:0}
.kd-v4 .kd-footer-grid .social-icon{display:inline-flex!important;align-items:center;justify-content:center;width:29px;height:29px;margin:0!important;background:#fff!important;color:var(--brand-dark)!important;border:0!important;border-radius:50%;font-size:.92rem!important}
.kd-v4 .footer-bottom.kd-footer-bottom{border-color:#ffffff5a;color:#cfdfd4;padding-block:12px}
.kd-v4 .footer-bottom a:hover{text-decoration:underline}
/* Tablet / mobile */
@media(max-width:1310px){
 .kd-v4 .header-inner{gap:13px}
 .kd-v4 .header-logo{flex-basis:155px}
 .kd-v4 .main-nav a{font-size:.71rem}
 .kd-v4 .desktop-search{flex-basis:225px;min-width:160px}
 .kd-v4 .header-actions{gap:11px}
 .kd-v4 .kd-favorites-layout{grid-template-columns:minmax(0,1.32fr) minmax(0,1fr)}
 .kd-v4 .kd-eco-features{gap:4px}
}
@media(max-width:1100px){
 .kd-v4 .container{width:min(100% - 42px,1100px)}
 .kd-v4 .header-inner{min-height:84px}
 .kd-v4 .header-logo{flex-basis:150px}
 .kd-v4 .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid var(--brand-line);border-bottom:1px solid var(--brand-line);box-shadow:0 14px 22px #112d2424;z-index:30}
 .kd-v4 .main-nav.open{display:block}
 .kd-v4 .main-nav .nav-inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:16px 24px;gap:8px 22px;justify-content:stretch}
 .kd-v4 .main-nav a{font-size:.89rem;border:0;padding:7px}
 .kd-v4 .main-nav .nav-home::after{bottom:0}
 .kd-v4 .mobile-only{display:grid;place-items:center}
 .kd-v4 .icon-button{border:0;color:var(--kd-forest);background:#fff;font-size:25px}
 .kd-v4 .desktop-search{margin-left:auto;flex-basis:360px;max-width:400px}
 .kd-v4 .hero-content{grid-template-columns:1fr 1fr}
 .kd-v4 .hero h1{font-size:clamp(2.75rem,5vw,4.6rem)}
 .kd-v4 .kd-home-layout,.kd-v4 .kd-favorites-layout{grid-template-columns:1fr 1fr;gap:17px}
 .kd-v4 .kd-category-grid{gap:7px}
 .kd-v4 .kd-category-tile{height:180px}
 .kd-v4 .kd-category-label{width:48%}
 .kd-v4 .kd-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .kd-v4 .kd-featured-grid .product-photo{height:182px}
 .kd-v4 .kd-eco-panel{min-height:525px}
 .kd-v4 .kd-eco-copy{width:100%}
 .kd-v4 .kd-eco-panel>img{height:36%;width:100%;object-position:center 35%}
 .kd-v4 .kd-footer-grid{grid-template-columns:repeat(4,1fr)}
 .kd-v4 .kd-footer-news{grid-column:1/-1}
 .kd-v4 .kd-footer-news p{max-width:500px}
}
@media(max-width:760px){
 .kd-v4 .container{width:calc(100% - 30px)}
 .kd-v4 .eco-topbar{min-height:30px}
 .kd-v4 .eco-topbar-inner{min-height:30px;justify-content:center}
 .kd-v4 .topbar-tagline{font-size:.66rem;text-align:center}
 .kd-v4 .topbar-note,.kd-v4 .topbar-social{display:none}
 .kd-v4 .header-inner{min-height:75px;gap:10px}
 .kd-v4 .header-logo{flex:0 0 146px}
 .kd-v4 .logo:has(.brand-logo-image){max-width:none}
 .kd-v4 .brand-logo-image{max-height:none;width:100%}
 .kd-v4 .header-actions{margin-left:auto;gap:15px}
 .kd-v4 .head-action small{display:none}
 .kd-v4 .head-action>span{font-size:26px}
 .kd-v4 .main-nav .nav-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 15px}
 .kd-v4 .desktop-search{display:none}
 .kd-v4 .mobile-search{display:flex;max-width:none;margin:0 auto 10px;height:39px;background:var(--brand-pale);border-color:var(--brand-line)}
 .kd-v4 .mobile-search button{background:var(--kd-forest);color:#fff}
 .kd-v4 .hero-slide,.kd-v4 .hero-content{min-height:650px}
 .kd-v4 .hero-content{display:flex;flex-direction:column;gap:0;align-items:stretch;justify-content:flex-start}
 .kd-v4 .hero-copy{padding:28px 0 0;align-self:stretch;max-width:none}
 .kd-v4 .hero-eyebrow{font-size:.7rem;margin-bottom:9px}
 .kd-v4 .hero h1{font-size:clamp(2.5rem,10.5vw,4rem);max-width:600px;line-height:1.03;margin-bottom:11px}
 .kd-v4 .hero p{font-size:.9rem;margin-bottom:14px;max-width:480px}
 .kd-v4 .hero .btn-dark{font-size:.78rem;min-height:45px;padding:11px 18px}
 .kd-v4 .hero-micro{display:block;font-size:.68rem;margin-top:12px}
 .kd-v4 .hero-visual{width:min(470px,100%);height:290px;align-self:center;margin-top:13px;flex-shrink:0}
 .kd-v4 .hero-visual>img{height:100%;width:82%;left:9%;top:0;right:auto;object-position:50% 36%}
 .kd-v4 .hero-blob{inset:10px 9% -40px 9%}
 .kd-v4 .hero-sticker{right:4%;top:4px;width:80px;height:80px;font-size:1.15rem}
 .kd-v4 .hero-sticker small{font-size:.51rem}
 .kd-v4 .hero-controls{bottom:11px;left:50%}
 .kd-v4 .kd-home-layout,.kd-v4 .kd-favorites-layout{display:grid;grid-template-columns:1fr;gap:17px;padding-top:20px}
 .kd-v4 .kd-category-tile{height:145px}
 .kd-v4 .kd-section-heading h2{font-size:1.3rem}
 .kd-v4 .kd-section-heading>a{font-size:.67rem}
 .kd-v4 .kd-flash-panel{min-height:191px}
 .kd-v4 .kd-flash-image{width:27%;right:9%;max-height:180px}
 .kd-v4 .kd-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .kd-v4 .kd-featured-grid .product-photo{height:clamp(170px,40vw,280px)}
 .kd-v4 .kd-eco-panel{min-height:320px}
 .kd-v4 .kd-eco-copy{width:65%}
 .kd-v4 .kd-eco-panel>img{width:35%;height:100%;object-position:center}
 .kd-v4 .kd-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 8px}
 .kd-v4 .kd-trust-grid>div{justify-content:flex-start}
 .kd-v4 .kd-trust-grid>div+div{border:0}
 .kd-v4 .kd-trust-grid strong{font-size:.7rem}
 .kd-v4 .kd-trust-grid small{font-size:.61rem}
 .kd-v4 .kd-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .kd-v4 .kd-footer-grid .footer-brand{grid-column:1/-1}
 .kd-v4 .kd-footer-news{grid-column:1/-1}
 .kd-v4 .kd-footer-bottom{flex-direction:column;gap:8px;text-align:center}
}
@media(max-width:420px){
 .kd-v4 .header-logo{flex-basis:127px}
 .kd-v4 .header-actions{gap:11px}
 .kd-v4 .hero-slide,.kd-v4 .hero-content{min-height:630px}
 .kd-v4 .hero-copy{padding-top:24px}
 .kd-v4 .hero h1{font-size:clamp(2.2rem,10vw,3rem)}
 .kd-v4 .hero-visual{height:260px;margin-top:8px}
 .kd-v4 .kd-category-grid{gap:6px}
 .kd-v4 .kd-category-tile{height:123px}
 .kd-v4 .kd-category-label{width:55%;border-radius:20px 0 0 20px}
 .kd-v4 .kd-category-label strong{font-size:.84rem}
 .kd-v4 .kd-cat-icon{font-size:1.05rem}
 .kd-v4 .kd-round-arrow{width:24px;height:24px}
 .kd-v4 .kd-flash-panel{padding:16px 12px;min-height:185px}
 .kd-v4 .kd-flash-content{width:73%}
 .kd-v4 .kd-flash-image{width:26%;right:6px}
 .kd-v4 .kd-flash-countdown>span{width:40px}
 .kd-v4 .kd-flash-discount{width:43px;height:43px;font-size:.76rem}
 .kd-v4 .kd-product-card .product-name{font-size:.76rem}
 .kd-v4 .kd-product-card .product-price strong{font-size:.82rem}
 .kd-v4 .kd-eco-panel{min-height:430px}
 .kd-v4 .kd-eco-copy{width:100%}
 .kd-v4 .kd-eco-panel>img{width:100%;height:43%;object-position:50% 38%}
 .kd-v4 .kd-eco-copy h2{font-size:1.3rem}
 .kd-v4 .kd-eco-features>div{font-size:.59rem}
}
@media(prefers-reduced-motion:reduce){.kd-v4 *{animation:none!important;transition:none!important}}
/* Final refinements from the 390/768/1440px visual review */
.kd-v4 .kd-footer .footer-brand .brand-logo-image{filter:none!important;opacity:1;max-width:198px;background:#f5fff5;padding:5px;border-radius:10px}
@media(min-width:761px) and (max-width:1100px){
 .kd-v4 .kd-home-layout,.kd-v4 .kd-favorites-layout{grid-template-columns:minmax(0,1fr)}
 .kd-v4 .kd-category-tile{height:180px}
 .kd-v4 .kd-category-label{width:43%}
 .kd-v4 .kd-featured-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .kd-v4 .kd-featured-grid .product-photo{height:210px}
 .kd-v4 .kd-eco-panel{min-height:290px}
 .kd-v4 .kd-eco-copy{width:64%}
 .kd-v4 .kd-eco-panel>img{height:100%;width:34%;object-position:center}
}
@media(max-width:760px){.kd-v4 .hero-blob{transform:none}}

/* V4.1 — Espace de respiration sous la fiche produit, avant le footer.
   On utilise un padding sur le conteneur : pas de fusion des marges,
   même lorsque le bloc partage est le dernier élément de la page. */
.kd-v4 .product-page{padding-bottom:clamp(48px,5vw,80px)}
@media(max-width:760px){
  .kd-v4 .product-page{padding-bottom:40px}
}

/* V5.0 — Icônes, ventes flash, catégories, espaces et header */
.kd-v4 .brand-logo-image{max-width:240px;width:100%;height:auto}
.kd-v4 .header-logo{min-width:220px}
.kd-v4 .footer-brand .brand-logo-image{max-width:220px!important}
.kd-v4 .brand-slogan{display:block;font-size:.82rem;line-height:1.2;margin-top:2px}
.kd-v4 .ui-icon,.kd-v4 .nav-icon,.kd-v4 .social-svg,.kd-v4 .share-svg,.kd-v4 .trust-svg,.kd-v4 .cat-svg{display:inline-block;vertical-align:middle}
.kd-v4 .ui-icon{width:18px;height:18px}
.kd-v4 .nav-icon{width:28px;height:28px}
.kd-v4 .head-action span[aria-hidden=true]{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#eef5ef;color:#205441}
.kd-v4 .desktop-search>span,.kd-v4 .mobile-search>span{display:grid;place-items:center}
.kd-v4 .desktop-search button,.kd-v4 .mobile-search button{display:grid;place-items:center}
.kd-v4 .desktop-search button .ui-icon{width:18px;height:18px}

.kd-v4 .social-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#184b40;background:transparent;transition:.2s ease}
.kd-v4 .social-icon:hover{background:#eaf4ee;transform:translateY(-1px)}
.kd-v4 .social-svg{width:18px;height:18px}

.kd-v4 .kd-flash-row-wrap{margin-top:22px}
.kd-v4 .kd-flash-heading{margin-bottom:14px}
.kd-v4 .kd-flash-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.kd-v4 .kd-flash-card{display:grid;grid-template-columns:1.3fr .9fr;background:#eaf3e6;border:1px solid #b8cfbe;border-radius:26px;overflow:hidden;min-height:220px;position:relative}
.kd-v4 .kd-flash-card-copy{padding:24px 20px;display:flex;flex-direction:column;gap:10px}
.kd-v4 .kd-flash-card-copy h3{margin:0;font-size:1.05rem;line-height:1.2}
.kd-v4 .kd-flash-card-copy p{margin:0;color:#33584c}
.kd-v4 .kd-flash-card .btn{margin-top:auto;width:max-content}
.kd-v4 .kd-flash-card-media{position:relative;background:#f5f8f2;display:grid;place-items:center;padding:10px}
.kd-v4 .kd-flash-card-media img{max-width:100%;max-height:170px;object-fit:contain}
.kd-v4 .kd-flash-countdown.mini{gap:6px}
.kd-v4 .kd-flash-countdown.mini span{min-width:auto;padding:8px 10px}
.kd-v4 .categories-after-flash{margin-top:22px;display:block}
.kd-v4 .kd-category-grid--four{grid-template-columns:repeat(4,minmax(0,1fr))}
.kd-v4 .kd-category-grid--four .kd-category-tile{height:220px}
.kd-v4 .kd-category-grid--four .kd-category-label{width:42%;background:rgba(250,252,247,.86);backdrop-filter:blur(4px)}
.kd-v4 .cat-svg{width:24px;height:24px;color:#2a7a60}

.kd-v4 .kd-trust-grid>div>span:first-child{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#f4faf5;color:#145845;flex:0 0 48px}
.kd-v4 .trust-svg{width:26px;height:26px}

.kd-v4 .product-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}
.kd-v4 .product-trust>div{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 16px;border:1px solid #bfd5c5;border-radius:24px;background:#fbfcfb}
.kd-v4 .product-trust .trust-media{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;margin-bottom:12px}
.kd-v4 .product-trust .trust-media.paypal{background:#e8f1ff;color:#0c4ea3}
.kd-v4 .product-trust .trust-media.delivery{background:#e8f6ef;color:#246c4f}
.kd-v4 .product-trust .trust-media.support{background:#fff0df;color:#b96a18}
.kd-v4 .trust-inline{width:34px;height:34px}
.kd-v4 .product-trust strong{display:block;margin-bottom:4px}
.kd-v4 .product-trust span:last-child{color:#6a7074;font-size:.95rem}

.kd-v4 .product-share{margin-top:26px;margin-bottom:34px}
.kd-v4 .share-native,.kd-v4 .share-network{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.kd-v4 .share-svg{width:18px;height:18px}

.kd-v4 .summary-card .promo-line{color:#215943}
.kd-v4 .promo-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;background:#eaf4ee;border:1px solid #bdd2c3;border-radius:999px;color:#205746;font-size:.85rem;font-weight:700}
.kd-v4 .account-promo{margin:12px 0 0}

.kd-v4 .marketing-grid{display:grid;grid-template-columns:2fr 1fr;gap:22px}
.kd-v4 .metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
.kd-v4 .metric-card{background:#fff;border:1px solid #d9e4dd;border-radius:18px;padding:18px}
.kd-v4 .metric-card b{display:block;font-size:1.7rem;color:#184d3e;margin-bottom:4px}
.kd-v4 .table-lite{width:100%;border-collapse:collapse}
.kd-v4 .table-lite th,.kd-v4 .table-lite td{padding:10px;border-bottom:1px solid #e2e9e4;text-align:left;vertical-align:top}
.kd-v4 .mini-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.kd-v4 .mini-form input[type=number]{max-width:90px}
.kd-v4 .smtp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}

@media(max-width:1100px){
 .kd-v4 .kd-flash-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kd-v4 .kd-category-grid--four{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kd-v4 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .kd-v4 .header-logo{min-width:170px}
 .kd-v4 .brand-logo-image{max-width:190px}
 .kd-v4 .kd-flash-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
 .kd-v4 .kd-flash-card{min-width:88%;scroll-snap-align:start}
 .kd-v4 .kd-category-grid--four{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
 .kd-v4 .kd-category-grid--four .kd-category-tile{min-width:82%;scroll-snap-align:start;height:210px}
 .kd-v4 .product-trust{grid-template-columns:1fr}
 .kd-v4 .marketing-grid,.kd-v4 .smtp-grid,.kd-v4 .metric-grid{grid-template-columns:1fr}
 .kd-v4 .social-icon{width:32px;height:32px}
}
