/**
 * CUSTOM PRODUCT SLIDER CSS
 * Plik: assets/css/custom-slider.css
 */
/* Główny kontener */
.custom-product-slider {
    width: 100%;
    max-width: 500px;
}
/* GŁÓWNE ZDJĘCIE - 500x500px */
.slider-main-image {
    position: relative;
    margin-bottom: 15px;
}
.main-image-container {
    width: 500px;
    height: 500px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px dashed #E5E5E5;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    cursor: zoom-in;
}
.main-image-container:hover {
    border-color: #FDA635;
    transform: scale(1.01);
}
/* SALE Badge */
.sale-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #E63946;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 25px;
    z-index: 10;
    text-transform: uppercase;
}
/* Zoom Icon */
.zoom-trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}
.zoom-trigger:hover {
    background: #FDA635;
    color: #fff;
    transform: scale(1.1);
}
/* MINIATURY */
.thumbnail-item {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.thumbnail-item:hover {
    border-color: #FDA635;
    transform: translateY(-2px);
}
.thumbnail-item.active {
    border-color: #FDA635;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}
/* LIGHTBOX */
.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}
/* RESPONSIVE */
@media (max-width: 1024px) {
    .main-image-container {
        width: 450px;
        height: 450px;
    }
    
    .thumbnail-item {
        width: 105px;
        height: 105px;
    }
}
@media (max-width: 767px) {
    .custom-product-slider {
        max-width: 100%;
    }
    
    .main-image-container {
        width: 100%;
        max-width: 400px;
        height: 400px;
        margin: 0 auto;
    }
    
    .thumbnail-item {
        width: 105px;
        height: 105px;
    }
}
@media (max-width: 480px) {
    .main-image-container {
        height: 350px;
    }
    
    .thumbnail-item {
        width: 105px;
        height: 105px;
    }
}
/* ==========================================
   ZOOM FUNCTIONALITY
   ========================================== */
.main-image-wrapper {
    position: relative;
    display: flex;
    gap: 15px;
}
.main-image-container {
    overflow: hidden;
    cursor: crosshair;
}
.zoom-lens {
    position: absolute;
    border: 3px solid #FDA635;
    width: 150px;
    height: 150px;
    pointer-events: none;
    background: rgba(253, 166, 53, 0.15);
    z-index: 5;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.3);
}
.zoom-result {
    position: absolute;
    right: -330px;
    top: 0;
    width: 320px;
    height: 500px;
    border: 2px solid #FDA635;
    border-radius: 12px;
    background-repeat: no-repeat;
    background-size: 1600px 1600px;
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
}
/* Ukryj zoom result na mobile */
@media (max-width: 1024px) {
    .zoom-result {
        display: none !important;
    }
}
/* ==========================================
   STRZAŁKI SLIDERA
   ========================================== */
.product-thumbnails-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}
.product-slider-arrow {
    width: 42px;
    height: 42px;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 5;
}
.product-slider-arrow:hover:not(:disabled) {
    background: #FDA635;
    border-color: #FDA635;
    transform: scale(1.1);
}
.product-slider-arrow:hover:not(:disabled) svg {
    stroke: #FFFFFF;
}
.product-slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #F5F5F5;
}
.product-slider-arrow svg {
    width: 8px;
    height: 14px;
    stroke: #333333;
    transition: stroke 0.3s ease;
}
.product-thumbnails-container {
    flex: 0 0 440px;
    max-width: 440px;
    overflow: hidden;
    position: relative;
}
.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow: visible;
    transition: transform 0.3s ease;
}
.product-thumbnails::-webkit-scrollbar {
    display: none;
}