.footer {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 0;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--layout__max-width, 1200px);
}

.header-container .container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--layout__max-width, 1200px);
}

.footer .footer-col {
    padding: 0 15px;
    margin-bottom: 30px;
    flex: 0 0 auto; /* Базовое поведение: ширина по содержимому */
}

.footer .footer-col.contact-info,
.footer .footer-col.newsletter {
    flex-grow: 1; /* Растягиваются */
    min-width: 200px; /* Чтобы не схлопнулись */
}


@media (max-width: 767px) {

    li.link.wishlist {
        display: list-item !important;

    }
    li.account-link-header {
        display: block !important;

    }

}
@media (max-width: 1199px) {
    .navigation .menu-mobile-title {
        font-size: 1.7rem !important;
    }
    .navigation .close-main-menu:after, .navigation .close-menu:after {
        font-size: 3rem !important;
    }
}

@media (max-width: 500px) {
    li.link.wishlist,
    li.account-link-header
    {
        padding-right: 10px !important;
        margin-left:  1.5vw !important;
    }

    li.fixed-minicart {
        margin-left: 3vw !important;    }

    li.link.wishlist {
        display: list-item !important;
    }
    li.account-link-header {
        display: block !important;
    }

    .fixed-bottom {
        display: none !important;
    }

    .header-container.layout-7 .logo-container > * {
        flex: 0 0 auto; /* или просто flex: 0 auto; */
    }

    .header-container .logo-container {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start; /* чтобы не разъезжались */
        gap: 0; /* на всякий случай */
    }

    .header-container .logo {
        padding-left: 1.3vw;
    }

    /* на всякий, чтобы тема не добавляла отступы */
    .header-container .logo,
    .header-container .nav-toggle {
        margin: 0;
    }

    .header-container.layout-7 .logo-container > * {
        /*flex: 0 0 auto !important;*/
    }

}


.footer ul {
    list-style: none;
    padding-left: 0;
}
.footer .footer-col a:hover {
    color: var(--footer-links-hover-color);
    padding-left: 10px;
}
.social-links a:hover {
    padding-left: 0 !important;
}

.footer-bottom {

}

.footer-title {
    font-weight: bold;
    margin-bottom: 15px;
}
.contact-info p,
.contact-info a {
    color:#56CFE1;
    font-size: 16px;
    line-height: 1.6;
}
.social-links {
    display: flex;
    gap: 10px;
}
.social-links a {
    font-size: 20px;
    color: #555;
}
.newsletter-form input[type="email"] {
    padding: 10px;
    width: 70%;
    height: 50px;
    border: 1px solid var(--border-color);

    border-radius: var(--button__border-radius);
    color: var(--bls_newsletter-input-color);
    background-color:#fff;
}
.newsletter-form button {
    padding: 10px 15px;
    background: #000;
    color: #fff;
    border: none;
}
.footer-bottom {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--layout__max-width, 1200px);
    border-top: 1px solid #ebebeb;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
}
.footer-bottom  > div {
    width: 49%;
    padding: 0 15px;
}

.block-image {
    text-align: right;
}


.footer .fab {
    color: #56CFE1;
}

.footer-col .contact-info {
    color: #56CFE1;
}

.free-shipment-message {
    color: #00a749;
    font-weight: bold;
    font-size: var(--product_item-size);
}
.stock.available span {
    color: green !important;
}

.stock.unavailable span{
    color: red !important;
}
.category-view .category-image {
    display: flex;
    justify-content: center;
}

.products.list.items  {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;

}

.products.list.items > .product-item {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.products.list.items > .product-item .product-item-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto !important;   /* ключ: растянуться, занять доступную высоту */
    min-height: 100%;
}

.products.list.items > .product-item .product-item-details {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.products .actions-primary form .action.primary,
.product-items .actions-primary form .action.primary
{
    /*white-space: nowrap !important;*/
    /*background-color: #253380 !important;*/
    /*border-radius: 10px;*/
    /*padding: 6px 10px;*/
    margin-left: 15px;
}
.product-items .price-and-button {
    /*justify-content: space-between;*/
    align-items: center;
}
.product-items  .product-item-actions_middle {
    margin-left: auto;
    flex-basis: 100%;

}


.map-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: orange !important;
}
.map-info {
    position: relative;
    top: -6px;   /* поднимаем иконку */
    font-size:  17px;
    font-weight: 500;
    color: orange !important;
}


