﻿
:root {
    /* Palette inspired by PlacentáSkinLab brochure */
    --pink: #2E2A6B; /* primary (deep navy) */
    --teal: #A8A3D6; /* secondary (lavender) */
    --dark: #1D1D2B; /* text */
    --light-gray: #F5F4FA; /* soft background wash */
    --border-gray: #E3E1F2; /* borders */
    --white: #ffffff;
    --accent-radius: 999px;
    /* extra brochure accents */
    --lavender-2: #D9D6F0;
    --ink-2: rgba(46,42,107,0.10);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /*background: #ffffff;*/
    background: var(--psl-bg) !important;
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.page {
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 24px;
    height: 36px;
    border-radius: 12px;
    background: var(--pink);
    position: relative;
}

.logo-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark);
}

.header-cta {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--pink);
    color: var(--pink);
    background: #fff;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 24px 16px 32px;
    background: radial-gradient(circle at 20% 12%, rgba(168,163,214,0.55) 0 180px, rgba(168,163,214,0.0) 181px), radial-gradient(circle at 92% 6%, rgba(46,42,107,0.12) 0 220px, rgba(46,42,107,0.0) 221px), linear-gradient(180deg, var(--light-gray) 0%, #ffffff 70%);
}
    /* brochure-like soft circles */
    .hero::before {
        content: "";
        position: absolute;
        left: -120px;
        top: 80px;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: rgba(168,163,214,0.55);
        filter: blur(0.2px);
        z-index: 0;
    }
    /* brochure-like dot field at the bottom */
    .hero::after {
        content: "";
        position: absolute;
        left: -10%;
        right: -10%;
        bottom: -40px;
        height: 220px;
        background-image: radial-gradient(rgba(46,42,107,0.35) 1px, rgba(46,42,107,0.0) 2px);
        background-size: 14px 14px;
        opacity: 0.55;
        transform: scale(1.05);
        -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
        mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
        z-index: 0;
    }

    .hero > * {
        position: relative;
        z-index: 1;
    }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(46,42,107,0.10);
    color: var(--pink);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
}

.hero-tagline {
    font-size: 12px;
    color: #555;
    margin-bottom: 16px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.pill {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(168,163,214,0.18);
    color: #04616d;
    border: 1px solid rgba(168,163,214,0.35);
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--pink);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: var(--pink);
    border: 1px solid var(--pink);
}

.hero-footnote {
    font-size: 11px;
    color: #777;
    margin-top: 6px;
}

section {
    padding: 24px 16px;
    border-top: 1px solid var(--border-gray);
}

    section:nth-of-type(even) {
        background: #ffffff;
    }

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.section-lead {
    font-size: 14px;
    margin-bottom: 12px;
}

.list {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0;
}

    .list li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 13px;
        margin-bottom: 6px;
    }

        .list li span.icon {
            margin-top: 2px;
            font-size: 14px;
        }

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--light-gray);
    color: #444;
}

.highlight-box {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
    font-size: 13px;
}

.two-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.card {
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    padding: 12px;
    background: #fff;
    font-size: 13px;
}

.card-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.chip {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(46,42,107,0.08);
    color: var(--pink);
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.stat {
    flex: 1 1 45%;
    min-width: 120px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-gray);
    padding: 10px;
    text-align: left;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 11px;
    color: #555;
}

.timeline {
    margin-top: 10px;
}

.timeline-step {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.step-number {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content {
    font-size: 13px;
}

    .step-content strong {
        display: block;
        margin-bottom: 2px;
    }

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.pill-alt {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.07);
    background: #fff;
}

.faq-item {
    border-radius: 10px;
    border: 1px solid var(--border-gray);
    padding: 10px 12px;
    margin-bottom: 8px;
    font-size: 13px;
}

.faq-q {
    font-weight: 600;
    margin-bottom: 4px;
}

.faq-a {
    color: #555;
}

.cta-final {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, var(--pink), var(--teal));
    color: #fff;
    padding: 28px 16px 32px;
}

    .cta-final::before {
        content: "";
        position: absolute;
        left: -10%;
        right: -10%;
        top: -40px;
        height: 180px;
        background-image: radial-gradient(rgba(255,255,255,0.55) 1px, rgba(255,255,255,0) 2px);
        background-size: 16px 16px;
        opacity: 0.25;
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
        z-index: 0;
    }

    .cta-final > * {
        position: relative;
        z-index: 1;
    }

    .cta-final h2 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .cta-final p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .cta-final .btn {
        width: 100%;
        max-width: 360px;
        margin: 0 auto 10px;
        display: block;
    }

