:root {

    --bg: #b4aeae;

    --card-bg: #111;

    --accent: #0026ff;

    --text: #eee;

    --text-muted: #888;

}



* { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.flex-between { display: flex; justify-content: space-between; align-items: center; }

.section { padding: 60px 0; min-height: 60vh; animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }



/* Navbar */

.navbar { height: 80px; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #222; }

.logo { font-weight: 900; font-size: 1.5rem; text-decoration: none; color: #fff; }

.logo span { color: var(--accent); }

.nav-links a { margin-left: 20px; color: var(--text-muted); text-decoration: none; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }

.nav-links a.active { color: var(--accent); }



/* Grid & Cards */

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.card { background: var(--card-bg); border-radius: 20px; border: 1px solid #222; overflow: hidden; cursor: pointer; transition: 0.3s; }

.card:hover { border-color: var(--accent); transform: translateY(-5px); }

.card-img img { width: 100%; height: 200px; object-fit: cover; }

.card-body { padding: 20px; }



/* Product Page */

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.product-gallery img { width: 100%; border-radius: 20px; border: 1px solid #222; }

.specs-table { width: 100%; border-collapse: collapse; margin-top: 20px; }

.specs-table td { padding: 10px 0; border-bottom: 1px solid #222; font-size: 0.9rem; }

.specs-table td:last-child { text-align: right; font-weight: 700; }



/* Accs */

.acc-card { background: #0c0c0c; padding: 15px; border-radius: 12px; display: flex; gap: 15px; margin-bottom: 10px; border: 1px solid #222; }

.acc-card img { width: 50px; height: 50px; border-radius: 8px; }



/* UI */

.btn { padding: 12px 25px; border-radius: 10px; border: none; font-weight: 800; cursor: pointer; text-transform: uppercase; font-size: 0.75rem; }

.btn-primary { background: var(--accent); color: #000; }

.btn-outline { background: transparent; color: #fff; border: 1px solid #333; }

.badge { background: rgba(255,106,0,0.1); color: var(--accent); padding: 4px 12px; border-radius: 50px; font-size: 0.7rem; font-weight: 800; }



.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 1000; align-items: center; justify-content: center; }

.modal-content { background: #111; padding: 30px; border-radius: 20px; width: 90%; max-width: 450px; }

/* Переключатели (Toggle switches) для Подборщика */

.toggle-switch {

  position: relative;

  display: inline-flex;

  align-items: center;

  gap: 10px;

  cursor: pointer;

  font-weight: 600;

  color: #fff;

}

.toggle-switch input {

  opacity: 0;

  width: 0;

  height: 0;

  position: absolute;

}

.toggle-slider {

  position: relative;

  display: inline-block;

  width: 50px;

  height: 26px;

  background-color: #333;

  border-radius: 34px;

  transition: .4s;

}

.toggle-slider:before {

  position: absolute;

  content: "";

  height: 18px;

  width: 18px;

  left: 4px;

  bottom: 4px;

  background-color: white;

  transition: .4s;

  border-radius: 50%;

}

.toggle-switch input:checked + .toggle-slider {

  background-color: var(--accent);

}

.toggle-switch input:checked + .toggle-slider:before {

  transform: translateX(24px);

}