/* Isolated desktop Home redesign. No selectors apply to mobile or other routes. */
@media(min-width:1024px){
html[data-page=home]:has(.home-v2) #app{max-width:1440px;padding:116px 40px 0;overflow:clip}
.home-v2{--hv-ink:#292327;--hv-muted:#776c70;--hv-red:#e62e42;color:var(--hv-ink);display:flex;flex-direction:column;gap:32px;padding-bottom:24px}
.home-v2 *{box-sizing:border-box}
.home-v2 h1,.home-v2 h2,.home-v2 h3,.home-v2 p{margin:0}
.home-v2 a{color:inherit;text-decoration:none}
.home-v2 img{display:block;width:100%;object-fit:cover}
.home-v2 .icon{width:20px;height:20px;flex-shrink:0}
.home-v2 a:focus-visible,.home-v2 button:focus-visible{outline:3px solid #e62e42;outline-offset:4px}
.hv-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:-34px;font-size:12px;color:var(--hv-muted)}
.hv-intro>span:first-child{font-weight:700;color:#514047}
.hv-hero{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:16px;height:350px}
.hv-hero-main,.hv-hero-side{position:relative;overflow:hidden;border-radius:16px;background:#eee9e3}
.hv-hero-main>img{height:100%;object-position:center}
.hv-hero-main:after{content:'';position:absolute;inset:0;background:linear-gradient(270deg,rgba(26,22,19,.65),rgba(26,22,19,0) 85%)}
.hv-hero-copy{position:absolute;inset:0;z-index:1;padding:40px;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;color:white;max-width:67%;gap:14px}
.home-v2 .hv-eyebrow{display:block;font-size:12px;line-height:1.8;font-weight:500;letter-spacing:0}
.home-v2 h1{font-size:34px;line-height:1.65;font-weight:850;color:inherit}
.hv-hero-copy p{font-size:13px;line-height:2;max-width:330px;color:#f3eee9}
.home-v2 .hv-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:10px 20px;border-radius:9px;background:var(--hv-red);color:white;font-size:13px;font-weight:700;width:fit-content}
.hv-hero-side>img{height:100%;object-position:center 40%}
.hv-hero-side:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(0deg,rgba(25,25,23,.85),transparent)}
.hv-hero-side>div{position:absolute;bottom:25px;inset-inline:24px;z-index:1;color:white;display:grid;gap:7px}
.home-v2 .hv-hero-side h2{font-size:21px;line-height:1.7;color:inherit}
.hv-text-link{display:inline-flex;align-items:center;gap:14px;font-size:13px;font-weight:600;min-height:40px}
.hv-categories{display:grid;grid-template-columns:repeat(8,1fr);gap:20px;margin-top:-20px}
.hv-categories>a{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:13px;font-weight:600;text-align:center}
.hv-categories img{width:76px;height:76px;object-fit:contain;background:#f5f3f0;border-radius:50%;mix-blend-mode:multiply}
.hv-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
.home-v2 .hv-heading h2{font-size:23px;line-height:1.6;font-weight:800}
.hv-heading p{font-size:13px;color:var(--hv-muted);margin-top:6px;line-height:1.8}
.hv-more{display:inline-flex;gap:8px;align-items:center;min-height:40px;font-size:13px;font-weight:600;white-space:nowrap}
.home-v2 .hv-more{color:#a9283c}
.hv-deals{background:#fcf2f3;padding:24px;border-radius:16px;border:1px solid #f7e4e7}
.hv-deals .hv-heading h2{color:#b22239}
.hv-deal-grid,.hv-budget-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.hv-occasion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hv-occasion{border-radius:14px;overflow:hidden;background:#f6f4f1}
.hv-occasion>img{height:230px;object-position:center}
.hv-occasion>div{padding:20px;position:relative}
.home-v2 .hv-occasion h3{font-size:18px;font-weight:750}
.hv-occasion p{font-size:12px;margin-top:6px;color:var(--hv-muted)}
.hv-occasion div>span{position:absolute;left:20px;top:26px}
.hv-store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.hv-store{overflow:hidden;border:1px solid #ece7e8;border-radius:13px}
.hv-store>img{height:180px;object-position:center}
.hv-store>div{padding:16px;display:flex;align-items:center;gap:12px}
.hv-store-avatar{width:38px;height:38px;display:grid;place-items:center;background:#f4eded;color:#9e3648;border-radius:50%;font-weight:700}
.hv-store>div>div{flex:1}
.home-v2 .hv-store h3{font-size:15px}
.hv-store p{font-size:11px;color:var(--hv-muted);margin-top:4px}

.hv-empty{padding:30px;grid-column:1/-1;color:var(--hv-muted)}
.hv-services{display:grid;grid-template-columns:1.35fr 1fr;gap:20px}
.hv-services>a{display:flex;align-items:center;background:#f7f5f2;border-radius:14px;overflow:hidden;min-height:250px}
.hv-services img{width:43%;height:100%;max-height:280px;object-fit:cover}
.hv-services a>div{padding:26px;flex:1}
.home-v2 .hv-services h2{font-size:23px;line-height:1.7;margin-top:8px}
.hv-services p{font-size:12px;line-height:2;color:var(--hv-muted);margin-top:10px}
.hv-services .hv-text-link{color:#b4293e;margin-top:12px}
.hv-wholesale{display:grid;grid-template-columns:1fr 1fr;background:#eef3f8;border-radius:14px;overflow:hidden;align-items:center}
.hv-wholesale>div{padding:36px}
.home-v2 .hv-wholesale h2{font-size:27px;margin:10px 0;color:#183e64}
.hv-wholesale p{font-size:13px;line-height:2;max-width:400px;color:#576777;margin-bottom:20px}
.hv-wholesale img{height:285px}
.home-v2 .hv-wholesale .hv-button{background:#286cae}
.hv-help{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;border-block:1px solid #eee8eb;padding:24px 0}
.hv-help>a{display:flex;align-items:center;gap:16px}
.hv-help>a>div{flex:1}
.hv-help>a>.icon:first-child{color:#b24a5d;width:25px;height:25px}
.home-v2 .hv-help h3{font-size:14px}
.hv-help p{font-size:12px;color:var(--hv-muted);margin-top:5px}
.hv-footer{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-bottom:20px}
.hv-footer img{width:94px;height:36px;object-fit:contain}
.hv-footer p,.hv-footer small{font-size:11px;color:var(--hv-muted);margin-top:8px}
.hv-footer>div:nth-child(2){display:flex;gap:24px;font-size:12px}
@media(min-width:1500px){.hv-hero{height:390px}}
@media(prefers-reduced-motion:no-preference){.hv-occasion img,.hv-store>img{transition:transform .3s}.hv-occasion:hover img,.hv-store:hover>img{transform:scale(1.025)}.home-v2 .hv-button:hover{filter:brightness(.93)}}
}

/* Owner revision: restore original discovery components, rework only the first five sections. */
@media(min-width:1024px){
 html[data-page=home]:has(.hv-restored-top) #app{max-width:none;padding-top:94px;padding-inline:clamp(28px,3vw,48px)}
 html[data-page=home] .hv-restored-top{margin-bottom:44px}
 html[data-page=home] .hv-restored-top .desktop-home-campaigns{width:calc(100% + 2 * clamp(28px,3vw,48px));margin-inline:calc(-1 * clamp(28px,3vw,48px));height:clamp(300px,27vw,410px);border-radius:0;margin-bottom:0}
 html[data-page=home] .hv-restored-top #desktop-home-main{margin-inline:0}
 html[data-page=home] .hv-restored-top .desktop-campaign-stage{border-radius:0}
 html[data-page=home] .hv-restored-top .desktop-campaign-copy{padding-inline:8%;max-width:65%}
 html[data-page=home] .hv-restored-top .desktop-banner-arrow{top:auto;bottom:18px;transform:none;border-radius:8px;width:38px;height:38px}
 html[data-page=home] .hv-restored-top .desktop-banner-arrow.previous{left:24px}
 html[data-page=home] .hv-restored-top .desktop-banner-arrow.next{left:70px;right:auto}
 html[data-page=home] .hv-restored-top .desktop-home-categories{margin:0 0 30px;padding:26px 0 24px;border-bottom:1px solid #eee9eb}
 html[data-page=home] .hv-restored-top .red-deals{margin-bottom:0}
 /* Photo-led occasion cards and a distinct, one-card-at-a-time store shelf. */
 .home-v2 .hv-occasions{padding:0;border:0}
 .home-v2 .hv-occasion-grid{gap:16px}
 .home-v2 .hv-occasion{position:relative;display:block;height:310px;border:0;border-radius:14px;overflow:hidden;background:#332e2c;color:#fff}
 .home-v2 .hv-occasion>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;mix-blend-mode:normal}
 .home-v2 .hv-occasion:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,13,13,.86),rgba(15,13,13,.12) 75%);pointer-events:none}
 .home-v2 .hv-occasion>.hv-occasion-copy{position:absolute;inset:auto 0 0;z-index:1;width:100%;padding:26px;display:flex;flex-direction:column;align-items:flex-start;color:#fff}
 .home-v2 .hv-occasion .hv-occasion-number{display:none}
 .home-v2 .hv-occasion h3{font-size:23px;line-height:1.7;font-weight:800;color:#fff;text-shadow:0 1px 8px #0003}
 .home-v2 .hv-occasion p{font-size:13px;line-height:1.8;margin-top:4px;color:#fff}
 .home-v2 .hv-occasion .hv-occasion-action{position:static;display:flex;align-items:center;gap:12px;font-size:12px;font-weight:600;color:#fff;margin-top:18px}
 .home-v2 .hv-occasion .hv-occasion-action .icon{width:16px;height:16px}
 html[data-page=home] .home-v2 .hv-store-section{position:relative;margin:12px 0 28px;padding:32px 0 42px;border:0;border-top:2px solid #e9e3e6;border-bottom:1px solid #e9e3e6;border-radius:0;background:#fff}
 .home-v2 .hv-store-section:before{content:'';position:absolute;top:-2px;right:0;width:56px;height:3px;background:#e62e42;border-radius:2px}
 .home-v2 .hv-store-section .section-heading{margin:0 0 24px;padding-inline-end:108px;min-height:58px;align-items:flex-start}
 html[data-page=home] .home-v2 .hv-store-section .section-heading h2{font-size:24px;font-weight:800;line-height:1.7}
 .home-v2 .hv-store-section .section-heading p{font-size:13px;color:#8b7c84;margin-top:5px}
 .hv-store-controls{position:absolute;left:0;top:37px;display:flex;gap:8px;direction:rtl}
 .hv-store-controls button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #e7dce0;background:#fff;border-radius:50%;color:#725d65;cursor:pointer}
 .hv-store-window{overflow:hidden;padding:4px 0}
 html[data-page=home] .home-v2 .hv-store-rail{display:flex;direction:ltr;gap:16px;align-items:stretch;max-width:none;width:100%;margin:0;padding:0;overflow:visible}
 html[data-page=home] .home-v2 .hv-store-rail>.store-feature{display:block;direction:rtl;flex:0 0 calc((100% - 48px)/4);width:auto;aspect-ratio:1;height:auto;min-height:0;max-height:none;border-radius:16px;overflow:hidden;background:#343031}
 html[data-page=home] .home-v2 .hv-store-rail .store-feature-photo{width:100%;height:100%;object-fit:cover;opacity:1;filter:none;transform:none}
 html[data-page=home] .home-v2 .hv-store-rail .store-feature-shade{background:linear-gradient(0deg,#0009,#0005);opacity:1}
 html[data-page=home] .home-v2 .hv-store-rail>.store-feature .store-identity{inset:0;transform:none;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;gap:0}
 html[data-page=home] .home-v2 .hv-store-rail>.store-feature .shop-avatar{width:68px;height:68px;flex:0 0 68px;margin:0 0 12px;background:#fff;border:0;box-shadow:none}
 html[data-page=home] .home-v2 .hv-store-rail .store-preview-logo{width:44px;height:44px}
 html[data-page=home] .home-v2 .hv-store-rail .store-feature-copy{display:flex;flex-direction:column;align-items:center;gap:12px}
 html[data-page=home] .home-v2 .hv-store-rail>.store-feature .store-identity h3{font-size:17px;line-height:28px;height:auto;margin:0;color:#fff}
 html[data-page=home] .home-v2 .hv-store-rail .store-rating{color:#fff;font-size:13px;gap:4px}
 html[data-page=home] .home-v2 .hv-store-rail .rating-count{color:#fffd;font-size:11px}
 html[data-page=home] .home-v2 .hv-store-rail .store-rating svg{width:17px;height:17px;fill:#ffc64b}
 @media(min-width:1250px){html[data-page=home] .home-v2 .hv-store-rail>.store-feature{flex-basis:calc((100% - 64px)/5)}}
 @media(min-width:1600px){html[data-page=home] .home-v2 .hv-store-rail>.store-feature{flex-basis:calc((100% - 80px)/6)}}
}

@media(min-width:1024px){
 .home-v2 .hv-autumn{display:block;padding:0;background:#fff4ef;border-radius:18px;overflow:hidden}
 .hv-autumn-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;padding:16px 24px;background:#ff5934;color:#fff}
 .home-v2 .hv-autumn-header h2{display:flex;align-items:center;gap:12px;font-size:27px;font-weight:850;line-height:1.6;color:#fff}
 .hv-autumn-header h2>svg{width:30px;height:30px;flex-shrink:0}
 .hv-autumn-navigation{display:flex;gap:8px;direction:rtl}
 .hv-autumn-navigation button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff55;border-radius:9px;background:#ffffffed;color:#ef512e;cursor:pointer}
 .hv-autumn-rail{display:flex;direction:rtl;gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:22px 24px 24px;scrollbar-width:none;scroll-padding-inline:24px}
 .hv-autumn-rail::-webkit-scrollbar{display:none}
 .home-v2 .hv-autumn-more{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;border:1px solid #eee8e5;background:#fff;border-radius:12px;overflow:hidden;scroll-snap-align:start;color:#ff5934;font-size:15px;min-height:0}
 .hv-autumn-more>.icon{width:32px;height:32px}
}

@media(min-width:1024px){
 .home-v2 .hv-budget{border:0;padding:0;background:none;box-shadow:none}
 .hv-budget-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
 .home-v2 .hv-budget-heading h2{font-size:27px;font-weight:850;line-height:1.7;letter-spacing:-.6px;color:#292327}
 .hv-budget-tabs{display:flex;align-items:center;gap:4px;padding:5px;background:#f6f4f5;border-radius:13px}
 .hv-budget-tabs button{min-height:40px;padding:9px 18px;border:1px solid transparent;border-radius:9px;background:transparent;color:#796c73;font:inherit;font-size:12px;line-height:20px;white-space:nowrap;cursor:pointer;transition:background .18s,color .18s}
 .hv-budget-tabs button[aria-pressed=true]{background:#fff;border-color:#efdfe3;color:#c92c43;font-weight:750;box-shadow:0 2px 5px #39232b08}
 .hv-budget-tabs button:hover{color:#c92c43}
 .home-v2 .hv-budget-grid{display:flex;align-items:stretch;direction:rtl;gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#e3dade transparent;padding-bottom:10px}
 .home-v2 .hv-budget-more{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:0;border:1px solid #eee8e5;border-radius:16px;background:#fff;color:#e62e42;font-size:14px;font-weight:700}
 .hv-budget-more>.icon{width:30px;height:30px}
 @media(max-width:1120px){.hv-budget-tabs button{padding-inline:12px;font-size:11px}.home-v2 .hv-budget-heading h2{font-size:24px}}
}

/* Shared product cards: inherit the exact Amazing Offers card, including its photo and copy scale. */
@media(min-width:1024px){
 html[data-page=home] .home-v2 :is(.hv-autumn-rail,.hv-budget-grid)>.product-card{box-shadow:none}
 html[data-page=home] .home-v2 .hv-autumn-rail{margin:0;padding:22px 24px 24px;align-items:stretch}
 html[data-page=home] .home-v2 .hv-budget-grid{margin:0;padding:0 0 10px}
 .home-v2 :is(.hv-autumn-more,.hv-budget-more){flex:0 0 200px;width:200px;min-width:200px;max-width:200px;border-radius:12px;align-self:stretch;aspect-ratio:auto}
}
@media(min-width:1200px){
 .home-v2 :is(.hv-autumn-more,.hv-budget-more){flex-basis:216px;width:216px;min-width:216px;max-width:216px}
}
