/* Carousel GPT - Responsive Product Carousel Styles */

.carousel-gpt-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-gpt-container {
    position: relative;
    width: 100%;
    padding: 0;
}

.carousel-gpt-track {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-gpt-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
}

.carousel-gpt-items {
    display: flex;
    width: 100%;
    gap: 15px;
    padding: 0;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€¦Ã¢â‚¬Å“rÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼n kartlarÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â± iÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â§in genel stil */
.carousel-gpt-items > * {
    flex: 0 0 auto;
    min-width: 0;
}

/* VarsayÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±lan: 4 sÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼tun */
.carousel-gpt-items[data-items-per-view="1"] > * {
    width: 100%;
}

.carousel-gpt-items[data-items-per-view="2"] > * {
    width: calc(50% - 7.5px);
}

.carousel-gpt-items[data-items-per-view="3"] > * {
    width: calc(33.333% - 10px);
}

.carousel-gpt-items[data-items-per-view="4"] > * {
    width: calc(25% - 11.25px);
}

.carousel-gpt-items[data-items-per-view="5"] > * {
    width: calc(20% - 12px);
}

.carousel-gpt-items[data-items-per-view="6"] > * {
    width: calc(16.666% - 12.5px);
}

/* gap 15px → (100% - 15*(n-1)) / n */
.carousel-gpt-items[data-items-per-view="7"] > * {
    width: calc((100% - 90px) / 7);
}

.carousel-gpt-items[data-items-per-view="8"] > * {
    width: calc((100% - 105px) / 8);
}

.carousel-gpt-items[data-items-per-view="9"] > * {
    width: calc((100% - 120px) / 9);
}

.carousel-gpt-items[data-items-per-view="10"] > * {
    width: calc((100% - 135px) / 10);
}

.carousel-gpt-items[data-items-per-view="11"] > * {
    width: calc((100% - 150px) / 11);
}

.carousel-gpt-items[data-items-per-view="12"] > * {
    width: calc((100% - 165px) / 12);
}

/* Navigasyon OklarÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â± */
.carousel-gpt-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--slider-arrow-background-color);
    border: none;
    width: var(--dot-buton-width);
    height: var(--dot-buton-height);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: var(--slider-arrow-text-color);
    font-size: var(--font-size-normal);
    padding: 0;
    margin: 0;
    z-index: 0;
}

.carousel-gpt-nav:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-gpt-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-gpt-nav:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.carousel-gpt-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-gpt-prev {
    left: 10px;
}

.carousel-gpt-next {
    right: 10px;
}

.carousel-gpt-nav i {
    display: block;
    line-height: 1;
}

/* Pagination Dots */
.carousel-gpt-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

/* Dot'lar kapsayÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±cÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±nÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±n dÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€¦Ã‚Â¸ÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±nda */
.carousel-gpt-dots-outside {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 20px;
    padding: 15px;
    display: flex;
}

.carousel-gpt-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--slider-dot-color);
    background: var(--slider-dot-color);
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
}

.carousel-gpt-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.carousel-gpt-dot.is-active {
     border: 2px solid var(--dot-active-color);
    background: var(--dot-active-color);
    width: 32px;
    border-radius: 6px;
}

.carousel-gpt-dot:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Responsive TasarÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±m */
@media (max-width: 1200px) {
    .carousel-gpt-items[data-items-per-view="6"] > * {
        width: calc(25% - 11.25px);
    }
    
    .carousel-gpt-items[data-items-per-view="5"] > * {
        width: calc(25% - 11.25px);
    }
}

@media (max-width: 992px) {
    .carousel-gpt-items[data-items-per-view="6"] > *,
    .carousel-gpt-items[data-items-per-view="5"] > *,
    .carousel-gpt-items[data-items-per-view="4"] > * {
        width: calc(33.333% - 10px);
    }
    
    .carousel-gpt-items[data-items-per-view="3"] > * {
        width: calc(50% - 7.5px);
    }
}

@media (max-width: 768px) {
    .carousel-gpt-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-gpt-prev {
        left: 5px;
    }
    
    .carousel-gpt-next {
        right: 5px;
    }
    
    .carousel-gpt-items {
        gap: 10px;
        padding: 0 5px;
    }
    
    /* Tüm slide'lar tam genişlikte gösterilsin (içinde 2 item yan yana) */
    .carousel-gpt-slide {
        min-width: 100% !important;
        width: 100% !important;
    }
    
    /* Tüm carousel'lerde öğeler 2'şer gösterilsin - GENEL KURAL */
    .carousel-gpt-items > *,
    .carousel-gpt-items[data-items-per-view="1"] > *,
    .carousel-gpt-items[data-items-per-view="2"] > *,
    .carousel-gpt-items[data-items-per-view="3"] > *,
    .carousel-gpt-items[data-items-per-view="4"] > *,
    .carousel-gpt-items[data-items-per-view="5"] > *,
    .carousel-gpt-items[data-items-per-view="6"] > * {
        width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
    }
    
    .carousel-gpt-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .carousel-gpt-dot {
        width: 10px;
        height: 10px;
    }
    
    .carousel-gpt-dot.is-active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .carousel-gpt-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .carousel-gpt-prev {
        left: 3px;
    }
    
    .carousel-gpt-next {
        right: 3px;
    }
    
    .carousel-gpt-items {
        gap: 8px;
        padding: 0 3px;
    }
    
    /* Mobilde tÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼m carousel'ler tek sÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼tun veya 2 sÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼tun */
    .carousel-gpt-items[data-items-per-view="6"] > *,
    .carousel-gpt-items[data-items-per-view="5"] > *,
    .carousel-gpt-items[data-items-per-view="4"] > *,
    .carousel-gpt-items[data-items-per-view="3"] > *,
    .carousel-gpt-items[data-items-per-view="2"] > * {
        width: calc(50% - 4px);
    }
    
    .carousel-gpt-dots {
        bottom: 10px;
        gap: 6px;
    }
    
    .carousel-gpt-dot {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }
    
    .carousel-gpt-dot.is-active {
        width: 20px;
    }
}

/* Touch desteÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€¦Ã‚Â¸i iÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â§in */
.carousel-gpt-wrapper {
    touch-action: pan-y;
}

/* Animasyon performansÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â± */
.carousel-gpt-track,
.carousel-gpt-slide {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€¦Ã¢â‚¬Å“rÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼n kartlarÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â± iÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â§in ek stiller */
.carousel-gpt-items img {
    max-width: 100%;
    height: auto;
    display: block;
}

