

/* Start:/local/templates/metal_house/styles.css?17772375316744*/
:root {
  --brand: #1F4E79;
  --brand-2: #2E6FA8;
  --brand-dark: #143657;
  --accent: #E8A33A;
  --accent-2: #C9871F;
  --text: #1A2332;
  --muted: #6B7280;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --border: #E1E5EB;
  --success: #2E8B57;
  --danger: #C0392B;
  --hero-grad: linear-gradient(135deg, #1F4E79 0%, #2E6FA8 50%, #4A8EC2 100%);
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-full: 9999px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.topbar__left, .topbar__right { display: flex; gap: 18px; }
.topbar a:hover { color: white; }

/* Header */
.header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__icon {
  width: 38px; height: 38px;
  background: var(--brand); color: white;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
}
.logo__name { font-size: 18px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.logo__name small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 2px; }

.search { flex: 1; max-width: 540px; }
.search input {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg); font-size: 14px;
  font-family: inherit;
}
.search input:focus { outline: 2px solid var(--brand); border-color: var(--brand); background: white; }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__link {
  padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--text);
  border-radius: var(--r-md);
}
.header__link:hover { background: var(--bg); }

.btn-call {
  background: var(--accent); color: white;
  padding: 12px 20px; border-radius: var(--r-lg);
  font-weight: 600; font-size: 14px;
  box-shadow: 0 2px 8px rgba(232,163,58,0.3);
  transition: 0.2s;
}
.btn-call:hover { background: var(--accent-2); }

/* Menu */
.menu { background: white; border-top: 1px solid var(--border); }
.menu .container {
  display: flex; gap: 4px; padding: 4px 24px;
  overflow-x: auto;
}
.menu a {
  padding: 12px 16px; font-size: 14px; font-weight: 500;
  border-radius: var(--r-md); white-space: nowrap;
}
.menu a:hover { background: var(--bg); color: var(--brand); }
.menu__accent { color: var(--accent) !important; font-weight: 600; }
.menu__accent:hover { background: rgba(232,163,58,0.1) !important; }

/* Main */
.main { min-height: 60vh; padding: 24px 0; }

/* Footer */
.footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 24px;
  margin-top: 64px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer h4 {
  color: white; font-size: 14px; font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.footer ul li { list-style: none; margin-bottom: 8px; font-size: 14px; }
.footer a:hover { color: white; }
.footer__contact .footer__phone {
  font-size: 22px; font-weight: 700; color: white;
  margin-bottom: 4px;
}
.footer__contact p { margin-bottom: 4px; }
.footer__copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; margin-top: 32px;
  font-size: 13px; color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* Buttons */
.btn-primary, .btn-accent, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border: 0; border-radius: var(--r-md);
  font-weight: 600; font-size: 14px; cursor: pointer;
  font-family: inherit; transition: 0.2s;
  text-align: center; gap: 6px;
}
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-2); color: white; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-2); }
.btn-outline { background: white; color: var(--brand); border: 2px solid var(--brand); }

/* Сетки и карточки (для каталога) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.card-product {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  transition: 0.2s; cursor: pointer;
}
.card-product:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.card-product__img { aspect-ratio: 4/3; background: var(--bg); }
.card-product__body { padding: 14px; }
.card-product__title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.card-product__price { font-size: 18px; font-weight: 800; color: var(--brand); }

/* Свотчи цвета */
.color-swatches { display: flex; gap: 6px; margin: 10px 0; }
.color-swatch {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer; transition: 0.15s;
}
.color-swatch:hover, .color-swatch.active {
  box-shadow: 0 0 0 2px var(--brand);
}

/* Бейджи */
.badge { display: inline-block; padding: 4px 10px; border-radius: var(--r-full); font-size: 11px; font-weight: 600; }
.badge--success { background: #DCFCE7; color: #14532D; }
.badge--warn    { background: #FEF3C7; color: #78350F; }
.badge--info    { background: #DBEAFE; color: #1E3A8A; }

/* Hero */
.hero {
  background: var(--hero-grad);
  color: white;
  padding: 56px 0;
  margin: -24px -24px 32px;
  border-radius: 0;
  position: relative; overflow: hidden;
}
.hero h1 { font-size: 42px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: 17px; opacity: 0.92; margin-bottom: 24px; max-width: 540px; }

/* Mobile */
@media (max-width: 900px) {
  .header__inner { flex-wrap: wrap; }
  .search { width: 100%; order: 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 28px; }
  .topbar { font-size: 11px; }
  .topbar__left { display: none; }
}

/* End */
/* /local/templates/metal_house/styles.css?17772375316744 */
