/*
Theme Name: Maison de Sommeil V26.30 - Service client
Theme URI: https://maisondesommeil.ma/
Author: Maison de Sommeil
Description: Theme WooCommerce personnalise, issu de la maquette V25.
Version: 26.30
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: maison-de-sommeil
*/

/* Tokens copied from the supplied index.css. Plain CSS: no build is required. */
:root{
 --background:48 33% 97%;--foreground:30 7% 11%;--card:40 30% 99%;--card-foreground:30 7% 11%;
 --popover:40 30% 99%;--popover-foreground:30 7% 11%;--primary:128 9% 52%;--primary-foreground:48 33% 97%;
 --secondary:40 20% 93%;--secondary-foreground:30 7% 11%;--muted:40 20% 93%;--muted-foreground:30 5% 34%;
 --accent:128 9% 52%;--accent-foreground:48 33% 97%;--destructive:0 60% 50%;--destructive-foreground:48 33% 97%;
 --border:40 15% 88%;--input:40 15% 88%;--ring:128 9% 52%;--chart-1:128 9% 52%;--chart-2:40 20% 60%;
 --chart-3:30 5% 34%;--chart-4:200 10% 50%;--chart-5:280 10% 50%;--radius:.75rem;
 --font-heading:'Playfair Display',Georgia,serif;--font-body:'Inter',ui-sans-serif,system-ui,sans-serif;
 --font-display:'Playfair Display',Georgia,serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
 --sidebar-background:48 33% 97%;--sidebar-foreground:30 7% 11%;--sidebar-primary:128 9% 52%;
 --sidebar-primary-foreground:48 33% 97%;--sidebar-accent:40 20% 93%;--sidebar-accent-foreground:30 7% 11%;
 --sidebar-border:40 15% 88%;--sidebar-ring:128 9% 52%;
}
.dark{--background:30 7% 11%;--foreground:48 33% 97%;--card:30 7% 14%;--card-foreground:48 33% 97%;--popover:30 7% 14%;--popover-foreground:48 33% 97%;--primary:128 9% 62%;--primary-foreground:30 7% 11%;--secondary:30 5% 20%;--secondary-foreground:48 33% 97%;--muted:30 5% 20%;--muted-foreground:40 15% 70%;--accent:128 9% 62%;--accent-foreground:30 7% 11%;--destructive:0 60% 50%;--destructive-foreground:48 33% 97%;--border:30 5% 22%;--input:30 5% 22%;--ring:128 9% 62%;--sidebar-background:30 7% 11%;--sidebar-foreground:48 33% 97%;--sidebar-primary:128 9% 62%;--sidebar-primary-foreground:30 7% 11%;--sidebar-accent:30 5% 20%;--sidebar-accent-foreground:48 33% 97%;--sidebar-border:30 5% 22%;--sidebar-ring:128 9% 62%}
*{box-sizing:border-box;border-color:hsl(var(--border));outline-color:hsl(var(--ring)/.5)}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:hsl(var(--background));color:hsl(var(--foreground));font:400 16px/1.5 var(--font-body);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5{font-family:var(--font-heading);font-weight:400;margin:0}
p{margin:0} a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}
img{display:block;max-width:100%}svg{display:inline-block;flex-shrink:0;vertical-align:middle}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid hsl(var(--ring));outline-offset:4px}button svg,a svg{pointer-events:none}[hidden]{display:none!important}
.container{max-width:1280px;margin:0 auto;padding:0 16px}.muted{color:hsl(var(--muted-foreground))}.eyebrow{font-size:14px;letter-spacing:.3em;text-transform:uppercase;color:hsl(var(--muted-foreground));margin-bottom:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:-100px;left:10px;z-index:100;padding:12px;background:white}.skip:focus{top:10px}
.announcement{background:hsl(var(--foreground));color:hsl(var(--background));font-size:11px;display:flex;align-items:center;justify-content:center;gap:28px;min-height:28px;padding:5px 16px}.announcement span{display:flex;align-items:center;gap:7px}
/* Initial rules refined by Layout.jsx below. */
.site-header{position:sticky;top:0;z-index:20;background:hsl(var(--background)/.96);backdrop-filter:blur(12px);border-bottom:1px solid hsl(var(--border))}.header-inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font:400 27px/1.2 var(--font-heading);white-space:nowrap}.brand em{font-weight:400;color:hsl(var(--primary))}.main-nav{display:flex;align-items:center;gap:32px;font-size:14px;color:hsl(var(--muted-foreground))}.main-nav a:hover{color:hsl(var(--primary))}.header-actions{display:flex;align-items:center;gap:10px}.icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;padding:10px;border-radius:50%}.icon-button:hover{background:hsl(var(--secondary))}.cart-count{font:500 10px var(--font-body);position:absolute;top:0;right:0;border-radius:50%;min-width:16px;height:16px;display:flex;align-items:center;justify-content:center;background:hsl(var(--foreground));color:hsl(var(--background))}.mobile-toggle{display:none}
.hero{height:88vh;min-height:600px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:hsl(var(--secondary))}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.hero-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,hsl(var(--background)/.4),hsl(var(--background)/.2),hsl(var(--background)/.7))}.hero-copy{position:relative;z-index:1;max-width:768px;text-align:center;padding:0 16px;animation:fadeUp .8s ease-out both}.hero-copy .eyebrow{color:hsl(var(--foreground)/.7);margin-bottom:24px}.hero h1{font-size:96px;line-height:1.05;margin-bottom:24px}.hero h1 em{font-weight:400}.hero-description{font-size:20px;line-height:1.625;color:hsl(var(--foreground)/.8);max-width:576px;margin:0 auto 40px}.button-row{display:flex;gap:16px;align-items:center;justify-content:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:16px 32px;border-radius:999px;font-size:14px;font-weight:500;border:1px solid transparent;transition:background .2s,color .2s;min-height:54px}.button.primary{color:hsl(var(--background));background:hsl(var(--foreground))}.button.primary:hover{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.button.secondary{background:transparent;border-color:hsl(var(--foreground)/.3)}.button.secondary:hover{background:hsl(var(--foreground)/.05)}.button svg{transition:transform .2s}.button:hover svg{transform:translateX(3px)}
.external-fallback{position:absolute;left:12px;right:12px;bottom:12px;text-align:center;padding:8px;font-size:11px;color:hsl(var(--foreground));background:hsl(var(--background)/.9);border-radius:8px;z-index:2}.hero .external-fallback{left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:90%}
.trust{border-top:1px solid hsl(var(--border));border-bottom:1px solid hsl(var(--border))}.trust-inner{padding-top:40px;padding-bottom:40px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;text-align:center}.trust-item{display:flex;flex-direction:column;align-items:center;gap:8px}.trust-item>svg{color:hsl(var(--primary))}.trust-item h3{font-size:18px}.trust-item p{font-size:14px;color:hsl(var(--muted-foreground))}
.collections{padding-top:112px;padding-bottom:112px}.section-heading{text-align:center;margin-bottom:56px}.section-heading h2,.selection-heading h2{font-size:48px;line-height:1}.collections-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.collection-card{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;border-radius:32px;background:hsl(var(--secondary));border:0;padding:0;text-align:left}.collection-card>img{width:100%;height:100%;object-fit:cover;transition:transform .7s}.collection-card:hover>img{transform:scale(1.05)}.collection-overlay{position:absolute;inset:0;background:linear-gradient(to top,hsl(var(--foreground)/.7),hsl(var(--foreground)/.1),transparent)}.collection-copy{position:absolute;bottom:0;left:0;right:0;padding:32px;color:hsl(var(--background))}.collection-copy h3{font-size:24px;margin-bottom:4px}.collection-copy p{font-size:14px;opacity:.8;margin-bottom:12px}.collection-copy .text-link{font-size:14px;display:inline-flex;align-items:center;gap:4px}.collection-copy .upcoming{display:inline-block;font-size:11px;letter-spacing:.08em;background:hsl(var(--background)/.95);color:hsl(var(--foreground));padding:5px 10px;border-radius:999px;margin-bottom:10px}.collection-card .external-fallback{bottom:auto;top:14px}
.selection{background:hsl(var(--secondary)/.4)}.selection-inner{padding-top:112px;padding-bottom:112px}.selection-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:56px}.text-link{display:inline-flex;align-items:center;gap:8px;font-size:14px}.text-link:hover{color:hsl(var(--primary))}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 32px}.product-card{min-width:0}.product-photo{position:relative;display:block;width:100%;border:0;padding:0;background:#fff;border-radius:32px;overflow:hidden;aspect-ratio:4/5}.product-photo img{width:100%;height:100%;object-fit:contain;/* Deliberate change from source: show the entire original product photograph. */}.product-photo:hover{box-shadow:0 0 0 1px hsl(var(--primary)/.4)}.product-content{margin-top:16px;padding:0 4px}.product-title{font-size:18px;line-height:1.375}.product-title button{border:0;background:none;padding:0;font:inherit;text-align:left}.product-title button:hover{color:hsl(var(--primary))}.price-line{display:flex;align-items:center;gap:8px;margin-top:6px}.price{font-size:18px;font-weight:500}.add-button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;margin-top:12px;border:1px solid hsl(var(--border));border-radius:999px;font-size:14px;min-height:44px;background:transparent;transition:.2s}.add-button:hover{background:hsl(var(--foreground));color:hsl(var(--background));border-color:hsl(var(--foreground))}
.manifesto{max-width:1024px;padding:128px 16px;margin:0 auto;text-align:center}.manifesto h2{font-size:48px;line-height:1.25;margin-bottom:24px}.manifesto p{font-size:18px;line-height:1.625;max-width:672px;margin:0 auto 40px;color:hsl(var(--muted-foreground))}.prototype-note{font-size:12px;line-height:1.7;padding:20px 16px;text-align:center;border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground))}.prototype-note button{background:none;border:0;border-bottom:1px solid currentColor;padding:0;font-size:inherit;color:inherit}.site-footer{background:hsl(var(--foreground));color:hsl(var(--background));padding:56px 0 28px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:64px}.footer-grid .brand{display:inline-block;margin-bottom:20px}.footer-grid p{color:hsl(var(--background)/.7);font-size:14px;max-width:360px}.footer-grid h3{font-size:20px;margin:0 0 18px}.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:10px;font-size:14px;color:hsl(var(--background)/.75)}.footer-links button{border:0;background:none;padding:0;text-align:left;color:inherit;font:inherit}.footer-bottom{margin-top:40px;padding-top:24px;border-top:1px solid hsl(var(--background)/.15);font-size:12px;color:hsl(var(--background)/.6)}
dialog{border:1px solid hsl(var(--border));background:hsl(var(--background));color:hsl(var(--foreground));padding:0;box-shadow:0 12px 80px #0002;border-radius:24px;max-height:90vh;max-height:90dvh;width:min(940px,calc(100% - 32px));overflow:auto}dialog::backdrop{background:#16171477;backdrop-filter:blur(3px)}.dialog-top{padding:20px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid hsl(var(--border));gap:20px}.dialog-top h2{font-size:24px}.dialog-content{padding:24px}.product-dialog-body{display:grid;grid-template-columns:1.1fr 1fr;gap:32px}.gallery-main{background:white;border-radius:16px;overflow:hidden;aspect-ratio:1/1}.gallery-main img{width:100%;height:100%;object-fit:contain}.gallery-thumbs{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.gallery-thumbs button{background:#fff;width:66px;height:66px;padding:2px;border-radius:10px;border:1px solid hsl(var(--border))}.gallery-thumbs button[aria-pressed=true]{border:2px solid hsl(var(--foreground))}.gallery-thumbs img{width:100%;height:100%;object-fit:contain}.product-details .eyebrow{font-size:11px;letter-spacing:.18em}.product-details h3{font-size:30px;line-height:1.2;margin-bottom:16px}.product-details .price{font-size:26px}.product-details p{margin:20px 0;color:hsl(var(--muted-foreground));font-size:14px}.original-note{font-size:12px!important;border-top:1px solid hsl(var(--border));padding-top:16px}.product-details .button{width:100%;padding:12px 16px}.cart-row{display:grid;grid-template-columns:64px 1fr auto;gap:14px;padding:18px 0;border-bottom:1px solid hsl(var(--border));align-items:center}.cart-row img{width:64px;height:80px;object-fit:contain;background:white;border-radius:12px}.cart-row h3{font-size:18px;line-height:1.3}.cart-row p{font-size:13px;margin-top:4px}.qty-control{display:flex;align-items:center;gap:12px;margin-top:8px}.qty-control button{border:1px solid hsl(var(--border));background:transparent;border-radius:50%;width:30px;height:30px}.cart-remove{background:transparent;border:0;padding:8px;font-size:12px;text-decoration:underline;color:hsl(var(--muted-foreground))}.cart-total{display:flex;justify-content:space-between;font-size:22px;margin:24px 0 14px}.demo-message{font-size:13px;color:hsl(var(--muted-foreground));background:hsl(var(--secondary));padding:16px;border-radius:12px;line-height:1.7}.simple-dialog{max-width:560px}.simple-dialog .dialog-content>p{margin-bottom:16px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:50;background:hsl(var(--foreground));color:hsl(var(--background));padding:12px 20px;font-size:13px;box-shadow:0 8px 30px #0003;border-radius:999px;width:max-content;max-width:calc(100% - 32px);text-align:center}
.inp{width:100%;padding:10px 16px;border-radius:12px;background:hsl(var(--background));border:1px solid hsl(var(--border));font-size:14px}.inp:focus{outline:none;border-color:hsl(var(--primary))}.animate-fade-up{animation:fadeUp .8s ease-out both}.animate-fade-in{animation:fadeIn 1s ease-out both}@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@media(max-width:1023px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}.header-inner{gap:16px}.main-nav{gap:18px}.brand{font-size:24px}}
@media(max-width:767px){.hero h1{font-size:72px}.hero-description{font-size:18px}.collections,.selection-inner{padding-top:80px;padding-bottom:80px}.collections-grid{grid-template-columns:1fr}.collection-card{aspect-ratio:3/4}.section-heading h2,.selection-heading h2{font-size:36px;line-height:1.15}.products-grid{gap:32px 24px}.main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:hsl(var(--background));padding:20px;border-bottom:1px solid hsl(var(--border));flex-direction:column;align-items:flex-start}.main-nav.open{display:flex}.mobile-toggle{display:inline-flex}.header-inner{min-height:72px}.manifesto{padding:96px 20px}.manifesto h2{font-size:36px}.footer-grid{grid-template-columns:1fr 1fr;gap:32px}.footer-brand{grid-column:1/-1}.product-dialog-body{grid-template-columns:1fr}.dialog-top{padding:16px}.dialog-content{padding:16px}.product-details h3{font-size:28px}.announcement{gap:15px;font-size:10px}.announcement span:last-child{display:none}.collection-copy{padding:32px}}
@media(max-width:639px){.hero h1{font-size:48px}.hero{min-height:600px;height:88svh}.hero-copy .eyebrow{font-size:12px;letter-spacing:.25em}.hero-description{font-size:18px}.button-row{flex-direction:column}.button{padding:16px 28px}.trust-inner{grid-template-columns:1fr;gap:32px}.selection-heading>.text-link{display:none}.products-grid{gap:30px 16px}.product-photo{border-radius:24px}.product-content{padding:0 2px}.product-title{font-size:16px}.price{font-size:16px}.add-button{font-size:12px;padding:10px 6px;gap:4px}.brand{font-size:22px}.header-inner{gap:8px}.header-actions{gap:0}.product-dialog-body{gap:24px}.cart-row{grid-template-columns:50px 1fr;gap:12px}.cart-row>div:last-child{grid-column:2}.cart-row img{width:50px;height:65px}.hero .external-fallback{font-size:10px}.footer-grid{gap:24px}.section-heading{margin-bottom:48px}.footer-grid h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Translation of the supplied Layout.jsx. Overrides provisional rules. */
.announcement{display:block;padding:0;min-height:0;font-size:12px;line-height:16px;letter-spacing:.025em}
.announcement-inner{display:flex;align-items:center;justify-content:center;gap:24px;padding-top:8px;padding-bottom:8px}
.announcement span{display:flex;align-items:center;gap:6px}
.site-header{z-index:40;background:hsl(var(--background)/.8);backdrop-filter:blur(12px)}
.header-inner{height:80px;min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:0}
.brand{font:400 24px/32px var(--font-heading);letter-spacing:-.025em;white-space:nowrap}
.main-nav{position:static;display:flex;align-items:center;gap:32px;font-size:14px;line-height:20px;color:hsl(var(--muted-foreground));padding:0;flex-direction:row;border:0;background:none}
.main-nav a{position:relative;transition:color .15s}.main-nav a:hover{color:hsl(var(--foreground))}
.nav-line{position:absolute;bottom:-4px;left:0;height:1px;width:0;background:hsl(var(--primary));transition:width .3s}.main-nav a:hover .nav-line{width:100%}
.header-actions{display:flex;align-items:center;gap:12px}
.icon-button{padding:8px;position:relative;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}
.cart-count{position:absolute;top:-2px;right:-2px;background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-size:10px;font-weight:600;line-height:15px;border-radius:999px;height:20px;min-width:20px;padding:0 4px}
.mobile-toggle,.mobile-nav{display:none}
.mobile-nav{border-top:1px solid hsl(var(--border));padding:16px;background:hsl(var(--background));gap:12px;flex-direction:column;font-size:14px;line-height:20px}
.mobile-nav a{color:hsl(var(--muted-foreground));padding:4px 0}.mobile-nav .nav-line{display:none}
.site-footer{padding:0;background:hsl(var(--foreground));color:hsl(var(--background))}
.footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:48px;padding-top:64px;padding-bottom:64px}
.footer-brand{grid-column:span 2 / span 2}
.footer-brand h3{font-family:var(--font-heading);font-size:30px;line-height:36px;margin:0 0 16px;font-weight:400}
.footer-brand p{font-size:16px;line-height:1.625;max-width:448px;color:hsl(var(--background)/.7)}
.footer-grid h4{font-family:var(--font-heading);font-size:18px;line-height:28px;font-weight:400;margin:0 0 16px}
.footer-links{display:flex;flex-direction:column;gap:8px;list-style:none;padding:0;margin:0;color:hsl(var(--background)/.7);font-size:14px;line-height:20px}.footer-links a:hover{color:hsl(var(--background))}
.footer-bottom{border-top:1px solid hsl(var(--background)/.1);margin:0;padding:0;font-size:12px;line-height:16px;color:hsl(var(--background)/.5);text-align:center}.footer-bottom .container{padding-top:24px;padding-bottom:24px}
#cart-dialog{width:min(440px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0 0 0 auto;border-radius:0;border-right:0;border-top:0;border-bottom:0}
#cart-dialog .dialog-top{position:sticky;top:0;background:hsl(var(--background));z-index:1}
@media(max-width:1023px){.main-nav{gap:24px}.header-actions{gap:12px}.brand{font-size:24px}}
@media(max-width:767px){.main-nav{display:none}.mobile-toggle{display:inline-flex}.mobile-nav.open{display:flex}.header-inner{height:80px;min-height:80px;gap:0}.header-actions{gap:12px}.announcement-inner span:nth-child(3){display:none}.footer-grid{grid-template-columns:minmax(0,1fr);gap:48px}.footer-brand{grid-column:auto}.brand{font-size:24px;line-height:32px}.footer-brand h3{font-size:30px;line-height:36px}}
@media(max-width:639px){.announcement-inner span:nth-child(2){display:none}.announcement-inner{gap:24px}.announcement{font-size:12px}.brand{font-size:24px}.header-actions{gap:12px}.footer-grid{gap:48px}}
@media(max-width:359px){.brand{font-size:21px}.header-actions{gap:4px}}

