/* Avorio and anthracite retain the existing layout and brand assets. */
html body.brand-site.brand-site :is(#place_order,.brand-button,.grid-button--primary,.grid-button-primary,.cshop-add,.cshop-checkout,.cshop-open-cart,.cshop-filter-list button,.woocommerce .button,.woocommerce .checkout-button,[data-corrado-apply-coupon],.corrado-consent-banner button,.corrado-consent-buttons button,.cfaq-panel form button,.cfaq-panel [data-chat-human],.cfaq-suggestions button,.sec-prose form button,.brand-motion-button,.corrado-ivory-control){background:#f5f1e9!important;background-image:none!important;color:#242628!important;border:1px solid #c7c0b5!important;font-family:Manrope,Arial,sans-serif!important;font-size:16px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:normal!important;min-height:44px!important;box-sizing:border-box!important;text-decoration:none}
html body.brand-site.brand-site :is(#place_order,.brand-button,.grid-button--primary,.grid-button-primary,.cshop-add,.cshop-checkout,.cshop-open-cart,.cshop-filter-list button,.woocommerce .button,.woocommerce .checkout-button,[data-corrado-apply-coupon],.corrado-consent-banner button,.corrado-consent-buttons button,.cfaq-panel form button,.cfaq-panel [data-chat-human],.cfaq-suggestions button,.sec-prose form button,.brand-motion-button,.corrado-ivory-control):hover{background:#e8e1d5!important;color:#242628!important;border-color:#a79e90!important}
html body.brand-site.brand-site :is(#place_order,.brand-button,.grid-button--primary,.grid-button-primary,.cshop-add,.cshop-checkout,.cshop-open-cart,.cshop-filter-list button,.woocommerce .button,.woocommerce .checkout-button,[data-corrado-apply-coupon],.corrado-consent-banner button,.corrado-consent-buttons button,.cfaq-panel form button,.cfaq-panel [data-chat-human],.cfaq-suggestions button,.sec-prose form button,.brand-motion-button,.corrado-ivory-control).corrado-action-dark{background:#242628!important;color:#fff!important;border-color:#242628!important}
html body.brand-site.brand-site :is(#place_order,.brand-button,.grid-button--primary,.grid-button-primary,.cshop-add,.cshop-checkout,.cshop-open-cart,.cshop-filter-list button,.woocommerce .button,.woocommerce .checkout-button,[data-corrado-apply-coupon],.corrado-consent-banner button,.corrado-consent-buttons button,.cfaq-panel form button,.cfaq-panel [data-chat-human],.cfaq-suggestions button,.sec-prose form button,.brand-motion-button,.corrado-ivory-control).corrado-action-dark:hover{background:#3b3e42!important;color:#fff!important;border-color:#3b3e42!important}
html body.brand-site.brand-site :is(#place_order,.brand-button,.grid-button--primary,.grid-button-primary,.cshop-add,.cshop-checkout,.cshop-open-cart,.cshop-filter-list button,.woocommerce .button,.woocommerce .checkout-button,[data-corrado-apply-coupon],.corrado-consent-banner button,.corrado-consent-buttons button,.cfaq-panel form button,.cfaq-panel [data-chat-human],.cfaq-suggestions button,.sec-prose form button,.brand-motion-button,.corrado-ivory-control):focus-visible{outline:3px solid #8a8173!important;outline-offset:3px!important}
html body.brand-site .brand-showroom,html body.brand-site .corrado-ivory-band{background:#f5f1e9!important;background-image:none!important;color:#242628!important;border-block:1px solid #dfd8cd}
html body.brand-site :is(.brand-showroom,.corrado-ivory-band) :is(h1,h2,h3,p,.brand-eyebrow){color:#242628!important}
html body.brand-site :is(.brand-showroom,.corrado-ivory-band) .brand-button{background:#242628!important;color:#fff!important;border-color:#242628!important}
html body.brand-site.brand-site button.cfaq-launch[aria-label]{background:#242628!important;color:#fff!important;border:1px solid #55595e!important}
html body.brand-site.brand-site button.cfaq-launch[aria-label]:hover{background:#3b3e42!important}
html body.brand-site.brand-site button.cfaq-launch[aria-label] svg path{fill:#fff!important}
html body.brand-site.brand-site button.cfaq-launch[aria-label] svg circle{fill:#242628!important}
html body.brand-site.brand-site .cfaq-panel :is(form button,[data-chat-human]){font-size:14px!important}
html body.brand-site.brand-site .cfaq-suggestions button{font-size:13px!important;min-height:36px!important}
html body.brand-site.brand-site .cshop-filter-list button{font-size:14px!important}
html body.brand-site.brand-site :is(.corrado-consent-banner,.corrado-consent-buttons) button{font-size:14px!important}
html body.brand-site footer.brand-footer .brand-footer-top>p{text-wrap:balance!important;max-width:540px!important}
@media(min-width:768px) and (max-width:1099px){html body.brand-site footer.brand-footer .brand-footer-top{grid-template-columns:72px minmax(0,1fr)!important}html body.brand-site footer.brand-footer .brand-footer-top>.brand-button{grid-column:2!important;justify-self:start!important}}
@media(max-width:767px){
html body.brand-site.brand-site :is(#place_order,.brand-button,.grid-button--primary,.grid-button-primary,.cshop-add,.cshop-checkout,.cshop-open-cart,.cshop-filter-list button,.woocommerce .button,.woocommerce .checkout-button,[data-corrado-apply-coupon],.corrado-consent-banner button,.corrado-consent-buttons button,.cfaq-panel form button,.cfaq-panel [data-chat-human],.cfaq-suggestions button,.sec-prose form button,.brand-motion-button,.corrado-ivory-control){font-size:15px!important}
html body.brand-site.brand-site .brand-mobile-cta .brand-button{font-size:14px!important}
html body.brand-site footer.brand-footer .brand-footer-top>.brand-button{font-size:14px!important}
}
/* Override earlier home-specific shorthand declarations as well. */
html body.brand-site.brand-site #contenuto .brand-button.brand-button{font-family:Manrope,Arial,sans-serif!important;font-size:16px!important;font-weight:600!important;line-height:1.4!important;white-space:normal!important;gap:12px!important;min-height:44px!important}
@media(max-width:767px){html body.brand-site.brand-site #contenuto .brand-button.brand-button{font-size:15px!important}}

/* Material names retain the original vector artwork with more room to breathe. */
html body.brand-site.brand-site #contenuto :is(.brand-material-section,.brand-material-explorer) .brand-material-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important}
html body.brand-site.brand-site #contenuto :is(.brand-material-section,.brand-material-explorer) .brand-material-tabs button{padding:10px 8px 14px!important;min-width:0!important;min-height:120px!important}
html body.brand-site.brand-site #contenuto :is(.brand-material-section,.brand-material-explorer) .brand-material-tabs img{width:170px!important;max-width:100%!important;height:108px!important;object-fit:contain!important}
@media(max-width:767px){
 html body.brand-site.brand-site #contenuto :is(.brand-material-section,.brand-material-explorer) .brand-material-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 16px!important;margin:22px 0!important}
 html body.brand-site.brand-site #contenuto :is(.brand-material-section,.brand-material-explorer) .brand-material-tabs button{padding:5px 2px 10px!important;min-height:90px!important}
 html body.brand-site.brand-site #contenuto :is(.brand-material-section,.brand-material-explorer) .brand-material-tabs img{width:108px!important;height:82px!important}
}

@media(max-width:767px){
 html body.brand-site.page-id-510 #contenuto .c-home-fold-trigger{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;width:100%!important;min-height:44px!important;padding:2px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit!important;letter-spacing:inherit!important;text-align:left!important;text-transform:none!important;white-space:normal!important;cursor:pointer}
 html body.brand-site.page-id-510 #contenuto .c-home-fold-symbol{display:grid;place-items:center;flex:0 0 32px;align-self:center;width:32px;height:32px;border:1px solid currentColor;border-radius:50%;font:400 25px/1 Manrope,Arial,sans-serif;opacity:.85}
 html body.brand-site.page-id-510 #contenuto .c-home-fold-trigger:focus-visible{outline:2px solid currentColor;outline-offset:5px}
 html body.brand-site.page-id-510 #contenuto [data-c-home-fold-content][hidden]{display:none!important}
 html body.brand-site.page-id-510 #contenuto .brand-showroom .brand-button{margin-top:14px!important}
}

/* Mattress chapters alternate ivory / anthracite, starting after the hero. */
html body.brand-site.page-id-511 #contenuto :is(#collezioni,#adaptivecore,.brand-mattress-choice){--cb-muted:#625f59;--cb-line:#bcb5aa;background:#f5f1e9!important;color:#242628!important}
html body.brand-site.page-id-511 #contenuto :is(#memory-impronte,#molle-tradizionali,.brand-navigation-cta){--cb-muted:#d4cfc6;--cb-line:#ffffff30;background:#1b1c1e!important;color:#f5f1e9!important}
html body.brand-site.page-id-511 #contenuto :is(#collezioni,.brand-mattress-choice){position:relative;isolation:isolate}
html body.brand-site.page-id-511 #contenuto :is(#collezioni,.brand-mattress-choice):before{content:"";position:absolute;inset:0 calc(50% - 50vw);background:#f5f1e9;z-index:-1;pointer-events:none}
html body.brand-site.page-id-511 #contenuto :is(#collezioni,#adaptivecore,.brand-mattress-choice) :is(h2,p,.brand-eyebrow,.brand-model-card,.brand-accordion>summary){color:#242628!important}
html body.brand-site.page-id-511 #contenuto :is(#memory-impronte,#molle-tradizionali,.brand-navigation-cta) :is(h2,.brand-eyebrow,.brand-model-card,.brand-accordion>summary){color:#f5f1e9!important}
html body.brand-site.page-id-511 #contenuto :is(#memory-impronte,#molle-tradizionali,.brand-navigation-cta) p{color:#d4cfc6!important}
html body.brand-site.page-id-511 #contenuto #adaptivecore .brand-accordion{border-color:#bcb5aa!important}
html body.brand-site.page-id-511 #contenuto :is(#memory-impronte,#molle-tradizionali) .brand-accordion{border-color:#ffffff30!important}
html body.brand-site.page-id-511 #contenuto #adaptivecore a:not(.brand-model-card):not(.brand-button){color:#665039!important}
/* Keep action labels compact and unbroken at every breakpoint. */
html body.brand-site.brand-site .brand-button.brand-button,html body.brand-site.brand-site #contenuto .brand-button.brand-button{white-space:nowrap!important;min-height:44px!important;line-height:1.35!important;padding-top:10px!important;padding-bottom:10px!important;max-width:100%!important}
html body.brand-site.brand-site .brand-button.brand-button svg{flex-shrink:0!important}
@media(max-width:767px){
 html body.brand-site.page-id-510 #contenuto .brand-button.brand-button{font-size:14px!important;gap:9px!important;padding-inline:14px!important}
 html body.brand-site.page-id-510 #contenuto .brand-home-hero .brand-actions{display:flex!important;flex-wrap:wrap!important;gap:12px 16px!important}
 html body.brand-site.page-id-510 #contenuto .brand-home-hero .brand-actions .brand-button.brand-button{font-size:13px!important;flex:0 0 auto!important;width:auto!important;padding-inline:12px!important;gap:8px!important}
 html body.brand-site.page-id-510 #contenuto .brand-home-hero .brand-actions .brand-link{flex:0 0 auto!important;width:auto!important;white-space:nowrap!important}
 html body.brand-site.page-id-510 #contenuto .brand-material-section .brand-material-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
 html body.brand-site.page-id-510 #contenuto .brand-material-section .brand-material-tabs button{padding:5px 0 9px!important;min-height:74px!important}
 html body.brand-site.page-id-510 #contenuto .brand-material-section .brand-material-tabs img{width:100%!important;max-width:100%!important;height:64px!important}
}
