/* V4.0 — Identité fleurie, graphique original sans images de marques. */
:root{--ink:#30202b;--canvas:#fbf5f6;--rose:#983750;--rose-darker:#73273e;--line:#ecdfe3;--teal:#973b54;--teal-dark:#75283f;--sans:'Segoe UI',Arial,sans-serif;--serif:Georgia,'Times New Roman',serif}
body{background:radial-gradient(ellipse 60% 25% at 95% 0%,#fae5eb 0,transparent 100%),linear-gradient(135deg,#fcf8fa,#f9f4f5 65%,#fffafa);color:#281c26}
.site-header{min-height:85px;background:linear-gradient(110deg,#fff7f9 0%,#fff9fa 45%,#fff2f5 100%);border-bottom:1px solid #e8d9df;position:relative;overflow:hidden;isolation:isolate}
.site-header>*{position:relative;z-index:1}.site-header .header-bloom{position:absolute;z-index:0;color:#edc7d2;pointer-events:none;opacity:.43;font-family:Georgia,serif}.bloom-a{top:-32px;left:17%;font-size:134px;transform:rotate(-16deg)}.bloom-b{right:10%;top:-29px;font-size:109px;transform:rotate(26deg)}
.identity{color:#422432;font-size:clamp(23px,2.2vw,35px)}.brandmark{color:#832b48}.brand-subtitle{letter-spacing:.17em;font-size:9px}
.site-nav .nav-catalogue.is-current{background:linear-gradient(110deg,#ad4765,#872e4a);color:#fff;border-color:transparent;box-shadow:0 7px 15px #6c29421e}.site-nav .my-interests{font-weight:700}.site-nav .my-interests.active{color:#8f304f}
.theme-button{font-size:12px;border-radius:999px;background:#fbebf0;border:1px solid #e9d5dc;font-weight:600}.theme-button:hover{background:#f6dce5}.admin-trigger{font-weight:650}
.main-content{margin-top:20px}.catalog-layout{grid-template-columns:245px minmax(0,1fr);gap:20px}.catalog-sidebar{background:#fffdfd;border:1px solid #eadce2;border-radius:23px;padding:21px 18px 24px;box-shadow:0 10px 32px #5c273811;max-height:calc(100dvh - 30px)}
.side-heading{font-size:26px;margin-bottom:14px}.sidebar-categories{gap:3px}.side-category{min-height:43px}.side-category img{width:31px;height:32px}.side-category-count{font-weight:700}.gender-filter-label{font-size:18px}
.catalog-topbar{gap:12px}.catalog-topbar .search-input-wrap{box-shadow:0 8px 20px #46233a09;height:54px;border-color:#e7d9de}.catalog-topbar .top-sort select{height:54px}.search-input-wrap input{font-size:13px}.search-input-wrap:focus-within{border-color:#be7990;box-shadow:0 0 0 4px #b9476814}
.category-section{background:transparent;margin-bottom:14px}.category-head{margin-bottom:9px}.category-head span:first-child{font-family:Georgia,serif;font-weight:700;color:#75374f;font-size:15px}.category-rail{display:flex;align-items:center;gap:7px;min-width:0}.rail-arrow{border-radius:50%;width:28px;height:28px;background:#fff;border:1px solid #eadadf;color:#852d49;box-shadow:0 3px 8px #6c294216;flex:none;font-size:23px;line-height:0}.rail-arrow:hover{background:#f9e6ec}.category-tabs{flex:1;min-width:0;margin:0!important;gap:10px}.category-tab{min-height:116px;flex:0 0 116px;background:linear-gradient(145deg,#fcf0f3,#fffaf9);border-color:#eee1e5;border-radius:18px}.category-tab:nth-child(2n){background:linear-gradient(145deg,#fff3ec,#fffafa)}.category-tab.active{border-color:#a83d5b;box-shadow:0 0 0 1px #9c3553 inset,0 9px 17px #a83c5a12}.category-label{font-family:Georgia,serif;font-weight:700;font-size:12px}.category-illustration{width:86px;height:78px}
.active-filters{margin:0 0 12px}.filter-chip{font-weight:700;white-space:nowrap}
.catalog-results .results-head{margin:0 0 14px;min-height:55px;box-shadow:0 6px 19px #4c21300a}.result-count{font-weight:600;color:#4a3440}.result-count b{color:#983a59}.inventory-summary{font-size:11px!important}.new-filter-button{border:0;border-radius:20px;background:#f9e9ee;color:#8d3450;padding:8px 12px;font-weight:750;font-size:11px;white-space:nowrap}.new-filter-button.is-active{background:#9d3e5a;color:white}
.view-tools{margin-top:-5px;padding:0 0 10px}.view-button{border-radius:10px;background:white;color:#812b46}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.product-card{border-radius:19px!important;box-shadow:0 8px 23px #4a25360c;background:#fffdfd;border-color:#eee2e6;position:relative}
.product-visual{height:218px!important;background:radial-gradient(ellipse 80% 70% at 50% 55%,#fff9f8 0%,#fbf1f3 80%,#faf2f4 100%)!important;overflow:hidden}
.product-art-image{height:215px!important;max-width:95%;object-fit:contain;transition:transform .25s ease}.product-card:hover .product-art-image{transform:scale(1.04)}
.product-card .perfume-badge{right:auto;left:12px;top:12px;z-index:2}.new-label{top:12px!important;left:12px!important;z-index:4;background:linear-gradient(105deg,#c25c78,#92324f)!important;color:#fff!important;font-size:11px!important}
.product-visual:has(.new-label) .perfume-badge{top:45px}
.quick-heart{position:absolute;z-index:5;right:12px;top:10px;width:36px;height:36px;display:grid;place-items:center;border:none;border-radius:50%;background:#fff9;backdrop-filter:blur(3px);color:#87364e;font-size:28px;line-height:1}.quick-heart:hover,.quick-heart.is-selected{background:#fbe8ee;color:#af2f55}
.card-preview{position:absolute;inset:0;z-index:3;opacity:0;color:transparent;border:0;background:transparent;cursor:pointer}.card-preview:focus-visible{opacity:1;background:#fff8;color:#7d2c48;inset:auto 55px 10px 55px;width:auto;padding:10px;border-radius:10px}
.product-body{min-height:203px;padding:13px 16px 15px}.product-brand{order:0;font-family:var(--sans);text-transform:none;color:#563844;font-size:12px;font-weight:740}.product-name{order:1;font-size:22px;color:#2c1b28;line-height:1.16;letter-spacing:-.5px;margin-top:1px}.product-detail{order:2;min-height:19px;color:#8d6070;font-size:12px;margin:6px 0 7px}.product-footer{order:3;margin:8px 0 11px}.product-size{background:#f5f0f2;border-radius:16px;padding:6px 9px;font-size:11px;font-weight:600}.product-quantity{background:#e5f2e8;color:#316642;padding:6px 9px;font-size:11px;font-weight:750}
.detail-action{order:4;margin:0 0 9px;border:0;background:#fbf1f4;color:#8e3652;min-height:33px;font-size:12px;border-radius:10px}.detail-action:hover{background:#f7e0e8}
.interest-action{order:5;min-height:43px!important;border-radius:11px;background:linear-gradient(120deg,#a7405d,#8f2f4b);border:0;font-family:Georgia,serif;font-size:15px;box-shadow:0 6px 13px #8e2f4916}.interest-action:hover{background:#7e2942}
/* Fiche étendue en tiroir droit : évite les modales centrales étroites. */
.product-dialog{inset:0 0 0 auto!important;margin:0!important;height:100dvh;max-height:100dvh;max-width:min(440px,100vw)!important;width:440px!important;border-radius:24px 0 0 24px!important;border:0!important;padding:0 0 20px!important;overflow:auto;color:#34212c;background:#fffafb!important}
.product-dialog::backdrop{background:rgba(47,24,35,.26);backdrop-filter:blur(2px)}.dialog-close{position:sticky;top:16px;left:calc(100% - 55px);float:none;z-index:10;background:#ffffffed;border:1px solid #ecd8df;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-size:26px;box-shadow:0 5px 12px #5b273b17}
.detail-content{display:flex;flex-direction:column;gap:0;clear:both;margin-top:-38px}.detail-photo{min-height:300px;background:linear-gradient(155deg,#fff7fa,#f9edf1);border-radius:0;overflow:hidden}.detail-photo img{max-width:85%;max-height:275px;object-fit:contain;filter:drop-shadow(0 14px 14px #7c45501a)}.detail-copy{padding:22px 28px 10px}.detail-eyebrow{display:block;color:#9c6276;letter-spacing:.16em;font-size:10px;font-weight:800;margin-bottom:15px}.detail-brand{display:block;font-size:14px;letter-spacing:0;text-transform:none;color:#56404c;font-weight:750;margin-bottom:6px}.detail-copy h2{font-size:33px;line-height:1.15;color:#322030}.detail-copy #detailMetadata{background:#f5edf0;color:#784458;border-radius:10px;display:inline-block;padding:8px 10px;font-size:12px;line-height:1.4}.detail-stock{margin-top:4px;font-size:12px;font-weight:800}.detail-copy h3{padding-top:20px;border-top:1px solid #ead9df;font-size:22px}.detail-copy #detailDescription{line-height:1.8;color:#4e404a;font-size:14px}.detail-notes{font-size:13px;line-height:1.9;padding-left:20px;color:#513843;border-top:1px solid #ead8de;padding-top:15px}.detail-source{border-top:1px solid #f0e4e6;padding-top:12px}.detail-copy .interest-action{margin-top:20px;width:100%;min-height:50px!important;font-size:17px}
/* Vue compacte plus dense */
.compact-view .product-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))}.compact-view .product-visual{height:142px!important}.compact-view .product-art-image{height:140px!important}.compact-view .product-body{padding:10px;min-height:180px}.compact-view .product-name{font-size:18px}.compact-view .quick-heart{width:29px;height:29px;font-size:23px}
/* Clavier & accessibilité */
:where(button,input,select,a):focus-visible{outline:3px solid #c46b89!important;outline-offset:3px!important}
@media(max-width:1300px){.catalog-layout{grid-template-columns:220px minmax(0,1fr)}.product-grid{gap:12px}.product-name{font-size:19px}.category-tab{flex-basis:106px}.site-nav button{padding:10px!important;font-size:12px!important}}
@media(max-width:1000px){.catalog-layout{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-sidebar{max-height:none;position:static}.category-tab{flex-basis:110px}}
@media(max-width:700px){.site-header{min-height:68px}.header-bloom{display:none}.identity{font-size:21px}.brand-subtitle{font-size:7px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-visual{height:156px!important}.product-art-image{height:155px!important}.product-name{font-size:17px}.product-body{min-height:195px;padding:11px}.product-detail{font-size:11px}.product-size,.product-quantity{font-size:10px}.detail-action{font-size:11px}.interest-action{font-size:12px}.rail-arrow{display:none}.category-tab{flex-basis:106px}.category-head span:last-child{display:none}.catalog-results .inventory-summary{display:none}.new-filter-button{font-size:10px;padding:7px}.product-dialog{width:100%!important;max-width:100%!important;border-radius:18px 18px 0 0!important;inset:auto 0 0 0!important;height:92dvh;max-height:92dvh}.detail-photo{min-height:205px}.detail-photo img{max-height:185px}.detail-copy{padding:18px}}
@media(max-width:385px){.product-grid{grid-template-columns:1fr}.product-card{display:block}.product-visual{height:185px!important}.product-art-image{height:182px!important}.product-body{min-height:0}.site-nav .nav-catalogue{display:none}.site-header{flex-wrap:nowrap}}
/* Mode nuit : uniformiser les surfaces + lisibilité. */
:root[data-theme="dark"] body{background:linear-gradient(135deg,#1e181f,#251c24);color:#f9edf1}
:root[data-theme="dark"] .site-header{background:linear-gradient(110deg,#30222c,#251c25)}
:root[data-theme="dark"] .catalog-sidebar,:root[data-theme="dark"] .product-card,:root[data-theme="dark"] .catalog-results .results-head,:root[data-theme="dark"] .product-dialog{background:#30232d!important;border-color:#624455!important}
:root[data-theme="dark"] .product-visual,:root[data-theme="dark"] .detail-photo{background:linear-gradient(145deg,#422e3b,#2c232e)!important}
:root[data-theme="dark"] .identity,:root[data-theme="dark"] .product-name,:root[data-theme="dark"] .side-category,:root[data-theme="dark"] .detail-copy #detailDescription,:root[data-theme="dark"] .detail-brand{color:#f9e7ee!important}
:root[data-theme="dark"] .detail-action,:root[data-theme="dark"] .new-filter-button,:root[data-theme="dark"] .side-category-count{background:#543647;color:#f9dde7}
:root[data-theme="dark"] .detail-copy #detailMetadata{background:#4c3443;color:#f7d4e2}
:root[data-theme="dark"] .detail-stock{background:#294639;color:#bfe6cd}
:root[data-theme="dark"] .category-tab{background:#392a35!important;border-color:#6a4859!important}
:root[data-theme="dark"] .category-tab.active{background:#603c4d!important}
