/* ----- RESET / BASE ----- */
.seo-h1,
.seo-h2,
.seo-h3,
.seo-text,
.seo-list,
.seo-table,
.seo-faq-item,
.seo-cta,
.seo-intro,
.seo-note,
.seo-warning {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* ----- H1 (товар) ----- */
.product-h1 {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1.3;
}

/* ----- SHORT DESC ----- */
.product-short-desc {
  font-size: 15px;
  color: #555;
  margin: 0 0 25px 0;
  padding: 15px 20px;
  background: #f8f9fa;
  border-left: 4px solid #2196F3;
  border-radius: 0 8px 8px 0;
  line-height: 1.7;
}

/* ----- H2 HEADINGS ----- */
.seo-h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  margin: 30px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #2196F3;
}

/* ----- H3 HEADINGS ----- */
.seo-h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 20px 0 10px 0;
}

/* ----- PARAGRAPHS ----- */
.seo-text {
  font-size: 15px;
  margin: 0 0 15px 0;
  line-height: 1.7;
}

/* ----- LISTS ----- */
.seo-list {
  font-size: 15px;
  margin: 0 0 15px 0;
  padding-left: 25px;
  line-height: 1.7;
}

.seo-list li {
  margin-bottom: 8px;
}

.seo-list-advantages {
  font-size: 15px;
  margin: 0 0 20px 0;
  padding-left: 0;
  list-style: none;
  line-height: 1.7;
}

.seo-list-advantages li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.seo-list-advantages li::before {
  content: "-";
  position: absolute;
  left: 8px;
  color: #2196F3;
  font-weight: bold;
}

/* ----- TABLES ----- */
.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 15px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.seo-table thead {
  background: linear-gradient(135deg, #2196F3, #0d8bf2);
  color: #fff;
}

.seo-table thead th {
  padding: 14px 12px;
  text-align: left;
  font-weight: 600;
}

.seo-table tbody td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.seo-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.seo-table tbody tr:hover {
  background: #f0f8ff;
}

/* ----- LINKS ----- */
.seo-text a,
.seo-list a,
.seo-table a,
.seo-faq-answer a {
  color: #2196F3;
  text-decoration: none;
}

.seo-text a:hover,
.seo-list a:hover,
.seo-table a:hover,
.seo-faq-answer a:hover {
  text-decoration: underline;
}

/* ----- STEPS (ol) ----- */
.seo-steps {
  font-size: 15px;
  margin: 0 0 20px 0;
  padding-left: 25px;
  line-height: 1.8;
  counter-reset: step;
}

.seo-steps li {
  margin-bottom: 12px;
  position: relative;
}

/* ----- NOTE BLOCK ----- */
.seo-note {
  background: #e3f2fd;
  border-radius: 8px;
  padding: 15px 20px;
  margin: 15px 0;
}

.seo-note-text {
  font-size: 14px;
  color: #1565c0;
  margin: 0;
  line-height: 1.5;
}

/* ----- WARNING BLOCK ----- */
.seo-warning {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  border-radius: 0 8px 8px 0;
  padding: 15px 20px;
  margin: 15px 0;
}

.seo-warning-text {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* ----- RELATED PRODUCTS ----- */
.seo-related-list {
  font-size: 15px;
  margin: 0 0 20px 0;
  padding-left: 0;
  list-style: none;
  line-height: 1.8;
}

.seo-related-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.seo-related-list li::before {
  content: "-";
  position: absolute;
  left: 5px;
  color: #2196F3;
  font-weight: bold;
}

/* ----- FAQ ACCORDION ----- */
.seo-faq-item {
  margin: 10px 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.seo-faq-question {
  padding: 18px 20px;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
  color: #2c3e50;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  position: relative;
}

.seo-faq-question::-webkit-details-marker {
  display: none;
}

.seo-faq-question::before {
  content: "+";
  color: #2196F3;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.seo-faq-item[open] .seo-faq-question::before {
  content: "-";
}

.seo-faq-answer {
  padding: 20px;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  border-top: 1px solid #e0e0e0;
}

.seo-faq-answer p {
  margin: 0;
}

/* ----- CTA BLOCK ----- */
.seo-cta {
  background: linear-gradient(135deg, #2196F3, #0d8bf2);
  color: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  margin: 30px 0;
}

.seo-cta-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: #fff;
}

.seo-cta-price {
  font-size: 18px;
  margin: 8px 0;
  color: #fff;
}

.seo-cta-delivery {
  font-size: 14px;
  margin: 8px 0;
  opacity: 0.9;
  color: #fff;
}

.seo-cta-phone {
  font-size: 14px;
  margin: 8px 0;
  opacity: 0.9;
  color: #fff;
}

.seo-cta-phone a {
  color: #fff;
  text-decoration: underline;
}

/* ----- INTRO BLOCK ----- */
.seo-intro {
  margin: 0 0 20px 0;
}

.seo-intro-text {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #2196F3;
}

/* ----- GRID LAYOUTS ----- */
.seo-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.seo-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.seo-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

.seo-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 10px 0;
}

.seo-card-text {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ----- RED / GREEN CARDS ----- */
.seo-card-red {
  background: #fff3f3;
  border-left: 4px solid #f44336;
  border-radius: 0 8px 8px 0;
  padding: 15px;
}

.seo-card-green {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  border-radius: 0 8px 8px 0;
  padding: 15px;
}

.seo-card-blue {
  background: #f0f8ff;
  border-left: 4px solid #2196F3;
  border-radius: 0 8px 8px 0;
  padding: 15px;
}

/* ----- STEPS NUMBERED ----- */
.seo-step-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.seo-step-row:last-child {
  border-bottom: none;
}

.seo-step-num {
  width: 36px;
  height: 36px;
  background: #2196F3;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
}

.seo-step-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 5px 0;
}

.seo-step-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ----- CONTACT INFO ----- */
.seo-contact-block {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
}

.seo-contact-block h3 {
  font-size: 16px;
  color: #2c3e50;
  margin: 0 0 10px 0;
}

.seo-contact-block p {
  font-size: 15px;
  color: #444;
  margin: 0 0 8px 0;
}

.seo-contact-block a {
  color: #2196F3;
  text-decoration: none;
}

/* ==================== DETAILS BLOCK ==================== */
.seo-details-block {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px 25px;
  margin: 20px 0;
}

.seo-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
}

.seo-detail-row:last-child {
  border-bottom: none;
}

.seo-detail-label {
  color: #666;
  font-weight: 500;
}

.seo-detail-value {
  color: #2c3e50;
  font-weight: 600;
}

.seo-detail-value.price-current {
  color: #2196F3;
  font-size: 18px;
}

.seo-detail-value.in-stock {
  color: #4caf50;
}

.seo-price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 14px;
  margin-left: 8px;
}

