#banner {
    display: block;
    width: var(--main-container-width);
    margin-bottom: 40px;
}

#slidr-img {
    display: flex !important;
    margin: auto;

    img.sldr {
        width: var(--main-container-width);
        z-index: 1001;
    }

    .phone, .tg {
        display: none;
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 1002;
        font-family: Inter;
        font-weight: 600;
        font-style: Semi Bold;
        font-size: 18px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: -4%;
        color: #FFFFFF;
        cursor: pointer;
    }

    .phone {
        bottom: 35px;
        left: 76px;
    }

    .tg {
        left: 335px;
        bottom: 35px;
    }

    .phone a, .tg a {
        text-decoration: none;
        color: #FFFFFF;
    }
}

#benefits {
    display: flex;
    width: var(--main-container-width);
    margin: auto;
    gap: 20px;

    .benefit {
        padding: 20px;
        display: inline-block;
        width: 282px;
        height: 288px;
        border-radius: 12px;

        .cont {
            display: grid;
            min-height: 100%;
        }

        span {
            color: #fff;
            font-weight: 400;
            text-align: left;
            display: block;
        }

        span.text {
            font-family: unset;
            font-size: 12px;
            line-height: 14.4px;
        }

        span.num {
            font-family: unset;
            font-size: 16.07px;
            font-style: italic;
            line-height: 15.91px;
            display: flex;
            align-items: end;
            margin-left: auto;
            margin-bottom: 20px;
        }
    }

    .benefit1 {
        background: url('../../images/dimond.png') #366383 left 20px bottom 40px no-repeat;
    }

    .benefit2 {
        background: url('../../images/star.png') #366383 left 20px bottom 40px no-repeat;
    }

    .benefit3 {
        background: url('../../images/prize.png') #366383 left 20px bottom 40px no-repeat;
    }

    .benefit4 {
        background: url('../../images/wallet.png') #366383 left 20px bottom 40px no-repeat;
    }
}


#bottom {
    height: 244px;
    display: flex;
    width: var(--main-container-width);
    margin: 60px auto;
    gap: 20px;
    border-radius: 24px;
    background-color: #D0DFED;

    .map {
        width: 282px;
        height: 208px;
        border-radius: 16px;
        background: url('../../images/map.png') #D9D9D9 no-repeat;
        margin: 18px;
    }

    .contact {
        display: grid;
        height: 208px;
        margin: 18px;

        .section {
            display: grid;
            text-align: left;
            height: 40px;

            .head {
                font-family: Montserrat;
                font-size: 20px;
                font-weight: 500;
                text-align: left;
                color: #366383;
            }

            .form {
                cursor: pointer;
            }

            .text {
                font-family: Montserrat;
                font-size: 16px;
                font-weight: 500;
                text-align: left;
                color: #366383;

                a {
                    text-decoration: none;
                    color: #366383;
                }
            }
        }
    }

    .social {
        display: grid;
        align-items: end;
        height: 244px;
        margin-left: auto;

        .section {
            display: grid;
            text-align: left;
            padding-bottom: 18px;
            padding-right: 18px;

            .head {
                font-family: Montserrat;
                font-size: 20px;
                font-weight: 500;
                text-align: left;
                color: #366383;
                display: flex;
                align-items: end;
                margin-bottom: 20px;
            }

            .icons {
                width: 182px;
                height: 100px;
                padding: 11px 19px 11px 19px;
                gap: 10px;
                border-radius: 24px;
                background-color: #fff;
                display: flex;
                align-items: center;
                margin-left: auto;

                .icon:nth-child(2) {
                    margin-left: auto;
                }
            }
        }
    }
}

