/* Переопределение для shop страницы */
body {
  background: var(--light-bg);
  padding-top: 80px; /* Отступ для fixed navbar */
}

.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  margin-bottom: 0 !important;
}

.page-content {
  min-height: 60vh;
  padding: 2rem 0;
}

.shop-section-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.shop-form-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(39, 66, 136, 0.08), 0 1.5px 6px rgba(78, 205, 196, 0.07);
  padding: 2.5rem 2rem;
  min-width: 320px;
  max-width: 420px;
  flex: 1 1 320px;
}

.shop-form-card label {
  font-weight: 500;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.shop-form-card input,
.shop-form-card textarea,
.shop-form-card select {
  border-radius: 10px;
  border: 1px solid #dbeafe;
  padding: 0.75rem 1rem;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  background: #f9fafb;
  transition: box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(78, 205, 196, 0.06);
  width: 100%;
}

.shop-form-card input:focus,
.shop-form-card textarea:focus,
.shop-form-card select:focus {
  outline: none;
  border-color: #4ecdc4;
  box-shadow: 0 0 0 2px #e0f7fa;
}

.shop-info-card {
  background: linear-gradient(115deg,#dbeafe 0%,#f9fafb 100%);
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(78, 205, 196, 0.07);
  padding: 2.5rem 2rem;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.shop-info-card h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.shop-info-card .lead {
  font-size: 1.18rem;
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 1.5rem;
}

/* Секция способов оплаты */
.payment-method-section {
  margin-bottom: 1.5rem;
}

.payment-method-section > label {
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 0.8rem;
  display: block;
}

.payment-method-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-option {
  position: relative;
  cursor: pointer;
  display: block;
  margin: 0;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.payment-option-content {
  display: flex;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 2px solid #dbeafe;
  background: #f9fafb;
  transition: all 0.2s;
}

.payment-option:hover .payment-option-content {
  border-color: #4ecdc4;
  background: #f0fdfa;
}

.payment-option input[type="radio"]:checked + .payment-option-content {
  border-color: #4ecdc4;
  background: #e0f7fa;
  box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.1);
}

.payment-icon {
  font-size: 1.25rem;
  color: #2563eb;
  margin-right: 0.75rem;
  min-width: 20px;
}

.payment-option input[type="radio"]:checked + .payment-option-content .payment-icon {
  color: #1e3a8a;
}

.payment-text {
  flex: 1;
}

.payment-title {
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 0.1rem;
  font-size: 0.95rem;
}

.payment-subtitle {
  font-size: 0.8rem;
  color: #64748b;
}

/* Кнопка действия */
.shop-action-btn {
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 10px;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  width: 100%;
  border: none;
  box-shadow: 0 2px 12px rgba(78, 205, 196, 0.12);
  transition: all 0.3s;
  cursor: pointer;
  background-color: #2563eb;
  color: #fff;
}

.shop-action-btn:hover,
.shop-action-btn:focus {
  background-color: #1e3a8a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(78, 205, 196, 0.18);
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 2rem;
}

.faq-accordion {
  background: white;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(39, 66, 136, 0.08), 0 1.5px 6px rgba(78, 205, 196, 0.07);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #1e3a8a;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: white;
}

.faq-question:hover {
  background: #f9fafb;
  color: #4ecdc4;
}

.faq-question[aria-expanded="true"] {
  background: #f0fdfa;
  color: #4ecdc4;
  border-bottom: 1px solid #dbeafe;
}

.faq-icon {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
  color: #64748b;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: #4ecdc4;
}

.faq-answer {
  border-top: none;
}

.faq-content {
  padding: 0 2rem 2rem 2rem;
  color: #64748b;
  line-height: 1.6;
}

.faq-content p {
  margin-bottom: 1rem;
}

.faq-content ol, .faq-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.faq-content li {
  margin-bottom: 0.5rem;
}

.faq-content strong {
  color: #1e3a8a;
}

.faq-content a {
  color: #4ecdc4;
  text-decoration: none;
}

.faq-content a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.faq-content .alert {
  background: #fef3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.faq-content .alert-warning {
  background: #fff3cd;
  border-color: #ffecb5;
}

/* Адаптивность */
@media (max-width: 992px) {
  .shop-section-flex {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  .shop-form-card, .shop-info-card {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 1.5rem;
  }
  
  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  
  .faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .shop-form-card, .shop-info-card {
    padding: 1.2rem 0.5rem;
  }
  
  .payment-option-content {
    padding: 0.7rem 0.8rem;
  }
  
  .payment-icon {
    font-size: 1.1rem;
    margin-right: 0.6rem;
  }
  
  .payment-title {
    font-size: 0.9rem;
  }
  
  .payment-subtitle {
    font-size: 0.75rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .faq-content {
    padding: 0 1rem 1rem 1rem;
    font-size: 0.9rem;
  }
}

/* Domain Cards */
.domain-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(39, 66, 136, 0.08), 0 2px 8px rgba(78, 205, 196, 0.06);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.domain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4ecdc4 0%, #2563eb 100%);
}

.domain-card.premium::before {
  background: linear-gradient(90deg, #f59e0b 0%, #dc2626 100%);
}

.domain-card.featured::before {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.domain-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(39, 66, 136, 0.12), 0 8px 16px rgba(78, 205, 196, 0.08);
}

.domain-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.domain-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.domain-card.premium .domain-badge {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1px solid #f59e0b;
}

.domain-card.featured .domain-badge {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border: 1px solid #10b981;
}

.domain-card.standard .domain-badge {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
  border: 1px solid #3b82f6;
}

.domain-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a8a;
}

.domain-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 1rem;
  word-break: break-word;
}

.domain-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.domain-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.domain-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #4ecdc4 0%, #2563eb 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(78, 205, 196, 0.2);
}

.domain-btn:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78, 205, 196, 0.3);
  background: linear-gradient(135deg, #45b7aa 0%, #1d4ed8 100%);
}

.domain-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

/* Адаптивность для карточек доменов */
@media (max-width: 768px) {
  .domain-card {
    padding: 1.5rem;
  }
  
  .domain-name {
    font-size: 1.5rem;
  }
  
  .domain-price {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .domain-card {
    padding: 1.2rem;
  }
  
  .domain-name {
    font-size: 1.3rem;
  }
  
  .domain-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
    text-align: center;
  }
  
  .feature-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

.payment-icon.sbp-logo {
    /* Убираем font-size для img элемента */
    font-size: unset;
    color: unset;
    
    /* Размеры логотипа */
    width: 24px;
    height: 24px;
    object-fit: contain;
    
    /* Сохраняем отступы */
    margin-right: 15px;
    min-width: 24px;
    
    /* Выравнивание */
    display: block;
    flex-shrink: 0;
}
.privacy-notice {
    background: #f0fdfa;
    border: 1px solid #4ecdc4;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.privacy-notice h5 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}
.privacy-notice p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
.privacy-notice .form-check {
    margin-top: 1rem;
}
.privacy-notice .form-check-input:checked {
    background-color: #4ecdc4;
    border-color: #4ecdc4;
}
.privacy-notice .form-check-label {
    font-weight: 500;
}
.form-submit-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}
.privacy-links a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}
.privacy-links a:hover {
    color: #4ecdc4;
    text-decoration: underline;
}