.back-container {
    max-width: 1268px;
    margin: 15px auto;
}
.back-link {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    color: #2A58CE;
    display: flex;
    gap: 8px;
    padding: 0 20px;
}
.tabs {
    display: flex;
    cursor: pointer;
    justify-content: center;
    margin-bottom: 30px;
    gap: 4px;
}
.tablinks {
    width: 130px;
    height: 40px;
    gap: 18px;
    background: #F8F9FB;
    border-radius: 8px;
    border: 1px;
    box-shadow: 4px 12px 40px 0px #2A58CE1F;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
}
.tablinks:hover {
    background-color: #ddd;
}
.tablinks.active {
    background-color: #fff;
    border: 1px solid #2A58CE;
}
.tabcontent {
    display: none;
    border-top: none;
}
.tabcontent.active {
    display: block;
}
.events__wrapper_center {
    justify-content: flex-start;
    gap: 20px;
    flex-direction: row;
}
.events-box {
    padding: 25px 20px!important;
    position: relative;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.events__wrap {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
    border-radius: 0px 0px 12px 12px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 7px 10px;
    background: #d2d2d2a3;
}
.events__button {
    min-width: 90%;
    height: 52px;
    display: flex;
    border-radius: 8px;
    background: #adff00;
    color: #29375A;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    -webkit-transition: all .6s;
    -o-transition: all .6s;
    transition: all .6s;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    cursor: pointer;
    border: none;
}
.events__item-town {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: #2A58CE;
    background: #ADFF00;
    padding: 2px 8px;
    border-radius: 4px;
}
.events__item-name {
    color: #29375A;
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
}
.events__item-date {
    border-radius: 4px;
    background: #fff;
    padding: 4px 8px;
    width: auto;
    color: #2A58CE;
}
.events__img_stands {
    width: 100%;
    border-radius: 12px;.
}
.events__item-logo {
    width: 80px;
}
.events__wrapper {
    position: relative;
}
.events-stand {
    background: #2a58ce;
    position: absolute;
    height: 39px;
    z-index: 1;
    top: 0;
    left: 0;
    color: #fff;
    border-radius: 12px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0px 10px;
    font-family: Poppins;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase;
    text-align: center;
}
.events-stand-img {
  width: 19px;  
}
.event-stand-name {
    font-weight: 900;
}
.popup {
    display: none; 
    position: fixed; 
    z-index: 19; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: #07193ae6;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;  
}

.popup.show {
    display: block;
    opacity: 1;
}

.popup-content {
    background-color: #F8F9FB;
    margin: 0 auto;
    padding: 10px 20px 25px;
    border: 1px solid #888;
    max-width: 480px;
    position: absolute;
    border-radius: 16px;
    left: 50%;
    top: 10%;
    transform: translate(-50%, 0);
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}

.close {
    color: #627093;
    float: right;
    font-size: 28px;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    color: #29375A;
    padding: 20px 0px;
    text-transform: uppercase;
}

.popup-form {
    display: flex;
    flex-direction: column;
}

.popup-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: #627093;
}

.popup-input {
    border: 1px solid #62709326;
    width: 416px;
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    padding-left: 10px;
    margin: 3px 0px 10px;
}

.popup-input::placeholder {
    color: #62709380;
    font-size: 14px; 
}

.popup-textarea  {
    border: 1px solid #62709326;
    width: 416px;
    height: 100px;
    border-radius: 12px;
    text-align: left;
    padding: 10px;
    margin: 3px 0px 20px;
}