.btn-light {
    background: #fff;
    color: var(--pink);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.9);
}

.contacts {
    margin-top: 10px;
    font-size: 13px;
}

    .contacts a {
        color: #fff;
        text-decoration: none;
    }

    .contacts div {
        margin-bottom: 4px;
    }

@media (min-width: 481px) {
    body {
        background: #f0f2f7;
    }

    .page {
        margin: 16px auto;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(15,30,66,0.08);
    }

    header {
        border-radius: 16px 16px 0 0;
    }
}

/* Overrides appended */

/* === PlacenteSkinLab palette override === */
:root {
    --psl-navy: #2F2D6B;
    --psl-lav: #7B79B6;
    --psl-lav-2: #A7A5D3;
    --psl-bg: #F3F2F7;
    --psl-card: #FFFFFF;
    --psl-border: #E4E1EF;
    --psl-text: #1E1E2A;
}

body {
    background: var(--psl-bg) !important;
    color: var(--psl-text) !important;
}

.page {
    background: transparent !important;
}

.logo-mark {
    background: var(--psl-navy) !important;
}

.header-cta {
    border-color: var(--psl-navy) !important;
    color: var(--psl-navy) !important;
}

    .header-cta:hover {
        background: rgba(47,45,107,.06) !important;
    }

.badge {
    background: rgba(123,121,182,.18) !important;
    color: var(--psl-navy) !important;
}

.pill {
    background: rgba(123,121,182,.16) !important;
    color: var(--psl-navy) !important;
    border: 1px solid rgba(123,121,182,.22) !important;
}

.btn-primary {
    background: var(--psl-navy) !important;
}

    .btn-primary:hover {
        filter: brightness(.95);
    }

.btn-secondary {
    border-color: var(--psl-navy) !important;
    color: var(--psl-navy) !important;
}

    .btn-secondary:hover {
        background: rgba(47,45,107,.06) !important;
    }

.section-title {
    color: var(--psl-navy) !important;
}

.card, .faq-item, .highlight-box, .stat {
    border-color: var(--psl-border) !important;
}

.card {
    background: var(--psl-card) !important;
}

.faq-q {
    color: var(--psl-navy) !important;
}

.chip {
    background: rgba(167,165,211,.22) !important;
    color: var(--psl-navy) !important;
    border: 1px solid rgba(167,165,211,.28) !important;
}

.step-number {
    background: var(--psl-navy) !important;
}

.timeline-step {
    border-color: var(--psl-border) !important;
}

.cta-final {
    background: linear-gradient(135deg, var(--psl-navy), var(--psl-lav)) !important;
    position: relative;
    overflow: hidden;
}

    .cta-final:before {
        content: "";
        position: absolute;
        inset: -80px -40px auto -40px;
        height: 220px;
        background: radial-gradient(circle at 10% 60%, rgba(255,255,255,.35) 0 6px, transparent 7px), radial-gradient(circle at 18% 70%, rgba(255,255,255,.25) 0 10px, transparent 11px), radial-gradient(circle at 35% 45%, rgba(255,255,255,.22) 0 5px, transparent 6px), radial-gradient(circle at 52% 70%, rgba(255,255,255,.18) 0 9px, transparent 10px), radial-gradient(circle at 70% 55%, rgba(255,255,255,.16) 0 6px, transparent 7px), radial-gradient(circle at 85% 75%, rgba(255,255,255,.12) 0 11px, transparent 12px);
        filter: blur(.2px);
        opacity: .9;
        pointer-events: none;
    }

    .cta-final:after {
        content: "";
        position: absolute;
        inset: auto -60px -90px -60px;
        height: 260px;
        background: radial-gradient(circle at 15% 30%, rgba(255,255,255,.45) 0 4px, transparent 5px), radial-gradient(circle at 28% 40%, rgba(255,255,255,.30) 0 7px, transparent 8px), radial-gradient(circle at 45% 55%, rgba(255,255,255,.22) 0 10px, transparent 11px), radial-gradient(circle at 60% 35%, rgba(255,255,255,.18) 0 6px, transparent 7px), radial-gradient(circle at 78% 50%, rgba(255,255,255,.16) 0 9px, transparent 10px), radial-gradient(circle at 90% 42%, rgba(255,255,255,.12) 0 12px, transparent 13px);
        opacity: .75;
        pointer-events: none;
    }

    .cta-final * {
        position: relative;
        z-index: 1;
    }

