﻿body {
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.logo {
    margin-top: 20px;
    margin-bottom: 0px;
    margin-left: 0px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px;
}

@media (max-width: 767px) {
    .logo a img {
        width: 150px;
    }
}

.logo a img {
    width: 200px;
}

.products {
    width: 100%;
    position: relative;
    margin-top: 50px;
}

/*.categories .category-box a {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}
row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}*/
/*.categories .category-box a .total-product {
    position: absolute;
    z-index: 4;
    left: 0px;
    top: 0px;
    font-size: 13px;
    background: #057B35;
    padding: 7px 5px;
    color: #FFFFFF;
}
.categories .category-box a img {
    display: block;
    vertical-align: middle;
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: .2s all;
    z-index: 3;
}*/
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 10; /* Popup'ın kartların üzerine gelmesini sağlamak için z-index değerini ayarladık */
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 8px;
    flex-direction: column;
}

    .popup input,
    .popup textarea,
    .popup button {
        margin-bottom: 10px;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
    }

    .popup button {
        background-color: #df5001;
        color: #fff;
        cursor: pointer;
    }

        .popup button:hover {
            background-color: #ff6f33;
        }



.button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .button:hover {
        background-color: #0056b3;
    }


#cartPopup {
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    background-color: #fff;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 50%; /* Set the maximum width as half of the screen width */
    width: 100%;
    box-sizing: border-box;
}

.my-cart-popup {
    display: none;
    position: absolute;
    top: 50px;
    right: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    overflow-y: auto;

}
ul#cartList.list-group {
    padding-top: 40px;
    overflow-y: auto;
}
.badge {
    background-color: #6394F8;
    border-radius: 10px;
    color: white;
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    padding: 3px 7px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.shopping-cart {
    margin: 20px 0;
    float: right;
    background: #e8e8e8;
    width: 320px;
    position: absolute;
    border-radius: 3px;
    padding: 20px;
    right: 7.5%;
    display: none;
    box-shadow: 2px 1px 1px 1px #aaa;
}

    .shopping-cart .shopping-cart-header {
        border-bottom: 1px solid #E8E8E8;
        padding-bottom: 15px;
    }

        .shopping-cart .shopping-cart-header .shopping-cart-total {
            float: right;
        }

    .shopping-cart .shopping-cart-items {
        padding-top: 20px;
    }

        .shopping-cart .shopping-cart-items li {
            margin-bottom: 18px;
        }

        .shopping-cart .shopping-cart-items img {
            float: left;
            margin-right: 12px;
        }

        .shopping-cart .shopping-cart-items .item-name {
            display: block;
            padding-top: 10px;
            font-size: 16px;
        }

        .shopping-cart .shopping-cart-items .item-price {
            color: #6394F8;
            margin-right: 8px;
        }

        .shopping-cart .shopping-cart-items .item-quantity {
            color: #ABB0BE;
        }

    .shopping-cart:after {
        bottom: 100%;
        left: 89%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-bottom-color: #e8e8e8;
        border-width: 8px;
        margin-left: -8px;
    }

.cart-icon {
    color: #515783;
    font-size: 24px;
    margin-right: 7px;
    float: left;
}

.shopping-cart-items li {
    list-style: none;
}

.update-qty {
    color: rgb(109, 109, 109);
    cursor: pointer;
    margin: 0 5px 0 5px;
}

    .update-qty:hover {
        color: #464646;
    }

.my-cart-remove-container {
    margin-right: 50px;
    align-self: center;
}

.my-cart-remove {
    font-size: 20px;
    cursor: pointer;
    color: rgb(109, 109, 109);
}

    .my-cart-remove:hover {
        color: #464646;
    }

.button {
    background: #6394F8;
    color: white;
    text-align: center;
    padding: 2px;
    text-decoration: none;
    display: block;
    border-radius: 3px;
    font-size: 10px;
    /*    margin: 25px 0 15px 0;
*/
}

    .button:hover {
        background: #729ef9;
    }

.clearfix {
    display: flex;
    justify-content: space-between;
}

.nav {
    text-align: right;
}

.cart-icon {
    margin: 50px;
}

#payy {
    background-color: #28a745;
    border: 1px solid #28a745;
}

    #payy:hover {
        background-color: #218838;
    }