.map-price .tooltip-content{
    max-width: calc(100vw - 16px);
    left: clamp(8px, 90%, calc(100% - 8px)) !important;
    transform: translateX(-50%) !important;
    min-width: 350px;
}
.products-grid .product-item-actions_middle {
    width: 100% !important; ;
}
.products-grid .price-and-button {
    flex-wrap: wrap;
}
.product-main-content .product-info-price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch;

}

.map-price .map-title,
.map-price .map-info {
    font-size: 1.7rem;
    font-weight: 500;
}
.map-price {
    padding-left: .6em;
    padding-top: 0.5em !important;
}


.price-and-button {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding-right: 2px;
    padding-left: 2px;
    flex-wrap: wrap;
}

.cms-index-index .slick-track {
    display: flex!important;
    align-items: stretch;
}
.cms-index-index .slick-track .slick-slide {
    height: auto;         /* сброс фиксированной высоты */
    flex: 1 1 auto;        /* позволяем тянуться */
}
.cms-index-index .slick-track .slick-slide > div {
    height: 100%;
}
.cms-index-index .slick-track .slick-slide > div .product-item {
    height: 100%;
}
.cms-index-index
.slick-track .slick-slide > div
.product-item
.product-item-info
{
    height: 100%;
    display: flex;
    flex-direction: column; /* делаем вертикальную колонку */
}
.cms-index-index
.slick-track .slick-slide > div
.product-item
.product-item-info
.product-item-details {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.cms-index-index
.slick-track .slick-slide > div
.product-item
.product-item-info
.product-item-details
.price-and-button {
    margin-top: auto;
}
.cms-index-index
.slick-track .slick-slide > div
.product-item
.product-item-info
.product-item-details
.actions-primary .stock.un span,
.product-items .price-and-button .stock.un span
{
    color: red !important;
}
.close-menu-mobile.d-block.d-xl-none .close-menu:after {
    color: #253380;
}
.column.main {
    padding-bottom: 15px !important;
}

.recaptcha-checkout-place-order {padding: 15px}
.stripe-payments label {
    padding-left: 8px;
}

.search_type_defaut #rokan-autocomplete-wrapper .product-items,
.search_type_popup #rokan-autocomplete-wrapper .product-items {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px 24px !important;
}

#rokan-autocomplete-wrapper .product-item-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    padding: 10px 8px;
}

#rokan-autocomplete-wrapper .product-image-photo {
    width: 120px !important;
}

#rokan-autocomplete-wrapper {
    padding-top: 10px;
    padding-bottom: 10px;
}

#rokan-autocomplete-wrapper .product-item-info .product_item_images {
    box-sizing: border-box;
    flex: 0 0 120px;
    width: 120px !important;
    height: 120px !important;
    padding: 5px;
    margin: 0 16px 0 0;
}

#rokan-autocomplete-wrapper .products.list.items > .product-item .product-item-details {
    margin-top: unset !important;
    max-width: none;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
}

#rokan-autocomplete-wrapper .product-item-link,
#rokan-autocomplete-wrapper .product-brand,
#rokan-autocomplete-wrapper .product-item-shortdescription {
    font-size: 1.3em !important;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@media (max-width: 1023px) {
    .search_type_defaut #rokan-autocomplete-wrapper .product-items,
    .search_type_popup #rokan-autocomplete-wrapper .product-items {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Мобильная версия: картинка сверху, ее исходный размер сохраняется. */
@media (max-width: 767px) {
    .search_type_defaut #rokan-autocomplete-wrapper .product-items,
    .search_type_popup #rokan-autocomplete-wrapper .product-items {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 6px !important;
    }

    #rokan-autocomplete-wrapper .product-item-info {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 10px;
    }

    #rokan-autocomplete-wrapper .product-item-info .product_item_images {
        align-self: center;
        margin: 0 0 10px;
    }

    #rokan-autocomplete-wrapper .products.list.items > .product-item .product-item-details {
        width: 100%;
        margin-top: 0 !important;
        text-align: left;
    }
}

