/* Keep the original comparison notice inside its card at desktop widths too. */
.products-slide__wrapper:not(.slick-initialized) { overflow-x: auto; }
#contact_page [role=tabpanel][hidden] { display: none; }
.stimul-site-page .products-slider > .slick-arrow { width: 106px; height: 80px; }
.catalog-breadcrumbs { padding-bottom: 0; }
.catalog-breadcrumbs--product { padding-bottom: 120px; }
.catalog-breadcrumbs--product .breadcrumbs { display: flex; margin-bottom: 0; }
.catalog-breadcrumbs ~ main > .page-section:first-child { padding-top: 0; }
@media (max-width: 1199px) { .catalog-breadcrumbs--product { padding-bottom: 60px; } }
.content_block .wp-block-buttons { margin-top: 49px; }
.wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.wp-block-gallery.has-nested-images .wp-block-image { width: auto; margin: 0; }
.wp-block-gallery.has-nested-images .wp-block-image img { width: 100%; height: auto; }
@media (max-width: 600px) { .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1200px) {
    .stimul-legacy-header .header_logo img { width: 200px; max-width: 200px; height: auto; }
}
.page_wrapper img { max-width: 100%; height: auto; }
.stimul-catalog-page .article-product__picture img { height: 100%; object-fit: cover; }
.news-slider .slick-track { display: flex; }
.news-slider .slick-slide { height: inherit; }
.news-slider .slick-slide > div { display: flex; min-height: 100%; }
.news-slider .news-slide img { height: 250px; object-fit: cover; }
#contact_page .branches_tab { max-width: 100%; gap: 20px; }
#contact_page .branches_tab li { flex-shrink: 0; }
@media (max-width: 992px) {
    #contact_page .branches_tab { overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; gap: 0; }
    #contact_page .branches_tab li { flex-shrink: 1; }
}
.ys-news-gallery { display: grid; grid-template-columns: repeat(var(--gallery-columns), minmax(0,1fr)); gap: 20px; }
.ys-news-gallery img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .ys-news-gallery { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
    .page_wrapper.container .content_block { margin-left: 0; margin-right: 0; }
    .page_wrapper.container .content_block_col { padding-left: 0; padding-right: 0; }
}

.stimul-catalog-page .article-product__notification {
    left: auto;
    right: 0;
    transform: none;
}

div.wpforms-container-full .wpforms-form textarea.ys-form-comment {
    height: 80px;
    min-height: 80px;
    resize: vertical;
}
div.wpforms-container-full .wpforms-form .ys-form-captcha {
    display: grid;
    grid-template-columns: minmax(100px, 180px) minmax(0, 1fr);
    align-items: end;
    gap: 16px;
}
.ys-form-captcha__image { padding-bottom: 10px; }
.ys-form-captcha__image img { display: block; max-width: 100%; height: auto; }
.ys-form-captcha__input { min-width: 0; }
.ys-form-captcha > [data-ys-field-error] { grid-column: 1 / -1; }
div.wpforms-container-full .wpforms-form .privacy_consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    cursor: pointer;
}
div.wpforms-container-full .wpforms-form .privacy_consent input[type=checkbox] {
    appearance: auto;
    flex: 0 0 18px;
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: #70b028;
}
.privacy_consent a { color: #70b028; text-decoration: underline; }
.modal__container .privacy_consent,
.modal__container .ys-form-resume > small { color: #fff; }
div.wpforms-container-full .wpforms-form .ys-form-resume__drop {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100px;
    padding: 16px;
    border: 1px dashed #aaa;
    color: #333;
    background: #fff;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}
div.wpforms-container-full .wpforms-form .ys-form-resume__drop input[type=file] {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.ys-form-resume__drop:focus-within { outline: 2px solid #70b028; outline-offset: 2px; }
.ys-form-resume__clear { border: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; }
.ys-form-resume__clear[hidden] { display: none; }



        .cookie-banner {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(150%);
            width: calc(100% - 40px);
            max-width: 600px;
            background: #ffffff;
            border-radius: 5px;
            padding: 20px 24px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            z-index: 999999;
            opacity: 0;
            transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                        opacity 0.4s ease;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }
        .cookie-banner.active {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }
        .cookie-banner__text {
            font-size: 14px;
            line-height: 1.5;
            color: #333333;
            flex: 1;
        }
        .cookie-banner__link {
            color: #70B028;
            text-decoration: underline;
            font-weight: 500;
            transition: opacity 0.2s;
        }
        .cookie-banner__link:hover {
            opacity: 0.8;
            color: #5A8E20;
        }
        .cookie-banner__button {
            background: linear-gradient(90deg, #B2D800 0%, #70B028 100%);
            color: #ffffff;
            border: none;
            border-radius: 5px;
            padding: 10px 24px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            text-transform: none;
            transition: transform 0.2s, box-shadow 0.2s;
            flex-shrink: 0;
        }
        .cookie-banner__button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(112, 176, 40, 0.4);
        }
        .cookie-banner__button:active {
            transform: translateY(0);
        }
        @media (max-width: 480px) {
            .cookie-banner {
                flex-direction: column;
                text-align: center;
                padding: 16px;
                bottom: 10px;
                width: calc(100% - 20px);
            }
            .cookie-banner__button {
                width: 100%;
                padding: 12px;
            }
        }
