/* Override styles to ensure service sections display properly */

/* Force service-details container to be visible */
.service-details {
    display: block !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: 30px !important;
}

/* Individual service sections - hidden by default */
.service-section {
    display: none;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease;
}

/* Show service section when category is selected */
.service-section:target,
.service-section.show,
.service-section[style*="display: block"] {
    display: block !important;
}

/* Ensure smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category card selected state */
.category-card.selected {
    border-color: #d68880 !important;
    background: #fdf5f4 !important;
    box-shadow: 0 5px 20px rgba(214, 136, 128, 0.2) !important;
}

/* Service grid improvements */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Service item improvements */
.service-item {
    background: #fff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    text-align: start;
}

.service-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: #d68880 !important;
}

.service-item.selected {
    border-color: #d68880 !important;
    background: #fdf5f4 !important;
    transform: scale(1.05) !important;
}

/* Service name styling */
.service-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
    display: block !important;
    margin-bottom: 0 !important;
}

/* Next button state based on selection */
.wizard-btn.btn-next:not(:disabled) {
    background: #d68880 !important;
    cursor: pointer !important;
}

.wizard-btn.btn-next:not(:disabled):hover {
    background: #c97972 !important;
    transform: translateY(-2px) !important;
}

/* Debug - ensure visibility */
#services-body-scrub,
#services-gluta,
#services-massage,
#services-facial,
#services-hair,
#services-handandfoot,
#services-packages,
#services-waxing,
#services-eyelash,
#services-slimming,
#services-meso-lipo-rf,
#services-others {
    /* Will be controlled by JavaScript */
}