.my-cart-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #141414;
    display: none;
}

.cart__text {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-button {
    cursor: pointer;
    font-size: 18px;
}

.js-cart-products {
    /* Eğer içeriğin yüksekliği çok uzun olursa bu özelliği ekleyebilirsiniz */
    overflow: auto;
}

.categories .category-box a img {
    display: block;
    vertical-align: middle;
    object-fit: inherit;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: .2s all;
    z-index: 3;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.categories {
    width: 100%;
    position: relative;
    margin-top: 100px;
}

.category-box {
    border-style: solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to left, #A77F3B, #D6BC82);
    min-height: 190px;
    max-height: 190px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

a.white-back {
    border-style: solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to left, #A77F3B, #D6BC82);
    color: darkblue;
    padding: 6px 6px;
    font-size: 13px;
}

.categories .category-box a .category-name {
    max-width: 100%;
    word-break: break-word;
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0px;
    text-align: center;
    background: rgba(0,0,0,.50);
    padding: 10px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 767px) {
    .categories .category-box a .category-name {
        font-size: 14px;
    }
}

.products .product-box {
    margin-bottom: 30px;
    width: 100%;
    position: relative;
    padding: 20px;
    border: ridge;
}

.dark .products .product-box {
    border: none;
    box-shadow: none;
    background: #FFFFFF;
   
}
.products .product-box .flex-box {
    display: flex;
    align-items: center;
}

.dark .products .product-box {
    border: none;
    box-shadow: none;
    background: #fff;
}

.products .product-box .flex-box .image {
    width: 150px;
    height: 150px;
    margin-right: 20px;
}

    .products .product-box .flex-box .image img {
        width: 100%;
        height: 100%;
        vertical-align: middle;
        display: block;
        object-fit: contain;
    }

.products .product-box .flex-box .informations {
    width: calc(100% - 170px);
}

    .products .product-box .flex-box .informations .product-name {
        width: 100%;
        margin-bottom: 22px;
        padding-bottom: 22px;
        border-bottom: solid 1px rgba(100,100,100,.1);
    }

        .products .product-box .flex-box .informations .product-name a {
            font-size: 18px;
            font-weight: 600;
            color: #000000;
        }

    .products .product-box .flex-box .informations .price__like {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .products .product-box .flex-box .informations .price__like .price {
            font-size: 18px;
            font-weight: 600;
            color: #000000;
        }
img#pr-image.image.image.img-fluid {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .products .product-box {
        margin-bottom: 15px;
        border: ridge;
    }

        .products .product-box .flex-box .image {
            width: 150px;
            height: 150px;
            margin: 0 auto;
        }

        .products .product-box .flex-box .informations .product-name {
            text-align: center;
            margin-bottom: 20px;
            padding-bottom: 20px;
        }

        .products .product-box .flex-box .informations .price__like {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-direction: column;
            flex-wrap: wrap;
        }

        .products .product-box .flex-box .informations .product-name a {
            font-size: 12px;
        }

        .products .product-box .flex-box .informations .price__like .price {
            font-size: 15px;
        }

    img#pr-image.image.image.img-fluid {
        max-width: 50%;
        display: flex;
        margin-inline: auto;
    }
    td {
        padding: 0px;
    }
    .modal-footer {
        padding: 0px;
    }
  
    .cardsepet-body {
        font-size: 12px; /* Adjust the font size as needed */
    }

    .cardsepet-title {
        margin-bottom: 5px; /* Adjust the bottom margin as needed */
        font-size: 12px;
    }

    .cardsepet-text {
        margin-bottom: 5px; /* Adjust the bottom margin as needed */
        font-size: 12px;
    }

        .cardsepet-text.fiyat {
            font-weight: bold;
            font-size: 12px;
        }

        .cardsepet-text,
        .cardsepet-text.fiyat,
        .cardsepet-text button {
            padding: 8px; /* Adjust the padding as needed */
        }

            .cardsepet-text button {
                font-size: 12px; /* Adjust the font size as needed */
            }

                .cardsepet-text button p {
                    font-size: 12px; /* Adjust the font size as needed */
                }
    #cartPopup {
        max-width: 100%;
    }
}
