/* rozhati-product-slider.css */
.rozhati-advanced-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    height: 100%;
    position: relative;
    backface-visibility: hidden;
}

.slider-item {
    flex: 0 0 auto;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.slider-item.clone {
    pointer-events: auto;
}

.rozhati-product-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rozhati-product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.rozhati-product-card:hover .product-image img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e30b5d;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1;
}

.product-info {
    margin-top: 15px;
}

.product-title {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price del {
    color: #999;
    font-size: 14px;
}

.product-price ins {
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.slider-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav-button:hover {
    background: #f8f8f8;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.prev-button {
    right: 10px;
}

.next-button {
    left: 10px;
}

.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: #e30b5d;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (min-width: 1024px) {
    .slider-item {
        width: calc(100% / var(--desktop-items));
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .slider-item {
        width: calc(100% / var(--tablet-items));
    }
}

@media (max-width: 767px) {
    .slider-item {
        width: calc(100% / var(--mobile-items));
    }
}