.btn-light {
    color: var(--psl-navy) !important;
}

.btn-outline-light {
    border-color: rgba(255,255,255,.8) !important;
}


/* PSL text-only edits (layout preserved) */
.quote-box {
    margin-top: 12px;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(33,33,76,0.14);
    border-radius: 14px;
    padding: 14px 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #26264b;
}

.num-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(33,33,76,0.10);
    color: #26264b;
    font-weight: 700;
    font-size: 12px;
    margin-right: 8px;
    flex-shrink: 0;
}

.process-term {
    margin-top: 10px;
    font-size: 12px;
    color: #555;
}

/* v3 updated blocks */
#process .step-number {
    display: none !important;
}

/* ---------- Modals (forms) ---------- */
body.modal-open {
    overflow: hidden;
}

.psl-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 14px;
    z-index: 9999;
}

    .psl-modal.is-open {
        display: flex;
    }

.psl-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(18,20,40,.55);
    backdrop-filter: saturate(140%) blur(2px);
}

.psl-modal__dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 22px 55px rgba(22, 24, 45, .18);
    border: 1px solid rgba(0,0,0,.06);
}

.psl-modal__close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    color: #6f7283;
    font-size: 22px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
}

.psl-form {
    padding: 26px 22px 18px;
}

    .psl-form h2 {
        margin: 0 52px 6px 0;
        font-size: 24px;
        line-height: 1.2;
        color: var(--pink);
        letter-spacing: -.2px;
        font-weight: 800;
    }

    .psl-form .sub {
        margin: 0 0 14px 0;
        color: #6b6f85;
        font-size: 14px;
        line-height: 1.5;
    }

    /* Fields (floating labels) */
    .psl-form .grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .psl-form .field {
        position: relative;
        margin: 0;
    }

    /*.psl-form input, .psl-form select, .psl-form textarea {
        width: 100%;
        padding: 16px 14px 14px;
        border: 1px solid var(--border-gray);
        border-radius: 14px;
        font-size: 16px;
        outline: none;
        background: #fff;
        transition: border-color .15s ease, box-shadow .15s ease;
    }*/

    .psl-form input,
    .psl-form select,
    .psl-form textarea {
        width: 100% !important;
        height: 60px !important; /* Увеличенная высота */
        padding: 24px 14px 8px !important; /* Больше места сверху для лейбла */
        border: 1px solid var(--border-gray) !important;
        border-radius: 14px !important;
        font-size: 16px !important;
        color: var(--psl-text) !important;
        background: #fff !important;
        outline: none;
        box-sizing: border-box !important;
        display: block !important;
    }


        .psl-form input:focus, .psl-form select:focus, .psl-form textarea:focus {
            border-color: rgba(46,42,107,.55);
            box-shadow: 0 0 0 4px rgba(46,42,107,.12);
        }

    /*.psl-form label.floating {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        padding: 0 6px;
        background: #fff;
        color: #8a90a6;
        font-size: 14px;
        pointer-events: none;
        transition: all .12s ease;
    }*/

    /* Исправляем положение лейбла (заголовка внутри поля) */
    .psl-form label.floating {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent !important; /* Убираем белый фон, чтобы не было дырок */
        color: #8a90a6;
        font-size: 14px;
        pointer-events: none;
        transition: all .15s ease;
        z-index: 5;
    }


    /*.psl-form input:not(:placeholder-shown) + label.floating,
    .psl-form textarea:not(:placeholder-shown) + label.floating,
    .psl-form input:focus + label.floating,
    .psl-form textarea:focus + label.floating {
        top: 7px;
        transform: none;
        font-size: 12px;
        color: #7a7fb5;
    }*/

    /* Используй +, если label идет сразу после input в HTML */
    .psl-form input:focus + label.floating,
    .psl-form input:not(:placeholder-shown) + label.floating,
    .psl-form textarea:focus + label.floating,
    .psl-form textarea:not(:placeholder-shown) + label.floating,
    .psl-form select:focus + label.floating,
    .psl-form select:not([value=""]):not(:focus) + label.floating,
    .psl-form select + label.floating {
        top: 10px !important;
        transform: translateY(0) !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: var(--psl-navy) !important;
    }


    .psl-form .hint {
        margin-top: 6px;
        font-size: 12px;
        color: #8a90a6;
    }

    .psl-form .reqline {
        margin-top: 6px;
        font-size: 12px;
        color: #8a90a6;
    }

    .psl-form .row2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .psl-form .consent {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin: 14px 0 16px;
        color: #6b6f85;
        font-size: 13px;
        line-height: 1.35;
    }

        .psl-form .consent input {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            accent-color: var(--pink);
            flex: 0 0 auto;
        }

    .psl-form .btn-submit {
        width: 100%;
        border: none;
        border-radius: 999px;
        padding: 14px 16px;
        font-size: 16px;
        font-weight: 800;
        color: #fff;
        background: var(--pink);
        cursor: pointer;
        box-shadow: 0 14px 26px rgba(46,42,107,.18);
    }

        .psl-form .btn-submit:active {
            transform: translateY(1px);
        }

    .psl-form .meta {
        margin-top: 10px;
        text-align: center;
        font-size: 12px;
        color: #9aa0b5;
    }

    .psl-form .chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: var(--pink);
        background: rgba(168,163,214,.25);
        border: 1px solid rgba(168,163,214,.55);
        padding: 8px 10px;
        border-radius: 999px;
        margin: 10px 0 14px;
    }

    /* Time slots (order form) */
    .psl-form .timegrid {
        border: 1px solid rgba(227,225,242,.9);
        border-radius: 16px;
        padding: 14px;
        background: rgba(245,244,250,.7);
        margin-top: 12px;
    }

    .psl-form .timelabel {
        font-weight: 700;
        color: var(--pink);
        margin-bottom: 10px;
        font-size: 14px;
    }

    .psl-form .optional {
        font-weight: 600;
        color: #8a90a6;
    }

    .psl-form .timeslots {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 12px;
    }

    .psl-form .slot {
        border: 1px solid rgba(46,42,107,.22);
        background: #fff;
        color: var(--pink);
        border-radius: 999px;
        padding: 10px 14px;
        font-weight: 700;
        cursor: pointer;
    }

        .psl-form .slot.active {
            background: rgba(46,42,107,.10);
            border-color: rgba(46,42,107,.38);
        }

