/* Shopme desktop home layout. */
.shopme-home .home-carousel-controls { display: none; }

@media (min-width: 992px) {
    .shopme-home .p-c-fluid-cx {
        padding-inline: max(28px, calc((100% - 1140px) / 2));
    }

    .shopme-home #header.type_6 .main_header_row {
        display: flex;
        align-items: center;
        min-height: 68px;
    }

    .shopme-home #header.type_6 .main_header_row > .mobile-logo {
        display: block;
        flex: 0 0 clamp(180px, 21vw, 258px);
        padding: 0;
        margin: 0 22px 0 0;
    }

    .shopme-home #header .logo img { max-width: 100%; height: auto; }

    .shopme-home #header.type_6 .main_header_row > #headerRight {
        display: block;
        flex: 1 1 510px;
        min-width: 0;
        max-width: 510px;
        padding: 0;
        margin: 0 auto 0 0;
    }

    .shopme-home .main_header_row > [style="clear:both"] { display: none; }

    .shopme-home #headerRight #search {
        float: none;
        width: 100%;
        margin: 0;
        overflow: hidden;
    }

    .shopme-home #search form { display: flex; align-items: stretch; height: 100%; }
    .shopme-home #search .searchInput,
    .shopme-home #search .searchSubmit {
        float: none;
        height: 100%;
        margin: 0;
    }
    .shopme-home #search .searchInput { flex: 1; width: auto; min-width: 0; }
    .shopme-home #search .searchSubmit { flex: 0 0 50px; }
    .shopme-home #search #detailSearchKey,
    .shopme-home #search .searchSubmit input { width: 100%; height: 100%; margin: 0; }
    .shopme-home #search #detailSearchKey { padding: 0 12px; }
    .shopme-home #search .searchSubmit input { border-radius: 0; }

    .shopme-home #header.type_6 .main_header_row > .SepetBasic,
    .shopme-home #header.type_6 .main_header_row > .loginBasic {
        float: none;
        flex: 0 0 auto;
        margin: 0;
        min-height: 56px;
        padding: 8px 12px;
    }
    .shopme-home #header.type_6 .main_header_row > .SepetBasic {
        display: grid;
        place-items: center;
        margin-left: 16px;
    }
    .shopme-home #header.type_6 .main_header_row > .loginBasic {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .shopme-home .mega_menu { max-width: calc(100vw - 330px); }
    .shopme-home #header .open_menu[aria-expanded="true"] + .dropdown { visibility: visible; }

    .shopme-home .home-product-section { position: relative; }
    .shopme-home .home-product-section > h3 { padding-right: 90px; }
    .shopme-home .revolution_slider .rev_slider > ul > li > img {
        display: block;
        width: 100%;
        height: auto;
    }

    .shopme-home main .carousel_in_tabs {
        --home-columns: 2;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - (var(--home-columns) - 1) * 14px) / var(--home-columns));
        align-items: stretch;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        padding: 1px 1px 7px;
    }

    .shopme-home main .carousel_in_tabs > .userLazyLoadAjax { display: contents; }
    .shopme-home main .carousel_in_tabs .product_item.type_2 {
        display: flex;
        flex-direction: column;
        align-self: stretch;
        min-width: 0;
        padding: 14px;
        border-radius: 3px;
        scroll-snap-align: start;
    }
    .shopme-home main .carousel_in_tabs .image_wrap {
        justify-content: center;
        align-items: center;
        width: 100%;
        height: clamp(145px, 13vw, 190px);
        padding: 8px;
    }
    .shopme-home main .carousel_in_tabs .image_wrap > a {
        display: block;
        position: relative;
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
    }
    .shopme-home main .carousel_in_tabs .image_wrap > a > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .shopme-home main .carousel_in_tabs .description > a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        min-height: 36px;
        overflow-wrap: anywhere;
    }
    .shopme-home main .carousel_in_tabs .product_info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 4px;
    }
    .shopme-home main .carousel_in_tabs .product_info::before,
    .shopme-home main .carousel_in_tabs .product_info::after { display: none; }
    .shopme-home main .carousel_in_tabs .product_item .buttons_row {
        position: static;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px;
        width: auto;
        margin-top: auto;
        padding-top: 12px;
    }
    .shopme-home main .carousel_in_tabs .buttons_row > button { float: none; margin: 0; }
    .shopme-home main .carousel_in_tabs .buttons_row > button:focus-visible { opacity: 1; }

    .shopme-home .home-carousel-controls {
        position: absolute;
        top: -3px;
        right: 0;
        display: flex;
        gap: 6px;
    }
    .shopme-home .home-carousel-controls[hidden] { display: none; }
    .shopme-home .home-carousel-controls:not([hidden]) + .carousel_in_tabs { scrollbar-width: none; }
    .shopme-home .home-carousel-controls:not([hidden]) + .carousel_in_tabs::-webkit-scrollbar { display: none; }
    .shopme-home .tab_container > .home-carousel-controls {
        position: static;
        justify-content: flex-end;
        margin-bottom: 8px;
    }
    .shopme-home .home-carousel-controls button {
        display: grid;
        place-items: center;
        width: 34px;
        height: 32px;
        border: 1px solid #eaeaea;
        border-radius: 3px;
        background: #fff;
        color: #018bc8;
        font: inherit;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }
    .shopme-home .home-carousel-controls button:hover:not(:disabled) { border-color: #018bc8; }
    .shopme-home .home-carousel-controls button:disabled { color: #aaa; cursor: default; }
    .shopme-home :is(.home-carousel-controls button, .tabs_nav a):focus-visible {
        outline: 2px solid #018bc8;
        outline-offset: 2px;
    }

    .shopme-home .home-product-section .tabs_nav {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin: 0 0 10px;
    }
    .shopme-home .home-product-section .tabs_nav > li { float: none; margin: 0; }
    .shopme-home .home-product-section .tabs_nav > li > a {
        border-radius: 3px;
        padding: 7px 11px;
        font-size: 14px;
    }
    .shopme-home .home-product-section .tab_containers_wrap { top: auto; height: auto; }
    .shopme-home .home-product-section .tab_container { position: static; display: none; }
    .shopme-home .home-product-section .tab_container:first-child,
    .shopme-home .home-product-section .tab_container.home-tab-active { display: block; }
    .shopme-home .home-product-section .tab_container[aria-hidden="true"] { display: none; }
    .shopme-home .home-product-section .home-tab-empty {
        padding: 16px;
        border: 1px solid #eaeaea;
        border-radius: 3px;
        background: #fff;
    }

    .shopme-home aside .products_list_widget > li {
        display: grid;
        grid-template-columns: clamp(52px, 5.4vw, 76px) minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        padding: 12px !important;
    }
    .shopme-home aside .products_list_widget .product_thumb {
        float: none;
        margin: 0;
        aspect-ratio: 1;
        overflow: hidden;
    }
    .shopme-home aside .products_list_widget .product_thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .shopme-home aside .products_list_widget > li:nth-of-type(n+6) { display: none; }
    .shopme-home aside .products_list_widget .product_title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        overflow-wrap: anywhere;
    }
    .shopme-home aside .products_list_widget .product_price,
    .shopme-home aside .products_list_widget .rating { float: none; }

    .shopme-home #footer > .p-c-fluid-cx:first-child { background-color: #efefef; }
    .shopme-home #footer .infoblocks_container::before { content: none; }
    .shopme-home #footer .accordion-item-input { left: 0; }
}

@media (min-width: 1200px) {
    .shopme-home main .carousel_in_tabs { --home-columns: 3; }
}
