/********************************************************************************************************************************************/
/******************************/
/*   MAIN START   */

/* Блок карточек */
#listings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

/* Стили каждой карточки */
.colonka {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    text-align: center;
    background-color: #fff;
    position: relative; /* Для кнопки удаления */
}

.colonka_img img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.colonka_text {
    padding: 10px;
}

.colonka_text p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.colonka_text p:first-child {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

/* Кнопка удаления */
.btn-delete-listing {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: red;
    font-size: 18px;
}

/* Пагинация */
#pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

#pagination-container button {
    padding: 8px 16px;
    margin: 0 5px;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

#pagination-container button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#pagination-container span {
    font-size: 16px;
}

/* Делаем модальное окно поверх всего */
#delete-confirmation-modal.modal {
    display: none; 
    position: fixed;
    z-index: 9999; /* Большой z-index, чтобы перекрыть всё */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* Затемнение фона */
    align-items: center;
    justify-content: center;
}
#delete-confirmation-modal .modal-dialog {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}
#delete-confirmation-modal .modal-content {
    position: relative;
}
#delete-confirmation-modal .btn-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

main {
    height: auto;
}

.main-container {
    min-width: 1720px !important;
    max-width: 1920px !important;
    padding: 0px 75px;
}

.main-background {
    height: auto;
    min-height: 100vh;
    background: url(/vet-main/img/Group\ 16683.png) center /cover;
    padding-top: 93px;
}

.main_desk {
    background: #F6F6F6CC;
    border-radius: 50px;
    width: 1720px;
    height: 1909px;
    backdrop-filter: blur(30px);
    margin-bottom: 120px;
}

.main_desk-zagolovok {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    background: #2A9D8F;
    border-radius: 30px 30px 0 0;
    height: 97px;
}

.main_desk-zagolovok h2 {
    text-align: center;
    margin: 0;
    color: #FFFFFF;
    margin-top: 30px;
}

.main_desk-zagolovok2 {
    width: 940px;
    margin-bottom: 100px;
}

#form2 {
    width: 230px  !important;
    height: 48px;
    margin-right: 0;
}

#form2 .form-outline {
    width: 172px;
    
}

#form2search {
    width: 172px;
    height: 48px;
    font-size: 14px !important;
    font-family: var(--mm500);
    border-radius: 10px 0px 0px 10px !important;
}

#button_form2 {
    width: 48px;
    height: 48px;
    border-radius: 0px 10px 10px 0px;
}

.custom-toggle-arrow{
  font-size: 18px;
  margin-top: 1px;
  line-height: 12px;
}

.drop-1 {
 width: 280px;
 background-color: rgba(252, 252, 252, 1);
}

.drop-2 {
 width: 220px;
 background-color: rgba(252, 252, 252, 1);
}

