.catalog-site-header {
  background: #fff;
  border-bottom: 1px solid #edf0f5;
}
.catalog-site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px; margin: 0 auto; padding: 18px 20px;
  color: #8993a3; font-size: 14px;
}
.catalog-site-brand { color: #263447; font-size: 20px; font-weight: 750; text-decoration: none; }
.catalog-site-brand:hover { color: #246ee8; text-decoration: none; }
.body-content-footer-container { display: none; }

.catalog-page {
  min-height: 72vh;
  padding: 38px 20px 60px;
  background: linear-gradient(150deg, #f9fbff 0%, #f7faff 63%, #f0f6ff 100%);
  color: #242936;
}

.catalog-announcement {
  max-width: 1440px;
  margin: 0 auto 22px;
  padding: 0 16px;
}
.catalog-announcement h2 {
  margin: 0 0 8px;
  color: #293447;
  font-size: 19px;
  font-weight: 750;
}
.catalog-announcement p {
  margin: 0;
  color: #5e6878;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.catalog-panel {
  max-width: 1440px;
  min-height: 780px;
  margin: 0 auto;
  padding: 28px 32px 46px;
  border: 1px solid #e9edf5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(34, 60, 112, .07);
}

.catalog-toolbar,
.catalog-heading,
.catalog-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-heading { justify-content: flex-start; gap: 12px; }
.catalog-spark { color: #fa7b3b; font-size: 27px; line-height: 1; }
.catalog-heading h1 { margin: 0; font-size: 24px; font-weight: 750; line-height: 1.3; }
.catalog-count { color: #98a2b3; font-size: 14px; }

.catalog-search {
  display: flex;
  align-items: center;
  width: min(310px, 100%);
  height: 44px;
  border: 1px solid #edf0f6;
  border-radius: 5px;
  background: #f5f7fa;
}
.catalog-search:focus-within { border-color: #4285ff; box-shadow: 0 0 0 3px rgba(66, 133, 255, .14); }
.catalog-search input {
  width: 100%; height: 100%; padding: 0 14px;
  border: 0; outline: 0; background: transparent;
  color: #293246; font-size: 16px;
}
.catalog-search input::placeholder { color: #8994a5; }
.catalog-search button {
  display: grid; place-items: center; flex: 0 0 42px;
  width: 42px; height: 42px; padding: 0;
  border: 0; background: transparent; color: #526075; cursor: pointer;
}
.catalog-search button svg { width: 19px; height: 19px; }
.catalog-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.catalog-demo-note {
  margin: 18px 0 0; padding: 10px 14px; border-radius: 8px;
  background: #f4f8ff; color: #53647f; font-size: 14px; line-height: 1.55;
}

.catalog-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 14px;
  margin-top: 28px;
}
.catalog-category {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 88px; padding: 15px 20px; overflow: hidden;
  border: 1px solid #e8eaf0; border-radius: 12px;
  background: #fafafa; color: #525967; text-decoration: none;
  transition: border-color .16s, background .16s, transform .16s;
}
.catalog-category:hover { border-color: #84aeff; transform: translateY(-2px); text-decoration: none; }
.catalog-category.is-active {
  border-color: #347aff; background: linear-gradient(130deg, #398dff, #2b67eb);
  color: #fff; box-shadow: 0 8px 18px rgba(45, 112, 240, .2);
}
.catalog-category-name { z-index: 1; font-size: 16px; line-height: 1.4; }
.catalog-category-meta { z-index: 1; margin-top: 8px; color: #a2a5ac; font-size: 14px; }
.catalog-category.is-active .catalog-category-meta { color: #eaf2ff; }
.catalog-check {
  position: absolute; right: -12px; bottom: -24px;
  color: rgba(255,255,255,.3); font-size: 82px; font-weight: 800; line-height: 1;
}
.catalog-divider { height: 1px; margin: 34px 0 28px; background: #eef0f4; }
.catalog-results-heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.catalog-results-heading h2 { margin: 0; color: #777e89; font-size: 18px; font-weight: 700; }
.catalog-results-heading p { margin: 0; color: #a2a9b4; font-size: 14px; }

.catalog-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-product {
  display: block; min-width: 0; overflow: hidden;
  border: 1px solid #e0e9fb; border-radius: 9px;
  background: #fff; color: inherit; text-decoration: none;
  box-shadow: 0 3px 8px rgba(42, 87, 164, .06);
  transition: transform .16s, box-shadow .16s;
}
a.catalog-product:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(42, 87, 164, .13); text-decoration: none; }
.catalog-product-media {
  display: grid; place-items: center; height: 244px; overflow: hidden;
  background: #f7f9fc;
}
.catalog-product-media img { width: 100%; height: 100%; object-fit: cover; }
.catalog-product-media.tone-sand { background: #fff8ef; color: #d9764d; }
.catalog-product-media.tone-orange { background: #fff0dc; color: #d65c2c; }
.catalog-product-media.tone-cream { background: #faf7f0; color: #c87853; }
.catalog-product-media.tone-blue { background: #eef4ff; color: #2369cf; }
.catalog-product-media.tone-violet { background: #f1efff; color: #6357bf; }
.catalog-product-mark { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.catalog-product-mark-icon { font-size: 92px; line-height: 1; font-weight: 300; }
.catalog-product-mark strong { font-size: 28px; font-weight: 700; letter-spacing: .01em; }
.catalog-product-info { padding: 17px 16px 18px; }
.catalog-product-info h3 { margin: 0 0 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3d485d; font-size: 16px; font-weight: 500; }
.catalog-product-bottom { gap: 8px; }
.catalog-product-bottom strong { color: #2163de; font-size: 21px; line-height: 1.2; }
.catalog-product-bottom strong.is-placeholder { color: #54719f; font-size: 14px; font-weight: 500; }
.catalog-stock { flex: 0 0 auto; padding: 4px 9px; border-radius: 5px; background: #ecf5ff; color: #3473da; font-size: 12px; font-weight: 600; }
.catalog-stock.is-muted { background: #fff2eb; color: #d6683c; }
.catalog-end { margin: 34px 0 0; color: #8a95a7; text-align: center; font-size: 14px; }
.catalog-pagination { margin-top: 32px; text-align: center; }
.catalog-empty { padding: 76px 20px; text-align: center; color: #66758c; }
.catalog-empty strong { display: block; color: #35445c; font-size: 18px; }
.catalog-empty p { margin: 10px 0 20px; }
.catalog-empty a { color: #2868dd; }

@media (max-width: 1100px) {
  .catalog-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .catalog-site-header-inner { padding: 14px 16px; }
  .catalog-site-brand { font-size: 18px; }
  .catalog-page { padding: 16px 10px 32px; }
  .catalog-announcement { margin-bottom: 17px; padding: 0 7px; }
  .catalog-announcement h2 { font-size: 17px; }
  .catalog-announcement p { font-size: 14px; }
  .catalog-panel { min-height: 0; padding: 20px 14px 30px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; gap: 16px; }
  .catalog-heading h1 { font-size: 21px; }
  .catalog-search { width: 100%; }
  .catalog-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 20px; }
  .catalog-category { min-height: 76px; padding: 11px 13px; }
  .catalog-category-name { font-size: 14px; }
  .catalog-category-meta { margin-top: 5px; font-size: 12px; }
  .catalog-divider { margin: 24px 0 22px; }
  .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catalog-product-media { height: 158px; }
  .catalog-product-mark-icon { font-size: 55px; }
  .catalog-product-mark strong { font-size: 19px; }
  .catalog-product-info { padding: 11px; }
  .catalog-product-info h3 { margin-bottom: 14px; font-size: 14px; }
  .catalog-product-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
  .catalog-product-bottom strong { font-size: 18px; }
}
