.phones-page {
  padding: 24px 0;
}

.phones-header {
  background: linear-gradient(135deg, #D50036 0%, #FF1744 100%);
  color: white;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
}

.phones-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}

.phones-subtitle {
  font-size: 16px;
  opacity: 0.9;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-option {
  padding: 10px 16px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-option:hover,
.filter-option.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: white;
}

.phones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.phone-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 4px solid var(--primary-red);
}

.phone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.phone-header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.phone-name {
  font-size: 18px;
  font-weight: bold;
  color: var(--gray-dark);
  margin-bottom: 8px;
}

.phone-price {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-red);
}

.phone-unit {
  font-size: 14px;
  color: var(--gray-medium);
  margin-left: 4px;
}

.phone-specs {
  padding: 16px 20px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #F5F5F5;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-medium);
  font-size: 14px;
}

.spec-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-value {
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 14px;
}

.phone-features {
  padding: 0 20px 16px;
}

.features-label {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tag {
  padding: 4px 10px;
  background: var(--primary-red-light);
  color: var(--primary-red);
  border-radius: 4px;
  font-size: 12px;
}

.phone-actions {
  padding: 0 20px 20px;
}

.btn-appointment {
  width: 100%;
  padding: 12px;
  background: var(--primary-red);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-appointment:hover {
  background: var(--primary-red-dark);
  transform: scale(1.02);
}

@media (max-width: 1024px) {
  .phones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .phones-page {
    padding: 16px;
  }
  
  .phones-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .phones-header {
    padding: 24px;
  }
  
  .phones-title {
    font-size: 22px;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}