.drop-1,
.drop-2 {
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(217, 217, 217, 1);
    margin: 0;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.drop-1:active,
.drop-2:active {
    border: 1px solid rgba(42, 157, 143, 1) !important;
    border-radius: 10px !important;
}

.drop-1:focus,
.drop-2:focus {
    border: 1px solid rgba(42, 157, 143, 1) !important;
    border-radius: 10px !important;
}

.drop-1 .dropdown-toggle:focus,
.drop-2 .dropdown-toggle:focus{
    border: 1px solid rgba(42, 157, 143, 1) !important;
    border-radius: 10px !important;
    height: 100%;
}

    a.active.focus,
    a.active:focus,
    a.focus,
    a:active.focus,
    a:active:focus,
    a:focus,
    .btn.focus,
    .btn:active.focus,
    .btn:active:focus,
    .btn:focus {
    outline: 0;
    outline-color: transparent;
    outline-width: 0;
    outline-style: none;
    box-shadow: 0 0 0 0 rgba(0,123,255,0);
    }   

.colonki {
    width: 940px;
    height: 1333px;
    display: grid;
    grid-template-columns: repeat(3, auto);
    row-gap: 20px;
    gap: 20px;
    justify-content: space-between;
}
  
.colonka {
    width: 300px;
    height: 431px;
    background-color: white;
    border-radius: 10px;
}

.colonka_img img{
    border-radius: 10px 10px 0 0;
    width: 300px;
    height: 300px;
}

.colonka_text {
    height: 131px;
}

.colonka_text p {
    margin: 0;
}

.colonka_text p:first-of-type {
    font-family: var(--mm500);
    color: rgba(25, 25, 25, 1);
    font-size: 22px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 42px;
    height: 27px;
}

.colonka_text p {
    font-family: var(--mm500);
    color: rgba(25, 25, 25, 1);
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
    height: 17px;
}

.colonka_text p:last-of-type {
    font-family: var(--mm500);
    color: rgba(25, 25, 25, 1);
    font-size: 12px;
    text-align: center;
    height: 15px;
}

.title {
    margin: 0;
}

.city {
    margin: 0;
}

.list {
    margin-top: 60px;
    width: 264px;
}

.list_page {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(26, 188, 156, 1);
    padding: 0;
}

.list_page:hover {
    background-color: rgba(26, 188, 156, 1);
    transition: background-color 0.4s;
}

.list_page:hover a {
    color: white;
    transition: white 0.4s;
}

.list_back,
.list_next {
    width: 41px;
    height: 34px;
    border: 1px solid rgba(26, 188, 156, 1);
}

.list_back {
    border-radius: 5px 0px 0px 5px;
    background-color: rgba(238, 238, 238, 1);
}

.list_next {
    border-radius: 0px 5px 5px 0px;
    background-color: rgba(238, 238, 238, 1);
}

.list_page {
    background-color: rgba(252, 252, 252, 1);
}

#list_page1 {
    background-color: #1ABC9C;
}         

#list_page1 a {
    color: white;
}

/*   MAIN END   */
/******************************/
/********************************************************************************************************************************************/

/**   MAIN MOBILE   **/
/********************************************************************************************************************************************/
/******************************/
/* Мобильный мейн 320рx - 480рx */

@media (min-width:320px) and (max-width:479px) {
    .main-container {
        max-width: none !important;
        min-width: initial !important;
        padding: 0;
        width: auto !important;
        height: auto !important;
    }

    .main-background {
        background-image: none;
    }

    .main_desk {
        width: 100%;
        height: auto;
        border-radius: 0;
        background-image: url(/vet-main/img/Group\ 16683.png);
    }
    
    .colonki {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        grid-template-columns: repeat(2, auto);
        gap: 10px;
        margin-bottom: 40px;
    }

    .colonka img {
        width: 100%;
        height: auto;
    }

    .colonka {
        width: 100%;
        height: auto;
        border-radius: 10px, 10px, 0px, 0px;
        border: 1px solid #2A9D8F
    }

    .colonka_text {
        background-color: #F4F4F4;
        border-radius: 10px;
        height: auto;
    }

    .dropdown-menu2 {
        top: 95px;
        left: 60px;
    }

    .main_desk-zagolovok {
        margin-top: 75px;
        margin-bottom: 40px;
        background: transparent;
        display: flex;
        justify-content: center;
    }

    .main_desk-zagolovok h2 {
        font-size: 20px;
        font-family: var(--mmB);
        line-height: 24px;
        width: 219px;
        color: #2A9D8F;
    }

    .main_desk-zagolovok2 {
        flex-direction: column;
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        margin-bottom: 40px;
    }

    .main_desk-zagolovok2 .dropdown{
        width: 100% !important;
        background-color: #F4F4F4;
        margin-bottom: 20px;
        border-radius: 3px;
        border: none;
        color: #000000;
        height: 35px;
    }
    .main_desk-zagolovok2 .dropdown span {
        font-size: 14px;
        font-family: var(--mm500);
        color: #000000;
    }
    

    #form2 {
        width: 100% !important;
        height: 35px;
        display: flex;
        flex-wrap: nowrap;
        
    }

    .form-outline {
        display: inline-block;
        width: 100% !important;
        
    }

    #form2search {
        width: 100% !important;
        height: 35px;
        border-radius: 3px 0px 0px 3px !important;
        border: none;
        background-color: #F4F4F4;
    }

    #form2search::placeholder {
        color: #000000;
        text-align: center;
        padding-left: 50px;
    }
    
    #button_form2 {
        width: 35px;
        height: 35px;
        border-radius: 0px 3px 3px 0px !important;
    }

    .colonka_text .container p:first-of-type {
        font-family: var(--mm600);
        font-size: 12px;
        font-weight: 500;
        line-height: 14.63px;
        text-align: center;
        color: #191919;
        margin-top: 13px;
        margin-bottom: 16px;
    }
    
    .colonka_text .container p {
        font-family: var(--mm500);
        font-size: 8px;
        font-weight: 500;
        line-height: 9.75px;
        text-align: center;
        color: #191919;
        margin-bottom: 10px;
    }

    .colonka_text .container p:last-of-type {
        margin-bottom: 12px;
    }

    .list {
        margin-top: 0;
        margin-bottom: 90px;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }
}

