/* Shared storefront refinements. Original brand artwork stays in its own files. */
:root{--site-header-height:170px}
html{scroll-padding-top:calc(var(--site-header-height) + 20px)}
.site-header{position:sticky;top:0;z-index:60;background:#fff}
.site-header.is-compact{box-shadow:0 4px 18px #18365312}
.site-header.is-compact .header-main{min-height:66px;padding-block:10px}
.site-header.is-compact .logo img{width:158px;max-height:43px;object-fit:contain}
.site-header.is-compact .menu-toplink{padding-block:12px}
.site-header.is-compact .brand-navigation-inner{min-height:47px}
.site-header.is-compact .header-search{padding-bottom:12px}
.product-visuals{top:calc(var(--site-header-height) + 20px)}
/* These small decorative labels are kept editable, but removed from the storefront. */
body .eyebrow{display:none!important}
.home-service-bar a{padding-block:28px;gap:18px}
.home-service-bar span{font:600 16px/1.55 Poppins,sans-serif}
.home-service-bar small{font:500 0.875rem/1.6 'Open Sans',sans-serif;margin-top:5px}
.home-service-bar svg{width:34px;height:34px}
.home-departments{row-gap:32px}
.home-department>span:last-child{font-weight:600}
.home-logo-section{background:#fff;padding-block:42px}
.home-logo-section .section-heading{align-items:center;text-align:left;margin-bottom:30px}
.home-logo-section h2{font-size:28px;margin:0}
.home-brand-logos{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:28px 20px}
.home-brand-logos>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font:500 0.875rem/1.5 Poppins,sans-serif}
.home-brand-artwork{width:100%;max-width:140px;height:86px;border:1px solid var(--line);border-radius:8px;padding:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#fff}
.home-brand-artwork .catalog-brand-logo{width:100%;height:100%;object-fit:contain;transition:transform .2s}
.home-brand-logos>a:hover .catalog-brand-logo{transform:scale(1.06)}
.home-sizes{gap:16px}
.home-sizes>a{flex-direction:column;gap:12px;padding:24px 14px 18px;background:#fff}
.home-sizes .catalog-original-icon{width:92px;height:92px;object-fit:contain}
.home-sizes a>span{margin:0;color:var(--blue);font-size:18px;line-height:1}
.home-sizes strong{font:500 0.875rem/1.5 Poppins,sans-serif}
.home-comforts{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.home-comforts>a{text-align:center;padding:22px 12px;background:#f5f7fa;display:flex;flex-direction:column;align-items:center}
.home-comforts .catalog-original-icon{width:92px;height:92px;margin-bottom:16px}
.home-comforts h3{font-size:15px;line-height:1.5;margin-bottom:10px}
.home-comforts a>span{margin-top:auto}
.product-brand-link{display:inline-block;color:var(--blue);font:500 0.875rem/1.5 Poppins,sans-serif;margin-bottom:10px}
.comfort-scale{margin:12px 0 8px}
.comfort-score-dot{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--comfort-color,#86b8fb);color:#152d42;font-family:Poppins,sans-serif;font-variant-numeric:tabular-nums;vertical-align:middle}
.comfort-score-dot strong{font-size:16px;font-weight:600;line-height:1}
.comfort-score-dot small{font-size:0.875rem;line-height:1.2;margin-top:2px}
.comfort-scale-detail{margin-block:20px}
.comfort-scale-detail .comfort-score-dot{width:56px;height:56px}
.comfort-scale-detail .comfort-score-dot strong{font-size:19px}
.comfort-scale-detail .comfort-score-dot small{font-size:0.875rem}
.catalog-brand-hero{display:grid;grid-template-columns:1fr 1.12fr;gap:65px;align-items:center;padding-block:28px 65px}
.catalog-brand-copy{max-width:560px}
.catalog-brand-hero-text-only{grid-template-columns:minmax(0,1fr)}
.catalog-brand-hero-text-only .catalog-brand-copy{max-width:760px}
.catalog-brand-identity{display:flex;align-items:center;min-height:90px;margin-bottom:22px}
.catalog-brand-identity .catalog-brand-logo{width:180px;height:84px;padding:8px;object-fit:contain;background:#fff}
.catalog-brand-wordmark{font:600 25px/1.4 Poppins,sans-serif;color:var(--navy)}
.catalog-brand-copy h1{font-size:clamp(32px,3.4vw,48px);line-height:1.2;letter-spacing:-1.5px;margin-bottom:22px;color:var(--ink)}
.catalog-brand-copy p{font-size:14px;line-height:1.85;color:var(--muted);margin-bottom:28px}
.catalog-brand-description p:not(:last-child){margin-bottom:14px}
.catalog-brand-introduction{padding-block:36px;background:#fff;color:var(--ink)}
.catalog-brand-introduction-copy{max-width:85ch;margin-inline:auto}
.catalog-brand-introduction-copy p{font-size:14px;line-height:1.85;margin:0 0 14px}
.catalog-brand-introduction-copy p:last-child{margin-bottom:0}
.catalog-brand-copy .button{gap:28px;border-radius:0;font-size:0.875rem}
.catalog-brand-photo{background:#f5f7f9;min-width:0;overflow:hidden}
.catalog-brand-photo img{width:100%;height:auto;aspect-ratio:1.12;object-fit:cover;display:block}
.catalog-brand-collections{padding-block:55px 35px}
.catalog-brand-collections>.section-heading{margin-bottom:25px}
.catalog-brand-collections .section-heading h2{margin-bottom:0;color:var(--ink);font-size:28px}
.catalog-brand-collections .section-heading p{font-size:0.875rem;color:var(--muted);margin:12px 0 0}
.catalog-brand-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px;max-width:1100px;margin-block:30px 60px}
.catalog-brand-categories>a{display:flex;flex-direction:column;align-items:flex-start;gap:9px;font-size:0.875rem;min-width:0}
.catalog-category-image{display:block;width:100%;max-width:210px;aspect-ratio:1.3;background:#f4f6f8;overflow:hidden}
.catalog-category-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;padding:10px;transition:transform .2s}
.catalog-brand-categories>a:hover img{transform:scale(1.04)}
.catalog-brand-categories strong{font:500 14px/1.5 Poppins,sans-serif}
.catalog-brand-categories>a>span:last-child{font-size:0.875rem;color:var(--muted)}
.catalog-brand-group{margin-block:0 60px}
.catalog-brand-group>.section-heading{align-items:baseline;gap:20px;margin-bottom:25px}
.catalog-brand-group .text-link{font-size:0.875rem;white-space:nowrap}
.catalog-brand-lifestyle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;margin-block:40px}
.catalog-brand-lifestyle img{width:100%;height:auto;aspect-ratio:1.2;object-fit:cover}
.brand-directory>p{color:var(--muted);max-width:650px;margin-bottom:40px}
.brand-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.brand-directory-grid>a{border:1px solid var(--line);background:#fff;padding:28px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;min-height:220px}
.brand-directory-grid>a:hover{border-color:var(--blue)}
.brand-directory-grid .catalog-brand-logo{width:170px;max-width:100%;height:90px;padding:10px;object-fit:contain;background:#fff}
.brand-directory-grid h2{font-size:17px;letter-spacing:-.3px;margin:0}
.brand-directory-grid>a>span:last-child{font-size:0.875rem;color:var(--muted)}
/* Preserve the original private-label artwork while displaying its dark wordmark on white. */
.catalog-brand-logo.logo-reverse{filter:grayscale(1) invert(1) brightness(5);object-fit:cover;background:transparent}
@media(min-width:761px) and (max-width:1000px){
    .site-header .header-main{grid-template-columns:32px 1fr auto;min-height:88px;padding-block:15px}
    .site-header .mobile-menu{display:inline-flex}.header-left .store-locator{display:none}
    .site-header .logo img{width:190px}.site-header .header-actions{gap:13px}
    .site-header .main-nav{display:none}.site-header .main-nav.open{display:block;max-height:calc(100svh - 100px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:15px}
    .main-nav .menu-top{display:block}.menu-top>.menu-item{border-top:1px solid var(--line)}
    .menu-topline{justify-content:space-between}.menu-toplink{padding-block:15px;font-size:0.875rem}
    .menu-toggle{width:44px;height:44px;border:1px solid var(--line);margin:5px 0}
    .menu-topline:has(.menu-toggle[aria-expanded=true])::after{display:none}
    .menu-panel{position:static;border:0;box-shadow:none;max-height:60svh;background:#f7f9fc;border-radius:0;margin-bottom:12px}
    .menu-columns{grid-template-columns:repeat(3,minmax(0,1fr));padding:24px;gap:22px}
    .main-nav>.brand-navigation-inner{display:block;padding-block:0}
    .site-header .brand-back-link{display:block;padding-block:15px}
}
@media(max-width:1100px){
    .home-service-bar span{font-size:14px}.home-service-bar a{gap:12px}.home-service-bar small{font-size:0.875rem}
    .home-brand-logos{grid-template-columns:repeat(8,minmax(0,1fr));gap:25px 10px}.home-brand-artwork{height:78px;padding:10px}.home-brand-logos>a{font-size:0.875rem}
    .catalog-brand-hero{gap:35px}.catalog-brand-collections .section-heading h2{font-size:25px}
}
@media(max-width:850px){
    .home-brand-logos{grid-template-columns:repeat(4,minmax(0,1fr))}.home-brand-artwork{height:82px}
    .home-departments{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 20px}
    .home-service-bar span{font-size:0.875rem}.home-service-bar a{gap:10px;padding-inline:10px}.home-service-bar small{font-size:0.875rem}
    .home-service-bar svg{width:27px;height:27px}
    .home-sizes,.home-comforts{gap:10px}.home-sizes strong,.home-comforts h3{font-size:0.875rem}.home-sizes .catalog-original-icon,.home-comforts .catalog-original-icon{width:75px;height:75px}
    .brand-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
    :root{--site-header-height:88px}
    .site-header.is-compact .header-main{min-height:62px;padding-block:9px;gap:9px}
    .site-header.is-compact .logo img{width:142px;max-height:37px}
    .site-header .main-nav.open{max-height:calc(100svh - 100px);overflow-y:auto;overscroll-behavior:contain}
    .site-header.is-compact .menu-toplink{padding-block:15px}
    .product-visuals{position:static}
    .home-service-bar a{justify-content:flex-start;padding:19px 8px;gap:15px}
    .home-service-bar span{font-size:14px}.home-service-bar small{font-size:0.875rem}.home-service-bar svg{width:29px;height:29px}
    .home-departments{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 14px}.home-department{font-size:0.875rem}
    .home-logo-section{padding-block:32px}.home-logo-section .section-heading{display:block}.home-logo-section h2{font-size:24px;margin-bottom:14px}.home-logo-section .text-link{font-size:0.875rem}
    .home-brand-logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 12px}.home-brand-artwork{height:70px;padding:8px}.home-brand-logos>a{font-size:0.875rem;gap:9px}
    .home-sizes,.home-comforts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible}
    .home-sizes>a{min-width:0;padding:18px 10px}.home-sizes>a:last-child,.home-comforts>a:last-child{grid-column:1/-1;max-width:100%;flex-direction:row;justify-content:center;gap:15px}
    .home-sizes strong,.home-comforts h3{font-size:0.875rem}.home-sizes .catalog-original-icon,.home-comforts .catalog-original-icon{width:76px;height:76px}
    .home-sizes>a:last-child .catalog-original-icon{width:60px;height:60px}
    .home-comforts>a{padding:20px 10px}.home-comforts>a:last-child .catalog-original-icon{margin:0;width:60px;height:60px}.home-comforts>a:last-child h3{margin:0}.home-comforts>a:last-child>span{margin:0}
    .catalog-brand-hero{grid-template-columns:1fr;gap:30px;padding-block:10px 25px}.catalog-brand-copy h1{font-size:36px}.catalog-brand-copy p{font-size:0.875rem}.catalog-brand-identity{margin-bottom:18px;min-height:70px}.catalog-brand-identity .catalog-brand-logo{width:150px;height:72px}
    .catalog-brand-photo img{aspect-ratio:1.2}.catalog-brand-collections{padding-top:35px}
    .catalog-brand-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 15px;margin-bottom:45px}.catalog-brand-categories strong{font-size:0.875rem}.catalog-category-image{max-width:none}
    .catalog-brand-group{margin-bottom:45px}.catalog-brand-collections .section-heading h2{font-size:22px}.catalog-brand-group .text-link{font-size:0.875rem}
    .catalog-brand-lifestyle{gap:15px}.catalog-brand-lifestyle img{aspect-ratio:.85}
    .brand-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.brand-directory-grid>a{padding:20px 12px;min-height:190px}.brand-directory-grid .catalog-brand-logo{width:100%;height:80px}.brand-directory-grid h2{font-size:14px}.catalog-brand-wordmark{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.home-brand-artwork img,.catalog-category-image img{transition:none}}

.site-footer .footer-navigation .nav-level{padding:0;margin:0;list-style:none;text-align:left}
.sleep-position-shop{margin-bottom:35px}
.sleep-position-heading{margin-bottom:24px}
.sleep-position-heading h2{font-size:25px;margin-bottom:10px;color:var(--ink)}
.sleep-position-heading p{font-size:0.875rem;color:var(--muted);margin:0}
.sleep-position-category{padding-top:30px;margin-bottom:15px}
.sleep-position-category .sleep-position-heading h2{font-size:22px}
.sleep-position-brand{margin-bottom:55px}
.sleep-position-category-title{font-size:18px;margin-block:25px 18px}
.sleep-position-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sleep-position-card{display:flex;align-items:center;gap:24px;min-width:0;padding:24px;border:1px solid var(--line);background:#f7f9fc;color:var(--ink)}
.sleep-position-card:hover,.sleep-position-card.selected{border-color:var(--blue);background:#eff5fc}
.sleep-position-card.selected{box-shadow:inset 0 0 0 1px var(--blue)}
.sleep-position-card>img{width:110px;height:110px;object-fit:contain;flex-shrink:0;border-radius:12px}
.sleep-position-copy{display:flex;flex-direction:column;gap:8px;min-width:0}
.sleep-position-copy>strong{font:500 17px/1.5 Poppins,sans-serif;overflow-wrap:anywhere}
.sleep-position-count{font-size:0.875rem;color:var(--muted)}
.sleep-position-link{font-size:0.875rem;color:var(--blue);margin-top:3px}
.sleep-position-category .sleep-position-card{padding:18px;gap:18px}
.sleep-position-category .sleep-position-card>img{width:75px;height:75px}
.sleep-position-category .sleep-position-copy>strong{font-size:15px}
@media(max-width:1100px){.sleep-position-card{gap:16px;padding:20px}.sleep-position-card>img{width:85px;height:85px}.sleep-position-copy>strong{font-size:15px}.sleep-position-options{gap:16px}}
@media(min-width:521px) and (max-width:850px){.sleep-position-card,.sleep-position-category .sleep-position-card{flex-direction:column;align-items:flex-start;gap:16px}.sleep-position-link{font-size:0.875rem}}
@media(max-width:520px){.sleep-position-options{grid-template-columns:1fr;gap:13px}.sleep-position-card,.sleep-position-category .sleep-position-card{flex-direction:row;gap:20px;padding:17px 20px}.sleep-position-card>img,.sleep-position-category .sleep-position-card>img{width:78px;height:78px}.sleep-position-copy>strong,.sleep-position-category .sleep-position-copy>strong{font-size:16px}.sleep-position-heading h2{font-size:24px}.sleep-position-category .sleep-position-heading h2{font-size:21px}.sleep-position-shop{margin-bottom:20px}.sleep-position-brand{margin-bottom:40px}}

/* Blog recommendations share the article's white canvas and read as one list. */
.editorial-post .editorial-sidebar{min-width:0;padding-left:26px;border-left:1px solid var(--line)}
.editorial-post .editorial-sidebar-inner{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.editorial-post .editorial-sidebar h2{font-size:22px;line-height:1.4;margin:0 0 12px}
.editorial-post .editorial-aside-description{color:var(--muted);font-size:0.875rem;line-height:1.8;margin-bottom:0}
.editorial-post .editorial-products{grid-template-columns:1fr;gap:0;margin:24px 0}
.editorial-post .editorial-products .product-card{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;align-items:start;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;overflow:visible;padding:18px 0}
.editorial-post .editorial-products .product-card:first-child{padding-top:0}
.editorial-post .editorial-products .product-card:last-child{border-bottom:0;padding-bottom:0}
.editorial-post .editorial-products .product-image{width:80px;aspect-ratio:1;background:#f8f8f8;padding:0;border-radius:0}
.editorial-post .editorial-products .sale-badge,.editorial-post .editorial-products .comfort-scale{display:none}
.editorial-post .editorial-products .card-copy{padding:0;min-width:0}
.editorial-post .editorial-products .brand-name{font-size:0.875rem;letter-spacing:.5px;min-height:0;margin:0 0 4px}
.editorial-post .editorial-products h3{font-size:0.875rem;line-height:1.55;letter-spacing:0;margin:0 0 7px}
.editorial-post .editorial-products h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.editorial-post .editorial-products .card-price{gap:5px 8px;align-items:flex-end}
.editorial-post .editorial-products .card-price strong{font-size:15px;line-height:1.5}
.editorial-post .editorial-products .card-price small{font-size:0.875rem}
.editorial-post .editorial-products .card-price del{font-size:0.875rem;padding:0 0 2px}
.editorial-post .editorial-products .card-discover{font-size:0.875rem;margin-top:7px;gap:7px}
.editorial-post .editorial-sidebar .button{display:inline-flex;justify-content:flex-start;gap:10px;width:auto;max-width:100%;min-height:44px;padding:8px 0;background:transparent;border:0;border-radius:0;font-size:0.875rem;text-decoration:underline;text-underline-offset:4px;box-shadow:none}
.editorial-post .editorial-sidebar .button:hover{color:var(--blue);background:transparent}
@media(max-width:800px){.editorial-post .editorial-sidebar{padding:28px 0 0;border-left:0;border-top:1px solid var(--line)}.editorial-post .editorial-products .product-card{grid-template-columns:88px minmax(0,1fr);gap:20px}.editorial-post .editorial-products .product-image{width:88px}.editorial-post .editorial-products h3{font-size:14px}}

/* Make offers easy to spot, with extra emphasis on the product page. */
.product-card .sale-badge{font-size:0.875rem;font-weight:600;line-height:1.25;padding:6px 10px}
.product-page .gallery-promotion{font-size:0.875rem;font-weight:600;line-height:1.35;padding:7px 11px}
.product-page .product-price .saving{font-size:0.875rem;font-weight:600;line-height:1.3;padding:6px 8px}
.product-info .size-options .option-dimensions{font-size:0.875rem;line-height:1.5;white-space:nowrap}
@media(max-width:760px){
    .product-card .sale-badge{font-size:0.875rem;padding:6px 8px}
    .product-page .gallery-promotion{font-size:0.875rem;padding:6px 8px}
    .product-page .product-price .saving{font-size:0.875rem;padding:5px 8px}
}

/* Optional setup items and consistent color swatches on product pages. */
.setup-item>.setup-add{display:grid;place-items:center;flex-shrink:0;width:42px;min-width:42px;height:42px;padding:0;border:1px solid var(--blue);border-radius:50%;color:var(--blue);background:#fff;cursor:pointer}
.setup-add .shop-icon{width:20px;height:20px}
.setup-item>.setup-add:hover{background:#edf4fc}
.setup-item>.setup-add:disabled{opacity:.5;cursor:wait}
.product-info .color-options .option-buttons{align-items:flex-start;gap:14px}
.product-info .color-option .option-label{max-width:80px;text-align:center;font-size:0.875rem;line-height:1.5}
.product-page .product-details{margin-top:40px;border-top:1px solid var(--line)}
.choose-assistant[data-chooser-paused]{display:none!important}

/* Original mattress type/comfort artwork, with recorded height beside comfort. */
.category-title-with-icons{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.category-title-with-icons h1{margin:0;flex:1 1 230px;min-width:0}
.mattress-category-icon{display:inline-flex;width:76px;height:76px;flex:0 0 76px}
.mattress-category-icon .catalog-original-icon{display:block;width:100%;height:100%;object-fit:contain}
.mattress-badges{display:grid;grid-template-columns:repeat(var(--mattress-badge-columns,3),minmax(0,1fr));align-items:start;gap:12px 6px;margin:16px 0 12px;padding-top:14px;border-top:1px solid var(--line)}
.mattress-badge{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center}
.mattress-badge-visual{display:flex;justify-content:center;align-items:center;width:100%;height:40px;margin-bottom:8px}
.mattress-badge-visual>img{display:block;width:40px;max-width:100%;height:40px;object-fit:contain}
.mattress-card-comfort{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;max-width:100%;border-radius:50%;background:var(--comfort-color,#eef2f6);color:#102030;font:600 16px/1 Poppins,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.mattress-card-comfort strong{font:inherit}
.mattress-badge-label{width:100%;font:500 0.875rem/1.4 Poppins,sans-serif;overflow-wrap:anywhere;hyphens:auto;color:var(--ink)}
.mattress-badge-caption{font-size:0.875rem;line-height:1.5;color:var(--muted);margin-top:2px}
.mattress-badges-detail{gap:18px;margin-block:22px;padding-block:18px;border-bottom:1px solid var(--line)}
.mattress-badges-detail .mattress-badge-visual{height:56px}
.mattress-badges-detail .mattress-badge-visual>img{width:56px;height:56px}
.mattress-badges-detail .mattress-badge-label{font-size:0.875rem}
.mattress-badges-detail .mattress-badge-caption{font-size:0.875rem}

/* A light receipt-style summary, with the blue reserved for its action. */
.cart-page .checkout-card{padding:28px;background:#f7f9fc;border:1px solid #dce5ee;border-radius:10px;box-shadow:0 8px 28px rgb(24 54 83 / 5%);color:#183653}
.cart-page .checkout-card h2{margin:0 0 20px;color:#183653;font-size:21px;font-weight:600;letter-spacing:-.3px}
.cart-page .checkout-card [data-cart-page-summary]{margin-bottom:18px;border-top:1px solid #dce5ee}
.cart-page .checkout-card .subtotal-row{margin:0;padding:15px 0;border-bottom:1px solid #dce5ee;font-size:14px}
.cart-page .checkout-card .subtotal-row strong{color:#183653;font-size:18px;font-weight:600;white-space:nowrap}
.cart-page .checkout-card .muted{color:#596a7d;font-size:0.875rem;line-height:1.7}
.cart-page .checkout-card .small{font-size:0.875rem}
.cart-page .checkout-card>[data-checkout]{margin:4px 0 14px;background:#245792;border-color:#245792;color:#fff;border-radius:6px;font-size:0.875rem;font-weight:600;letter-spacing:.5px}
.cart-page .checkout-card>[data-checkout]:hover{background:#183653;border-color:#183653}
.cart-page .checkout-card>[data-checkout]:disabled{background:#e5ebf1;border-color:#e5ebf1;color:#596a7d;opacity:1}
.cart-page .checkout-card>[data-checkout-error]{color:#a01d30;font-size:0.875rem;line-height:1.6}
.cart-page .checkout-card>[data-checkout-error]:empty{display:none}
.cart-page .checkout-card>.text-link{display:inline-flex;font-size:0.875rem;font-weight:500}
/* A small readability increase, scoped to the main menu and its dropdowns. */
.site-header .main-nav .menu-toplink{font-size:0.875rem}
.site-header .main-nav .menu-heading{font-size:0.875rem}
.site-header .main-nav .menu-links a,.site-header .main-nav .menu-subheading{font-size:14px}
.site-header .main-nav .menu-panel-bottom a{font-size:0.875rem}
@media(min-width:1001px) and (max-width:1100px){.site-header .main-nav .menu-toplink{font-size:0.875rem}}
@media(max-width:1050px){.site-header .main-nav .menu-links a{font-size:0.875rem}}
@media(min-width:761px) and (max-width:1000px){.site-header .main-nav .menu-toplink{font-size:14px}}
@media(max-width:760px){
    .cart-page .checkout-card{padding:22px}
    .site-header .main-nav .menu-toplink{font-size:0.875rem}
    .site-header .main-nav .menu-heading{font-size:0.875rem}
    .site-header .main-nav .menu-panel-bottom a{font-size:0.875rem}
    .category-title-with-icons{gap:12px}
    .mattress-category-icon{width:58px;height:58px;flex-basis:58px}
    .mattress-badges{gap:10px 4px}
    .mattress-card-comfort{font-size:14px}
    .mattress-badges-detail{gap:12px}
}

/* Monetary savings beside prices; percentage promotions stay on the product image. */
.price-savings{display:inline-block;white-space:nowrap;line-height:1.4;font-weight:600}
.product-card .card-price .price-savings{font-size:0.875rem;padding:4px 7px;border-radius:3px}
.cart-line-price{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 10px;max-width:100%;margin-left:auto}
.cart-line-price>strong{margin-left:0}
.cart-line-price>del{color:#7c828a;font-size:0.875rem;font-weight:400}
.cart-line-price .price-savings{font-size:0.875rem;padding:4px 7px}
@media(max-width:760px){.product-card .card-price .price-savings{font-size:0.875rem;padding:3px 6px}.cart-line-price{gap:5px 8px}.cart-line-price>del{font-size:0.875rem}.cart-line-price .price-savings{font-size:0.875rem;padding:3px 6px}}

/* Coupon controls are shared by the cart page and drawer. */
.cart-coupons{margin:22px 0;padding:19px 0;border-top:1px solid #dce5ee;border-bottom:1px solid #dce5ee;color:#183653}
.cart-coupons form>label,.cart-coupons .coupon-email>label{display:block;font-size:0.875rem;font-weight:600;margin-bottom:8px}
.coupon-input-row{display:flex;gap:9px;align-items:stretch}.coupon-input-row input{flex:1;min-width:0;width:100%;padding:10px 12px;border:1px solid #cbd8e6;border-radius:5px;font-size:0.875rem;background:#fff;color:#183653}.coupon-input-row .button{flex:0 0 auto;min-height:42px;margin:0;padding:9px 13px;font-size:0.875rem;letter-spacing:0}
.coupon-email{margin-top:12px;font-size:0.875rem}.coupon-email summary{cursor:pointer;color:#486786;text-decoration:underline;text-underline-offset:3px}.coupon-email[open] summary{margin-bottom:12px}.coupon-email input{width:100%;padding:10px;border:1px solid #cbd8e6;border-radius:5px;background:#fff;font-size:0.875rem}.coupon-email p{font-size:0.875rem;line-height:1.7;color:#657688;margin:7px 0 0}
.applied-coupons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.coupon-chip{display:inline-flex;align-items:center;gap:10px;border:1px solid #cbded2;border-radius:5px;background:#eff7f1;color:#285f43;padding:6px 9px;font:500 0.875rem/1.5 Poppins,sans-serif;cursor:pointer}.coupon-chip span{text-transform:uppercase;overflow-wrap:anywhere}.coupon-feedback{font-size:0.875rem;line-height:1.7;color:#286b4e;margin:8px 0 0}.coupon-feedback:empty{display:none}.coupon-feedback.error{color:#a12e3f}.coupon-cart-saving{color:#286b4e}.coupon-cart-saving>span{min-width:0;overflow-wrap:anywhere}.coupon-cart-saving strong{flex-shrink:0}.cart-gift-label{display:inline-block;color:#286b4e;background:#edf6f0;border-radius:4px;padding:5px 9px;font-size:0.875rem;font-weight:600}.cart-gift .cart-line-price>strong{color:#286b4e}
@media(max-width:760px){.cart-coupons{padding:16px 0}.coupon-input-row{gap:7px}.coupon-input-row .button{padding:9px 11px}.coupon-input-row input{font-size:0.875rem}}

/* Product-card features use text pills; the comfort name keeps its recorded color. */
.product-card .card-feature-pills{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;margin:14px 0 10px;padding:0;border:0}
.product-card .card-feature-pill{display:inline-flex;align-items:center;max-width:100%;min-width:0;padding:5px 10px;border:1px solid #e0e6ed;border-radius:999px;background:#f3f6f9;color:#243b50;font:500 .625rem/1.4 Poppins,sans-serif;overflow-wrap:anywhere}
.product-card .card-feature-pill-comfort{background:var(--comfort-color,#eef2f6);border-color:transparent;color:#102030}
@media(max-width:760px){.product-card .card-feature-pills{gap:5px;margin:11px 0 8px}.product-card .card-feature-pill{padding:4px 8px;font-size:.625rem}}

/* Category cards keep brand, pricing and product facts in consistent positions. */
.product-card-catalog{--card-inset:18px;display:flex;flex-direction:column;padding:0;border:1px solid #e0e6e9;border-radius:22px;background:#fff}
.product-card-catalog .product-image{display:flex;flex-direction:column;aspect-ratio:auto;margin:var(--card-inset) var(--card-inset) 0;padding:0;border-radius:21px 21px 15px 15px;background:#f8f8f8}
/* The white sale notch covers this corner; a second rounded clip leaves a hairline. */
.product-card-catalog .product-image:has(.sale-badge){border-top-right-radius:0}
.product-card-catalog .product-image:focus-visible{outline-offset:-3px}
.product-card-catalog .card-photo{display:block;flex:0 0 auto;aspect-ratio:1;min-height:0;padding:0;background:#f8f8f8}
.product-card-catalog .card-photo img{width:100%;height:100%;object-fit:cover}
.product-card-catalog .sale-badge{--card-notch-radius:20px;--card-badge-background:#fff;top:0;right:0;left:auto;z-index:1;min-width:100px;padding:14px 14px 18px 22px;border-radius:0 0 0 var(--card-notch-radius);background:var(--card-badge-background);color:#d95060;text-align:right;font:600 22px/1.1 Poppins,sans-serif;pointer-events:none}
.product-card-catalog .sale-badge::before,.product-card-catalog .sale-badge::after{content:"";position:absolute;width:var(--card-notch-radius);height:var(--card-notch-radius);background:radial-gradient(circle var(--card-notch-radius) at 0 100%,transparent calc(var(--card-notch-radius) - 1px),var(--card-badge-background) var(--card-notch-radius))}
.product-card-catalog .sale-badge::before{top:0;left:calc(-1 * var(--card-notch-radius))}
.product-card-catalog .sale-badge::after{right:0;bottom:calc(-1 * var(--card-notch-radius))}
.product-card-catalog .card-brand-band{display:flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;background:#245792;color:#fff;text-align:center;font:500 0.875rem/1.4 Poppins,sans-serif;overflow-wrap:anywhere}
.product-card-catalog .card-copy{display:flex;flex:1;flex-direction:column;min-width:0;padding:18px var(--card-inset) 16px}
.product-card-catalog h3{margin:0 0 12px;font-size:17px;font-weight:600;line-height:1.45;letter-spacing:-.35px}
.product-card-catalog .card-price{flex-direction:column;align-items:stretch;gap:2px}
.product-card-catalog .card-price-reference{color:var(--muted);font-size:0.875rem;line-height:1.6}
.product-card-catalog .card-price-reference small{display:inline;font:inherit;color:inherit}
.product-card-catalog .card-price del{padding:0;font-size:inherit;white-space:nowrap}
.product-card-catalog .card-price-current{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0}
.product-card-catalog .card-price strong{color:#182226;font-size:21px;font-weight:600;line-height:1.4}
.product-card-catalog .card-price strong.sale-price{color:var(--red)}
.product-card-catalog .card-price .price-savings{width:auto;margin:0;padding:0;background:transparent;color:#a81f31;font-size:0.875rem}
.product-card-catalog .card-feature-pills{gap:6px;margin:16px 0 12px}
.product-card-catalog .card-feature-pill{gap:6px;padding:6px 10px;border-color:transparent;background:#e1e9ed;color:#243b50;font-size:.625rem;line-height:16px}
.product-card-catalog .card-feature-pill .shop-icon{width:16px;height:16px}
/* Keep origin silhouettes square and aligned with the other feature icons. */
.product-card-catalog .card-feature-pill[data-origin-icon] .origin-icon{display:block;width:16px;height:16px;min-width:16px;max-width:none;flex:0 0 16px;object-fit:contain}
.product-card-catalog .card-feature-pill-comfort{background:var(--comfort-color,#e1e9ed);color:#102030}
.product-card-catalog .card-options{margin:0 0 16px;font-size:0.875rem}
.product-card-catalog .card-discover{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;margin-top:auto;padding-top:13px;border-top:1px solid #dfe5e9;font-size:0.875rem;color:#183653}
.product-card-catalog .card-discover>span{font-size:22px;line-height:1}
@media(max-width:760px){
  .product-card-catalog{--card-inset:11px;border-radius:17px}
  .product-card-catalog .product-image{border-radius:16px 16px 11px 11px}
  .product-card-catalog .sale-badge{--card-notch-radius:15px;min-width:74px;padding:10px 10px 13px 17px;font-size:18px}
  .product-card-catalog .card-brand-band{min-height:29px;padding:6px 8px;font-size:0.875rem}
  .product-card-catalog .card-copy{padding:13px var(--card-inset) 10px}
  .product-card-catalog h3{font-size:0.875rem;line-height:1.5;letter-spacing:-.15px}
  .product-card-catalog .card-price-reference{font-size:0.875rem}
  .product-card-catalog .card-price-current{column-gap:7px}
  .product-card-catalog .card-price strong{font-size:17px}
  .product-card-catalog .card-price .price-savings{font-size:0.875rem}
  .product-card-catalog .card-feature-pills{gap:5px;margin:12px 0 10px}
  .product-card-catalog .card-feature-pill{gap:5px;padding:5px 7px;font-size:.625rem;line-height:14px}
  .product-card-catalog .card-feature-pill .shop-icon{width:14px;height:14px}
  .product-card-catalog .card-feature-pill[data-origin-icon] .origin-icon{width:14px;height:14px;min-width:14px;flex-basis:14px}
  .product-card-catalog .card-options,.product-card-catalog .card-discover{font-size:0.875rem}
}

/* Card photo controls stay inside the photo, clear of the brand and offer. */
.product-card-catalog [data-card-carousel] .card-photo{position:relative}
.product-card-catalog .card-gallery-track{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom}
.product-card-catalog .card-gallery-track::-webkit-scrollbar{display:none}
.product-card-catalog .card-gallery-slide{display:block;flex:0 0 100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always}
.product-card-catalog .card-gallery-slide:focus-visible{outline-offset:-3px}
.product-card-catalog [data-card-carousel]:not([data-card-carousel-ready]) .card-gallery-slide:not(:first-child){display:none}
.product-card-catalog .card-gallery-arrow{position:absolute;top:auto;bottom:0;z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#183653;box-shadow:none;transform:none;cursor:pointer}
.product-card-catalog .card-gallery-arrow:hover:not(:disabled){background:transparent;color:#245792}
.product-card-catalog .card-gallery-arrow:disabled{opacity:.35;cursor:default}
.product-card-catalog .card-gallery-arrow .shop-icon{width:20px;height:20px}
.product-card-catalog .card-gallery-previous{left:0}
.product-card-catalog .card-gallery-previous .shop-icon{transform:rotate(180deg)}
.product-card-catalog .card-gallery-next{right:0}
.product-card-catalog .card-gallery-arrow[hidden]{display:none}
@media(max-width:760px){
  .product-card-catalog .card-gallery-arrow{width:44px;height:44px}
  .product-card-catalog .card-gallery-arrow .shop-icon{width:20px;height:20px}
  .product-card-catalog .card-gallery-previous{left:0}
  .product-card-catalog .card-gallery-next{right:0}
}

/* The homepage's compact brand tiles use the existing logos in white. */
.home-logo-section .section-heading{margin-bottom:18px}
.home-logo-section .home-brand-logos{--brands-visible:8;--home-brand-radius:20px;display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x proximity}
.home-logo-section .home-brand-logos>a{display:block;flex:0 0 calc((100% - 42px)/8);min-width:0;border-radius:var(--home-brand-radius);scroll-snap-align:start}
.home-logo-section .home-brand-artwork{width:100%;max-width:none;height:auto;aspect-ratio:2.55;padding:12px 9px;border:0;border-radius:20px;background:#245792}
.home-logo-section .home-brand-artwork .catalog-brand-logo{width:100%;height:100%;object-fit:contain;background:transparent;filter:brightness(0) invert(1)}
.home-logo-section .home-brand-artwork .logo-reverse{object-fit:cover;filter:grayscale(1) brightness(.55) contrast(20);mix-blend-mode:screen}
.home-logo-section .home-brand-artwork img[src$=".jpg"]{filter:grayscale(1) invert(1) brightness(3);mix-blend-mode:screen}
.home-logo-section .home-brand-artwork img:is([src^="/media/"],[src^="/demo2/media/"])[src$=".svg"]{object-fit:contain;filter:none;mix-blend-mode:normal}
.home-logo-section .home-brand-artwork .catalog-brand-wordmark{color:#fff}
@media(max-width:1000px){.home-logo-section .home-brand-logos{--brands-visible:6}.home-logo-section .home-brand-logos>a{flex-basis:calc((100% - 30px)/6)}}
@media(max-width:760px){.home-logo-section .home-brand-logos{--brands-visible:3}.home-logo-section .home-brand-logos>a{flex-basis:calc((100% - 12px)/3)}}
@media(max-width:480px){.home-logo-section .home-brand-artwork{padding:10px 8px}}
.home-brand-ribbon{position:relative;width:var(--home-brand-page-width,100vw);margin-inline:calc((100% - var(--home-brand-page-width,100vw))/2);min-width:0;isolation:isolate;border-radius:4px}
.home-brand-ribbon::before,.home-brand-ribbon::after{content:"";position:absolute;inset-block:0;width:clamp(18px,3vw,42px);z-index:2;pointer-events:none;background:linear-gradient(90deg,#102e4252,#102e4214 45%,#102e4200)}
.home-brand-ribbon::before{left:0;border-radius:4px 0 0 4px}
.home-brand-ribbon::after{right:0;transform:rotate(180deg);border-radius:4px 0 0 4px}
.home-brand-marquee{min-width:0;overflow:hidden;overflow:clip;border-radius:4px;cursor:grab;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}
.home-brand-marquee.is-dragging,.home-brand-marquee.is-dragging a{cursor:grabbing}
.home-brand-marquee img{-webkit-user-drag:none}
.home-brand-marquee-track{display:flex;width:max-content;animation:home-brands-scroll var(--home-brands-duration,90s) linear infinite;animation-play-state:paused;will-change:transform}
.home-brand-marquee .home-brand-logos{position:relative;flex:none;width:max-content;overflow:visible;padding-right:6px;scroll-snap-type:none}
.home-brand-marquee .home-brand-logos>a{flex:0 0 var(--home-brand-width);width:var(--home-brand-width)}
.home-brand-marquee-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.home-brand-marquee-toggle{min-height:44px;min-width:44px;padding:8px 10px;border:1px solid #c8d6e5;border-radius:5px;color:#245792;font-size:.8125rem;background:#fff}
.home-brand-marquee.is-reduced-motion{overflow-x:auto;overflow-y:hidden;touch-action:auto}
.home-brand-marquee.is-reduced-motion .home-brand-marquee-track{animation:none;transform:none;will-change:auto}
.home-brand-marquee.is-reduced-motion [data-brand-marquee-copy]{display:none}
@keyframes home-brands-scroll{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.home-brand-marquee-track{animation:none;will-change:auto}}
@media(max-width:760px){.home-brand-marquee-actions{gap:8px}.home-logo-section .section-heading{flex-wrap:wrap;gap:12px}.home-brand-marquee-actions .text-link{max-width:none;text-align:left}}

.product-card-catalog .card-gallery-slide{cursor:grab;user-select:none;-webkit-user-select:none}
.product-card-catalog .is-dragging .card-gallery-track{scroll-snap-type:none}
.product-card-catalog .is-dragging .card-gallery-slide{cursor:grabbing}
/* Sizes are mutually exclusive; other facets retain their multi-select controls. */
.filter-group[data-filter-field="size"] .check-box{border-radius:50%}

/* Combined editorial copy uses the full category header width. */
.category-heading>.category-description-top{flex:1;min-width:0;width:100%;max-width:none}
.category-heading .category-copy{max-width:none;margin-top:18px;overflow-wrap:anywhere}
.category-heading .category-copy p{max-width:none;font-size:16px;line-height:1.8;margin:0 0 16px;color:var(--muted,#52677e)}
.category-heading .category-copy>p:first-child{font-size:17px;color:var(--navy,#193653)}
.category-heading .category-copy h2,.category-heading .category-copy h3,.category-heading .category-copy h4{margin:26px 0 12px;line-height:1.35}
.category-heading .category-copy h2{font-size:24px}.category-heading .category-copy h3{font-size:20px}
.category-heading .category-copy ul,.category-heading .category-copy ol{padding-left:24px;margin:12px 0 20px;font-size:16px;line-height:1.8}
.category-heading .category-copy li+li{margin-top:6px}
.category-heading .category-copy a{text-underline-offset:3px}.category-heading .category-copy strong{font-weight:600}
.category-heading .category-copy>:last-child{margin-bottom:0}
@media(max-width:720px){.category-heading .category-copy>p:first-child{font-size:16px}.category-heading .category-copy h2{font-size:22px}}
.category-copy-disclosure{position:relative;margin-top:18px;border:0}
.category-copy-disclosure>summary{display:block;list-style:none;cursor:pointer;padding:0;font-weight:400}
.category-copy-disclosure>summary::-webkit-details-marker{display:none}
.category-copy-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;font:400 16px/1.8 'Open Sans',sans-serif;color:var(--muted,#52677e);max-width:none}
.category-copy-expand,.category-copy-collapse{align-items:center;gap:8px;min-height:44px;width:max-content;font:500 14px/1.5 Poppins,sans-serif;color:var(--blue,#245792)}
.category-copy-expand{display:flex;margin-top:4px}.category-copy-collapse{display:none}
.category-copy-disclosure[open] .category-copy-preview,.category-copy-disclosure[open] .category-copy-expand{display:none}
.category-copy-disclosure[open] .category-copy-collapse{display:flex}
.category-copy-disclosure[open] .category-copy{margin-top:8px}
.category-copy-disclosure[open]{padding-bottom:56px}
.category-copy-disclosure[open]>summary{position:absolute;bottom:0;left:0;right:0}
