/* ===== VOXELPEAK — ГЛАВНЫЙ ФАЙЛ СТИЛЕЙ ===== */
:root {
  --dark-blue: #0F2A44;
  --accent-teal: #4ECDC4;
  --light-gray: #F5F7FA;
  --white: #FFFFFF;
  --gold: #E8B54D;
  --dark-gray: #2D3436;
  --shadow: 0 8px 20px rgba(0,0,0,0.05);
  --shadow-hover: 0 12px 30px rgba(0,0,0,0.1);
  --border-radius: 12px;
  --border-radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ХЕДЕР ===== */
header {
  background-color: var(--dark-blue);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--accent-teal);
  color: var(--dark-blue);
}

.btn-primary:hover {
  background-color: #3db9b1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-teal);
  color: var(--accent-teal);
}

.btn-outline:hover {
  background-color: var(--accent-teal);
  color: var(--dark-blue);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--dark-blue);
}

/* Бургер-меню */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

/* ===== ФУТЕР ===== */
footer {
  background-color: var(--dark-blue);
  color: white;
  padding: 48px 0 24px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-teal);
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.social-icons a {
  color: white;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--accent-teal);
}

.copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* ===== КАРТОЧКИ ТОВАРОВ ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  height: 240px;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--dark-blue);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-badge.teal {
  background: var(--accent-teal);
  color: var(--dark-blue);
}

.product-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--dark-blue);
}

.product-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

.product-price {
  font-family: 'Roboto Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 20px;
}

.product-price small {
  font-size: 14px;
  font-weight: 400;
  color: #999;
}

.product-link {
  display: inline-block;
  background-color: var(--accent-teal);
  color: var(--dark-blue);
  text-decoration: none;
  padding: 10px 0;
  text-align: center;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  transition: all 0.3s;
  margin-top: auto;
}

.product-link:hover {
  background-color: #3db9b1;
}

/* ===== СТРАНИЦА ТОВАРА ===== */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 60px 0;
}

.product-gallery {
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.product-details h1 {
  font-size: 36px;
  color: var(--dark-blue);
  margin-bottom: 16px;
}

.product-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.product-stock {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
}

.product-sku {
  background: var(--light-gray);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 14px;
  color: #666;
}

.product-price-large {
  font-family: 'Roboto Mono', monospace;
  font-size: 42px;
  font-weight: 700;
  color: var(--dark-blue);
  margin: 24px 0;
}

.product-actions {
  display: flex;
  gap: 16px;
  margin: 32px 0;
}

.product-actions .btn {
  flex: 1;
  padding: 14px;
}

.product-specs {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 32px;
}

.specs-table {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  margin-top: 16px;
}

.specs-label {
  font-weight: 600;
  color: var(--dark-blue);
}

/* ===== ФОРМА ОБРАТНОЙ СВЯЗИ ===== */
.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-blue);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .social-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--dark-blue);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 40px;
    transition: left 0.3s;
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
  }
  .burger {
    display: flex;
  }
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -5px);
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-actions {
    flex-direction: column;
  }
  .specs-table {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ===== ДОПОЛНЕНИЯ: ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
  font-size: 14px;
  font-weight: 600;
}

.lang-switcher a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: 0.3s;
}

.lang-switcher a.active {
  color: white;
  background: var(--accent-teal);
  color: var(--dark-blue);
}

.lang-switcher span {
  color: rgba(255,255,255,0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
  .lang-switcher {
    margin: 20px 0 0;
    justify-content: flex-start;
  }
}

/* ===== ИКОНКИ ФЛАГОВ (опционально) ===== */
.lang-switcher .flag-icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

/* ===== ОНЛАЙН-ЧАТ ===== */
/* Chat2Desk уже имеет свои стили, дополнительно не требуется */