* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: #070b14;
  color: white;
}

.container {
  width: min(1400px, calc(100% - 40px));
  margin: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(7,11,20,.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.logo {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 2px;
}

.logo-sub {
  color: #9ca3af;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: white;
  text-decoration: none;
}

.hero {
  padding: 80px 0;
  background:
    radial-gradient(circle at top right, rgba(0,255,170,.25), transparent 30%),
    radial-gradient(circle at bottom left, rgba(0,132,255,.25), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,255,170,.15);
  border: 1px solid rgba(0,255,170,.4);
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  margin-bottom: 25px;
}

.hero p {
  font-size: 20px;
  color: #cbd5e1;
  max-width: 650px;
  margin-bottom: 35px;
}

.hero-card img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}

.hero-buttons,
.contact-links,
.header-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg,#00d084,#00a86b);
  color: black;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.15);
  color: white;
}

.dark {
  color: #111;
  border-color: #ddd;
}

.big-btn {
  padding: 18px 32px;
}

.small-btn {
  padding: 12px 18px;
  width: 100%;
}

.hero-features {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  color: #d1d5db;
}

.advantages,
.catalog-section,
.contacts-section {
  padding: 90px 0;
}

.section-title {
  font-size: 42px;
  margin-bottom: 40px;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
}

.adv-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 28px;
  padding: 30px;
}

.adv-icon {
  font-size: 42px;
  margin-bottom: 18px;
}

