﻿/* Variant Slider CSS */
.variant-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.variant-slide {
    display: none;
    width: 100%;
}

    .variant-slide:first-child {
        display: block;
    }

.variant-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

    .variant-slider-nav:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

    .variant-slider-nav.prev {
        left: -10px;
    }

    .variant-slider-nav.next {
        right: -10px;
    }

.variant-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.variant-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .variant-dot.active {
        background-color: #F48929;
        transform: scale(1.2);
    }

/*Ürün Detay*/
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #F48929;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.product-detail-section {
    padding: 75px 0;
    padding-bottom: 116px;
}




.product-category-and-title {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    padding-bottom: 42px;
    border-bottom: 1px solid #E8E8E8;
}

.product-category {
    font-family: 'Baloo Paaji 2';
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    color: #D0121C;
}

.product-title {
    font-family: Poppins;
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    text-align: left;
    color: #1A1A1A;
}

.product-price-and-count-selection-area {
    display: flex;
    column-gap: 24px;
    padding-top: 24px;
}

.product-price-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.product-count-selection-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.product-price-title {
    font-family: 'Baloo Paaji 2';
    font-size: 16px;
    font-weight: 700;
    line-height: 25.18px;
    text-align: left;
    color: #626262;
}

.product-price-value {
    font-family: Poppins;
    font-size: 32px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: 0.2939999997615814px;
    text-align: left;
    color: #E51D1D;
}

.product-count-selection-title {
    font-family: 'Baloo Paaji 2';
    font-size: 16px;
    font-weight: 700;
    line-height: 25.18px;
    text-align: left;
    color: #626262;
}