/* Responsive */
@media (max-width:520px) {
    .psl-form {
        padding: 22px 18px 16px;
    }

        .psl-form h2 {
            font-size: 22px;
        }

        .psl-form .row2 {
            grid-template-columns: 1fr;
        }
}


/* --- Modal open fallback (works even if JS is blocked) --- */
.psl-modal {
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

    .psl-modal:target {
        opacity: 1;
        pointer-events: auto;
    }

    .psl-modal .psl-modal__overlay {
        cursor: pointer;
    }
    /* When :target opens, ensure overlay visible */
    .psl-modal:target .psl-modal__overlay {
        opacity: 1;
    }
    /* If JS adds .is-open, keep it working too */
    .psl-modal.is-open {
        opacity: 1;
        pointer-events: auto;
    }


/* --- Brochure photo (embedded) --- */
.hero-photos {
    margin: 16px 0 12px;
}

.hero-photo {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(18, 21, 35, .12);
    border: 1px solid rgba(19, 22, 48, .08);
}

    .hero-photo img {
        width: 100%;
        height: auto;
        display: block;
    }


/* 1. Возвращаем чекбоксу нормальный размер, отменяя 60px */
.psl-form input[type="checkbox"] {
    width: 20px !important; /* Размер самой галки */
    height: 20px !important; /* Размер самой галки */
    min-height: 20px !important; /* Чтобы height: 60px не перебило */
    margin: 0 !important;
    display: inline-block !important; /* Чтобы текст встал рядом, а не улетел */
    cursor: pointer;
    appearance: checkbox !important; /* Чтобы вернулся вид чекбокса, если он пропал */
    -webkit-appearance: checkbox !important;
}

/* 2. Чиним контейнер согласия (чтобы текст не плыл вправо) */
/* Обычно это блок .consent или родитель чекбокса */
.psl-form .consent,
.psl-form [class*="agree"] {
    display: flex !important;
    flex-direction: row !important; /* Чекбокс и текст в одну строку */
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important; /* Отступ между галкой и текстом */
    width: 100% !important;
    margin: 15px 0 !important;
}

    /* 3. Текст внутри блока согласия */
    .psl-form .consent label,
    .psl-form .consent-text,
    .psl-form [class*="agree"] p {
        font-size: 13px !important;
        line-height: 1.4 !important;
        text-align: left !important; /* Выравниваем текст по левому краю */
        white-space: normal !important; /* Чтобы текст переносился на новые строки */
        color: var(--psl-text) !important;
        margin: 0 !important;
    }



/* ---------- Footer & Legal ---------- */
.psl-footer {
    padding: 18px 16px 28px;
    border-top: 1px solid var(--psl-border);
    background: rgba(255,255,255,0.65);
    backdrop-filter: saturate(140%) blur(2px);
}

.psl-footer__inner {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.psl-footer__line {
    font-size: 12px;
    color: #6b6f85;
}

.psl-footer__links a {
    font-size: 12px;
    color: var(--psl-navy);
    text-decoration: underline;
}

.psl-legal .legal {
    margin-top: 10px;
    color: #3a3d52;
}

.psl-legal h3 {
    margin-top: 14px;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--psl-navy);
}

.psl-legal ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

.psl-legal li {
    margin-bottom: 6px;
    font-size: 13px;
}

.psl-legal p {
    font-size: 13px;
    margin-bottom: 10px;
}


/* ---------- Compact Privacy Modal ---------- */
#privacy.psl-modal {
    padding: 18px 10px;
}

