/* Core structural styles for TechCare Elementor Widgets */

.techcare-header {
    /* Base styles ensured, mostly handled by Tailwind classes in the PHP render */
}

/* Fix WP Nav Menu layout */
.techcare-desktop-menu ul {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.techcare-mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ensure modales are above everything */
#techcare-search-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: none !important; 
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 6rem !important; 
    z-index: 99999 !important;
}
#techcare-search-overlay.active-flex {
    display: flex !important;
}

#techcare-side-cart,
#techcare-mobile-menu {
    z-index: 99999 !important;
}

/* Force Search Input to behave correctly in WP themes */
#techcare-search-input {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 10px 0 !important;
    font-size: 1.125rem !important;
    color: inherit !important;
    margin: 0 !important;
}

#techcare-search-input:focus {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

#techcare-search-modal-content {
    display: flex !important;
    flex-direction: column !important;
}

/* Search Close Button override */
#techcare-close-search-btn {
    background: transparent !important;
    border: none !important;
    padding: 0.5rem !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

#techcare-close-search-btn:hover {
    background: rgba(0,0,0,0.05) !important;
}

/* Material icons setup for the widgets if not loaded by theme */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
