/* Products Slider Section */
.products-slider-section {
    padding: 20px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.products-slider-container {
    width: 100%;
    position: relative;
    padding: 0;
}

.section-title {
    text-align: left;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000000;
    margin: 0 0 50px 0;
    padding: 0;
    position: relative;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.products-slider {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
    gap: 20px;
}

.product-item {
    flex: 0 0 340px;
    box-sizing: border-box;
}

.product-card {
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 340px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 340px;
    height: 300px !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.product-info {
    padding: 20px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    min-height: 120px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 8px 0;
    line-height: 1.4;
    min-height: 44px;
    display: flex;
    align-items: flex-start;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 15px 0;
}

.add-to-cart-btn {
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: none;
}

.add-to-cart-btn:hover {
    background-color: black;
    color: white;
    transform: translateY(-2px);
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    top: 0;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-nav {
    background-color: #ffffff;
    max-width: 45px;
    max-height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    outline: none;
}

.slider-nav:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--primary-shadow-light);
}

.slider-nav:focus {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-shadow-light);
    outline: none;
}

.slider-nav:active {
    background-color: var(--primary-dark);
    transform: scale(0.98);
}

.slider-nav.prev::before {
    content: '←';
}

.slider-nav.next::before {
    content: '→';
}

/* Responzivnost - slider je uvijek full width */

@media (max-width: 768px) {
    /* 1 slika na mobile */
    .section-title {
        font-size: 26px;
        margin: 0 0 40px 0;
        text-align: center;
    }
    
    .slider-navigation {
        position: static;
        justify-content: center;
        margin-top: 10px;
    }
    
    .product-info {
        padding: 15px 0;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 18px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 50%;
        outline: none;
    }
}

@media (max-width: 480px) {
    .products-slider-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 22px;
        margin: 0 0 30px 0;
        padding: 0 15px;
    }
    
    .product-info {
        padding: 12px 0;
    }
    
    .product-name {
        font-size: 13px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .add-to-cart-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
        border-radius: 50%;
        outline: none;
    }
} 