.samo_container .panel {
    background-color: #FFC574;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
/*.modal-content {*/
/*    background-color: #fefefe;*/
/*    margin: 15% auto; !* 15% from the top and centered *!*/
/*    padding: 20px;*/
/*    border: 1px solid #888;*/
/*    width: 80%; !* Could be more or less, depending on screen size *!*/
/*}*/

/* The Close Button */
.close, .closeTh {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-left: auto;
}

.close:hover, .closeTh:hover,
.close:focus, .closeTh:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Header */
.modal-header {
    padding: 20px 40px !important;
    background-color: #FFC574;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Modal Body */
.modal-body {
    padding: 20px 40px !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;

    div.row {
        display: flex;
        flex-direction: row;
        gap: 15px;
        margin-right: auto;

        div.head {
            font-weight: bold;
            width: 100px;
            text-align: left;
        }

        div.input {
            width: 400px;

            input {
                width: 100%;
            }

            textarea {
                width: 100%;
                height: 150px;
            }
        }
    }
}

/* Modal Footer */
.modal-footer {
    padding: 20px 40px !important;
    background-color: #FFC574;
    color: white;
    display: flex;
    flex-direction: row;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto !important;
    padding: 0;
    border: 1px solid #888;
    width: 40%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

#header {
    margin-bottom: 20px !important;
}

#header .bottom-menu2 {
    margin-top: 20px;

    .menu2 {
        width: var(--main-container-width);
        margin: auto;
        display: flex;
        flex-direction: row;
        gap: 20px;
        font-weight: bold;
        text-wrap: nowrap;

        div {
            background-color: #D0DFED;
            padding: 10px 18px 10px 18px;
            border-radius: 6px;

            a {
                text-decoration: none;
                color: #000;
            }
        }
    }
}

#banner:hover .slidr-control.left::after, #banner:hover .slidr-control.right::after {
	display: block;
}

aside[id="slidr-img-control"] .slidr-control.left::after, aside[id="slidr-img-control"] .slidr-control.right::after {
    width: 54px !important;
    height: 100% !important;
    cursor: pointer;
    border-radius: 12px;
    border: none !important;
    z-index: 1000;
    position: absolute !important;
    top: 0 !important;
    margin-top: 0 !important;
/*    display: none; */
}
#slidr-img {
    overflow: visible !important;
}
aside[id="slidr-img-control"] .slidr-control.left::after {
    left: -30px !important;
    background: url("/public/pict/a-l.png") center center no-repeat;
}
aside[id="slidr-img-control"] .slidr-control.right::after {
    right: -30px !important;
    background: url("/public/pict/a-r.png") center center no-repeat;
}

/* Оверлей */
/*.overlay {*/
/*    position: fixed;*/
/*    inset: 0;*/
/*    background: rgba(0, 0, 0, 0.55) !important;*/
/*    display: none;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    z-index: 1000;*/
/*}*/

/*.overlay.active {*/
/*    display: flex;*/
/*    animation: fadeIn 0.25s ease;*/
/*}*/

/*@keyframes fadeIn {*/
/*    from { opacity: 0; }*/
/*    to { opacity: 1; }*/
/*}*/

/*!* Модалка *!*/
/*.modal-banner {*/
/*    background: #fff;*/
/*    border-radius: 20px;*/
/*    max-width: 900px;*/
/*    width: 95%;*/
/*    max-height: 90vh;*/
/*    overflow-y: auto;*/
/*    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);*/
/*    transform: translateY(20px);*/
/*    opacity: 0;*/
/*    animation: slideUp 0.3s ease forwards;*/
/*}*/

/*@keyframes slideUp {*/
/*    from { transform: translateY(40px); opacity: 0; }*/
/*    to { transform: translateY(0); opacity: 1; }*/
/*}*/

/*!* Кнопка закрытия *!*/
/*.modal-banner .close {*/
/*    position: absolute;*/
/*    top: 20px;*/
/*    right: 20px;*/
/*    background: #fff;*/
/*    border: none;*/
/*    border-radius: 50%;*/
/*    width: 36px;*/
/*    height: 36px;*/
/*    cursor: pointer;*/
/*    font-size: 20px;*/
/*    box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
/*}*/

/*.modal-banner .close:hover {*/
/*    background: #f3f3f3;*/
/*    padding: 0;*/
/*}*/