/* Shop.jsx: catalogue layout translated to plain CSS for this local preview. */
body{min-height:100vh;display:flex;flex-direction:column}
body>main{flex:1}
.site-header{flex-shrink:0}
.shop-page{width:100%;padding-top:80px;padding-bottom:80px;min-height:500px}
.shop-heading{text-align:center;margin-bottom:48px}
.shop-heading .eyebrow{margin-bottom:12px}
.shop-heading h1{font-size:60px;line-height:1;font-weight:400}
.shop-heading h1:focus{outline:none}
.category-filters{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-bottom:48px}
.category-filter{display:inline-flex;align-items:center;justify-content:center;padding:8px 20px;min-height:38px;border-radius:999px;font-size:14px;line-height:20px;background:transparent;border:1px solid hsl(var(--border));transition:background .15s,color .15s}
.category-filter:hover{background:hsl(var(--secondary))}
.category-filter.active{background:hsl(var(--foreground));color:hsl(var(--background));border-color:transparent}
.shop-products-grid{gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}
.shop-products-grid .product-content{margin-top:16px;padding:0 4px}
.shop-products-grid .product-title{font-size:18px;line-height:1.375}
.shop-products-grid .product-photo{border-radius:32px;background:hsl(var(--secondary))}
.shop-products-grid .product-photo img{object-fit:contain;transform:none!important}
.shop-products-grid .price{font-size:18px}
.shop-products-grid .add-button{font-size:14px;gap:8px;padding:10px 4px;min-height:42px}
.shop-empty{text-align:center;padding:80px 0;color:hsl(var(--muted-foreground))}
@media(min-width:768px){.shop-products-grid{gap:32px}}
@media(min-width:1024px){.shop-products-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:767px){.shop-page{padding-top:48px;padding-bottom:48px}.shop-heading h1{font-size:36px;line-height:40px}}
@media(max-width:389px){.shop-products-grid .add-button{gap:4px;font-size:12px}.shop-products-grid .product-title{font-size:17px}}

/* ProductDetail.jsx translated for the standalone preview.
 * Adaptations: original files + contain framing; responsive purchase controls;
 * keyboard labels; resetting quantity on navigation; local checkout placeholder.
 */
