
/*
 * Placement fix for Astra/WooCommerce layouts:
 * Force this section to clear the product image and summary columns.
 */
.single-product div.product .xseo-explore-section{
    clear:both !important;
    float:none !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    position:relative !important;
    left:auto !important;
    right:auto !important;
}

.single-product div.product::after{
    content:"";
    display:table;
    clear:both;
}


/* X Solar Explore More Options - lightweight standalone styling */

.xseo-explore-section{
    box-sizing:border-box;
    width:100%;
    margin:34px 0 38px;
    padding:25px 18px 18px;
    border:2px solid #9ed9ee;
    border-radius:18px;
    background:#f8fcff;
    box-shadow:0 8px 24px rgba(31,47,70,.08);
}

.xseo-section-heading{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin:0 0 5px;
}

.xseo-section-heading h2{
    margin:0;
    color:#1f2f46;
    font-size:32px;
    line-height:1.2;
    font-weight:700;
    text-align:center;
}

.xseo-line{
    height:1px;
    width:min(13%,95px);
    background:#6fa8c8;
    display:block;
}

.xseo-subheading{
    margin:0 0 20px;
    color:#52657a;
    font-size:16px;
    line-height:1.5;
    text-align:center;
}

.xseo-card-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.xseo-option-card{
    position:relative;
    min-width:0;
    min-height:245px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:14px 12px 54px;
    border:1px solid #cfdbe5;
    border-radius:13px;
    background:#fff;
    color:#1f2f46;
    text-decoration:none!important;
    box-shadow:0 5px 14px rgba(31,47,70,.07);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

a.xseo-option-card:hover,
a.xseo-option-card:focus{
    color:#1f2f46;
    border-color:#2a72c7;
    box-shadow:0 9px 24px rgba(42,114,199,.16);
    transform:translateY(-2px);
}

.xseo-card-image{
    width:100%;
    height:100px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:9px;
}

.xseo-card-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}

.xseo-card-content h3{
    margin:0 0 6px;
    color:#1f2f46;
    font-size:18px;
    line-height:1.25;
    font-weight:700;
}

.xseo-card-content p{
    margin:0;
    color:#52657a;
    font-size:14px;
    line-height:1.4;
}

.xseo-arrow{
    position:absolute;
    bottom:14px;
    left:50%;
    transform:translateX(-50%);
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#246dc4;
    color:#fff;
    font-size:32px;
    line-height:1;
    font-family:Arial,sans-serif;
}

/* Keep exactly 3 compact cards per row on mobile, as requested */
@media(max-width:767px){
    .xseo-explore-section{
        margin:24px 0 28px;
        padding:18px 8px 10px;
        border-radius:14px;
    }

    .xseo-section-heading{
        gap:8px;
    }

    .xseo-section-heading h2{
        font-size:22px;
    }

    .xseo-line{
        width:10%;
    }

    .xseo-subheading{
        padding:0 8px;
        margin-bottom:13px;
        font-size:12px;
    }

    .xseo-card-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:7px;
    }

    .xseo-option-card{
        min-height:205px;
        padding:8px 5px 44px;
        border-radius:10px;
    }

    .xseo-card-image{
        height:72px;
        margin-bottom:7px;
    }

    .xseo-card-content h3{
        margin-bottom:5px;
        font-size:13px;
        line-height:1.2;
        overflow-wrap:anywhere;
    }

    .xseo-card-content p{
        font-size:10px;
        line-height:1.3;
        overflow-wrap:anywhere;
    }

    .xseo-arrow{
        width:30px;
        height:30px;
        bottom:9px;
        font-size:25px;
    }
}

@media(max-width:360px){
    .xseo-section-heading h2{font-size:19px}
    .xseo-option-card{min-height:190px}
    .xseo-card-content h3{font-size:11px}
    .xseo-card-content p{font-size:9px}
}