.seo-discount {
  background: #ff5722;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

/* ==================== ADVANTAGES BLOCK ==================== */
.seo-advantages-block {
  margin: 25px 0;
}

.seo-advantage-item {
  background: #f0f8ff;
  border-left: 4px solid #2196F3;
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
}

.seo-advantage-item h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.seo-advantage-item p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* ==================== STEPS BLOCK ==================== */
.seo-steps-block {
  margin: 25px 0;
}

.seo-step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8e8e8;
}

.seo-step-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.seo-step-content h3 {
  margin: 0 0 6px 0;
  font-size: 15px;
  color: #2c3e50;
}

.seo-step-content p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.seo-step-content a {
  color: #2196F3;
  text-decoration: none;
}

.seo-step-content a:hover {
  text-decoration: underline;
}

/* ==================== SAFETY BLOCK ==================== */
.seo-safety-block {
  margin: 25px 0;
}

.seo-safety-list {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin: 15px 0 0 0;
  padding-left: 20px;
}

.seo-safety-list li {
  margin-bottom: 8px;
}

/* ==================== DOSAGE BLOCK ==================== */
.seo-dosage-block {
  margin: 25px 0;
}

/* ==================== AEO BLOCK ==================== */
.seo-aeo-block {
  margin: 25px 0;
}

/* ==================== RELATED PRODUCTS TAGS ==================== */
.seo-related-block {
  margin: 30px 0;
}

.seo-related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.seo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e3f2fd;
  color: #1565c0;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.seo-tag:hover {
  background: #bbdefb;
  text-decoration: none;
}

.seo-tag-icon {
  flex-shrink: 0;
}

/* ==================== BLUE CTA FINAL BLOCK ==================== */
.seo-cta-final {
  background: linear-gradient(135deg, #2196F3, #0d8bf2);
  border-radius: 16px;
  padding: 35px 30px;
  margin: 30px 0;
  text-align: center;
  color: #fff;
}

.seo-cta-final-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px 0;
  color: #fff;
}

.seo-cta-final-details {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-cta-final-item {
  white-space: nowrap;
}

.seo-cta-final-sep {
  opacity: 0.6;
}

.seo-cta-final-phone {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0;
}

.seo-cta-final-phone a {
  color: #fff;
  text-decoration: none;
}

.seo-cta-final-address {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.seo-cta-final-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.seo-cta-btn-primary {
  display: inline-block;
  background: #fff;
  color: #2196F3;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.seo-cta-btn-primary:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  text-decoration: none;
}

.seo-cta-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 25px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.2s ease;
}

.seo-cta-btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  text-decoration: none;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .product-h1 {
    font-size: 22px;
  }

  .seo-h2 {
    font-size: 18px;
  }

  .seo-table {
    font-size: 13px;
  }

  .seo-table thead th,
  .seo-table tbody td {
    padding: 10px 8px;
  }

  .seo-cta {
    padding: 20px 15px;
  }

  .seo-cta-title {
    font-size: 18px;
  }

  .seo-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .seo-cta-final {
    padding: 25px 20px;
  }

  .seo-cta-final-title {
    font-size: 18px;
  }

  .seo-cta-final-details {
    font-size: 13px;
  }

  .seo-cta-final-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .seo-cta-btn-primary,
  .seo-cta-btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  .seo-related-tags {
    gap: 8px;
  }

  .seo-tag {
    font-size: 13px;
    padding: 8px 12px;
  }

  .seo-step-item {
    gap: 12px;
  }
}