﻿.product-thumb {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

    .fade-in.show {
        opacity: 1;
    }

.product-images .swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 500px;
}

figure.product-image {
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
}

.rating-stars {
    display: inline-flex;
    cursor: pointer;
}

    .rating-stars i {
        font-size: 14px;
        color: #ccc;
        margin-right: 5px;
        transition: color 0.2s;
    }

        .rating-stars i.selected,
        .rating-stars i.hovered {
            color: #ef5526;
        }

.size-button-custom.active {
    background: #28a745;
    color: white;
    border-color: #1e7e34;
}

.product.card-style {
    height: 277px !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 12px !important;
    justify-content: flex-start !important;
}

    .product.card-style .product-media.custom-img {
        height: 81px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px !important;
    }

    .product.card-style .product-name,
    .product.card-style .product-name a {
        font-size: 14px !important;
        margin-top: 4px !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        line-height: 1.3 !important;
    }

    .product.card-style .product-pa-wrapper {
        margin-top: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

.product-action-vertical .btn-product-icon {
    margin-right: -16px;
    margin-top: -14px !important;
}

.product-wrap {
    width: 214px !important;
    min-height: 201px !important;
}

    .product-wrap.card-style {
        border: 1px solid #e9e9e9;
        border-radius: 14px;
        background: #fff;
        transition: all 0.25s ease;
        position: relative;
        overflow: hidden;
    }

        .product-wrap.card-style:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
            border-color: #dcdcdc;
            z-index: 2;
        }

        .product-wrap.card-style .product {
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .product-wrap.card-style .product-media {
            margin-bottom: 12px;
        }

        .product-wrap.card-style .product-details {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 0 14px 14px;
            position: relative;
        }

            .product-wrap.card-style .product-details > div:first-child {
                flex: 1;
            }

        .product-wrap.card-style a.btn-product-icon.btn-cart.w-icon-cart {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
            transform: translateY(14px) !important;
            margin-top: 0 !important;
            max-height: 0 !important;
            min-height: 0 !important;
            height: 0 !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
            overflow: hidden !important;
            transition: all 0.25s ease !important;
        }

        .product-wrap.card-style:hover a.btn-product-icon.btn-cart.w-icon-cart {
            opacity: 1 !important;
            visibility: visible !important;
            pointer-events: auto !important;
            transform: translateY(0) !important;
            margin-top: 14px !important;
            max-height: 48px !important;
            height: 27px !important;
        }

.main-slider .swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.main-slider .image-spinner-box {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.main-slider img {
    margin: 0 auto !important;
    object-position: center center !important;
}

.vendor-product-section .related-swiper .product-wrap.card-style {
    width: 214px !important;
    min-width: 214px !important;
    max-width: 214px !important;
    height: 267px !important;
    min-height: 267px !important;
    max-height: 267px !important;
    padding: 10px !important;
    border: 1px solid #e9e9e9 !important;
    border-radius: 14px !important;
    background: #fff !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03) !important;
    transition: all 0.25s ease !important;
}

    .vendor-product-section .related-swiper .product-wrap.card-style:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
        border-color: #dcdcdc !important;
        z-index: 5 !important;
    }

    .vendor-product-section .related-swiper .product-wrap.card-style .product {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .vendor-product-section .related-swiper .product-wrap.card-style .product-media {
        height: 130px !important;
        min-height: 130px !important;
        max-height: 130px !important;
        margin: 0 0 6px 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }

    .vendor-product-section .related-swiper .product-wrap.card-style .image-container,
    .vendor-product-section .related-swiper .product-wrap.card-style .image-spinner-box {
        width: 100% !important;
        height: 130px !important;
        min-height: 130px !important;
        max-height: 130px !important;
        padding: 6px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .vendor-product-section .related-swiper .product-wrap.card-style img,
    .vendor-product-section .related-swiper .product-wrap.card-style .product-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 120px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .vendor-product-section .related-swiper .product-wrap.card-style .product-action-vertical {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 20 !important;
        margin: 0 !important;
    }

    .vendor-product-section .related-swiper .product-wrap.card-style .btn-wishlist {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
        border-radius: 50% !important;
        background: #fff !important;
        border: 1px solid #e5e5e5 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .vendor-product-section .related-swiper .product-wrap.card-style .product-details {
        flex: 1 !important;
        height: 120px !important;
        min-height: 120px !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 14px 14px !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .vendor-product-section .related-swiper .product-wrap.card-style .product-name {
        margin: 0 0 6px 0 !important;
        min-height: calc(1.25em * 2) !important;
        max-height: calc(1.25em * 2) !important;
        overflow: hidden !important;
    }

        .vendor-product-section .related-swiper .product-wrap.card-style .product-name a,
        .vendor-product-section .related-swiper .product-wrap.card-style .product-title-link {
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: normal !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            line-height: 1.25 !important;
            color: #333 !important;
        }

    .vendor-product-section .related-swiper .product-wrap.card-style .product-price,
    .vendor-product-section .related-swiper .product-wrap.card-style .product-pa-wrapper {
        margin-top: auto !important;
        margin-bottom: 0 !important;
        color: #ef5526 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .vendor-product-section .related-swiper .product-wrap.card-style a.btn-product-icon.btn-cart.w-icon-cart {
        width: calc(100% - 17px) !important;
        max-width: 135px !important;
        min-width: 0 !important;
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        margin: 10px auto 0 auto !important;
        padding: 0 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: static !important;
        background: #ff5a1f !important;
        color: #fff !important;
        border-radius: 9px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 28px !important;
        text-align: center !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-indent: 0 !important;
        transition: opacity .2s ease, transform .2s ease !important;
    }

        .vendor-product-section .related-swiper .product-wrap.card-style a.btn-product-icon.btn-cart.w-icon-cart::before {
            display: none !important;
            content: none !important;
        }

        .vendor-product-section .related-swiper .product-wrap.card-style a.btn-product-icon.btn-cart.w-icon-cart::after {
            content: "Sepete Ekle" !important;
            display: block !important;
            width: 100% !important;
            text-align: center !important;
            line-height: 28px !important;
            white-space: nowrap !important;
        }

.btn-cart {
    position: relative;
    overflow: hidden;
}

    .btn-cart span {
        transition: opacity 0.2s ease;
    }

    .btn-cart.loading span {
        opacity: 0 !important;
    }

    .btn-cart.loading::after {
        content: "";
        width: 16px;
        height: 16px;
        border: 2px solid #fff;
        border-top: 2px solid transparent;
        border-radius: 50%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        animation: spin 0.6s linear infinite;
    }

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.product-single .product-form {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 0 !important;
    margin-top: 20px !important;
}

    .product-single .product-form .product-qty-form,
    .product-single .product-form .product-qty-form .input-group {
        width: 176px !important;
        height: 56px !important;
        min-height: 56px !important;
        margin: 0 !important;
    }

    .product-single .product-form .quantity {
        height: 56px !important;
        line-height: 56px !important;
    }

    .product-single .product-form #addToCartButton {
        width: 320px !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        margin: 0 !important;
        padding: 0 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        border-radius: 4px !important;
    }

.product-gallery-col {
    overflow: hidden !important;
}

    .product-gallery-col .main-slider {
        width: 100% !important;
        overflow: hidden !important;
    }

        .product-gallery-col .main-slider .swiper-wrapper {
            display: flex !important;
            align-items: center !important;
        }

        .product-gallery-col .main-slider .swiper-slide {
            width: 100% !important;
            min-width: 100% !important;
            flex: 0 0 100% !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none;
        }

        .product-gallery-col .main-slider .swiper-slide-active {
            opacity: 1 !important;
            visibility: visible !important;
            pointer-events: auto;
        }

    .product-gallery-col .product-image {
        margin: 0 !important;
    }

        .product-gallery-col .product-image img {
            width: 100%;
            height: 625px;
            object-fit: contain;
            display: block;
        }

    .product-gallery-col .image-spinner-box {
        overflow: hidden;
    }

.product-form .product-wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: 10px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    font-size: 20px;
    color: #333;
    transition: all .2s ease;
}

    .product-form .product-wishlist-btn:hover,
    .product-form .product-wishlist-btn.added {
        color: #fff;
        background: #ef5526;
        border-color: #ef5526;
    }

.product-details .product-price,
.product-details .product-form,
.product-details .product-form .product-qty-form,
.product-details .product-form .input-group {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.product-details .product-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

    .product-details .product-form .product-qty-form {
        flex: 0 0 auto;
    }

    .product-details .product-form .btn-cart {
        flex: 1 1 auto;
    }

    .product-details .product-form .product-wishlist-btn {
        flex: 0 0 auto;
    }

@media (min-width: 769px) {
    .vendor-product-section .related-swiper .product-wrap.card-style a.btn-product-icon.btn-cart.w-icon-cart {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: none !important;
    }

    .vendor-product-section .related-swiper .product-wrap.card-style:hover a.btn-product-icon.btn-cart.w-icon-cart {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .product-media img:first-child {
        position: relative;
    }

    .product.card-style {
        height: 100px !important;
    }

    .product-wrap,
    .product-wrap.card-style {
        width: calc(50% - 10px) !important;
        min-height: 100px !important;
        height: auto !important;
        max-height: none !important;
        padding: 10px !important;
        position: relative !important;
        overflow: hidden !important;
    }

        .product-wrap.card-style .product {
            display: flex !important;
            flex-direction: column !important;
            height: 100% !important;
        }

        .product-wrap.card-style .product-media {
            margin-bottom: 8px !important;
            position: relative !important;
        }

    .image-container {
        height: 110px !important;
        min-height: 110px !important;
        margin-bottom: 6px !important;
        padding: 4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .product-wrap .product-image {
        margin-top: 0 !important;
        max-height: 100px !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    .product-details {
        margin-top: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .product-name {
        margin: 0 0 6px 0 !important;
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        overflow: hidden !important;
    }

        .product-name a,
        .product-title-link {
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: normal !important;
            word-break: break-word !important;
            overflow-wrap: break-word !important;
            line-height: 1.25 !important;
            font-size: 12px !important;
            font-weight: 600 !important;
            height: auto !important;
            min-height: 30px !important;
            max-height: calc(1.25em * 2) !important;
            text-align: left !important;
        }

    .product-price {
        margin-top: 4px !important;
        margin-bottom: 0 !important;
    }

        .price-value,
        .new-price,
        .product-price ins {
            font-size: 23px !important;
            line-height: 1.2 !important;
            margin-top: 0 !important;
        }

    .product-wrap.card-style .btn-cart,
    .btn-cart {
        width: 100% !important;
        max-width: none !important;
        margin: 8px 0 0 0 !important;
        display: block !important;
        position: static !important;
        font-size: 12px !important;
        padding: 7px 10px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .product-action-vertical {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        z-index: 30 !important;
        margin: 0 !important;
    }

        .product-action-vertical .btn-wishlist,
        .home-favorite-btn .btn-wishlist {
            width: 32px !important;
            height: 32px !important;
            min-width: 32px !important;
            min-height: 32px !important;
            margin: 0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

    .product-badge {
        top: 78px !important;
        left: 0 !important;
        font-size: 10px !important;
        padding: 3px 7px !important;
    }

    .related-swiper .swiper-slide {
        width: auto !important;
    }

    .thumbs-slider {
        width: 100% !important;
        overflow: hidden !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }

        .thumbs-slider .swiper-slide {
            flex-shrink: 0 !important;
        }

        .thumbs-slider .product-thumb,
        .thumbs-slider img {
            width: 64px !important;
            height: 64px !important;
            object-fit: contain !important;
        }

    .vendor-product-section .related-swiper .product-wrap.card-style a.btn-product-icon.btn-cart.w-icon-cart {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        display: flex !important;
    }

    .product-single .product-form {
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }

        .product-single .product-form .product-qty-form,
        .product-single .product-form .product-qty-form .input-group {
            width: 145px !important;
            height: 50px !important;
            min-height: 50px !important;
        }

        .product-single .product-form .quantity {
            height: 50px !important;
            line-height: 50px !important;
        }

        .product-single .product-form #addToCartButton {
            width: 220px !important;
            height: 50px !important;
            min-height: 50px !important;
            max-height: 50px !important;
            font-size: 18px !important;
        }

    .product-widget {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .product-widget .product-media {
            flex: 0 0 90px;
            max-width: 90px;
        }

            .product-widget .product-media img {
                width: 90px !important;
                height: 90px !important;
                object-fit: contain;
            }

        .product-widget .product-details {
            flex: 1;
        }
}

.widget-products .widget-col {
    display: block;
}
