.header-top__location,
.cart-widget__btn,
.modal-form__btn,
.order-btn,
.form-question form button,
.modal-callback__btn,
.js-more-btn,
.catalog-sidebar__lead,
.js-cart-widget-delivery-no-address,
.js-cart-widget-delivery-has-address .arrow,
.product-item__order-one {
    cursor:pointer;
}

/* Contacts page: same tooltip UI pattern as product page icon--with-tooltip */
.contacts-info__map-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.25rem;
    vertical-align: middle;
}

.contacts-info__map-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    min-width: 180px;
    max-width: 260px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(20, 40, 2, 1);
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 8px 20px rgba(20, 40, 2, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, visibility .16s ease;
    z-index: 20;
}

.contacts-info__map-tooltip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(20, 40, 2, 1);
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .16s ease, visibility .16s ease;
    z-index: 21;
}

.contacts-info__map-tooltip:hover::after,
.contacts-info__map-tooltip:hover::before,
.contacts-info__map-tooltip:focus-visible::after,
.contacts-info__map-tooltip:focus-visible::before {
    opacity: 1;
    visibility: visible;
}

@media (hover: none) {
    .contacts-info__map-tooltip::after,
    .contacts-info__map-tooltip::before {
        display: none;
    }
}

/* Portfolio tabs accordion: ordered lists should behave like unordered lists */
.portfolio-type__tabs-content .item .accordion-item__content ol {
    margin-left: 0.9375rem;
    list-style: decimal;
}

.portfolio-type__tabs-content .item .accordion-item__content ol li {
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 113%;
    letter-spacing: -0.02em;
    color: #142802;
}

.portfolio-type__tabs-content .item .accordion-item__content ol li:last-child {
    margin-bottom: 0;
}

.portfolio-type__tabs-content .item .accordion-item__content p {
    margin-bottom: 0.5rem;
}

.portfolio-type__tabs-content .item .accordion-item__content p:last-child {
    margin-bottom: 0;
}

/* Cart widget delivery row (mobile): keep remaining-sum text visible above progress track */
@media (max-width: 47.9375rem) {
    .js-cart-widget-delivery-has-address {
        position: relative;
        z-index: 1;
        color: #142802;
    }

    .js-cart-widget-delivery-has-address .cart-widget__delivery-text,
    .js-cart-widget-delivery-has-address .delivery-sum,
    .js-cart-widget-delivery-has-address .js-cart-widget-delivery-tail {
        color: #142802 !important;
        opacity: 1;
        visibility: visible;
    }

    .js-cart-widget-delivery-has-address .cart-widget__delivery-track {
        z-index: 0;
        pointer-events: none;
    }
}
.modal-checkout-delivery__btn{
    width:100%;
    cursor:pointer;
}
.modal-delivery__content{
    width: 100%;
}

.modal-delivery__content .modal-delivery__notice{
    margin-top: 1rem;
}

/* Hide header favorite & login icons but keep their layout space on desktop only */
@media (min-width: 62.01rem) {
    .header-favorite,
    .header-login {
        visibility: hidden;
    }
}

/* Header top "Еще" dropdown */
.header-top__toggle-wrap {
    position: relative;
}
.header-top__toggle {
    cursor: pointer;
}
.header-top__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 12rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(20, 40, 2, 0.14);
    padding: 8px 0;
    z-index: 100;
}
.header-top__toggle-wrap.is-open .header-top__dropdown {
    display: block;
}
.header-top__dropdown-item {
    display: block;
    padding: 8px 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #142802;
    text-decoration: none;
    transition: background 0.15s;
}
.header-top__dropdown-item:hover {
    background: #f5f7f2;
}
.header-search__category-item img{
    width:48px;
    height:48px;
    object-fit: cover;
    border-radius: 8px;
}
.js-header-search-categories{
    margin-bottom: 2.5rem;
}