/* Мобильный мейн 320рx - 480рx */
/******************************/

/******************************/
/* Мобильный мейн 480px - 768px */

@media (min-width:480px) and (max-width:768px) {
    .main-container {
        max-width: none !important;
        min-width: initial !important;
        padding: 0;
        width: auto !important;
        height: auto !important;
    }

    .main-background {
        background-image: none;
    }

    .main_desk {
        width: 100%;
        height: auto;
        border-radius: 0;
        background-image: url(/vet-main/img/Group\ 16683.png);
    }
    
    .colonki {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        grid-template-columns: repeat(2, auto);
        gap: 20px;
        margin-bottom: 60px;
    }

    .colonka img {
        width: 100%;
        height: auto;
    }

    .colonka {
        width: 100%;
        height: auto;
        border-radius: 10px, 10px, 0px, 0px;
        border: 1px solid #2A9D8F
    }

    .colonka_text {
        background-color: #F4F4F4;
        border-radius: 10px;
        height: auto;
    }

    .main_desk-zagolovok {
        margin-top: 75px;
        margin-bottom: 82px;
        background: transparent;
        width: 328px;
    }

    .main_desk-zagolovok h2 {
        font-family: var(--mmB);
        font-size: 30px;
        font-weight: 700;
        line-height: 36.57px;
        text-align: center;
        color: #2A9D8F;

    }

    .main_desk-zagolovok2 {
        flex-direction: column;
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        margin-bottom: 53px;
    }

    .main_desk-zagolovok2 .dropdown{
        width: 100% !important;
        background-color: #F4F4F4;
        margin-bottom: 20px;
        border-radius: 3px;
        border: none;
        color: #000000;
        height: 35px;
    }
    .main_desk-zagolovok2 .dropdown span {
        font-size: 20px;
        font-family: var(--mm500);
        color: #000000;
    }
    

    #form2 {
        width: 100% !important;
        height: 35px;
        display: flex;
        flex-wrap: nowrap;
        
    }

    .nav_main .input-group .form-outline {
        width: unset !important;
    }

    .form-outline {
        width: 100% !important;
        display: inline-block;
    }

    #form2search {
        width: 100% !important;
        height: 35px;
        border-radius: 3px 0px 0px 3px !important;
        border: none;
        background-color: #F4F4F4;
    }

    #form2search::placeholder {
        color: #000000;
        font-size: 20px;
    }

    #form2search {
        padding-left: 65px;
        text-align: center;
    }
    
    #button_form2 {
        width: 35px;
        height: 35px;
        border-radius: 0px 3px 3px 0px !important;
    }

    .colonka_text .container p:first-of-type {
        font-family: var(--mm600);
        font-size: 18px;
        font-weight: 500;
        line-height: 14.63px;
        text-align: center;
        color: #191919;
        margin-top: 13px;
        margin-bottom: 16px;
    }
    
    .colonka_text .container p {
        font-family: var(--mm500);
        font-size: 10px;
        font-weight: 500;
        line-height: 9.75px;
        text-align: center;
        color: #191919;
        margin-bottom: 10px;
    }

    .colonka_text .container p:last-of-type {
        margin-bottom: 12px;
        font-size: 8px;
        font-family: var(--mm500);
    }

    .list {
        margin-top: 0;
        margin-bottom: 150px;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }
}

