﻿.ListView-grid {
    float: left;
}

    .ListView-grid th, .ListView-grid td {
        padding: 0;
    }

.urun-row > * {
    color: #000000;
}

.urun-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: var(--egk-light-shadow);
    transition: all .1s ease-in-out,width .01ms,height .01ms;
    width:100%;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

.profile-img-container {
    position: relative;
    display: inline-block; /* added */
    overflow: hidden; /* added */
}

    .profile-img-container img {
        width: 100%;
    }
        /* remove if using in grid system */


        .profile-img-container img:hover {
            opacity: 0.5
        }

    .profile-img-container:hover a {
        opacity: 1; /* added */
        top: 0; /* added */
        z-index: 500;
    }
        /* added */
        .profile-img-container:hover a svg {
            top: 50%;
            position: absolute;
            left: 0px;
            right: 0;
            transform: translateY(-50%);
            background-color: #ffffff08;
            padding: 15px;
            backdrop-filter: blur(5px);
            border-radius: 100px;
            color: #e33e3e;
            transition: all 0.2s ease-in-out;
        }
    /* added */
    .profile-img-container a {
        display: block;
        position: absolute;
        top: -100%;
        opacity: 0;
        left: 0;
        bottom: 0;
        right: 0;
        text-align: center;
        color: inherit;
    }
/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}