/* Header search dropdown: equalize product card sizes */
.header-search__goods {
    align-items: stretch;
}
.header-search__goods {
    flex-wrap: wrap;
}
.header-search__goods-item {
    width: calc((100% - 1rem) / 3);
}
@media (max-width: 47.9375rem) {
    .header-search__goods-item {
        width: calc(50% - 0.25rem);
    }
}
.header-search__goods-item {
    display: flex;
    flex-direction: column;
}
.header-search__goods-img {
    height: 15rem;
    overflow: hidden;
    flex-shrink: 0;
}
.header-search__goods-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.header-search__goods-img a{
    height:100%;
}


.modal-checkout-delivery__map-inner {
    min-height: 280px;
    height: 100%;
}
.map-iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.home-ymap-inner {
    display: block;
    width: 100%;
    height: 100%;
}

/* modal-delivery: same functional styles as modal-checkout-delivery */
.modal-delivery__map.js-delivery-map-block {
    position: relative;
}
.modal-delivery__map-inner {
    min-height: 200px;
    height: 100%;
}
.modal-delivery__map .modal-delivery__map-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 200px;
}
.modal-delivery__map.mob .modal-delivery__map-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 160px;
}
/* Point mode: only after clicking "Указать местоположение на карте" can user pick a place; cursor = crosshair (pin/precision) */
.modal-delivery.point_mode .js-delivery-map-block,
.modal-delivery.point_mode .js-delivery-map-block .modal-delivery__map-inner,
.modal-delivery.point_mode .js-delivery-map-block .modal-delivery__map-inner * {
    cursor: crosshair !important;
}
.modal-delivery__suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 10;
    background: #fff;
    border: 1px solid rgba(20, 40, 2, 0.2);
    border-radius: 8px;
    max-height: 240px;
    overflow-y: auto;
    margin-top: 4px;
}
.modal-delivery__enter {
    position: relative;
}
.modal-delivery__suggestions .modal-checkout-delivery__suggestions-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.95rem;
}
.modal-delivery__suggestions .modal-checkout-delivery__suggestions-item:hover {
    background: rgba(20, 40, 2, 0.06);
}
.modal-checkout-delivery__wrap::before{
    display:none;
}

/* Empty slot in catalog slider (keeps grid layout when fewer than 8 categories on last page) */
.catalog-item--empty {
    visibility: hidden;
    pointer-events: none;
}

/* Catalog filter: ensure label is positioning context so the invisible checkbox covers it and receives clicks */
.catalog-filter__options-wrap label {
    position: relative;
}
.catalog-filter__options-wrap input[type="checkbox"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

/* Checkout recipient form: red border on invalid inputs, single error message under form */
.modal-user__form input.is-invalid {
    border: 1px solid red;
}
.modal-user__form-error {
    color: red;
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}
/* Callback consent: only the checkbox box is red when invalid, not the whole block */
.modal-user__form .check-container input[type="checkbox"].is-invalid + .check-checkmark {
    border-color: red;
}

/* Bulk order modal: variation title under main title (product + size) */
.modal-user__variation-title {
    margin-top: 0.6rem;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.3;
    color: rgba(20, 40, 2, 0.8);
}

/* Phone mask: same look as other placeholders (#142802 @ 40% opacity) when empty */
input.js-phone-empty {
    color: rgba(20, 40, 2, 0.4);
}

/* Services dropdown */
.header-services__btn {
    position: relative;
}
.header-services__btn.open .header-services__btn-arrow {
    transform: scale(-1);
    transition: all ease .3s;
}
.header-services__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(20, 40, 2, 0.14);
    min-width: 13.75rem;
    z-index: 1000;
    white-space: nowrap;
}
.header-services__btn.open .header-services__dropdown {
    display: block;
}
.header-services__dropdown-inner {
    max-height: 22.25rem;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding: 8px 0;
}
.header-services__dropdown-inner::-webkit-scrollbar {
    width: 8px;
}
.header-services__dropdown-inner::-webkit-scrollbar-track {
    background: transparent;
}
.header-services__dropdown-inner::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.header-services__dropdown-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(20, 40, 2, 0.45);
    padding: 4px 14px 6px;
    text-transform: none;
}
.header-services__dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #142802;
    text-decoration: none;
    transition: background 0.15s;
}
.header-services__dropdown-item:hover {
    background: #f5f7f2;
}
.header-services__dropdown-img {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.header-services__dropdown-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header-top__dropdown-item{
    text-wrap: nowrap;
}

#modal-request .form-checkbox{
    margin-bottom: 1.5rem;
}

