/* Product browsing below the homepage categories. */
.home-market #bestsellers > .container, .home-market #new-products > .container, .home-market #brands > .container { padding:24px; }
.home-market #bestsellers .section-header, .home-market #new-products .section-header, .home-market #brands .section-header { align-items:center; margin-bottom:20px; }
.home-market #bestsellers .section-title, .home-market #new-products .section-title, .home-market #brands .section-title { font-size:20px; }
.home-market #bestsellers-grid { display:grid; grid-auto-flow:column; grid-template-columns:none; grid-template-rows:repeat(var(--rank-rows,3),114px); grid-auto-columns:clamp(285px,32%,430px); gap:0 24px; overflow-x:auto; scrollbar-width:none; scroll-snap-type:x proximity; }
.home-ranked { display:flex; align-items:center; gap:12px; min-width:0; padding:14px 0; min-height:114px; color:var(--text-primary); scroll-snap-align:start; }
.home-ranked__image { display:flex; align-items:center; justify-content:center; flex:0 0 78px; height:78px; }
.home-ranked__image img { width:100%; height:100%; object-fit:contain; }
.home-ranked__number { font-size:28px; font-weight:800; line-height:1; color:var(--color-primary); }
.home-ranked__name { align-self:stretch; display:flex; align-items:center; flex:1; min-width:0; font-size:12px; line-height:2; border-bottom:1px solid var(--border-color-light); padding-block:6px; }
.home-market #new-products-grid { display:flex; gap:0; overflow-x:auto; padding-bottom:8px; scrollbar-width:none; scroll-snap-type:x proximity; }
.home-product { display:flex; flex-direction:column; flex:0 0 205px; min-width:0; padding:8px 16px 12px; border-left:1px solid var(--border-color-light); color:var(--text-primary); scroll-snap-align:start; }
.home-product:last-child { border-left:0; }
.home-product__image { display:block; height:166px; padding:12px; }
.home-product__image img { width:100%; height:100%; object-fit:contain; }
.home-product h3 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:12px; font-weight:400; line-height:2; min-height:48px; margin:12px 0; }
.home-product__pricing { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; }
.home-product__pricing strong { margin-right:auto; font-size:15px; white-space:nowrap; }
.home-product__pricing small { font-size:10px; font-weight:400; }
.home-product__discount { color:#fff; background:var(--color-primary); border-radius:999px; font-size:11px; padding:2px 6px; }
.home-product del { min-height:18px; margin-top:6px; padding-left:20px; text-align:left; color:var(--text-muted); font-size:11px; }
.home-market #recommendations { padding-block:12px; }
.home-discover { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--border-color-light); border-radius:16px; overflow:hidden; }
.home-discover__group { min-width:0; padding:20px; border-left:1px solid var(--border-color-light); }
.home-discover__group:last-child { border-left:0; }
.home-discover h2 { font-size:16px; font-weight:700; margin:0 0 6px; color:var(--text-primary); line-height:1.8; }
.home-discover p { font-size:11px; color:var(--text-muted); margin:0 0 12px; }
.home-discover__images { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:var(--border-color-light); }
.home-discover__images > a { background:#fff; display:flex; align-items:center; justify-content:center; padding:12px; height:115px; min-width:0; }
.home-discover__images img { width:100%; height:100%; object-fit:contain; }
.home-discover__all { display:flex; align-items:center; justify-content:center; gap:4px; font-size:12px; color:var(--color-primary); margin-top:16px; }
.home-discover__all svg { width:16px; height:16px; }
.home-market #brands .brands-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.home-market #brands .brand-card { min-width:0; min-height:100px; aspect-ratio:auto; border-radius:12px; background:#fff; gap:8px; color:inherit; }
.home-market #brands .brand-card__logo { max-width:144px; height:44px; opacity:1; }
.home-market #brands .brand-card__name { text-align:center; font-size:12px; color:var(--text-primary); }
.home-market .service-bar, .home-market .guide-section { display:none; }
.home-market .why-us { margin-block:12px; padding-block:22px; background:#fafafa; border-block:1px solid var(--border-color-light); }
.home-market .why-us .section-header { display:none; }
.home-market .why-us-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.home-market .why-us-card { padding:12px 8px; gap:8px; background:transparent; border:0; border-radius:0; }
.home-market .why-us-card__icon { width:40px; height:40px; padding:8px; background:transparent; color:var(--text-muted); }
.home-market .why-us-card__icon svg { width:26px; height:26px; }
.home-market .why-us-card__title { font-size:12px; color:var(--text-secondary); }
.home-market .why-us-card__text { display:none; }
.home-market #articles { padding-block:28px; }
.home-market #articles-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.home-market .article-card { min-width:0; background:#fff; border:1px solid var(--border-color-light); border-radius:12px; box-shadow:none; }
.home-market .article-card__image { height:180px; aspect-ratio:auto; }
.home-market .article-card__body { padding:14px 16px; }
.home-market .article-card__title { font-size:14px; font-weight:400; line-height:2; min-height:56px; }
.home-market .article-card__excerpt, .home-market .article-card__meta, .home-market .article-card__category { display:none; }
.home-market .cta-section { background:var(--color-primary-50); padding:24px 0; margin-bottom:20px; color:var(--text-primary); }
.home-market .cta__title { font-size:20px; color:var(--text-primary); }
.home-market .cta__text { color:var(--text-secondary); font-size:13px; }
.home-market .cta-section .btn { background:var(--color-primary); color:#fff; border-color:var(--color-primary); }
@media(max-width:768px) {
 .home-market #bestsellers, .home-market #new-products, .home-market #brands { padding-block:10px; }
 .home-market #bestsellers > .container, .home-market #new-products > .container, .home-market #brands > .container { padding:20px 16px; border-inline:0; border-radius:0; }
 .home-market #bestsellers .section-title, .home-market #new-products .section-title, .home-market #brands .section-title { font-size:17px; }
 .home-market #bestsellers .section-header, .home-market #new-products .section-header, .home-market #brands .section-header { gap:10px; margin-bottom:14px; }
 .home-market #bestsellers-grid { display:grid; grid-auto-flow:column; grid-template-rows:repeat(var(--rank-rows,3),100px); grid-template-columns:none; grid-auto-columns:275px; gap:0 16px; overflow-x:auto; padding-bottom:4px; scrollbar-width:none; scroll-snap-type:x proximity; }
 .home-ranked { min-height:100px; gap:10px; padding:10px 0; scroll-snap-align:start; }
 .home-ranked__image { flex-basis:66px; height:66px; }
 .home-ranked__number { font-size:26px; }
 .home-ranked__name { font-size:12px; line-height:1.9; }
 .home-product { flex-basis:164px; padding:4px 12px 12px; }
 .home-product__image { height:130px; padding:8px; }
 .home-product h3 { font-size:12px; min-height:48px; margin:10px 0 12px; }
 .home-product__pricing strong { font-size:14px; }
 .home-product__pricing small { font-size:9px; }
 .home-product__discount { font-size:10px; padding-inline:5px; }
 .home-market #recommendations > .container { padding-inline:16px; }
 .home-discover { grid-template-columns:repeat(2,minmax(0,1fr)); border-radius:12px; }
 .home-discover__group { padding:16px 12px; border-bottom:1px solid var(--border-color-light); }
 .home-discover__group:nth-child(even) { border-left:0; }
 .home-discover__group:nth-last-child(-n+2) { border-bottom:0; }
 .home-discover h2 { font-size:13px; line-height:1.9; }
 .home-discover p { font-size:10px; }
 .home-discover__images > a { height:76px; padding:8px; }
 .home-discover__all { margin-top:12px; font-size:11px; }
 .home-market #brands .brands-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
 .home-market #brands .brand-card { min-height:78px; padding:8px; gap:4px; }
 .home-market #brands .brand-card__logo { height:34px; }
 .home-market #brands .brand-card__name { font-size:11px; }
 .home-market .why-us { padding-block:16px; }
 .home-market .why-us-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
 .home-market .why-us-card { padding:4px 0; }
 .home-market .why-us-card__title { font-size:10px; line-height:1.9; text-align:center; }
 .home-market #articles { padding-block:22px; }
 .home-market #articles-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .home-market .article-card { flex:initial; }
 .home-market .article-card__image { height:110px; }
 .home-market .article-card__body { padding:10px; }
 .home-market .article-card__title { font-size:12px; line-height:1.9; min-height:46px; }
 .home-market .cta-section { margin:0 16px 20px; padding:20px 0; border-radius:14px; }
 .home-market .cta__title { font-size:17px; }
 .home-market .cta__text { font-size:12px; line-height:1.9; }
 .home-market .cta-section .btn { min-height:42px; font-size:12px; }
}