.popup-textarea::placeholder {
    color: #62709380;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.popup-submitBtn {
    background-color: #ADFF00;
    color: #29375A;
    border: none;
    cursor: pointer;
    width: 416px;
    height: 52px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.popup-managerBtn {
    background-color: #fff;
    color: #2A58CE;
    cursor: pointer;
    width: 416px;
    height: 52px;
    border-radius: 8px;
    justify-content: center;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    border: 1px solid #2A58CE;
    font-size: 16px;
    font-weight: 500;
}
.thanks-message {
    display: none;
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    background-color: #fff;
    color: #2A58CE;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.thanks-message.show {
    display: block;
}
@media screen and (max-width: 500px) {
    .popup-content, .popup-input, .popup-textarea,
    .popup-submitBtn, .popup-managerBtn {
        width: 100%;
        max-width: 100%;
    }
    .popup-title {
        font-size: 24px;
    }
}
.news__header {
    font-size: 36px;
    font-style: normal;
    color: #29375a;
    font-weight: 700;
    line-height: 144%;
    text-align: center;
}
.news__title {
    font-family: Poppins;
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    text-align: left;
}
.news__content {
    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #627093;
}
.news__buttons {
    color: #2A58CE;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.news__subtitle {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    color: #627093;
    max-width: 750px;
    margin: 25px auto 35px;
}
.news-block p {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #627093;
}
.news__date {
    display: flex;
    gap: 8px;
    color: #627093;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    align-items: center;
}
.news-slider {
    background-image: url(../img/news-back.png);
    background-size: cover;
    background-repeat: no-repeat;

    padding: 100px 0px;
}

.news-slider__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
}
.news-events-box {
    justify-content: flex-start;
}
.news-slide-flex {
display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: space-between !important;
}
.swiper-slide .news__buttons {
    padding: 5px 0px 10px;
    width: 90%;
}
.swiper-slide, .swiper-slide {
    height: auto!important;
}
.swiper-container {
    width: 100%; /* Use full width */
    max-width: 1200px; /* Maximum width of the container */
    margin: 0 auto; /* Center the slider horizontally */
    overflow: hidden; /* Hide overflow */
}

.swiper-slide {
    background-color: #f3f3f3; /* Placeholder background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    overflow: hidden; /* Hide any overflowing content */
}

.custom-prev, .custom-next {
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px !important;
    height: 40px !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.custom-prev {
    background-image: url('../img/arrow-prev.svg'); 
    left: -20px!important;
}

.custom-next {
    background-image: url('../img/arrow-next.svg');
    right: -20px!important; /* Position relative to the slider */
}
.swiper-button-next:after, 
.swiper-button-prev:after {
    content: none!important;
}
@media (max-width: 768px) {
    .swiper-container {
        width: 100%;
    }
    .custom-prev, .custom-next {
        display: none!important;
    }
}
.swiper-all-news {
    background: #fff;
}

.support-pets-img {
    width: 100%;

}
.support-pets-title {
    width: 425px;
    margin-bottom: 20px;
}
.support-pets p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #627093;

}
.product-price {
    font-size: 20px;
    font-weight: 700;
    line-height: 52px;
    text-align: right;
    color: #29375A;
}
.product-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}
.support-pets_flex {
    align-items: center;
}
.how-to-help__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 52px;
    text-align: center;
    color: #29375A;

}
.how-to-help__subtitle {
    text-align: center!important;
    padding: 20px 0px;
}

.shop-back {
    background-image: url(../img/shop-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 1330px;
    background-position: center;
}
.shop-title {
    font-family: Mellow Burgundy;
    font-size: 64px;
    font-weight: 400;
    line-height: 51.2px;
    text-align: center;
    color: #29375A;
    width: 548px;
    margin: 50px auto;
    display: flex;
}
.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 4px 12px 40px 0px rgba(42, 88, 206, 0.12);
    overflow: hidden;
    padding: 10px;
    text-align: center;
    width: 100%;
    max-width: 360px;
}