/* Modal callback/request: keep title inside borders (clear of close button) */
.modal-callback__title {
    padding-right: 4rem;
    line-height: 1.25;
    word-wrap: break-word;
}

/* Services full-screen menu (mobile, exactly like catalog-menu) */
.services-menu {
    display: none;
}
@media (max-width: 62rem) {
    .services-menu.is-open {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        background: #fff;
        z-index: 1000;
        padding-top: 1.25rem;
        scroll-behavior: smooth;
        scrollbar-width: thin;
    }
    .services-menu.is-open::-webkit-scrollbar {
        width: 8px;
    }
    .services-menu.is-open::-webkit-scrollbar-track {
        background: transparent;
    }
    .services-menu.is-open::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }
    .services-menu.is-open .wrapper {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .services-menu__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.5rem;
        flex-shrink: 0;
    }
    .services-menu__back {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        width: 3rem;
        height: 3rem;
        background: #eef2e9;
        cursor: pointer;
    }
    .services-menu__text {
        font-weight: 400;
        font-size: 1rem;
        line-height: 100%;
        letter-spacing: -0.02em;
        text-align: center;
        color: #000;
    }
    .services-menu__cart {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        width: 3rem;
        height: 3rem;
        background: #eef2e9;
        text-decoration: none;
        color: inherit;
    }
    .services-menu__cart-count {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -0.625rem;
        right: -0.5rem;
        width: 1.25rem;
        height: 1.25rem;
        border-radius: 50%;
        background: #f3ff95;
        font-weight: 750;
        font-size: 0.75rem;
        line-height: 133%;
        letter-spacing: -0.02em;
        color: #142802;
    }
    .services-menu__search {
        width: 100%;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }
    .services-menu__nav {
        flex: 1;
        position: relative;
        width: 100%;
        overflow-y: auto;
        margin-top: 0.75rem;
        scrollbar-width: thin;
    }
    .services-menu__nav::-webkit-scrollbar {
        width: 8px;
    }
    .services-menu__nav::-webkit-scrollbar-track {
        background: transparent;
    }
    .services-menu__nav::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }
    .services-menu__nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #fff;
    }
    .services-menu__nav > ul > li {
        margin-bottom: 8px;
        width: 100%;
        max-width: 21.25rem;
    }
    .services-menu__nav li.services-menu__label-li {
        margin-bottom: 4px;
    }
    .services-menu__label {
        display: block;
        font-size: 0.75rem;
        font-weight: 500;
        color: rgba(20, 40, 2, 0.45);
        padding: 0.25rem 0 0.125rem;
        text-transform: none;
    }
    .services-menu__nav a.services-menu__item {
        position: relative;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        height: 3rem;
        padding: 0.75rem 0.75rem;
        padding-left: 0;
        text-decoration: none;
        color: #000;
        font-size: 0.9375rem;
        border-radius: 8px;
        transition: background 0.2s;
        white-space: nowrap;
    }
    .services-menu__nav a.services-menu__item:hover {
        background: #eef2e9;
    }
    .services-menu__img {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        border-radius: 8px;
        background: #eef2e9;
        overflow: hidden;
        flex-shrink: 0;
    }
    .services-menu__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }
}
@media (max-width: 992px) {
    .services-menu.is-open {
        overflow: hidden;
    }
    .services-menu.is-open .wrapper {
        height: 100%;
    }
    .services-menu__nav {
        flex: 1;
        min-height: 0;
    }
}
/* On desktop hide header dropdown when opening from mobile trigger; on mobile hide inline dropdown */
@media (max-width: 62rem) {
    .header-services__dropdown {
        display: none !important;
    }
}

