/* The footer control is shared by storefront, private admin and checkout pages. */
:root{color-scheme:light}
.appearance-footer{background:#1d5698;color:#e4effb;padding:22px 24px;font:400 .8125rem/1.5 'Open Sans',system-ui,sans-serif}
.appearance-inner{display:flex;align-items:center;justify-content:flex-end;gap:14px;max-width:1320px;margin-inline:auto}
.appearance-options{display:inline-flex;gap:3px;padding:3px;border:1px solid #ffffff65;border-radius:999px}
.appearance-options>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;width:auto;margin:0;padding:8px 12px;border:0;border-radius:999px;background:transparent;color:inherit;font:inherit;line-height:1.4;cursor:pointer;white-space:nowrap}
.appearance-options>button svg{width:17px;height:17px;flex-shrink:0}
.appearance-options>button[aria-pressed=true]{background:#e3effc;color:#143657}
.appearance-options>button:hover:not([aria-pressed=true]){background:#ffffff18}
.appearance-options>button:focus-visible{outline:2px solid currentColor;outline-offset:3px;box-shadow:none}
.appearance-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.appearance-footer:is([data-appearance-context=admin],[data-appearance-context=login],[data-appearance-context=checkout]){background:#f3f6fa;color:#183653}
.appearance-footer:not([data-appearance-context=storefront]) .appearance-options{border-color:#71879e}
.appearance-footer:not([data-appearance-context=storefront]) .appearance-options>button[aria-pressed=true]{background:#245792;color:#fff}
.appearance-footer:not([data-appearance-context=storefront]) .appearance-options>button:hover:not([aria-pressed=true]){background:#e0eaf5}
.appearance-footer[data-appearance-context=admin]{margin-left:225px;padding-inline:38px}
.appearance-footer:is([data-appearance-context=login],[data-appearance-context=checkout]) .appearance-inner{justify-content:center}
.appearance-footer[data-appearance-context=login]{background:transparent;width:100%;padding:0}
body:has(>.appearance-footer[data-appearance-context=login]){grid-template-rows:1fr auto;gap:24px}

/* The real reverse logo follows the chosen theme, including on the admin sign-in page. */
:is(.site-header .logo,.admin-brand,.login,.site-footer .footer-brand,.affirm-header) img[data-theme-logo=dark]{display:none}
html[data-color-scheme=dark] :is(.site-header .logo,.admin-brand,.login,.site-footer .footer-brand,.affirm-header) img[data-theme-logo=light]{display:none}
html[data-color-scheme=dark] :is(.site-header .logo,.admin-brand,.login,.site-footer .footer-brand,.affirm-header) img[data-theme-logo=dark]{display:block;filter:none;mix-blend-mode:normal}

/* Only dark mode changes the established storefront palette. Photos and artwork retain their colors. */
html[data-color-scheme=dark]{color-scheme:dark;--appearance-bg:#101923;--appearance-surface:#182532;--appearance-raised:#213345;--appearance-hover:#2b4156;--appearance-text:#e3edf7;--appearance-muted:#acbdcd;--appearance-line:#3b5065;--appearance-accent:#abd0fa;--appearance-accent-ink:#102b45;--appearance-sale:#ff9eac;--blue:#abd0fa;--navy:#e3edf7;--ink:#e3edf7;--muted:#acbdcd;--line:#3b5065;--border:#3b5065;--bg:#101923;--white:#182532;--sky:#213345;--soft:#182532;--red:#ff9eac;--a11y-focus:#b8d9ff;--affirm-blue:#abd0fa;--affirm-ink:#e3edf7;--affirm-muted:#acbdcd;--affirm-line:#3b5065;background:var(--appearance-bg)}
html[data-color-scheme=dark] body{background:var(--appearance-bg);color:var(--appearance-text)}
html[data-color-scheme=dark] body[data-a11y-admin]{--muted:var(--appearance-muted)}
html[data-color-scheme=dark] :is(.muted,.filter-option small,.specs dd,.store-finder-heading>p,.store-result-count,.store-card p,.store-card-contact,.stats-row span,.page-heading p){color:var(--appearance-muted)}
html[data-color-scheme=dark] .cart-code-section label{color:var(--appearance-text)}
html[data-color-scheme=dark] .sale-filter{background:#362b2e;border-color:#8a5d66;color:#ffd2d8}
html[data-color-scheme=dark] .sale-filter-copy small{color:#e8bac2}
html[data-color-scheme=dark] .sale-filter-icon{background:#573843;color:#ffd2d8}
html[data-color-scheme=dark] .sale-filter:hover,html[data-color-scheme=dark] .sale-filter.is-active{background:#46313a;border-color:#ca939e}
html[data-color-scheme=dark] :is(.story-split>article,.journal-more,.store-story){background:var(--appearance-surface)}
html[data-color-scheme=dark] :is(.story-split p,.store-finder-heading p,.editorial-end,.admin-footer){color:var(--appearance-muted)}
html[data-color-scheme=dark] .editorial-end span{color:var(--appearance-muted)}
html[data-color-scheme=dark] :is(.category-description summary,.store-highlights){color:var(--appearance-accent)}
html[data-color-scheme=dark] .category-description .prose{color:var(--appearance-muted)}
html[data-color-scheme=dark] :is(.product-card .card-discover,.store-card-link){color:var(--appearance-accent);border-color:var(--appearance-line)}
html[data-color-scheme=dark] .product-card .card-price strong:not(.sale-price){color:var(--appearance-text)}
html[data-color-scheme=dark] :is(.site-header,.header-main,.main-nav,.menu-panel,.cart-drawer,.product-lightbox,.cookie-banner,.cookie-dialog,.cookie-close,.affirm-header,.affirm-panel,.admin-sidebar,.admin-top,.panel,.stats-row,.save-bar,.editor-actions,.record-card,.login){background:var(--appearance-surface);color:var(--appearance-text);border-color:var(--appearance-line)}
html[data-color-scheme=dark] :is(.site-header.is-compact,.menu-panel,.cart-drawer,.cookie-dialog){box-shadow:0 12px 38px #0005}
html[data-color-scheme=dark] .site-header .logo img{filter:grayscale(1) contrast(5) invert(1);mix-blend-mode:screen}
html[data-color-scheme=dark] :is(.site-header,.main-nav,.home-service-bar,.home-service-bar a,.footer-grid,.catalog-toolbar,.filter-group,.accordions details,.specs>div,.cart-line,.cart-code-section,.store-hours,.store-card,.brand-directory-card,.journal-card,.editorial-body td,.editorial-body th,.affirm-summary li,.affirm-total,.admin-footer,td){border-color:var(--appearance-line)}
html[data-color-scheme=dark] :is(.announcement,.private-bar){background:#203b58;color:#e0efff}
html[data-color-scheme=dark] :is(.menu-links a,.menu-subheading,.menu-heading,.header-actions,.store-locator,.menu-toplink,.home-store-name,.home-store-name svg,.breadcrumbs,.breadcrumbs a){color:var(--appearance-text)}
html[data-color-scheme=dark] :is(.menu-links a:hover,.menu-links a:focus-visible,.home-store-name:hover,.home-store-name:focus-visible,.home-store-name.is-current){color:var(--appearance-accent)}
html[data-color-scheme=dark] :is(.menu-panel-bottom,.home-store-name:hover,.home-store-name:focus-visible,.home-store-name.is-current,.home-service-bar,.home-comforts>a,.home-sizes>a,.home-mosaic-surface,.home-shop-group,.home-mosaic-product,.home-shop-group-beds,.home-journal,.journal-heading,.editorial-hero,.help-strip,.home-local,.home-spotlight .spotlight-copy,.brand-section,.brand-subnav){background:var(--appearance-surface)}
html[data-color-scheme=dark] :is(.home-logo-section,.catalog-brand-introduction){background:var(--appearance-bg)}
html[data-color-scheme=dark] :is(.home-section-heading p,.home-shop-heading>p,.home-mosaic-product .home-mosaic-copy p,.home-group-heading p,.home-comforts p,.spotlight-copy p,.home-local p,.journal-intro,.journal-results,.journal-card-copy>p:not(.journal-meta),.journal-meta,.product-summary,.product-price-reference,.card-price-reference,.card-category,.card-feature,.card-options,.sku,.prose,.editorial-body,.editorial-post .editorial-body,.editorial-body figcaption,.editorial-post .editorial-body figcaption,.editorial-post .editorial-body .blog-section-heading>p,.store-story .prose,.store-contact-panel>p,.store-contact-panel address,.store-hours td,.store-information p,.store-map-placeholder p,.product-help p,.gallery-controls,.gallery-caption,.checkout-financing-separator,.checkout-financing-note,.checkout-provider small,.cart-credit-note,.affirm-privacy,.affirm-small,.affirm-country,.cookie-category p,.cookie-category-description,.cookie-dialog .cookie-provider-note,.hint,.review-notes,.workspace-label,.table-product small,.login>p){color:var(--appearance-muted)}
html[data-color-scheme=dark] :is(.product-card h3,.home-row-heading h2,.catalog-brand-copy h1,.catalog-brand-collections h2,.product-description h2,.product-description h3,.editorial-body h2,.editorial-body h3,.editorial-post .editorial-body .blog-choice-title,.blog-product-sidebar>h2,.store-contact-panel h2,.store-card h3,.cart-code-section>summary,.affirm-panel h2,.affirm-heading h1){color:var(--appearance-text)}
html[data-color-scheme=dark] :is(.product-card,.product-card-catalog,.journal-card,.store-card,.store-contact-panel,.store-information,.catalog-brand-card,.brand-directory-card,.blog-choice-card,.setup-panel,.product-help,.checkout-card,.checkout-provider,.cookie-policy-notice){background:var(--appearance-surface);border-color:var(--appearance-line);color:var(--appearance-text)}
html[data-color-scheme=dark] :is(.product-card-catalog .card-price>strong,.product-price>strong:not(.sale-price),.cart-line-price strong:not(.sale-price)){color:var(--appearance-text)}
html[data-color-scheme=dark] :is(.card-price del,.product-price del,.cart-line-price del){color:var(--appearance-muted)!important}
html[data-color-scheme=dark] :is(.product-card .sale-price,.product-card-catalog .card-price>strong.sale-price,.product-price>strong.sale-price,.cart-line-price .sale-price,.cart-line-price .price-saving){color:var(--appearance-sale)}
html[data-color-scheme=dark] .product-card-catalog .sale-badge{background:var(--appearance-surface);color:var(--appearance-sale)!important}
html[data-color-scheme=dark] .product-card .card-feature-pill:not(.card-feature-pill-comfort){background:#2c4151;color:#e0eaf2;border-color:transparent}
html[data-color-scheme=dark] .product-card .origin-icon{filter:brightness(0) invert(1);opacity:.9}
html[data-color-scheme=dark] :is(.card-feature-pill-comfort,.comfort-score-dot){color:#0b1b2b}
html[data-color-scheme=dark] :is(.card-color-swatch,.product-info .color-option){color:var(--appearance-text)}
html[data-color-scheme=dark] :is(.card-color-swatch[aria-current=true],.card-color-swatch:hover,.gallery-thumbs button.active){border-color:var(--appearance-accent)}
html[data-color-scheme=dark] .card-color-sample{border-color:#ffffff80}
html[data-color-scheme=dark] :is(.product-page .gallery-stage,.product-page .gallery-thumbs button,.product-card .product-image,.catalog-category-image,.department-image,.category-picture){background:#f8f8f8}
html[data-color-scheme=dark] :is(.gallery-controls,.gallery-caption,.product-description,.description-reader,.description-content){background:var(--appearance-bg)}
html[data-color-scheme=dark] .description-toggle{background:var(--appearance-bg);color:var(--appearance-accent)}
html[data-color-scheme=dark] .description-reader:not(.is-expanded) .description-toggle::before{background:linear-gradient(transparent,var(--appearance-bg))}
html[data-color-scheme=dark] :is(.saving,.price-savings){background:#3c2733;color:#ffb2bf}
html[data-color-scheme=dark] :is(.liquidation-badge,.card-liquidation-price){background:#faee7c;color:#183653}
html[data-color-scheme=dark] :is(.option,.product-info .option,.quantity-control,.filter-chips a,.count-pill,.journal-topics a,.editorial-tags a,.journal-search,.pagination a,.catalog-toolbar select){background:var(--appearance-surface);color:var(--appearance-text);border-color:var(--appearance-line)}
html[data-color-scheme=dark] :is(.option:hover,.product-info .option:hover,.option.selected,.product-info .option.selected,.checkout-provider:hover:not(:disabled),.journal-topics a.selected,.journal-topics a:hover,.pagination [aria-current]){background:var(--appearance-raised);color:var(--appearance-accent);border-color:var(--appearance-accent)}
html[data-color-scheme=dark] :is(input:not([type=checkbox],[type=radio],[type=range],[type=hidden]),select,textarea){background:var(--appearance-surface);color:var(--appearance-text);border-color:#6b839b;accent-color:var(--appearance-accent)}
html[data-color-scheme=dark] :is(input,textarea)::placeholder{color:var(--appearance-muted);opacity:1}
html[data-color-scheme=dark] :is(input[type=checkbox],input[type=radio]){accent-color:var(--appearance-accent)}
html[data-color-scheme=dark] :is(.button,.product-info .add-to-cart>.button,.cookie-button,button#affirm-continue,button#credit-continue,.login form button){background:var(--appearance-accent);border-color:var(--appearance-accent);color:var(--appearance-accent-ink)}
html[data-color-scheme=dark] :is(.button:hover,.product-info .add-to-cart>.button:hover:not(:disabled),.cookie-button:hover,.login form button:hover){background:#c5dfff;border-color:#c5dfff;color:var(--appearance-accent-ink)}
html[data-color-scheme=dark] :is(.button.secondary,.cookie-button-secondary){background:var(--appearance-raised);color:var(--appearance-accent);border-color:#718ba5}
html[data-color-scheme=dark] :is(.button.secondary:hover,.cookie-button-secondary:hover){background:var(--appearance-hover);color:#e2f0ff}
html[data-color-scheme=dark] :is(.cart-count,.filter-option.active .check-box){background:var(--appearance-accent);color:var(--appearance-accent-ink)}
html[data-color-scheme=dark] :is(.home-mosaic-tile:hover .home-shop-arrow,.home-group-category:hover .home-shop-arrow){background:var(--appearance-accent);border-color:var(--appearance-accent);color:var(--appearance-accent-ink)}
html[data-color-scheme=dark] :is(.cart-code-section>summary::after,.cart-code-section .text-button,.cookie-banner a,.cookie-dialog a,.cookie-policy-notice a,.store-contact-line,.store-booking,.store-map-privacy,.text-link,.text-button,.login>a){color:var(--appearance-accent)}
html[data-color-scheme=dark] .cart-code-section>summary>span{color:var(--appearance-muted)}
html[data-color-scheme=dark] :is(.stock.available,.coupon-feedback:not(.error),.price-breakdown-credit,.cookie-always,.private-pill){color:#a3dcb9}
html[data-color-scheme=dark] :is(.stock.unavailable,.cart-error,[data-checkout-error],.affirm-error,.cookie-error,.coupon-feedback.error,.danger){color:#ffabb8}
html[data-color-scheme=dark] .cart-service-offer{background:#2d2a23;color:#f2dfb8;border-color:#ad9560;box-shadow:none}
html[data-color-scheme=dark] :is(.cart-service-heading h2,.cart-service-price,.cart-service-description,.cart-service-benefits,.cart-service-note){color:#eddbb9}
html[data-color-scheme=dark] .cart-service-emblem{background:#40392c;color:#f3d694;border-color:#b99c60}
html[data-color-scheme=dark] :is(.cart-service-button,.cart-service-offer.is-added .cart-service-button){background:#efcf8d;color:#30240f;border-color:#efcf8d}
html[data-color-scheme=dark] .cart-service-button:hover{background:#f8dfa9}
html[data-color-scheme=dark] :is(.editorial-body blockquote,.editorial-post .editorial-body blockquote,.editorial-body th,.editorial-post .editorial-body .blog-table tr:first-child,.editorial-post .editorial-body .blog-table tr:nth-child(even),th,.tabs,.dataset-tabs,.advanced textarea){background:var(--appearance-raised);color:var(--appearance-text)}
html[data-color-scheme=dark] :is(.store-map-shell,.store-map-placeholder){background:#1d3042;color:var(--appearance-text)}
html[data-color-scheme=dark] .complete-setup{background:var(--appearance-surface);border-color:var(--appearance-line);color:var(--appearance-text)}
html[data-color-scheme=dark] .complete-setup :is(h2,h3,a){color:var(--appearance-text)}
html[data-color-scheme=dark] .complete-setup :is(p,.setup-note){color:var(--appearance-muted)}
html[data-color-scheme=dark] .setup-item{border-color:var(--appearance-line)}
html[data-color-scheme=dark] .setup-item>.setup-add{background:var(--appearance-raised);color:var(--appearance-accent);border-color:var(--appearance-accent)}
html[data-color-scheme=dark] .quantity-control button{color:var(--appearance-text)}
html[data-color-scheme=dark] .cart-page .checkout-card :is(h2,.subtotal-row strong){color:var(--appearance-text)}
html[data-color-scheme=dark] .cart-page .checkout-card .muted{color:var(--appearance-muted)}
html[data-color-scheme=dark] .cart-page .checkout-card :is([data-cart-page-summary],.subtotal-row){border-color:var(--appearance-line)}
html[data-color-scheme=dark] .cart-page .checkout-card>[data-checkout]{background:var(--appearance-accent);border-color:var(--appearance-accent);color:var(--appearance-accent-ink)}
html[data-color-scheme=dark] .cart-page .checkout-card>[data-checkout]:disabled{background:var(--appearance-raised);border-color:var(--appearance-line);color:var(--appearance-muted)}
html[data-color-scheme=dark] .store-map-reset{background:var(--appearance-surface);border-color:var(--appearance-line);color:var(--appearance-accent)}
html[data-color-scheme=dark] :is(.toast,.notice,.notice.success){background:#1f3e35;color:#c0f0d4;border-color:#527b65}
html[data-color-scheme=dark] :is(.notice.error,.login .error){background:#402934;color:#ffc1cb;border-color:#985666}
html[data-color-scheme=dark] .site-footer{background:#0d2945;color:#c2d9ef}
html[data-color-scheme=dark] .site-footer :is(.footer-contact a,.footer-navigation a,.cookie-footer-link){color:#c2d9ef}
html[data-color-scheme=dark] .site-footer :is(.footer-statement,.nav-heading,a:hover){color:#f2f7fe}
html[data-color-scheme=dark] .appearance-footer{background:#0d2945;color:#e4effb}
html[data-color-scheme=dark] .appearance-footer:not([data-appearance-context=storefront]){background:var(--appearance-bg);color:var(--appearance-text)}
html[data-color-scheme=dark] .appearance-options{border-color:#8ba5be}
html[data-color-scheme=dark] .appearance-options>button{background:transparent;color:inherit}
html[data-color-scheme=dark] .appearance-footer .appearance-options>button[aria-pressed=true]{background:var(--appearance-accent);color:var(--appearance-accent-ink)}
html[data-color-scheme=dark] .appearance-options>button:hover:not([aria-pressed=true]){background:#ffffff15}
html[data-color-scheme=dark] :is(.admin-nav-group>summary,.admin-sidebar .admin-nav-links a){color:var(--appearance-muted)}
html[data-color-scheme=dark] :is(.admin-nav-group>summary:hover,.admin-sidebar .admin-nav-links a:hover,.admin-sidebar .admin-nav-links a.active,.language-pill.complete,.record-card:hover){background:var(--appearance-raised);color:var(--appearance-accent)}
html[data-color-scheme=dark] :is(.status-pill,.language-pill.missing){background:#314135;color:#c2e4b6}
html[data-color-scheme=dark] :is(.skip-link,.icon-button,.gallery-open .zoom-hint){color:var(--appearance-text)}
html[data-color-scheme=dark] :is(.skip-link,.gallery-open .zoom-hint){background:var(--appearance-surface)}
html[data-color-scheme=dark] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline-color:#b8d9ff;box-shadow:0 0 0 3px #101923}
/* The storefront switch sits inside the day/night greeting, above the scenery. */
.appearance-footer[data-appearance-context=storefront]{padding:0;background:transparent;color:#153c61}
.appearance-footer[data-appearance-context=storefront] .appearance-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;max-width:100%}
.appearance-switcher{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;border:1px solid #9ac8ef;border-radius:999px;background:#ffffff72;backdrop-filter:blur(8px)}
.appearance-mode-label,.appearance-switch,.appearance-auto{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:44px;margin:0;border:0;background:transparent;color:inherit;font:500 .75rem/1.4 'Open Sans',system-ui,sans-serif;cursor:pointer}
.appearance-mode-label{min-width:94px;padding:8px 4px;white-space:nowrap}
.appearance-switch{width:54px;min-width:54px;padding:0}
.appearance-switch-track{display:block;width:48px;height:25px;padding:3px;border:1px solid #2392e6;border-radius:999px;background:linear-gradient(120deg,#1283df,#46b1ff);box-shadow:inset 0 1px 3px #13598c25}
.appearance-switch-thumb{display:block;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #234f7133;transform:translateX(23px);transition:transform 220ms ease}
.appearance-auto{position:relative;gap:5px;padding:4px 12px;font-size:.6875rem;min-height:36px;color:#365f82}
.appearance-auto[aria-pressed=true]::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.appearance-auto:hover{text-decoration:underline;text-underline-offset:3px}
.appearance-switcher button:focus-visible,.appearance-auto:focus-visible{outline:2px solid currentColor;outline-offset:3px;box-shadow:none;border-radius:999px}
html[data-color-scheme=light] .appearance-mode-label[data-appearance-mode=light]{font-weight:700}
html[data-color-scheme=dark] .appearance-footer[data-appearance-context=storefront]{background:transparent;color:#e5effb}
html[data-color-scheme=dark] .appearance-switcher{border-color:#91a9bf7d;background:#08233f66}
html[data-color-scheme=dark] .appearance-mode-label[data-appearance-mode=dark]{font-weight:700}
html[data-color-scheme=dark] .appearance-switch-track{border-color:#7c94ab;background:linear-gradient(120deg,#314e66,#5b7387)}
html[data-color-scheme=dark] .appearance-switch-thumb{transform:translateX(0);background:#f0f5fb}
html[data-color-scheme=dark] .appearance-auto{color:#b6ccdf}
@media(max-width:480px){.appearance-switcher{gap:4px;padding-inline:10px}.appearance-mode-label{min-width:86px;font-size:.6875rem}.appearance-footer[data-appearance-context=storefront]{padding:0}}
@media(prefers-reduced-motion:reduce){.appearance-switch-thumb{transition:none}}

@media(max-width:850px){.appearance-footer[data-appearance-context=admin]{margin-left:0;padding-inline:18px}}
@media(max-width:480px){.appearance-footer{padding:18px 16px}.appearance-inner{justify-content:center;gap:10px;flex-wrap:wrap}.appearance-options>button{padding:8px 10px;gap:5px}.appearance-options>button svg{width:16px;height:16px}}
@media(forced-colors:active){.appearance-options>button[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-3px}}
@media print{.appearance-footer{display:none!important}}