:root {
    --bg: #fffaf7;
    --accent: #f4b349;
    --muted: #f6f2ef;
    --dark: #222;
    --card: #fff;
    --soft: #fbf7f5;
    --shadow: 0 6px 20px rgba(17, 17, 17, 0.08);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

.overlay {
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 1006;
}

.overlay.active {
    display: flex;
/*    animation: fadeIn 0.25s ease; */
}

.modal-banner {
    width: 1212px;
    background: var(--card);
    border-radius: 26px;
    padding: 30px !important;
    box-shadow: var(--shadow);
    /*display: grid;*/
    /*grid-template-columns: 220px 1fr 340px;*/
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
/*    transition: all 0.3s ease;
    animation: fadeIn 0.4s ease;*/
    z-index: 1004;
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);}
    to {opacity: 1; transform: scale(1);}
}

.modal-banner .close {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #231F20;
    color: #231F20;
    background: white;
    cursor: pointer;
}

.modal-banner .close:hover {
    background: white;
}

.modal-banner .left {
    background: #FFFCF8;
    padding: 22px;
    border-radius: 16px;
    height: fit-content;
    width: 231px;
}

.modal-banner .title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: left;
}

.modal-banner .menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-banner .menu button {
    background: transparent;
    border: none;
    padding: 14px 18px;
    text-align: left;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: none;
    color: #231F20;
}

.modal-banner .menu button:hover {
    background: rgba(244, 179, 73, 0.25);
}

.modal-banner .menu button.active {
    background: var(--accent);
    color: white;
    box-shadow: none;
    transform: scale(1.03);
}

.modal-banner .center {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.modal-banner .hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #ddd;
    width: 511px;
    /*height: 320px;*/
    display: flex;
    align-items: end;
}

