/* pages/static/pages/shop_frontend/css/base_template.css */
/* Уникальные стили страницы «Базовый шаблон».
   Всё общее (.hero, section, .struct-card, .callout, .pros-cons, .note,
   .divider, .glossary, адаптив) — в shop_consists.css. */

/* ============================================================
   HERO — декоративный блик (только для base)
   ============================================================ */
.hero {
    padding: 48px 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.08;
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

/* ============================================================
   COMPARE GRID — «мало разделов / много разделов»
   ============================================================ */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 16px 0;
}

.compare-item {
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

.compare-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.compare-item--good {
    background: rgba(34, 197, 94, 0.06);
    border-color: rgba(34, 197, 94, 0.25);
}

.compare-item--good h5 {
    color: #22c55e;
}

.compare-item--warn {
    background: rgba(249, 115, 22, 0.06);
    border-color: rgba(249, 115, 22, 0.25);
}

.compare-item--warn h5 {
    color: #f97316;
}

:root[data-theme="light"] .compare-item--good {
    background: rgba(22, 163, 74, 0.08);
}

:root[data-theme="light"] .compare-item--warn {
    background: rgba(234, 88, 12, 0.08);
}

/* ============================================================
   CHIPS — теги страниц
   ============================================================ */
.page-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.chip {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.chip:hover {
    background: var(--accent);
    color: var(--accent-contrast);
    transform: translateY(-2px);
}

/* ============================================================
   FEATURE LIST — список с галочками
   ============================================================ */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 14px 0;
}

.feature-list li {
    position: relative;
    padding: 8px 0 8px 32px;
    color: var(--text-primary);
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
    transition: color 0.35s ease, border-color 0.35s ease;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
}

/* ============================================================
   АДАПТИВ (уникальное для base)
   ============================================================ */
@media (max-width: 700px) {
    .compare-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 32px 24px;
    }
}