/* Мобильный мейн 480px - 768px */
/******************************/    

/******************************/
/* Мобильный мейн 768px - 1024px */

@media (min-width:768px) and (max-width:1023px) {
    .main-container {
        max-width: none !important;
        min-width: initial !important;
        padding: 0;
        width: auto !important;
        height: auto !important;
    }

    .main-background {
        background-image: none;
    }

    .main_desk {
        width: 100%;
        height: auto;
        border-radius: 0;
        background-image: url(/vet-main/img/Group\ 16683.png);
    }
    
    .colonki {
        width: 100%;
        padding-left: 70px;
        padding-right: 70px;
        grid-template-columns: repeat(3, auto);
        gap: 17px;
        margin-bottom: 60px;
        height: auto;
    }

    .colonka img {
        width: 100%;
        height: auto;
    }

    .colonka {
        width: 100%;
        height: auto;
        border-radius: 10px, 10px, 0px, 0px;
        border: 1px solid #2A9D8F;
    }

    .colonka_text {
        background-color: #F4F4F4;
        border-radius: 10px;
        height: auto;
    }

    .main_desk-zagolovok {
        margin-top: 75px;
        margin-bottom: 82px;
        background: inherit;
        display: flex;
        justify-content: center;
    }

    .main_desk-zagolovok h2 {
        font-size: 30px;
        font-family: var(--mmB);
        color: #2A9D8F;
        line-height: 36.57px;
        width: 328px;
    }

    .main_desk-zagolovok2 {
        flex-direction: column;
        width: 100%;
        padding-left: 70px;
        padding-right: 70px;
        margin-bottom: 53px;
    }

    .main_desk-zagolovok2 .dropdown{
        width: 100% !important;
        background-color: #F4F4F4;
        margin-bottom: 20px;
        border-radius: 3px;
        border: none;
        color: #000000;
        height: 35px;
    }
    .main_desk-zagolovok2 .dropdown span {
        font-size: 20px;
        font-family: var(--mm500);
        color: #000000;
    }

    .main_desk-zagolovok2 .input-group .form-outline {
        width: 100% !important;
    }
    

    #form2 {
        width: 100% !important;
        height: 35px;
        display: flex;
        flex-wrap: nowrap;
        
    }

    .form-outline {
        display: inline-block;
        
    }

    #form2search {
        width: 100% !important;
        height: 35px;
        border-radius: 3px 0px 0px 3px !important;
        border: none;
        background-color: #F4F4F4;
    }

    #form2search::placeholder {
        color: #000000;
        font-size: 20px;
    }

    #form2search {
        padding-left: 65px;
        text-align: center;
    }
    
    #button_form2 {
        width: 35px;
        height: 35px;
        border-radius: 0px 3px 3px 0px !important;
    }

    .colonka_text .container p:first-of-type {
        font-family: var(--mm600);
        font-size: 18px;
        font-weight: 500;
        line-height: 14.63px;
        text-align: center;
        color: #191919;
        margin-top: 32px;
        margin-bottom: 20px;
    }
    
    .colonka_text .container p {
        font-family: var(--mm500);
        font-size: 10px;
        font-weight: 500;
        line-height: 9.75px;
        text-align: center;
        color: #191919;
        margin-bottom: 15px;
    }

    .colonka_text .container p:last-of-type {
        margin-bottom: 12px;
        font-size: 8px;
        margin-bottom: 20px;
    }

    .list {
        margin-top: 0;
        margin-bottom: 150px;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }
}

/* Мобильный мейн 768px - 1024px */
/******************************/

/******************************/
/* Мобильный мейн 1024px - 1800px */

