.catalog-page { background: #eef0ee; }
.catalog-header { background: rgba(255,255,255,.94); }
.catalog-hero { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; padding: clamp(70px, 9vw, 125px) clamp(20px, 7vw, 110px) clamp(65px, 8vw, 105px); color: #f7f7f7; background: var(--dark); border-bottom: 5px solid transparent; border-image: linear-gradient(90deg, var(--green) 0 33%, var(--blue) 33% 66%, var(--orange) 66%) 1; }
.catalog-hero > div:first-child { max-width: 930px; }
.catalog-hero .back-link { display: inline-block; margin-bottom: 45px; color: #aaa6a4; font-size: 14px; font-weight: 700; }
.catalog-hero .back-link:hover { color: #fff; }
.catalog-hero h1 { max-width: 900px; font-size: clamp(3.1rem, 6.6vw, 7rem); }
.catalog-hero > div:first-child > p:last-child { max-width: 680px; margin: 26px 0 0; color: #bab6b4; font-size: clamp(1rem, 1.5vw, 1.22rem); }
.catalog-note { min-width: 245px; padding: 24px; background: #2b2725; border: 1px solid #484240; border-radius: 18px 5px 18px 5px; }
.catalog-note strong, .catalog-note span { display: block; }
.catalog-note strong { color: #fff; font: 600 17px 'Space Grotesk'; }
.catalog-note span { margin-top: 7px; color: #a8a3a1; font-size: 12px; }
.catalog-browser { padding: clamp(35px, 5vw, 65px) clamp(20px, 7vw, 110px) clamp(80px, 10vw, 140px); }
.catalog-controls { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(250px, 1.8fr) repeat(4, minmax(150px, 1fr)) auto; align-items: end; gap: 12px; margin-top: -70px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 24px 7px 24px 7px; box-shadow: 0 24px 65px rgba(28,35,30,.12); }
.catalog-controls label { display: block; margin-bottom: 7px; color: #555b57; font-size: 12px; font-weight: 800; }
.catalog-controls input, .catalog-controls select { width: 100%; height: 48px; padding: 0 13px; color: var(--ink); background: #f7f8f7; border: 1px solid #d9ddda; border-radius: 8px; outline: none; }
.catalog-controls input:focus, .catalog-controls select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,155,215,.12); }
.clear-filters { height: 48px; padding: 0 16px; color: var(--blue-dark); background: transparent; border: 1px solid #cbd9df; border-radius: 8px; font-weight: 800; cursor: pointer; }
.clear-filters:hover { background: #eef8fc; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin: clamp(60px, 8vw, 105px) 0 30px; }
.catalog-toolbar .eyebrow { margin-bottom: 12px; }
.catalog-toolbar h2 { margin: 0; font-size: clamp(1.9rem, 3.5vw, 3.6rem); letter-spacing: -.045em; }
.catalog-toolbar > p { flex: 0 0 auto; margin: 0 0 8px; color: var(--muted); font-weight: 700; }
.catalog-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; min-height: 325px; display: flex; flex-direction: column; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px 5px 20px 5px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); border-color: #b8d2dd; box-shadow: 0 18px 45px rgba(26,37,31,.09); }
.product-topline { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #e5e8e5; }
.product-category { color: var(--blue-dark); font-size: 11px; font-weight: 800; letter-spacing: .04em; line-height: 1.4; text-transform: uppercase; }
.stock { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.stock::before { content:""; width: 7px; height: 7px; border-radius: 50%; }
.stock.available { color: #276443; background: #e3f5e9; }
.stock.available::before { background: var(--green); }
.stock.consult { color: #8a471f; background: #fff0e7; }
.stock.consult::before { background: var(--orange); }
.product-body { flex: 1; padding: 22px 0; }
.product-brand { margin: 0 0 9px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-card h3 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; overflow-wrap: anywhere; }
.product-code { margin: 14px 0 0; color: #8b918d; font-size: 12px; }
.product-footer { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-top: 18px; border-top: 1px solid #e5e8e5; }
.product-footer small, .product-footer strong { display: block; }
.product-footer small { margin-bottom: 3px; color: #818783; font-size: 11px; }
.product-footer strong { font: 700 20px 'Space Grotesk'; }
.product-footer a { flex: 0 0 auto; padding: 10px 13px; color: #fff; background: var(--green); border-radius: 8px 3px 8px 3px; font-size: 12px; font-weight: 800; }
.product-footer a:hover { background: var(--green-dark); }
.catalog-loading, .catalog-empty { grid-column: 1 / -1; padding: 65px 25px; color: var(--muted); background: #fff; border: 1px dashed #cdd2ce; border-radius: 18px; text-align: center; }
.catalog-loading.error { color: #8a471f; }
.catalog-empty strong { color: var(--ink); font: 600 22px 'Space Grotesk'; }
.catalog-empty p { margin: 8px 0 18px; }
.catalog-empty a { color: var(--green-dark); font-weight: 800; border-bottom: 1px solid currentColor; }
.catalog-pagination { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 42px; }
.catalog-pagination button { min-width: 115px; min-height: 44px; padding: 0 15px; color: #fff; background: var(--dark); border: 0; border-radius: 8px 3px 8px 3px; font-weight: 800; cursor: pointer; }
.catalog-pagination button:disabled { color: #969b97; background: #dfe2df; cursor: not-allowed; }
.catalog-pagination span { min-width: 130px; color: var(--muted); font-size: 13px; font-weight: 800; text-align: center; }
@media (max-width: 1260px) {
  .catalog-controls { grid-template-columns: 2fr repeat(2, 1fr); }
  .clear-filters { width: 100%; }
}
@media (max-width: 1000px) {
  .catalog-hero { grid-template-columns: 1fr; align-items: start; }
  .catalog-note { max-width: 350px; }
  .catalog-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .catalog-hero { padding-top: 55px; }
  .catalog-hero .back-link { margin-bottom: 30px; }
  .catalog-controls { grid-template-columns: 1fr; margin-top: -40px; padding: 16px; }
  .catalog-toolbar { align-items: start; flex-direction: column; gap: 12px; }
  .catalog-results { grid-template-columns: 1fr; }
  .product-card { min-height: 285px; }
  .catalog-pagination { gap: 9px; }
  .catalog-pagination button { min-width: 92px; font-size: 12px; }
  .catalog-pagination span { min-width: 96px; }
}