.product-page{width:100%;padding-top:40px;padding-bottom:40px}
.product-crumbs{display:flex;align-items:center;gap:8px;font-size:14px;line-height:20px;color:hsl(var(--muted-foreground));margin-bottom:32px;flex-wrap:wrap}
.product-crumbs a:hover{color:hsl(var(--foreground))}
.product-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:40px}
.product-gallery,.product-information{min-width:0}
.product-main-photo{aspect-ratio:1;border-radius:32px;overflow:hidden;background:hsl(var(--secondary));position:relative}
.product-main-photo img{width:100%;height:100%;object-fit:contain;transform:none!important}
.product-thumbnails{display:flex;gap:12px;margin-top:16px;max-width:100%;overflow-x:auto;padding:0 0 6px;scrollbar-width:thin}
.product-thumbnail{flex:0 0 80px;width:80px;height:80px;padding:0;border:2px solid transparent;border-radius:16px;overflow:hidden;background:hsl(var(--secondary));transition:border-color .15s}
.product-thumbnail[aria-pressed="true"]{border-color:hsl(var(--foreground))}
.product-thumbnail img{width:100%;height:100%;object-fit:contain}
.product-thumbnail:focus-visible{outline-offset:-4px}
.product-information{display:flex;flex-direction:column}
.product-badge{align-self:flex-start;display:inline-flex;padding:4px 12px;border-radius:999px;background:hsl(var(--secondary));font-size:12px;line-height:16px;margin-bottom:16px}
.product-page-title{font-size:30px;line-height:1.25;margin-bottom:16px;overflow-wrap:anywhere}
.product-page-title:focus{outline:none}
.product-page-price{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:24px}
.product-page-price .current-price{font-size:30px;font-weight:500;line-height:36px}
.product-old-price{font-size:20px;color:hsl(var(--muted-foreground));text-decoration:line-through}
.product-discount{border-radius:999px;background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-size:12px;font-weight:500;line-height:16px;padding:4px 10px}
.product-cod{display:flex;align-items:center;gap:8px;background:hsl(var(--secondary)/.6);padding:12px 16px;border-radius:16px;margin-bottom:24px;font-size:14px;font-weight:500}
.product-cod svg{color:hsl(var(--primary))}
.product-description{color:hsl(var(--muted-foreground));line-height:1.625;margin-bottom:24px}
.product-description p+p{margin-top:12px}
.product-description .description-subtitle{font-weight:500;font-size:14px;letter-spacing:.025em;text-transform:uppercase;color:hsl(var(--foreground))}
.product-features{padding:0;margin:0 0 32px;list-style:none;display:flex;flex-direction:column;gap:8px}
.product-features li{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:20px}
.product-features svg{color:hsl(var(--primary));margin-top:2px}
.product-dimensions{font-size:14px;color:hsl(var(--muted-foreground));margin-bottom:24px}
.product-dimensions strong{font-weight:500;color:hsl(var(--foreground))}
.product-purchase{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:center;margin-bottom:24px}
.product-quantity{display:flex;align-items:center;justify-content:space-between;border:1px solid hsl(var(--border));border-radius:999px;height:52px;overflow:hidden;min-width:0}
.product-quantity button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;min-width:44px;min-height:48px;padding:12px}
.product-quantity button:hover{background:hsl(var(--secondary))}
.product-quantity output{min-width:40px;text-align:center;font-size:16px;padding:0 8px}
.product-buy{width:100%;min-height:52px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:500;line-height:20px;padding:14px 12px;transition:background .15s,color .15s;border:1px solid hsl(var(--border));background:transparent}
.product-buy.order-now{border-color:transparent;background:hsl(var(--primary));color:hsl(var(--primary-foreground))}
.product-buy.order-now:hover{background:hsl(var(--foreground));color:hsl(var(--background))}
.product-buy.add-to-cart:hover{background:hsl(var(--secondary))}
.product-low-stock{color:hsl(var(--destructive));font-size:14px;margin-bottom:24px}
.product-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:24px;border-top:1px solid hsl(var(--border))}
.product-trust>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}
.product-trust svg{color:hsl(var(--primary))}
.product-trust span{font-size:12px;line-height:16px;color:hsl(var(--muted-foreground))}
.product-not-found{padding:100px 16px;text-align:center}
.product-not-found h1{font-size:30px;margin-bottom:16px}
.product-not-found a{color:hsl(var(--primary));text-decoration:underline}
.photo-missing{height:100%;min-height:80px;display:flex;align-items:center;justify-content:center;font-size:13px;padding:16px;color:hsl(var(--muted-foreground));text-align:center}
.checkout-preview{width:100%;max-width:960px;padding-top:48px;padding-bottom:80px}
.checkout-preview h1{font-size:36px;line-height:1.15;margin-bottom:24px}
.checkout-preview h1:focus{outline:none}
.checkout-demo-panel{padding:24px;border:1px solid hsl(var(--border));border-radius:24px;margin-top:24px}
.checkout-preview .checkout-row{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid hsl(var(--border))}
.checkout-row img{width:68px;height:80px;object-fit:contain;border-radius:12px;background:#fff}
.checkout-row h2{font-size:20px;line-height:1.3}
.checkout-row p{font-size:14px;margin-top:6px;color:hsl(var(--muted-foreground))}
.checkout-summary-line{display:flex;justify-content:space-between;gap:16px;padding-top:20px}
.checkout-total{font-size:24px;padding-bottom:24px}
.checkout-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.checkout-actions .button{padding:12px 24px}
.cart-checkout{display:flex;width:100%;margin-top:20px}
.product-title a:hover{color:hsl(var(--primary))}
@media(min-width:640px){.product-purchase{grid-template-columns:repeat(2,minmax(0,1fr))}.product-quantity{grid-column:1/-1;width:136px}}
@media(min-width:768px){.product-page{padding-top:64px;padding-bottom:64px}.product-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.product-page-title{font-size:48px}.checkout-preview h1{font-size:48px}}
@media(min-width:1024px){.product-layout{gap:64px}}
@media(min-width:1280px){.product-purchase{grid-template-columns:124px 1fr 1fr}.product-quantity{grid-column:auto;width:auto}}
@media(max-width:389px){.product-buy{padding-left:8px;padding-right:8px}.product-trust{gap:8px}.checkout-preview .checkout-row{grid-template-columns:50px minmax(0,1fr)}.checkout-row img{width:50px;height:64px}.checkout-row>strong{grid-column:2}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:0s!important;transition-duration:0s!important}}