.urun-row:hover {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.urun-row > div[class^="urun-col"] {
    flex-direction: column;
    overflow: hidden;
}

.urun-row .urun-gorsel {

    cursor: pointer;
align-items: center;
    justify-content: center;
    display: inline-flex;
}

    .urun-row .urun-gorsel img {
        max-width: 144px;
        max-height: 144px;
    }

.urun-row > .urun-detay {
    width: 100%;
    padding: 7px 0px 7px 7px;
    display: flex;
    justify-content: space-between;
}

.urun-row > .stok-adet {
    min-width: 110px;
    padding: 7px;
    box-shadow: -1px 0px 1px #e8e8e8;
    display: flex;
    justify-content: center;
}

    .urun-row > .stok-adet .badge {
        border-radius: 8px;
        font-size: 14px;
    }

.urun-row > .urun-fiyat {
    min-width:320px;
    padding: 7px;
    box-shadow: -1px 0px 1px #e8e8e8;
    display: flex;
    justify-content: center;
}

.urun-row > .sepete-ekle {
    min-width: 140px;
    padding: 7px;
    display: flex;
    justify-content: center;
    box-shadow: -1px 0px 1px #e8e8e8;
}

.urun-row .btn-sepete-ekle {
    color: #333;
}

    .urun-row .btn-sepete-ekle:hover {
        text-decoration: underline;
    }

.urun-row .urun-baslik {
    display: block;
}

    .urun-row .urun-baslik > span {
        color: #000000;
        font-size: 16px;
        font-weight: normal;
    }

        .urun-row .urun-baslik > span:hover {
            cursor: pointer;
        }

.urun-row .stok-kodu {
    color: #888;
}

.urun-row .stok-marka {
    font-size: 18px !important;
}

.urun-row .stok-etiketleri a {
    color: #0000ff;
    font-size: 14px;
}

    .urun-row .stok-etiketleri a:hover {
        text-decoration: underline;
    }


.urun-row .ozellik-tablosu-tip1 {
    width: unset;
    border: solid 1px #b0b1b2 !important;
    border-collapse: collapse;
}

    .urun-row .ozellik-tablosu-tip1 th {
        font-weight: 100;
    }

    .urun-row .ozellik-tablosu-tip1 th,
    .urun-row .ozellik-tablosu-tip1 td {
        padding: 0px 5px;
    }

.urun-row .adet-tablosu {
    margin-bottom: 0px !important;
}

    .urun-row .adet-tablosu td {
        padding: 0px !important;
    }

.urun-row .text-light {
    color: #ffffff !important;
}

.urun-row .fiyat-tablosu td {
    padding: 0px !important;
}

.urun-row .size-ozel {
    color: #d24636;
    font-size: 12px;
}

.urun-row .bayi-fiyati {
    color: #888;
    font-size: 12px;
}

.urun-row .size-ozel-fiyat {
    font-size: 16px;
    font-weight: 500;
}

.urun-row .bayi-fiyati-fiyat {
    font-size: 15px;
    font-weight: bold;
}

.urun-row .kdv {
    color: #888;
    font-weight: bold;
    font-size: 11px;
    padding-left: 7px;
}

.urun-row.stokta-yok {
    border: solid 4px #d24636;
    border-style: inset;
}
/*Grid View*/
.ListView-grid .flex-container, .ListView .flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.urun-row-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 20px;
    width: 24%;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--egk-light-shadow);
}


    .urun-row-grid > .urun-gorsel {
        width: 100%;
        height: 200px;
    }

    .urun-row-grid .ozellik-tablosu-tip2 {
        display: none;
    }

    .urun-row-grid .stok-adet {
        justify-content: center;
        text-align: center;
        margin: auto;
    }

    .urun-row-grid:hover {
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    }

    .urun-row-grid > .urun-col {
        display: flex;
        flex-direction: column;
    }

        .urun-row-grid > .urun-col > div > .adet-tablosu {
            position: relative;
            width: 57%;
            left: 25%;
        }

            .urun-row-grid > .urun-col > div > .adet-tablosu > tbody > tr > td {
                padding: 0;
            }

                .urun-row-grid > .urun-col > div > .adet-tablosu > tbody > tr > td:nth-child(4) {
                    padding-left: 5px;
                    font-size: 12px;
                    color: #888;
                    font-weight: bold;
                }

            .urun-row-grid > .urun-col > div > .adet-tablosu > span {
                display: inline-block;
                font-size: 14px;
            }


    .urun-row-grid .stok-kodu {
        color: #888;
    }

    .urun-row-grid > .urun-col.urun-detay {
        padding: 0px 4px;
        margin: 10px 0px;
        cursor: pointer;
    }

    .urun-row-grid > .urun-col > div > .urun-baslik {
        height: 50px !important;
    }

    .urun-row-grid > .urun-col > .stok-etiketleri {
        height: 36px !important;
    }
    /*Barkod*/
    .urun-row-grid > .urun-detay > .sk-wrapper > span:nth-child(2) {
        display: none
    }


    .urun-row-grid > .urun-col > img {
        cursor: pointer;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .urun-row-grid > .urun-detay > .urun-baslik {
        width: 100%;
        display: block;
        color: var(--text-primary-color);
        font-size: 14px;
        font-weight: 500;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

.stock-amount:hover {
    color: #ebecf0 !important;
    text-decoration: none !important;
    background-color: var(--theme-color) !important;
    border-radius: 4px !important;
    transition: all .2s !important;
}

.urun-row-grid > .urun-detay > div > table {
    display: none;
}

/*    Koli Adet İçeriği*/
.urun-row-grid > .stok-adet > .paket-icerik {
    display: none
}

.urun-row-grid > .urun-fiyat {
    margin: 10px 0px;
}

.urun-row-grid .size-ozel-fiyat {
    font-size: 14px;
    font-weight: 500;
}
.urun-row-grid .kdv {
    color: #888;
    font-weight: 500;
    font-size: 10px;
}

.urun-row.stokta-yok {
    border: solid 4px #d24636;
    border-style: inset;
}

.urun-row-grid > .sepete-ekle {
    width: 100%;
    flex-direction: column;
    display: flex;
    margin-top: auto;
}

    .urun-row-grid > .sepete-ekle > div > button {
        height: 45px;
    }


.stokta-var-yok {
    font-size: 11px !important;
}

.stok-gelis-gunu {
    width: 75px !important;
}

.span-truck:hover {
    cursor: pointer;
}

.rounded-bottom {
    -webkit-border-bottom-right-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

.rounded-top-left {
    -webkit-border-top-left-radius: 6px;
    -moz-border-radius-topleft: 6px;
    border-top-left-radius: 6px;
}

.rounded-top-right {
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    border-top-right-radius: 6px;
}

.stock-filter-tag {
    background-color: #ffffff;
    border: unset;
    border-radius: 8px;
    text-align: center;
}

    .stock-filter-tag > button {
        width: 90%;
        height: 35px;
        border: unset;
        border-radius: 8px;
        background: var(--theme-color);
        box-shadow: 4px 3px 4px 2px rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
        color: white;
    }

        .stock-filter-tag > button > i {
            float: right;
        }


.big-img-carousel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 10100;
    width: 750px;
    border-radius: 8px;
    min-height: 400px;
    background-color: #adaeb387;
    backdrop-filter: blur(20px);
}

.carousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--egk-light-shadow);
}
}
.carousel-control {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 15%;
    opacity: .5;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
    background-color: transparent;
    background-image: none !important
}