#privacy .psl-modal__dialog {
    width: min(420px, 100%);
    max-height: calc(100vh - 72px);
}

#privacy .psl-form {
    padding: 16px 16px 14px;
}

#privacy .psl-modal__close {
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    font-size: 18px;
    line-height: 32px;
}

#privacy .psl-form h2 {
    font-size: 18px;
    margin: 0 44px 6px 0;
}

#privacy .psl-form .sub {
    font-size: 12px;
    margin: 0 0 10px 0;
}

#privacy .psl-legal h3 {
    margin-top: 12px;
    margin-bottom: 6px;
    font-size: 12px;
}

#privacy .psl-legal p,
#privacy .psl-legal li {
    font-size: 11px;
    line-height: 1.35;
}

#privacy .psl-legal ul {
    margin: 6px 0 0 16px;
}



/* Custom Navbar Styling (No Bootstrap) */
header {
    width: 100%;
    /* Используем фоновый цвет из твоих переменных */
    background: var(--psl-bg);
    /* Мягкая граница вместо черной полосы */
    border-bottom: 5px solid var(--psl-border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    /* Теперь ссылки будут прижаты к левому краю, если нет логотипа */
    justify-content: flex-start;
    padding: 12px 16px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* Используем глубокий синий для текста */
    color: var(--psl-navy);
    transition: opacity 0.2s;
}

    .nav-link:hover {
        opacity: 0.7;
    }

/* Стили для контейнера основной части */
.container {
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 20px 16px;*/
    padding: 0px 16px;
}

/* Фикс для футера, раз убрали классы Bootstrap */
.footer {
    padding: 20px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}


.form-error-msg {
    background: #fff5f5;
    padding: 8px;
    border-radius: 4px;
    border-left: 3px solid #ff4d4d;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.psl-modal--sm {
    max-width: 420px !important;
}


/* Стили для модального окна успеха */

#modal-success {
    display: flex !important; /* !important, чтобы перебить inline или другие */
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
}

    #modal-success .modal-content {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        padding: 28px 28px 24px;
        max-width: 560px; /* ширина увеличена на 1/3 */
        width: 90%;
        text-align: left;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    }

    #modal-success #success-title {
        font-size: 22px;
        font-weight: 600;
        color: #2e2a5e;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    #modal-success .badge {
        display: inline-block;
        background: #f1f0fa;
        color: #2e2a5e;
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 13px;
        margin-bottom: 18px;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    #modal-success .text {
        font-size: 15px;
        color: #555;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    #modal-success .button {
        width: 100%;
        border: none;
        border-radius: 999px;
        padding: 14px 18px;
        background: #3c3578;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        user-select: none;
    }



