/* Catalog-only refinements. Load after style.css and refinement.css. */
.product-card .product-info h3 .product-title-brand {
  display: block;
  margin-top: 4px;
  color: #52647a;
  font-weight: 500;
}

.catalog-intro {
  align-items: flex-end;
  gap: 32px;
  padding-top: 26px;
  padding-bottom: 34px;
}

.catalog-intro > div:first-child { min-width: 0; }
.catalog-intro .breadcrumbs { margin-bottom: 24px; font-size: 13px; }
.catalog-intro .eyebrow {
  margin-bottom: 15px;
  font-size: 13px;
  letter-spacing: .065em;
  color: #586d87;
}
.catalog-intro h1 { font-size: clamp(46px, 4.6vw, 66px); line-height: 1.12; }
.catalog-intro p {
  margin-top: 16px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.75;
  color: #52647a;
}
.catalog-number { margin: 0 0 5px; min-width: 160px; gap: 4px; }
.catalog-number > b { font-size: 68px; color: #abbacf; }
.catalog-number > span {
  margin-top: 0;
  max-width: 180px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .035em;
  color: #5b708c;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid #dde5ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px #152d4805;
}
.catalog-search {
  flex: initial;
  gap: 13px;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0 16px;
  min-height: 54px;
  border: 1px solid #e0e7ef;
  border-radius: 11px;
  background: #f5f7fa;
  transition: border-color .2s, background .2s;
}
.catalog-search:focus-within {
  background: #fff;
  border-color: #447bad;
  box-shadow: 0 0 0 3px #1763b511;
}
.catalog-search .icon { width: 21px; height: 21px; color: #57728e; }
.catalog-search input {
  min-width: 0;
  min-height: 52px;
  padding: 12px 0;
  font-size: 17px;
  line-height: 1.5;
  color: #1d314e;
}
.catalog-search input::placeholder { color: #64758b; opacity: 1; }
.catalog-controls {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  width: auto;
  min-width: 0;
}
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 10px;
  min-height: 54px;
  padding: 13px 17px;
  border: 1px solid #d6e0eb;
  border-radius: 11px;
  background: #fff;
  color: #2e496a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition: background .2s, border-color .2s, color .2s;
}
.filter-button .icon { width: 20px; height: 20px; }
.filter-button:hover { background: #f1f5fa; border-color: #b5c6d9; }
.filter-button[aria-expanded="true"] {
  background: #1d3657;
  border-color: #1d3657;
  color: #fff;
}
.sort-control { min-width: 0; max-width: 245px; gap: 0; }
.sort-control > span { display: none; }
.sort-control select {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  max-width: 245px;
  padding: 12px 28px 12px 14px;
  border: 1px solid #dce4ed;
  border-radius: 11px;
  background-color: #fff;
  color: #314b68;
  font-size: 16px;
  line-height: 1.5;
}

.category-filters {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  max-width: none;
  max-height: none;
  margin-top: 14px;
  padding: 20px;
  overflow: visible;
  border: 1px solid #dde5ee;
  border-radius: 14px;
  background: #fff;
}
.category-filters.is-open { display: flex; }
.category-filters > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  max-width: 100%;
  padding: 11px 15px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #f7f9fc;
  color: #3f5774;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}
.category-filters > button span {
  margin-left: 0;
  flex-shrink: 0;
  font-size: 13px;
  opacity: .85;
}
.category-filters > button.active {
  border-color: #1d3657;
  background: #1d3657;
  color: #fff;
}
.category-filters > button:hover:not(.active) {
  border-color: #b7c9dc;
  background: #edf3fa;
}
.catalog-results-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 20px 2px 25px;
  color: #526884;
  font-size: 14px;
  line-height: 1.65;
}
.catalog-results-line > span { flex: 1 1 180px; min-width: 0; }
.saved-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #425c7b;
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
}
.saved-filter .icon { width: 19px; height: 19px; }
.saved-filter:hover { background: #eaf0f7; }
.saved-filter[aria-pressed="true"] {
  color: #1c527f;
  background: #e7eff8;
  border-color: #cbdced;
}
.catalog-grid { row-gap: 40px; }
.catalog-end {
  margin-top: 50px;
  padding: 45px 0 65px;
  border-top: 1px solid #dde5ee;
  gap: 15px;
}
.catalog-end p { font-size: 24px; color: #2d4562; }
.catalog-end .text-link { font-size: 16px; }

@media (max-width: 900px) {
  .catalog-intro { padding-top: 24px; padding-bottom: 30px; }
  .catalog-number { display: none; }
  .catalog-toolbar { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .catalog-controls { justify-content: space-between; }
  .catalog-search { flex-basis: auto; }
}

@media (max-width: 600px) {
  .catalog-intro { padding-top: 21px; padding-bottom: 26px; }
  .catalog-intro .breadcrumbs { margin-bottom: 21px; font-size: 13px; }
  .catalog-intro .eyebrow { font-size: 13px; line-height: 1.6; margin-bottom: 13px; }
  .catalog-intro h1 { font-size: clamp(39px, 10.8vw, 54px); }
  .catalog-intro p { font-size: 16px; line-height: 1.75; margin-top: 15px; }
  .catalog-toolbar { padding: 14px; border-radius: 14px; gap: 12px; }
  .catalog-search { padding-inline: 13px; gap: 10px; }
  .catalog-search input { font-size: 16px; }
  .catalog-controls { gap: 12px; }
  .filter-button { min-height: 52px; padding-inline: 14px; font-size: 16px; }
  .sort-control select { min-height: 52px; font-size: 16px; }
  .category-filters { padding: 15px; gap: 9px; border-radius: 12px; }
  .category-filters > button { min-height: 46px; padding: 11px 13px; font-size: 15px; }
  .category-filters > button span { font-size: 13px; }
  .catalog-results-line { padding-block: 17px 22px; font-size: 14px; gap: 8px 12px; }
  .catalog-results-line > span { flex-basis: 130px; }
  .saved-filter { font-size: 14px; padding-inline: 10px; }
  .catalog-grid { row-gap: 32px; }
  .catalog-end { margin-top: 36px; padding-block: 35px 50px; }
  .catalog-end p { font-size: 23px; }
  .catalog-end .text-link { font-size: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .filter-button { width: 100%; }
  .sort-control, .sort-control select { width: 100%; max-width: none; }
}
