

.wizard {
    background: white;
}

.step {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #CE181E 0%, #cf9191 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.step-header h2 {
    font-size: 1.8em;
    color: #333;
}

.step-content {
    padding-left: 65px;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.option-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.option-btn:hover::before {
    left: 100%;
}

.option-btn:hover {
    border-color: #CE181E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.option-btn.selected {
    background: linear-gradient(135deg, #CE181E 0%, #764ba2 100%);
    color: white;
    border-color: #CE181E;
    font-weight: bold;
}

.selected-option {
    padding-left: 65px;
    margin-top: 15px;
    min-height: 30px;
}

.selected-badge {
    display: inline-flex;
    align-items: center;
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #555;
}

.selected-badge .remove-btn {
    margin-left: 10px;
    background: #ff4757;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8em;
    line-height: 1;
    transition: all 0.3s ease;
}

.selected-badge .remove-btn:hover {
    background: #ff3838;
    transform: scale(1.1);
}

.products-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.products-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border-color: #CE181E;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9em;
    border-bottom: 2px solid #e0e0e0;
}

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

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name:hover {
    color: #CE181E;
}

.product-description {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-link {
    display: inline-block;
    background: linear-gradient(135deg, #CE181E 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.product-link:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsywność */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    .wizard {
        padding: 20px;
    }

    .step-content {
        padding-left: 0;
    }

    .selected-option {
        padding-left: 0;
    }

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

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

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    header {
        padding: 20px 10px;
        margin-bottom: 20px;
    }

    header h1 {
        font-size: 1.5em;
    }

    .step-header h2 {
        font-size: 1.3em;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

/* Animacje */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step {
    animation: fadeIn 0.5s ease;
}

.product-card {
    animation: fadeIn 0.5s ease;
}