/*синие галочки слева*/
.benefits-list {
    list-style: none;
    padding: 0;
}

    .benefits-list li {
        display: flex;
        align-items: flex-start; /* Иконка будет сверху, если текст длинный */
        gap: 16px;
        margin-bottom: 24px;
    }

        /* Создаем круглую иконку с галочкой */
        .benefits-list li::before {
            content: '✓';
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            margin-top: 4px; /* Небольшая корректировка под первую строку */

            background-color: #F1F0FA; /* Светло-фиолетовый (как в модалке) */
            color: #3C3578; /* Темно-синий */
            border-radius: 50%;
            font-size: 14px;
            font-weight: bold;
        }

    .benefits-list strong {
        display: block;
        color: #2E2A5E;
        font-size: 18px;
        margin-bottom: 4px;
    }

    .benefits-list .text {
        font-size: 16px;
        color: #555;
        line-height: 1.5;
    }



/* Иконки How to order — step by step */

.timeline {
    max-width: 700px;
}

.timeline-step {
    margin-bottom: 32px; /* Увеличил отступ для визуальной чистоты */
}

.step-content {
    display: flex; /* Ключевое исправление: теперь иконка и текст в одной строке */
    align-items: center; /* Центрирование текста относительно иконки по вертикали */
    gap: 20px; /* Расстояние между иконкой и текстом */
}

.step-icon {
    width: 48px; /* Фиксированная ширина */
    height: 48px; /* Фиксированная высота */
    flex-shrink: 0; /* Запрещаем иконке сжиматься, если текст длинный */
    object-fit: contain; /* Сохраняем пропорции иконки */
}

.step-text {
    font-size: 18px;
    line-height: 1.4;
    color: #2E2A5E; /* Цвет в стиле вашего бренда (опционально) */
}

/*страничка админа*/
/* Подсветка строки в таблице при удалении */
.admin_row-highlight {
    background-color: #ff4444 !important;
    color: white !important;
}

    .admin_row-highlight td,
    .admin_row-highlight a,
    .admin_row-highlight small,
    .admin_row-highlight strong {
        color: white !important;
    }

/* Фон модального окна (overlay) */
.admin_custom-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999; /* Поверх всего */
}

/* Само модальное окно */
.admin_custom-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 300px;
    max-width: 90%;
}

    .admin_custom-modal h4 {
        margin: 0 0 10px 0;
        color: #333;
    }

.admin_custom-modal-btns {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.admin_custom-modal-btn-del {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
}

.admin_custom-modal-btn-cancel {
    background: #e9ecef;
    color: #495057;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 6px;
}

.admin_custom-modal-btn-del:hover {
    background: #c82333;
}

.admin_custom-modal-btn-cancel:hover {
    background: #dde2e6;
}



/* Мобильная адаптация */
@media (max-width: 480px) {
    .nav-links {
        display: none; /* Прячем меню на мобилках, оставляя лого и кнопку */
    }
}