/* Match business form checkbox UI inside calc/request modals */
.modal-calc .form-checkbox__wrap {
    margin-top: 1.375rem;
}

.modal-calc .form-checkbox__wrap label {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
    color: rgba(20, 40, 2, 0.4);
}

.modal-calc .form-checkbox__wrap label:last-child {
    margin-bottom: 0;
}

.modal-calc .form-checkbox__wrap label::before {
    content: "";
    border: 1px solid #142802;
    border-radius: 4px;
    min-width: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

.modal-calc .form-checkbox__wrap label::after {
    content: "";
    position: absolute;
    left: 5px;
    width: 13px;
    height: 10px;
    background: url(../img/icon/check-marker.svg) no-repeat;
    display: none;
}

.modal-calc .form-checkbox__wrap label a {
    color: #142802;
}

.modal-calc .form-checkbox__wrap input {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

.modal-calc .form-checkbox__wrap input[type="checkbox"]:checked + label:before {
    background: #467b31;
    border: 1px solid #467b31;
}

.modal-calc .form-checkbox__wrap input[type="checkbox"]:checked + label:after {
    display: block;
}

/* Home article-block second: ensure category chips are visible */
.article-block.second .article-item__cat {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* Modal fotofooter gallery */
.form-foto__footer-item:not(.no-modal){
    cursor: pointer;
}
.modal-fotofooter__gallery {
    margin-top: 1.5rem;
    max-height: 75vh;
    overflow-y: auto;
    padding-right: 0.5rem;
    scroll-behavior: smooth;
}
.modal-fotofooter__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.js-modal-fotofooter-gallery-brands .modal-fotofooter__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.modal-fotofooter__grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}
.modal-fotofooter__grid-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-form__btn{
    position: static;
    transform: unset;
    margin-top: 24px;
}
/* Brands gallery: keep full logos without cropping */
.js-modal-fotofooter-gallery-brands .modal-fotofooter__grid-item{
    padding: 1rem;
}
.js-modal-fotofooter-gallery-brands .modal-fotofooter__grid-item img {
    object-fit: contain;
}
@media (max-width: 48rem) {
    .modal-fotofooter__grid,
    .js-modal-fotofooter-gallery-brands .modal-fotofooter__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 48rem) {
    .catalog-content .product-item.promo ,
    .catalog-content .product-item{
        order: unset !important;
    }
}
@media (max-height: 720px) and (min-width: 992px) {
    .header-is-fixed .header-search__result{
        max-height: calc(100vh - 50px);
    }

    .header-search__result{
        max-height: calc(100vh - 110px);
    }
}
@media (min-width: 62.01rem) {
    .header-fixed .header-top {
        display: none;
    }
    .header-is-fixed .catalog-menu{
        top:3.3rem;
    }

}
/* Modal banner */
.modal-banner {
    position: fixed;
    z-index: 111;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
}

.modal-banner.style-2 .modal-banner__close {
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    background: #fff;
}

.modal-banner.style-2 .modal-banner__close svg {
    width: 16px;
    height: 16px;
}

.modal-banner.style-2 .modal-banner__wrap {
    padding: 1.125rem 1.25rem;
    height: 30.4375rem;
    max-width: 50.875rem;
}

.modal-banner.style-2 .modal-banner__wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-banner.style-2 .modal-banner__top {
    position: relative;
    z-index: 1;
    text-align: center;
}

.modal-banner.style-2 .modal-banner__top h3 {
    font-weight: 750;
    font-size: 1.75rem;
    line-height: 100%;
    letter-spacing: -0.03em;
}

.modal-banner.style-2 .modal-banner__top p {
    font-size: 1.3125rem;
    line-height: 100%;
}

.modal-banner.style-2 .modal-banner__top h2 {
    margin-top: 1.125rem;
    font-weight: 750;
    font-size: 2.75rem;
    line-height: 80%;
    letter-spacing: -0.03em;
}

.modal-banner.style-2 .modal-slider {
    margin-top: 1.25rem;
}

.modal-banner.style-2 .swiper-wrapper {
    align-items: flex-end;
}

.modal-banner.style-2 .swiper-slide {
    position: static !important;
}

.modal-banner.style-2 .swiper-slide img {
    object-fit: cover;
}

.modal-banner.style-2 .modal-slider__event-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
}

.modal-banner.style-2 .swiper-slide-active .modal-slider__event-icon {
    opacity: 1;
}

.modal-banner.style-2 .modal-banner__bottom {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
}

.modal-banner.style-2 .modal-banner__bottom h2 {
    display: none;
}

.modal-banner.style-2 .modal-banner__bottom p {
    font-weight: 750;
    font-size: 1.75rem;
    line-height: 80%;
    letter-spacing: -0.03em;
    text-align: center;
    color: #142802;
}

.modal-banner.style-2 .modal-banner__btn {
    margin-top: 1.25rem;
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.6875rem;
    background: #142802;
    font-size: 20px;
    line-height: 61%;
    letter-spacing: -0.02em;
    text-align: center;
    color: #f3ff95;
    transform: unset;
    border-radius: 9px;
}

.modal-banner__wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
    max-width: 90rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-banner__wrap .mob-show {
    display: none;
}

.modal-banner__wrap img {
    width: 100%;
}

.modal-banner a {
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: 25.875rem;
    height: 5rem;
}

.modal-banner__close {
    position: absolute;
    top: 1.25rem;
    right: 2.5rem;
    cursor: pointer;
}

.banner-widget {
    cursor: pointer;
    position: fixed;
    z-index: 11;
    right: 2.5rem;
    bottom: 40px;
    border-radius: 16px;
    width: 27.9375rem;
    height: 11.75rem;
}

.banner-widget.style-2 .banner-widget__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 8px;
    background: #fff;
}