.search_type_defaut .product-items .product-item-info .product-image-container,
.search_type_popup .product-items .product-item-info .product-image-container {
    /* width: auto !important; */
    max-width: 120px !important;
}
.rokan-autocomplete-wrapper .product.brand.elementor-show__category,
.rokan-autocomplete-wrapper .product-item .product-item-name,
.rokan-autocomplete-wrapper .product-item .product-item-link
{
    margin-bottom: 0 !important;
}
.rokan-autocomplete-wrapper .product-item
.price-box .price {
    font-size: 1.69rem !important;
}

.rokan-autocomplete-wrapper  .product-item-price > .price-box {
    margin-top: 0!important;
}
.rokan-autocomplete-wrapper .result-header {
    display: none !important;
}

.rokan-autocomplete-wrapper .product_item_images {
    text-align: center;
}

.rokan-autocomplete-wrapper .products-list .product-item {
    padding: 0 !important;
}
.search_type_defaut .product-items .product-item-info .product-item-photo, .search_type_popup .product-items .product-item-info .product-item-photo {
    margin-bottom: 0 !important;
}


.border_bottom {
    display: none !important;
}

.requestprice-add a span {
    font-size: 17px !important;
    text-decoration: underline;
}
/* --- Mobile view --- */
@media (max-width: 768px) {

    .rp-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 18px;
    }

    /* Левая часть: картинка + текст */
    .rp-item-left {
        width: 100%;
    }

    /* Правая часть переносится ниже и растягивается */
    .rp-item-right {
        width: 100%;
        justify-content: flex-start; /* qty слева */
        margin-top: 4px;
    }

    .rp-qty-box input {
        width: 60px;
    }

    /* Для красоты: уменьшить изображение */
    .rp-item-img {
        max-width: 50px;
    }
}

.sticky-header .header_bottom  .col_left {
    flex: 0 !important;

}
.header_bottom .center_vertical > .col_center{ padding: 0 !important; }
.horizontal-list li:first-child a {
    padding-left: 0!important;
}
.horizontal .ui-menu-item {
    padding: 0 5px;
}


.filter-area .filter-current {
    display: none;
}
@media (max-width: 992px) {
    /* CSS applies only for screens < 992px */

    .filter-area .filter-current {
        display: unset !important;
    }
    .filter-area .filter-current h2,
    .filter-area .filter-current .items
    {
        padding: 0.9rem 3rem 0.9rem 3rem;
    }

}
.page-wrapper {
    transform: none;
}
.page-wrapper.is-menu-open {
    transform: translateX(-100%);
}

.product-main-content .paypal {
     display: block !important;
     margin:0 !important;
}

.products-list  .product-item-details {
    vertical-align: middle !important;   /* по вертикали */

}

.cart-summary #block-shipping {
    display: none !important;
}

.cart-summary #cart-totals {
    padding-top: 0 !important;
}
.cart-summary .checkout-methods-items li:nth-child(2)  {
    display: block !important;
}

.checkout-methods-items .smart-buttons {
    padding-top: 10px !important;
}
.catalog-product-view .payment-request-button {
    width: 100% !important;
    margin-right: 0 !important;
}
.catalog-product-view .free-shipment-message {
    width: 100% !important;
}


.products .product_progress_countdow {
    margin-bottom: 2.5rem;
}

