/* Основные стили сайта (вынесены из base.html) */
:root {
            --bg: #f5f7fb;
            --card: #ffffff;
            --text: #172033;
            --muted: #667085;
            --line: #e5e7eb;
            --blue: #2563eb;
            --blue-dark: #1d4ed8;
            --blue-soft: #eef4ff;
            --blue-soft-strong: #dbeafe;
            --green-bg: #ecfdf3;
            --green-text: #166534;
            --green-line: #bbf7d0;
            --yellow-bg: #fff7ed;
            --yellow-text: #9a3412;
            --yellow-line: #fed7aa;
            --shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
            --shadow-soft: 0 8px 20px rgba(37, 99, 235, 0.08);
        }

        * { box-sizing: border-box; }
        body { font-family: Arial, sans-serif; margin: 0; background: var(--bg); color: var(--text); }
        a { color: inherit; }

        header {
            background: rgba(255,255,255,0.94);
            backdrop-filter: blur(6px);
            border-bottom: 1px solid var(--line);
            position: sticky;
            top: 0;
            z-index: 20;
        }

        .header-inner,
        .container {
            max-width: 1180px;
            margin: 0 auto;
            padding-left: 16px;
            padding-right: 16px;
        }

        .header-inner {
            min-height: 76px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
        }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
        }

        .header-cta {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 11px 16px;
            border-radius: 999px;
            border: 1px solid #c7dbff;
            background: linear-gradient(135deg, var(--blue-soft), #ffffff);
            color: var(--blue);
            text-decoration: none;
            font-weight: 800;
            font-size: 14px;
            box-shadow: var(--shadow-soft);
        }

        .header-cta:hover { background: linear-gradient(135deg, var(--blue-soft-strong), #ffffff); transform: translateY(-1px); }

        .header-cta-icon {
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #fff;
            border: 1px solid #dbeafe;
            font-size: 15px;
            line-height: 1;
        }

        .logo {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-size: 24px;
            font-weight: 800;
            text-decoration: none;
            color: var(--text);
            letter-spacing: -0.02em;
        }

        .logo-mark {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            object-fit: cover;
            border: 1px solid var(--line);
            background: white;
            flex-shrink: 0;
        }

        .logo-text small {
            display: block;
            color: var(--muted);
            font-size: 12px;
            font-weight: 600;
            margin-top: 2px;
        }

        .container { padding-top: 28px; padding-bottom: 56px; }
        h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.15; letter-spacing: -0.03em; }
        h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
        h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.3; }
        p { margin-top: 0; line-height: 1.65; }

        .hero,
        .card {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 22px;
            box-shadow: var(--shadow);
        }

        .hero {
            background: linear-gradient(135deg, #ffffff, #eef4ff);
            padding: 30px;
            margin-bottom: 28px;
        }

        .hero p { color: var(--muted); max-width: 760px; margin-bottom: 0; }
        .section { margin-bottom: 30px; }
        .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
        .section-note { color: var(--muted); font-size: 14px; }
        .breadcrumbs { margin-bottom: 18px; font-size: 14px; color: var(--muted); }
        .breadcrumbs a { color: var(--blue); text-decoration: none; }
        .breadcrumbs a:hover { text-decoration: underline; }

        .grid { display: grid; gap: 16px; }
        .grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
        .grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
        .grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

        .card { padding: 20px; }
        .card-link { text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; display: block; }
        .card-link:hover { transform: translateY(-2px); }
        .card-link,.card-link:hover,.card-link:focus,.card-link:visited { text-decoration: none; color: inherit; }

        .pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
        .pill {
            display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: white; border: 1px solid var(--line);
            border-radius: 999px; padding: 10px 14px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
        }

        .route-title { font-size: 18px; font-weight: 800; line-height: 1.35; margin-bottom: 8px; }
        .route-title a { color: var(--text); text-decoration: none; }
        .route-title a:hover { color: var(--blue-dark); }
        .meta { color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 6px; }
        .price { font-size: 28px; font-weight: 800; line-height: 1.1; margin: 12px 0 6px; }

        .badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
        .badge-green { background: var(--green-bg); color: var(--green-text); }
        .badge-yellow { background: var(--yellow-bg); color: var(--yellow-text); }

        .card--round-trip {
            border-left: 4px solid #7c3aed;
            background: linear-gradient(90deg, #faf5ff 0%, var(--card) 60%);
        }
        .tt-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 11px;
            letter-spacing: 0.02em;
            margin-right: 4px;
        }
        .tt-badge-round-trip { background: #ede9fe; color: #5b21b6; }
        .tt-badge-one-way    { background: #e0f2fe; color: #075985; }

        .btn,
        button.btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 16px;
            border-radius: 14px;
            text-decoration: none;
            background: var(--blue);
            color: white;
            font-weight: 800;
            border: 0;
            cursor: pointer;
            font-size: 14px;
        }
        .btn:hover,
        button.btn:hover { background: var(--blue-dark); }
        .btn-secondary,
        button.btn-secondary {
            background: white;
            color: var(--text);
            border: 1px solid var(--line);
        }
        .btn-secondary:hover,
        button.btn-secondary:hover { background: #f8fafc; }
        .btn:disabled,
        button.btn:disabled,
        button.btn-secondary:disabled {
            cursor: default;
            opacity: .65;
        }

        .btn.is-loading,
        button.btn.is-loading,
        .btn-secondary.is-loading,
        button.btn-secondary.is-loading {
            pointer-events: none;
        }

        .btn.is-loading::after,
        button.btn.is-loading::after,
        .btn-secondary.is-loading::after,
        button.btn-secondary.is-loading::after {
            content: "";
            width: 14px;
            height: 14px;
            display: inline-block;
            border-radius: 999px;
            border: 2px solid currentColor;
            border-right-color: transparent;
            opacity: 0.85;
            animation: button-spin 0.75s linear infinite;
            flex-shrink: 0;
        }

        @keyframes button-spin {
            to { transform: rotate(360deg); }
        }

        .muted { color: var(--muted); }
        .status-active { color: #15803d; font-weight: 700; }
        .status-inactive { color: #b91c1c; font-weight: 700; }
        .two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }

        .alert-list { display: grid; gap: 12px; margin-bottom: 20px; }
        .alert-message {
            padding: 14px 16px;
            border-radius: 16px;
            border: 1px solid var(--line);
            background: #fff;
            box-shadow: var(--shadow);
        }
        .alert-message.success {
            background: var(--green-bg);
            border-color: var(--green-line);
            color: var(--green-text);
        }
        .alert-message.error {
            background: #fef2f2;
            border-color: #fecaca;
            color: #b91c1c;
        }

        .notify-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
        .notify-card { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: #fff; position: relative; }
        .notify-card.is-subscribed { border-color: var(--green-line); background: linear-gradient(135deg, #ffffff, #f0fdf4); }
        .notify-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
        .notify-row > * { flex-shrink: 0; }
        .notify-row input[type="number"],
        .notify-row input[type="text"],
        .notify-row textarea,
        .form-control,
        select {
            width: 100%;
            padding: 12px 14px;
            border-radius: 14px;
            border: 1px solid var(--line);
            font-size: 15px;
            background: white;
            color: var(--text);
        }
        textarea { min-height: 110px; resize: vertical; }
        label { display: block; font-weight: 700; margin-bottom: 8px; }
        .notify-status { color: var(--muted); font-size: 14px; margin-top: 12px; line-height: 1.6; }
        .notify-status.success { color: var(--green-text); }
        .notify-status.error { color: #b91c1c; }
        .notify-list { display: grid; gap: 14px; }
        .notify-list-item {
            border: 1px solid var(--line);
            border-radius: 20px;
            padding: 18px;
            background: white;
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }
        .notify-list-main { display: grid; gap: 6px; }
        .notify-list-price { font-size: 24px; font-weight: 800; line-height: 1.1; }
        .notify-empty {
            color: var(--muted);
            border: 1px dashed #cbd5e1;
            background: rgba(255,255,255,.7);
            border-radius: 20px;
            padding: 24px;
        }
        .form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
        .input-help { color: var(--muted); font-size: 13px; margin-top: 6px; }

        .promo-card {
            background: linear-gradient(135deg, #ffffff, #eef4ff);
            border: 1px solid #dbeafe;
            border-radius: 24px;
            padding: 22px;
            box-shadow: var(--shadow-soft);
        }
        .promo-card h2,
        .promo-card h3 { margin-bottom: 8px; }
        .promo-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

        .notifications-teaser {
            display: grid;
            grid-template-columns: 1.3fr .9fr;
            gap: 18px;
            align-items: stretch;
        }
        .notifications-teaser-copy p { margin-bottom: 0; }
        .notifications-teaser-bullets {
            display: grid;
            gap: 10px;
            align-content: start;
        }
        .teaser-bullet {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            background: rgba(255,255,255,.84);
            border: 1px solid #dbeafe;
            border-radius: 18px;
            padding: 12px 14px;
            color: var(--text);
        }
        .teaser-bullet-icon {
            width: 28px;
            height: 28px;
            border-radius: 999px;
            background: #fff;
            border: 1px solid #dbeafe;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .route-alert-card {
            background: linear-gradient(135deg, #ffffff, #eef4ff);
            border: 1px solid #dbeafe;
            box-shadow: var(--shadow-soft);
        }
        .route-alert-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
            flex-wrap: wrap;
        }
        .route-alert-route {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border-radius: 16px;
            background: #fff;
            border: 1px solid #dbeafe;
            font-size: 22px;
            font-weight: 800;
            line-height: 1.2;
        }
        .route-alert-route small {
            display: block;
            font-size: 12px;
            font-weight: 700;
            color: var(--muted);
            margin-top: 3px;
        }
        .route-alert-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 800;
            background: #fff;
            color: var(--muted);
            border: 1px solid var(--line);
        }
        .route-alert-badge.is-active {
            background: var(--green-bg);
            border-color: var(--green-line);
            color: var(--green-text);
        }
        .route-alert-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

        .subscription-layout {
            display: grid;
            gap: 18px;
            grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
        }
        .builder-card,
        .device-card {
            background: rgba(255,255,255,.96);
            border: 1px solid var(--line);
            border-radius: 22px;
            padding: 20px;
        }
        .builder-note {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            border: 1px solid #dbeafe;
            border-radius: 999px;
            padding: 8px 12px;
            font-size: 13px;
            font-weight: 700;
            color: var(--blue);
        }

        .subscription-summary {
            margin-top: 16px;
            padding: 14px 16px;
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 18px;
            color: var(--muted);
        }
        .subscription-summary strong { color: var(--text); }

        .footer-cta {
            margin-top: 38px;
            background: linear-gradient(135deg, #ffffff, #f8fbff);
        }
        .suggestion-card {
            background: linear-gradient(135deg, #ffffff, #f8fbff);
            border: 1px solid #dbeafe;
            box-shadow: var(--shadow-soft);
        }
        .suggestion-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 18px;
        }
        .suggestion-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 999px;
            background: #fff;
            border: 1px solid #dbeafe;
            color: var(--blue);
            font-size: 13px;
            font-weight: 800;
        }
        .suggestion-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
        .suggestion-success {
            margin-bottom: 16px;
            padding: 14px 16px;
            border-radius: 16px;
            background: var(--green-bg);
            border: 1px solid var(--green-line);
            color: var(--green-text);
            font-weight: 700;
        }
        .suggestion-error {
            margin-bottom: 16px;
            padding: 14px 16px;
            border-radius: 16px;
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #b91c1c;
            font-weight: 700;
        }

        .notify-card [data-action="unsubscribe"] { display: none; }
        .btn[disabled], button[disabled] { opacity: .65; cursor: default; }
        .notify-inline-confirm {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 12px;
            border-radius: 14px;
            background: var(--green-bg);
            color: var(--green-text);
            border: 1px solid var(--green-line);
            font-weight: 700;
            font-size: 14px;
        }
        .route-alert-lead {
            color: var(--muted);
            font-size: 15px;
            line-height: 1.6;
            margin: 0 0 14px;
        }
        .route-alert-highlight {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 18px;
            border-radius: 18px;
            background: #fff;
            border: 1px solid #dbeafe;
            box-shadow: var(--shadow-soft);
            margin-bottom: 14px;
        }
        .route-alert-highlight strong { font-size: 22px; line-height: 1.2; }
        .route-alert-highlight small { display:block; color: var(--muted); font-size: 12px; margin-top: 4px; }
        .cta-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
            padding: 8px 12px;
            border-radius: 999px;
            background: #fff;
            border: 1px solid #dbeafe;
            color: var(--blue);
            font-size: 13px;
            font-weight: 800;
        }
        .notifications-teaser-copy h2 { margin-bottom: 10px; }
        .notifications-teaser-copy .lead { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 0; }
        .suggestion-card form { margin-top: 12px; }
        .suggestion-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
        .suggestion-card textarea { min-height: 120px; }

        .date-range-box {
            margin-top: 16px;
            padding: 16px;
            border-radius: 18px;
            border: 1px solid var(--line);
            background: #f8fbff;
        }
        .date-range-box.compact { margin-top: 14px; }
        .date-range-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 12px;
        }
        .date-range-head span {
            font-size: 12px;
            font-weight: 800;
            color: var(--blue);
            background: #fff;
            border: 1px solid #dbeafe;
            border-radius: 999px;
            padding: 6px 10px;
        }
        .date-range-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

        .telegram-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            flex: 0 0 18px;
        }
        .telegram-icon svg {
            width: 100%;
            height: 100%;
            fill: currentColor;
            display: block;
        }
        .telegram-inline-icon {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .telegram-promo-card {
            display: grid;
            grid-template-columns: 1.4fr .9fr;
            gap: 18px;
            padding: 24px;
            border-radius: 24px;
            border: 1px solid #cfe3ff;
            background: linear-gradient(135deg, #ecfeff 0%, #eef4ff 45%, #ffffff 100%);
            box-shadow: var(--shadow-soft);
        }
        .telegram-promo-copy p { color: var(--muted); max-width: 680px; }
        .telegram-promo-side {
            display: grid;
            gap: 12px;
            align-content: center;
        }
        .telegram-bullet {
            background: rgba(255,255,255,.82);
            border: 1px solid #dbeafe;
            border-radius: 18px;
            padding: 14px 16px;
            font-weight: 700;
            box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
        }
        .telegram-btn {
            background: linear-gradient(135deg, #229ED9, #2563eb);
        }
        .telegram-btn:hover { background: linear-gradient(135deg, #1b8ac0, #1d4ed8); }
        .search-widget-card {
            background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
            border: 1px solid #c7d2fe;
            border-radius: 18px;
            padding: 22px 24px;
        }
        .search-widget-title { margin: 0 0 6px; font-size: 22px; }
        .search-widget-sub { margin: 0 0 16px; color: var(--muted); }
        .search-widget-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr auto;
            gap: 12px;
            align-items: end;
        }
        .search-widget-grid label {
            display: block;
            font-size: 12px;
            color: var(--muted);
            margin-bottom: 6px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .search-widget-grid select {
            width: 100%;
            padding: 10px 12px;
            border-radius: 12px;
            border: 1px solid var(--line);
            background: #fff;
            font-size: 14px;
        }
        .search-widget-btn {
            white-space: nowrap;
        }
        @media (max-width: 900px) {
            .search-widget-grid { grid-template-columns: 1fr 1fr; }
            .search-widget-cta { grid-column: 1 / -1; }
            .search-widget-btn { width: 100%; }
        }

        .carrier-table-wrap {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        .carrier-table {
            width: 100%;
            min-width: 520px;
            border-collapse: collapse;
            font-size: 14px;
        }
        .carrier-table th, .carrier-table td {
            padding: 10px 14px;
            text-align: left;
            border-bottom: 1px solid var(--line);
            white-space: nowrap;
        }
        .carrier-table th {
            background: #f9fafb;
            font-weight: 600;
            color: var(--muted);
            font-size: 12px;
            text-transform: uppercase;
        }
        .carrier-table tr:last-child td { border-bottom: none; }
        .carrier-table td:nth-child(n+2), .carrier-table th:nth-child(n+2) {
            text-align: right;
        }
        @media (max-width: 560px) {
            .carrier-table { font-size: 13px; }
            .carrier-table th, .carrier-table td { padding: 8px 10px; }
        }
        .filter-bar {
            display: flex;
            align-items: stretch;
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 16px;
            padding: 14px 18px;
            margin-bottom: 18px;
            gap: 18px;
            flex-wrap: wrap;
            box-shadow: 0 1px 2px rgba(15,23,42,0.04);
        }
        .filter-bar-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
            min-width: 0;
        }
        .filter-bar-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--muted);
            font-weight: 700;
        }
        .filter-bar-chips {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
        .filter-bar-divider {
            width: 1px;
            background: var(--line);
            align-self: stretch;
        }
        .filter-chip {
            display: inline-block;
            padding: 8px 14px;
            border-radius: 999px;
            background: #f3f4f6;
            color: var(--text);
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            border: 1px solid transparent;
            transition: background 0.12s ease, color 0.12s ease, transform 0.06s ease;
            line-height: 1;
            white-space: nowrap;
        }
        .filter-chip:hover {
            background: #e5e7eb;
            transform: translateY(-1px);
        }
        .filter-chip.is-active {
            background: var(--blue);
            color: #fff;
            border-color: var(--blue);
            box-shadow: 0 4px 12px rgba(37,99,235,0.25);
        }
        @media (max-width: 640px) {
            .filter-bar { padding: 12px; gap: 12px; }
            .filter-bar-divider { display: none; }
            .filter-bar-group { width: 100%; }
        }

        .pc-tabs {
            display: flex;
            gap: 6px;
            margin: 0 0 14px;
            border-bottom: 1px solid var(--line);
        }
        .pc-tab {
            background: none;
            border: none;
            padding: 10px 16px;
            font: inherit;
            cursor: pointer;
            color: var(--muted);
            font-weight: 600;
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
        }
        .pc-tab.is-active { color: var(--blue); border-bottom-color: var(--blue); }
        .pc-tab:hover { color: var(--text); }
        .price-calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 8px;
            margin-bottom: 6px;
        }
        .price-calendar-weekdays span {
            text-align: center;
            font-size: 11px;
            color: var(--muted);
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.05em;
        }
        .price-calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 8px;
        }
        @media (max-width: 900px) {
            .price-calendar-weekdays { display: none; }
            .price-calendar-cell.pc-filler { display: none; }
        }
        @media (max-width: 560px) {
            .price-calendar-grid { grid-template-columns: repeat(3, 1fr); }
        }
        .pc-filler { background: transparent; border: none; box-shadow: none; pointer-events: none; }
        .price-calendar-cell {
            display: block;
            text-decoration: none;
            color: inherit;
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 12px;
            padding: 10px;
            text-align: center;
            transition: transform 0.08s ease, box-shadow 0.08s ease;
        }
        .price-calendar-cell:hover:not(.pc-empty) {
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(37,99,235,0.12);
            border-color: var(--blue);
        }
        .pc-date { font-size: 13px; color: var(--muted); }
        .pc-day { font-size: 11px; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
        .pc-price { font-weight: 700; font-size: 16px; margin-top: 6px; }
        .pc-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }
        .pc-route { font-size: 11px; color: var(--text); margin-top: 4px; font-weight: 600; line-height: 1.2; }
        .pc-cheap {
            background: #f0fdf4;
            border-color: #86efac;
        }
        .pc-cheap .pc-price { color: #047857; }
        .pc-cheapest {
            background: linear-gradient(180deg, #ecfdf5 0%, #bbf7d0 100%);
            border-color: #10b981;
            box-shadow: 0 0 0 2px rgba(16,185,129,0.18);
        }
        .pc-cheapest .pc-price { color: #047857; font-weight: 800; }
        .pc-expensive { background: #f9fafb; }
        .pc-expensive .pc-price { color: var(--muted); }
        .pc-direct {
            border-color: #10b981;
            box-shadow: 0 0 0 1px rgba(16,185,129,0.25);
        }
        .pc-direct-badge {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 8px;
            background: #d1fae5;
            color: #047857;
            font-weight: 700;
            font-size: 11px;
            letter-spacing: 0.02em;
        }
        .pc-empty { opacity: 0.55; cursor: default; }

        .cookie-consent {
            position: fixed;
            left: 0; right: 0; bottom: 0;
            z-index: 9999;
            background: #0b1330;
            color: #fff;
            box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
        }
        .cookie-consent-inner {
            max-width: 1100px;
            margin: 0 auto;
            padding: 14px 16px;
            display: flex;
            gap: 14px;
            align-items: center;
            flex-wrap: wrap;
        }
        .cookie-consent-text { flex: 1 1 320px; font-size: 14px; line-height: 1.4; }
        .cookie-consent-text a { color: #8dc8ff; text-decoration: underline; }
        .cookie-consent-btn { flex: 0 0 auto; padding: 8px 18px; font-weight: 600; }
        @media (max-width: 640px) {
            .cookie-consent-inner { padding: 12px; }
            .cookie-consent-text { font-size: 13px; }
        }
        .site-footer {
            margin-top: 16px;
            border-top: 1px solid var(--line);
            background: rgba(255,255,255,0.86);
        }
        .footer-inner {
            max-width: 1180px;
            margin: 0 auto;
            padding: 20px 16px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            color: var(--muted);
            font-size: 14px;
        }
        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .footer-links {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .footer-link-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            border-radius: 999px;
            border: 1px solid #dbeafe;
            background: #fff;
            color: var(--blue);
            text-decoration: none;
            font-weight: 800;
        }
        .footer-link-chip:hover { background: #eff6ff; }

        .footer-spoiler {
            max-width: 1180px;
            margin: 0 auto;
            padding: 8px 16px 16px;
            color: var(--muted);
            font-size: 13px;
        }
        .footer-spoiler > summary {
            cursor: pointer;
            font-weight: 700;
            color: var(--blue);
            padding: 10px 0;
            list-style: none;
        }
        .footer-spoiler > summary::-webkit-details-marker { display: none; }
        .footer-spoiler > summary::before {
            content: "▸ ";
            display: inline-block;
            transition: transform 0.15s;
        }
        .footer-spoiler[open] > summary::before { content: "▾ "; }
        .footer-spoiler-cols {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
            padding-top: 8px;
        }
        .footer-spoiler-col-title {
            font-weight: 700;
            color: #334155;
            margin-bottom: 6px;
            font-size: 13px;
        }
        .footer-spoiler-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .footer-spoiler-col a {
            color: var(--blue);
            text-decoration: none;
            font-size: 13px;
            line-height: 1.4;
        }
        .footer-spoiler-col a:hover { text-decoration: underline; }
        @media (max-width: 760px) {
            .footer-spoiler-cols { grid-template-columns: 1fr; }
        }

        @media (max-width: 980px) {
            .two-col,
            .notifications-teaser,
            .subscription-layout,
            .telegram-promo-card { grid-template-columns: 1fr; }
        }

        /* Push недоступен (Safari/iOS и т.п.): форма остаётся — в ней e-mail подписка.
           Прячем только push-специфику до инициализации JS, чтобы не мигало. */
        html.push-unsupported [data-role="channel-option-webpush"],
        html.push-unsupported [data-role="webpush-device-note"] { display: none !important; }

        @media (max-width: 900px) {
            h1 { font-size: 28px; }
            h2 { font-size: 22px; }
            .hero { padding: 22px; }
            .logo { font-size: 20px; }
            .logo-mark { width: 34px; height: 34px; }
            .header-inner { padding-top: 12px; padding-bottom: 12px; }
            .route-alert-route { font-size: 20px; }
        }

/* Виджет уведомлений (вынесен из notifications_cta.html) */
.route-alert-collapsible {
    background: linear-gradient(135deg, #ffffff, #eef4ff);
    border: 1px solid #dbeafe;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.route-alert-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.route-alert-toggle::-webkit-details-marker { display: none; }
.route-alert-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.route-alert-toggle-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbeafe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.route-alert-toggle-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.route-alert-toggle-text strong {
    font-size: 16px;
    color: var(--text);
    line-height: 1.3;
    font-weight: 800;
}
.route-alert-toggle-text small {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}
.route-alert-toggle-chevron {
    color: var(--blue);
    font-size: 18px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    font-weight: 700;
}
.route-alert-collapsible[open] .route-alert-toggle-chevron { transform: rotate(180deg); }
.route-alert-collapsible[open] .route-alert-toggle { border-bottom: 1px solid #dbeafe; }
.route-alert-collapsible .route-alert-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 20px 22px 22px;
}
@media (max-width: 640px) {
    .route-alert-toggle { padding: 14px 16px; gap: 12px; }
    .route-alert-toggle-icon { width: 36px; height: 36px; font-size: 16px; }
    .route-alert-toggle-text strong { font-size: 15px; }
    .route-alert-collapsible .route-alert-card { padding: 16px 16px 18px; }
}

/* Блог (вынесен из blog/_styles.html) */
body > header { z-index: 1000 !important; background: #ffffff !important; backdrop-filter: none !important; }

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}
.blog-main { min-width: 0; }

.blog-hero {
    background: linear-gradient(135deg, #ffffff, #eef4ff);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}
.blog-hero h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; }
.blog-hero p { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.6; max-width: 720px; }

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.blog-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    transition: transform .12s ease, box-shadow .12s ease;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10); }
.blog-card-no-image { grid-template-columns: 1fr; }

.blog-card-img {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1f5f9;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.blog-card-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.blog-card-meta a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}
.blog-card-meta a:hover { text-decoration: underline; }
.blog-card-title {
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}
.blog-card-title a { color: var(--text); text-decoration: none; }
.blog-card-title a:hover { color: var(--blue-dark); }
.blog-card-excerpt {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-empty {
    background: var(--card);
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 32px;
    text-align: center;
    color: var(--muted);
}

.blog-pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 18px 0 8px;
    flex-wrap: wrap;
}
.blog-pagination a {
    color: var(--blue);
    text-decoration: none;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 600;
    background: #fff;
    transition: background .12s, border-color .12s;
}
.blog-pagination a:hover { background: var(--blue-soft); border-color: #c7dbff; }
.blog-pagination-current { color: var(--muted); font-size: 14px; }

.blog-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.blog-sidebar-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: var(--shadow);
}
.blog-sidebar-card h3 {
    font-size: 14px;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    font-weight: 700;
}
.blog-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.blog-cat-list a {
    display: block;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: 10px;
    transition: background .12s, color .12s;
}
.blog-cat-list a:hover { background: var(--blue-soft); color: var(--blue-dark); }

.blog-post {
    max-width: 760px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.blog-post-cover {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f1f5f9;
}
.blog-post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-post-inner { padding: 36px 40px 44px; }
.blog-post-header { margin-bottom: 22px; }
.blog-post-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.blog-post-meta a { color: var(--blue); text-decoration: none; font-weight: 600; }
.blog-post-meta a:hover { text-decoration: underline; }
.blog-post h1 {
    font-size: 36px;
    line-height: 1.18;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.blog-post-excerpt {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.blog-post-content {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
}
.blog-post-content > *:first-child { margin-top: 0; }
.blog-post-content > *:last-child { margin-bottom: 0; }
.blog-post-content p { margin: 0 0 18px; }
.blog-post-content h2 {
    font-size: 26px;
    line-height: 1.25;
    margin: 36px 0 14px;
    letter-spacing: -0.01em;
}
.blog-post-content h3 {
    font-size: 21px;
    line-height: 1.3;
    margin: 28px 0 12px;
}
.blog-post-content ul,
.blog-post-content ol { margin: 0 0 18px; padding-left: 24px; }
.blog-post-content li { margin-bottom: 6px; }
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 22px 0;
    display: block;
}
.blog-post-content blockquote {
    border-left: 4px solid var(--blue);
    padding: 14px 20px;
    color: var(--text);
    margin: 22px 0;
    background: var(--blue-soft);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}
.blog-post-content blockquote p:last-child { margin-bottom: 0; }
.blog-post-content code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.92em;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.blog-post-content pre {
    background: #0f172a;
    color: #f1f5f9;
    padding: 16px 18px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 22px 0;
    font-size: 14px;
    line-height: 1.55;
}
.blog-post-content pre code { background: transparent; padding: 0; }
.blog-post-content a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.blog-post-content a:hover { color: var(--blue-dark); }
.blog-post-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 22px 0;
    font-size: 15px;
}
.blog-post-content th,
.blog-post-content td {
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
}
.blog-post-content th { background: #f9fafb; font-weight: 700; }
.blog-post-content hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

.blog-post-tags {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.blog-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    transition: color .12s, border-color .12s;
}
.blog-tag:hover { color: var(--blue); border-color: var(--blue); }

.blog-related {
    max-width: 1180px;
    margin: 40px auto 0;
}
.blog-related h2 {
    font-size: 22px;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
    .blog-layout { grid-template-columns: 1fr; gap: 24px; }
    .blog-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .blog-sidebar-card { flex: 1 1 260px; }
}

@media (max-width: 720px) {
    .blog-hero { padding: 22px; border-radius: 18px; }
    .blog-hero h1 { font-size: 26px; }
    .blog-card { grid-template-columns: 1fr; }
    .blog-card-img { aspect-ratio: 16/9; }
    .blog-card-body { padding: 16px 18px; }
    .blog-card-title { font-size: 18px; }
    .blog-post { border-radius: 16px; }
    .blog-post-inner { padding: 22px 20px 28px; }
    .blog-post h1 { font-size: 26px; }
    .blog-post-excerpt { font-size: 16px; }
    .blog-post-content { font-size: 16px; }
    .blog-post-content h2 { font-size: 22px; margin: 28px 0 12px; }
    .blog-post-content h3 { font-size: 19px; }
}

/* --- Доп. стили: навигация шапки, ранее неописанные классы, доступность --- */

.cities-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.cities-btn:hover,
.cities-btn[aria-expanded="true"] { color: var(--blue); border-color: #c7dbff; background: var(--blue-soft); }
.cities-btn-caret { font-size: 11px; line-height: 1; }

.burger-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 12px 11px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
}
.burger-btn span { display: block; height: 2px; border-radius: 2px; background: var(--text); }
.burger-btn:hover,
.burger-btn[aria-expanded="true"] { border-color: #c7dbff; background: var(--blue-soft); }
.burger-btn:hover span,
.burger-btn[aria-expanded="true"] span { background: var(--blue); }

.header-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    z-index: 30;
}
.header-menu[hidden] { display: none; }
.header-menu-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}
.header-menu-link:hover { color: var(--blue); background: var(--blue-soft); }
.cities-menu { left: 0; right: auto; }

@media (max-width: 760px) {
    .header-inner { flex-wrap: nowrap; gap: 10px; padding-left: 12px; padding-right: 12px; }
    .header-nav { gap: 6px; flex-shrink: 0; }
    .logo { min-width: 0; }
    .logo-text small { display: none; }
    .cities-btn { padding: 8px 10px; font-size: 13px; }
    .header-cta { padding: 8px; }
    .header-cta [data-role="header-notifications-label"] { display: none; }
    .header-cta-icon { width: 26px; height: 26px; }
    .burger-btn { width: 40px; height: 40px; padding: 11px 10px; }
    .cities-menu { left: auto; right: 0; }

    /* Города под шапкой: одна строка с горизонтальным скроллом вместо простыни пилюль */
    .city-pills-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        padding-bottom: 4px;
        -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
        mask-image: linear-gradient(90deg, #000 92%, transparent);
    }
    .city-pills-row::-webkit-scrollbar { display: none; }
    .city-pills-row .pill { flex: 0 0 auto; scroll-snap-align: start; }
}

/* Ссылки внутри контента (класс использовался в шаблонах, но не был описан) */
a.link {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
a.link:hover { color: var(--blue-dark); }

/* Radio-группы «Тип билета» / «Тип рейса» (классы использовались без стилей) */
.direct-only-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.direct-only-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}
.direct-only-option:has(input:checked) {
    border-color: var(--blue);
    background: var(--blue-soft);
    color: var(--blue-dark);
}
.direct-only-option input { accent-color: var(--blue); margin: 0; }

/* Страница /notifications/: пошаговая форма подписки */
.notifications-builder { box-shadow: var(--shadow-soft); }
.builder-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 17px;
    margin: 26px 0 14px;
}
.notifications-builder .builder-step:first-child { margin-top: 0; }
.step-num {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}
.builder-conditions {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(200px, 1fr) auto auto;
    align-items: start;
}
.option-group-label { display: block; font-weight: 700; margin-bottom: 8px; }
.builder-dates { background: #fff; }
.builder-dates .date-range-grid { max-width: 460px; }
.btn-subscribe { padding: 14px 28px; font-size: 16px; }
.device-note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}
.link-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--blue);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.link-btn:hover { color: var(--blue-dark); }

/* Главная: hero с акцентом на подписку + «Как это работает» */
.home-hero-lead {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.7;
}
.home-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.home-hero-facts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.hero-fact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.85);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}
.how-step p { color: var(--muted); margin: 10px 0 0; line-height: 1.65; }
.how-step .builder-step { margin: 0; font-size: 16px; }
.how-step h3 { margin: 0; font-size: 17px; }
.about-benefit-icon { font-size: 28px; line-height: 1; margin-bottom: 10px; }

@media (max-width: 760px) {
    .home-hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
    .home-hero-lead { font-size: 16px; }
}

@media (max-width: 900px) {
    .builder-conditions { grid-template-columns: 1fr 1fr; }
    .builder-conditions > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .notifications-builder { padding: 16px; }
    .builder-conditions { grid-template-columns: 1fr; gap: 14px; }
    .notifications-builder .direct-only-options { display: grid; grid-template-columns: 1fr 1fr; }
    .notifications-builder .direct-only-option { justify-content: center; text-align: center; }
    .builder-dates .date-range-grid { grid-template-columns: 1fr 1fr; max-width: none; }
    .btn-subscribe { width: 100%; justify-content: center; text-align: center; }
    .builder-step { font-size: 16px; margin: 22px 0 12px; }
}

/* Контент оффера */
.offer-content { line-height: 1.65; }
.offer-content p { margin-bottom: 12px; }

/* Компактная сетка дат в форме подписки */
.compact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .compact-grid { grid-template-columns: 1fr; } }

/* Skip-link для клавиатурной навигации */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--blue);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 10px 0;
    z-index: 1000;
    text-decoration: none;
}
.skip-link:focus { left: 0; }

/* --- E-mail подписки на уведомления --- */
.channel-switch { margin: 14px 0; }
.channel-option input { accent-color: var(--blue); margin: 0; }

.email-subscribe-block {
    margin: 14px 0;
    padding: 16px;
    border: 1px solid var(--blue-soft-strong);
    border-radius: 14px;
    background: var(--blue-soft);
}
.email-subscribe-block label { display: block; font-weight: 600; margin-bottom: 6px; }
.email-subscribe-block .form-control { max-width: 340px; }
.email-code-step { margin-top: 14px; }
.email-code-row { margin-top: 0; }
.email-code-row .form-control { max-width: 160px; letter-spacing: 4px; font-weight: 700; }
.email-verified-note { font-size: 14px; color: var(--green-text); line-height: 1.6; }
.email-verified-note .link-btn { margin-left: 6px; }

.subscriptions-group-title { font-weight: 700; margin: 18px 0 10px; }
.email-alerts-block .device-note { margin-top: 12px; }
