/* Product Slider Editor Styles */

.product-slider-editor-preview .slider-title {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 1em;
}

.slider-container-preview {
    position: relative;
}

.slider-wrapper-preview {
    overflow: hidden;
}

.product-card-preview {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.product-image-preview {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    background-color: #f0f0f0;
}

.product-image-preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.product-info-preview {
    padding: 12px;
}

.product-title-preview {
    font-size: 1em;
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price-preview {
    font-size: 0.9em;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}

.slider-nav-preview {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-nav-preview.prev { 
    left: -10px; 
}

.slider-nav-preview.next { 
    right: -10px; 
}

.slider-pagination-preview {
    text-align: center;
    margin-top: 16px;
}

.dot-preview {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 4px;
    border: none;
    padding: 0;
    cursor: pointer;
}

.dot-preview.active { 
    background: #333; 
} 