.adv-card p {
  margin-top: 12px;
  color: #9ca3af;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

.sidebar {
  background: #111827;
  border-radius: 28px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar h3 {
  margin-bottom: 20px;
}

.category-btn {
  width: 100%;
  margin-bottom: 12px;
  border: none;
  border-radius: 14px;
  padding: 14px;
  background: #1f2937;
  color: white;
  cursor: pointer;
}

.category-btn.active {
  background: linear-gradient(135deg,#00d084,#00a86b);
  color: black;
}

.catalog-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

.search-input {
  background: #111827;
  border: 1px solid rgba(255,255,255,.08);
  padding: 14px 18px;
  border-radius: 16px;
  color: white;
  width: 320px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.product-card {
  background: #111827;
  border-radius: 28px;
  overflow: hidden;
  transition: .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-info {
  padding: 24px;
}


.product-badge.green {
  background: #00d084;
  color: black;
}

.product-badge.blue {
  background: #3b82f6;
}

.product-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.product-price {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 18px;
}

.product-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.product-meta span {
  background: #1f2937;
  padding: 8px 12px;
  border-radius: 999px;
  color: #d1d5db;
}

.contacts-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
}

.contacts-card,
.map-card {
  background: white;
  color: #111;
  border-radius: 28px;
  padding: 35px;
}

.contact-item {
  margin-top: 22px;
}

.contact-item p,
.contact-item a {
  color: #374151;
}

iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 20px;
}

.footer {
  padding: 50px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 28px;
  font-weight: 900;
}

@media (max-width: 1100px) {

  .hero-grid,
  .catalog-layout,
  .contacts-grid,
  .adv-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .catalog-top,
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-input {
    width: 100%;
  }

}
/* =========================
   PRODUCT PAGE
========================= */


.product-page-info h1 {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.product-page-price {
  font-size: 42px;
  font-weight: 700;

  margin-bottom: 24px;

  color: #00ffb2;
}

.product-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 32px;
}

.product-page-meta span {
  padding: 10px 14px;

  border-radius: 999px;

  background: rgba(255,255,255,.08);

  font-size: 14px;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  padding: 18px 24px;

  border-radius: 18px;

  background: linear-gradient(
    135deg,
    #00c3ff,
    #0057ff
  );

  color: white;
  font-weight: 700;
  font-size: 18px;

  text-decoration: none;

  transition: .25s ease;

  margin-bottom: 40px;
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(0,140,255,.35);
}

.product-page-description {
  width: 100%;
  max-width: 760px;

  margin: 0 auto;

  text-align: left;

  font-size: 16px;
  line-height: 1.45;

  color: rgba(255,255,255,.88);
}

.product-page-description p {
  margin-bottom: 10px;
}

.product-page-description br {
  display: block;
  content: "";
  margin-top: 6px;
}

.product-page-description ul,
.product-page-description ol {
  padding-left: 20px;
  margin: 12px 0;
}

.product-page-description li {
  margin-bottom: 6px;
}

.product-page-description strong {
  color: white;
}

.product-page-description h2,
.product-page-description h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

@media (max-width: 980px) {

  .product-page-info h1 {
    font-size: 32px;
  }

  .product-page-price {
    font-size: 32px;
  }
}

/* =========================
   PRODUCT PAGE CENTERED
========================= */

.product-page {
  padding: 40px 20px 80px;
}

.product-page-container {
  max-width: 900px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.product-gallery {
  width: 100%;

  display: flex;
  justify-content: center;

  margin-bottom: 40px;
}

.product-page-image {
  width: 100%;
  max-width: 420px;

  max-height: 420px;

  object-fit: contain;

  border-radius: 28px;

  background: #111;

  padding: 20px;

  box-shadow:
    0 20px 60px rgba(0,0,0,.35);
}

.product-page-info {
  width: 100%;
  max-width: 760px;
}

.product-page-info h1 {
  font-size: 42px;
  line-height: 1.15;

  margin-bottom: 20px;

  color: white;
}

.product-page-price {
  font-size: 44px;
  font-weight: 800;

  color: #00ffb2;

  margin-bottom: 24px;
}

.product-page-meta {
  display: flex;

  justify-content: center;
  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 36px;
}

.product-page-meta span {
  padding: 10px 16px;

  border-radius: 999px;

  background: rgba(255,255,255,.08);

  font-size: 14px;

  color: rgba(255,255,255,.8);
}

.buy-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 18px 34px;

  border-radius: 18px;

  background: linear-gradient(
    135deg,
    #00c3ff,
    #0057ff
  );

  color: white;

  font-size: 18px;
  font-weight: 700;

  text-decoration: none;

  margin-bottom: 50px;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.buy-btn:hover {
  transform: translateY(-3px);

  box-shadow:
    0 15px 40px rgba(0,120,255,.35);
}

.product-page-description {
  width: 100%;
  max-width: 760px;

  text-align: left;

  line-height: 1.8;

  font-size: 16px;

  color: rgba(255,255,255,.82);
}

.product-page-description p {
  margin-bottom: 10px;
}

.product-page-description ul,
.product-page-description ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.product-page-description li {
  margin-bottom: 4px;
}

.product-page-description strong {
  color: white;
}

/* MOBILE */

@media (max-width: 768px) {

  .product-page-info h1 {
    font-size: 30px;
  }

  .product-page-price {
    font-size: 34px;
  }

  .product-page-image {
    max-width: 300px;
    max-height: 300px;
  }

  .buy-btn {
    width: 100%;
  }
}
/* =========================
   FORCE PRODUCT PAGE FIX
========================= */

.product-page-container {
  max-width: 900px !important;

  margin: 0 auto !important;

  display: flex !important;
  flex-direction: column !important;

  align-items: center !important;

  text-align: center !important;
}

.product-gallery {
  width: 100% !important;

  display: flex !important;
  justify-content: center !important;

  margin-bottom: 40px !important;
}

.product-page-image {
  width: 100% !important;

  max-width: 420px !important;
  max-height: 420px !important;

  object-fit: contain !important;

  margin: 0 auto !important;
}

.product-page-info {
  width: 100% !important;

  max-width: 760px !important;

  position: static !important;
}

.product-page-description {
  max-width: 760px !important;

  margin: 0 auto !important;

  text-align: left !important;
}
/* =========================
   HERO BANNER
========================= */

.hero-banner {
  padding: 24px 20px 10px;
}

.hero-banner-link {
  display: block;

  width: 100%;
  max-width: 1400px;

  margin: 0 auto;

  border-radius: 32px;

  overflow: hidden;

  transition: .3s ease;
}

.hero-banner-link:hover {
  transform: scale(1.01);

  box-shadow:
    0 25px 60px rgba(0,0,0,.35);
}

.hero-banner-image {
  width: 100%;

  display: block;

  object-fit: cover;

  border-radius: 32px;
}
/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  backdrop-filter: blur(18px);

  background:
    rgba(7,11,20,.72);

  border-bottom:
    1px solid rgba(255,255,255,.06);
}

.header-inner {
  width: 100%;

  max-width: 1800px;

  margin: 0 auto;

  padding:
    18px 32px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.logo {
  font-size: 34px;
  font-weight: 900;

  letter-spacing: 2px;

  color: white;
}

.logo-on {
  color: #00ffb2;
}

.header-links {
  display: flex;
  gap: 14px;

  flex-wrap: wrap;
}

.header-links a {
  text-decoration: none;

  color: rgba(255,255,255,.85);

  padding: 10px 16px;

  border-radius: 999px;

  background:
    rgba(255,255,255,.06);

  transition: .25s ease;
}

.header-links a:hover {
  background:
    rgba(255,255,255,.12);

  transform: translateY(-2px);
}

/* =========================
   HERO FULL WIDTH
========================= */

.hero-banner {
  width: 100%;

  padding: 0;
}

.hero-banner-link {
  display: block;

  width: 100%;
}

.hero-banner-image {
  width: 100%;

  display: block;

  object-fit: cover;
}

/* =========================
   SEO TEXT
========================= */

.seo-text {
  max-width: 1200px;

  margin: 70px auto;

  padding: 0 24px;

  text-align: center;
}

.seo-text h2 {
  font-size: 48px;

  margin-bottom: 24px;
}

.seo-text p {
  font-size: 20px;

  line-height: 1.7;

  color: rgba(255,255,255,.72);

  max-width: 900px;

  margin:
    0 auto 18px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;

    align-items: flex-start;
  }

  .header-links {
    width: 100%;
  }

  .seo-text h2 {
    font-size: 34px;
  }

  .seo-text p {
    font-size: 17px;
  }
}
/* =====================================================
   SENSOR PREMIUM FIX — HOME, LOGO, HERO, CATALOG
===================================================== */

html { scroll-behavior: smooth; }

.header { position: sticky; top: 0; z-index: 1000; background: rgba(7, 11, 20, .78); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { width: 100%; max-width: 1800px; min-height: 84px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: center; }
.brand-logo-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.brand-logo-img { display: block; height: 56px; width: auto; object-fit: contain; filter: drop-shadow(0 0 18px rgba(0,255,178,.20)); }

.hero-banner { width: 100%; padding: 0; margin: 0; }
.hero-banner-link { display: block; width: 100%; cursor: pointer; }
.hero-banner-image { display: block; width: 100%; height: auto; object-fit: cover; }

.social-section { width: min(1180px, calc(100% - 40px)); margin: 28px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.social-card { min-height: 92px; padding: 20px 22px; border-radius: 24px; text-decoration: none; color: white; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 18px 45px rgba(0,0,0,.22); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.social-card:hover { transform: translateY(-4px); border-color: rgba(0,255,178,.35); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.social-card span { display: block; font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.social-card small { color: rgba(255,255,255,.66); line-height: 1.35; }

.catalog-section { width: min(1500px, calc(100% - 40px)); margin: 76px auto 0; padding: 0; }
.section-head { max-width: 860px; margin: 0 auto 34px; text-align: center; }
.section-kicker { display: inline-flex; margin-bottom: 14px; padding: 9px 14px; border-radius: 999px; color: #07140f; background: linear-gradient(135deg, #00ffb2, #00d084); font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.section-head h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; margin-bottom: 16px; }
.section-head p { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.68); }

.catalog-toolbar { margin: 0 auto 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.catalog-toolbar .search-input { width: min(100%, 460px); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: 18px; padding: 16px 18px; color: white; font-size: 16px; outline: none; }
.catalog-toolbar .search-input:focus { border-color: rgba(0,255,178,.55); box-shadow: 0 0 0 4px rgba(0,255,178,.10); }
.catalog-toolbar .search-input::placeholder { color: rgba(255,255,255,.48); }
.catalog-count { color: rgba(255,255,255,.62); font-weight: 700; white-space: nowrap; }
.category-list { margin: 0 0 28px; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.category-list .category-btn { width: auto; margin: 0; flex: 0 0 auto; border-radius: 999px; padding: 11px 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.84); font-weight: 800; }
.category-list .category-btn.active { background: linear-gradient(135deg,#00ffb2,#00d084); color: #07140f; border-color: transparent; }

.products-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; gap: 24px !important; }
.product-card { background: #111827; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); box-shadow: 0 18px 48px rgba(0,0,0,.22); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(0,255,178,.22); box-shadow: 0 26px 70px rgba(0,0,0,.38); }
.product-card-link { display: flex; flex-direction: column; height: 100%; color: white; text-decoration: none; }
.product-image-wrap { height: 320px; padding: 24px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 0%, rgba(0,255,178,.12), transparent 48%), rgba(255,255,255,.025); }
.product-card img.product-image, .product-image { width: 100%; height: 100%; object-fit: contain !important; display: block; transition: transform .28s ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-info { padding: 22px; }
.product-title { font-size: 18px; line-height: 1.35; min-height: 50px; margin: 0 0 14px; }
.product-condition { display: inline-flex; margin-bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); font-size: 13px; }
.product-price { font-size: 30px; line-height: 1; font-weight: 900; color: #00ffb2; margin: 0; }
.catalog-actions { margin-top: 32px; display: flex; justify-content: center; }
.show-all-btn { border: 0; border-radius: 18px; padding: 17px 28px; cursor: pointer; color: #07140f; background: linear-gradient(135deg, #00ffb2, #00d084); font-weight: 900; font-size: 16px; box-shadow: 0 16px 42px rgba(0,255,178,.18); transition: transform .25s ease, box-shadow .25s ease; }
.show-all-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 54px rgba(0,255,178,.25); }

.seo-text { max-width: 1000px; margin: 72px auto; padding: 0 24px; text-align: center; }
.seo-text h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.seo-text p { max-width: 820px; margin: 0 auto 14px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.65; }

@media (max-width: 768px) {
  .header-inner { min-height: 72px; padding: 12px 20px; }
  .brand-logo-img { height: 44px; }
  .social-section { grid-template-columns: 1fr; width: min(100% - 28px, 480px); margin-top: 18px; }
  .catalog-section { width: min(100% - 28px, 520px); margin-top: 48px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-toolbar .search-input { width: 100%; }
  .catalog-count { white-space: normal; }
  .products-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .product-image-wrap { height: 260px; padding: 18px; }
  .product-title { min-height: auto; }
  .product-price { font-size: 26px; }
}

/* =========================
   SENSOR CATALOG REWORK
========================= */

.header {
  display: none !important;
}

.hero-banner {
  min-height: auto;
}

.social-section {
  width: min(1280px, calc(100% - 40px)) !important;
  margin: 26px auto 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.social-card {
  min-height: 96px !important;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  border-radius: 18px !important;
  padding: 18px 20px !important;
  position: relative;
  overflow: hidden;
}

.social-card::after {
  content: none;
}

.social-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: white;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0;
  box-shadow: none;
  overflow: hidden;
  padding: 0;
}

.social-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.social-copy {
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0 !important;
}

.social-copy strong {
  display: block;
  color: white;
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
}

.social-copy small {
  display: block;
  color: rgba(255,255,255,.80) !important;
  font-size: 14px;
  line-height: 1.3;
}

.social-avito .social-icon {
  flex-basis: 86px;
  width: 86px;
}

.social-avito .social-copy small {
  font-weight: 800;
}

.social-avito {
  background: linear-gradient(135deg, rgba(14,180,90,.96), rgba(70,86,246,.86)) !important;
}

.social-telegram {
  background: linear-gradient(135deg, rgba(40,168,232,.94), rgba(24,93,170,.86)) !important;
}

.social-vk {
  background: linear-gradient(135deg, rgba(39,135,245,.94), rgba(15,70,150,.88)) !important;
}

.social-instagram {
  background: linear-gradient(135deg, rgba(245,133,41,.94), rgba(221,42,123,.90), rgba(81,91,212,.88)) !important;
}

.catalog-toolbar {
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) auto 220px auto;
  align-items: center;
  gap: 12px !important;
  margin: 0 0 26px !important;
}

.catalog-toolbar .search-input,
.catalog-select {
  width: 100% !important;
  min-height: 52px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: white;
  padding: 0 16px;
  font: inherit;
  outline: none;
}

.condition-segment {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.07);
}

.condition-btn {
  min-width: 70px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  color: rgba(255,255,255,.78);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.condition-btn:hover,
.condition-btn.active {
  color: #07140f;
  background: linear-gradient(135deg,#00ffb2,#00d084);
}

.condition-btn:hover {
  transform: translateY(-1px);
}

.catalog-select {
  color-scheme: dark;
  cursor: pointer;
}

.catalog-select option {
  background: #111827;
  color: #ffffff;
}

.catalog-select option:checked,
.catalog-select option:hover {
  background: #00d084;
  color: #07140f;
}

.catalog-toolbar .search-input:focus,
.catalog-select:focus {
  border-color: rgba(0,255,178,.58);
  box-shadow: 0 0 0 4px rgba(0,255,178,.10);
}

.catalog-count {
  justify-self: end;
  color: rgba(255,255,255,.70) !important;
  font-size: 14px;
}

.category-card-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 30px;
}

.category-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 20px;
  color: white;
  text-align: left;
  cursor: pointer;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,255,178,.16), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.category-card:hover,
.category-card.active {
  transform: translateY(-4px);
  border-color: rgba(0,255,178,.42);
  box-shadow: 0 22px 62px rgba(0,0,0,.36);
}

.category-card span {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.category-card small {
  color: rgba(255,255,255,.68);
  line-height: 1.35;
}

.category-card b {
  color: #00ffb2;
  font-size: 14px;
}

.subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.subcategory-list[hidden] {
  display: none;
}

.subcategory-chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 0 13px 0 16px;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.065);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.subcategory-chip:hover,
.subcategory-chip.active {
  transform: translateY(-2px);
  border-color: rgba(0,255,178,.45);
  background: rgba(0,255,178,.14);
  color: white;
}

.subcategory-chip b {
  min-width: 28px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: #00ffb2;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .social-section,
  .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-toolbar .search-input {
    grid-column: 1 / -1;
  }

  .catalog-count {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .social-section,
  .category-card-grid,
  .catalog-toolbar {
    grid-template-columns: 1fr !important;
  }

  .social-section {
    width: min(100% - 28px, 520px) !important;
  }

  .category-card {
    min-height: 128px;
  }

  .subcategory-list {
    padding: 10px;
  }

  .subcategory-chip {
    width: 100%;
    justify-content: space-between;
  }

  .condition-segment {
    width: 100%;
  }

  .condition-btn {
    flex: 1;
    min-width: 0;
  }
}

/* =========================
   PRODUCT PAGE V2
========================= */

.product-page {
  width: 100%;
  padding: 28px 0 80px !important;
}

.product-shell {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
}

.product-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.back-link,
.phone-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 16px;
  color: white;
  text-decoration: none;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 850;
}

.back-link::before {
  content: "<";
  margin-right: 8px;
  color: #00ffb2;
}

.product-hero-card {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  gap: 26px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  box-shadow: 0 24px 70px rgba(0,0,0,.30);
}

.product-hero-card .product-gallery {
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,255,178,.14), transparent 46%),
    rgba(255,255,255,.035);
}

.product-hero-card .product-page-image {
  width: 100% !important;
  max-width: 460px !important;
  max-height: 460px !important;
  object-fit: contain !important;
  padding: 22px !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.product-breadcrumbs {
  color: #00ffb2;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
}

.product-summary h1 {
  margin: 0 0 16px;
  color: white;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
}

.product-summary .product-page-price {
  margin: 0 0 18px;
  color: #00ffb2;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1;
  font-weight: 950;
}

.product-summary .product-page-meta {
  justify-content: flex-start;
  margin: 0 0 24px;
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.product-actions .buy-btn {
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 15px;
  white-space: nowrap;
  gap: 9px;
}

.product-actions .buy-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 6px;
}

.avito-btn {
  color: #07140f !important;
  background: linear-gradient(135deg, #97cf26, #6f5df6) !important;
}

.tg-btn {
  background: linear-gradient(135deg, #28a8e8, #185daa) !important;
}

.vk-btn {
  background: linear-gradient(135deg, #2787f5, #0f4696) !important;
}

.store-invite {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0,255,178,.10);
  border: 1px solid rgba(0,255,178,.20);
}

.store-invite strong {
  color: white;
  font-size: 17px;
}

.store-invite span {
  color: rgba(255,255,255,.75);
  line-height: 1.45;
}

.product-details-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-top: 18px;
}

.product-panel {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  text-align: left;
}

.product-panel h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.spec-item {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.065);
}

.spec-item span {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 800;
}

.spec-item b {
  color: white;
  line-height: 1.25;
}

.description-panel p,
.visit-panel p {
  margin: 0 0 14px;
  color: rgba(255,255,255,.76);
  line-height: 1.65;
}

.full-description {
  margin-top: 16px;
  color: rgba(255,255,255,.72);
}

.full-description summary {
  cursor: pointer;
  color: #00ffb2;
  font-weight: 900;
}

.full-description div {
  max-height: 360px;
  overflow: auto;
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.20);
  white-space: pre-line;
  line-height: 1.55;
}

.visit-panel {
  grid-column: 1 / -1;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.visit-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 14px;
  color: #07140f;
  background: linear-gradient(135deg, #00ffb2, #00d084);
  text-decoration: none;
  font-weight: 900;
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.map-preview,
.mall-route {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.map-preview iframe {
  width: 100%;
  min-height: 360px;
  flex: 1;
  border: 0;
  border-radius: 0;
  background: #0b101b;
}

.map-preview .visit-actions {
  margin: 0;
  padding: 12px;
  background: rgba(7,11,20,.92);
}

.mall-map {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: 0;
  background: #050812;
  padding: 0;
}

@media (max-width: 960px) {
  .product-hero-card,
  .product-details-grid,
  .visit-layout {
    grid-template-columns: 1fr;
  }

  .map-preview,
  .mall-route {
    min-height: 320px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .product-shell {
    width: min(100% - 24px, 520px);
  }

  .product-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .product-hero-card,
  .product-panel {
    padding: 16px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}
