/* Extracted from inline <style> in templates/storefront/partials/home_top_sellers.html */

/* --- Block 1 --- */

.hts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hts-card{position:relative;background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s,border-color .15s}
.hts-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.08);border-color:#d1d5db}
.hts-rank{position:absolute;top:8px;left:8px;width:26px;height:26px;border-radius:50%;background:#94a3b8;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;z-index:2;line-height:1}
.hts-rank--1{background:linear-gradient(135deg,#f59e0b,#d97706)}
.hts-rank--2{background:linear-gradient(135deg,#9ca3af,#6b7280)}
.hts-rank--3{background:linear-gradient(135deg,#cd7f32,#a0522d)}
.hts-link{text-decoration:none;color:inherit;display:flex;flex-direction:column;flex:1}
.hts-img{padding:16px;display:flex;align-items:center;justify-content:center;background:#fafafa;aspect-ratio:1}
.hts-img img{width:100%;height:100%;object-fit:contain}
.hts-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:12px}
.hts-body{padding:12px 14px 8px;flex:1;display:flex;flex-direction:column}
.hts-name{font-size:13px;font-weight:600;line-height:1.35;color:#1f2937;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:35px;margin-bottom:4px}
.hts-social{font-size:11px;color:#d97706;font-weight:600;margin-bottom:6px}
.hts-price{margin-top:auto;font-size:16px;font-weight:700;color:#1e40af}
.hts-price small{font-size:11px;font-weight:400;color:#6b7280}
.hts-action{padding:0 12px 12px}
.hts-action .btn{font-size:12px;padding:7px 12px;border-radius:6px}
.hts-link:focus-visible{outline:2px solid #2563eb;outline-offset:-2px;border-radius:10px}
.hts-card:has(.hts-link:focus-visible){border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.25)}
@media(max-width:1023px){.hts-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:479px){
  .hts-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .hts-img{padding:10px}
  .hts-body{padding:8px 10px 6px}
  .hts-name{font-size:12px;min-height:32px}
  .hts-price{font-size:14px}
}
@media print{.home-top-sellers{display:none!important}}
@media(prefers-reduced-motion:reduce){.hts-card{transition:none}}
