/* ===== DESIGN TOKENS ===== */
:root {
  --red:         #C63434;
  --red-dark:    #a02828;
  --red-light:   #FF8484;
  --text:        #000;
  --text-muted:  #555;
  --text-light:  #888;
  --bg:          #f8f9fa;
  --bg-card:     #ffffff;
  --border:      #E0E0E0;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.07);
  --shadow:      0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:   0 20px 40px rgba(0,0,0,.18);
  --radius:      30px;
  --radius-sm:   15px;
  --radius-pill: 999px;
  --tr:          .3s ease;
  --font:        'Inter', 'Arial Black', sans-serif;
  --max-w:       1528px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
main { flex: 1; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 60px 0; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.accent { color: var(--red); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--tr);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.btn-primary, .btn-solar, .btn-sale {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover, .btn-solar:hover, .btn-sale:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(198,52,52,.3);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-sm { padding: 8px 20px; font-size: .85rem; }
.btn-lg { padding: 18px 50px; font-size: 1.05rem; }

/* ===== SITE HEADER ===== */
/* ===== ANNOUNCE BAR ===== */
.header-announce {
  background: var(--red);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 40px;
  position: relative;
  z-index: 1001;
}
.header-announce a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.header-announce a:hover { opacity: .85; }
.header-announce-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.7);
  cursor: pointer; font-size: 1rem; padding: 4px 6px; line-height: 1;
}
.header-announce-close:hover { color: #fff; }

.site-header {
  background: #fff;
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 24px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text);
  flex-shrink: 0;
}
.header-logo .logo-icon {
  display: none;
}
.header-logo img {
  height: 44px;
  width: auto;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.header-nav a {
  padding: 8px 14px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--tr);
}
.header-nav a:hover::after,
.header-nav a.active::after {
  transform: scaleX(1);
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--red);
}
.header-section-badge {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-solar, .badge-sale { background: var(--red); color: #fff; }

/* ===== HEADER CONTACTS / CTA ===== */
.header-contacts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-phone {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.header-phone:hover { color: var(--red); }
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--red);
  color: #fff !important;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--tr);
}
.header-cta-btn:hover { background: #a02828; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--tr); }

/* ===== HERO (main page) ===== */
.hero {
  background: #fff;
  color: var(--text);
  padding: 80px 0 60px;
}
.hero-content { position: relative; }
.hero-tagline {
  color: var(--text-muted);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.hero-logo {
  font-size: clamp(60px, 8vw, 106px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 40px;
}
.hero-logo span { color: var(--red); }

/* ===== MAIN PAGE SERVICE CARDS ===== */
.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  padding: 40px 0 80px;
}
.section-card {
  background: linear-gradient(145deg, #b5b5b5, #8f8f8f);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 480px;
  transition: all .4s ease;
  display: flex;
  flex-direction: column;
}
.section-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.section-card-header {
  padding: 20px 20px 0;
  position: relative;
  z-index: 2;
}
.section-card-header.solar,
.section-card-header.sale { background: transparent; }
.card-star {
  font-size: 100px;
  color: var(--red);
  line-height: 1;
  display: block;
}
.section-card-icon { display: none; }
.section-card-body { display: none; }
.section-card-desc { display: none; }
.section-card-contacts { display: none; }
.section-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  background: rgba(0,0,0,.3);
  transition: background var(--tr);
}
.section-card:hover .section-card-overlay {
  background: rgba(198,52,52,.75);
}
.section-card-title {
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-card-subtitle { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 24px; }
.section-card-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  transition: all var(--tr);
}
.section-card-btn:hover {
  background: #fff;
  color: var(--red);
}
.section-card-footer { display: none; }
.section-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ===== SECTION HERO (inner section pages) ===== */
.section-hero {
  padding: 60px 0 50px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.section-hero.solar,
.section-hero.sale {
  background: #fff;
}
.section-hero-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.section-hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.section-hero-text h1 .accent { color: var(--red); }
.section-hero-text p { color: var(--text-muted); font-size: 1.1rem; }
.section-hero-icon { font-size: 80px; opacity: .15; margin-left: auto; }

/* ===== QUICK TILES ===== */
.quick-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 40px 0 16px;
}
.quick-tile {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--tr);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
}
.quick-tile:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--red);
}
.quick-tile-icon { font-size: 36px; margin-bottom: 10px; }
.quick-tile-name { font-weight: 700; font-size: 1rem; }
.quick-tile-sub { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

/* ===== ABOUT BLOCK ===== */
.about-block {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 36px;
  border: 1px solid var(--border);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.about-block h2 { font-size: 1.4rem; font-weight: 900; margin-bottom: 16px; }
.about-block p { color: var(--text-muted); line-height: 1.8; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--red); }
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb-list a { color: var(--red); }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }

/* ===== CATALOG LAYOUT ===== */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 32px 0 60px;
  min-width: 0;
}
.catalog-layout > * { min-width: 0; }