.modal-banner .img-bg {
    background-image: url('admin/uploads/tour_68fbda053700a.png') center center;
    width: 511px;
    height: 388px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.modal-banner .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.modal-banner .hero:hover img {
    transform: scale(1.05);
}

.modal-banner .carousel-controls {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 96%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.modal-banner .carousel-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #366383;
    cursor: pointer;
    box-shadow: none;
    font-size: large;
}

.modal-banner .carousel-controls button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.modal-banner .overlay-text {
    position: absolute;
    left: 28px;
    bottom: 22px;
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.modal-banner .overlay-text h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: 0.2px;
}

.modal-banner .rating {
    font-size: 18px;
    color: #DFB300;
}

.modal-banner .hotel-toggle {
    display: flex;
    gap: 10px;
    background: #F8F8F8;
    border-radius: 24px;
    padding: 8px 14px;
    border: none;
}

.modal-banner .hotel-toggle button {
    background: var(--card);
    border-radius: 16px;
    padding: 8px 14px;
    border: none;
    font-weight: 700;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.25s ease;
    color: #231F20;
    flex-direction: row;
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.modal-banner .hotel-toggle button.active {
    background: #F3AD3D;
    color: #FFFFFF;
}

.modal-banner .hotel-toggle button span {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #231F20;
    background: #D8C29E;
}

.modal-banner .hotel-toggle button.active span {
    background: #FFFFFF;
    color: #231F20;
}

.modal-banner .hotel-toggle button:hover {
    background: var(--accent);
    color: white;
}

.modal-banner .prices {
    background: #FFFCF8;
    padding: 9px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.modal-banner .prices h3 {
    margin: 0 9px 8px 9px;
    text-align: left;
    font-size: 14.04px;
    font-weight: 700;
    border-bottom: 1px solid rgba(54, 99, 131, 0.32);
    height: 30px;
}

.modal-banner .price-card {
    background: #222;
    color: white;
    padding: 18px;
    border-radius: 12px;
    min-width: 120px;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
    font-size: large;
}

.modal-banner .price-card:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(244, 179, 73, 0.4);
}

.modal-banner .price-card small {
    opacity: 0.8;
}

.modal-banner .right {
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-banner .right .one {
    padding: 18px;
    border-radius: 16px;
    background: #FFFCF8;
}

.modal-banner .right .one h3 {
    margin: 0;
    text-align: left;
    font-size: 14.04px;
    font-weight: 700;
    height: 30px;
    border-bottom: 1px solid rgba(54, 99, 131, 0.32);
}

.modal-banner .features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-banner .feature {
    display: flex;
    justify-content:flex-start;
    align-items: flex-start;
    padding: 2px 6px;
    font-size: 14px;
    gap: 6px;
}

.modal-banner .feature span.name {
    align-items: flex-start;
    text-align: left;
}

.modal-banner .feature strong {
    font-weight: bold;
    margin-left: auto;
    max-width: 130px;
    text-align: right;
}

.modal-banner .feature img {
    text-align: center;
    margin-top: 8px;
    margin-left: auto;
    width: 85px;
    opacity: 0.9;
}

.modal-banner .feature span.icon {
    width: 20px;
    height: 20px;
}

.modal-banner .feature span.icon.route {
    background: url('../pict/icons/route.svg');
}
.modal-banner .feature span.icon.speed-train {
    background: url('../pict/icons/speed-train.svg');
}
.modal-banner .feature span.icon.chef {
    background: url('../pict/icons/chef.svg');
}
.modal-banner .feature span.icon.maps {
    background: url('../pict/icons/maps.svg');
}
.modal-banner .feature span.icon.passport {
    background: url('../pict/icons/passport.svg');
}
.modal-banner .feature span.icon.mentoring {
    background: url('../pict/icons/mentoring.svg');
}
.modal-banner .feature span.icon.medicine-bottle {
    background: url('../pict/icons/medicine-bottle.svg');
}
.modal-banner .feature span.icon.hand-bag {
    background: url('../pict/icons/hand-bag.svg');
}
.modal-banner .feature span.icon.droplet {
    background: url('../pict/icons/droplet.svg');
}
.modal-banner .feature span.icon.airplane {
    background: url('../pict/icons/airplane.svg');
}

.modal-banner .small-note {
    font-size: 13px;
    color: #666;
    text-align: right;
}

.modal-banner .prices {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: nowrap;
    flex-direction: inherit;
}

.modal-banner .head {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.modal-banner .content {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.modal-banner .commission {
    align-self: flex-end;
    font-size: 13px;
    color: #777;
    margin-right: 18px;
}

.modal-banner .snalar {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.modal-banner .meta.one {
    flex: 1;
    min-width: 200px;
}

.modal-banner .meta.one h4 {
    margin: 0 0 8px 0;
}

.modal-banner .meta.one p {
    margin: 0;
}

.modal-banner .meta.two {
    width: 220px;
    min-width: 180px;
}

.modal-banner .meta.two h4 {
    margin: 0 0 8px 0;
}

.modal-banner .meta.two p {
    margin: 0;
}

.modal-banner .rr {
    width: 377px;
}

.modal-banner .sanalar {
    padding: 12px;
    border-radius: 12px;
    background: #FFFCF8;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-banner .sanalar .meta {
    text-align: left;
    margin-bottom: 4px;
}

.modal-banner .sanalar .meta h3 {
    margin: 0;
    text-align: left;
    font-size: 14.04px;
    font-weight: 700;
    height: 24px;
    border-bottom: 1px solid rgba(54, 99, 131, 0.32);
    margin-bottom: 4px;
}

.modal-banner .sanalar .meta .row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.modal-banner .sanalar .meta .row span {
    background: #D8C29E;
    border-radius: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

@media (max-width: 1024px) {
    .modal {
        grid-template-columns: 1fr;
        width: 95%;
        padding: 20px;
    }

    .left {
        order: -1;
    }

    .hero {
        height: 260px;
    }

    .right {
        order: 3;
    }
}

@media (max-width: 600px) {
    .prices {
        flex-direction: column;
    }

    .hotel-toggle button {
        padding: 6px 10px;
        font-size: 13px;
    }

    .overlay-text h2 {
        font-size: 22px;
    }

    .menu button {
        font-size: 14px;
    }
}
