/* Homepage best sellers and dedicated products page */

.page-shell{min-height:100vh;background:var(--cream)}
.home-best-sellers{padding:96px 0}
.home-best-sellers .section-heading{text-align:center;display:block;margin-bottom:42px}
.home-best-sellers .section-heading h2{font-size:clamp(42px,6vw,72px);margin-bottom:10px}
.home-best-sellers .section-heading p{max-width:620px;margin:0 auto;color:var(--muted);font-size:15px}
.best-seller-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.best-seller-card{position:relative}
.best-seller-image{position:relative;aspect-ratio:4/5;border-radius:20px;overflow:hidden;background:var(--beige)}
.best-seller-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.best-seller-card:hover .best-seller-image img{transform:scale(1.035)}
.catalog-badge{position:absolute;top:14px;left:14px;padding:7px 11px;border-radius:999px;background:#f4ce48;color:#29261f;font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.best-seller-card h3,.catalog-card h3{font-family:var(--serif);font-weight:500;line-height:1.15}
.best-seller-card h3{font-size:28px;margin:16px 0 6px}
.best-seller-card p{margin:0;color:var(--muted);font-size:14px}
.best-seller-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}
.best-seller-meta strong{font-size:13px;color:var(--blush)}
.best-seller-meta button{border:0;background:transparent;padding:0;border-bottom:1px solid currentColor;font-size:11px;font-weight:600}
.view-all-wrap{text-align:center;margin-top:42px}
.view-all-link{display:inline-flex;align-items:center;gap:8px;border-bottom:1px solid currentColor;padding-bottom:4px;font-size:13px;font-weight:600}

.products-hero{padding:88px 0 42px;text-align:center}
.products-hero h1{font-family:var(--serif);font-size:clamp(48px,8vw,84px);font-weight:500;line-height:1;margin:0 0 14px}
.products-hero p{max-width:640px;margin:0 auto;color:var(--muted);font-size:15px}
.catalog-controls{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;margin:34px 0 30px}
.catalog-filter{display:flex;align-items:center;gap:12px}
.catalog-filter label{font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:600}
.catalog-filter select{min-width:190px;border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:11px 34px 11px 12px;font-size:12px}
.catalog-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:10px 12px;min-width:260px}
.catalog-search input{border:0;outline:0;background:transparent;width:100%;font-size:12px}
.catalog-count{margin:0 0 18px;color:var(--muted);font-size:11px}
.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px;padding-bottom:96px}
.catalog-card{min-width:0}
.catalog-card-image{position:relative;aspect-ratio:4/5;border-radius:14px;overflow:hidden;background:var(--beige)}
.catalog-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.catalog-card:hover img{transform:scale(1.035)}
.catalog-card h3{font-size:23px;margin:12px 0 4px}
.catalog-card .catalog-price{font-size:12px;color:var(--blush);font-weight:700}
.catalog-card .catalog-description{font-size:11px;line-height:1.5;color:var(--muted);margin:7px 0 10px;min-height:34px}
.catalog-card .catalog-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}
.catalog-card .catalog-actions button{border:0;background:transparent;padding:0;border-bottom:1px solid currentColor;font-size:10px;font-weight:600}
.catalog-status{font-size:8px;border-radius:999px;background:var(--sage-light);color:var(--sage);padding:4px 7px}
.catalog-status.limited{background:var(--blush-light);color:#9b6766}
.catalog-empty{text-align:center;padding:40px 0 90px;color:var(--muted)}
.catalog-empty[hidden]{display:none}

.simple-header-link{font-size:12px;font-weight:600}

@media (max-width:899px){
  .best-seller-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
  .best-seller-grid .best-seller-card:last-child{grid-column:1/-1;max-width:50%;justify-self:center;width:100%}
  .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px}
  .catalog-controls{grid-template-columns:1fr}
  .catalog-search{min-width:0}
}

@media (max-width:599px){
  .home-best-sellers{padding:72px 0}
  .best-seller-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}
  .best-seller-grid .best-seller-card:last-child{grid-column:auto;max-width:none}
  .best-seller-image{border-radius:14px}
  .best-seller-card h3{font-size:19px;margin-top:10px}
  .best-seller-card p{font-size:11px}
  .best-seller-meta{align-items:flex-start;flex-direction:column;gap:6px}
  .products-hero{padding-top:64px}
  .catalog-filter{align-items:stretch;flex-direction:column;gap:7px}
  .catalog-filter select{width:100%}
  .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 8px}
  .catalog-card-image{border-radius:10px}
  .catalog-badge{top:7px;left:7px;padding:4px 7px;font-size:6px}
  .catalog-card h3{font-size:14px;margin:8px 0 3px}
  .catalog-card .catalog-price{font-size:9px}
  .catalog-card .catalog-description{display:none}
  .catalog-card .catalog-actions{align-items:flex-start;flex-direction:column;gap:5px}
  .catalog-card .catalog-actions button{font-size:8px}
  .catalog-status{font-size:6px;padding:3px 5px}
}

@media (max-width:420px){
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}
  .catalog-card h3{font-size:18px}
  .catalog-card .catalog-price{font-size:11px}
}