/* Category tree */
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--text);
  font-weight: 500;
  transition: all var(--tr);
}
.cat-item a:hover { background: var(--bg); color: var(--red); }
.cat-item a.active { background: var(--red); color: #fff; font-weight: 700; }
.cat-item .cat-count {
  font-size: .75rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--border);
  color: var(--text-muted);
}
.cat-item a.active .cat-count { background: rgba(255,255,255,.25); color: #fff; }
.cat-sub { margin-left: 14px; border-left: 2px solid var(--border); padding-left: 10px; margin-top: 4px; }

.sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.sidebar-card-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ===== PRODUCT GRID ===== */
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.products-header h2 { font-size: 1.6rem; font-weight: 900; text-transform: uppercase; }
.products-count { font-size: .85rem; color: var(--text-muted); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  min-width: 0;
}
.products-grid > * { min-width: 0; }
.product-card {
  background: linear-gradient(145deg, #c5c5c5, #9e9e9e);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--tr);
  position: relative;
  height: 400px;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.product-card-img img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-img .no-img { color: rgba(255,255,255,.5); font-size: 64px; }
.product-card-body {
  padding: 18px;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.product-card-name {
  font-weight: 400;
  font-size: .95rem;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}
.product-card-name a { color: #fff; }
.product-card-desc { display: none; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.product-price { font-size: 1rem; font-weight: 700; color: #fff; }
.product-price-old { font-size: .8rem; text-decoration: line-through; color: rgba(255,255,255,.6); }
.stock-badge {
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.stock-in  { background: #dcfce7; color: #15803d; }
.stock-out { background: #fee2e2; color: #dc2626; }

/* Red circle arrow on product card */
.product-card-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 50px;
  height: 50px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  transition: all var(--tr);
  z-index: 2;
}
.product-card-arrow:hover {
  background: var(--red-dark);
  transform: scale(1.1);
  color: #fff;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail { padding: 32px 0 60px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  min-width: 0;
}
.product-detail-grid > * { min-width: 0; }
.product-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #c5c5c5, #9e9e9e);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.product-gallery-thumbs img {
  width: 70px; height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--tr);
}
.product-gallery-thumbs img.active,
.product-gallery-thumbs img:hover { border-color: var(--red); }
.product-info-title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.2;
}
.product-info-price-block { margin: 20px 0; }
.product-info-price { font-size: 2.2rem; font-weight: 900; color: var(--red); }
.product-info-price-old { font-size: 1rem; text-decoration: line-through; color: var(--text-light); margin-right: 10px; }
.product-info-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.product-category-label {
  display: inline-block;
  color: var(--red);
  font-size: .85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .7;
  margin-bottom: 12px;
}

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.specs-table tr:nth-child(even) { background: var(--bg); }
.specs-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.specs-table td:first-child { color: var(--text-muted); width: 45%; }
.specs-table td:last-child { font-weight: 600; }

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 32px 0 60px;
}
.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--tr);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--red);
}
.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-date { font-size: .78rem; color: var(--text-light); margin-bottom: 10px; }
.news-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.news-card-title a:hover { color: var(--red); }
.news-card-preview { font-size: .87rem; color: var(--text-muted); flex: 1; }
.news-card-more { margin-top: 16px; font-size: .85rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .5px; }
.news-card-more:hover { text-decoration: underline; }

/* ===== CONTACTS PAGE ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px 0 60px;
}
.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.contact-card-icon { font-size: 36px; margin-bottom: 14px; }
.contact-card h3 { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; margin-bottom: 12px; }
.contact-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 4px; }
.contact-card a { color: var(--text); font-weight: 700; font-size: 1.1rem; }
.contact-card a:hover { color: var(--red); }

/* Contact form */
.contact-form-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  max-width: 580px;
  margin: 0 auto 60px;
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
}
.form-title { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--tr);
}
.form-control:focus { outline: none; border-color: var(--red); background: #fff; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-success { background: #dcfce7; color: #15803d; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: .9rem; }
.form-error  { background: #fee2e2; color: #dc2626; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: .9rem; }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 64px; margin-bottom: 20px; opacity: .4; }
.empty-state h3 { font-size: 1.3rem; font-weight: 900; text-transform: uppercase; margin-bottom: 8px; color: var(--text); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: .9rem;
  font-weight: 700;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  transition: all var(--tr);
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  color: rgba(255,255,255,.65);
  padding: 56px 0 28px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
.footer-brand .logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -1px;
}
.footer-brand .logo span { color: var(--red); }
.footer-brand img { max-width: 160px; }
.footer-brand p { font-size: .88rem; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .88rem; transition: color var(--tr); }
.footer-col ul a:hover { color: var(--red); }
.footer-extra {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  font-size: .86rem;
  line-height: 1.8;
  color: rgba(255,255,255,.65);
}
.footer-extra a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 3px; }
.footer-extra a:hover { color: #fff; }
.footer-extra strong { color: #fff; }
.footer-extra ul { padding-left: 18px; margin: 6px 0; }
.footer-extra p { margin: 4px 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
}

/* ===== ALERT ===== */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .9rem;
  margin-bottom: 16px;
}
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error   { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.alert-info    { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.mobile-nav a {
  padding: 14px 24px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  transition: all var(--tr);
}
.mobile-nav a:hover { color: var(--red); background: var(--bg); }
.mobile-nav.open { display: flex; }

/* ===== NEWS SECTION HEADER ===== */
.news-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.news-section-header h2 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; }
.news-section-header a { font-size: .9rem; color: var(--red); font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { order: 2; }
  .cat-list { flex-direction: row; flex-wrap: wrap; }
  .cat-sub { display: none; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .header-nav { display: none; }
  .header-contacts { display: none; }
  .burger { display: flex; }
}

@media (max-width: 768px) {
  .hero-logo { font-size: 56px; }
  .section-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .section-hero-icon { display: none; }
  .contact-form-wrap { padding: 28px 20px; }
  .section-hero-text h1 { font-size: 2.2rem; }
  .about-block { padding: 24px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-logo { font-size: 44px; }
  .product-card { height: 340px; }
}
