/*
 Theme Name:   Hello Elementor Child
 Theme URI:    http://example.com/hello-elementor-child
 Description:  Hello Elementor Child Theme
 Author:       Your Name
 Author URI:   http://example.com
 Template:     hello-elementor
 Version:      1.0.0
*/

/* Import parent theme styles */
@import url("../hello-elementor/style.css");

/* Your custom CSS goes below */


.elementor-accordion .elementor-accordion-item:nth-child(1) {
    display: none;
}

.elementor-accordion .elementor-accordion-item:nth-child(2) {
    border-top: 1px solid #D4DFF2C7 !important;
}

.elementor-widget-n-tabs .e-n-tabs-heading {
    border: 1px solid #ffd700 !important;
    Padding: 20px !important;
    background-color: #012f2f !important;
}

.contact-form-wrapper input:not([type="checkbox"]):not(.wpcf7-submit),
.contact-form-wrapper textarea {
    width: 100%;
    border: 2px solid #f1f8f8;
    background: #f6fcfc;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
}

input#privacy-consent {
    margin-top: 14px;
}

.contact-form-wrapper .wpcf7-submit {
    background: #ffd700;
    border: 5px solid #153d2d;
    padding: 14px 40px;
    font-size: 32px;
    font-weight: 500;
    border-radius: 0px !important;
    cursor: pointer;
    color: black;
}

[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
    background-color: #ffeb66 !important;
    color: black !important;
    text-decoration: none;
}

.contact-form-wrapper .wpcf7-submit:hover {
    opacity: 0.9;
}

.privacy-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-check input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    margin-left: -10px !important
}

.privacy-check label {
    font-size: 14px;
}





/**
 * ========================================
 * CSS CODE - Add to WordPress
 * ========================================
 * Add this to: Elementor > Custom CSS
 * Or Appearance > Customize > Additional CSS
 */

/* ==========================================
   1. DESKTOP STYLES (1025px+)
   ========================================== */

@media (min-width: 1025px) {

    /* Vertical "MEHR" button on desktop */
    #mehr-button .elementor-button-text {
        writing-mode: vertical-rl;
        text-orientation: upright;
        letter-spacing: 5px;
        font-weight: 600;
    }

    /* Tab heading container */
    .e-n-tabs-heading {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }

    /* Show 6 tabs in a row */
    .e-n-tab-title {
        flex: 0 0 calc(16.666% - 10px);
        max-width: calc(16.666% - 10px);
    }
    .ti-widget.ti-goog .ti-widget-container, .ti-widget.ti-goog .ti-widget-container * {
    font-size: 10px !important;
}
}

/* ==========================================
   2. TABLET STYLES (768px - 1024px)
   ========================================== */

@media (min-width: 768px) and (max-width: 1024px) {

    /* Vertical button on tablet too */
    #mehr-button .elementor-button-text {
        writing-mode: vertical-rl;
        text-orientation: upright;
        letter-spacing: 4px;
        font-weight: 600;
    }

    /* Tab heading container */
    .e-n-tabs-heading {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }
.ti-widget.ti-goog .ti-widget-container, .ti-widget.ti-goog .ti-widget-container * {
    font-size: 10px !important;
}
    /* Show 4 tabs in a row */
    .e-n-tab-title {
        flex: 0 0 calc(25% - 10px);
        max-width: calc(25% - 10px);
    }

    /* Adjust content padding */
    .e-n-tabs-content {
        padding: 1.5rem;
    }
}

/* ==========================================
   3. MOBILE STYLES (<768px)
   ========================================== */

@media (max-width: 767px) {

    /* HORIZONTAL button on mobile */
    #mehr-button .elementor-button-text {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        letter-spacing: 2px !important;
        font-weight: 600;
    }

    /* Position button at bottom */
    #mehr-button {
        width: 100%;
        margin-top: 20px;
    }
.ti-widget.ti-goog .ti-widget-container, .ti-widget.ti-goog .ti-widget-container * {
    font-size: 10px !important;
}
    #mehr-button .elementor-button {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    /* Tab heading - single tab full width */
    .e-n-tabs-heading {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* Show 1 tab full width */
    .e-n-tab-title {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 12px;
    }

    /* Adjust content for mobile */
    .e-n-tabs-content {
        padding: 1rem;
    }

    /* Stack image and text on mobile */
    /* .e-con-full.e-flex.e-con.e-child {
        flex-direction: column;
    } */
}