.products .product_progress_countdow .progressbar {
    height: 5px;
    background-color: #F3F4F6;
    border-radius: 10px;
    position: relative;
}
.products .product_progress_countdow .progressbar .progressbar-stock {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: var(--theme__color__primary, #d73f0f);
    border-radius: 10px;
}

.products .product_progress_countdow > p {
    color: var(--heading__color__base, #000000);
    font-weight: var(--headings__font-weight-secondary);
}

.products .product_progress_countdow > p .bls__count {
    color: var(--theme__color__primary, #d73f0f);
}

.products  .box-tocart .fieldset, .products  .box-tocart .fieldset {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin-bottom: 0;
}

.products .box-tocart .control {
    text-align: center !important;
}
.auto-complete-result.focus-search {
    z-index: 99999;
}
@media screen and (max-width: 575px) {

}
.price-and-button span.price {
    font-size: 3rem !important;
}

@media (max-width: 767px) {
    .product-main-content .gx-5 {
        position: relative;
        padding-top: 8.6rem;
    }

    .product-title-wrap {
        position: absolute;
        top: 0;
    }
}
.toolbar-amount {
    margin-left: 10px;
}
.list-wrap-price,
.product-rate-price .product-info-price
{
    display: flex;
    align-items:stretch; /* выравнивание по вертикали */
    gap: 0; /* расстояние между блоками */
}


.product-main-content .map-price {
    padding-left: 1.2rem;
    margin-top: 1.2rem;
    align-self: center;
}

.list-wrap-price .map-price,
.list-wrap-price .requestprice-add,

.product-rate-price .product-info-price .map-price,
.product-rate-price .product-info-price .requestprice-add
{
    justify-content: flex-start;
    display: flex;
    flex-wrap: wrap;
    margin: auto 0;
}
.list-wrap-price .requestprice-add,
.product-rate-price .requestprice-add
{
    padding-left: 0.3em !important;
    padding-top: 0.5em !important;
}
.product-info-main .product-info-price .price-box {
    margin-top: auto !important;
}

.products-list li {

}
.products
 .product-item-link {
    font-weight: bold !important;
}


/* новое */
#search-form{
    position: relative!important;
}
.search_type_defaut .auto-complete-result:after{
    position: fixed!important;
    top: var(--search-overlay-top, 97px)!important;
    z-index: -1!important;
}
.auto-complete-result{
    background-color: transparent!important;
}
#rokan-autocomplete-wrapper {
    background-color: #fff!important;
}
@media (max-width: 767px){
    iframe#filters_form_box {
        padding: 10px;
    }
}

/* brand */
.category-view .category-image{
    display: initial!important;
}
.category-image .image{
    max-width: 200px!important;
}
#checkout-step-shipping #customer-email {
    width: 100% !important;
}
#checkout-step-shipping > .field[name="shippingAddress.telephone"] > .label,
#checkout-step-shipping > .field[name$=".telephone"] > .label {
    color: #222222 !important;
}
#checkout-step-shipping > .field.required[name="shippingAddress.telephone"] > .label:after,
#checkout-step-shipping > .field._required[name="shippingAddress.telephone"] > .label:after,
#checkout-step-shipping > .field.required[name$=".telephone"] > .label:after,
#checkout-step-shipping > .field._required[name$=".telephone"] > .label:after {
    color: #e02b27;
    content: '*';
    font-size: 1.2rem;
    margin: 0 0 0 5px;
}

.table-checkout-shipping-method .row-error .col-error {
    padding: 8px 0;
}
.table-checkout-shipping-method .shipping-method-error {

    color: #555555;
    padding: 12px 14px;
}
.table-checkout-shipping-method .shipping-method-error__title {
    color: #222222;
    font-weight: 600;
    margin-bottom: 4px;
}
.table-checkout-shipping-method .shipping-method-error__message {
    color: #666666;
    line-height: 1.4;
}
.table-checkout-shipping-method .shipping-method-radio {
    flex: 0 0 auto;
    max-width: none;
    width: auto;
    white-space: nowrap;
}
.billing-address-same-as-shipping-block input[type="checkbox"] {
    height: 18px;
    width: 18px;
}
.billing-address-same-as-shipping-block label,
.billing-address-same-as-shipping-block label span {
    color: #000000;
}
div.field.additional[name="shippingAddress.street.1"],
div.field.additional[name$=".street.1"] {
    display: none !important;
}
.category-image, .category-description {
    margin-bottom: 5px !important;
}

.action.nav-toggle.nav-1 {
    flex-grow: 0 !important;
    flex-basis: auto !important;
    width: auto !important; /* Или конкретное значение, например 40px */
}
.checkout-billing-address .billing-address-details {
    display: none !important;
}