.carousel-inner > .item > img {
    margin: auto;
}

.carousel-inner,
.carousel-inner > .item,
.carousel-inner > .item > img {
    max-width: 100%;
    max-height: 100%;
}

#img-slicker {
    cursor: pointer;
}

@media only screen and (max-width: 1201px) {

    .ozellik-tablosu-tip2 {
        display: none;
    }

    .urun-row-grid, .urun-row {
        max-width: unset;
        width: 32%;
    }

    .urun-row {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
        width: 24%;
        background-color: #ffffff;
        border-radius: 4px;
        overflow: hidden;
        box-shadow: var(--egk-light-shadow);
    }

        .urun-row > .urun-detay > .urun-baslik {
            width: 100%;
            display: block;
            color: var(--text-primary-color);
            font-size: 14px;
            font-weight: 500;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
        }

    .urun-row > .urun-detay {
        width: 100%;
        display: block;
    }

    .slick-track a:focus {
        outline: none;
    }

    .urun-row > .sepete-ekle {
        margin-top: auto;
    }

    .urun-row > .stok-adet {
        width: 100%;
    }

    .urun-row > .urun-fiyat {
        width: 100%;
    }

    .urun-row > .urun-col {
        display: flex !important;
        flex-direction: column !important;
    }

    .urun-row > div[class^="urun-col"] {
        height: unset;
    }

    .urun-row > .urun-col.urun-detay {
        margin-top: 10px !important;
        cursor: pointer !important;
    }

    .urun-row .size-ozel-fiyat {
        font-size: 14px;
        font-weight: 500;
    }

    .urun-row .kdv {
        color: #888;
        font-weight: 500;
        font-size: 10px;
    }
    .urun-row > .urun-fiyat {
        min-width: fit-content;
    }

    /*Barkod*/
    .urun-row > .urun-detay > .sk-wrapper > span:nth-child(2) {
        display: none
    }

    .urun-row > .urun-detay > div > table {
        display: none;
    }

    /*    Koli Adet İçeriği*/
    .urun-row > .stok-adet > .paket-icerik {
        display: none
    }

    .urun-row > .urun-fiyat {
        margin-top: 10px;
    }

    .urun-row .size-ozel-fiyat {
        font-size: 16px;
        font-weight: bold;
    }



    .urun-row .kdv {
        color: #888;
        font-weight: bold;
        font-size: 11px;
        /*    padding-left: 7px;*/
    }



    .urun-row > .sepete-ekle {
        width: 100%;
        flex-direction: column;
        display: flex;
    }

        .urun-row > .sepete-ekle > div > button {
            height: 45px;
        }

    /*    #grid-view {
        display: none;
    }*/
}


@media only screen and (max-width: 768px) {

    .stok-siralama-alani {
        width: 100% !important;
        margin-top: 10px !important;
    }

    .ListView {
        text-align: center;
    }

    .ozellik-tablosu-tip2 {
        display: none !important;
    }
}

@media only screen and (max-width: 660px) {
    .stok-siralama-alani {
        width: 100% !important;
        margin-top: 10px !important;
    }

    .urun-row-grid, .urun-row {
        max-width: unset;
        width: 49%;
    }

    .big-img-carousel {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: none;
        z-index: 10100;
        width: 400px;
        height: 400px;
    }
}