.banner-widget__close {
    position: absolute;
    top: 0.9375rem;
    right: 0.9375rem;
    cursor: pointer;
}

@media (min-width: 62rem) {
    .modal-banner.style-2 .swiper-slide {
        position: static !important;
        transition: transform 0.4s ease, opacity 0.4s ease;
        width: 134px !important;
        height: 95px;
        border-radius: 15px;
        overflow: hidden;
    }
    .modal-banner.style-2 .swiper-slide-active {
        transform: scale(1);
        opacity: 1;
        width: 203px !important;
        height: 200px;
    }
}

.banner-widget__img {
    width: 100%;
    height: 100%;
}

.banner-widget__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 62rem) {
    .modal-banner a {
        width: 12.9rem;
        height: 3rem;
      }
      .banner-widget {
        right: auto;
        left: 1.25rem;
        width: 18.75rem;
        height: auto;
      }
}

@media (max-width: 48rem) {
    .modal-banner__wrap .mob-hide {
        display: none;
    }
    .modal-banner__wrap .mob-show {
        display: block;
    }
    .modal-banner a {
        top: auto;
        bottom: 6%;
        width: 80%;
        height: 60px;
    }
    .modal-banner__close svg {
        width: 0.875rem;
        height: 0.875rem;
    }
    .banner-widget {
        width: 15rem;
        left: 12px;
    }
    .banner-widget__close {
        top: 0.375rem;
        right: 8px;
    }
    .banner-widget__close svg {
        width: 10px;
        height: auto;
    }

    .modal-banner.style-2 .swiper-slide {
        height: 74px !important;
    }
    .modal-banner.style-2 .swiper-slide img {
        border-radius: 16px;
    }
    .modal-banner.style-2 .swiper-slide-active {
        width: 190px !important;
        height: 135px !important;
    }
    .modal-banner.style-2 .modal-banner__top h3 {
        font-size: 24px;
        line-height: 100%;
    }
    .modal-banner.style-2 .modal-banner__top p {
        font-size: 20px;
    }
    .modal-banner.style-2 .modal-banner__top h2 {
        font-size: 35px;
        line-height: 80%;
    }
    .modal-banner.style-2 .modal-banner__top {
        text-align: left;
    }
    .modal-banner.style-2 .modal-banner__bottom {
        margin-top: 2.625rem;
    }
    .modal-banner.style-2 .modal-banner__bottom h2 {
        display: block;
        font-weight: 750;
        font-size: 35px;
        line-height: 80%;
        letter-spacing: -0.03em;
        text-align: left;
    }
    .modal-banner.style-2 .modal-banner__bottom p {
        margin-top: 1.75rem;
        text-align: left;
        font-weight: 750;
        font-size: 1.25rem;
        line-height: 100%;
        letter-spacing: -0.03em;
        color: #142802;
    }
    .modal-banner.style-2 .modal-banner__btn {
        bottom: auto;
    }
    .modal-banner.style-2 .modal-banner__wrap {
        height: auto;
    }

}
/* End Modal banner */