/* ==========================================
   4. COMMON BUTTON STYLES
   ========================================== */

#mehr-button {
    position: relative;
    z-index: 999;
    cursor: pointer;
    pointer-events: auto !important;
}


/* ==========================================
   11. RESPONSIVE FONT SIZES
   ========================================== */

@media (max-width: 767px) {
    .e-n-tab-title-text {
        font-size: 14px;
    }

    .elementor-icon-box-title {
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .e-n-tab-title-text {
        font-size: 13px;
    }
}

@media (min-width: 1025px) {
    .e-n-tab-title-text {
        font-size: 14px;
    }
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    font-size: 14px;
}

.cookie-table td {
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: top;
}

.cookie-table td:first-child {
    width: 22%;
    font-weight: bold;
    background: #f7f7f7;
}

.cookie-table .divider {
    height: 8px;
    background: #f0f0f0;
    border-bottom: 2px solid #ccc;
}

/* =============== */
/* Testimonial  */
/* ============== */

.page-id-586 .ti-date {
    display: none;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1.ti-no-logo .ti-review-header .ti-profile-details:after {
    background-image: url(https://cdn.trustindex.io/assets/platform/Google/icon.svg) !important;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-review-header .ti-profile-details:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 0px;
    background-repeat: no-repeat;
    background-position: center center;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-next,
.ti-widget.ti-wp-testimonial-1 .ti-controls .ti-prev {
    top: -175px;
    width: 45px !important;
    height: 40px !important;
    display: block !important;
    background-color: #fcda54;
    border-radius: 50% !important;
    padding: 0 !important
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-prev {
    right: 250px !important;
    left: auto !important;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-prev:before {
    top: 22px !important;
    left: 12px !important;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-prev:after {
    top: 12px !important;
    left: 12px !important;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-next:before,
.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-prev:before,
.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-next:after,
.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-prev:after {
    background: #000000 !important;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-next:before {
    top: 13px !important;
    right: 12px !important;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-next:after {
    top: 24px !important;
    right: 12px !important;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-controls .ti-next {
    right: 190px !important;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-col-3 .ti-review-item {
    flex: 0 0 450px !important;
    max-width: 450px !important;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-reviews-container-wrapper {
    margin: 0 !important;
    padding-top: 40px !important;
}

/* Style for active button/card */
#showLumenhaus.active,
#showEcoflow.active,
#showModular.active {
    background-color: white;
    /* Blue background */
    color: black;
    border: 1px solid #012f2f;
}

#showLumenhaus.active .elementor-image-box-description,
#showEcoflow.active .elementor-image-box-description,
#showModular.active .elementor-image-box-description {
    color: black;
}

#showLumenhaus.active .elementor-image-box-title,
#showEcoflow.active .elementor-image-box-title,
#showModular.active .elementor-image-box-title {
    color: #012f2f !important;
}

/* Wrap the entire badge */
.custom-google-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.10);
    padding: 8px 14px;
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin-bottom: 12px;
}

/* Top row: Google icon + text */
.custom-google-badge .top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.custom-google-badge img.google-logo {
    width: 20px;
    height: auto;
}

/* Bottom row: star + number */
.custom-google-badge .rating {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.custom-google-badge .star {
    font-size: 16px;
}

.name-badge-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.name-badge-wrap .custom-google-badge {
    margin: 0;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.12);
}

.page-id-586 .ti-widget.ti-wp-testimonial-1.ti-no-logo .ti-review-header .ti-profile-details:after {
    display: none;
}

.ti-review-text-container.ti-review-content {
    margin-top: 20px;
}

.page-id-586 .ti-widget.ti-wp-testimonial-1 .ti-col-3 .ti-review-item {
    flex: 0 0 500px !important;
    max-width: 500px !important;
}

/* FAQ tab styles */

.faq-tabs details.e-n-accordion-item[open] {
    background: linear-gradient(to right, #120A44, #441390, #9A3EAA, #E7AE69);
    border-radius: 20px;
    color: #ffffff;
}

.faq-tabs details.e-n-accordion-item[open]>.e-n-accordion-item-title {
    border: none !important;
}

.faq-tabs details.e-n-accordion-item[open]>.e-child {
    border: none !important;
}

/* Google reviews */

.page-id-586 .ti-widget.ti-goog .ti-review-item>.ti-inner,
.page-id-586 .ti-widget.ti-goog .ti-load-more-reviews-container .ti-load-more-reviews-button {
    background-color: #332652 !important;
}

.ti-widget.ti-goog .ti-platform-icon {
    display: none !important;
}

.ti-widget.ti-goog .ti-review-content,
.ti-widget.ti-goog .ti-read-more span,
.ti-widget.ti-goog .ti-widget-container .ti-name {
    color: white !important;
}

.ti-widget.ti-goog .ti-widget-container .ti-name {
    overflow: visible !important;
}

.ti-widget.ti-goog .ti-review-header {
    align-items: center;
}

.ti-widget.ti-goog .ti-col-3 .ti-review-item {
    max-width: 100% !important;
}

.ti-widget.ti-goog .ti-controls .ti-next,
.ti-widget.ti-goog .ti-controls .ti-prev {
    top: -175px;
    width: 45px !important;
    height: 40px !important;
    display: block !important;
    background-color: #fcda54;
    border-radius: 50% !important;
    padding: 0 !important
}

.page-id-586 .ti-widget.ti-goog .ti-controls .ti-prev {
    right: 70px !important;
    left: unset !important;
}

.page-id-586 .ti-widget.ti-goog .ti-controls .ti-next,
.page-id-586 .ti-widget.ti-goog .ti-controls .ti-prev {
    display: block !important;
    background-color: #fcda54;
    outline-style: none !important;

}


/* ===== MODULE SYSTEM WITH TOGGLE ===== */

/* Module sections */
.module-section {
    animation: fadeInUp 0.5s ease;
    margin-top: 40px;
    padding: 60px 40px 40px;
    /* Extra top padding for close button */
    background: #f8f9fa;
    border-radius: 15px;
    position: relative;
    display: none;
    /* Hidden by default */
}

.module-section.active {
    display: block;
}

/* Close button */
.module-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.3s ease;
    z-index: 100;
}

.module-close-btn:hover {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    transform: rotate(90deg);
}

/* FIXED: Modern X icon */
.module-close-btn .close-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.module-close-btn .close-icon:before,
.module-close-btn .close-icon:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 20px;
    background: currentColor;
    transform-origin: center;
}

.module-close-btn .close-icon:before {
    transform: translateY(-50%) rotate(45deg);
}

.module-close-btn .close-icon:after {
    transform: translateY(-50%) rotate(-45deg);
}

/* Alternative: Simple X using unicode */
.module-close-btn.simple::after {
    content: '×';
    font-size: 28px;
    line-height: 1;
}

/* Active product card indicator */
.product-card.active {
    background: rgba(0, 115, 170, 0.05);
    border: 2px solid #0073aa;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 115, 170, 0.2);
}

.product-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover:not(.active) {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Ultra-specific override */
.elementor-widget-shortcode .elementor-widget-container .elementor-shortcode .ti-widget.ti-goog .ti-reviews-container-wrapper {
     margin: 0 0px !important;
}
/* Page ID 1261 – link color */
.page-id-1261 a {
    color: #333333;
    font-weight: 700;
}

/* Page ID 1261 – link hover color */
.page-id-1261 a:hover {
    color: #FFE01B;
    font-weight: 700;
}
/* Page ID 1261 – link color */
.page-id-1256 a {
    color: #333333;
    font-weight: 700;
}

/* Page ID 1261 – link hover color */
.page-id-1256 a:hover {
    color: #FFE01B;
    font-weight: 700;
}
/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .module-section {
        padding: 60px 20px 20px;
        /* Keep top padding for button */
        margin-top: 20px;
    }

    .module-close-btn {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .module-close-btn .close-icon {
        width: 18px;
        height: 18px;
    }

    /* Ensure button is visible on mobile */
    .module-close-btn {
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border: 2px solid #0073aa;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .module-close-btn {
        top: 10px;
        right: 10px;
        /* width: 35px; */
        height: 35px;
    }

    .module-close-btn .close-icon {
        width: 16px;
        height: 16px;
    }

    .module-close-btn.simple::after {
        font-size: 24px;
    }
}


/* Quiz Button */

#solar-quiz {
    display: none;
}
