/* Product Toggle Style for Contact Form - Exact Match with Pricing Section */

.checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 0 auto;
    max-width: fit-content;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    border-radius: 30px;
}

.checkbox-item {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hide the actual checkbox input */
.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Style for the label */
.checkbox-item label {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    user-select: none;
}

/* Style for checked state - same as active state in product toggle */
.checkbox-item.checked,
.checkbox-item:has(input[type="checkbox"]:checked) {
    background-color: #F4D09E;
    color: var(--primary-color);
    border-color: #F4D09E;
    font-weight: 500;
}

.checkbox-item.checked label,
.checkbox-item:has(input[type="checkbox"]:checked) label {
    color: var(--primary-color);
    font-weight: 500;
}

/* Custom styling for the products heading */
#products-heading {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-size: 1rem;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

/* Ensure no line animation appears below the products heading */
#products-heading::after,
.products-group:hover #products-heading::after {
    content: none !important;
    display: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
}

.products-group::before,
.products-group::after {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}

/* Media queries to match pricing toggle responsiveness */
@media (max-width: 992px) {
    .checkbox-container {
        max-width: fit-content;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .checkbox-container {
        max-width: fit-content;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .checkbox-item {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        min-width: unset;
    }
}
