#customdelivery {
    margin-top: 0 !important;
}
#customdelivery > .t-name.t-name_md {
    margin: 10px 0 !important;
}

div#addresses-wrapper {
    -ms-flex-pack: justify;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin: 0 !important;
}
/* ===== 1. КВАДРАТНЫЕ КАРТИНКИ И ОБВОДКА ===== */
#rec4937231001 .t-store__card__imgwrapper {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important; 
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    display: block !important;
}

#rec4937231001 .t-store__card__bgimg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important; 
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 2px dashed #c9c9c9;
    border-radius: 12px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

#rec4937231001 .t-store__card:hover .t-store__card__bgimg {
    border-color: #5bb65f;
}

/* ===== 2. КАРУСЕЛЬ И ВЫРАВНИВАНИЕ ЦЕН ===== */
#rec4937231001 .js-store-grid-cont {
    position: relative;
    overflow: visible !important; 
}
#rec4937231001 .t-store__card-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important; 
    scroll-behavior: smooth;
    gap: 24px;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch !important; /* Растягиваем карточки на одну высоту */
}
#rec4937231001 .t-store__card-list::-webkit-scrollbar {
    display: none;
}

#rec4937231001 .t-store__card {
    flex: 0 0 calc(25% - 18px) !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    position: relative !important; /* База для абсолютного позиционирования цены */
    display: flex !important;
    flex-direction: column !important;
}

#rec4937231001 .t-store__card__wrap_txt-and-btns {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

#rec4937231001 .store__card__wrap_txt-and-opts {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

#rec4937231001 .t-store__card__textwrapper {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 35px !important; /* Освобождаем место для цены, чтобы текст не наезжал */
}

/* ПРИЖИМАЕМ ЦЕНУ К НИЗУ */
#rec4937231001 .js-store-price-wrapper {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
}

#rec4937231001 .t-store__grid-separator {
    display: none !important;
}

/* Адаптив сетки */
@media (max-width: 1200px) { #rec4937231001 .t-store__card { flex: 0 0 calc(33.333% - 16px) !important; } }
@media (max-width: 900px)  { #rec4937231001 .t-store__card { flex: 0 0 calc(50% - 12px) !important; } }
@media (max-width: 560px)  { #rec4937231001 .t-store__card { flex: 0 0 calc(85%) !important; } }

/* ===== 3. СТРЕЛКИ ===== */
#rec4937231001 .t-store__scroll-icon-wrapper { 
    display: none !important; 
}

#rec4937231001 .custom-arrows-wrap {
    position: absolute;
    left: -45px; 
    right: -45px; 
    z-index: 99;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

#rec4937231001 .custom-arrow-btn {
    width: 50px;
    height: 50px;
    background: transparent !important; 
    border: none !important;            
    box-shadow: none !important;        
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto; 
    transition: transform .2s ease;
    padding: 0;
}

#rec4937231001 .custom-arrow-btn:hover {
    transform: scale(1.15);
}

#rec4937231001 .custom-arrow-btn svg {
    width: 36px;
    height: 36px;
    stroke: #676c72; 
    transition: stroke .2s ease;
}

#rec4937231001 .custom-arrow-btn:hover svg {
    stroke: #44A977; 
}

@media (max-width: 900px) {
    #rec4937231001 .custom-arrows-wrap {
        left: -10px; 
        right: -10px;
    }
    #rec4937231001 .custom-arrow-btn {
        width: 40px;
        height: 40px;
    }
    #rec4937231001 .custom-arrow-btn svg {
        width: 26px;
        height: 26px;
    }
}