﻿.product-form-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    color: #333;
}

.image-upload-zone {
    border: 3px dashed #ccc;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s;
    cursor: pointer;
}

    .image-upload-zone:hover {
        border-color: #667eea;
        background: #e8eaf6;
    }

    .image-upload-zone.drag-over {
        border-color: #667eea;
        background: #e8eaf6;
        transform: scale(1.02);
    }

.images-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-preview-item {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: move;
    transition: transform 0.2s;
    background: white;
}

    .image-preview-item:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .image-preview-item.sortable-chosen {
        opacity: 0.5;
    }

    .image-preview-item img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

.image-preview-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #667eea;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.image-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

    .image-remove-btn:hover {
        transform: scale(1.1);
        background: #c82333;
    }

.variation-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.variation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.option-tag {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    margin: 3px;
    font-size: 13px;
}

    .option-tag .remove-option {
        margin-left: 8px;
        cursor: pointer;
        font-weight: bold;
    }

.add-option-input {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
