* {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container-custom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-gradient {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.metal-texture {
  position: relative;
  overflow: hidden;
}

.metal-texture::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
  pointer-events: none;
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #1a1a1a;
  color: white;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: #333;
  transform: translateY(-1px);
}

.btn-secondary {
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  color: white;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #374151;
  transition: all 0.2s;
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background-color: #f9fafb;
  color: #000;
  padding-left: 1.5rem;
}

/* Online Consultant Button */
.consultant-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.consultant-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.consultant-button svg {
  width: 28px;
  height: 28px;
  color: white;
}

.messenger-icons {
  position: fixed;
  bottom: 100px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.messenger-icons.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.messenger-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.messenger-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.telegram-icon {
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
}

.whatsapp-icon {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.messenger-icon svg {
  width: 26px;
  height: 26px;
  color: white;
}

/* Adding product table styles */
.product-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

/* Set desktop table width to 80% */
@media (min-width: 769px) {
  .table-container {
    /* увеличил ширину с 80% до 95% для лучшей читаемости */
    width: 95%;
    margin: 0 auto;
    overflow-x: visible;
  }

  .product-table {
    width: 100%;
  }
}

.product-table thead {
  background: #1a1a1a;
  color: white;
}

.product-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-table td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}

.product-table tbody tr:hover {
  background: #f9fafb;
}

.product-table tbody tr:last-child td {
  border-bottom: none;
}

.badge-success {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #d1fae5;
  color: #065f46;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-warning {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #fef3c7;
  color: #92400e;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .consultant-button {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .messenger-icons {
    bottom: 85px;
    right: 20px;
  }

  .messenger-icon {
    width: 45px;
    height: 45px;
  }

  .product-table {
    font-size: 0.875rem;
  }

  .product-table th,
  .product-table td {
    padding: 0.75rem 0.5rem;
  }
}
