/* V84: extracted legacy catalog CSS. Loaded before design system. */
/* ======= Premium Category Products Page ======= */
.cat-products-shell{
  padding-top: 18px;
  padding-bottom: 46px;
}

.cat-breadcrumbs{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  opacity:.78;
  font-size:13px;
  margin-bottom:16px;
}
.cat-breadcrumbs a{
  color:inherit;
  text-decoration:none;
}
.cat-breadcrumbs a:hover{
  text-decoration:underline;
}
.cat-dot{
  width:4px;
  height:4px;
  border-radius:999px;
  background: rgba(255,255,255,.35);
  display:inline-block;
}

.cat-hero{
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at top left, rgba(185, 16, 16, .18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 22px;
}

.cat-hero-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.cat-hero-left{
  display:flex;
  align-items:center;
  gap:16px;
}
.cat-hero-icon{
  width:74px;
  height:74px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex: 0 0 auto;
}
.cat-hero-icon img{
  width:68%;
  height:68%;
  object-fit:contain;
  display:block;
}
.cat-hero-title{
  margin:0;
  font-size: clamp(28px, 3vw, 40px);
  line-height:1.05;
}
.cat-hero-sub{
  margin:8px 0 0;
  opacity:.76;
  font-size:15px;
}
.cat-hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.cat-toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.cat-toolbar h2{
  margin:0 0 6px;
  font-size:18px;
  font-weight:900;
}
.cat-toolbar p{
  margin:0;
  opacity:.72;
}

.cat-stats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.cat-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-size:13px;
  font-weight:800;
}

.filters-card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 18px;
}
.filters-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.filters-head h3{
  margin:0 0 6px;
  font-size:17px;
  font-weight:900;
}
.filters-head p{
  margin:0;
  opacity:.72;
}

.filters-form{
  display:grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(120px, .75fr)) auto auto;
  gap:12px;
  align-items:end;
}
@media (max-width: 1160px){
  .filters-form{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px){
  .filters-form{
    grid-template-columns: 1fr;
  }
}

.filter-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.filter-group label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  opacity:.72;
}

.filter-input,
.filter-select{
  width:100%;
  min-width:0;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: inherit;
  padding: 0 14px;
  outline:none;
}
.filter-input:focus,
.filter-select:focus{
  border-color: rgba(255,255,255,.22);
}

.filter-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.filter-reset{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width: 110px;
  height:46px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration:none;
  color:inherit;
  font-weight:900;
}

.products-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:18px;
}
@media (max-width: 1180px){
  .products-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .products-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .products-grid{ grid-template-columns: 1fr; }
}

.product-tile{
  display:flex;
  flex-direction:column;
  min-width:0;
  text-decoration:none;
  color:inherit;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius:20px;
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.product-tile:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.product-tile-media{
  position:relative;
  width:100%;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.product-tile-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.product-badges-top{
  position:absolute;
  top:12px;
  left:12px;
  right:12px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:8px;
  pointer-events:none;
}

.product-top-badge,
.product-status-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 11px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,.14);
  white-space:nowrap;
}
.badge-hit{
  background: rgba(255, 102, 0, .24);
}
.badge-new{
  background: rgba(0, 132, 255, .20);
}
.product-status-badge.available{
  background: rgba(24, 129, 67, .22);
}
.product-status-badge.unavailable{
  background: rgba(165, 36, 36, .22);
}

.product-tile-body{
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height: 132px;
}
.product-tile-title{
  font-size:16px;
  font-weight:900;
  line-height:1.3;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.product-tile-meta{
  margin-top:auto;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
}
.product-price-wrap{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.product-price-label{
  font-size:12px;
  opacity:.68;
}
.product-price{
  font-size:22px;
  font-weight:1000;
  letter-spacing:.2px;
}
.product-price-sub{
  font-size:13px;
  opacity:.72;
}

.product-tile-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}

.empty-products{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius:20px;
  padding:28px 22px;
  text-align:center;
}
.empty-products i{
  font-size:28px;
  opacity:.75;
  margin-bottom:10px;
}
.empty-products h3{
  margin:0 0 8px;
  font-size:22px;
}
.empty-products p{
  margin:0;
  opacity:.72;
}

.live-loading{
  opacity:.6;
  pointer-events:none;
  transition: opacity .15s ease;
}
