/* Desktop home: each product is a vertical card. Category directory keeps its list. */
.home-page .notice-bar{display:none}
@media(max-width:700px){
 .home-page .home-spotlight{display:block;order:1;margin:0 0 8px;min-width:0}
 .spotlight-heading>h2{font-size:14px;line-height:1.5;margin:2px 0 7px;font-weight:600}
 .home-spotlight-rail{width:100%;overflow:hidden;touch-action:pan-y;cursor:grab}
 .home-spotlight-rail.is-dragging{cursor:grabbing;user-select:none}
 .home-spotlight-track{display:flex;gap:8px;width:100%;will-change:transform}
 .home-spotlight-card{display:flex;flex-direction:column;align-items:stretch;gap:3px;padding:6px;background:#fff;border-radius:10px;width:calc((100% - 16px)/3);aspect-ratio:1;flex:0 0 calc((100% - 16px)/3);min-width:0;box-sizing:border-box}
 .spotlight-art{width:100%;height:0;min-height:0;flex:1}
 .spotlight-art img{width:100%;height:100%;object-fit:cover;border-radius:7px}
 .spotlight-info{display:block;min-width:0;flex:0 0 16px;line-height:16px}
 .spotlight-info>span{display:none}
 .spotlight-info>a{display:block;font-size:10px;line-height:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .spotlight-action{display:flex;justify-content:space-between;align-items:center;gap:4px;flex-shrink:0}
 .spotlight-action>strong{font-size:12px;color:var(--accent);white-space:nowrap}
 .spotlight-action>a{font-size:10px;line-height:1.4;min-height:22px;padding:4px 7px;background:var(--accent);color:#fff;border-radius:14px;white-space:nowrap}
 .spotlight-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
 .home-spotlight-rail:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
 .home-spotlight-rail::-webkit-scrollbar{display:none}
}
@media(min-width:701px){
 .home-page .product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;background:none;border-radius:0;overflow:visible}
 .home-page .product{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;min-height:0;padding:16px;background:#fff;border:0;border-radius:8px}
 .home-page .product-art{width:100%;height:auto;aspect-ratio:1;border-radius:4px;background:#f7f9fc}
 .home-page .product-art img{object-fit:cover}
 .home-page .product-details{flex:1;padding:14px 0 0}
 .home-page .product h3{font-size:14px;line-height:1.5;font-weight:400;margin:0;min-height:42px;overflow-wrap:anywhere}
 .home-page .product .stock,.home-page .product .product-description,.home-page .product .assurance{display:none}
 .home-page .product-action{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;margin-top:12px;text-align:left}
 .home-page .price{font-size:20px;font-weight:400;line-height:1.2;white-space:nowrap;margin:0}
 .home-page .price small{font-size:12px;margin-right:2px}
 .home-page .buy,.home-page .buy.free{width:auto;min-width:0;min-height:26px;padding:3px 10px;border:1px solid var(--accent);border-radius:20px;background:#fff;color:var(--accent);font-size:12px;line-height:1.4;white-space:nowrap}
 .home-page .buy:hover{background:#eef7ff}
 .home-page .buy.disabled{border-color:#e4e8ee;color:#8b929d;background:#f6f7f9}
}
@media(min-width:1000px){.home-page .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1200px){.home-page .product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
/* Phone home returns to the original red banner and two rows of quick entries. */
@media(max-width:700px){
 .home-page .product-art img{object-fit:cover}
 .home-page .quick-grid{margin-top:3px}
 .home-page .product h3{font-weight:600}
}
/* Homepage category tiles use configured artwork above the category name. */
.home-page .category-bar{padding-top:8px;padding-bottom:8px}
.home-page .category-chips{gap:14px;padding:3px 1px}
.home-page .category-chips .chip{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;width:80px;min-width:80px;padding:4px;background:transparent;border-radius:8px;color:var(--muted)}
.home-page .category-chips .chip>img{width:36px;height:36px;object-fit:contain}
.home-page .category-chips .chip>i{font-size:32px;line-height:36px;color:#7f9bb9}
.home-page .category-chips .chip>span{font-size:12px;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere}
.home-page .category-chips .chip.selected{background:#eef7ff;color:var(--accent)}
.home-page .category-chips .chip.selected>i{color:var(--accent)}
.home-page .category-chips .chip:hover{color:var(--accent)}
@media(max-width:700px){
 .home-page .category-bar{padding-top:5px;padding-bottom:5px}
 .home-page .category-chips{gap:5px}
 .home-page .category-chips .chip{width:66px;min-width:66px;gap:3px;padding:3px}
 .home-page .category-chips .chip>img{width:28px;height:28px}
 .home-page .category-chips .chip>i{font-size:26px;line-height:28px}
 .home-page .category-chips .chip>span{font-size:10px}
 .home-page .category-chips .chip.selected{background:#fff3f4}
}
