:root{--ink:#ffffff;--ink2:#ffffff;--gold:#a26624;--paper:#1d1d1b;--cream:#1d1d1b;--red:#c17b2b;--blue:#c98a42;--muted:#a6a6a6;--line:#50504d;--surface:#242422;--surface2:#2b2b28;--shadow:0 14px 35px rgba(0,0,0,.38)}
body{background:#1d1d1b;color:#fff;font-family:"Merriweather Sans",Arial,sans-serif}
.home-view{padding-top:clamp(14px,3vw,34px);padding-bottom:clamp(22px,4vw,52px)}.home-poster{width:min(100%,780px);margin:0 auto;border:1px solid #555;border-radius:22px;overflow:hidden;background:#111;box-shadow:0 18px 52px rgba(0,0,0,.5);line-height:0}.home-poster img{display:block;width:100%;height:auto;object-fit:contain}
.topbar{background:rgba(10,10,9,.98);border-bottom:1px solid #353532;box-shadow:0 4px 20px rgba(0,0,0,.42)}
.brand{height:52px}.brand img{display:block;width:150px;height:52px;object-fit:contain;object-position:left center}
.basket-pill{background:#fff;color:#1d1d1b;border-color:#fff}.basket-pill:hover{background:#ddd}
.view{color:#fff}.panel,.product-card,.filters,.notes-summary,.customer-form,.summary-panel{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow)}
.intro-card{background:#111;box-shadow:var(--shadow);border:1px solid #444}.intro-card h1 span,.eyebrow{color:var(--gold)}
.intro-card img{border-left-color:#555}.intro-card p{color:#eee}
.intro-card.banner-card{display:block;min-height:0;background:#000;border-radius:24px;line-height:0;overflow:hidden}
.intro-card .hero-banner{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;border:0}
.section-heading h2,.catalogue-head h1,.product-copy h3,.customer-form h2,.empty-state h2,.summary-house h3{color:#fff}
.secondary,.load-more{border-color:#fff;color:#fff;background:transparent}.secondary:hover,.load-more:hover{background:#fff;color:#1d1d1b}.primary{background:#fff;color:#1d1d1b;border-color:#fff}.primary:hover{background:#a26624;color:#fff;border-color:#a26624}
.hint,.product-sub,.notes-summary p,.form-status,.consent,.notice-small{color:var(--muted)}
.plan-scroll{background:#fff;border-color:#666}.table-chip{background:#282826;border-color:#555;color:#fff}.table-chip:hover{border-color:#a26624;background:#302820}.table-chip strong{color:#c5843b}
.search,.select-row select,.form-grid input,.form-grid textarea,.quantity-control,.quantity-control input,.note-editor textarea{background:#161615;color:#fff;border-color:#555}.search input{color:#fff}.search input::placeholder,.note-editor textarea::placeholder{color:#888}.select-row select{color-scheme:dark}
.link-button{color:#d69a55}.product-card{background:#232321}.product-card:hover{border-color:#6c563b}.product-meta{color:#c98a42}.product-price del{color:#888}.offer-chips span,.offer-badge{background:#a26624;color:#fff}.quantity-control button{background:#33332f;color:#fff}.quantity-control button:hover{background:#a26624}
.promo-price{color:#72e6ab;font-size:13px;font-weight:800}.summary-line .promo-price{color:#72e6ab}
.favorite{color:#777}.favorite.active,.stars button.active{color:#d19045}.product-actions{border-color:#4c4c48}.note-toggle{color:#d5a063}.note-editor{background:#181817}.line-total{color:#fff}.free{color:#d9a357}
.bottom-nav{background:#0e0e0d;border-color:#3e3e3b}.bottom-nav button{color:#92928e}.bottom-nav button.active{color:#fff}.bottom-nav button.active span{color:#b87830}
.notice-date{background:#242422;border-color:#555;color:#fff}.notice-hero{background:#121211;border-color:#50504d}.notice-number{color:#a26624}.notice-card,.offers-guide,.notice-footer{background:#242422;color:#fff}.notice-card>span{background:#a26624;color:#fff}.offers-guide>h2,.notice-card h2,.notice-footer h2{color:#fff}.offer-examples>div{background:#171716;border-color:#555}.offer-examples strong{color:#c98a42}.practical-card.glass,.practical-card.food,.practical-card.tasting,.practical-card.bar{background:#242422;border:1px solid #555}.practical-icon{color:#a26624}
.summary-house{border-color:#555}.total-row.grand{border-color:#fff}.customer-form label span{color:#fff}
.empty-state>span{color:#a26624}
@media(max-width:720px){.brand{height:44px}.brand img{width:125px;height:44px}.home-view{padding:10px 8px 22px}.home-poster{border-radius:14px}.intro-card img{border-left:0;border-top-color:#555}.intro-card.banner-card{border-radius:14px}.intro-card .hero-banner{height:auto;object-fit:contain}}
@media print{body{background:#fff;color:#111}.summary-panel{background:#fff;color:#111}.summary-house h3,.catalogue-head h1{color:#111}}

.top-actions{display:flex;align-items:center;gap:9px}.account-shortcut{border:1px solid #777;background:transparent;color:#fff;border-radius:999px;padding:10px 14px;font-weight:800;cursor:pointer}.account-shortcut:hover,.account-shortcut:focus-visible{background:#fff;color:#111}.order-shortcut{border:1px solid #fff;background:#fff;color:#1d1d1b;border-radius:999px;padding:7px 14px;display:grid;gap:1px;text-align:right;cursor:pointer;font-size:12px}.order-shortcut>strong{font-size:13px}.order-shortcut:hover{background:#ddd}.account-intro{color:var(--muted);margin:-10px 0 22px}.summary-send{margin-top:14px}.summary-send>.secondary{margin-bottom:4px}#customerForm .submit{margin-top:24px}
.pack-badge{border:1px solid #666;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;color:#ddd}
.prep-no-price{border:1px solid #555;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:800}.prep-intro{padding:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px}.prep-intro h2{margin:0 0 6px;font-family:Georgia,serif}.prep-intro p{margin:0;color:var(--muted);max-width:720px}.prep-stats{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:1px 8px;min-width:130px}.prep-stats strong{font-size:28px;color:#c98a42}.prep-stats span{font-size:12px;text-transform:uppercase;letter-spacing:.08em}.prep-filters{position:static}.prep-only{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:14px;font-weight:750}.prep-list{display:grid;gap:12px}.prep-house{padding:0;overflow:hidden}.prep-house-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 18px;border-bottom:1px solid #50504d}.prep-house-head p{margin:0;color:#c98a42;font-size:12px;text-transform:uppercase;font-weight:800}.prep-house-head h2{margin:2px 0 0;font-family:Georgia,serif}.prep-house-toggle,.prep-wine-toggle{border:1px solid #666;background:transparent;color:#fff;border-radius:999px;padding:8px 12px;font-weight:800;cursor:pointer}.prep-house-toggle.selected,.prep-wine-toggle.selected{background:#a26624;border-color:#a26624;color:#fff}.prep-wines{padding:0 18px}.prep-wine{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-bottom:1px dashed #50504d}.prep-wine:last-child{border:0}.prep-wine strong,.prep-wine span{display:block}.prep-wine span{color:var(--muted);font-size:13px;margin-top:2px}.prep-wine-toggle{white-space:nowrap;font-size:12px}.no-grand-total{border-top:1px solid #555;margin:8px 0 0;padding-top:12px;color:var(--muted);font-size:12px}.bottom-nav{gap:min(6vw,70px)}
.prep-select-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.prep-select-row label>span{display:block;font-size:12px;font-weight:800;margin:0 0 5px 4px}.prep-select-row select{width:100%;min-height:44px;border:1px solid #555;background:#161615;color:#fff;color-scheme:dark;border-radius:11px;padding:9px}.prep-select-row label.is-inactive{opacity:.42}.prep-filter-foot,.prep-result-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.prep-filter-foot .prep-only{margin-top:12px}.prep-result-row{border-top:1px solid #454543;margin-top:12px;padding-top:11px;font-size:13px}.prep-result-row span{color:var(--muted);text-align:right}
.product-copy.with-product-logo{position:relative;min-height:58px;padding-left:56px;display:flex;flex-direction:column;justify-content:center}.product-type-logo{display:block;width:46px;height:54px;object-fit:contain;border-radius:7px;background:#232321;border:1px solid #3a3a37}.product-copy.with-product-logo>.product-type-logo{position:absolute;left:0;top:50%;transform:translateY(-50%)}.prep-reference{display:flex;align-items:center;gap:10px;min-width:0}.prep-reference>div{min-width:0}.prep-reference .product-type-logo{flex:0 0 46px}
@media(max-width:720px){.top-actions{gap:5px}.account-shortcut{padding:8px 9px;font-size:11px}.order-shortcut{padding:5px 8px}.prep-intro{align-items:flex-start;flex-direction:column}.prep-house-head{align-items:flex-start;flex-direction:column}.prep-wine{align-items:flex-start}.bottom-nav{gap:0;justify-content:space-around}.bottom-nav button{min-width:0;flex:1;font-size:10px;padding:0 2px}.product-copy.with-product-logo{padding-left:48px;min-height:50px}.product-type-logo{width:40px;height:47px}.prep-reference .product-type-logo{flex-basis:40px}}

.plan-canvas>img{image-rendering:auto}.hotspot{border:2px solid rgba(162,102,36,.95);background:rgba(255,255,255,.06);overflow:visible}.hotspot::after{content:"";position:absolute;inset:-12px}.hotspot:hover,.hotspot:focus-visible{background:rgba(162,102,36,.45);outline:2px solid #fff;outline-offset:1px}.install-card{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px;margin-top:18px}.install-card h2{margin:4px 0 8px;font-family:Georgia,serif}.install-card p{margin:0;max-width:720px;color:var(--muted)}.install-actions{display:grid;gap:10px;min-width:235px}.qr-download{text-align:center;text-decoration:none}.install-help{margin-top:10px!important;color:#fff!important;font-weight:700}
.hotspot.selected{background:rgba(42,173,108,.7);border-color:#19d77c;box-shadow:0 0 0 2px rgba(255,255,255,.9)}.table-chip.selected{background:#173e2d;border-color:#19d77c;box-shadow:inset 4px 0 0 #19d77c}.table-chip.selected strong{color:#72e6ab}.selected-key{display:inline-flex;align-items:center;gap:6px;margin-left:8px;font-weight:800;color:#fff}.selected-key::before{content:"";width:12px;height:12px;border-radius:3px;background:#19d77c;box-shadow:0 0 0 2px rgba(255,255,255,.8)}.prep-share{display:grid;grid-template-columns:1fr minmax(220px,320px) auto;align-items:end;gap:14px;padding:20px;margin-top:16px}.prep-share h2{margin:0 0 5px;font-family:Georgia,serif}.prep-share p{margin:0;color:var(--muted)}.prep-share label span{display:block;margin-bottom:6px;font-size:12px;font-weight:800}.prep-share input{width:100%;min-height:44px;border:1px solid #555;background:#161615;color:#fff;border-radius:11px;padding:10px;font-size:16px}.prep-share .form-status{grid-column:1/-1;margin:0}
.plan-selection-legend{margin:18px 0 6px;padding:13px 15px;border:1px solid #555;border-radius:12px;background:#181817}.plan-selection-legend .selected-key{margin:0}.plan-selection-legend em{font-style:normal;color:var(--muted);font-weight:600}
.prep-filter-foot{justify-content:flex-end;gap:12px}.prep-selection-actions{display:flex;justify-content:flex-end;margin:12px 0 18px}.prep-selection-actions[hidden]{display:none}.selection-clear{border:1px solid #c98a42;background:#8d5a25;color:#fff;border-radius:10px;padding:10px 15px;font-weight:800;cursor:pointer}.selection-clear:hover,.selection-clear:focus-visible{background:#c98a42;color:#111}.summary-quantity{display:grid;grid-template-columns:36px minmax(34px,auto) 36px;align-items:center;text-align:center;border:1px solid #555;border-radius:11px;overflow:hidden;background:#181817}.summary-quantity button{height:38px;border:0;background:#2a2a28;color:#fff;font-size:20px;font-weight:900;cursor:pointer}.summary-quantity>strong{padding:0 8px}.summary-quantity small{grid-column:1/-1;padding:4px 7px;border-top:1px solid #444}.summary-price{min-width:170px;text-align:right}.summary-line{align-items:center;padding:9px 0}
.summary-head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.summary-head-actions .selection-clear,.summary-head-actions .secondary{min-height:44px}.summary-head-actions [hidden]{display:none}@media(max-width:720px){.summary-head-actions{width:100%;justify-content:flex-start}}
.notes-actions{display:flex;gap:9px;flex-wrap:wrap}.field-help{display:block;margin:6px 3px 0;color:var(--muted);font-size:12px}.address-field input:focus{border-color:#c98a42;box-shadow:0 0 0 3px rgba(201,138,66,.18)}@media(max-width:720px){.notes-actions{width:100%}.notes-actions button{flex:1;min-width:150px}}
.prep-selection-shortcut{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(84px + env(safe-area-inset-bottom));z-index:45;display:grid;grid-template-columns:auto auto;column-gap:8px;align-items:center;border:1px solid #fff;border-radius:16px;background:#111;color:#fff;padding:10px 14px;box-shadow:0 8px 28px rgba(0,0,0,.42);cursor:pointer}.prep-selection-shortcut>span{grid-row:1/3;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#a26624;font-weight:900}.prep-selection-shortcut strong{font-size:14px;text-align:left}.prep-selection-shortcut small{font-size:11px;color:#bbb;text-align:left}.prep-selection-shortcut.active{background:#fff;color:#111}.prep-selection-shortcut.active small{color:#555}
.table-chip span{display:block;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35;margin-top:4px}.table-chip span+span{padding-top:5px;margin-top:5px;border-top:1px solid #454542}
.plan-location{position:absolute;z-index:10;transform:translate(-50%,-50%);border:2px solid #fff;background:#a26624;color:#fff;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900;white-space:nowrap;box-shadow:0 4px 18px rgba(0,0,0,.45);opacity:0;pointer-events:none}.plan-location.active{opacity:1;pointer-events:auto;animation:locationPulse 1s ease-in-out 3}@keyframes locationPulse{50%{box-shadow:0 0 0 12px rgba(162,102,36,.35),0 4px 18px rgba(0,0,0,.45)}}
.client-type{border:0;padding:0;margin:0 0 20px}.client-type legend{font-weight:800;margin-bottom:10px}.client-type{display:grid;grid-template-columns:1fr 1fr;gap:10px}.client-type legend{grid-column:1/-1}.client-type label{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #555;border-radius:14px;background:#191918;cursor:pointer}.client-type label:has(input:checked){border-color:#c98a42;background:#302820;box-shadow:inset 4px 0 0 #c98a42}.client-type input{width:20px;height:20px;accent-color:#a26624}.client-type label span,.client-type label strong,.client-type label small{display:block}.client-type label small{color:var(--muted);margin-top:3px}.new-client-fields{margin-top:12px;padding-top:16px;border-top:1px dashed #555}.new-client-fields[hidden]{display:none}
@media(max-width:900px){.prep-select-row{grid-template-columns:repeat(2,minmax(0,1fr))}.prep-select-row label:last-child{grid-column:1/-1}}@media(max-width:720px){html{-webkit-text-size-adjust:100%}body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.topbar{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.view{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.plan-canvas{min-width:980px}.plan-scroll{touch-action:pan-x pan-y;overscroll-behavior:contain}.hotspot::after{inset:-18px}.quantity-control button,.quantity-control input{min-height:46px}.search{height:50px}.select-row select,.form-grid input,.form-grid textarea{min-height:46px;font-size:16px}.prep-select-row select{min-height:48px;font-size:16px}.prep-house-toggle,.prep-wine-toggle,.secondary,.primary{min-height:44px}.install-card{align-items:stretch;flex-direction:column}.install-actions{min-width:0}.prep-share{grid-template-columns:1fr;align-items:stretch}.prep-share .form-status{grid-column:auto}.prep-result-row{align-items:flex-start;flex-direction:column}.prep-result-row span{text-align:left}.selected-key{display:flex;margin:8px 0 0}.client-type{grid-template-columns:1fr}.client-type legend{grid-column:auto}.bottom-nav{height:calc(72px + env(safe-area-inset-bottom));padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.bottom-nav button{min-height:48px}}
@media(max-width:520px){.brand img{width:96px;height:40px}.select-row,.prep-select-row{grid-template-columns:1fr}.select-row label:last-child,.prep-select-row label:last-child{grid-column:auto}.product-card{padding:13px 11px}.product-main{gap:8px}.prep-wines{padding:0 12px}.prep-wine{gap:8px}.prep-wine-toggle{padding:7px 9px}}

/* Sur téléphone, les filtres de Commande défilent avec la page comme ceux de Préparer. */
@media(max-width:720px){#view-catalogue .filters{position:static;top:auto;z-index:auto}}

.catalogue-house{overflow:hidden}.catalogue-house-head{display:grid;grid-template-columns:1fr auto;gap:3px 16px;align-items:center;padding:15px 18px;border-bottom:1px solid #50504d}.catalogue-house-head p{grid-column:1;margin:0;color:#c98a42;font-size:12px;text-transform:uppercase;font-weight:800}.catalogue-house-head h2{grid-column:1;margin:0;font-family:Georgia,serif;color:#fff}.catalogue-house-head span{grid-column:2;grid-row:1/3;color:var(--muted);font-size:12px;font-weight:800}.catalogue-products .product-card{border:0;border-radius:0;box-shadow:none;border-bottom:1px solid #484845}.catalogue-products .product-card:last-child{border-bottom:0}.catalogue-products .product-card:hover{border-color:#484845;background:#282825}
@media(max-width:720px){.catalogue-house-head{padding:14px}.catalogue-house-head span{align-self:end}.catalogue-products .product-card{padding-left:12px;padding-right:12px}}

@media print{body.print-notes{background:#fff;color:#111}.print-notes #view-summary,.print-notes .topbar,.print-notes .bottom-nav,.print-notes .view:not(#view-notes),.print-notes #exportNotes,.print-notes .quantity-control,.print-notes .favorite,.print-notes .note-toggle,.print-notes .line-total,.print-notes .notes-summary p,.print-notes .empty-state{display:none!important}.print-notes #view-notes{display:block!important;padding:0}.print-notes #notesList{display:block}.print-notes .catalogue-head{display:block}.print-notes .catalogue-head h1{color:#111;font-size:34px}.print-notes .notes-summary,.print-notes .product-card{background:#fff;color:#111;box-shadow:none;border-color:#bbb;break-inside:avoid;margin-bottom:10px}.print-notes .product-copy h3,.print-notes .product-price strong{color:#111}.print-notes .product-sub,.print-notes .note-editor{color:#333}.print-notes .note-editor{background:#fff;border:1px solid #ccc}.print-notes .note-editor textarea{color:#111;background:#fff;border:0;min-height:70px}.print-notes .stars button{color:#bbb}.print-notes .stars button.active{color:#a26624}}

/* Ajustements navigation, commande et plan mobile */
#view-catalogue .filters{position:static;top:auto;z-index:auto}
.product-card.without-favorite .product-main{grid-template-columns:1fr auto}
.plan-instruction{position:absolute;left:53%;top:66%;transform:translate(-50%,-50%);z-index:2;padding:8px 14px;border-radius:999px;background:rgba(0,0,0,.78);color:#fff;font-weight:800;font-size:clamp(12px,1.4vw,18px);letter-spacing:.02em;pointer-events:none;white-space:nowrap}
@media(max-width:720px){.plan-canvas{min-width:760px}.plan-scroll{touch-action:auto;overscroll-behavior:contain}.product-card.without-favorite .quantity-control{grid-column:2}}
.form-grid[hidden]{display:none!important}
.client-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.client-sheet-head .account-intro{margin:4px 0 0}.client-sheet-head .secondary{flex:0 0 auto}.privacy-choices{margin:22px 0 0;padding:18px;border:1px solid #555;border-radius:14px}.privacy-choices legend{padding:0 8px;font-weight:900}.privacy-choices .consent{margin:9px 0}.privacy-choices p{margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.prep-consent{grid-column:1/-1;margin:0}.prep-consent input,.privacy-choices input{accent-color:#c98a42}
@media(max-width:720px){.client-sheet-head{align-items:stretch;flex-direction:column}.client-sheet-head .secondary{align-self:flex-start}.privacy-choices{padding:14px}}
.plan-zoom-controls{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin:0 0 9px}.plan-zoom-controls button{min-width:42px;min-height:38px;border:1px solid #666;border-radius:10px;background:#242422;color:#fff;font-weight:800;cursor:pointer}.plan-zoom-controls #planZoomReset{min-width:116px;font-size:13px}.plan-zoom-controls button:hover,.plan-zoom-controls button:focus-visible{background:#fff;color:#111}.plan-zoom-controls button:disabled{opacity:.4;cursor:default}.plan-scroll{touch-action:pan-x pan-y pinch-zoom}.plan-canvas{transform-origin:top left}.clear-tasting-note{display:block;margin:9px 0 0 auto;border:1px solid #c98a42;border-radius:999px;background:transparent;color:#d5a063;padding:8px 12px;font-size:13px;font-weight:800;cursor:pointer}.clear-tasting-note:hover,.clear-tasting-note:focus-visible{background:#a26624;color:#fff}.stars::after{content:"Double-cliquez sur une étoile pour tout effacer";align-self:center;margin-left:8px;color:var(--muted);font-size:12px}.stars button{touch-action:manipulation}
@media(max-width:720px){.plan-zoom-controls{justify-content:center}.plan-scroll{touch-action:pan-x pan-y pinch-zoom}.stars{flex-wrap:wrap}.stars::after{flex-basis:100%;margin:3px 0 0}}

/* Plan sans voile ni surcouche : le SVG reste net pendant le zoom. */
.plan-canvas{min-width:1200px}
.plan-canvas>img{display:block;width:100%;height:auto;filter:none!important;opacity:1!important;image-rendering:auto;transform:none}
.hotspot{border:0;background:transparent;box-shadow:none}
.hotspot:hover,.hotspot:focus-visible{background:rgba(162,102,36,.3);outline:2px solid #fff}
.hotspot.selected{background:rgba(42,173,108,.62);border:2px solid #19d77c;box-shadow:0 0 0 2px rgba(255,255,255,.9)}
@media(max-width:720px){.plan-canvas{min-width:1200px}.plan-scroll{touch-action:pan-x pan-y pinch-zoom;scroll-behavior:smooth}}
