.hidden{
    display: none !important;
}
.ring-sizes .ring-size.disabled {
    display: none;
}
.newsliderpage .category__section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 2rem;
}
.col-md-12.sale-personal-section-index .col-lg-4.col-md-6.col-sm-12.col-xs-12 {
    width: calc(100% / 4);
}
.header__btn svg {
    color: #283336;
}
.product-card__favourite svg {
    background: #fff;
}
.product-card__favourite.product-card__favourite--active svg {
    background: #283336;
}
.catalog-section-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.js-catalog__section__page {
    width: 100%;
}

.filter__item.active {
    text-decoration: underline;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #283336;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text h3 {
    color: #ffff;
    font-size: 17px;
    margin-bottom: 20px;
}

.cookie-text p {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

button#acceptCookies {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    backdrop-filter: blur(2.9px);
    -webkit-backdrop-filter: blur(0.5px);
    border: 1px solid rgba(255, 255, 255, 0.47);
    padding: 1.5rem 2rem;
    color: #283336;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    transition: .3s;
    min-width: 20rem;
    text-align: center;
}
button#acceptCookies:hover {
    background: rgba(40, 51, 54, 0.7);
    color: #FFFFFF;
    transition: .3s;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}


.basket-item-info-name-link:hover {
    text-decoration: none;
    cursor: default;
}

.filter-price__inputs {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.filter-price__input {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: normal;
    color: #283336;
    border: 1px solid #283336;
    padding: 1.2rem 2rem;
    border-radius: .5rem;
    height: 4.4rem;
    width: 100%;
}
.filter-price__input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.filter-price__label {
    margin-left: 0;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: normal;
    color: #283336;
    margin-bottom: 0;
}
.bx-sls .bx-ui-sls-route {
    position: relative !important;
    visibility: hidden;
    opacity: 0;
}
.bx-sls .bx-ui-sls-fake {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.filter__element.JEW_SPLAV {
    margin-bottom: 0;
}
div#postamat {
    display: flex;
    margin-top: 30px;
}
#bx-soa-delivery .bx-soa-pp.row {
    display: flex;
    flex-direction: column;
}
img.bx-soa-pickup-preview-img {
    max-width: 76px;
}
div#pickUpMap {
    display: none;
}
ul.delivery__text li {
    list-style: circle;
}
.catalog__button.catalog__button--mobile:hover{
    background: unset;
}

.header__menu-link {
    font-weight: 600;
}
div#corner_map {
    border-radius: 10px;
    overflow: hidden;
}
/* Вместо полного сброса трансформаций */
/*.product__gallery .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
}

.product__gallery .swiper-wrapper {
    box-sizing: border-box;
}*/

.contacts__elements-item.address a.contacts__elements-value {
    padding-left: 35px;
    position: relative;
}
.contacts__elements-item.address a.contacts__elements-value:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url('/local/templates/lissa/markup/images/almaz.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
.header__search #title-search {
    display: flex;
    width: 100%;
}
div.title-search-result {
    top: 306px !important;
    left: 563px !important;
    width: 446px !important;
    background: #fff;
    border: 1px solid;
    border-radius: 5px;
}
table.title-search-result {
    width: 100%;
}
table.title-search-result td {
    background-color: white;
    font-weight: normal;
    padding-top: 2px;
    padding-bottom: 2px;
    text-align: left;
    white-space: nowrap;
    width: 100%;
}
table.title-search-result td a{
    width: 100%;
}
a.back-button {
    padding: 1rem;
    border-radius: .5rem;
    background: #283336;
    color: #FFFFFF;
    transition: .3s;
    display: inline;
    font-size: 12px;
}
.articles-desc__block {
    width: 80%;
    font-size: 16px;
}
.politics {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.politics a {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: normal;
    color: #FFFFFF;
    text-transform: uppercase;
    position: relative;
    transition: -webkit-transform .25s ease;
    transition: transform .25s ease;
    transition: transform .25s ease, -webkit-transform .25s ease;
    display: block;
    width: max-content;
}
.politics a:hover {
    color: #FFFFFF;
    position: relative;
    text-decoration: underline;
}
.header.new .header__categories {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 43%;
    flex-wrap: wrap;
    row-gap: 15px;
    margin-right: 75px;
    column-gap: 55px;
}
.header.new .header__logo {
    margin-right: 50px;
}
.header.new  .header__search {
    border: 1px solid #283336;
    border-radius: .5rem;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    height: 40px;
    margin-right: auto;
    width: 23%;
}
div.title-search-result {
    top: 215px !important;
    left: unset !important;
    width: 446px !important;
    background: #fff;
    border: 1px solid;
    border-radius: 5px;
    right: 337px;
}
.about__image-img {
    object-position: top;
}

@media (max-width: 500px) {
    a.back-button {
        padding: 1rem;
        border-radius: .5rem;
        background: #283336;
        color: #FFFFFF;
        transition: .3s;
        display: inline;
        font-size: 8px;
    }
    #product .swiper-vertical {
        max-height: 100px;
    }
    #product .swiper-vertical .swiper-wrapper {
        display: flex;
        flex-direction: row;
        overflow: auto;
        max-height: 90px;
    }
    #product .swiper-vertical .swiper-wrapper .swiper-slide {
        max-width: 90px;
        margin-right: 10px;
        width: 90px !important;
        height: 90px !important;
    }
    #product .product__slider {
        display: flex;
        gap: 2rem;
        flex-direction: column-reverse;
    }
    .articles__section {
        display: flex;
        flex-direction: column;
    }
    .articles-desc__block {
        width: 100%;
        font-size: 16px;
    }
    div.title-search-result {
        top: 200px!important;
        left: 0 !important;
        width: 100% !important;
        border: none;
        border-radius: 0;
        background: #fff;
    }
    /* Стили для модального окна поиска */
    .mobile-search-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        display: block !important; /* Переопределяем inline style */
    }

    .mobile-search-modal.show {
        opacity: 1;
        visibility: visible;
    }

    .mobile-search-modal__content {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 20px;
        border-radius: 0 0 12px 12px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .mobile-search-modal.show .mobile-search-modal__content {
        transform: translateY(0);
    }

    .mobile-search-modal__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #e5e5e5;
    }

    .mobile-search-modal__header h3 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
        color: #333;
    }

    .mobile-search-modal__close {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s ease;
    }

    .mobile-search-modal__close:hover {
        opacity: 0.7;
    }

    .mobile-search-modal__close svg {
        fill: #666;
    }

    .mobile-search-modal__body {
        margin-top: 10px;
    }

    /* Адаптируем форму поиска под модальное окно */
    .mobile-search-modal__body .search-form {
        width: 100%;
    }

    .mobile-search-modal__body input[type="text"] {
        width: 100%;
        padding: 12px 15px;
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 8px;
        outline: none;
        transition: border-color 0.2s ease;
    }

    .mobile-search-modal__body input[type="text"]:focus {
        border-color: #3e4e53;
        box-shadow: 0 0 0 2px #3e4e5352;
    }

    .mobile-search-modal__body button {
        width: 100%;
        margin-top: 10px;
        padding: 12px;
        background-color: transparent;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.2s ease;
        border: 1px solid #283336;
    }


    /* Оверлей для затемнения фона */
    .header__overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .header__overlay.show {
        display: block;
        opacity: 1;
    }

    /* Блокируем скролл при открытом модальном окне */
    body.modal-open {
        overflow: hidden;
    }
    .header__buttons {
        gap: 10px;
    }
}