.product-count-selection-input {
    width: max-content;
    max-width: 100%;
}

    .product-count-selection-input .qty-input {
        display: flex;
        column-gap: 4px;
        border: 1px solid #E8E8E8;
        align-items: center;
        padding: 8px 14px;
        border-radius: 50px;
    }

        .product-count-selection-input .qty-input button {
            width: 36px;
            height: 36px;
            border: none;
            background: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .product-count-selection-input .qty-input input {
            max-width: 45px;
            border: none;
            background: transparent;
            display: flex;
            align-items: center;
            text-align: center;
            justify-content: center;
            box-shadow: none;
            outline: none;
            font-family: Poppins;
            font-size: 20px;
            font-weight: 400;
            line-height: 35.45px;
            text-align: center;
            color: #444444;
        }

            .product-count-selection-input .qty-input input::-webkit-outer-spin-button,
            .product-count-selection-input .qty-input input::-webkit-inner-spin-button {
                -webkit-appearance: none;
                margin: 0;
            }

.product-variant-selections-area {
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.product-variant-selections-title {
    font-family: 'Baloo Paaji 2';
    font-size: 16px;
    font-weight: 700;
    line-height: 25.18px;
    text-align: left;
    color: #626262;
}

.product-variant-selections {
    display: flex;
    align-items: center;
    column-gap: 10px;
    flex-wrap: wrap;
    row-gap: 10px;
}

    .product-variant-selections .product-variant-selection, .product-variant-selections .product-variant-selection img {
        width: 100px;
        height: 100px;
        aspect-ratio: 1/1;
        object-fit: contain;
        border-radius: 12px;
        cursor: pointer;
    }

    .product-variant-selections .product-variant-selection {
        border: 1px solid #E8E8E8;
        background: #F6F6F6;
        overflow: hidden;
    }

        .product-variant-selections .product-variant-selection.selected {
            border: 1px solid #D0121C;
            background: #F6F6F6;
        }

.product-total-prices-and-add-basket-button {
    background: #F6F6F6;
    border: 1px solid #E4E7EC;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.product-total-prices-and-description {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    padding: 0 10px;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E4E7EC;
}

.product-total-prices {
    display: flex;
    flex-direction: column;
    row-gap: 2px;
}

.product-total-price-with-unit-price {
    font-family: 'Baloo Paaji 2';
    font-size: 15px;
    font-weight: 500;
    line-height: 23px;
    text-align: left;
    color: #344054;
}

.product-total-price-without-unit-price {
    font-family: 'Baloo Paaji 2';
    font-size: 30px;
    font-weight: 600;
    line-height: 38px;
    text-align: left;
    color: #000000;
}

.product-total-price-description {
    display: flex;
    align-items: center;
    column-gap: 4px;
    font-family: 'Baloo Paaji 2';
    font-size: 15px;
    font-weight: 500;
    line-height: 23px;
    text-align: left;
    color: #475467;
}

.product-add-basket-button button {
    font-family: 'Baloo Paaji 2';
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    color: #fff;
    padding: 14px 16px;
    width: 100%;
    border: 1px solid #F48929;
    background: #F48929;
    border-radius: 50px;
    box-shadow: none;
    outline: none;
}

.product-total-price-and-description-area {
    display: flex;
    flex-direction: column;
    row-gap: 35px;
    padding-top: 32px;
}

.product-total-description-area {
    font-family: Poppins;
    font-size: 15px;
    font-weight: 400;
    line-height: 23px;
    text-align: left;
    color: #626262;
}


.our-favorites-for-you-section {
    padding: 112px 0;
}

.our-favorites-for-you-area {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}

.our-favorites-for-you-text-area {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.our-favorites-for-you-title {
    font-family: 'Baloo Paaji 2';
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    text-align: left;
    color: #D0121C;
}

.our-favorites-for-you-description {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #626262;
}



/*Ürün Kartları*/


.our-favorites-product-card {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}

.our-favorites-product-card-image-area {
    background: #F6F6F6;
    padding: 50px 0;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.our-favorites-product-image, .our-favorites-product-image img {
    aspect-ratio: 1/1;
    object-fit: contain;
}

.our-favorites-product-search {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #f8f9ff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: .4s;
}

.our-favorites-product-card:hover .our-favorites-product-search {
    opacity: 1;
    visibility: visible;
    transition: .4s;
}

.our-favorites-product-card-text-area {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.our-favorites-product-category {
    font-family: 'Baloo Paaji 2';
    font-size: 11.5px;
    font-weight: 700;
    line-height: 17.85px;
    letter-spacing: 1.0499999523162842px;
    text-align: center;
    color: #767676;
}

.our-favorites-product-title {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    line-height: 23.63px;
    text-align: center;
    color: #1A1A1A;
}

.our-favorites-product-card-text-and-price-area {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}

.our-favorites-product-price-area {
    position: relative;
}

.our-favorites-product-add-basket-button {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0;
    visibility: hidden;
    transition: .4s;
    background: #D0121C;
    border: 1px solid #D0121C;
    padding: 10px 24px;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    line-height: 23.89px;
    text-align: center;
    color: #fff;
    border-radius: 50px;
    width: max-content;
    text-decoration: none;
}



.our-favorites-product-price {
    font-family: 'Baloo Paaji 2';
    font-size: 18px;
    font-weight: 700;
    line-height: 24.99px;
    letter-spacing: 0.2939999997615814px;
    text-align: center;
    color: #E51D1D;
    visibility: visible;
    opacity: 1;
    transition: .4s;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.our-favorites-for-you-carousel .owl-dots {
    margin-top: 42px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
}

    .our-favorites-for-you-carousel .owl-dots button span {
        margin: 0 !important;
        width: 12px !important;
        height: 12px !important;
        background: #D9D9D9 !important;
        transition: .4s;
    }

    .our-favorites-for-you-carousel .owl-dots button.active span {
        margin: 0 !important;
        width: 60px !important;
        background: #D0121C !important;
        transition: .4s;
    }

.our-favorites-for-you-carousel .owl-nav {
    position: absolute;
    top: calc(50% - 54px);
    left: -18px;
    transform: translate(0, calc(-50% - 54px));
    width: calc(100% + 36px);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

    .our-favorites-for-you-carousel .owl-nav .owl-prev {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff !important;
        border: 1px solid #E8E8E8 !important;
        border-radius: 50px;
        pointer-events: auto;
        position: relative;
    }

    .our-favorites-for-you-carousel .owl-nav .owl-next {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff !important;
        border: 1px solid #E8E8E8 !important;
        border-radius: 50px;
        pointer-events: auto;
        position: relative;
    }

    .our-favorites-for-you-carousel .owl-nav .owl-prev span {
        display: none;
    }

    .our-favorites-for-you-carousel .owl-nav .owl-next span {
        display: none;
    }


    .our-favorites-for-you-carousel .owl-nav .owl-prev::after {
        content: "\f053";
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #D0121C;
    }

    .our-favorites-for-you-carousel .owl-nav .owl-next::after {
        content: "\f054";
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #D0121C;
    }

.wishlist-button {
    position: absolute;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    color: #cfcfcf;
    box-shadow: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 24px;
    right: 24px;
}

.product-detail-wishlist-button {
    z-index: 1;
}

.wishlist-button svg {
    min-width: 20px;
    max-width: 20px;
    max-height: 20px;
    min-height: 20px;
}

.wishlist-button:not(.active) svg path {
    fill: #fff;
    stroke: #d0121c;
}

.wishlist-button:not(.active):hover svg path {
    fill: #d0121c;
    stroke: #d0121c;
}

.wishlist-button.active svg path {
    fill: #d0121c;
    stroke: #d0121c;
}

.wishlist-button.active:hover svg path {
    fill: #fff;
    stroke: #d0121c;
}

.wishlist-button.active .fa-regular.fa-heart {
    display: none;
}

.wishlist-button:not(.active) .fa-solid.fa-heart {
    display: none;
}

.wishlist-button i {
    font-size: 16px;
    line-height: 24px;
}

.wishlist-button .fa-solid.fa-heart {
    color: red;
}

.product-quantity-based-pricing-area {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    margin-top: 24px;
}

    .product-quantity-based-pricing-area .quantity-based-pricing-card {
        background: #fff;
        padding: 8px 24px;
        border-radius: 50px;
        border: 1px solid #E8E8E8;
    }

        .product-quantity-based-pricing-area .quantity-based-pricing-card .quantity-based-pricing-card-quantity {
            font-family: 'Poppins';
            font-weight: 500;
            font-size: 13px;
            color: #626262;
        }

        .product-quantity-based-pricing-area .quantity-based-pricing-card .quantity-based-pricing-card-unit-price {
            font-family: 'Poppins';
            font-weight: 600;
            font-size: 18px;
        }

.product-unit-price-and-quantity-input {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}

@media only screen and (min-width: 1200px) {
    .our-favorites-product-card:hover .our-favorites-product-price {
        opacity: 0;
        visibility: hidden;
        transition: .4s;
    }

    .our-favorites-product-card:hover .our-favorites-product-add-basket-button {
        opacity: 1;
        visibility: visible;
        transition: .4s;
    }

    .mobile-add-to-basket-button {
        display: none;
    }
}

@media only screen and (max-width: 1199px) {

    .our-favorites-product-price-area {
        display: flex;
        justify-content: center;
        column-gap: 12px;
        align-items: center;
    }

    .mobile-add-to-basket-button {
        width: 32px;
        height: 32px;
        border: 1px solid #E51D1D;
        background: #E51D1D;
        color: #fff;
        border-radius: 50px;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: normal;
    }

    .product-category {
        font-size: 16px;
    }

    .product-category-and-title {
        padding-bottom: 24px;
    }

    .product-title {
        font-size: 21px;
        line-height: 30px;
    }

    .product-price-title {
        font-size: 15px;
        line-height: 23.18px;
    }

    .product-price-value {
        font-size: 24px;
        line-height: 34px;
    }

    .product-count-selection-title {
        font-size: 15px;
        line-height: 23.18px;
    }

    .product-count-selection-input .qty-input {
        padding: 4px 10px;
    }

        .product-count-selection-input .qty-input button {
            width: 24px;
            height: 24px;
        }

        .product-count-selection-input .qty-input input {
            font-size: 18px;
            line-height: 28.45px;
        }

    .product-total-price-without-unit-price {
        font-size: 28px;
        line-height: 38px;
    }

    .product-total-prices-and-add-basket-button {
        padding: 30px 16px;
    }

    .product-total-price-description {
        font-size: 13px;
        line-height: 21px;
    }

    .product-add-basket-button button {
        font-size: 15px;
        line-height: 23px;
        padding: 14px 16px;
    }
}

@media only screen and (max-width: 991px) {
    .product-quantity-based-pricing-area .quantity-based-pricing-card {
        padding: 8px 40px;
        width: 100%;
    }

    .product-quantity-based-pricing-area {
        display: flex;
        gap: 10px;
        white-space: nowrap;
        flex-wrap: nowrap;
        width: 100%;
        overflow: hidden;
        overflow-x: auto;
    }
}


@media only screen and (max-width: 767px) {
    .product-gallery-slider-for {
        width: 100%;
    }

    .product-gallery-slider-nav {
        display: none;
    }

    .product-title {
        font-size: 18px;
        line-height: 28px;
    }

}
