:root{--ink:#363925;--text:#292925;--olive:#4c5a28;--olive-dark:#36421d;--cream:#f7f3eb;--ivory:#fffdf8;--sand:#eee7d9;--sage:#dadfcd;--line:#dcd7ca;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:var(--cream);font-family:var(--sans);line-height:1.55;font-size:16px}a{text-decoration:none;color:inherit}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b5a45a;outline-offset:3px}button:disabled{cursor:default;opacity:.5}img{max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:500;color:var(--ink)}h2{font-size:clamp(30px,3.8vw,44px);line-height:1.18}.skip{position:absolute;left:-9999px}.skip:focus{left:1rem;top:1rem;z-index:9;background:white;padding:1rem}.shipping{background:var(--olive);color:white;font-size:14px;text-align:center;font-weight:600;padding:7px 12px}.header{background:var(--cream);border-bottom:1px solid #e5dfd3}.brandbar{max-width:1440px;margin:auto;display:grid;grid-template-columns:225px 1fr auto;align-items:center;gap:30px;padding:15px 30px}.brand{display:flex;align-items:center}.brand img{display:block;width:205px;max-width:100%;height:auto}.nav{display:grid;gap:11px;justify-content:center}.navrow{display:flex;align-items:center;justify-content:center;gap:clamp(15px,2.5vw,36px)}.nav a{font-size:15px;font-weight:500;white-space:nowrap;position:relative;line-height:1.5}.nav a:after{position:absolute;bottom:-5px;left:0;right:0;content:'';height:2px;background:var(--olive);transform:scaleX(0);transition:transform .18s}.nav a:hover:after,.nav a.active:after{transform:scaleX(1)}.tools{display:flex;gap:10px;align-items:center}.icon-button{border:0;background:transparent;width:38px;height:40px;display:grid;place-items:center;color:var(--text);position:relative}.icon-button svg,.search-field svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.cart-count{position:absolute;right:-1px;top:0;min-width:18px;height:18px;border-radius:50%;background:var(--olive);color:white;font-size:11px;display:grid;place-items:center;padding:0 3px}.cart-count[hidden]{display:none}.mobile-menu{display:none}.wrap{width:min(1280px,calc(100% - 56px));margin:0 auto}.hero{position:relative;display:grid;grid-template-columns:40% 60%;min-height:440px;max-width:1600px;margin:auto;background:#f8f1e6;overflow:hidden}.hero-copy{padding:48px 0 48px clamp(24px,4.6vw,78px);position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero h1{font-size:clamp(38px,4.65vw,66px);line-height:1.04;color:var(--olive-dark);letter-spacing:-.035em;max-width:610px}.hero .line,.section-title:after{height:2px;width:70px;background:#98a75b;content:'';display:block}.hero .line{margin:25px 0 22px}.hero p{font-size:clamp(17px,1.8vw,23px);max-width:460px;line-height:1.45;margin:0 0 24px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--olive);background:var(--olive);color:white;font-size:16px;font-weight:600;line-height:1.25;border-radius:5px;padding:13px 21px;min-height:44px;transition:.18s background,.18s transform}.button:hover{background:var(--olive-dark);transform:translateY(-1px)}.button.secondary{background:transparent;color:var(--olive);border-color:var(--olive)}.button.secondary:hover{background:#e8eadc}.hero-photo{min-height:440px;clip-path:ellipse(115% 135% at 100% 18%);margin-left:-4%;width:104%}.photo{background-image:url('assets/maquette.png');background-repeat:no-repeat;background-size:var(--img-width) var(--img-height);background-position:var(--img-x) var(--img-y);display:block;background-color:#e4dccd}.mountains{position:absolute;bottom:0;left:0;height:74px;width:100%;color:#a4a98d;opacity:.42;pointer-events:none;z-index:-1}.mountains svg{width:100%;height:100%}.promise-row{display:flex;justify-content:center;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 10px;gap:0;background:#f9f5ed}.promise{display:flex;align-items:center;justify-content:center;gap:13px;flex:1;max-width:410px;font-size:16px;font-family:var(--serif);color:var(--ink);padding:0 16px}.promise+.promise{border-left:1px solid #c8c2b2}.promise svg{width:36px;height:36px;stroke:var(--olive-dark);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.section{padding:36px 0}.section-title{text-align:center;margin:0 auto 25px;line-height:1.15;color:var(--olive-dark);letter-spacing:-.025em}.section-title:after{width:65px;margin:14px auto 0}.category-grid,.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.category{border-radius:5px;overflow:hidden;background:#eee8db;display:block;transition:transform .2s,box-shadow .2s}.category:hover{transform:translateY(-3px);box-shadow:0 6px 20px #362e1e18}.category .photo{aspect-ratio:1.07}.category h3{font-size:clamp(18px,2vw,24px);text-align:center;padding:10px 5px;color:#353022}.more-categories{display:flex;justify-content:center;gap:10px;margin:20px auto 0;flex-wrap:wrap}.more-categories a{border-bottom:1px solid #a0a37c;padding:7px 0;margin:0 12px;color:var(--olive-dark);font-size:15px}.product-card{border:1px solid #e6dfd2;background:#f9f6ef;border-radius:5px;overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0}.product-card .product-picture{border:0;display:block;background:transparent;padding:0;width:100%;position:relative}.product-card .photo,.product-card .placeholder-photo{aspect-ratio:1.3;width:100%;transition:filter .2s}.product-card:hover .photo{filter:brightness(1.035)}.product-info{padding:12px 10px 13px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px;flex:1}.product-name{font-family:var(--serif);font-weight:500;font-size:20px;background:transparent;border:none;padding:0;color:var(--ink);line-height:1.22}.product-name:hover{text-decoration:underline}.price{font-weight:700;color:var(--ink);font-size:18px}.indicatif{font-size:12px;color:#777366}.product-info .button{padding:9px 11px;min-height:36px;margin-top:6px;font-size:14px;width:100%}.center{text-align:center;margin-top:22px}.center .button{min-width:220px}.story{background:#dfe3d2;padding:26px 0;overflow:hidden}.story-inner{display:grid;grid-template-columns:44% 1fr;gap:46px;align-items:center}.story-photo{aspect-ratio:2.42;border-radius:4px;min-height:205px}.story h2{color:var(--olive-dark);font-size:clamp(29px,3.1vw,42px);line-height:1.2}.story p{max-width:630px;margin:14px 0 21px}.story .line{height:2px;background:#9ba668;width:55px;margin-top:12px}.footer{background:#eee8dc;border-top:1px solid #dcd4c4}.footer-main{display:grid;grid-template-columns:1.2fr 1fr 1.1fr 1.1fr;gap:34px;padding:38px 0}.footer-brand img{width:160px;margin-bottom:12px}.footer p,.footer a{font-size:14px;color:#5b594b}.footer h3{font-size:19px;margin-bottom:12px}.footer a{display:block;margin:6px 0}.footer a:hover{text-decoration:underline}.footer .location{margin-top:8px;font-weight:600}.footer-bottom{border-top:1px solid #d4ccbc;padding:16px 0;display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#625f50}
.catalog-head{padding:36px 0 32px;background:#eae6d9;border-bottom:1px solid #d9d5c9}.breadcrumb{font-size:13px;color:#666c50;margin-bottom:14px}.breadcrumb a{text-decoration:underline}.catalog-head h1,.story-page h1{font-size:clamp(36px,5vw,58px);color:var(--olive-dark);line-height:1.1;margin:0 0 14px}.catalog-head p{max-width:690px}.catalog-intro{display:grid;grid-template-columns:1.5fr 1fr;gap:35px;align-items:center}.catalog-hero{aspect-ratio:2.3;border-radius:5px;max-height:170px}.catalog-controls{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:24px 0 16px}.catalog-controls span{font-size:14px;color:#68695a}.catalog-controls select{border:1px solid var(--line);border-radius:5px;background:var(--ivory);padding:9px 33px 9px 12px;color:var(--ink);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m5 7 4 4 4-4' fill='none' stroke='%234c5a28' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}.catalog-filters{display:flex;flex-wrap:wrap;gap:8px}.chip{font-size:14px;border:1px solid #b6bca3;background:transparent;border-radius:100px;padding:8px 13px;color:var(--olive-dark)}.chip.active,.chip:hover{background:var(--olive);color:white;border-color:var(--olive)}.catalog-products{padding-bottom:48px}.catalog-note{font-size:14px;color:#69685b;margin-top:20px}.placeholder-photo{background:linear-gradient(140deg,#eee9dc,#d8ddc8);display:grid;place-items:center;position:relative;overflow:hidden}.placeholder-photo svg{width:48%;height:80%;max-height:180px;filter:drop-shadow(8px 10px 7px #66614a1c)}.placeholder-photo .placeholder-caption{position:absolute;bottom:7px;left:8px;right:8px;text-align:center;font-size:11px;color:#676752}.placeholder-photo.balm{background:linear-gradient(130deg,#eee2cf,#daddc9)}.placeholder-photo.gift{background:linear-gradient(130deg,#eadccb,#dce2cf)}.story-page{padding:38px 0 55px}.story-page-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:45px;align-items:center;margin:20px 0 34px}.story-page-grid .photo{aspect-ratio:1.35;border-radius:5px}.story-page p{line-height:1.8;margin:14px 0}.story-page h2{font-size:32px}.story-values{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.story-value{background:var(--ivory);padding:24px;border:1px solid var(--line);border-radius:5px}
.dialog{border:1px solid var(--line);border-radius:6px;background:var(--cream);color:var(--text);max-height:calc(100dvh - 36px);padding:30px;box-shadow:0 14px 48px #28271e36;overflow:auto;max-width:calc(100% - 24px)}.dialog::backdrop{background:#22271c83;backdrop-filter:blur(2px)}.close-button{border:0;border-radius:50%;background:#e8e4d9;color:var(--ink);font-size:25px;width:33px;height:33px;line-height:1;display:grid;place-items:center;position:absolute;top:12px;right:12px;z-index:2}.product-dialog{width:785px}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start;margin-top:8px}.product-detail .photo,.product-detail .placeholder-photo{aspect-ratio:1.03;border-radius:5px;min-height:220px}.product-detail h2{font-size:32px;margin-bottom:10px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--olive);font-size:12px;font-weight:700;margin-bottom:8px}.product-detail .price{font-size:24px;margin:8px 0}.product-detail p{font-size:15px;margin:12px 0;line-height:1.65}.quantity-field{display:flex;align-items:center;gap:10px;margin:16px 0}.quantity-field input{width:75px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:4px}.product-detail .button{width:100%}.search-dialog{width:600px}.search-dialog h2{font-size:32px;margin:0 0 16px}.search-field{border:1px solid #b9c0a6;display:flex;align-items:center;gap:8px;background:white;border-radius:4px;padding:9px 13px}.search-field input{border:none;flex:1;width:100%;outline:none;background:transparent}.search-field svg{width:22px;color:var(--olive)}.search-result{width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;display:flex;align-items:center;gap:12px;padding:12px 0;text-align:left}.search-result .photo,.search-result .placeholder-photo{width:70px;aspect-ratio:1;border-radius:4px;flex-shrink:0}.search-result .placeholder-caption{display:none}.search-result span{flex:1}.search-result strong{display:block;color:var(--ink);font-weight:600}.search-result small{color:#737260}.search-result .price{font-size:16px;flex:0;white-space:nowrap}.empty{color:#777568;padding:24px 0;text-align:center}.cart-dialog{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:435px;max-width:100%;border-radius:0;padding:24px}.drawer-head{position:relative;display:flex;align-items:center;gap:10px;padding:4px 34px 18px 0;border-bottom:1px solid var(--line)}.drawer-head h2{font-size:31px}.drawer-head .close-button{top:3px;right:0}.cart-row{display:grid;grid-template-columns:73px 1fr;gap:13px;padding:15px 0;border-bottom:1px solid var(--line)}.cart-row .photo,.cart-row .placeholder-photo{width:73px;height:73px;border-radius:4px}.cart-row .placeholder-caption{display:none}.cart-row h3{font-size:18px}.cart-row .price{font-size:15px}.cart-line{display:flex;justify-content:space-between;align-items:center;margin-top:8px;gap:8px}.quantity-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:4px;overflow:hidden}.quantity-control button{border:0;background:var(--sand);width:32px;height:30px}.quantity-control span{padding:0 10px;font-size:14px}.remove{background:transparent;border:0;text-decoration:underline;color:#6d6b5e;font-size:13px}.cart-total{padding:20px 0}.cart-total .sum{display:flex;justify-content:space-between;font-size:20px;font-weight:600;color:var(--ink);margin-bottom:11px}.cart-total p{font-size:14px;color:#676552;margin-bottom:12px}.cart-total .button{width:100%}.progress{height:5px;border-radius:10px;background:#dedacf;overflow:hidden;margin:7px 0 15px}.progress span{display:block;background:#7e8b4c;height:100%}.demo-box{background:#eee9dc;border:1px solid var(--line);padding:13px;font-size:13px;color:#625e4b;border-radius:4px;margin-top:13px}.toast{display:block}#toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:var(--olive-dark);color:white;padding:12px 20px;border-radius:5px;z-index:8;font-size:15px;text-align:center;max-width:90vw;transition:opacity .18s,transform .18s}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1080px){.brandbar{grid-template-columns:170px 1fr auto;gap:14px;padding:14px 20px}.brand img{width:170px}.navrow{gap:18px}.nav a{font-size:14px}.hero{min-height:390px}.hero-photo{min-height:390px}.hero-copy{padding-right:5px}.wrap{width:calc(100% - 40px)}}
@media(max-width:780px){.shipping{font-size:12px;padding:7px 6px}.hero{display:flex;flex-direction:column;min-height:auto}.hero-copy{padding:31px 22px 27px}.hero h1{font-size:clamp(37px,8.7vw,54px);max-width:570px}.hero .line{margin:17px 0}.hero p{font-size:18px;max-width:360px;margin-bottom:18px}.hero-photo{min-height:0;aspect-ratio:1.55;clip-path:none;margin:0;width:100%}.mountains{height:46px}.promise-row{padding:12px 3px;align-items:stretch}.promise{flex-direction:column;text-align:center;font-size:12px;line-height:1.2;padding:0 6px;gap:5px}.promise svg{width:27px;height:27px}.wrap{width:calc(100% - 28px)}.section{padding:28px 0}.section-title{margin-bottom:17px}.category-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category h3{font-size:18px;padding:9px 4px}.product-name{font-size:17px}.price{font-size:16px}.product-info{padding:9px 6px}.product-info .button{font-size:12px}.more-categories a{font-size:13px;margin:0 5px}.story-inner{grid-template-columns:1fr;gap:20px}.story-photo{min-height:160px;aspect-ratio:2.3}.story h2{font-size:32px}.story{padding:20px 0 24px}.footer-main{grid-template-columns:1fr 1fr;gap:23px;padding:25px 0}.footer-brand img{width:130px}.footer-bottom{flex-direction:column;font-size:11px;gap:8px}.catalog-intro{grid-template-columns:1fr;gap:20px}.catalog-head{padding:24px 0}.catalog-hero{max-height:150px}.catalog-controls{align-items:flex-start;flex-direction:column}.catalog-controls select{max-width:100%;font-size:14px}.catalog-filters{gap:6px}.chip{font-size:12px;padding:6px 10px}.story-page-grid{grid-template-columns:1fr;gap:19px}.story-values{grid-template-columns:1fr}.product-dialog{padding:20px 16px}.product-detail{grid-template-columns:1fr;gap:17px}.product-detail .photo,.product-detail .placeholder-photo{aspect-ratio:1.6;min-height:0}.product-detail h2{font-size:29px}.search-dialog{padding:23px 15px}.search-result .photo,.search-result .placeholder-photo{width:57px}.search-result strong{font-size:14px}.search-result .price{font-size:14px}.cart-dialog{padding:20px 16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Catalogue original Aoumm – les images reproduisent les fichiers véritables lorsqu'ils existent. */
.original-photo{position:relative;background:#faf7ef;display:flex;align-items:center;justify-content:center;overflow:hidden}
.original-photo img{width:100%;height:100%;object-fit:contain;display:block}
.product-card .original-photo.hemp-oil-photo,.product-detail .original-photo.hemp-oil-photo{aspect-ratio:4/3;min-height:0;padding:0}
.hemp-oil-photo img{object-fit:cover}
.product-card .original-photo{aspect-ratio:1.3;width:100%;padding:14px 12px}
.product-detail .original-photo{aspect-ratio:1;min-height:220px;border:1px solid var(--line);border-radius:5px;padding:12px}
.search-result .original-photo{width:70px;aspect-ratio:1;border-radius:4px;flex-shrink:0;padding:4px}
.cart-row .original-photo{width:73px;height:73px;border-radius:4px;padding:4px}
.detail-visual{position:relative}
.price-row{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.product-detail .price-row{justify-content:flex-start}
.old-price{font-weight:400;font-size:14px;color:#777466;text-decoration:line-through}
.stock-badge,.visual-note{position:absolute;top:10px;left:10px;font-size:12px;background:#403c32;color:white;border-radius:4px;padding:5px 8px;line-height:1.2}
.sale-badge{background:var(--olive)}
.visual-note{background:#f9f5eddf;color:#495134;top:auto;bottom:8px;left:8px;max-width:calc(100% - 16px)}
.availability-message{font-weight:600;padding:12px 14px;background:#e6e0d1;color:#625b47;border-radius:4px;margin-top:16px}
.source-link{display:inline-block;font-size:14px;text-decoration:underline;margin-top:16px;color:var(--olive-dark)}
.specs{font-size:14px;margin:8px 0 12px;padding-left:20px;line-height:1.5}
.precautions{font-size:14px;margin-top:16px;border-top:1px solid var(--line);padding-top:12px}
.precautions summary{cursor:pointer;color:var(--olive-dark);font-weight:600}
.precautions p{font-size:14px;margin:6px 0}
.product-info .button{margin-top:auto}
.product-info{padding-bottom:13px}
.product-name{min-height:26px}
@media(min-width:781px) and (max-width:980px){.brandbar{grid-template-columns:150px 1fr auto;gap:10px;padding:12px}.brand img{width:145px}.navrow{gap:12px}.nav a{font-size:12px}.tools{gap:0}}
@media(max-width:780px){.product-card .original-photo{padding:8px}.product-detail .original-photo{min-height:0;aspect-ratio:1.3}.search-result .original-photo{width:57px}.stock-badge{font-size:10px;top:5px;left:5px}.visual-note{font-size:10px;left:5px;bottom:5px}.product-name{min-height:0}}

/* Sélecteur de poids et étiquettes originales des thés et infusions */
.format-note{font-size:12px;white-space:normal;line-height:1.4}
.product-dialog:has(.variant-fieldset){width:880px}
.label-figure{margin:0;display:grid;gap:10px}
.label-image{display:grid;place-items:center;padding:8px;background:var(--ivory);border:1px solid var(--line);border-radius:5px}
.label-image img{display:block;width:100%;height:auto;max-height:570px;object-fit:contain}
.product-detail .label-caption{font-size:12px;line-height:1.4;color:#656858;text-align:center;margin:0}
.label-caption a{display:block;color:var(--olive);text-decoration:underline;text-underline-offset:3px;margin-top:4px;font-weight:600}
.product-detail .missing-label{padding:8px 0}
.variant-fieldset{border:0;margin:18px 0;padding:0;min-width:0}
.variant-fieldset legend{font-weight:600;font-size:14px;padding:0 0 8px}
.variant-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.variant-option{position:relative;cursor:pointer}
.variant-option input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}
.variant-body{display:flex;flex-direction:column;gap:2px;min-height:70px;justify-content:center;align-items:center;border:1px solid var(--line);background:var(--ivory);border-radius:5px;padding:10px 7px;color:var(--ink);line-height:1.3;transition:background .15s,border-color .15s}
.variant-body strong{font-size:17px}
.variant-body span{font-size:14px;color:var(--olive)}
.variant-option input:checked+.variant-body{background:#e5e9da;border:2px solid var(--olive);padding:9px 6px}
.variant-option input:focus-visible+.variant-body{outline:3px solid #b5a45a;outline-offset:3px}
.selected-format{font-size:13px;color:#696b5c}
.cart-format{color:#696b5c;font-size:12px;line-height:1.35;margin:2px 0}
@media(max-width:780px){.label-image img{max-height:390px}.variant-fieldset{margin:15px 0}.product-dialog:has(.variant-fieldset){width:100%}.label-figure{gap:6px}}

/* Descriptions gourmandes et introduction de la gamme boissons. */
.beverage-intro{max-width:850px;margin:-8px auto 25px;text-align:center;font-size:16px;line-height:1.65;color:var(--text)}
.product-detail .ingredients{font-size:15px;line-height:1.58}
.tasting-note{margin:12px 0 16px;padding:15px 18px;background:#eeede1;border-left:3px solid #81925f;border-radius:0 4px 4px 0}
.tasting-note h3{font:600 15px var(--sans);color:var(--olive-dark);letter-spacing:.02em;margin:0 0 7px}
.product-detail .tasting-note p{font-size:15px;line-height:1.6;margin:0}
.product-detail .allergen{font-size:13px;color:#5e5e51}
.variant-options:has(.variant-option:only-child){grid-template-columns:1fr;max-width:220px}
@media(max-width:780px){.beverage-intro{margin:0 auto 19px;text-align:left}.tasting-note{padding:13px 15px}}

/* Dedicated matcha category: retain the existing balanced category layout. */
@media(min-width:781px){.category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.navrow{gap:clamp(12px,1.9vw,28px)}}
@media(max-width:780px){.category-grid>.category:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 12px)/2);justify-self:center}}

/* A dedicated space for massage candles, with an even six-tile home grid. */
@media(min-width:1101px){.category-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.category h3{font-size:clamp(17px,1.65vw,22px)}.navrow{gap:clamp(10px,1.65vw,22px)}}
@media(min-width:781px) and (max-width:1100px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.navrow{gap:10px;flex-wrap:wrap}}
.massage-collection-photo{background:#e6ddcd;display:block;overflow:hidden}
.massage-collection-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.category .massage-collection-photo{aspect-ratio:1.07}
.massage-collection-photo.catalog-hero{aspect-ratio:1.5;max-height:none;min-height:135px}



/* The three additional themed collections use consistent editorial illustrations. */
.category-illustration{position:relative;overflow:hidden;background:#e6ddcd;display:block}
.category-illustration img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.category-grid.extra-categories{margin-top:18px;grid-template-columns:repeat(3,minmax(0,1fr))}
.extra-categories .category-illustration{aspect-ratio:2.15}
.category-illustration.catalog-hero{width:100%;aspect-ratio:2.3;border-radius:5px}

@media(max-width:1100px) and (min-width:781px){.extra-categories .category-illustration{aspect-ratio:1.65}}
@media(max-width:780px){.category-grid.extra-categories{margin-top:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.extra-categories .category-illustration{aspect-ratio:1.07}.category-illustration.catalog-hero{max-height:180px}}

/* Authentic workshop photograph for the story page and its home teaser. */
.atelier-photo{overflow:hidden;border-radius:5px;background:#eee8db}
.atelier-photo img{display:block;width:100%;height:auto}
.atelier-photo.story-photo img{height:100%;aspect-ratio:2.42;object-fit:cover;object-position:center 64%}
.story-page-grid .atelier-photo img{width:100%;height:auto}
@media(max-width:780px){.atelier-photo.story-photo img{aspect-ratio:2.3}}

/* Photos des mélanges en vrac dans une coupelle artisanale.
   La coupelle est un fond illustratif : chaque image originale reste intacte. */
.composition-photo{position:relative;background:#e8d8c5 url('assets/compositions/coupelle-ceramique.webp') center center/cover no-repeat;display:block;aspect-ratio:4/3;overflow:hidden;isolation:isolate}
.composition-photo img{position:absolute;left:48.5%;top:49%;transform:translate(-50%,-50%);width:62%;height:auto;max-height:83%;object-fit:contain;display:block;mix-blend-mode:multiply;clip-path:circle(49% at 50% 50%)}
/* Caffè Siciliano : torréfaction légèrement plus foncée, fond blanc préservé. */
.composition-photo img[src="assets/compositions/gingembre-citron.webp"]{width:54%;max-height:72%}
.composition-photo img[src="assets/compositions/siciliano.webp"]{filter:brightness(.94) contrast(1.16)}
.product-card .composition-photo{aspect-ratio:4/3;width:100%}
.search-result .composition-photo{width:70px;aspect-ratio:4/3;border-radius:4px;flex-shrink:0}
.cart-row .composition-photo{width:73px;aspect-ratio:4/3;border-radius:4px;flex-shrink:0}
/* Two naturally proportioned product photographs, with a full-size viewer. */
.product-gallery{margin:0;display:grid;gap:10px;min-width:0}
.gallery-stage{position:relative;display:block;width:100%;aspect-ratio:4/3;border:1px solid var(--line);border-radius:5px;background:#faf7ef;overflow:hidden;padding:0}
.gallery-enlarge{cursor:zoom-in}
.gallery-stage .composition-photo{width:100%;height:100%;aspect-ratio:4/3}
.gallery-label-photo{width:100%;height:100%;padding:9px;display:grid;place-items:center}
.gallery-label-photo img{width:100%;height:100%;min-height:0;object-fit:contain;display:block}
.gallery-zoom{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#fffdf4ee;color:var(--olive-dark);box-shadow:0 1px 6px #28271e28}
.gallery-zoom svg{width:19px;height:19px}
.gallery-caption{display:flex;flex-direction:column;gap:2px;text-align:center;font-size:14px;line-height:1.35;color:var(--text)}
.gallery-caption span{font-size:12px;color:#656858}
.gallery-thumbnails{display:flex;justify-content:center;gap:10px}
.gallery-thumb{width:104px;max-width:44%;display:flex;flex-direction:column;gap:4px;padding:4px;background:var(--ivory);color:var(--ink);border:1px solid var(--line);border-radius:5px;font:600 13px/1.35 var(--sans);overflow:hidden}
.gallery-thumb[aria-pressed="true"]{border:2px solid var(--olive);padding:3px;background:#e9ecdc}
.gallery-thumb-photo{width:100%;aspect-ratio:4/3;display:block;overflow:hidden;border-radius:3px;background:#fff}
.gallery-thumb-photo .composition-photo{width:100%;height:100%}
.gallery-thumb-label img{width:100%;height:100%;object-fit:contain;display:block}
.gallery-thumb>span:last-child{padding:2px 0;text-align:center}
.photo-dialog{width:min(900px,calc(100vw - 24px));padding:19px 24px 20px;overflow:auto}
.photo-title{font:400 clamp(17px,2.7vw,26px)/1.25 var(--serif);color:var(--olive-dark);margin:0 42px 14px;text-align:center}
.gallery-large{justify-items:center;gap:8px}
.gallery-large .gallery-stage{width:min(100%,76dvh);aspect-ratio:4/3}
.gallery-large .gallery-stage:has(.gallery-label-photo){height:min(57dvh,660px);aspect-ratio:auto;background:#fff}
.gallery-large .gallery-thumb{width:86px}
.gallery-large .gallery-thumb-photo{aspect-ratio:1.55}
@media(max-width:780px){.search-result .composition-photo{width:57px}.photo-dialog{padding:14px 12px}.gallery-large .gallery-stage{width:100%}.gallery-large .gallery-stage:has(.gallery-label-photo){height:min(56dvh,550px)}}
/* Prix des créations personnalisées : lisibles sur les cartes et fiches. */
.price.price-on-request{font-size:16px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.product-detail .price.price-on-request{font-size:18px}
.search-result .price.price-on-request{font-size:13px;text-align:right;max-width:44%}
@media(max-width:780px){.product-card .price.price-on-request{font-size:14px}}

/* Category headers use individually cropped images, with their aspect ratio preserved. */
.category-illustration.catalog-hero.catalog-hero-natural{aspect-ratio:1.5;max-height:275px;width:100%;min-width:0}
.category-illustration.catalog-hero.catalog-hero-natural img{object-fit:cover;object-position:center}
@media(max-width:780px){.category-illustration.catalog-hero.catalog-hero-natural{aspect-ratio:1.5;max-height:245px}}

/* Coffret personnalisé : l'intégralité du catalogue en stock, en une seule composition. */
.product-dialog.box-builder-mode{width:min(1160px,calc(100vw - 24px));padding:25px 28px;overflow:auto}
.box-builder{min-width:0}
.box-header{display:grid;grid-template-columns:144px minmax(0,1fr);gap:22px;align-items:center;padding:0 38px 20px 0;border-bottom:1px solid var(--line);margin-bottom:20px}
.box-cover{border:1px solid var(--line);border-radius:5px;overflow:hidden;background:var(--ivory)}
.box-cover .original-photo{width:100%;aspect-ratio:1.2;min-height:0;padding:8px}
.box-header h2{font:400 clamp(25px,3.1vw,37px)/1.15 var(--serif);color:var(--olive-dark);margin:2px 0 8px}
.box-header p:not(.eyebrow){font-size:15px;line-height:1.5;margin:0 0 8px;max-width:750px}
.box-price-note{font-size:14px;color:var(--olive-dark)}
.box-builder-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:22px;align-items:start}
.box-catalogue,.box-recap{min-width:0}
.box-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.box-list-head h3,.box-recap h3{font:400 23px/1.2 var(--serif);color:var(--olive-dark);margin:0 0 5px}
.box-muted{color:#686a57;font-size:13px;line-height:1.45;margin:0}
.box-selection-jump{border:1px solid var(--line);padding:6px 9px;border-radius:4px;background:var(--ivory);color:var(--olive-dark);font-size:13px;font-weight:600;white-space:nowrap}
.box-filters{display:grid;grid-template-columns:1.3fr 1fr;gap:10px;margin:14px 0}
.box-filters label,.box-format-label{font-size:13px;line-height:1.4;font-weight:600;color:var(--ink)}
.box-filters input,.box-filters select,.box-format{display:block;width:100%;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:4px;background:var(--ivory);color:var(--text);font-size:14px;margin-top:4px}
.box-product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:min(51dvh,540px);min-height:135px;overflow:auto;padding:1px 8px 4px 1px;overscroll-behavior:contain}
.box-item{display:grid;grid-template-columns:67px minmax(0,1fr);align-items:start;gap:9px;padding:10px;border:1px solid var(--line);border-radius:5px;background:var(--ivory);min-width:0}
.box-thumb{width:67px;aspect-ratio:1;display:grid;place-items:center;border-radius:4px;overflow:hidden;background:#f3ecdf}
.box-thumb>div{width:100%;max-height:100%;aspect-ratio:1}
.box-thumb .composition-photo{aspect-ratio:4/3}
.box-thumb .original-photo img,.box-thumb .category-illustration img{width:100%;height:100%;object-fit:contain;padding:3px}
.box-thumb .placeholder-photo svg{max-width:100%;max-height:55px}
.box-thumb .placeholder-caption{display:none}
.box-item-body{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:4px}
.box-item-category{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#696c53;line-height:1.3}
.box-item h4{font:600 14px/1.35 var(--sans);margin:0;color:var(--ink);overflow-wrap:anywhere}
.box-item-format{font-size:13px;line-height:1.35;color:var(--olive-dark);font-weight:600}
.box-item .box-format-label{font-size:12px;font-weight:400;margin-top:1px}
.box-format{font-size:12px;padding:6px 4px;margin:0}
.box-item .box-add{min-height:30px;font-size:13px;padding:6px 10px;margin-top:3px;line-height:1.2;align-self:stretch}
.box-stock-note{margin-top:10px;font-size:12px}
.box-recap{padding:16px;background:#f1eee4;border:1px solid var(--line);border-radius:6px;scroll-margin-top:6px}
.box-recap-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}
.box-recap-head .eyebrow{font-size:11px;margin:0 0 4px}
.box-count{white-space:nowrap;color:var(--olive-dark);background:#e0e6d2;border-radius:30px;padding:5px 9px;font-size:12px;font-weight:700}
.box-selected-list{max-height:285px;overflow:auto;overscroll-behavior:contain}
.box-empty{text-align:center;padding:22px 8px;color:#60624f}
.box-empty svg{width:36px;height:36px;stroke:var(--olive);fill:none;stroke-width:1.5;display:block;margin:0 auto 12px}
.box-empty p{font-weight:600;margin:0 0 6px;font-size:14px}
.box-empty small{font-size:13px;line-height:1.45;display:block}
.box-selected-row{display:flex;justify-content:space-between;gap:8px;align-items:start;padding:11px 0;border-bottom:1px solid var(--line)}
.box-selected-name{display:flex;flex-direction:column;min-width:0;gap:2px}
.box-selected-name strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.box-selected-name small{font-size:12px;color:#696b54;line-height:1.3}
.box-line-price{font-weight:700;font-size:13px;color:var(--olive-dark)}
.box-selected-actions{display:grid;justify-items:end;gap:2px;flex-shrink:0}
.box-selected-actions .quantity-control{font-size:13px}
.box-remove{font-size:12px;color:var(--olive-dark)}
.box-totals{border-top:1px solid var(--line);padding-top:13px;margin-top:14px}
.box-total-line{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px;font-weight:600;line-height:1.4;margin-bottom:8px}
.box-total-line strong{font-size:21px;color:var(--olive-dark);white-space:nowrap}
.box-request{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;font-size:14px;margin-top:10px}
.box-request:disabled{opacity:.5;cursor:not-allowed}
.box-mail-note{font-size:12px;margin:9px 0 0;text-align:center}
@media(max-width:1000px){.box-product-list{grid-template-columns:1fr}}
@media(max-width:780px){.product-dialog.box-builder-mode{width:100%;padding:18px 14px}.box-header{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:0 26px 13px 0;margin-bottom:14px}.box-header h2{font-size:25px}.box-header p:not(.eyebrow){font-size:13px}.box-price-note{font-size:12px}.box-builder-layout{grid-template-columns:1fr;gap:16px}.box-product-list{max-height:40dvh;min-height:180px;grid-template-columns:repeat(2,minmax(0,1fr))}.box-item{grid-template-columns:54px minmax(0,1fr);padding:8px;gap:7px}.box-thumb{width:54px}.box-selected-list{max-height:250px}.box-filters{margin:10px 0}.box-filters input,.box-filters select,.box-format{font-size:16px}.box-recap{padding:13px}}
@media(max-width:530px){.box-product-list{grid-template-columns:1fr}.box-item{grid-template-columns:70px minmax(0,1fr)}.box-thumb{width:70px}.box-header .eyebrow{font-size:10px}.box-header h2{font-size:23px}.box-list-head h3{font-size:19px}.box-filters{grid-template-columns:1fr;gap:7px}.box-filters label{font-size:12px}.box-filters input,.box-filters select{padding:6px 8px}.box-format-label{display:none}.box-format{max-width:190px}.box-item .box-add{align-self:flex-start;min-width:100px}}

/* La Purificatrice : second packshot, with an undistorted lit-candle view. */
.gallery-stage:has(.gallery-real-photo){background:#fff}
.gallery-real-photo{width:100%;height:100%;display:grid;place-items:center;background:#fff}
.gallery-real-photo img{width:100%;height:100%;min-height:0;object-fit:contain;display:block}

/* Gentle candle flicker: a feathered patch of the same photo, isolated
   around the flame; the candle, lid, wax and decorations stay perfectly still. */
.gallery-flame-photo{position:relative;overflow:hidden;container-type:size}
.gallery-flame-frame{position:relative;width:min(100cqw,calc(100cqh * var(--photo-aspect,1.333333)));aspect-ratio:var(--photo-aspect,1.333333);max-height:100%;overflow:hidden}
.gallery-flame-frame .flame-animation{-webkit-mask-image:radial-gradient(ellipse var(--flame-rx,3.1%) var(--flame-ry,7.6%) at var(--flame-x,56.8%) var(--flame-y,19.3%),#000 0%,#000 72%,transparent 100%);mask-image:radial-gradient(ellipse var(--flame-rx,3.1%) var(--flame-ry,7.6%) at var(--flame-x,56.8%) var(--flame-y,19.3%),#000 0%,#000 72%,transparent 100%)}
.gallery-flame-frame .flame-animation img{transform-origin:var(--flame-wick-x,56.8%) var(--flame-wick-y,25.6%)}
.flame-animation{position:absolute;inset:0;pointer-events:none;overflow:hidden;-webkit-mask-image:radial-gradient(ellipse 3.1% 7.6% at 56.8% 19.3%,#000 0%,#000 72%,transparent 100%);mask-image:radial-gradient(ellipse 3.1% 7.6% at 56.8% 19.3%,#000 0%,#000 72%,transparent 100%)}
.flame-animation img{width:100%;height:100%;object-fit:contain;transform-origin:56.8% 25.6%;animation:candle-flame-flicker 2.65s ease-in-out infinite;will-change:transform,filter}
@keyframes candle-flame-flicker{
0%,100%{transform:rotate(0deg) scale(1,1);filter:brightness(1)}
12%{transform:rotate(-1.8deg) scale(.94,1.065);filter:brightness(1.025)}
25%{transform:rotate(.9deg) scale(1.04,.92);filter:brightness(.99)}
38%{transform:rotate(-.7deg) scale(1.015,1.025);filter:brightness(1.015)}
53%{transform:rotate(1.6deg) scale(.96,1.045);filter:brightness(1.02)}
69%{transform:rotate(-1.15deg) scale(1.04,.89);filter:brightness(.975)}
83%{transform:rotate(.5deg) scale(.985,1.06);filter:brightness(1.025)}
}
.flame-paused .flame-animation{display:none}
.flame-toggle{justify-self:center;border:0;background:transparent;color:var(--olive-dark);font:600 12px/1.4 var(--sans);text-decoration:underline;text-underline-offset:3px;padding:2px 6px}
@media(prefers-reduced-motion:reduce){.flame-animation,.flame-toggle{display:none}}

/* The Purificatrice represents the candle collection in a warm, natural setting.
   A centered cover frame preserves the photograph's 3:2 aspect ratio, with
   the moving flame patch located in the original image coordinates. */
.category-candle-illustration{display:grid;place-items:center;position:relative;container-type:size;aspect-ratio:1.07;overflow:hidden;background:#b88d5e}
.category-candle-frame{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100cqw,150cqh);aspect-ratio:3/2;overflow:hidden}
.category-candle-frame>img{width:100%;height:100%;object-fit:cover;display:block}
.category-candle-frame .flame-animation{-webkit-mask-image:radial-gradient(ellipse 3.1% 7% at 55.3% 23.1%,#000 0%,#000 72%,transparent 100%);mask-image:radial-gradient(ellipse 3.1% 7% at 55.3% 23.1%,#000 0%,#000 72%,transparent 100%)}
.category-candle-frame .flame-animation img{transform-origin:55.3% 27.6%;object-fit:cover}
.category-candle-illustration.catalog-hero.catalog-hero-natural{background:#b88d5e;max-height:300px}
@media(max-width:780px){.category-candle-illustration.catalog-hero.catalog-hero-natural{max-height:245px;max-width:405px;justify-self:center}}
.category-flame-toggle{position:absolute;bottom:4px;right:6px;border-radius:4px;background:#fafafae8;padding:3px 6px;z-index:2}
.cbd-collection-photo .gallery-flame-photo{background:#a97348}
.cbd-collection-photo .gallery-flame-frame{position:absolute;top:50%;left:50%;width:max(100cqw,calc(100cqh * var(--photo-aspect)));max-height:none;transform:translate(-50%,-50%)}
.cbd-collection-photo.catalog-hero{aspect-ratio:2.15;max-height:230px}
.cbd-collection-photo .flame-animation img{animation-play-state:paused}
.cbd-collection-photo.flame-visible .flame-animation img{animation-play-state:running}
@media(max-width:780px){.cbd-collection-photo.catalog-hero{aspect-ratio:1.45}}

/* Match the flame bases to the wicks in the original coffret photograph. */
.gift-candle-photo{container-type:size}
.gift-candle-frame{
  position:absolute;
  top:50%;
  left:50%;
  width:max(100cqw,calc(100cqh * 1100 / 733));
  aspect-ratio:1100/733;
  transform:translate(-50%,-50%);
}
.gift-candle-flame{
  position:absolute;
  left:var(--wick-x);
  top:var(--wick-y);
  width:1.55%;
  height:5.2%;
  transform:translate(-50%,-100%);
  pointer-events:none;
}
.epicea-flame{--wick-x:35.4%;--wick-y:43.2%}
.sicile-flame{--wick-x:55.6%;--wick-y:42.2%;--flame-period:2.15s;--flame-delay:-.8s}
.gift-candle-flame::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:75% 25% 52% 48% / 79% 63% 37% 21%;
  background:radial-gradient(ellipse at 52% 68%,#fffde2 0 27%,#ffe58a 54%,#ffad36 76%,#ef7c1d);
  box-shadow:0 0 .8cqw .21cqw #ffb440a6;
  transform-origin:50% 98%;
  animation:gift-candle-flicker var(--flame-period,1.85s) ease-in-out var(--flame-delay,0s) infinite;
}
.gift-candle-flame::after{
  content:"";
  position:absolute;
  width:22%;
  height:18%;
  left:39%;
  bottom:-6%;
  border-radius:50%;
  background:#624325;
}
@keyframes gift-candle-flicker{
  0%,100%{transform:rotate(-3deg) scale(1)}
  30%{transform:rotate(6deg) scale(.9,.88)}
  62%{transform:rotate(-7deg) scale(1.05,1.09)}
  81%{transform:rotate(2deg) scale(.96,.96)}
}
@media(prefers-reduced-motion:reduce){.gift-candle-flame::before{animation:none}}

/* Home page: retouched editorial photo of La Purificatrice, with the flame
   patch located in the native image coordinates for responsive cropping. */
.hero-purificatrice{position:relative;display:grid;place-items:center start;overflow:hidden;container-type:size;background:#c5b194}
.hero-purificatrice-frame{width:max(100cqw,150cqh);aspect-ratio:3/2;position:relative;overflow:hidden}
.hero-purificatrice-frame>img{display:block;width:100%;height:100%;object-fit:cover}
.hero-purificatrice-frame .flame-animation{-webkit-mask-image:radial-gradient(ellipse 2.1% 5.1% at 25.33% 43.15%,#000 0%,#000 70%,transparent 100%);mask-image:radial-gradient(ellipse 2.1% 5.1% at 25.33% 43.15%,#000 0%,#000 70%,transparent 100%)}
.hero-purificatrice-frame .flame-animation img{transform-origin:25.33% 46.2%;object-fit:cover}

.preview-signout{margin:0 auto;padding:0 0 14px;text-align:right}.preview-signout button{border:0;background:transparent;color:inherit;text-decoration:underline;font-size:13px;cursor:pointer}

/* Photo du geste de massage : portrait non déformé, troisième vue de la galerie. */
.gallery-usage-photo{width:100%;height:100%;display:grid;place-items:center;background:#e0e0e0;overflow:hidden}
.gallery-usage-photo img{width:100%;height:100%;object-fit:contain;display:block;min-height:0}
.gallery-stage:has(.gallery-usage-photo){background:#e0e0e0}
.gallery-large .gallery-stage:has(.gallery-usage-photo){height:min(65dvh,680px);width:min(100%,60dvh);aspect-ratio:auto}
.gallery-thumb{flex:0 1 104px;min-width:0}
.gallery-large .gallery-thumb{flex-basis:86px}

/* Keep catalogue controls and long labels inside their available columns. */
.brand,
.product-detail > *,
.catalog-intro > *,
.footer-main > *,
.cart-row > * {
  min-width: 0;
}
.brand img { max-width: 100%; }
.product-name,
.category h3,
.footer-main a { overflow-wrap: anywhere; }
.cart-line { flex-wrap: wrap; }
.search-field input { min-width: 0; }

@media (min-width: 781px) and (max-width: 1100px) {
  .brandbar { grid-template-columns: minmax(130px, 160px) minmax(0, 1fr) auto; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px), (max-height: 500px) and (orientation: landscape) and (max-width: 1000px) {
  .brandbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 14px;
  }
  .brand { grid-area: 1 / 2; justify-content: center; }
  .brand img { width: 155px; }
  .tools { grid-area: 1 / 3; gap: 2px; }
  .icon-button { width: 44px; height: 44px; }
  .mobile-menu { display: grid; grid-area: 1 / 1; }
  .nav {
    display: none;
    grid-area: 2 / 1 / auto / -1;
    gap: 0;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 8px 14px;
  }
  .nav.open { display: grid; }
  .navrow { display: grid; gap: 0; justify-content: stretch; }
  .nav a {
    padding: 10px 4px;
    border-bottom: 1px solid #e8e2d6;
    white-space: normal;
    font-size: 15px;
  }
  .nav a::after { display: none; }
  .nav a.active { color: var(--olive); font-weight: 700; }
}

@media (max-width: 380px) {
  .footer-main { column-gap: 14px; }
  .footer-brand img { max-width: 100%; }
  .product-info .button { white-space: normal; }
}

@media (max-height: 500px) and (orientation: landscape) and (min-width: 560px) and (max-width: 1000px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    min-height: 0;
  }
  .hero-copy { padding: 20px 24px; }
  .hero h1 { font-size: clamp(30px, 4.7vw, 44px); }
  .hero p { font-size: 17px; margin-bottom: 14px; }
  .hero .line { margin: 12px 0; }
  .hero-photo { min-height: 0; aspect-ratio: auto; clip-path: none; margin: 0; width: 100%; }
  .category-grid,
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid.extra-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid > .category:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
  .dialog { max-height: calc(100dvh - 20px); padding: 16px; }
  .cart-dialog { max-height: 100dvh; }
  .product-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* Afficher en noir le dessin haute définition du logo. */
.brand img, .footer-brand img{filter:brightness(0);height:auto}

.related-pages { padding-block: 24px 36px; }
.related-pages h2 { margin: 0 0 12px; }
.related-pages ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding-inline-start: 20px; }
.related-pages a { text-decoration: underline; text-underline-offset: 3px; }