@media(min-width:1024px) and (max-width:1800px) {
    .main-background {
        background: url(../../../img/pattern.png);
        padding-top: 208px;
    }

    .main_desk-zagolovok {
        width: 100%;
        background-color: #2A9D8F;
        margin-top: 0;
        border-radius: 20px 20px 0px 0px;
        height: 55px;
    }

    .main_desk-zagolovok2 {
        width: 756px;
        margin-bottom: 30px;
    }

    .main_desk-zagolovok h2{
        color: #FFFFFF;
        font-family: var(--mm600);
        font-size: 20px;
        font-weight: 600;
        line-height: 24.38px;
        text-align: center;
        margin-top: 16px;
    }

    .main-container {
        max-width: unset !important;
        min-width: unset !important;
    }

    .main_desk {
        width: 884px;
        background-color: #F6F6F6;
        height: 1684px;
    }

    .colonki {
        width: 756px;
        grid-template-columns: repeat(3, auto);
    }

    .colonka {
        width: 238px;
        height: 370px;
    }

    .colonka_text {
        background: #FFFFFF;
        border-radius: 10px;
    }

    .main_desk {
        margin-bottom: 100px !important; 
      }

    .drop-1 {
        width: 174px;
        font-family: var(--mm500);
        font-size: 16px;
        line-height: 19.5px;
        height: 32px;
        margin-right: 20px;
    }

    .drop-2 {
        width: 174px;
        font-family: var(--mm500);
        font-size: 16px;
        line-height: 19.5px;
        height: 32px;
        margin-right: 20px;
    }

    .main_desk-zagolovok2 .input-group {
        display: none;
    }
    
    .find {
        width: 174px;
        border-radius: 5px 5px 5px 5px;
        background: linear-gradient(90deg, #02AAB0 0%, #00CDAC 100%);
        font-family: var(--mm500);
        font-size: 14px;
        line-height: 17.07px;
        color: #FFFFFF;
        border: none;
        height: 32px;
    }

    .find p {
        padding-top: 7px;
        margin-bottom: 0;
        padding-bottom: 8px;
    }
}

/* Мобильный мейн 1024px - 1800px */
/******************************/
/********************************************************************************************************************************************/
/**   MAIN MOBILE   **/

/* Так надо */
/********************************************************************************************************************************************/

@media (min-width:320px) and (max-width:1023px) {
    .outro_designers {
        display: none;
    }
}


@media (min-width:1024px) and (max-width:9999px) {
    .nav-toggle {
        display: none;
    }

    .nav {
        display: none !important;
    }

    .nav .logo {
        display: none !important;
    }
}

@media (min-width:1024px) and (max-width:1800px) {
    .nav {
        display: inherit;
    }

    .nav_block .logo {
        display: none !important;
    }
}

@media (min-width:1800px) and (max-width:9999px) {
    .outro_designers {
        display: none;
    }
}

/********************************************************************************************************************************************/
/* Так надо */

@media(min-width:1024px) and (max-width:9999px) {        
    
    
    .outro-design {
        display: none;
    }
    
    .social {
        display: none;
    }   

    .mobile_categories {
        display: none;
    }

    .main_background .input-group {
        display: none !important;
    }
}

@media (min-width:320px) and (max-width:768px) {
    .btn-back-to-top {
        display: none !important;
    }

}

@media (min-width:768px) and (max-width:990px) {
    .input-group {
        margin-bottom: 25px !important;
    }
}

@media (min-width:1024px) and (max-width:1800px) {
    .outro-design {
      display: none;
    }
  }


@media (min-width:320px) and (max-width:1023px) {
    .outro_designers {
        display: none;
    }
}

@media (min-width:1800px) and (max-width:9999px) {
    .outro_designers {
        display: none;
    }

    .nav-toggle {
        display: none;
    }

}

@media (min-width:1024px) and (max-width:1800px) {
    .nav {
        display: inherit;
    }

    .nav_block .logo {
        display: none !important;
    }
}

