/* Homepage only. Keep shared styles and every other route unchanged. */
.home-comfort { background: var(--color-bg-card); }
.home-comfort .container { width:min(100% - 64px,var(--container-width,1180px)); }
.home-comfort a:focus-visible,.home-comfort button:focus-visible,.home-comfort input:focus-visible { outline:3px solid #ee9199;outline-offset:4px; }
.home-comfort .home-section { padding:44px 0; }
.home-comfort .home-search-hero { padding:24px 0;min-height:calc(100vw / 3);display:flex;align-items:center;background-image:var(--home-hero-image,url('../images/hero/soezbuy-shopping-red.png'));background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#faf8f8;border-bottom:0; }
.home-comfort .home-search-box { width:min(100%,880px); }
.home-comfort .home-search-badge { margin-bottom:8px;font-weight:600;font-size:12px;background:rgba(227,6,19,.06); }
.home-comfort .home-search-title { font-size:clamp(28px,3vw,36px);font-weight:700;letter-spacing:normal;line-height:1.35;text-wrap:balance; }
.home-comfort .home-search-subtitle { width:min(100%,720px);font-size:14px;line-height:1.65;margin:8px auto 16px;text-wrap:pretty; }
.home-comfort .home-main-search { width:min(100%,800px);padding:8px;border-radius:16px;gap:12px;box-shadow:0 6px 24px #00000008; }
.home-comfort .home-main-search input { padding:10px 14px;font-size:16px; }
.home-comfort .home-main-search button { min-height:48px;padding:12px 28px;font-weight:600;border-radius:11px; }
.home-comfort .home-search-count { font-size:12px;margin-top:10px;line-height:1.6; }
.home-comfort .home-quick-keywords { gap:7px;margin-top:12px; }
.home-comfort .home-quick-keywords a { padding:6px 12px;min-height:34px;font-size:12px;font-weight:500;box-shadow:none; }
.home-comfort .home-title-section { margin-bottom:26px;gap:24px;align-items:center; }
.home-comfort .home-title-section>div { min-width:0; }
.home-comfort .home-title-section__text { font-size:28px;font-weight:700;letter-spacing:normal;line-height:1.5; }
.home-comfort .home-title-section p { font-size:15px;line-height:1.8;margin:8px 0 0; }
.home-comfort .home-title-section__all { font-weight:600;font-size:14px; }
.home-comfort .home-category-section { padding-bottom:40px; }
.home-comfort .home-category-scroll { grid-auto-columns:calc((100% - 80px)/5);gap:20px;padding:4px 2px 14px; }
.home-comfort .home-category-box { min-height:184px;padding:22px 18px;box-shadow:none;border-radius:16px; }
.home-comfort .home-category-icon { flex-shrink:0;width:44px;height:44px;border-radius:13px;font-size:20px;font-weight:600;margin-bottom:16px; }
.home-comfort .home-category-box h3 { font-size:16px;line-height:1.6;letter-spacing:normal;font-weight:600;margin-bottom:8px;overflow-wrap:anywhere; }
.home-comfort .home-category-box p { font-size:13px;line-height:1.75; }
.home-comfort .home-category-box:hover { transform:translateY(-2px);box-shadow:0 4px 14px #00000006; }
.home-comfort .home-popular-section { background:var(--color-bg-soft);padding:36px 0 40px; }
.home-comfort .home-popular-grid { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;overflow:visible;cursor:auto; }
.home-comfort .home-popular-grid a { display:grid;grid-template-columns:36px minmax(0,1fr) 12px;align-items:center;width:auto;min-width:0;min-height:74px;padding:14px 16px;gap:12px;box-shadow:none;border-radius:12px;font-size:15px;font-weight:500;line-height:1.6; }
.home-comfort .home-popular-grid a .home-popular-icon { flex:0 0 36px;width:36px;height:36px;min-width:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;overflow:visible; }
.home-comfort .home-popular-grid a .home-popular-label { min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere; }
.home-comfort .home-popular-grid strong { font-size:20px;font-weight:500;text-align:right; }
.home-comfort .home-popular-grid a:hover { transform:translateY(-2px);background:var(--color-bg-card);box-shadow:0 3px 10px #00000005; }
.home-comfort .home-popular-icon .icon { width:16px;height:16px; }
.home-comfort .home-hotdeal-tabs { gap:12px;margin-bottom:22px;padding-bottom:4px;margin-left:0;margin-right:0; }
.home-comfort .home-hotdeal-tabs a { min-height:42px;padding:10px 18px;font-weight:500;box-shadow:none; }
.home-comfort .scroll-carousel { gap:16px; }
.home-comfort .scroll-carousel-nav { width:36px;height:36px;box-shadow:none; }
.home-comfort .home-product-grid { grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch; }
.home-comfort .home-product-card { border-radius:16px;box-shadow:0 2px 8px #00000004; }
.home-comfort .home-product-card:hover { box-shadow:0 6px 20px #00000009;transform:translateY(-2px); }
.home-comfort .home-product-card .product-image-wrap { background:#fff; }
.home-comfort .home-product-card .product-image-wrap img { object-fit:contain;padding:16px; }
.home-comfort .home-product-card .product-card-body { padding:20px;gap:0; }
.home-comfort .home-product-card .product-meta { font-size:12px;line-height:1.8;margin-bottom:12px;overflow-wrap:anywhere; }
.home-comfort .home-product-card .product-title { display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:4.95em;font-weight:600;letter-spacing:normal;line-height:1.65;font-size:16px;margin-bottom:14px; }
.home-comfort .home-product-card .product-price-row { padding-top:12px;align-items:center;gap:12px; }
.home-comfort .home-product-card .product-price { font-size:22px;font-weight:700; }
.home-comfort .home-product-card .btn { font-size:13px;font-weight:600;min-height:40px;padding:9px 13px;box-shadow:none; }
.home-comfort .home-product-card .badge { font-size:11px;font-weight:600;line-height:1.4; }
.home-comfort .home-loadmore-action { margin-top:28px; }
.home-comfort .home-banner-card,.home-comfort .home-split-card,.home-comfort .home-article-card,.home-comfort .article-card { box-shadow:none;border-radius:16px; }
.home-comfort .home-split-section { gap:24px; }
.home-comfort .home-split-card { padding:28px; }
.home-comfort .home-split-card .home-title-section__text { font-size:24px; }
.home-comfort .home-brand-chip-list { gap:12px; }
.home-comfort .home-brand-chip-list a { font-size:14px;font-weight:500;padding:10px 16px;box-shadow:none; }
.home-comfort .home-article-featured-grid { gap:24px; }
.home-comfort .home-article-card .product-image-wrap { aspect-ratio:16/10; }
.home-comfort .home-article-card .product-image-wrap img { object-fit:contain;background:#fff; }
.home-comfort .home-article-card .card-body { padding:22px; }
.home-comfort .card-title,.home-comfort .article-card-title { font-weight:600;letter-spacing:normal;line-height:1.6; }
.home-comfort .card-text { font-size:14px;line-height:1.8; }
.home-comfort .home-latest-article-grid { gap:24px; }
.home-comfort .home-seo-content-card { padding:36px;box-shadow:none;background:var(--color-bg-soft); }
.home-comfort .home-seo-content-card h2 { font-size:24px;line-height:1.6;font-weight:600;letter-spacing:normal; }
.home-comfort .home-seo-content-card h3 { font-size:19px;line-height:1.65;margin-top:28px;font-weight:600;letter-spacing:normal; }
.home-comfort .home-seo-content-card p { font-size:15px;line-height:1.95;max-width:85ch; }
@media(min-width:1500px) {
 .home-comfort .container { width:min(100% - 112px,1320px); }
 .home-comfort .home-section { padding:48px 0; }
}
@media(max-width:1100px) {
 .home-comfort .home-popular-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .home-comfort .home-category-scroll { grid-auto-columns:calc((100% - 48px)/3);gap:24px; }
 .home-comfort .home-product-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:20px; }
 .home-comfort .home-product-card .product-price-row { flex-direction:column;align-items:stretch; }
 .home-comfort .home-product-card .product-price-row .btn { width:100%; }
}
@media(max-width:760px) {
 .home-comfort .container { width:calc(100% - 40px); }
 .home-comfort .home-section { padding:32px 0; }
 .home-comfort .home-search-hero { padding:20px 0; }
 .home-comfort .home-search-title { font-size:28px;line-height:1.35; }
 .home-comfort .home-search-subtitle { font-size:14px;line-height:1.6;margin:8px auto 14px; }
 .home-comfort .home-search-count { max-width:400px;margin:10px auto 0; }
 .home-comfort .home-main-search { border-radius:14px;gap:6px; }
 .home-comfort .home-main-search input { padding:12px; }
 .home-comfort .home-main-search button { padding:12px 16px;font-size:15px; }
 .home-comfort .home-title-section { margin-bottom:22px;align-items:flex-start;flex-direction:column;gap:10px; }
 .home-comfort .home-title-section__text { font-size:24px;line-height:1.55; }
 .home-comfort .home-title-section p { font-size:14px;margin-top:6px; }
 .home-comfort .home-quick-keywords { gap:6px; }
 .home-comfort .home-quick-keywords a { padding:6px 10px;min-height:36px;font-size:12px; }
 .home-comfort .home-popular-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
 .home-comfort .home-popular-grid a { grid-template-columns:30px minmax(0,1fr) 8px;padding:14px 12px;gap:9px;min-height:76px;font-size:14px; }
 .home-comfort .home-popular-grid a .home-popular-icon { width:30px;height:30px;min-width:30px; }
 .home-comfort .home-popular-grid strong { font-size:18px; }
 .home-comfort .home-category-scroll { grid-auto-columns:180px;gap:14px; }
 .home-comfort .home-category-box { padding:20px 16px; }
 .home-comfort .scroll-carousel { gap:10px; }
 .home-comfort .home-category-section .scroll-carousel { display:block; }
 .home-comfort .home-category-section .scroll-carousel-nav { display:none; }
 .home-comfort .home-product-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
 .home-comfort .home-product-card .product-card-body { padding:14px; }
 .home-comfort .home-product-card .product-title { font-size:14px;line-height:1.7;min-height:5.1em;margin-bottom:12px; }
 .home-comfort .home-product-card .product-meta { font-size:11px;margin-bottom:10px; }
 .home-comfort .home-product-card .product-price { font-size:20px; }
 .home-comfort .home-product-card .product-image-wrap img { padding:10px; }
 .home-comfort .home-product-card .product-badges { top:8px;left:8px;gap:4px; }
 .home-comfort .home-product-card .badge { font-size:10px;padding:4px 7px; }
 .home-comfort .home-product-card .btn { font-size:12px;padding:9px 8px; }
 .home-comfort .home-split-section,.home-comfort .home-article-featured-grid { grid-template-columns:1fr;gap:20px; }
 .home-comfort .home-split-card,.home-comfort .home-article-card .card-body { padding:22px; }
 .home-comfort .home-seo-content-card { padding:24px; }
 .home-comfort .home-seo-content-card h2 { font-size:21px; }
 .home-comfort .home-seo-content-card p { font-size:14px; }
}
@media(max-width:360px) {
 .home-comfort .container { width:calc(100% - 28px); }
 .home-comfort .home-popular-grid a { padding:12px 10px;gap:7px;font-size:13px; }
 .home-comfort .home-product-grid { gap:12px; }
 .home-comfort .home-product-card .product-card-body { padding:12px; }
}
@media(prefers-reduced-motion:reduce) { .home-comfort * { transition:none!important;scroll-behavior:auto!important; } }

/* Recommended articles: one lead story and four supporting stories. */
.home-comfort .home-editorial-grid{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:18px 20px;align-items:stretch}
.home-comfort .home-editorial-card{display:flex;flex-direction:column;min-width:0;margin:0;border:0;background:transparent;box-shadow:none}
.home-comfort .home-editorial-lead{grid-column:1;grid-row:1/span 2}
.home-comfort .home-editorial-image{position:relative;display:block;overflow:hidden;border-radius:9px;aspect-ratio:1.85;background:var(--color-bg-soft);isolation:isolate}
.home-comfort .home-editorial-lead .home-editorial-image{flex:1;aspect-ratio:auto;min-height:240px}
.home-comfort .home-editorial-image>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.home-comfort .home-editorial-image:hover>img{transform:scale(1.025)}
.home-comfort .home-editorial-card h3{font-size:16px;font-weight:600;line-height:1.6;margin:10px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--color-text)}
.home-comfort .home-editorial-card h3 a{color:inherit}.home-comfort .home-editorial-card h3 a:hover{color:var(--color-brand)}
.home-comfort .home-editorial-lead h3{font-size:19px;color:var(--color-brand)}
.home-comfort .home-editorial-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(135deg,#fff7f8,#ffe7ec);padding:18px;color:#df1b32;overflow:hidden}
.home-comfort .home-editorial-placeholder-orbit{position:absolute;width:80%;aspect-ratio:1;border-radius:50%;background:#ffffff70;transform:translate(38%,-20%);z-index:-1}
.home-comfort .home-editorial-placeholder>.icon{width:34px;height:34px;opacity:.6}
.home-comfort .home-editorial-placeholder>img{width:min(62%,200px);height:auto;object-fit:contain}
.home-comfort .home-editorial-placeholder-label{font-size:11px;font-weight:500;line-height:1.5;color:#975462}
.home-comfort .home-editorial-lead .home-editorial-placeholder{gap:20px}
.home-comfort .home-editorial-lead .home-editorial-placeholder>.icon{width:65px;height:65px}
.home-comfort .home-editorial-lead .home-editorial-placeholder>img{width:min(65%,300px)}
.home-comfort .home-editorial-lead .home-editorial-placeholder-label{font-size:15px}
.home-comfort .home-editorial-grid[data-count="1"]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;max-width:720px}
.home-comfort .home-editorial-grid[data-count="1"] .home-editorial-image{aspect-ratio:1.65}
.home-comfort .home-editorial-grid:is([data-count="2"],[data-count="3"]){grid-template-rows:1fr;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr))}
.home-comfort .home-editorial-grid:is([data-count="2"],[data-count="3"]) .home-editorial-lead{grid-row:auto}
.home-comfort .home-editorial-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.home-comfort .home-editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:20px 16px}.home-comfort .home-editorial-lead{grid-column:1/-1;grid-row:auto}.home-comfort .home-editorial-lead .home-editorial-image{aspect-ratio:1.9;min-height:0;flex:none}.home-comfort .home-editorial-lead h3{font-size:19px}.home-comfort .home-editorial-grid:is([data-count="2"],[data-count="3"]){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.home-comfort .home-editorial-grid:is([data-count="2"],[data-count="3"]) .home-editorial-lead{grid-column:1/-1}}
@media(max-width:520px){.home-comfort .home-editorial-grid{gap:20px 12px}.home-comfort .home-editorial-card h3{font-size:14px;line-height:1.65;margin-top:8px}.home-comfort .home-editorial-lead h3{font-size:17px}.home-comfort .home-editorial-placeholder{gap:7px;padding:12px}.home-comfort .home-editorial-placeholder>.icon{width:22px;height:22px}.home-comfort .home-editorial-placeholder-label{display:none}.home-comfort .home-editorial-lead .home-editorial-placeholder{gap:14px}.home-comfort .home-editorial-lead .home-editorial-placeholder>.icon{width:40px;height:40px}.home-comfort .home-editorial-lead .home-editorial-placeholder-label{display:block;font-size:12px}}
@media(prefers-reduced-motion:reduce){.home-comfort .home-editorial-image>img{transition:none}}
.home-comfort .home-featured-articles .home-title-section{flex-direction:row;align-items:center;flex-wrap:nowrap;justify-content:space-between;gap:12px}.home-comfort .home-featured-articles .home-title-section__all{white-space:nowrap}

/* Hero search uses a single neutral focus indicator on the whole form. */
.home-comfort .home-main-search input:focus-visible{outline:0;box-shadow:none}
.home-comfort .home-main-search:focus-within{border-color:#a0a0a0;box-shadow:0 0 0 2px #0000000d}
/* Match the compact category cards only in Latest Products. */
.home-comfort .home-latest-products{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.home-comfort .home-latest-products .home-product-card{border-radius:14px;min-width:0;overflow:hidden}
.home-comfort .home-latest-products .product-image-wrap{display:block;aspect-ratio:4/3}
.home-comfort .home-latest-products .product-image-wrap img{padding:10px}
.home-comfort .home-latest-products .product-card-body{padding:12px;min-width:0}
.home-comfort .home-latest-products .product-meta{font-size:11px;line-height:1.5;margin-bottom:6px}
.home-comfort .home-latest-products .product-title{font-size:14px;line-height:1.5;min-height:3em;margin:0 0 6px;-webkit-line-clamp:2}
.home-comfort .home-latest-products .product-price-row{flex-direction:row;align-items:center;gap:6px;padding-top:2px}
.home-comfort .home-latest-products .product-price{font-size:19px}
.home-comfort .home-latest-products .product-old-price{font-size:11px}
.home-comfort .home-latest-products .btn{width:auto;min-height:40px;padding:8px 10px;font-size:12px}
.home-comfort .home-latest-products .product-badges{top:8px;left:8px;gap:4px}
.home-comfort .home-latest-products .badge{font-size:10px;padding:4px 6px}
@media(max-width:1100px){.home-comfort .home-latest-products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){.home-comfort .home-latest-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 .home-comfort .home-latest-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .home-comfort .home-latest-products .product-card-body{padding:10px}
 .home-comfort .home-latest-products .product-title{font-size:13px}
 .home-comfort .home-latest-products .product-meta{font-size:10px}
 .home-comfort .home-latest-products .product-price{font-size:18px}
 .home-comfort .home-latest-products .product-price-row{flex-wrap:wrap}
 .home-comfort .home-latest-products .btn{min-height:44px}
}

.home-comfort .home-latest-loadmore{text-align:center;margin-top:24px}
.home-comfort .home-latest-loadmore button{min-height:44px;padding:10px 28px;font-size:14px}
.home-comfort .home-latest-loadmore button[hidden]{display:none}
.home-comfort .home-latest-loadmore button:disabled{opacity:.65;cursor:wait}
.home-comfort #homeLatestStatus{font-size:13px;color:var(--color-muted);margin:8px 0 0;min-height:1.5em}

/* Give the desktop banner its own 3:1 proportions; keep mobile copy off the photo. */
@media(max-width:992px){
 .home-comfort .home-search-hero{display:block;min-height:0;padding:20px 0 0;background-image:none}
 .home-comfort .home-search-hero::after{content:"";display:block;width:100%;aspect-ratio:3/1;margin-top:16px;background-image:var(--home-hero-image,url('../images/hero/soezbuy-shopping-red.png'));background-size:contain;background-position:center;background-repeat:no-repeat}
 .home-comfort .home-search-count{display:none}
}
