/* Kids Discount V3 — système de palettes. Aucune couleur libre injectée depuis la BDD. */
body.theme-rose{
 --brand:#bb315d;--brand-bright:#d74778;--brand-strong:#922449;--brand-dark:#382538;
 --brand-pale:#fff6f9;--brand-soft:#ffe6ed;--brand-tint:#f6ceda;--brand-line:#efc8d5;
 --brand-hero-1:#ffe2eb;--brand-hero-2:#fbeaf0;--brand-hero-3:#f5e8f3;
 --brand-blob-1:#efbacb;--brand-blob-2:#eacbd5;--brand-blob-3:#dfc5dd;
 --brand-secondary:#f5e3ee;--brand-tertiary:#f8e9ef;--brand-footer:#252236;--brand-banner:#f8e6f3;--brand-text:#292438;
}
body.theme-vert{
 --brand:#247b53;--brand-bright:#27835b;--brand-strong:#195b3e;--brand-dark:#224436;
 --brand-pale:#f3fbf6;--brand-soft:#def2e5;--brand-tint:#bbdec9;--brand-line:#badbcb;
 --brand-hero-1:#e0f5e8;--brand-hero-2:#edf8df;--brand-hero-3:#dff4e9;
 --brand-blob-1:#acd9be;--brand-blob-2:#c5e1ac;--brand-blob-3:#a2d4c4;
 --brand-secondary:#e3f2d6;--brand-tertiary:#dcefe9;--brand-footer:#1b4034;--brand-banner:#ddf3e8;--brand-text:#1b382d;
}
body.theme-bleu{
 --brand:#206cb4;--brand-bright:#287abd;--brand-strong:#15538e;--brand-dark:#213e62;
 --brand-pale:#f1f8ff;--brand-soft:#e1f0fd;--brand-tint:#bbd9f0;--brand-line:#bfd9ec;
 --brand-hero-1:#dfefff;--brand-hero-2:#e8f6ff;--brand-hero-3:#e4ecff;
 --brand-blob-1:#b1d6f3;--brand-blob-2:#b7e2ee;--brand-blob-3:#becaf4;
 --brand-secondary:#e0f3fc;--brand-tertiary:#e3e9ff;--brand-footer:#1b3853;--brand-banner:#e2f0ff;--brand-text:#22384d;
}
body.theme-jaune{
 --brand:#795600;--brand-bright:#946b00;--brand-strong:#604600;--brand-dark:#44371b;
 --brand-pale:#fffaf0;--brand-soft:#fff1c1;--brand-tint:#efdc96;--brand-line:#e8d6a1;
 --brand-hero-1:#fff2bd;--brand-hero-2:#fff7dc;--brand-hero-3:#f8edc5;
 --brand-blob-1:#f1d781;--brand-blob-2:#eddfad;--brand-blob-3:#e9d6a2;
 --brand-secondary:#fff4d9;--brand-tertiary:#f9efd1;--brand-footer:#44371d;--brand-banner:#fff0bb;--brand-text:#40351c;
}
body.theme-violet{
 --brand:#7348a7;--brand-bright:#8053b4;--brand-strong:#55327f;--brand-dark:#39284d;
 --brand-pale:#faf6ff;--brand-soft:#f0e4fb;--brand-tint:#dcc4ec;--brand-line:#dcc6ed;
 --brand-hero-1:#f0e6ff;--brand-hero-2:#eae4ff;--brand-hero-3:#f7e8fb;
 --brand-blob-1:#d7bdeb;--brand-blob-2:#c6c1e9;--brand-blob-3:#e7c5e8;
 --brand-secondary:#eae4ff;--brand-tertiary:#f3e3f9;--brand-footer:#302343;--brand-banner:#efe2fc;--brand-text:#342743;
}
body.theme-corail{
 --brand:#aa482c;--brand-bright:#c45130;--brand-strong:#91371e;--brand-dark:#4c332a;
 --brand-pale:#fff8f4;--brand-soft:#ffeadf;--brand-tint:#f5cabb;--brand-line:#f1cebf;
 --brand-hero-1:#ffe6db;--brand-hero-2:#fff0e2;--brand-hero-3:#fff0e9;
 --brand-blob-1:#f2c1ad;--brand-blob-2:#efd2ae;--brand-blob-3:#eac7ba;
 --brand-secondary:#fff0d8;--brand-tertiary:#fce3d8;--brand-footer:#493128;--brand-banner:#ffe6d9;--brand-text:#413028;
}
/* Transformation globale des accents et surfaces */
body[class*="theme-"]{--ink:var(--brand-text);--rose:var(--brand-bright);--rose2:var(--brand-soft);--cream:var(--brand-pale);--line:var(--brand-line);color:var(--brand-text)}
body[class*="theme-"] .announcement{background:var(--brand-footer)}
body[class*="theme-"] .announcement strong{color:var(--brand-tint)}
body[class*="theme-"] .logo-icon{background:var(--brand-soft);color:var(--brand-bright)}
body[class*="theme-"] .logo strong span{color:var(--brand-bright)}
body[class*="theme-"] .cart-count,body[class*="theme-"] .pill.hot{background:var(--brand-bright)}
body[class*="theme-"] .main-nav a:hover,body[class*="theme-"] .main-nav .nav-flash,body[class*="theme-"] .eyebrow,body[class*="theme-"] .section-intro h2 span,body[class*="theme-"] .brand-doodle span{color:var(--brand)}
body[class*="theme-"] .text-link{text-decoration-color:var(--brand-bright)}
body[class*="theme-"] .main-header{border-color:var(--brand-line)}
body[class*="theme-"] .hero-slide.rose{background:var(--brand-hero-1)}
body[class*="theme-"] .hero-slide.menthe{background:var(--brand-hero-2)}
body[class*="theme-"] .hero-slide.lavande{background:var(--brand-hero-3)}
body[class*="theme-"] .hero-blob{background:var(--brand-blob-1)}
body[class*="theme-"] .hero-slide.menthe .hero-blob{background:var(--brand-blob-2)}
body[class*="theme-"] .hero-slide.lavande .hero-blob{background:var(--brand-blob-3)}
body[class*="theme-"] .hero-eyebrow,body[class*="theme-"] .hero-micro{color:var(--brand-strong)}
body[class*="theme-"] .hero-dots button.active{background:var(--brand-dark)}
body[class*="theme-"] .benefits-grid>div>span,body[class*="theme-"] .product-trust>div,body[class*="theme-"] .footer-doodles{color:var(--brand-bright)}
body[class*="theme-"] .universe-girl{background:var(--brand-soft)}
body[class*="theme-"] .universe-boy{background:var(--brand-secondary)}
body[class*="theme-"] .universe-baby{background:var(--brand-tertiary)}
body[class*="theme-"] .flash-section,body[class*="theme-"] .empty{background:var(--brand-pale)}
body[class*="theme-"] .brand-banner{background:var(--brand-banner)}
body[class*="theme-"] .brand-banner p{color:var(--brand-strong)}
body[class*="theme-"] .footer{background:var(--brand-footer)}
body[class*="theme-"] .footer .logo strong span{color:var(--brand-tint)}
body[class*="theme-"] .footer .logo-icon{background:var(--brand-soft)}
body[class*="theme-"] .btn-dark,body[class*="theme-"] .search button{background:var(--brand-dark);color:#fff}
body[class*="theme-"] .btn-dark:hover{background:var(--brand-strong)}
body[class*="theme-"] .filters input:focus,body[class*="theme-"] .filters select:focus,body[class*="theme-"] .form-card input:focus,body[class*="theme-"] .form-card textarea:focus,body[class*="theme-"] .auth-card input:focus{border-color:var(--brand-bright);box-shadow:0 0 0 3px var(--brand-soft)}
body[class*="theme-"] .checkline input,body[class*="theme-"] .payment-choice input{accent-color:var(--brand-bright)}
body[class*="theme-"] .thumb:hover{border-color:var(--brand)}
body[class*="theme-"] .flash-counter{background:var(--brand-soft);border-color:var(--brand-tint);color:var(--brand-strong)}
body[class*="theme-"] .variants-select label span{color:var(--brand)}
body[class*="theme-"] .timeline{border-color:var(--brand-tint)}
body[class*="theme-"] .timeline-dot{background:var(--brand-bright);box-shadow:0 0 0 2px var(--brand-tint)}
body[class*="theme-"] .contact-side{background:var(--brand-soft)}
body[class*="theme-"] .auth-bg{background:radial-gradient(circle at 15% 25%,var(--brand-soft),transparent 27%),radial-gradient(circle at 90% 75%,var(--brand-secondary),transparent 30%),var(--brand-pale)}
body[class*="theme-"] .auth-card .auth-heart,body[class*="theme-"] .auth-switch a{color:var(--brand)}
body[class*="theme-"] .status:not(.paid):not(.delivered):not(.shipped):not(.cancelled):not(.refunded){background:var(--brand-soft);color:var(--brand-strong)}
body[class*="theme-"] .flash-mini{color:var(--brand-strong)}
/* Logo : ratio conservé, slogan sous le mot-symbole ou sous l'image. */
.logo{display:grid;grid-template-columns:39px minmax(0,auto);grid-template-rows:auto auto;column-gap:9px;row-gap:3px;align-items:center;max-width:245px;min-width:0}
.logo .logo-icon{grid-column:1;grid-row:1/3;align-self:center}
.logo .brand-wordmark{grid-column:2;grid-row:1;min-width:0}
.logo .brand-wordmark strong{display:block}
.logo .brand-slogan{grid-column:2;grid-row:2;letter-spacing:.035em;text-transform:none;font-weight:720;color:var(--brand-strong);font-size:clamp(.58rem,.7vw,.7rem);line-height:1.25;margin:0;max-width:180px;overflow-wrap:break-word}
.logo:has(.brand-logo-image){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;max-width:225px}
.brand-logo-image{object-fit:contain;object-position:center;width:auto;max-width:205px;height:auto;max-height:66px;min-width:0}
.logo:has(.brand-logo-image) .brand-slogan{max-width:218px;text-align:center}
.footer .logo .brand-slogan{color:#e8e5eb}
/* Socials : pas de dépendance à une police externe. */
.nav-inner{gap:clamp(12px,1.8vw,31px);flex-wrap:wrap;padding-block:7px}
.social-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.social-links--header{margin-left:auto;justify-content:flex-end}
.social-icon,.main-nav .social-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:31px;height:31px;border:1px solid var(--brand-line);border-radius:10px;background:var(--brand-pale);color:var(--brand-strong)!important;font-family:Arial,sans-serif;font-weight:900!important;font-size:14px!important;line-height:1;transition:transform .18s ease,background .18s ease}
.social-icon:hover{transform:translateY(-2px);background:var(--brand-soft)}
.social-icon--instagram,.social-icon--threads{font-size:18px!important}
.social-icon--tiktok,.social-icon--youtube{font-size:18px!important}
.social-links--footer{margin-top:21px;justify-content:flex-start;gap:8px}
.footer-grid .social-icon{display:inline-grid!important;margin:0!important;color:#fff!important;background:#ffffff18;border-color:#ffffff43;width:36px;height:36px}
.footer-grid .social-icon:hover{background:var(--brand-bright)}
/* Partage sur fiche produit. */
.product-share{margin-top:22px;padding:19px;border:1px solid var(--brand-line);border-radius:16px;background:var(--brand-pale)}
.product-share-head{display:flex;gap:7px;flex-direction:column;margin-bottom:13px}
.product-share-head strong{font-size:.94rem}
.product-share-head span{font-size:.78rem;color:var(--muted)}
.product-share-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.share-native,.share-network{border:1px solid var(--brand-line);background:#fff;color:var(--brand-dark);border-radius:9px;min-width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 11px;font-weight:850;font-size:1rem;cursor:pointer;transition:transform .15s,background .15s}
.share-native{background:var(--brand-dark);border-color:var(--brand-dark);color:white;gap:7px;font-size:.83rem;padding:0 13px}
.share-native:hover,.share-network:hover{transform:translateY(-2px)}
.share-network:hover{background:var(--brand-soft)}
.share-network b{font-weight:850;font-size:1.05rem}
.share-help{font-size:.73rem;color:var(--muted);line-height:1.55;margin:11px 0 0}
.share-feedback{font-size:.75rem;font-weight:750;color:var(--brand-strong);min-height:0;margin:3px 0 0}
@media(max-width:1050px){.nav-inner{gap:15px}.social-links--header{margin-left:0}.logo .brand-slogan{font-size:.62rem}}
@media(max-width:760px){.header-inner{min-height:78px}.logo{grid-template-columns:33px auto;column-gap:6px;max-width:175px}.logo .brand-wordmark strong{font-size:1.33rem}.logo .brand-slogan{font-size:.58rem;max-width:135px;line-height:1.2}.logo .logo-icon{grid-row:1/3}.brand-logo-image{max-width:145px;max-height:49px}.logo:has(.brand-logo-image){max-width:155px}.logo:has(.brand-logo-image) .brand-slogan{max-width:155px}.main-nav{top:78px}.nav-inner{gap:0}.social-links--header{justify-content:flex-start;gap:8px;padding-block:12px}.main-nav .social-icon{display:inline-grid;width:35px;height:35px;padding:0;border:1px solid var(--brand-line)}.footer-grid .social-icon{margin:0!important}}
@media(max-width:400px){.logo .brand-wordmark strong{font-size:1.18rem}.logo{max-width:152px}.logo .brand-slogan{max-width:120px;font-size:.55rem}.header-actions{gap:9px}.brand-logo-image{max-width:130px;max-height:44px}}
/* Détails restants : pas d'accent rose résiduel après un changement de palette. */
body[class*="theme-"] .product-quick{background:var(--brand-pale);color:var(--brand)}
body[class*="theme-"] .product-quick:hover{background:var(--brand-soft)}
body[class*="theme-"] .product-photo,body[class*="theme-"] .gallery-main,body[class*="theme-"] .cart-item img{background:var(--brand-pale)}
body[class*="theme-"] .product-card,body[class*="theme-"] .filters,body[class*="theme-"] .payment-choice{border-color:var(--brand-line)}
body[class*="theme-"] .countdown{color:var(--brand-strong)}
body[class*="theme-"] .step{background:var(--brand-soft);color:var(--brand-strong)}
body[class*="theme-"] .product-trust{border-color:var(--brand-line)}
body[class*="theme-"] .pagination a:hover,body[class*="theme-"] .pagination .active{background:var(--brand-soft);border-color:var(--brand-tint)}
body[class*="theme-"] .hero-sticker{background:var(--brand-secondary);color:var(--brand-dark)}
body[class*="theme-"] .hero p{color:var(--brand-strong)}
body[class*="theme-"] .checkline a{color:var(--brand-strong)}
