.catalog-hero{
  padding:14px 0 12px;
  border-bottom:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(39,169,216,.12) 0%, rgba(234,246,251,.78) 52%, #fff 100%);
}

.catalog-hero h1{
  max-width:760px;
  margin:0;
  color:var(--ink);
  font-size:clamp(24px, 3.2vw, 32px);
  line-height:1.1;
  letter-spacing:0;
}

.catalog-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:4px;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.catalog-breadcrumb a:hover{
  color:var(--brand-dark);
}

.catalog-breadcrumb span:before{
  content:"/";
  margin-right:8px;
  color:#9aa6af;
}

.catalog-page{
  padding:18px 0 44px;
}

.catalog-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  margin-bottom:16px;
}

.catalog-toolbar-main{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}

.catalog-toolbar h2{
  margin:0;
  color:var(--ink);
  font-size:26px;
  line-height:1.15;
  letter-spacing:0;
}

.catalog-toolbar h2 span{
  color:var(--muted);
  font-size:18px;
  font-weight:800;
}

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

.catalog-filter select{
  min-width:170px;
  min-height:42px;
  padding:0 38px 0 12px;
  border:1px solid var(--line);
  border-radius:6px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  font-weight:700;
}

.product-catalog-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.catalog-card{
  height:100%;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  box-shadow:0 14px 34px rgba(29,39,48,.10);
}

.product-catalog-card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:100%;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-catalog-card:hover{
  border-color:rgba(39,169,216,.46);
  box-shadow:0 18px 42px rgba(29,39,48,.14);
  transform:translateY(-2px);
}

.catalog-photo{
  position:relative;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:
    linear-gradient(160deg, rgba(39,169,216,.12), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #eef4f8 100%);
}

.catalog-photo.is-video{
  padding:0;
  overflow:hidden;
}

.catalog-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.catalog-photo.is-video img{
  object-fit:cover;
}

.catalog-video-badge{
  position:absolute;
  top:10px;
  right:10px;
  z-index:1;
  display:inline-grid;
  min-width:30px;
  height:30px;
  place-items:center;
  padding:0 8px;
  border-radius:6px;
  background:rgba(16,24,32,.86);
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1;
  box-shadow:0 8px 18px rgba(16,24,32,.18);
}

.product-catalog-card.is-out-of-stock .catalog-video-badge{
  right:auto;
  left:10px;
  z-index:4;
}

.catalog-placeholder{
  width:min(124px, 70%);
  aspect-ratio:1;
  display:grid;
  place-items:center;
  border:1px solid rgba(39,169,216,.24);
  border-radius:8px;
  background:#fff;
  color:var(--brand-dark);
  font-size:36px;
  font-weight:900;
}

.catalog-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:18px 18px 16px;
}

.catalog-brand{
  display:block;
  color:var(--brand-dark);
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.catalog-body h2{
  margin:8px 0;
  color:var(--ink);
  font-size:23px;
  line-height:1.15;
  letter-spacing:0;
}

.catalog-body p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.5;
}

.product-card-indicators{
  display:grid;
  gap:8px;
  margin:0;
}

.product-card-indicator-badges{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.product-card-indicator-badges span{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:5px 8px;
  border:1px solid var(--line);
  border-radius:6px;
  background:#f8fbfd;
  color:var(--ink);
  font-size:12px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}

.product-card-indicator-flags{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}

.catalog-price{
  display:inline-flex;
  align-self:flex-start;
  margin-top:auto;
  padding:9px 13px;
  border-radius:6px;
  background:var(--soft);
  color:var(--brand-dark);
  font-size:20px;
  line-height:1;
}

.catalog-body p + .catalog-price{
  margin-top:16px;
}

.product-card-indicators + .catalog-price{
  margin-top:16px;
}

.catalog-empty{
  max-width:720px;
  padding:28px;
  border:1px dashed var(--line);
  border-radius:8px;
  background:#fff;
  color:var(--muted);
  box-shadow:0 12px 30px rgba(29,39,48,.05);
}

.catalog-empty h2{
  margin:0 0 8px;
  color:var(--ink);
  font-size:24px;
  line-height:1.2;
  letter-spacing:0;
}

.catalog-empty p{
  margin:0;
}

.catalog-load-more-area{
  display:flex;
  justify-content:center;
  margin-top:24px;
}

.catalog-no-more{
  margin:0;
  color:var(--muted);
  font-size:15px;
  font-weight:800;
}

.product-catalog-card.is-catalog-revealed{
  animation:catalogReveal .32s ease both;
}

@keyframes catalogReveal{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media (max-width:900px){
  .catalog-toolbar{
    align-items:center;
    flex-direction:row;
  }

  .catalog-filter{
    align-items:center;
    justify-content:flex-start;
  }

  .catalog-filter select{
    min-width:170px;
  }

  .product-catalog-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:560px){
  .catalog-hero{
    padding:14px 0 12px;
  }

  .catalog-page{
    padding:20px 0 38px;
  }

  .catalog-filter{
    align-items:center;
    flex-direction:row;
  }

  .product-catalog-grid{
    grid-template-columns:1fr;
  }
}
