/* SofaMend v4.6.5 — approved mobile commerce design, built as real UI.
   Original photographic crops are included locally. These selectors avoid
   changing legacy admin/HR layouts. */
:root{--sm465-navy:#09223c;--sm465-ink:#14263a;--sm465-orange:#f65b0b;--sm465-surface:#fff;--sm465-subtle:#64768a;--sm465-shadow:0 11px 28px rgba(13,40,66,.07)}
.sm-v465,.sm-v465 *{box-sizing:border-box}
.sm-v465{width:100%;max-width:1720px;margin:auto;color:var(--sm465-ink);font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;overflow:visible}
.sm-v465 a{text-decoration:none}
.sm465-assurance{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 15px;padding:10px 16px;background:#fff;border-radius:14px;border:1px solid #edf0f2}
.sm465-delivery{display:flex;align-items:center;gap:9px;color:#122e46;min-width:175px}
.sm465-pin{color:var(--sm465-orange);font-size:23px;transform:rotate(0deg)}
.sm465-delivery small{display:block;color:#687a8b;font-size:10px;line-height:1.4}
.sm465-delivery strong{display:block;font-size:12px;line-height:1.4}
.sm465-down{color:var(--sm465-orange);font-size:22px}
.sm465-benefit-rail{display:flex;gap:clamp(12px,3vw,40px);white-space:nowrap;overflow-x:auto;scrollbar-width:none;font-size:12px;color:#12334b;font-weight:700}
.sm465-benefit-rail::-webkit-scrollbar{display:none}
.sm465-hero{position:relative;isolation:isolate;overflow:hidden;background:#f6eadb;border-radius:24px;min-height:410px;box-shadow:var(--sm465-shadow)}
.sm465-hero-photo{position:absolute;inset:0 0 0 31%;z-index:-2;overflow:hidden}
.sm465-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 37%;display:block}
.sm465-hero-wash{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f9f2e9 0%,rgba(249,242,233,.99) 26%,rgba(249,242,233,.78) 42%,rgba(249,242,233,.06) 70%,transparent 100%);pointer-events:none}
.sm465-hero-content{position:relative;width:min(60%,750px);padding:clamp(25px,4vw,62px) clamp(20px,3.3vw,54px) 32px;min-height:410px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.sm465-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#d55b1b;margin-bottom:16px}
.sm465-headline h1{font-size:clamp(35px,3.8vw,64px);line-height:1.06;letter-spacing:-.047em;color:#0a2847;font-weight:900;margin:0 0 14px}
.sm465-headline h1 em{font-style:normal;color:#f15a0b}
.sm465-headline p{font-size:clamp(13px,1.25vw,19px);line-height:1.5;color:#27445b;margin:0 0 22px;font-weight:600}
.sm465-headline[hidden]{display:none!important}
.sm465-orange-btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:54px;padding:12px 27px;border-radius:14px;background:linear-gradient(120deg,#fd6211,#e84b00);color:white!important;font-weight:800;font-size:15px;box-shadow:0 8px 18px #dc51032d;transition:transform .2s,box-shadow .2s}
.sm465-orange-btn:hover{transform:translateY(-2px);box-shadow:0 12px 22px #dc510337}
.sm465-hero-dots{display:flex;align-items:center;gap:7px;margin-top:17px}
.sm465-hero-dots button{padding:0!important;margin:0!important;width:8px!important;height:8px!important;min-height:8px!important;border-radius:50%!important;background:#cfb7a3!important;border:0!important;box-shadow:none!important;cursor:pointer}
.sm465-hero-dots button.active{width:27px!important;border-radius:10px!important;background:#f65b0b!important}
.sm465-family-note{position:absolute;right:18px;bottom:18px;border-radius:15px;padding:10px 13px;font-weight:800;font-size:13px;background:#fffffff0;color:#12324a;box-shadow:0 5px 22px #0a2f3822}
.sm465-family-note span{display:block;font-weight:500;font-size:11px;color:#5f7181}
.sm465-category-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:24px 0 25px}
.sm465-category{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;color:#132a42;gap:6px;padding:3px 4px;border-radius:16px;transition:transform .2s}
.sm465-category:hover{transform:translateY(-4px)}
.sm465-category-circle{width:clamp(70px,9vw,124px);height:clamp(70px,9vw,124px);border-radius:50%;background:#fff2e9;overflow:hidden;display:block}
.sm465-category-circle img{width:100%;height:100%;object-fit:cover;display:block}
.sm465-category strong{font-size:clamp(11px,1.2vw,17px);font-weight:800;line-height:1.25}
.sm465-category small{font-size:clamp(9px,1vw,13px);color:#718396;line-height:1.25}
.sm465-weekly-promo{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;border-radius:20px;min-height:175px;margin:16px 0 27px;background:linear-gradient(107deg,#ff971b 0%,#ffb330 46%,#f59b17 100%);box-shadow:0 7px 19px #f08b2c23}
.sm465-promo-copy{position:relative;z-index:2;max-width:55%;padding:21px 30px}
.sm465-promo-kicker{font-size:10px;letter-spacing:.14em;font-weight:900;color:#fff6e8}
.sm465-promo-copy h2{color:white;font-size:clamp(23px,2.6vw,39px);letter-spacing:-.04em;line-height:1.05;margin:7px 0}
.sm465-promo-copy p{color:#fffaf3;font-size:clamp(11px,1.1vw,15px);margin:0 0 14px}
.sm465-promo-copy a{display:inline-flex;align-items:center;gap:10px;padding:10px 15px;border-radius:11px;color:#ed5308;font-size:13px;font-weight:900;background:#fff}
.sm465-promo-sofa{position:absolute;z-index:1;right:0;top:0;height:100%;width:58%;object-fit:cover;object-position:center center;mix-blend-mode:normal;mask-image:none;border-left:1px solid rgba(255,255,255,.45)}
.sm465-section{margin-top:29px}
.sm465-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 14px}
.sm465-section-heading h2{margin:0;font-size:clamp(21px,2vw,31px);font-weight:850;color:#0d2944;letter-spacing:-.037em}
.sm465-section-heading a{color:#e75b0c;font-size:13px;font-weight:800;white-space:nowrap}
.sm465-service-section{position:relative;z-index:2;overflow:hidden}.sm465-service-section .sm465-section-heading{position:relative;z-index:3;background:#fbfcfe}.sm465-services{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.sm465-service-card{min-width:0;overflow:hidden;border-radius:17px;background:white;border:1px solid #edf0f2;box-shadow:0 8px 20px #102e4610;transition:transform .2s,box-shadow .2s;color:#173249}
.sm465-service-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #102e461b}
.sm465-service-card>img{width:100%;aspect-ratio:1.65;object-fit:cover;display:block}
.sm465-service-card-info{display:flex;flex-direction:column;gap:6px;padding:14px}
.sm465-service-card b{font-size:16px;font-weight:800}
.sm465-service-card small{font-size:12px;color:#6e8092}
.sm465-service-card strong{font-size:13px;color:#ec5a0b;margin-top:3px}
.sm465-section-intro{color:#62768a;margin:-2px 0 14px;font-size:14px;line-height:1.6}
.sm465-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sm465-story-grid article{min-width:0;display:flex;gap:11px;align-items:flex-start;padding:17px;border-radius:17px;background:#fff;border:1px solid #e8edef;box-shadow:var(--sm465-shadow)}
.sm465-story-avatar{flex:0 0 51px;width:51px;height:51px;overflow:hidden;border-radius:50%;background:#fff3e7}
.sm465-story-avatar img{width:100%;height:100%;object-fit:cover}
.sm465-story-grid b{font-size:14px;font-weight:850}
.sm465-story-grid p{font-size:12px;line-height:1.5;color:#60768a;margin:6px 0 0}
.sm465-honesty{font-size:11px;color:#8796a0;margin:9px 1px 0}
.sm465-reason-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.sm465-reason-grid a{min-height:110px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;border-radius:16px;background:#fff;box-shadow:var(--sm465-shadow);border:1px solid #edf1f4;text-align:center;color:#0d2944}
.sm465-reason-grid span{font-size:30px;color:#f65b0b;font-weight:750;line-height:1}
.sm465-reason-grid strong{font-size:13px;line-height:1.35}
.sm465-shop-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.sm465-shop-tiles a{overflow:hidden;border-radius:17px;box-shadow:var(--sm465-shadow);background:#fff;color:#0e2b44}
.sm465-shop-tiles img{width:100%;aspect-ratio:1.65;object-fit:cover;display:block}
.sm465-shop-tiles b{display:block;padding:12px 14px;font-size:14px}
.sm465-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.sm465-product{min-width:0;border-radius:16px;overflow:hidden;box-shadow:var(--sm465-shadow);background:white;color:#0c2a44;border:1px solid #edf1f4}
.sm465-product>img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;background:#f4f7f8}
.sm465-product-info{display:flex;flex-direction:column;gap:6px;padding:12px}
.sm465-product b{font-size:14px;line-height:1.3}
.sm465-product small{font-size:11px;color:#708093}
.sm465-product strong{font-size:16px}
.sm465-final-cta{margin:32px 0 23px;border-radius:20px;background:linear-gradient(110deg,#09283f,#164f60);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:24px 29px;gap:16px}
.sm465-final-cta h2{margin:7px 0 3px;color:white;font-size:24px}
.sm465-final-cta span{font-size:10px;letter-spacing:.1em;color:#ffd1b4;font-weight:900}
.sm465-final-cta p{margin:0;color:#dce7eb}
.sm465-final-cta>a{background:#f65b0b;border-radius:12px;padding:13px 16px;color:white;font-size:14px;font-weight:850;white-space:nowrap}
.sm465-final-cta>a span{color:white}
/* Shared customer mobile app header/menu; admin pages remain unchanged. */
.sm465-wordmark{display:none}
.sm465-menu-btn{display:none}
.sm465-mobile-menu-overlay,.sm465-mobile-menu-panel{display:none}
@media(min-width:1101px){
 body:not(.sm-admin-mode):has(.sm-v465) main.container{width:min(96%,1780px)!important;max-width:none!important;overflow:visible!important}
 body:not(.sm-admin-mode):has(.sm-v465) .corporate-announcement .corp-shell,
 body:not(.sm-admin-mode):has(.sm-v465) .site-header .corp-shell{max-width:1780px!important;width:96%!important}
}
@media(max-width:1050px) and (min-width:701px){
 .sm465-hero-content{width:60%;padding:30px 28px;min-height:360px}
 .sm465-hero{min-height:360px}
 .sm465-headline h1{font-size:43px}
 .sm465-family-note{display:none}
 .sm465-category-rail{gap:8px}
 .sm465-reason-grid a{min-height:100px}
}
@media(max-width:700px){
 html{min-height:100%!important;height:100%!important;overflow-y:auto!important;overscroll-behavior-y:auto!important}
 body:not(.sm-admin-mode):has(.sm-v465){min-height:100vh!important;height:auto!important;overflow-y:visible!important;overflow-x:clip!important;padding-bottom:calc(103px + env(safe-area-inset-bottom))!important;background:#fbfcfe!important}
 body:not(.sm-admin-mode):has(.sm-v465) main.container{padding:0!important;overflow:visible!important;max-width:100%!important;width:100%!important}
 .sm-v465{width:100%!important;padding:0 11px 20px;max-width:100%!important;overflow:visible!important}
 body:not(.sm-admin-mode):has(.sm-v465) .mobile-app-top{display:flex!important;align-items:center!important;gap:8px!important;padding:9px 12px!important;min-height:61px!important;position:sticky!important;top:0!important;z-index:125!important;background:#fff!important;box-shadow:0 2px 12px #102e4610}
 body:not(.sm-admin-mode) .mobile-app-top .mobile-logo{display:flex!important;flex:0 0 auto!important;width:auto!important;max-width:140px!important;min-width:0!important}
 body:not(.sm-admin-mode) .mobile-app-top .mobile-logo .sm465-wordmark{display:inline!important;font-size:clamp(17px,5vw,22px);font-weight:900;letter-spacing:-.07em;color:#0a2d48;white-space:nowrap}
 body:not(.sm-admin-mode) .mobile-app-top .mobile-logo .sm465-wordmark strong{color:#f45b0b}
 body:not(.sm-admin-mode) .mobile-app-top .mobile-logo img{display:none!important}
 body:not(.sm-admin-mode):has(.sm-v465) .mobile-app-top .mobile-logo img{width:100%!important;max-width:100%!important;object-fit:contain!important}
 body:not(.sm-admin-mode):has(.sm-v465) .mobile-app-top .mobile-search{flex:1!important;min-width:0!important;width:auto!important;font-size:10px!important;padding:8px 9px!important;min-height:37px!important;border-radius:16px!important}
 body:not(.sm-admin-mode):has(.sm-v465) .mobile-app-top .mobile-top-cart{flex:0 0 29px!important;font-size:18px!important}
 .sm465-menu-btn{display:grid!important;place-items:center;flex:0 0 28px;width:28px;height:34px;padding:0;background:none;color:#092944;border:0;font-size:20px;font-weight:600}
 .sm465-assurance{border:0;border-radius:0;min-height:47px;padding:7px 7px;margin:0 -11px 0;gap:12px;box-shadow:0 1px 7px #1c3b4c0d}
 .sm465-delivery{min-width:110px;gap:5px}.sm465-pin{font-size:18px}
 .sm465-delivery small{font-size:9px}.sm465-delivery strong{font-size:10px;white-space:nowrap}
 .sm465-benefit-rail{font-size:10px;gap:14px;flex:1}
 .sm465-hero{margin:0 -11px!important;border-radius:0!important;min-height:270px;max-height:390px;box-shadow:none}
 .sm465-hero-photo{inset:0 0 0 25%}
 .sm465-hero-photo img{object-position:center 30%}
 .sm465-hero-wash{background:linear-gradient(90deg,#f8f0e6 0%,rgba(248,240,230,.99) 21%,rgba(248,240,230,.88) 38%,rgba(248,240,230,.04) 73%,transparent 100%)}
 .sm465-hero-content{min-height:270px;padding:22px 0 17px 18px;max-width:265px;width:63%;justify-content:center}
 .sm465-eyebrow{font-size:8px;letter-spacing:.07em;margin-bottom:10px}
 .sm465-headline h1{font-size:clamp(25px,7vw,36px);line-height:1.055;letter-spacing:-.052em;margin-bottom:11px}
 .sm465-headline p{font-size:10px;line-height:1.53;margin-bottom:14px;font-weight:750}
 .sm465-orange-btn{min-height:42px;padding:9px 15px;border-radius:13px;font-size:12px;gap:12px;white-space:nowrap}
 .sm465-hero-dots{margin-top:13px;gap:6px}
 .sm465-hero-dots button{width:7px!important;height:7px!important;min-height:7px!important}
 .sm465-hero-dots button.active{width:24px!important}
 .sm465-family-note{display:none!important}
 .sm465-category-rail{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;gap:15px;margin:0 -11px;padding:15px 14px 15px;background:#fff}
 .sm465-category-rail::-webkit-scrollbar{display:none}
 .sm465-category{flex:0 0 84px;scroll-snap-align:start;padding:0;gap:5px}
 .sm465-category-circle{height:68px;width:68px}
 .sm465-category strong{font-size:10px;white-space:normal;min-height:14px;line-height:1.2}
 .sm465-category small{font-size:9px;white-space:nowrap}
 .sm465-weekly-promo{margin:14px 2px 20px!important;min-height:143px!important;border-radius:15px!important}
 .sm465-promo-copy{max-width:100%;padding:12px 14px}
 .sm465-promo-kicker{font-size:8px}
 .sm465-promo-copy h2{font-size:clamp(21px,5.6vw,26px);line-height:1.05;max-width:195px}
 .sm465-promo-copy p{font-size:10px;line-height:1.3;max-width:160px}
 .sm465-promo-copy a{padding:7px 11px;font-size:10px}
 .sm465-promo-sofa{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:436/180!important;object-fit:cover!important;object-position:center center!important;border-left:0!important;display:block!important}
 .sm465-section{margin-top:21px}
 .sm465-section-heading{margin:0 0 11px;padding-top:0}
 .sm465-section-heading h2{font-size:clamp(20px,5.8vw,25px);line-height:1.2}
 .sm465-section-heading a{font-size:11px}
 .sm465-services{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;padding:0 2px 13px;margin-top:0;scrollbar-width:none;background:#fbfcfe}
 .sm465-services::-webkit-scrollbar{display:none}
 .sm465-service-card{flex:0 0 45%;scroll-snap-align:start;border-radius:12px}
 .sm465-service-card>img{aspect-ratio:1.34}
 .sm465-service-card-info{padding:10px;gap:5px}
 .sm465-service-card b{font-size:12px}.sm465-service-card small{font-size:10px}.sm465-service-card strong{font-size:11px}
 .sm465-section-intro{font-size:12px}
 .sm465-story-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:11px;padding:1px 2px 12px;scrollbar-width:none}
 .sm465-story-grid::-webkit-scrollbar{display:none}
 .sm465-story-grid article{flex:0 0 80%;scroll-snap-align:start;min-height:121px;box-shadow:0 3px 14px #1333460b;padding:12px}
 .sm465-honesty{font-size:9px}
 .sm465-reason-grid{gap:8px}
 .sm465-reason-grid a{min-height:97px;padding:6px 2px;border-radius:13px;gap:7px}
 .sm465-reason-grid span{font-size:25px}
 .sm465-reason-grid strong{font-size:10px;line-height:1.35}
 .sm465-shop-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .sm465-shop-tiles a{border-radius:12px}
 .sm465-shop-tiles b{padding:8px;font-size:12px}
 .sm465-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .sm465-product-info{padding:9px}.sm465-product b{font-size:12px}.sm465-product strong{font-size:13px}
 .sm465-final-cta{margin:26px 0 20px;padding:17px;border-radius:15px}
 .sm465-final-cta h2{font-size:18px}.sm465-final-cta p{font-size:11px}
 .sm465-final-cta>a{font-size:10px;padding:11px;max-width:125px;white-space:normal;text-align:center}
 body:not(.sm-admin-mode) .mobile-bottom-nav.app-nav{z-index:115!important;bottom:calc(6px + env(safe-area-inset-bottom))!important;border-radius:27px!important;min-height:69px!important;box-shadow:0 5px 29px #112d4530!important;background:#fffffff8!important;padding:5px 3px!important}
 body:not(.sm-admin-mode) .mobile-bottom-nav.app-nav a{min-width:0!important;min-height:59px!important;justify-content:center!important;gap:1px!important;position:relative}
 body:not(.sm-admin-mode) .mobile-bottom-nav.app-nav a .nav-icon{font-size:23px!important}
 body:not(.sm-admin-mode) .mobile-bottom-nav.app-nav a small{font-size:9px!important}
 body:not(.sm-admin-mode) .mobile-bottom-nav.app-nav a:nth-child(3) .nav-icon{background:linear-gradient(120deg,#fa7118,#f14900);width:55px;height:55px;display:grid;place-items:center;border-radius:50%;color:#fff;box-shadow:0 5px 13px #ec58044a;margin-top:-28px;margin-bottom:1px;font-size:25px!important}
 body:not(.sm-admin-mode) .mobile-bottom-nav.app-nav a:nth-child(3) small{font-size:9px!important;font-weight:800!important}
 .sm465-mobile-menu-overlay:not([hidden]){display:block;position:fixed;inset:0;background:#05223983;z-index:130}
 .sm465-mobile-menu-panel:not([hidden]){display:flex;position:fixed;top:0;bottom:0;left:0;width:min(82vw,310px);padding:84px 20px 24px;background:#fff;z-index:131;box-shadow:9px 0 35px #0b273c33;flex-direction:column;gap:4px;overflow-y:auto}
 .sm465-mobile-menu-panel a{display:block;padding:13px 12px;color:#14334b;border-radius:10px;text-decoration:none;font-size:14px;font-weight:750}
 .sm465-mobile-menu-panel a:hover{background:#fff0e6;color:#dc4e00}
 body.sm465-menu-open{overflow:hidden!important;touch-action:none}
 body.sm465-menu-open .sm465-menu-btn{position:relative;z-index:132!important}
}
@media(max-width:380px){
 .sm465-hero-content{width:68%;padding-left:13px}.sm465-headline h1{font-size:25px}
 .sm465-category{flex-basis:78px}.sm465-category-rail{gap:11px}
 .sm465-weekly-promo{min-height:135px!important}
 body:not(.sm-admin-mode) .mobile-app-top .mobile-logo .sm465-wordmark{font-size:17px!important}
}
@media(prefers-reduced-motion:reduce){.sm465-service-card,.sm465-category,.sm465-orange-btn{transition:none}.sm465-products,.sm465-category-rail,.sm465-services,.sm465-story-grid{scroll-behavior:auto}}
