.section{
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.sectionPage{
    margin-top: 125px;
}

.sectionTitle{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.sectionTitle h2{
    text-align: center;
    font-size: 32px;
    color: #333;
    width: 60%;
}

.sectionTitleLeft{
    justify-content: flex-start;
}

.sectionTitleLeft h2{
    width: 100%;
    text-align: left;
}

.sectionTitle p{
    text-align: center;
    font-size: 18px;
    color: #999;
    margin-top: 15px;
    width: 100%;
}

/* btn */

.btnContainerCenter{
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.btn{
    display: inline-block;
    padding: 14px 24px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover{
    transform: translateY(-3px);
}

.btnMain{
    /* background: #ab72cc;
    border: 1px solid #ab72cc;
    color: #fff; */

    background: #c790e7;
    color: #fff;
    font-weight: bold;
}

.btnMain:hover{
    background: #442e20;
    color: #fff;
}

.btnWhite{
    background: #fff;
    color: #c790e7;
    font-weight: bold;
}

.btnWhite:hover {
    background-color: #f5e5ff;
}

.btnWp{
    background: #25CB62;
    color: #fff;
}

.btnWp:hover{
    background: #199446;
}

.btnSecondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: bold;
}

.btnSecondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btnUnderline{
    text-decoration: underline !important;
    color: #ab72cc;
    transition: .4s;
}

.btnUnderline:hover{
    text-decoration: none !important;
}

/* color */

.mainColor{
    color: #ab72cc !important;
    transition: .4s;
}

.mainColorHover:hover{
    color: #c790e7 !important;
}

.paleBackground{
    background: #F2F2F2;
}

.secondarySection{
    padding: 45px 0;
    background: #FAFAFA;
}

.mainBg{
    background: #c790e7;
}

.mainDarkBg{
    background: #ab72cc;
}

.secondBg{
    background: #ab72cc;
}

.mainBgHover:hover{
    background: #ab72cc;
}

.secondBgHover:hover{
    background: #ab72cc;
}

.secondColorHover:hover{
    color: #ab72cc;
}

.secondColor{
    color: #c790e7;
}


@media(min-width: 320px) and (max-width: 550px){
    .section{
        margin-top: 45px;
    }

    .sectionTitle h2{
        font-size: 24px;
        width: 100%;
    }
    
    .sectionLink{
        font-size: 14px;
        margin-top: 5px;
    }
}


@media(min-width: 550px) and (max-width: 920px){
    .section{
        margin-top: 45px;
    }

    .sectionTitle h2{
        font-size: 28px;
    }
    
    .sectionLink{
        font-size: 14px;
    }
}


::-webkit-scrollbar { width: 6px; height: 10px;}
::-webkit-scrollbar-track {  background-color: #fff;}
::-webkit-scrollbar-track-piece { background-color: none;}
::-webkit-scrollbar-thumb { background: #ab72cc; border-radius: 20px;}

.darkMask{
    background: #00000091;
    width: 100%;
    height: 100%;

    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;

}





.textComponent {
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

.textComponent h1 {
    font-size: 2.5em;
    color: #333;
    margin: 25px 0;
    font-weight: bold;
    text-align: left;
    width: 100%;
}

.textComponent h2 {
    font-size: 1.6em;
    color: #333;
    margin: 20px 0;
    font-weight: bold;
    text-align: left;
    width: 100%;
}

.textComponent h3 {
    font-size: 1.75em;
    color: #333;
    margin: 15px 0;
    font-weight: bold;
    width: 100%;
}

.textComponent p {
    font-size: 1em;
    margin: 15px 0;
    text-align: justify;
    width: 100%;
}

.textComponent a {
    color: #ab72cc;
    text-decoration: none;
}

.textComponent a:hover {
    color: #c790e7;
    text-decoration: underline;
}

.textComponent ul, .textComponent ol {
    margin: 15px 0;
    padding-left: 30px;
    width: 100%;
}

.textComponent ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}

.textComponent ol li {
    list-style-type: decimal;
    margin-bottom: 8px;
}

.textComponent strong {
    font-weight: bold;
}

.textComponent em {
    font-style: italic;
}

.textComponent blockquote {
    border-left: 4px solid #ab72cc;
    padding-left: 20px;
    color: #666;
    margin: 20px 0;
    font-style: italic;
    width: 100%;
}

@media (min-width: 320px) and (max-width: 550px) {
    .textComponent {
        padding: 10px 0;
    }

    .textComponent h1 {
        font-size: 2em;
        margin: 20px 0;
    }

    .textComponent h2 {
        font-size: 1.75em;
        margin: 15px 0;
    }

    .textComponent h3 {
        font-size: 1.5em;
        margin: 10px 0;
    }

    .textComponent p {
        font-size: 0.95em;
        margin: 10px 0;
    }

    .textComponent ul, .textComponent ol {
        padding-left: 20px;
        margin: 10px 0;
    }

    .textComponent blockquote {
        margin: 15px 0;
        padding-left: 15px;
    }
}

/* modals */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease;
}

.modalContent {
    display: flex;
    justify-content: space-between;
    background-color: #fefefe;
    margin: 15% auto;
    width: 80%;
    max-width: 760px;
    border-radius: 10px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.modalFormContent{
    width: 60%;
    padding: 20px;

}

.modalContentHeader h2{
    font-size: 20px;
}

.modalContentHeader p{
    font-size: 14px;
    color: #666;
    margin-top: 6px;
}

.modalForm label{
    display: inline-block;
    margin-top: 15px;
    width: 100%;
}

.modalForm label p{
    font-size: 12px;
    color: #999;
}

.modalForm input{
    padding: 14px;
    width: calc(100% - 28px);
    border: 1px solid #ddd;
    font-size: 14px;
    margin-top: 6px;
    border-radius: 5px;
}

.modalForm input:focus{
    border: 1px solid #F66717;
    color: #F66717;
}

.modalSubmitContainer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.modalSubmitContainer p{
    color: #666;
    font-size: 14px;
    margin-left: 15px;
}

.modalSubmitContainer p a{
    text-decoration: underline;
}

.modalSubmitContainer p a:hover{
    text-decoration: none;
}

.modalImage{
    width: 40%;
    position: relative;
}

.modalImageMask{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000088;
}

.modalImage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close {
    color: #fff;
    font-size: 28px;
    font-weight: unset;
    transition: .4s;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}

.close:hover{
    transform: rotate(135deg);
}

.close:hover,
.close:focus {
    text-decoration: none;
    cursor: pointer;
}



/* messageContainer */

/* Стиль для модального окна с статусом */
#statusModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Фон */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.statusModalContent {
    background-color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    width: 460px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.statusModalIcon {
    display: flex;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.statusIcon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #28a745; /* Зеленый для успеха */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    text-align: center;
}

.statusIcon.error {
    background-color: #dc3545; /* Красный для ошибки */
}

.statusIcon img{
    width: 40%;
}

.statusModalContent p {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media(min-width: 320px) and (max-width: 550px){
    .statusModalContent{
        width: calc(90% - 20px);
        padding: 40px 10px;
    }
}













/* ### pages - components ### */

.page{
    margin-top: 100px;
}

.pageContent{
    margin-top: 20px;
}

.pageContainer{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.pageTitle h1{
    font-size: 28px;
}

.breadCrumbs{
    display: flex;
    margin-top: 10px;
}

.breadCrumbs a, .breadCrumbs p{
    font-size: 14px;
    color: #ab72cc;
}

.breadCrumbs span{
    display: inline-block;
    margin: 0 5px;
    font-size: 14px;
    color: #ab72cc;
}

.breadCrumbs p{
    color: #999;
}


@media(min-width: 320px) and (max-width: 1328px){
        
    .pageContainer{
        justify-content: center;
    }

    .leftContent{
        display: none;
    }

    .rightContent{
        width: 100%;
    }

    .pageTitle h1{
        font-size: 24px;
    }

    .breadCrumbs{
        display: flex;
        margin-top: 5px;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
    }

    .breadCrumbs::-webkit-scrollbar { width: 0px; height: 0px;}

    .catalogTabsContainer{
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        width: 100%;
        white-space: nowrap;
    }

    .catalogTabsContainer::-webkit-scrollbar { width: 0px; height: 0px;}

    /* filter */

    
    .catalogFilterContent{
        float: left;
        width: 100%;
    }
    
    .catalogFilterItem{
        margin-top: 10px;
    }
    
    .catalogFilterContent .mainBg{
        color: #fff;
    }
    
    .catalogFilterItem:hover{
        color: #fff;
    }
    
    .catalogFilterContainer .btn{
        float: left;
        margin-top: 15px;
    }
    

}





/* cities */
.fullContent{
    width: 100%;
}
.citiesContainer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
}

.cityPageItem{
    padding: 15px;
    background: #E9ECF4;
    border-radius: 10px;
    color: #333;
    transition: .4s;
}

.cityPageItem:hover{
    color: #fff;
}

@media(min-width: 320px) and (max-width: 550px){
    .citiesContainer{
        grid-template-columns: 1fr;
    }
}

@media(min-width: 550px) and (max-width: 720px){
    .citiesContainer{
        grid-template-columns: 1fr 1fr;
    }
}

@media(min-width: 720px) and (max-width: 920px){
    .citiesContainer{
        grid-template-columns: 1fr 1fr 1fr; 
    }
}


.sectionFull{
    height: 100vh;
}

.pageErrorContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.pageError{
    text-align: center;
}

.pageError h1{
    color: #313238;
    font-size: 82px;
}

.pageError p{
    font-size: 20px;
    margin-top: 10px;
    color: #575757;
    font-weight: 500;
}

.pageError .btn{
    margin-top: 20px;
}