/* V7: Checkout.jsx translated to plain CSS. Product photographs stay unaltered. */
select,textarea{font:inherit;color:inherit}
.checkout-page{width:100%;max-width:1152px;padding-top:48px;padding-bottom:48px}
.checkout-heading{text-align:center;margin-bottom:48px}
.checkout-heading h1{font-size:36px;line-height:1.1}
.checkout-heading h1:focus,.checkout-empty h1:focus,.confirmation-page h1:focus{outline:none}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;align-items:start}
.checkout-form,.checkout-summary-wrap{min-width:0}
.checkout-form{display:flex;flex-direction:column;gap:24px}
.checkout-panel,.checkout-summary{background:hsl(var(--secondary)/.4);border-radius:32px;padding:24px}
.checkout-panel{display:flex;flex-direction:column;gap:20px}
.checkout-panel h2,.checkout-summary h2{font-size:20px;line-height:28px}
.checkout-panel fieldset{border:0;padding:0;margin:0;min-width:0;display:flex;flex-direction:column;gap:20px}
.checkout-panel legend{padding:0}
.checkout-field{min-width:0}
.checkout-field label{display:block;font-size:14px;margin-bottom:6px;line-height:20px}
.checkout-field input,.checkout-field select,.checkout-field textarea{display:block;width:100%;max-width:100%;padding:12px 16px;border-radius:16px;border:1px solid hsl(var(--border));background:hsl(var(--background));min-height:50px;line-height:24px}
.checkout-field input:focus,.checkout-field select:focus,.checkout-field textarea:focus{outline:2px solid hsl(var(--primary));outline-offset:1px;border-color:hsl(var(--primary))}
.checkout-field textarea{resize:vertical;min-height:100px}
.checkout-field input::placeholder,.checkout-field textarea::placeholder{color:hsl(var(--muted-foreground)/.75)}
.checkout-two-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.checkout-submit{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:16px 20px;border:0;border-radius:999px;background:hsl(var(--foreground));color:hsl(var(--background));font-weight:500;font-size:16px;transition:background .2s,color .2s}
.checkout-submit:hover{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}
.checkout-submit:disabled{opacity:.6;cursor:wait}
.checkout-pay-note{font-size:12px;line-height:18px;color:hsl(var(--muted-foreground));text-align:center;margin-top:-12px}
.checkout-error{font-size:14px;color:hsl(var(--destructive))}
.checkout-demo-notice{margin:-20px 0 32px;border:1px solid hsl(var(--border));border-radius:16px;padding:14px 18px;font-size:13px;line-height:1.6;color:hsl(var(--muted-foreground));text-align:center}
.checkout-demo-notice strong{font-weight:600;color:hsl(var(--foreground))}
.checkout-summary h2{margin-bottom:20px}
.checkout-items{display:flex;flex-direction:column;gap:16px;max-height:320px;overflow-y:auto;padding-right:4px}
.checkout-item{display:flex;align-items:flex-start;gap:12px;min-width:0}
.checkout-item .item-image{flex:0 0 64px;width:64px;height:64px;border-radius:16px;overflow:hidden;background:hsl(var(--background))}
.checkout-item img{width:100%;height:100%;object-fit:contain}
.checkout-item .item-copy{flex:1;min-width:0}
.checkout-item .item-name{font-size:14px;line-height:20px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.checkout-item .item-name a:hover{text-decoration:underline}
.checkout-item .item-qty{font-size:12px;line-height:16px;color:hsl(var(--muted-foreground));margin-top:4px}
.checkout-item .line-price{font-size:14px;line-height:20px;white-space:nowrap;font-weight:500}
.checkout-totals{border-top:1px solid hsl(var(--border));margin-top:20px;padding-top:20px;display:flex;flex-direction:column;gap:8px}
.checkout-totals>div{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:hsl(var(--muted-foreground))}
.checkout-totals .total{font-size:18px;font-family:var(--font-heading);color:hsl(var(--foreground));padding-top:8px}
.checkout-assurances{margin-top:24px;display:flex;flex-direction:column;gap:12px}
.checkout-assurances p{display:flex;gap:8px;align-items:center;font-size:14px;color:hsl(var(--muted-foreground));line-height:20px}
.checkout-assurances svg{color:hsl(var(--primary));flex-shrink:0}
.checkout-edit{margin-top:20px;background:transparent;border:0;padding:0;color:hsl(var(--muted-foreground));text-decoration:underline;text-underline-offset:4px;font-size:13px}
.checkout-empty{max-width:672px;padding:128px 0;text-align:center;margin:0 auto}
.checkout-empty h1{font-size:30px;margin-bottom:16px}
.checkout-empty .muted{margin-bottom:32px}
.checkout-example-box{margin:32px auto 0;padding:20px;max-width:440px;border-radius:16px;border:1px dashed hsl(var(--border));font-size:13px;color:hsl(var(--muted-foreground));line-height:1.6}
.checkout-example-box button{border:1px solid hsl(var(--border));border-radius:999px;padding:10px 20px;background:transparent;font-size:14px;margin-top:12px}
.checkout-example-box button:hover{background:hsl(var(--secondary))}
.spinner{width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite;display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}
/* V8: OrderConfirmation.jsx layout. Explicit demo copy and invalid-reference state. */
.confirmation-page{width:100%;max-width:672px;padding-top:80px;padding-bottom:80px;text-align:center}
.confirmation-page h1{font-size:36px;line-height:1.13;margin:0 0 16px;overflow-wrap:break-word}
.confirmation-symbol{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:50%;background:hsl(var(--primary)/.15);color:hsl(var(--primary));margin:0 auto 32px}
.confirmation-kicker{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:hsl(var(--muted-foreground));margin:0 0 16px}
.confirmation-demo-word{white-space:nowrap}
.confirmation-message{font-size:18px;line-height:1.65;color:hsl(var(--muted-foreground));margin:0 0 40px}
.confirmation-card{text-align:left;background:hsl(var(--secondary)/.4);border-radius:32px;padding:32px;margin:0 0 32px;min-width:0}
.confirmation-reference{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid hsl(var(--border));font-size:14px}
.confirmation-reference>span:first-child{color:hsl(var(--muted-foreground))}
.confirmation-number{font-family:var(--font-mono);font-size:14px;overflow-wrap:anywhere;text-align:right}
.confirmation-items{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}
.confirmation-item{display:flex;justify-content:space-between;gap:16px;font-size:14px;line-height:1.6}
.confirmation-item>span:first-child{color:hsl(var(--muted-foreground));min-width:0;overflow-wrap:anywhere}
.confirmation-item>span:last-child{flex-shrink:0;white-space:nowrap}
.confirmation-total{display:flex;justify-content:space-between;align-items:center;gap:16px;font:400 18px/1.5 var(--font-heading);padding-top:16px;border-top:1px solid hsl(var(--border))}
.confirmation-total strong{font-weight:400;white-space:nowrap}
.confirmation-contact{display:flex;flex-direction:column;gap:8px;margin-top:24px;font-size:14px;line-height:1.6;color:hsl(var(--muted-foreground));overflow-wrap:anywhere}
.confirmation-contact span{color:hsl(var(--foreground))}
.confirmation-status{margin-top:24px;font-size:12px;color:hsl(var(--foreground));line-height:1.7}
.confirmation-status span{color:hsl(var(--muted-foreground))}
.confirmation-assurances{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;color:hsl(var(--muted-foreground));font-size:14px}
.confirmation-assurances p{display:flex;align-items:center;gap:8px}
.confirmation-assurances svg{color:hsl(var(--primary))}
.confirmation-delivery-note{font-size:11px;line-height:1.6;color:hsl(var(--muted-foreground));margin:12px 0 0}
.confirmation-continue{margin-top:40px;padding-top:14px;padding-bottom:14px;min-height:48px}
.confirmation-explainer{font-size:12px;line-height:1.7;color:hsl(var(--muted-foreground));margin:24px auto 0;max-width:540px}
.confirmation-erase{font-size:12px;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;color:hsl(var(--muted-foreground));padding:12px;margin-top:4px;min-height:44px}
.confirmation-notice{font-size:14px;line-height:1.7;color:hsl(var(--muted-foreground));padding:16px;border:1px solid hsl(var(--border));border-radius:16px;margin-bottom:32px}
.confirmation-empty-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:center}
.checkout-example-box button+button{display:block;margin:12px auto 0}
@media(min-width:640px){.confirmation-assurances{flex-direction:row}}
@media(min-width:768px){.confirmation-page{padding-top:128px;padding-bottom:128px}.confirmation-page h1{font-size:48px}}
@media(max-width:374px){.confirmation-card{padding:24px}.confirmation-reference{align-items:flex-start;flex-direction:column}.confirmation-number{text-align:left}}
@media(min-width:640px){.checkout-two-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:768px){.checkout-page{padding-top:80px;padding-bottom:80px}.checkout-heading h1{font-size:48px;line-height:1}.checkout-panel,.checkout-summary{padding:32px}.confirmation-page h1{font-size:48px}}
@media(min-width:1024px){.checkout-layout{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.checkout-summary{position:sticky;top:112px}.checkout-summary-wrap{align-self:stretch}}
@media(max-width:389px){.checkout-panel,.checkout-summary{padding:20px}.checkout-item{gap:8px}.checkout-item .item-image{flex-basis:52px;width:52px;height:52px}.checkout-submit{font-size:14px;padding-left:12px;padding-right:12px}.checkout-heading h1{font-size:34px}.checkout-demo-notice{font-size:12px;padding:12px}.checkout-empty{padding-top:80px;padding-bottom:80px}}
/* CartDrawer.jsx: off-canvas side panel with Base44 theme tokens. */
#cart-dialog.cart-sheet{position:fixed;inset:0 0 0 auto;margin:0;width:min(448px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:0;overflow:hidden;background:hsl(var(--background));color:hsl(var(--foreground));box-shadow:-16px 0 55px #0003}
#cart-dialog.cart-sheet[open]{display:block;animation:cart-slide .27s ease-out both}
#cart-dialog.cart-sheet::backdrop{background:#1c1b184d;backdrop-filter:blur(4px)}
@keyframes cart-slide{from{transform:translateX(100%)}to{transform:translateX(0)}}
#cart-dialog .cart-shell{display:flex;flex-direction:column;height:100%;min-height:0}
#cart-dialog .cart-heading{height:78px;min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;border-bottom:1px solid hsl(var(--border))}
#cart-dialog .cart-heading h2{display:flex;align-items:center;gap:9px;font-size:21px;min-width:0}
#cart-dialog .cart-heading .icon-button{flex-shrink:0;width:40px;height:40px}
#cart-dialog .cart-items{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 24px;display:flex;flex-direction:column;gap:16px}
#cart-dialog .cart-line{display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:start;gap:16px}
#cart-dialog .cart-product-image{width:80px;height:80px;border-radius:16px;overflow:hidden;background:hsl(var(--secondary))}
#cart-dialog .cart-product-image img{width:100%;height:100%;object-fit:contain;background:#fff}
#cart-dialog .cart-product-meta{min-width:0}
#cart-dialog .cart-product-name{font:500 14px/1.35 var(--font-body);overflow-wrap:anywhere}
#cart-dialog .cart-product-name a:hover{color:hsl(var(--primary))}
#cart-dialog .cart-unit-price{color:hsl(var(--muted-foreground));font-size:14px;line-height:1.35;margin-top:4px}
#cart-dialog .cart-line-total{font-size:14px;line-height:1.35;font-weight:500;white-space:nowrap;padding-top:1px}
#cart-dialog .cart-line-controls{display:flex;align-items:center;gap:14px;margin-top:10px}
#cart-dialog .cart-stepper{display:inline-flex;align-items:center;border:1px solid hsl(var(--border));border-radius:999px;overflow:hidden;flex-shrink:0}
#cart-dialog .cart-stepper button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;background:transparent}
#cart-dialog .cart-stepper button:hover{background:hsl(var(--secondary))}
#cart-dialog .cart-stepper output{font-size:14px;min-width:30px;text-align:center}
#cart-dialog .cart-trash{border:0;background:transparent;color:hsl(var(--muted-foreground));height:34px;width:34px;display:flex;align-items:center;justify-content:center;border-radius:8px}
#cart-dialog .cart-trash:hover{color:hsl(var(--destructive));background:hsl(var(--secondary))}
#cart-dialog .cart-bottom{flex:0 0 auto;padding:20px 24px 24px;border-top:1px solid hsl(var(--border));display:flex;flex-direction:column;gap:13px;background:hsl(var(--background))}
#cart-dialog .cart-subtotal{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
#cart-dialog .cart-subtotal span{color:hsl(var(--muted-foreground))}
#cart-dialog .cart-subtotal strong{font:400 23px var(--font-heading)}
#cart-dialog .cart-shipping{font-size:12px;line-height:1.5;color:hsl(var(--muted-foreground))}
#cart-dialog .cart-cta{display:flex;align-items:center;justify-content:center;min-height:52px;width:100%;border-radius:999px;background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-size:15px;font-weight:500;text-align:center}
#cart-dialog .cart-cta:hover{opacity:.9}
#cart-dialog .cart-continue{border:0;padding:5px;background:transparent;color:hsl(var(--muted-foreground));font-size:14px;text-align:center}
#cart-dialog .cart-continue:hover{color:hsl(var(--foreground))}
#cart-dialog .cart-demo-label{font-size:11px;line-height:1.55;text-align:center;color:hsl(var(--muted-foreground))}
#cart-dialog .cart-empty{flex:1;min-height:280px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;text-align:center}
#cart-dialog .cart-empty svg{opacity:.4;color:hsl(var(--muted-foreground))}
#cart-dialog .cart-empty p{font-size:15px;color:hsl(var(--muted-foreground))}
#cart-dialog .cart-empty .cart-discover{background:hsl(var(--foreground));color:hsl(var(--background));padding:12px 24px;border-radius:999px;font-size:14px}
@media(max-width:410px){#cart-dialog .cart-heading{padding:14px 20px}#cart-dialog .cart-items{padding:16px 18px}#cart-dialog .cart-bottom{padding:18px 20px 22px}#cart-dialog .cart-line{gap:10px;grid-template-columns:68px minmax(0,1fr) auto}#cart-dialog .cart-product-image{width:68px;height:68px}#cart-dialog .cart-line-total{font-size:12px}}
@media(prefers-reduced-motion:reduce){#cart-dialog.cart-sheet[open]{animation:none}}


/* V11: corrections confined to product detail pages; original palette unchanged. */
#product-view .product-price-meta{color:hsl(var(--muted-foreground));font-size:13px;margin-top:-17px;margin-bottom:18px}
#product-view .product-bundle-fieldset{border:0;padding:0;margin:9px 0 16px;min-width:0}
#product-view .product-bundle-fieldset legend{font-family:var(--font-heading,'Playfair Display',Georgia,serif);font-size:21px;line-height:1.25;margin-bottom:12px;padding:0;color:hsl(var(--foreground))}
#product-view .bundle-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#product-view .bundle-choice{display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;gap:4px;border:1px solid hsl(var(--border));border-radius:17px;padding:14px 8px;background:hsl(var(--card));color:hsl(var(--foreground));cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s;text-align:center}
#product-view .bundle-choice:hover{border-color:hsl(var(--primary))}
#product-view .bundle-choice[aria-pressed="true"]{border:2px solid hsl(var(--primary));background:hsl(var(--secondary)/.55);padding:13px 7px;box-shadow:0 0 0 2px hsl(var(--primary)/.08)}
#product-view .bundle-choice:focus-visible{outline:3px solid hsl(var(--primary));outline-offset:2px}
#product-view .bundle-choice .bundle-count{font-weight:600;font-size:13px;line-height:1.3}
#product-view .bundle-choice .bundle-name{font-size:12px;color:hsl(var(--muted-foreground))}
#product-view .bundle-choice .bundle-price{font-size:16px;font-weight:600;line-height:1.4;white-space:nowrap}
#product-view .bundle-note{font-size:12px;line-height:1.55;color:hsl(var(--muted-foreground));margin-top:11px}
#product-view .product-line-total{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 17px;background:hsl(var(--secondary)/.42);border:1px solid hsl(var(--border));border-radius:17px;margin:18px 0 15px}
#product-view .product-line-total .total-label{font-size:13px;color:hsl(var(--muted-foreground));line-height:1.4}
#product-view .product-line-total output{font-weight:650;font-size:25px;white-space:nowrap;color:hsl(var(--foreground));font-variant-numeric:tabular-nums}
#product-view .product-purchase{margin-top:0}
#product-view .product-details-extra{border-top:1px solid hsl(var(--border));margin-top:20px;padding-top:14px}
#product-view .product-details-extra details{border-bottom:1px solid hsl(var(--border));padding:12px 3px}
#product-view .product-details-extra summary{font-size:14px;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:18px;align-items:center}
#product-view .product-details-extra summary::after{content:'+';color:hsl(var(--primary));font-size:20px;font-weight:400}
#product-view .product-details-extra details[open] summary::after{content:'−'}
#product-view .product-details-extra summary::-webkit-details-marker{display:none}
#product-view .product-details-extra p{font-size:13px;line-height:1.6;color:hsl(var(--muted-foreground));margin-top:12px}
#product-view .product-related{margin-top:70px;border-top:1px solid hsl(var(--border));padding-top:40px}
#product-view .product-related h2{font-size:28px;margin-bottom:7px;line-height:1.25}
#product-view .product-related>p{font-size:14px;color:hsl(var(--muted-foreground));margin-bottom:24px}
#product-view .related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#product-view .related-card{display:flex;flex-direction:column;min-width:0;color:hsl(var(--foreground));text-decoration:none}
#product-view .related-image{aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;background:hsl(var(--secondary)/.42);border-radius:22px;overflow:hidden}
#product-view .related-image img{width:100%;height:100%;object-fit:contain}
#product-view .related-card h3{font-size:16px;line-height:1.35;margin:12px 2px 6px}
#product-view .related-card .related-price{font-size:16px;font-weight:600;margin:0 2px}
#product-view .related-card:focus-visible{outline:3px solid hsl(var(--primary));outline-offset:3px;border-radius:20px}
@media(min-width:640px){#product-view .related-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}}
@media(max-width:390px){#product-view .bundle-selector{gap:6px}#product-view .bundle-choice{padding:12px 4px}#product-view .bundle-choice[aria-pressed="true"]{padding:11px 3px}#product-view .bundle-choice .bundle-price{font-size:14px}#product-view .product-line-total output{font-size:22px}}
@media(prefers-reduced-motion:reduce){#product-view .bundle-choice{transition:none}}


/* V12 -- pack prices only; inherits the Base44 palette and typography. */
#product-view .bundle-choice{min-height:146px;justify-content:flex-start}
#product-view .bundle-choice .bundle-old-total{font-size:12px;color:hsl(var(--muted-foreground));text-decoration:line-through;line-height:1.2}
#product-view .bundle-choice .bundle-savings{font-size:11px;font-weight:650;line-height:1.3;color:hsl(128 23% 33%)}
#product-view .bundle-choice .bundle-unit-note{font-size:11px;color:hsl(var(--muted-foreground));line-height:1.3}
#product-view .product-line-total .total-figures{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
#product-view .product-line-total .total-figures del{font-size:13px;color:hsl(var(--muted-foreground))}
#product-view .product-line-total .detail-saving-label{font-size:12px;font-weight:600;line-height:1.35;color:hsl(128 23% 33%)}
#cart-dialog .cart-pack-saving{color:hsl(128 23% 33%);font-size:11px;font-weight:600;line-height:1.4;margin-top:3px;overflow-wrap:anywhere}
#cart-dialog .cart-total-saving{color:hsl(128 23% 33%);font-size:12px;font-weight:600;text-align:right;margin-top:-10px}
.checkout-savings{color:hsl(128 23% 33%);font-weight:600}
@media(max-width:390px){#product-view .bundle-choice{min-height:156px}#product-view .bundle-choice .bundle-savings{font-size:10px}}

/* V14 only: logo from approved Maison de Sommeil brand mockup */
.site-header .brand{display:inline-flex;align-items:center;flex:0 0 auto;gap:9px;max-width:100%;white-space:nowrap;line-height:1;text-decoration:none}
.site-header .brand-mark{display:block;object-fit:contain;width:46px;height:46px;flex:0 0 46px}
.site-header .brand-wordmark{display:block;object-fit:contain;object-position:left center;width:224px;height:auto;max-height:48px}
@media (max-width:1199px) and (min-width:768px){.site-header .brand-mark{width:39px;height:39px;flex-basis:39px}.site-header .brand-wordmark{width:179px}.site-header .brand{gap:7px}.site-header .main-nav{gap:17px}}
@media (max-width:767px){.site-header .brand-mark{width:42px;height:42px;flex-basis:42px}.site-header .brand-wordmark{width:190px}.site-header .brand{gap:7px}}
@media (max-width:429px){.site-header .brand-mark{width:37px;height:37px;flex-basis:37px}.site-header .brand-wordmark{width:163px}.site-header .brand{gap:6px}}
@media (max-width:349px){.site-header .brand-mark{width:32px;height:32px;flex-basis:32px}.site-header .brand-wordmark{width:150px}.site-header .brand{gap:5px}}

/* V15 - fourth collection 'Sommiers' (no product or stock implied). */
@media(min-width:980px){.collections-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}}
@media(min-width:768px) and (max-width:979px){.collections-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}}
@media(max-width:767px){.collections-grid{grid-template-columns:1fr}}
@media(min-width:980px) and (max-width:1199px){.collection-copy{padding:23px}.collection-copy h3{font-size:23px}.collection-copy p{font-size:13px}.collection-copy .text-link{font-size:12px}}
.collection-card--sommiers{background:linear-gradient(155deg,#B7C4B6 0%,#93A797 40%,#536B5B 100%);isolation:isolate}
.collection-card--sommiers .sommier-scene{position:absolute;inset:5% -2% 28%;display:flex;align-items:center;justify-content:center;pointer-events:none}
.collection-card--sommiers .sommier-scene svg{display:block;width:100%;height:100%;max-height:330px;filter:drop-shadow(0 15px 16px rgba(30,53,41,.12));transition:transform .7s ease}
.collection-card--sommiers:hover .sommier-scene svg{transform:scale(1.05) translateY(-2px)}
.collection-card--sommiers .sommier-glow{position:absolute;width:80%;height:78%;border-radius:50%;background:radial-gradient(circle,rgba(252,250,242,.52),rgba(252,250,242,0) 71%);filter:blur(4px)}
.collection-card--sommiers .collection-overlay{background:linear-gradient(to top,rgba(33,50,39,.86) 0%,rgba(42,64,50,.43) 33%,rgba(53,71,56,.03) 74%)}
.collection-card--sommiers .collection-copy{z-index:1}
@media(max-width:979px) and (min-width:768px){.collection-card--sommiers .sommier-scene{inset:6% 2% 28%}}
@media(max-width:767px){.collection-card--sommiers .sommier-scene{inset:7% 4% 28%}}
@media(prefers-reduced-motion:reduce){.collection-card--sommiers .sommier-scene svg{transition:none}}
/* The fifth navigation link must not overlap the logo or cart on medium tablets. */
@media (min-width:768px) and (max-width:879px){
 .site-header .main-nav{display:none}
 .site-header .mobile-toggle{display:inline-flex}
 .site-header .mobile-nav.open{display:flex}
 .site-header .mobile-nav{display:none}
}

/* V16 — Sommiers on demand, original photos, indicative quotes. Existing visual system untouched. */
.collection-card--sommiers{background:#d4c9ba}
.collection-card--sommiers>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%;transition:transform .7s}
.collection-card--sommiers .collection-overlay{background:linear-gradient(to top,rgba(31,35,29,.81),rgba(31,35,29,.22) 50%,rgba(31,35,29,0) 85%)}
.sommier-card{min-width:0}
.sommier-card-media{display:block;position:relative;aspect-ratio:4/5;border-radius:28px;overflow:hidden;background:#EDE9DF}
.sommier-card-media img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .4s ease}
.sommier-card-media:hover img{transform:scale(1.035)}
.sommier-card-label{position:absolute;top:14px;left:14px;background:#FCFAF2;color:#536B59;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;border-radius:999px;padding:8px 12px}
.sommier-card-copy{padding:16px 3px 5px}
.sommier-card-family{display:block;font-size:11px;color:#849083;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px}
.sommier-card-copy h3{font-size:22px;line-height:1.25}
.sommier-card-copy h3 a:hover{color:#6A806A}
.sommier-card-copy p{font-size:13px;color:hsl(var(--muted-foreground));margin-top:8px}
.sommier-card-cta{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #91A38E;border-radius:999px;color:#455E4C;font-size:13px;font-weight:600;padding:11px 7px;margin-top:17px;transition:.18s;background:#FCFAF2}
.sommier-card-cta:hover{background:#516B59;color:#FFF;border-color:#516B59}
.sommier-page{padding-top:54px;padding-bottom:100px}
.sommier-page .product-crumbs{margin-bottom:34px}
.sommier-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:clamp(28px,5vw,80px)}
.sommier-main-photo{overflow:hidden;border-radius:28px;background:#EEEAE3;aspect-ratio:4/4.2}
.sommier-main-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.sommier-photo-caption{color:#81817c;font-size:12px;line-height:1.6;margin-top:12px}
.sommier-info{padding:16px 0}
.sommier-overline{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#728272;margin-bottom:14px;font-weight:600}
.sommier-info h1{font-size:clamp(34px,3.8vw,54px);line-height:1.12;letter-spacing:-.02em}
.sommier-descriptor{font-size:16px;line-height:1.75;color:#686964;margin-top:20px;max-width:540px}
.sommier-tags{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0 26px}
.sommier-tags span{border:1px solid #CED7CA;color:#5E7663;background:#F3F5EF;display:inline-flex;align-items:center;gap:6px;border-radius:99px;padding:8px 11px;font-size:12px}
.sommier-price-summary{border-top:1px solid #DDDCD3;border-bottom:1px solid #DDDCD3;padding:24px 0;margin-bottom:25px}
.sommier-price-summary .price-eyebrow{display:block;font-size:11px;letter-spacing:.14em;color:#777F76;margin-bottom:8px}
.sommier-price-summary strong{display:block;font:400 clamp(29px,3vw,40px)/1.25 var(--font-heading);color:#252722}
.sommier-price-summary p{font-size:12px;color:#777F76;line-height:1.6;max-width:480px;margin-top:9px}
.sommier-primary-action,.sommier-submit{min-height:52px;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;background:#728873;color:white;border:0;border-radius:999px;font-weight:600;font-size:15px;transition:background .2s;padding:13px 22px;text-align:center}
.sommier-primary-action:hover,.sommier-submit:hover{background:#506C55}
.sommier-model-note{background:#F2F0E9;border-radius:18px;padding:23px 25px;margin-top:28px}
.sommier-model-note h2{font-size:20px;margin-bottom:12px}
.sommier-model-note p{font-size:13px;line-height:1.7;color:#636860;margin-top:8px}
.sommier-quote-section{max-width:900px;margin:100px auto 0;scroll-margin-top:110px}
.sommier-quote-heading{text-align:center;margin-bottom:30px}
.sommier-quote-heading h2{font-size:clamp(30px,4vw,46px);line-height:1.2;margin-bottom:12px}
.sommier-quote-heading>p:last-child{color:#686964;font-size:15px}
.sommier-quote-form{background:#FFFDF8;border:1px solid #E8E6DD;border-radius:28px;box-shadow:0 14px 55px rgba(37,43,30,.045);padding:clamp(20px,4vw,42px)}
.sommier-form-step{display:flex;align-items:center;gap:14px;margin:8px 0 24px}
.sommier-form-step h3{font-size:23px}
.sommier-step-num{background:#E6ECE2;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;color:#617966;font:600 12px var(--font-body)}
.sommier-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}
.sommier-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.sommier-field.full{grid-column:1/-1}
.sommier-field>span{font-size:13px;font-weight:600;color:#494E49}
.sommier-field input,.sommier-field select,.sommier-field textarea{appearance:auto;box-sizing:border-box;min-width:0;width:100%;border:1px solid #D7D9D1;border-radius:11px;background:#FFF;padding:12px 13px;font:400 14px/1.5 var(--font-body);color:#282C28;min-height:45px}
.sommier-field textarea{min-height:105px;resize:vertical}
.sommier-field input:focus-visible,.sommier-field select:focus-visible,.sommier-field textarea:focus-visible{outline:2px solid #91A38E;outline-offset:1px}
.sommier-live-price{background:#ECF1E8;border:1px solid #D9E4D6;border-radius:18px;padding:22px 26px;margin:29px 0 35px}
.sommier-live-price>span{display:block;color:#5A725E;font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:600}
.sommier-live-price strong{display:block;margin:6px 0;font:400 clamp(26px,4vw,36px)/1.2 var(--font-heading);color:#324536}
.sommier-live-price p{color:#57705C;font-size:13px;margin:8px 0}
.sommier-live-price small{display:block;color:#707D70;font-size:11px;line-height:1.6}
.sommier-consent{display:flex;align-items:flex-start;gap:10px;margin:22px 0 21px;font-size:13px;color:#5C605B;line-height:1.6}
.sommier-consent input{width:18px;height:18px;flex-shrink:0;accent-color:#728873}
.sommier-demo-warning{font-size:11px;text-align:center;color:#848681;margin:13px auto 0;line-height:1.7;max-width:580px}
.sommier-request-preview{margin-top:22px;background:#F4F6F0;border:1px solid #D6DED0;border-radius:20px;padding:22px}
.sommier-request-preview h3{font-size:22px}
.sommier-request-preview>p{font-size:13px;color:#617163;margin:8px 0 15px}
.sommier-request-preview textarea{display:block;width:100%;resize:vertical;background:white;padding:14px;border:1px solid #D8E0D2;border-radius:10px;color:#333;font:13px/1.6 ui-monospace,monospace}
.sommier-preview-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.sommier-copy-button{border:1px solid #7D937C;background:white;color:#475E49;border-radius:99px;padding:11px 17px;font-size:13px}
#sommier-copy-status{color:#576D58;font-size:12px}
.sommier-related{margin-top:86px;border-top:1px solid #E1DFD7;padding-top:40px}
.sommier-related h2{font-size:32px;margin-bottom:22px}
.sommier-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.sommier-related-grid>a{min-width:0;overflow:hidden}.sommier-related-grid>a img{width:100%;max-width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:17px;background:#EEE}
.sommier-related-grid>a span{display:block;font:400 19px var(--font-heading);padding:11px 0}
.sommier-mobile-sticky{display:none}
@media(max-width:780px){.sommier-layout{grid-template-columns:1fr;gap:24px}.sommier-info{padding:0}.sommier-page{padding-top:38px}.sommier-main-photo{aspect-ratio:4/3.6;max-height:650px}.sommier-quote-section{margin-top:65px}.sommier-mobile-sticky{display:block;position:fixed;z-index:15;bottom:0;left:0;right:0;background:#FCFAF2F5;backdrop-filter:blur(12px);box-shadow:0 -5px 30px #2221;padding:10px 16px max(10px,env(safe-area-inset-bottom))}.sommier-mobile-sticky button{width:100%;border:0;border-radius:99px;background:#718873;color:#fff;min-height:49px;font-weight:600;font-size:13px}.sommier-page{padding-bottom:135px}}
@media(max-width:540px){.sommier-field-grid{grid-template-columns:1fr}.sommier-field.full{grid-column:auto}.sommier-quote-form{padding:20px 16px}.sommier-main-photo{border-radius:20px}.sommier-tags span{font-size:11px}.sommier-card-media{border-radius:20px}.sommier-card-copy h3{font-size:18px}.sommier-card-cta{font-size:11px;letter-spacing:-.01em}.sommier-related-grid{gap:8px}.sommier-related-grid>a span{font-size:14px}.sommier-price-summary{padding:20px 0}}
@media(prefers-reduced-motion:reduce){.sommier-card-media img{transition:none}}

/* V17 – commercial storytelling within the existing Maison de Sommeil layout. */
#product-view .ms-product-tagline{font-family:Georgia,serif;font-style:italic;font-size:19px;line-height:1.35;color:hsl(var(--muted-foreground));margin:-10px 0 18px}
#product-view .ms-editorial{margin-top:72px}
#product-view .ms-kicker{display:block;font-family:inherit;font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:hsl(var(--primary));margin-bottom:13px}
#product-view .ms-section-head{max-width:690px;margin-bottom:26px}
#product-view .ms-section-head h2{font-family:Georgia,serif;font-size:clamp(26px,3vw,37px);font-weight:500;line-height:1.18;margin-bottom:13px;letter-spacing:-.025em}
#product-view .ms-section-head p{font-size:15px;line-height:1.8;color:hsl(var(--muted-foreground))}
#product-view .ms-benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#product-view .ms-benefit-card{min-width:0;padding:28px 26px 27px;border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:23px}
#product-view .ms-benefit-number{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.08em;color:hsl(var(--primary));padding-bottom:22px}
#product-view .ms-benefit-card h3{font-family:Georgia,serif;font-size:21px;line-height:1.24;font-weight:500;margin-bottom:11px}
#product-view .ms-benefit-card p{font-size:14px;line-height:1.65;color:hsl(var(--muted-foreground))}
#product-view .ms-forwho{margin-top:70px;padding:35px 37px 38px;border-radius:29px;background:hsl(var(--secondary)/.56)}
#product-view .ms-forwho .ms-section-head{margin-bottom:18px}
#product-view .ms-forwho .ms-section-head h2{margin-bottom:0}
#product-view .ms-audience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#product-view .ms-audience-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:18px;padding:22px 20px}
#product-view .ms-audience-card h3{font-size:15px;font-weight:700;margin-bottom:8px;line-height:1.35}
#product-view .ms-audience-card p{font-size:13px;line-height:1.62;color:hsl(var(--muted-foreground))}
#product-view .ms-audience-disclaimer{font-size:12px;line-height:1.6;color:hsl(var(--muted-foreground));margin-top:19px}
#product-view .ms-compare{margin-top:76px}
#product-view .ms-compare-panel{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:24px;padding:23px 26px}
#product-view .ms-compare-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,1.1fr) minmax(90px,.5fr) minmax(66px,.55fr);gap:14px;font-size:11px;color:hsl(var(--muted-foreground));font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:10px 13px 15px;border-bottom:1px solid hsl(var(--border))}
#product-view .ms-compare-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,1.1fr) minmax(90px,.5fr) minmax(66px,.55fr);align-items:center;gap:14px;text-decoration:none;color:hsl(var(--foreground));padding:16px 13px;border-bottom:1px solid hsl(var(--border));border-radius:9px;min-height:60px;transition:background .15s}
#product-view .ms-compare-row:last-child{border-bottom:0}
#product-view .ms-compare-row:hover,#product-view .ms-compare-row[aria-current="page"]{background:hsl(var(--secondary)/.58)}
#product-view .ms-compare-name{font-size:14px;font-weight:600}
#product-view .ms-compare-height{display:flex;align-items:center;gap:12px;min-width:0}
#product-view .ms-compare-track{background:hsl(var(--border));border-radius:99px;height:7px;flex:1;min-width:15px;overflow:hidden}
#product-view .ms-compare-fill{height:100%;border-radius:99px;background:hsl(var(--primary));display:block}
#product-view .ms-compare-value{min-width:56px;text-align:right;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
#product-view .ms-compare-row-price{font-size:14px;font-weight:600;text-align:right;white-space:nowrap}
#product-view .ms-compare-link{font-size:13px;color:hsl(var(--primary));text-align:right;font-weight:600}
#product-view .ms-compare-note{font-size:12px;line-height:1.6;color:hsl(var(--muted-foreground));margin:18px 5px 0}
#product-view .ms-faq{margin-top:76px;max-width:850px}
#product-view .ms-faq .ms-section-head{margin-bottom:18px}
#product-view .ms-faq details{border-bottom:1px solid hsl(var(--border));padding:19px 3px}
#product-view .ms-faq summary{font-size:15px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none}
#product-view .ms-faq summary::-webkit-details-marker{display:none}
#product-view .ms-faq summary::after{content:'+';font-size:20px;font-weight:400;color:hsl(var(--primary))}
#product-view .ms-faq details[open] summary::after{content:'−'}
#product-view .ms-faq details p{font-size:14px;line-height:1.75;color:hsl(var(--muted-foreground));max-width:700px;margin-top:13px}
#product-view .ms-service-note{font-size:12px;line-height:1.6;color:hsl(var(--muted-foreground));margin:6px 0 16px}
@media (max-width:800px){
 #product-view .ms-benefit-grid,#product-view .ms-audience-grid{grid-template-columns:1fr 1fr}
 #product-view .ms-forwho{padding:26px 23px 28px}
 #product-view .ms-benefit-card{padding:24px 22px}
 #product-view .ms-compare-panel{padding:14px 12px}
}
@media (max-width:580px){
 #product-view .ms-product-tagline{font-size:17px;margin:-4px 0 15px}
 #product-view .ms-editorial,#product-view .ms-forwho,#product-view .ms-compare,#product-view .ms-faq{margin-top:52px}
 #product-view .ms-section-head h2{font-size:27px}
 #product-view .ms-section-head p{font-size:14px}
 #product-view .ms-benefit-grid,#product-view .ms-audience-grid{grid-template-columns:1fr;gap:10px}
 #product-view .ms-benefit-card{padding:20px 22px}
 #product-view .ms-benefit-number{padding-bottom:10px}
 #product-view .ms-benefit-card h3{font-size:20px}
 #product-view .ms-forwho{padding:25px 18px;border-radius:22px}
 #product-view .ms-compare-heading{display:none}
 #product-view .ms-compare-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:15px 11px}
 #product-view .ms-compare-name{grid-column:1;grid-row:1;font-size:14px}
 #product-view .ms-compare-row-price{grid-column:2;grid-row:1;font-size:14px}
 #product-view .ms-compare-height{grid-column:1;grid-row:2}
 #product-view .ms-compare-link{grid-column:2;grid-row:2}
 #product-view .ms-compare-track{max-width:130px}
 #product-view .ms-compare-panel{padding:10px 8px}
 #product-view .ms-compare-note{margin-left:2px}
}


/* Maison de Sommeil V19: a single Carbon Plus listing and a source-grounded product page. */
.mattress-card .product-photo{position:relative;background:#f0eeeb;display:flex;align-items:center;justify-content:center}
.mattress-card .product-photo img{width:100%;height:100%;object-fit:contain;max-height:100%}
.mattress-card .matress-photo-fallback{display:flex;position:absolute;inset:0;align-items:center;justify-content:center;background:#f0eeeb;font-size:14px;color:hsl(var(--muted-foreground));padding:22px;text-align:center}
.mattress-card .mattress-product-note{font-size:12px;line-height:1.5;color:hsl(var(--muted-foreground));margin:6px 0 13px}
.mattress-card .mattress-card-link{display:flex;align-items:center;justify-content:center;text-decoration:none}
.mattress-page{padding-top:40px;padding-bottom:80px}
.mattress-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.mattress-media{min-width:0}
.mattress-image-wrap{background:#f2f0ed;border-radius:26px;overflow:hidden;position:relative;aspect-ratio:1.1;display:flex;align-items:center;justify-content:center}
.mattress-main-image{width:100%;height:100%;object-fit:contain;display:block}
.mattress-image-fallback{display:flex;background:#f2f0ed;align-items:center;justify-content:center;flex-direction:column;gap:10px;position:absolute;inset:0;padding:30px;text-align:center;color:hsl(var(--muted-foreground));font-size:14px}
.mattress-thumbnails{display:flex;gap:12px;overflow-x:auto;padding:14px 0 6px}
.mattress-thumbnail{position:relative;flex:0 0 88px;width:88px;height:76px;border:2px solid transparent;border-radius:14px;background:#f0eeeb;overflow:hidden;padding:0;display:flex;align-items:center;justify-content:center}
.mattress-thumbnail[aria-pressed="true"]{border-color:hsl(var(--primary))}
.mattress-thumbnail img{width:100%;height:100%;object-fit:cover;display:none;position:relative;z-index:1}.mattress-thumb-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:11px;color:hsl(var(--muted-foreground))}
.mattress-gallery-source{font-size:12px;color:hsl(var(--muted-foreground));line-height:1.5;margin:6px 0 0}
.mattress-gallery-source a{text-decoration:underline;text-underline-offset:3px}
.mattress-badge{display:inline-block;border-radius:999px;background:hsl(var(--secondary));color:hsl(var(--foreground));padding:7px 14px;font-size:12px;letter-spacing:.04em;margin-bottom:15px}
.mattress-title{font-family:var(--font-heading);font-weight:400;font-size:42px;line-height:1.1;margin:0 0 12px}
.mattress-eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:hsl(var(--muted-foreground));margin:0 0 10px}
.mattress-lead{font-size:15px;color:hsl(var(--muted-foreground));line-height:1.75;max-width:62ch;margin-bottom:20px}
.mattress-price{font-size:34px;line-height:1.3;font-weight:500;letter-spacing:-.025em}
.mattress-price-warning{font-size:12px;line-height:1.65;color:hsl(var(--muted-foreground));margin-top:5px;margin-bottom:20px}
.mattress-pillars{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0 26px}
.mattress-pillar{padding:15px 16px;border:1px solid hsl(var(--border));border-radius:15px;background:hsl(var(--background))}
.mattress-pillar strong{display:block;font-size:15px;font-weight:600}.mattress-pillar span{display:block;font-size:12px;color:hsl(var(--muted-foreground));line-height:1.45;margin-top:3px}
.mattress-detail-label{font-weight:500;font-size:14px;margin-bottom:8px}
.mattress-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;font-size:14px}
.mattress-field span{font-weight:500}
.mattress-field input,.mattress-field select,.mattress-field textarea{width:100%;background:hsl(var(--background));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:12px;padding:12px 14px;min-height:45px;font:inherit}
.mattress-field input:focus-visible,.mattress-field textarea:focus-visible,.mattress-field select:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:1px}
.mattress-cta{display:flex;align-items:center;justify-content:center;width:100%;background:hsl(var(--foreground));color:hsl(var(--background));font-weight:500;border:0;border-radius:14px;min-height:52px;padding:13px 18px;margin-top:16px;cursor:pointer}
.mattress-cta:hover{opacity:.9}.mattress-demo-note{font-size:12px;color:hsl(var(--muted-foreground));line-height:1.55;margin-top:10px}
.mattress-form{background:hsl(var(--secondary)/.5);border-radius:22px;padding:22px;margin-top:24px}
.mattress-form h2{font-family:var(--font-heading);font-size:26px;line-height:1.2;font-weight:400;margin:0 0 8px}
.mattress-form-intro{color:hsl(var(--muted-foreground));font-size:13px;line-height:1.6;margin-bottom:20px}
.mattress-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mattress-check{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.45;margin-top:12px;color:hsl(var(--muted-foreground))}.mattress-check input{margin-top:2px;flex-shrink:0}
.mattress-copy-preview{margin-top:18px;background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:16px;padding:16px}
.mattress-copy-preview h3{font-family:var(--font-heading);font-size:20px;font-weight:400;margin:0 0 10px}
.mattress-copy-preview textarea{width:100%;resize:vertical;border:1px solid hsl(var(--border));border-radius:10px;padding:12px;color:hsl(var(--foreground));background:hsl(var(--background));min-height:185px;font:13px/1.6 ui-monospace,monospace}
.mattress-copy-preview button{padding:10px 14px;margin-top:9px;border-radius:10px;background:hsl(var(--foreground));color:hsl(var(--background));font-size:13px}
.mattress-copy-status{font-size:12px;color:hsl(var(--muted-foreground));margin-top:8px}
.mattress-sections{margin-top:68px;display:grid;grid-template-columns:1fr 1fr;gap:22px}
.mattress-section{border:1px solid hsl(var(--border));border-radius:22px;padding:26px;background:hsl(var(--background))}
.mattress-section h2{font:400 28px/1.2 var(--font-heading);margin:0 0 12px}.mattress-section p,.mattress-section li{color:hsl(var(--muted-foreground));font-size:14px;line-height:1.7}
.mattress-section ul{list-style:disc;margin:0;padding-left:20px}.mattress-section li+li{margin-top:6px}
.mattress-small-print{font-size:12px;color:hsl(var(--muted-foreground));line-height:1.65;margin-top:22px}
@media(max-width:900px){.mattress-layout{grid-template-columns:1fr;gap:24px}.mattress-sections{margin-top:46px}}
@media(max-width:580px){.mattress-page{padding-top:24px;padding-bottom:60px}.mattress-layout{gap:22px}.mattress-image-wrap{aspect-ratio:1}.mattress-title{font-size:32px}.mattress-price{font-size:28px}.mattress-sections{grid-template-columns:1fr;gap:12px}.mattress-section{padding:22px}.mattress-form{padding:18px}.mattress-two{grid-template-columns:1fr}.mattress-thumbnail{width:68px;flex-basis:68px;height:65px}}

/* V20 Carbon Plus: sized variants use the existing sage/cream design. */
.mattress-variant-block{margin:8px 0 20px}
.mattress-variant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.mattress-variant-option{display:flex;position:relative;flex-direction:column;align-items:flex-start;gap:7px;cursor:pointer;min-height:94px;border:1px solid hsl(var(--border));border-radius:15px;padding:14px;background:hsl(var(--background));transition:border-color .18s ease,background-color .18s ease}
.mattress-variant-option:has(input:checked){border-color:hsl(var(--primary));background:hsl(var(--secondary));box-shadow:0 0 0 1px hsl(var(--primary)/.2)}
.mattress-variant-option:focus-within{outline:2px solid hsl(var(--primary));outline-offset:2px}
.mattress-variant-option input{position:absolute;right:12px;top:12px;accent-color:hsl(var(--primary));width:15px;height:15px;cursor:pointer}
.mattress-variant-size{font-size:13px;line-height:1.35;padding-right:17px}
.mattress-variant-option strong{font-size:15px;line-height:1.3;white-space:nowrap;font-weight:600}
.mattress-selected-choice{display:block;font-weight:600;font-size:15px;color:hsl(var(--foreground));margin:-3px 0 18px;padding:12px 14px;border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:12px}
@media(max-width:580px){.mattress-variant-grid{grid-template-columns:1fr;gap:8px}.mattress-variant-option{min-height:0;flex-direction:row;align-items:center;justify-content:space-between;padding:12px 39px 12px 14px}.mattress-variant-option input{top:50%;transform:translateY(-50%)}.mattress-variant-option strong{font-size:14px}.mattress-variant-size{padding:0}}

/* V21: explanations are separate from official product photography; no redesign of the boutique. */
.mattress-learning{margin-top:62px;border-radius:26px;padding:34px;background:hsl(var(--secondary)/.48);border:1px solid hsl(var(--border))}
.mattress-learning-header{max-width:740px;margin-bottom:23px}
.mattress-learning-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.15em;color:hsl(var(--muted-foreground));margin:0 0 8px}
.mattress-learning-header h2{font:400 34px/1.2 var(--font-heading);margin:0 0 10px;color:hsl(var(--foreground))}
.mattress-learning-header p{line-height:1.7;color:hsl(var(--muted-foreground));font-size:14px;margin:0}
.mattress-technology-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.mattress-technology-card{background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:18px;overflow:hidden;min-width:0}
.mattress-technology-card img{width:100%;aspect-ratio:1.55;object-fit:cover;display:block;background:#edf0eb}
.mattress-technology-copy{padding:18px 16px 20px}
.mattress-technology-no{display:block;font-size:10px;color:hsl(var(--muted-foreground));letter-spacing:.1em;margin:0 0 10px}
.mattress-technology-card h3{font:500 18px/1.25 var(--font-heading);margin:0 0 9px;color:hsl(var(--foreground))}
.mattress-technology-card p{color:hsl(var(--muted-foreground));font-size:12px;line-height:1.65;margin:0}
.mattress-diagram-note{font-size:12px;color:hsl(var(--muted-foreground));margin:16px 0 0;line-height:1.65}
.mattress-cutaway{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center;margin-top:22px;border-radius:22px;background:hsl(var(--background));border:1px solid hsl(var(--border));padding:24px}
.mattress-cutaway img{display:block;width:100%;height:auto;max-width:100%;border-radius:17px}
.mattress-cutaway h3{font:400 28px/1.2 var(--font-heading);margin:0 0 10px}
.mattress-cutaway p{color:hsl(var(--muted-foreground));font-size:14px;line-height:1.7}
.mattress-cutaway ul{padding-left:18px;list-style:disc;color:hsl(var(--muted-foreground));font-size:13px;line-height:1.7;margin-top:12px}
.mattress-video-ready{margin-top:22px;border:1px solid hsl(var(--border));border-radius:20px;padding:22px 24px;background:hsl(var(--background));display:flex;justify-content:space-between;gap:26px;align-items:center}
.mattress-video-ready h3{font:400 22px/1.25 var(--font-heading);margin:0 0 6px}
.mattress-video-ready p{font-size:12px;color:hsl(var(--muted-foreground));line-height:1.6;margin:0}
.mattress-video-ready a{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border:1px solid hsl(var(--border));border-radius:12px;padding:12px 16px;font-size:12px;font-weight:600;text-decoration:none;color:hsl(var(--foreground))}
.mattress-video-ready a:hover{background:hsl(var(--secondary))}
.mattress-faq{margin-top:24px}
.mattress-faq h2{font:400 30px/1.2 var(--font-heading);margin:0 0 14px}
.mattress-faq details{background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:14px;padding:16px 20px;margin-top:9px}
.mattress-faq summary{font-size:14px;font-weight:500;cursor:pointer;line-height:1.5}
.mattress-faq details p{margin:12px 0 0;font-size:13px;line-height:1.65;color:hsl(var(--muted-foreground))}
.mattress-learning-jump{margin:-6px 0 20px;display:block;width:fit-content;font-size:13px;color:hsl(var(--primary));text-decoration:underline;text-underline-offset:3px;background:none;border:none;padding:4px 0;cursor:pointer}
.mattress-image-fallback .mattress-educational-fallback{max-width:92%;max-height:75%;object-fit:contain;border-radius:14px;display:block}
.mattress-image-fallback small{max-width:310px;line-height:1.5;text-align:center}
@media(max-width:1050px){.mattress-technology-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.mattress-learning{margin-top:38px;padding:20px;border-radius:19px}.mattress-learning-header h2{font-size:28px}.mattress-cutaway{grid-template-columns:1fr;gap:18px;padding:15px}.mattress-video-ready{flex-direction:column;align-items:flex-start;gap:12px}.mattress-technology-copy{padding:13px}.mattress-technology-card h3{font-size:16px}}
@media(max-width:360px){.mattress-technology-grid{grid-template-columns:1fr}}

/* V22: educational video, distinct from the manufacturer's media. */
.mattress-video-showcase{margin-top:25px;border:1px solid hsl(var(--border));border-radius:23px;padding:26px;background:hsl(var(--background));scroll-margin-top:120px}
.mattress-video-showcase-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px}
.mattress-video-showcase-header h3{font:400 27px/1.2 var(--font-heading);margin:0 0 10px}
.mattress-video-showcase-header p:not(.mattress-learning-kicker){font-size:13px;line-height:1.65;color:hsl(var(--muted-foreground));max-width:680px;margin:0}
.mattress-video-showcase-header a{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;border:1px solid hsl(var(--border));border-radius:12px;padding:11px 15px;font-weight:600;font-size:12px;text-decoration:none;color:hsl(var(--foreground))}
.mattress-carbon-player{display:block;width:100%;max-height:640px;aspect-ratio:16/9;border-radius:16px;background:#e8eee6;object-fit:contain}
.mattress-video-caption{color:hsl(var(--muted-foreground));font-size:12px;margin:12px 0 0;line-height:1.6}
@media(max-width:720px){.mattress-video-showcase{padding:14px;border-radius:17px}.mattress-video-showcase-header{display:block}.mattress-video-showcase-header h3{font-size:22px}.mattress-video-showcase-header a{margin-top:12px}.mattress-carbon-player{border-radius:11px}}

/* V23 — editorial product journey inspired by Sleep&Bed's information organization, not its visual design. */
#mattress-title:focus:not(:focus-visible){outline:none}
.carbon-section-nav{position:sticky;top:68px;z-index:10;display:flex;align-items:center;gap:23px;padding:12px 18px;min-height:56px;margin:12px 0 28px;background:rgba(253,252,249,.96);backdrop-filter:blur(16px);border:1px solid hsl(var(--border));border-radius:15px;box-shadow:0 5px 28px rgba(46,67,47,.045);overflow-x:auto;scrollbar-width:thin}
.carbon-section-nav a{font-size:12px;white-space:nowrap;color:hsl(var(--muted-foreground));text-decoration:none;font-weight:550;transition:color .2s;flex-shrink:0}
.carbon-section-nav a:hover,.carbon-section-nav a:focus-visible{color:hsl(var(--primary));text-decoration:underline;text-underline-offset:5px}
.carbon-nav-name{font-family:var(--font-heading);font-size:16px;color:hsl(var(--foreground));white-space:nowrap;margin-right:auto;display:flex;align-items:center;gap:8px}
.carbon-nav-dot{width:6px;height:6px;background:#8ba28d;border-radius:50%;display:inline-block}
.mattress-page [id]{scroll-margin-top:145px}
.carbon-section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:24px}
.carbon-section-heading>div{max-width:630px}
.carbon-section-heading h2{font:400 clamp(27px,3.3vw,40px)/1.15 var(--font-heading);margin:0;letter-spacing:-.02em}
.carbon-section-heading>p{max-width:330px;color:hsl(var(--muted-foreground));font-size:13px;line-height:1.7;margin:0 0 2px}
.carbon-benefit-section{margin-top:72px}
.carbon-benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.carbon-benefit-card{display:flex;flex-direction:column;border:1px solid hsl(var(--border));border-radius:22px;padding:23px 24px;background:hsl(var(--background));min-height:295px}
.carbon-benefit-index{font-size:10px;letter-spacing:.13em;color:hsl(var(--muted-foreground));font-weight:650}
.carbon-benefit-icon{font-family:Georgia,serif;font-size:36px;color:#759078;line-height:1.2;margin:18px 0 11px}
.carbon-benefit-card h3{font:400 22px/1.2 var(--font-heading);margin:0 0 12px;letter-spacing:-.015em}
.carbon-benefit-card p{font-size:13px;line-height:1.7;color:hsl(var(--muted-foreground));margin:0 0 20px}
.carbon-benefit-card a{font-size:12px;margin-top:auto;color:hsl(var(--primary));font-weight:650;text-decoration:underline;text-underline-offset:4px}
.carbon-benefit-card a span{display:inline-block;margin-left:4px}
.carbon-hero-actions{display:flex;gap:12px;margin:0 0 22px;align-items:stretch}
.carbon-hero-video{display:flex;align-items:center;gap:12px;background:#e6ede6;border:1px solid #d7e1d6;color:#3d5741;border-radius:16px;padding:11px 16px;text-align:left;flex:1;cursor:pointer;font-size:13px;font-weight:650}
.carbon-hero-video:hover{background:#dae6da}
.carbon-hero-video small{display:block;font-weight:450;font-size:11px;margin-top:3px;color:#64806b}
.carbon-hero-play{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:100%;background:#728e76;color:white;font-size:12px;flex-shrink:0}
.carbon-hero-materials{font-size:12px;color:hsl(var(--foreground));font-weight:600;border:1px solid hsl(var(--border));border-radius:15px;padding:12px;cursor:pointer;background:hsl(var(--background))}
.carbon-hero-materials span{margin-left:5px}
.carbon-video-thumbnail{border-color:#97ad99;background:#d9e3dc}
.carbon-video-thumbnail img{display:block;object-fit:cover;filter:brightness(.62)}
.carbon-video-thumb-play{z-index:2;position:absolute;color:white;font-size:18px;display:flex;align-items:center;justify-content:center;inset:0}
.carbon-video-thumb-caption{position:absolute;z-index:3;bottom:3px;left:0;right:0;color:white;font-size:8px;font-weight:700;letter-spacing:.06em}
.mattress-card .matress-photo-fallback img{height:100%;width:100%;object-fit:cover}
.mattress-image-fallback img.mattress-educational-fallback{max-width:100%;max-height:82%;width:100%;object-fit:contain}
.mattress-video-showcase.carbon-real-video{margin-top:72px;background:#e6ebe4;border:1px solid #d7e2d6;padding:27px 29px;border-radius:25px}
.carbon-video-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}
.carbon-video-intro h2{font:400 clamp(26px,3vw,37px)/1.15 var(--font-heading);margin:0 0 9px}
.carbon-video-intro p:not(.mattress-learning-kicker){font-size:13px;line-height:1.7;max-width:650px;color:hsl(var(--muted-foreground));margin:0}
.carbon-video-duration{border-radius:999px;padding:8px 12px;background:white;border:1px solid #d6dfd5;font-size:12px;font-weight:600;color:#536959;white-space:nowrap}
.carbon-real-video .mattress-carbon-player{border-radius:17px;max-height:600px;object-fit:contain;background:#19201d}
.carbon-video-below{display:flex;align-items:center;justify-content:space-between;margin-top:14px;gap:12px}
.carbon-video-below span{font-size:11px;color:#64766b;letter-spacing:.08em;font-weight:650}
.carbon-video-below a{font-size:12px;font-weight:600;color:#465f4e;text-decoration:underline;text-underline-offset:4px}
.carbon-real-video .mattress-video-caption{font-size:11px;color:#748578;margin:12px 0 0}
.carbon-details-heading{margin-top:74px;margin-bottom:15px}
.mattress-page .mattress-sections{margin-top:20px}
.mattress-page .mattress-learning{margin-top:60px}
.carbon-standalone-faq{margin:80px 0 0;max-width:900px}
.carbon-standalone-faq h2{font:400 clamp(27px,3.1vw,38px)/1.15 var(--font-heading);margin-bottom:19px}
.carbon-standalone-faq details{border:0;border-bottom:1px solid hsl(var(--border));border-radius:0;background:transparent;margin:0;padding:19px 3px}
.carbon-standalone-faq details summary{font-weight:550;font-size:15px}
.carbon-end-cta{margin-top:70px;padding:36px 38px;background:#e3ece4;border-radius:26px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.carbon-end-cta>div:first-child{max-width:690px}
.carbon-end-cta h2{font:400 clamp(27px,3vw,37px)/1.17 var(--font-heading);margin:0 0 13px}
.carbon-end-cta p:not(.mattress-learning-kicker){color:#5d7162;font-size:13px;line-height:1.65;margin:0}
.carbon-end-action{min-width:220px;display:flex;flex-direction:column;align-items:stretch;gap:12px}
.carbon-end-action>span{font-size:13px;color:#5c715d}.carbon-end-action>span strong{color:#344f3a;font-size:22px;margin-left:4px}
.carbon-end-action a{background:#455f49;color:#fff;text-decoration:none;font-weight:600;text-align:center;border-radius:14px;padding:16px 19px;font-size:13px;white-space:nowrap}
.carbon-end-action a:hover{background:#344f3a}
@media(max-width:900px){.carbon-section-nav{top:62px;gap:18px}.carbon-section-heading>p{max-width:250px}.carbon-benefit-card{padding:20px 18px}.carbon-benefit-card h3{font-size:19px}.carbon-end-cta{padding:28px}}
@media(max-width:700px){.carbon-section-nav{margin:6px 0 20px;min-height:48px;gap:17px;padding:10px 13px;border-radius:12px;top:65px}.carbon-nav-name{font-size:14px}.carbon-section-heading{display:block}.carbon-section-heading>p{max-width:none;margin-top:12px}.carbon-benefit-section,.mattress-video-showcase.carbon-real-video{margin-top:43px}.carbon-benefit-grid{grid-template-columns:1fr;gap:10px}.carbon-benefit-card{min-height:0;padding:18px 20px}.carbon-benefit-icon{font-size:30px;margin:10px 0}.carbon-benefit-card h3{font-size:21px}.carbon-benefit-card p{margin-bottom:13px}.carbon-hero-actions{flex-direction:column}.carbon-hero-materials{text-align:center}.mattress-video-showcase.carbon-real-video{padding:17px}.carbon-video-intro{display:block}.carbon-video-duration{display:inline-block;margin-top:12px}.carbon-video-below{align-items:start}.carbon-video-below>span{max-width:50%}.carbon-standalone-faq{margin-top:48px}.carbon-end-cta{margin-top:48px;display:block;padding:25px 22px}.carbon-end-action{margin-top:23px;min-width:0}.carbon-details-heading{margin-top:50px}}
@media(max-width:340px){.carbon-section-nav{top:60px}.carbon-video-below{flex-direction:column}.carbon-video-below>span{max-width:100%}}
@media(prefers-reduced-motion:reduce){.carbon-section-nav a,.carbon-hero-video{transition:none}}

/* V25: checkout consent and spam-trap (no visual redesign). */
.mds-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.55;color:#516450;margin:14px 0}
.mds-consent input{margin:3px 0 0;flex:none;accent-color:#496a54}
.mds-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
#ordering-availability.orders-enabled{color:#daeadd}
#mattress-send-status{overflow-wrap:anywhere}

/* WooCommerce V26 bridge */
body.ms-wp #main{min-height:50vh}body.ms-wp .ms-wc-wrap{padding-top:55px;padding-bottom:88px}body.ms-wp .ms-wc-wrap h1{font-family:var(--font-heading);font-size:clamp(30px,4vw,52px);margin-bottom:20px}body.ms-wp .woocommerce .button,body.ms-wp .woocommerce button.button,body.ms-wp .woocommerce a.button{border-radius:40px;background:#252523;color:white;padding:14px 22px;border:0}body.ms-wp .woocommerce .button:hover{background:#617b68;color:white}body.ms-wp .woocommerce select,body.ms-wp .woocommerce input,body.ms-wp .woocommerce textarea{border:1px solid #d6d6cf;border-radius:8px;padding:11px;max-width:100%}body.ms-wp .woocommerce .quantity input.qty{width:80px}body.ms-wp .ms-single{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5%;align-items:start}body.ms-wp .ms-single .ms-photo-hero{width:100%;border-radius:28px;background:#faf9f7;max-height:590px;object-fit:contain}body.ms-wp .ms-gallery{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}body.ms-wp .ms-gallery img{width:78px;height:78px;object-fit:contain;border-radius:10px;border:1px solid #deded8}body.ms-wp .ms-single h1{margin:0 0 20px}body.ms-wp .ms-single .price{font-size:25px}body.ms-wp .ms-single .variations th{padding:12px 12px 12px 0}body.ms-wp .ms-single .variations select{min-width:180px}body.ms-wp .ms-single .single_add_to_cart_button{margin:8px}body.ms-wp .ms-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;margin:30px 0 70px}body.ms-wp .ms-cards a{color:inherit;text-decoration:none}body.ms-wp .ms-cards .ms-card-img{display:block;background:white;aspect-ratio:4/5;width:100%;object-fit:contain;border-radius:25px}body.ms-wp .ms-cards .ms-card-name{font-weight:600;margin-top:15px}body.ms-wp .ms-cards .price{font-weight:500}body.ms-wp .woocommerce .woocommerce-breadcrumb{margin-bottom:24px}body.ms-wp .ms-tech-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}body.ms-wp .ms-tech-grid article{border:1px solid #e3e1db;border-radius:20px;padding:16px}body.ms-wp .ms-tech-grid img{width:100%;height:160px;object-fit:contain}body.ms-wp .ms-tech-grid h3{font-size:20px;margin:14px 0 8px}body.ms-wp .ms-carbon-video{display:block;width:min(100%,920px);border-radius:22px;margin:22px auto 65px}body.ms-wp .ms-description{margin:50px 0 36px}body.ms-wp .ms-description h2{font-size:34px}body.ms-wp .ms-sommiers{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}body.ms-wp .ms-sommier-card{border:1px solid #e4e1dc;border-radius:20px;overflow:hidden}body.ms-wp .ms-sommier-card img{width:100%;aspect-ratio:4/3;object-fit:cover}body.ms-wp .ms-sommier-card h3{margin:15px}body.ms-wp .ms-sommier-card p{margin:0 15px 17px}body.ms-wp .ms-sommier-card a{margin:0 15px 20px;display:inline-block;text-decoration:underline}body.ms-wp .ms-product-help{padding:14px 0;color:#60635d}body.ms-wp .ms-product-help small{font-size:12px}body.ms-wp .ms-notice{padding:12px 20px;background:#f5f3ee;border-radius:12px}body.ms-wp .ms-cart-link{font-size:14px;white-space:nowrap}body.ms-wp .ms-cart-link strong{background:#252523;color:#fff;border-radius:50px;padding:2px 7px}body.ms-wp .ms-hero-remote-note{position:absolute;bottom:10px;right:10px;font-size:11px;opacity:.65}body.ms-wp .ms-featured-buttons{display:flex;justify-content:space-between;gap:12px;align-items:center}body.ms-wp .product-photo img{width:100%;height:100%}body.ms-wp .site-header a{text-decoration:none}body.ms-wp .footer-links{list-style:none}body.ms-wp .woocommerce-checkout .wc-block-checkout{max-width:1100px;margin:auto}body.ms-wp .ms-sommiers-intro{margin-bottom:25px}@media(max-width:850px){body.ms-wp .ms-single{grid-template-columns:1fr}body.ms-wp .ms-cards{grid-template-columns:repeat(2,minmax(0,1fr))}body.ms-wp .ms-tech-grid{grid-template-columns:repeat(2,1fr)}body.ms-wp .ms-sommiers{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){body.ms-wp .ms-cards,body.ms-wp .ms-sommiers,body.ms-wp .ms-tech-grid{grid-template-columns:1fr 1fr;gap:12px}body.ms-wp .ms-tech-grid{grid-template-columns:1fr}body.ms-wp .ms-wc-wrap{padding-top:24px}body.ms-wp .ms-sommiers{grid-template-columns:1fr}}
.site-header .mobile-nav.open{display:flex!important}
.ms-wp .ms-single .ms-wc-add-to-cart .woocommerce-variation-add-to-cart{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ms-wp .ms-single .ms-wc-add-to-cart form.variations_form{display:block}
.ms-wp .ms-single .ms-wc-add-to-cart .variations{width:100%;margin-bottom:20px}
.ms-wp .ms-single .ms-gallery button{border:0;background:transparent;padding:0;cursor:pointer}
.ms-wp .ms-description p{margin:8px 0 17px}
.ms-wp .woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.ms-wp .woocommerce ul.products::before,.ms-wp .woocommerce ul.products::after{display:none}
.ms-wp .woocommerce ul.products li.product{width:auto;float:none;margin:0}
@media(max-width:767px){.ms-wp .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Existing V26.1 sommier and quote styling. */
.ms-wp .ms-product-specs{padding:17px 20px;background:#f2f4ee;border-radius:15px;font-size:13px;line-height:1.9;color:#3d5143}
.ms-wp .ms-sommier-card .ms-sommier-content{padding:19px}
.ms-wp .ms-sommier-card .ms-sommier-content h3,.ms-wp .ms-sommier-card .ms-sommier-content p{margin:10px 0}
.ms-wp .ms-sommier-content .button{display:inline-block;padding:12px 15px;font-size:12px;margin-top:10px}
.ms-wp .ms-quote-guide{background:#f1f4ef;border-radius:18px;padding:22px;margin:24px 0}
.ms-wp .ms-quote-guide h2{font:400 26px var(--font-heading)}
.ms-wp .ms-quote-guide p{font-size:13px;line-height:1.6}
.ms-wp .ms-quote-panel{max-width:950px;margin:65px auto;padding:35px;border:1px solid #e4e8e0;border-radius:25px}
.ms-wp .ms-quote-panel h2{font:400 38px var(--font-heading)}
.ms-wp .ms-quote-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ms-wp .ms-quote-form label{display:flex;flex-direction:column;gap:8px;font-size:13px}
.ms-wp .ms-quote-form input:not([type=checkbox]),.ms-wp .ms-quote-form select,.ms-wp .ms-quote-form textarea{width:100%;padding:13px;border:1px solid #d5d9d2;border-radius:10px;font:inherit;background:white}
.ms-wp .ms-quote-form .ms-quote-full{grid-column:1/-1}
.ms-wp .ms-quote-form .ms-quote-consent{flex-direction:row;align-items:flex-start}
.ms-wp .ms-quote-submit{cursor:pointer;max-width:330px}
.ms-wp .ms-quote-success{color:#345b40;background:#e4f1e6;border-radius:10px;padding:14px}
.ms-honeypot{position:absolute!important;left:-9999px!important}
.ms-wp .ms-characteristics{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.ms-wp .ms-characteristics span{padding:15px;background:#f1f4ef;border-radius:12px}
.ms-wp .ms-single-info .variations_form .single_variation_wrap{margin-top:12px}
@media (max-width:760px){.ms-wp .ms-quote-panel{padding:19px}
.ms-wp .ms-quote-form{grid-template-columns:1fr}
.ms-wp .ms-characteristics{grid-template-columns:1fr 1fr}}
@media (max-width:400px){.ms-wp .ms-characteristics{grid-template-columns:1fr}}
/* V26.30: four columns on desktop; existing responsive rules preserved. */
@media (min-width: 1000px) { .site-footer .footer-grid { grid-template-columns: minmax(250px, 1.6fr) repeat(3, minmax(140px, 1fr)); } }
