/* assets/css/price-short.css */

.price-short {
  padding: 56px 0 72px;
  background: #ffffff;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

@media (min-width: 900px) {
  .price-short {
    padding: 72px 0 88px;
  }
}

.price-short-header {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: left;
}

.price-short-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2, #6b7280);
}

.price-short-title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text, #0f172a);
}

@media (min-width: 900px) {
  .price-short-title {
    font-size: 28px;
  }
}

.price-short-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted, #4b5563);
}

.price-short-grid {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .price-short-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.price-short-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Цветные полоски для цен - ОБНОВЛЕНО */
.price-short-card:nth-child(1) {
  border-top: 3px solid #0ea5e9;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 60%);
}

.price-short-card:nth-child(2) {
  border-top: 3px solid #fb923c;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 60%);
}

.price-short-card:nth-child(3) {
  border-top: 3px solid #ef4444; /* Красный вместо фиолетового */
  background: linear-gradient(180deg, #fef2f2 0%, #ffffff 60%);
}

.price-short-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #0f172a);
}

.price-short-card-price {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0ea5e9;
}

.price-short-card-price--muted {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted2, #6b7280);
}

.price-short-card-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted, #4b5563);
}

.price-short-card-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #4b5563);
}

.price-short-card-list li::before {
  content: "•";
  color: #0ea5e9;
  margin-right: 6px;
}

/* Мобильная версия: короткое описание */
.price-short-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #4b5563);
}

/* По умолчанию показываем десктоп */
.price-desc-mobile {
  display: none;
}

.price-note-desktop,
.price-list-desktop {
  display: block;
}

.price-short-footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.price-short-footer-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted2, #6b7280);
}

/* ========================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ======================================== */

@media (max-width: 900px) {
  .price-short {
    padding: 40px 0 80px; /* отступ снизу под bottom-nav */
  }

  .price-short-header {
    margin-bottom: 20px;
  }

  .price-short-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .price-short-subtitle {
    font-size: 14px;
  }

  .price-short-grid {
    gap: 12px;
    margin-top: 20px;
  }

  .price-short-card {
    padding: 14px 16px;
    gap: 6px;
  }

  .price-short-card-title {
    font-size: 14px;
  }

  .price-short-card-price {
    font-size: 16px;
  }

  .price-short-card-price--muted {
    font-size: 13px;
  }

  /* Скрываем десктопный контент */
  .price-note-desktop,
  .price-list-desktop {
    display: none;
  }

  /* Показываем мобильное описание */
  .price-desc-mobile {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
  }

  .price-short-footer {
    align-items: stretch;
    margin-top: 20px;
  }

  .price-short-footer .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }

  .price-short-footer-note {
    font-size: 12px;
    text-align: center;
  }
}

/* Очень маленькие экраны */
@media (max-width: 400px) {
  .price-short-title {
    font-size: 20px;
  }

  .price-short-card {
    padding: 12px 14px;
  }

  .price-short-card-title {
    font-size: 13px;
  }

  .price-short-card-price {
    font-size: 15px;
  }

  .price-desc-mobile {
    font-size: 11px;
  }
}