.product-card img {
    width: 100%;
    height: 350px;
    margin-bottom: 15px;
    object-fit: cover;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color:#007BFF;
}
.product-card img {
    border-radius: 12px;
}
.shop {
    padding-bottom: 100px;
}
.programm-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 52px;
    text-align: center;
    color: #29375A;
}
.reports {
    
    background-image: url(../img/report-back.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 814px;
    position: relative;
    overflow-x: hidden;
}
.reports-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 52px;
    text-align: center;
    color: #fff;
    padding: 75px 0px 25px;
}
.support-ing-mob {
    display: none!important;
}
@media only screen and (min-width: 320px) and (max-width : 1023px)  {
.support-ing-desk {
    display: none;
}
.support-ing-mob {
    display: block;
}
.support-pets-title {
    width: 100%;
    margin-bottom: 20px;
    margin-top: 30px;
}
.shop-back {
    height: auto;
}
.products-grid {
    justify-content: center;
}
.shop-title {
    width: 300px;
}
}
/* Popup container */
.custom-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup content */
.custom-popup-content {
    text-align: center;
    width: 479px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 32px;
    gap: 39px;
    border-radius: 16px;
    height: 336px;
    background: #F8F9FB;
    position: relative;
}

/* Close button */
.close-popup-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.close-popup-btn:hover {
    color: red;
}

/* OK button */
.ok-popup-btn {
    background: #ADFF00;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 60px;
    height: 56px;
    width: 90%;
    color: #29375A;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.ok-popup-btn:hover {
    background-color: #45a049;
}

/* Explore Gallery button */
.explore-gallery-btn {
    background-color: #4caf50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.explore-gallery-btn:hover {
    background-color: #45a049;
}
.custom-popup-title {
font-size: 26px;
font-weight: 700;
line-height: 30px;
text-align: center;
color: #29375A;
}
.custom-popup-subtitle {
font-family: Poppins;
font-size: 16px;
font-weight: 400;
line-height: 24px;
text-align: center;
color: #627093;
margin-top: 10px;

}
.custom-popup-icon {
    width: 37px;
    margin-top: 10px;
}
@media only screen and (min-width: 320px) and (max-width : 1023px)  {
.custom-popup-content {
    width: 328px;
    height: auto;
}
.custom-popup-title {
    font-size: 24px;
}
.custom-popup-subtitle {
    font-size: 16px;
}
.ok-popup-btn {
    margin-top: 25px;
}
}
}
.brands-block {
background: -webkit-linear-gradient(180deg, #2A58CE 0%, #F8F9FB 100%);
background: -moz-linear-gradient(180deg, #2A58CE 0%, #F8F9FB 100%);
background: -o-linear-gradient(180deg, #2A58CE 0%, #F8F9FB 100%);
background: linear-gradient(180deg, #2A58CE 0%, #F8F9FB 100%);
}
.back-link-white {
    color: #fff;
}
.event-flex {
    background: #fff;
    border-radius: 16px;
}
 /* Скрытие по умолчанию */
    .event-success-popup.hidden {
        display: none;
    }

    /* Фон-оверлей */
    .event-success-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* полупрозрачный тёмный фон */
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    /* Сам контент попапа */
    .event-success-popup .success-popup-content {
        background: #fff;
        padding: 2rem;
        border-radius: 8px;
        max-width: 90%;
        width: 400px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .success-popup-title {
        color: rgba(41, 55, 90, 1);
        font-weight: 700;
        font-size: 26px;
        line-height: 30px;
    }
    .success-popup-content-text {
        color: rgba(98, 112, 147, 1);
        font-family: Poppins;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0%;
        text-align: center;
        margin: 25px auto;
    }
    .event-success-popup {

        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .event-success-popup.show {
        visibility: visible;
        opacity: 1;
        display: block!important;
        background: rgba(7, 25, 58, 0.9);
    }

    .event-success-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .event-success-popup .event-popup.show {
        visibility: visible;
        opacity: 1;
    }
    .success-popup-content {
        background: #fff;
        padding: 30px;
        border-radius: 12px;
        max-width: 500px;
        width: 100%;
        text-align: center;
        position: relative;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);

    }
