﻿
/* KT - CSS Responsive */
@media screen and (max-width: 2130px) {
    .product-categories-bar {
        width: 100%;
        height: 75px;
        top: auto;
        bottom: 0;
        display: flex;
        padding-top: env(safe-area-inset-bottom);
    }

        .product-categories-bar > .title {
            width: 100px;
            font-size: 1rem;
            line-height: 1rem;
        }

            .product-categories-bar > .title svg {
                transform: rotate(90deg)
            }

    .category-item-list {
        flex-direction: row;
        width: 100%;
        height: calc(100% + 17px);
        margin-left: 0;
        padding-left: 0;
        margin-top: -1rem;
        padding-top: 1rem;
    }

        .category-item-list button {
            flex-shrink: 0;
            height: 70px;
            overflow: hidden;
        }

            .category-item-list button.active,
            .category-item-list button:hover {
                padding-left: 5px;
                margin-left: 0;
                padding-top: calc(1rem + 5px);
                margin-top: -1rem;
                border-radius: 1rem 1rem 0 0;
                width: 100px;
                height: calc(70px + 1rem);
            }

            .category-item-list button .content img {
                width: auto;
                height: 24px;
            }

            .category-item-list button .content span {
                font-size: 12px;
            }

    .product-categories-bar .dropdown-menu {
        left: 50% !important;
        right: auto;
        top: auto !important;
        bottom: 0;
        transform: translateX(-50%) !important;
        box-shadow: 0px 0px 19.6px 0px #0000004D;
    }

    .system-summary {
        flex-direction: column-reverse;
    }

        .system-summary > .header {
            flex-direction: row;
            border-bottom: 1px solid #d1d1d1;
            padding: 16px 16px 10px 16px;
        }

            .system-summary > .header .title,
            .system-summary > .header .reset {
                flex-direction: row;
                align-items: center;
            }

                .system-summary > .header .title span,
                .system-summary > .header .reset span {
                    writing-mode: inherit;
                    transform: none;
                    padding: 0;
                }

    .product-categories-bar.show .system-summary > .header .title svg,
    .product-categories-bar.show .system-summary > .header .reset svg {
        transform: rotate(90deg)
    }
}

@media screen and (max-width: 1200px) {
    .kt-table thead {
        display: none;
    }

    .kt-table,
    .kt-table tbody,
    .kt-table tr,
    .kt-table tr td {
        display: block;
    }

        .kt-table tr {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            box-shadow: 0 0 0 1px rgba(255, 234, 0, .3);
            margin-bottom: 10px;
        }

            .kt-table tr td {
                display: flex;
                justify-content: space-between;
                border: none !important;
                padding: 4px;
            }
            /* .kt-table tr td:not(:nth-child(2))::before {
                            content: attr(data-label);
                            white-space: nowrap;
                            flex-basis: 100px;
                            } */

            .kt-table tr td {
                display: none;
            }

        .kt-table tbody tr td .title {
            max-width: none;
        }

            .kt-table tbody tr td .title .image {
                margin: 10px 10px -30px 10px;
            }

        .kt-table tr td[data-label="counter"],
        .kt-table tr td[data-label="Ürün Adı"],
        .kt-table tr td[data-label="Fiyat"],
        .kt-table tr td[data-label="notFoundProduct"] {
            display: block;
            flex-grow: 1;
        }

        .kt-table tr td[data-label="notFoundProduct"] {
            padding: 30px 0;
        }

        .kt-table tr td[data-label="counter"] + td[data-label="Ürün Adı"] {
            max-width: calc(100% - 52px);
        }

        .kt-table tr td[data-label="Fiyat"] {
            width: 100%;
            flex-grow: 1;
            text-align: center;
            font-size: 20px;
        }

        .kt-table tbody tr td .kt-counter {
            position: relative;
            z-index: 5;
            margin: 10px 10px -27px 10px;
            opacity: 1;
        }

        .kt-table tr td[data-label="counter"] small {
            margin: 40px -4px -40px 7px;
        }

    .kt-counter button {
        width: 30px;
        height: 30px;
    }

    .kt-counter span {
        width: 100%;
        font-size: 16px;
        line-height: 24px;
    }
}

@media screen and (max-width: 992px) {
    .collect-computer-sortable #customDropdown {
        top: 35px;
    }

    .kendin-topla-sirala {
        border: 1px solid #F3D825;
        border-radius: 5px;
        padding: 7px 20px;
    }

    .collect-computer-topbar .btn-icon span {
        font-size: 10px;
    }

    .system-summary .content .summary .add-cart {
        padding: 12px;
        font-size: 18px;
        line-height: 1;
    }

    .system-summary > .header .title span {
        font-size: 18px;
    }

    .system-summary > .header .reset span {
        font-size: 18px;
    }

    .kt-table tr td[data-label="Fiyat"] {
        font-size: 16px !important;
    }

    .kt-table tbody tr td .title .text strong {
        font-size: 14px !important;
    }

    .collect-computer-topbar {
        position: relative;
        top: 0;
        margin: 0;
        padding: 8px 0;
        z-index:1;
    }
    .border-right-custom
    {
        border-right:none;
    }
    .collect-computer-topbar .collect-computer-topbar-total {
        display: none;
    }

    .collect-computer-topbar-total {
        display: flex;
        justify-content: center;
        margin: 10px 0 4px 0;
    }

    .collect-computer-topbar-buttons {
        flex-wrap: wrap;
        /*        align-items: stretch;*/
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .collect-computer-topbar .btn-icon {
        /*        flex-basis: 48.75%;*/
        max-width: 180px;
    }

    .system-summary-list .list-item {
        width: 100%;
        padding-right: 45px;
    }

        .system-summary-list .list-item .delete {
            right: 10px;
            top: 10px;
        }

    .system-summary .content .summary .block .choose-buttons {
        width: 100%;
    }

    .choose-buttons label {
        flex-grow: 0;
    }

        .choose-buttons label > span {
            min-width: inherit;
        }


    .system-summary .content .summary .price {
        font-size: 24px;
        line-height: inherit;
        text-align: center;
    }

    .choose-buttons label > span small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .system-summary .content .summary .installments {
        margin: 0 auto 8px auto;
    }

    html:has(.product-categories-bar.show),
    body:has(.product-categories-bar.show) {
        overflow: hidden !important;
    }

        html:has(.product-categories-bar.show) header,
        body:has(.product-categories-bar.show) header {
            position: fixed;
        }

    .btn-itopya-system-filter + .collapse {
        border: 1px solid var(--gg-yellow-color);
        padding: 1.2rem 1rem 0px 1rem;
        margin: -1.2rem 0 1rem 0;
        border-radius: 0 0 5px 5px;
    }
}

@media screen and (min-width: 992px) {
    .w-lg-auto {
        width: auto !important;
    }

    .btn-itopya-system-filter {
        display: none;
    }

        .btn-itopya-system-filter + .collapse {
            display: block !important;
        }
}

@media(max-width:576px) {
    .collect-computer-search {
        width: 100%;
    }

        .collect-computer-search .collect-computer-search-input {
            width: 100%;
        }

    .collect-computer-sortable {
        width: 100%;
        justify-content: center;
    }
}

@media(max-width:990px) {
    .kt-selected-products .content strong {
        font-size: 14px;
    }
}
