/* Sihirbaz Overlay */
.wizard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

/* Modal */
.wizard-modal {
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header */
.wizard-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wizard-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.close-wizard {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.close-wizard:hover {
    color: #333;
}

/* Content */
.wizard-content {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Progress Bar */
.progress-bar {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    width: 0;
    transition: width 0.3s ease;
}

/* Steps */
.wizard-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wizard-step h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #333;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Option Cards */
.option-card {
    position: relative;
    cursor: pointer;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-content {
    display: block;
    padding: 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    text-align: center;
}

.option-card:hover .option-content {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.option-card input:checked + .option-content {
    border-color: #6366f1;
    background: #eef2ff;
}

.option-text {
    display: block;
    font-size: 16px;
    color: #333;
}

/* Renk Swatch */
.color-swatch {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

/* Resim Seçenekleri */
.option-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.option-card input:checked + .option-content .option-image {
    border-color: #6366f1;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-name {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #6366f1;
    margin-bottom: 15px;
}

.add-to-cart {
    display: inline-block;
    padding: 10px 20px;
    background: #6366f1;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.add-to-cart:hover {
    background: #4f46e5;
}

/* Footer */
.wizard-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* Buttons */
.wizard-footer button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.prev-step {
    background: #f1f5f9;
    color: #64748b;
}

.prev-step:hover {
    background: #e2e8f0;
}

.next-step,
.show-results {
    background: #6366f1;
    color: #fff;
}

.next-step:hover,
.show-results:hover {
    background: #4f46e5;
}

/* Trigger Button */
.wizard-trigger {
    padding: 12px 24px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.wizard-trigger:hover {
    background: #4f46e5;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-modal {
        width: 95%;
        max-height: 95vh;
    }

    .wizard-content {
        padding: 20px;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }
}