/* Header search dropdown: on real mobile, main.min uses fixed + top + max-height:100% — that extends past the
   viewport (100% of full height while top is offset), so the bottom is clipped. Fill space below header with
   bottom:0 and scroll inside; keep hits/products limits unchanged in JS. */
@media (max-width: 62rem) {
    .header-search__result {
        left: 0;
        right: 0;
        width: 100%;
        box-sizing: border-box;
        max-height: none;
        bottom: 0;
        height: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    }
}

.product-notice .icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: #467b31;
  }
.product-notice .extra{
    font-weight:bold;
}

.modal-banner.style-1 a {
    left: 4.375rem;
    transform: unset;
    bottom: 3.75rem;
    top: auto;
    width: 26.9rem;
}

.modal-banner.style-1 .modal-banner__close svg path {
    stroke: #142802;
}

.modal-callback__form textarea{
    height: 10rem;
    margin-bottom: .5rem;
    width: 100%; 
    border: 1px solid rgba(20, 40, 2, .3);
    border-radius: 8px;
    padding: .75rem 19px;
    min-height:5rem;
}

@media (max-width: 62rem) {
    .modal-delivery__location.js-delivery-geolocation {
        display: flex !important;
    }
}

.modal-delivery__btn:disabled,
.modal-delivery__btn[aria-disabled="true"] {
    opacity: 0.55;
    filter: saturate(0.7);
    cursor: not-allowed;
}

/* Empty cart (fixgarden template): promo copy + CTA */
.page-cart .cart-empty__text {
    margin-top: 3.5rem;
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 110%;
    color: #999999;
}

.page-cart .cart-empty__text span {
    display: block;
    color: #142802;
}

.page-cart .cart-btn {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    height: 2.5rem;
    font-size: 1.5rem;
    border: 1.5px solid #467B31;
    border-radius: 8px;
    padding: 0 0.875rem;
    font-weight: 750;
    text-decoration: none;
    color: #142802;
    box-sizing: border-box;
}

@media (max-width: 48rem) {
    .page-cart .cart-empty__text {
        margin-top: 2rem;
        font-size: 1rem;
    }

    .page-cart .cart-btn {
        padding: 0 1rem;
        font-size: 1.25rem;
    }
}

/* Catalog: sort select — intrinsic width from options, limited by row (max-width: 100%) */
.catalog-content__sort {
    flex-shrink: 0;
}

.catalog-content__sort select {
    width: max-content;
    max-width: 100%;
    min-width: 12.0625rem;
    padding-right: 2rem;
    box-sizing: border-box;
}