
/*
Theme Name: Hara Child
Theme URI: https://hara.thembaydev.com/
Author: Thembay / SUGANDHRA™
Description: Hara child theme with SUGANDHRA™ verification portal home design.
Version: 1.26
Template: hara
Text Domain: hara-child
*/

/* SUGANDHRA™ Verification Home */
.sugandhra-home-portal{
    background:linear-gradient(180deg,#fff 0%,#f8faf6 48%,#fff 100%);
    color:#172019;
    font-family:inherit;
    padding:18px 20px 0;
    border-top:0;
}
.sugandhra-home-shell{
    max-width:1180px;
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
    gap:44px;
    align-items:center;
}
.sugandhra-home-brand{padding:18px 0 28px;}
.sugandhra-home-badge,
.sugandhra-how-heading>span,
.sugandhra-home-search>div>span{
    display:inline-block;
    font-size:12px;
    font-weight:700;
    letter-spacing:1.6px;
    color:#5d8f24;
    margin-bottom:14px;
}
.sugandhra-home-brand h1{
    margin:0 0 18px;
    font-size:clamp(36px,4vw,52px);
    line-height:1.1;
    font-weight:600;
    color:#111;
}
.sugandhra-home-brand h1 span{font-weight:800;}
.sugandhra-home-lead{
    max-width:720px;
    margin:0 0 25px;
    font-size:16px;
    line-height:1.7;
    color:#606761;
}
.sugandhra-home-actions{display:flex;flex-wrap:wrap;gap:12px;}
.sugandhra-btn{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:0 25px;
    border-radius:3px;
    text-decoration:none!important;
    font-size:13px;
    font-weight:700;
    letter-spacing:.5px;
    transition:all .2s ease;
}
.sugandhra-btn-primary{
    background:#5f9225;
    color:#fff!important;
    box-shadow:0 7px 20px rgba(75,112,30,.16);
}
.sugandhra-btn-primary:hover{background:#4e7b1d;color:#fff!important;transform:translateY(-1px);}
.sugandhra-btn-secondary{
    background:#fff;
    color:#20251f!important;
    border:1px solid #d8ded5;
}
.sugandhra-btn-secondary:hover{border-color:#5f9225;color:#4f7e1e!important;}
.sugandhra-home-trust{
    margin:17px 0 0;
    font-size:12px;
    color:#7a817b;
}
.sugandhra-home-verify-card{
    background:#fff;
    border:1px solid #e2e7df;
    border-radius:14px;
    padding:34px;
    box-shadow:0 18px 50px rgba(30,48,26,.08);
}
.sugandhra-verify-icon{
    width:54px;height:54px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:#eef6e7;color:#5f9225;font-size:28px;font-weight:800;
    margin-bottom:18px;
}
.sugandhra-home-verify-card h2{margin:0 0 10px;font-size:26px;color:#171b17;}
.sugandhra-home-verify-card>p{margin:0 0 22px;line-height:1.7;color:#687069;}
.sugandhra-mini-points{border-top:1px solid #edf0eb;margin-top:5px;padding-top:8px;}
.sugandhra-mini-points>div{
    display:flex;gap:14px;align-items:center;
    padding:12px 0;border-bottom:1px solid #f0f2ef;
}
.sugandhra-mini-points strong{font-size:12px;color:#5f9225;min-width:24px;}
.sugandhra-mini-points span{font-size:14px;color:#454c46;}
.sugandhra-card-link{display:inline-block;margin-top:18px;color:#4f7e1e!important;font-weight:700;text-decoration:none!important;}
.sugandhra-home-features{
    max-width:1180px;margin:46px auto 0;
    display:grid;grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.sugandhra-feature{
    background:#fff;border:1px solid #e7ebe5;border-radius:10px;
    padding:27px 25px;min-height:165px;
}
.sugandhra-feature-icon{font-size:24px;display:block;margin-bottom:12px;}
.sugandhra-feature h3{margin:0 0 7px;font-size:19px;color:#20251f;}
.sugandhra-feature p{margin:0;color:#707771;line-height:1.65;font-size:14px;}
.sugandhra-home-how{max-width:1180px;margin:72px auto 0;text-align:center;}
.sugandhra-how-heading h2{margin:0 0 10px;font-size:34px;color:#161a16;}
.sugandhra-how-heading p{margin:0 auto;max-width:650px;color:#707771;line-height:1.7;}
.sugandhra-steps{
    margin-top:34px;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;
}
.sugandhra-step{padding:25px 22px;}
.sugandhra-step b{
    display:inline-flex;width:44px;height:44px;border-radius:50%;
    align-items:center;justify-content:center;
    background:#edf5e7;color:#5f9225;font-size:13px;
}
.sugandhra-step h3{margin:15px 0 7px;font-size:19px;}
.sugandhra-step p{margin:0;color:#707771;line-height:1.65;font-size:14px;}
.sugandhra-home-search{
    max-width:1180px;margin:50px auto 0;
    background:#f0f6eb;border:1px solid #e1eadb;border-radius:12px;
    padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:25px;
}
.sugandhra-home-search h2{margin:0 0 5px;font-size:28px;}
.sugandhra-home-search p{margin:0;color:#6c746d;}
.sugandhra-home-final{
    margin:64px -20px 0;padding:60px 20px;text-align:center;
    background:#1e251e;color:#fff;
}
.sugandhra-home-final h2{margin:0 0 8px;font-size:34px;color:#fff;}
.sugandhra-home-final p{margin:0 0 22px;color:#d7ddd5;}
.sugandhra-btn-light{background:#fff;color:#20251f!important;}
.sugandhra-btn-light:hover{background:#eef5e9;color:#4f7e1e!important;}

@media (max-width: 900px){
    .sugandhra-home-shell{grid-template-columns:1fr;gap:18px;}
    .sugandhra-home-brand{text-align:center;}
    .sugandhra-home-lead{margin-left:auto;margin-right:auto;}
    .sugandhra-home-actions{justify-content:center;}
    .sugandhra-home-trust{text-align:center;}
}
@media (max-width: 700px){
    .sugandhra-home-portal{padding-top:30px;}
    .sugandhra-home-features,.sugandhra-steps{grid-template-columns:1fr;}
    .sugandhra-home-search{display:block;text-align:center;}
    .sugandhra-home-search .sugandhra-btn{margin-top:20px;}
    .sugandhra-home-brand h1{font-size:36px;}
    .sugandhra-home-lead{font-size:15px;}
    .sugandhra-home-final h2{font-size:28px;}
}


/* SUGANDHRA™ verify portal: keep Hara header/footer appearance intact.
   The header search is intentionally styled by the active Hara/Elementor header,
   while its submit action is routed to the SUGANDHRA™ SKU/EAN search. */
body.home .sugandhra-home-portal { margin-top: 0; }
body.home #main-container { margin-bottom: 0; }

/* Full-width separator between Hara header and SUGANDHRA™ portal */
body.home .sugandhra-home-portal{
    border-top:0;
    position:relative;
}
body.home .sugandhra-home-portal:before{
    content:"";
    position:absolute;
    top:-18px;
    left:50%;
    width:100vw;
    height:1px;
    background:#dedede;
    transform:translateX(-50%);
}


/* SUGANDHRA™ global visual theme: soft premium green tint across site pages. */
:root{
    --sugandhra-green-soft:#fbfdf9;
    --sugandhra-green-soft-2:#f7faf4;
    --sugandhra-green:#5f9225;
}
html body{
    background-color:#fdfefc;
}
body #page,
body .site,
body .site-content,
body #main-container,
body #tbay-main-content{
    background-color:transparent;
}
body .site-main,
body .content-area{
    background-color:transparent;
}
body .sugandhra-home-portal{
    background:linear-gradient(180deg,#fbfdf9 0%,#fdfefc 55%,#ffffff 100%);
}
body .sugandhra-home-features .sugandhra-feature,
body .sugandhra-home-verify-card{
    background:#ffffff;
}

/* v1.7: very subtle SUGANDHRA™ tint, matching the light reference page */
html body{
    background-color:#fdfefc;
}
body .site,
body .site-content,
body #main-container,
body #tbay-main-content,
body .site-main,
body .content-area{
    background-color:#fdfefc;
}
body .sugandhra-home-portal{
    background:linear-gradient(180deg,#fbfdf9 0%,#fdfefc 55%,#ffffff 100%);
}


/* SUGANDHRA™ Product Verification page polish */
body.page .sugandhra-auth-page{min-height:520px}
body.page .sugandhra-auth-page + *{margin-top:0}
body.page:has(.sugandhra-auth-page) .page-title,
body.page:has(.sugandhra-auth-page) .entry-title,
body.page:has(.sugandhra-auth-page) .page-header{display:none!important}
body.page:has(.sugandhra-auth-page) .site-main,
body.page:has(.sugandhra-auth-page) .content-area{padding-top:0!important}


/* =========================================================
   SUGANDHRA™ Product Verification Page v1.9
   Keep Hara header/footer full-width and make the verification
   portal occupy the normal content canvas cleanly.
   ========================================================= */

/* Remove the theme's narrow page canvas around the shortcode. */
body.page:has(.sugandhra-auth-page) #main-container,
body.page:has(.sugandhra-auth-page) #tbay-main-content,
body.page:has(.sugandhra-auth-page) .site-main,
body.page:has(.sugandhra-auth-page) .content-area{
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
    padding-left:0!important;
    padding-right:0!important;
    background:#fdfefc;
}

/* The Hara header remains untouched. The verification area starts
   directly below it with the same subtle portal tint as Home. */
body.page:has(.sugandhra-auth-page){
    background:#fdfefc;
}
body.page:has(.sugandhra-auth-page) .sugandhra-auth-page{
    width:100%;
    max-width:none;
    margin:0;
    padding:46px 20px 72px;
    box-sizing:border-box;
    background:linear-gradient(180deg,#fbfdf9 0%,#fdfefc 55%,#ffffff 100%);
}
body.page:has(.sugandhra-auth-page) .sugandhra-auth-page > *{
    max-width:1180px;
    margin-left:auto;
    margin-right:auto;
}

/* Give the verification hero a more compact, premium hierarchy. */
body.page:has(.sugandhra-auth-page) .sugandhra-auth-hero{
    margin-bottom:30px;
}
body.page:has(.sugandhra-auth-page) .sugandhra-auth-hero h1{
    font-size:clamp(32px,3.4vw,46px);
    line-height:1.12;
}
body.page:has(.sugandhra-auth-page) .sugandhra-auth-hero p{
    font-size:15px;
}

/* Keep result pages centered and clean. */
body.page:has(.sugandhra-auth-page) .sugandhra-auth-result{
    margin-left:auto;
    margin-right:auto;
}

/* Mobile */
@media(max-width:800px){
    body.page:has(.sugandhra-auth-page) .sugandhra-auth-page{
        padding:30px 16px 50px;
    }
}

/* Reserved EAN page: assigned product links stay within the portal. */
.sugandhra-assigned-products a:hover{box-shadow:0 4px 14px rgba(30,60,20,.07);transform:translateY(-1px)}
.sugandhra-assigned-products a{transition:all .18s ease}
@media(max-width:600px){
    .sugandhra-assigned-products{margin-top:24px!important;padding-top:22px!important}
}


/* =========================================================
   SUGANDHRA™ v1.12 Visual Refinement
   1) Visible search border
   2) Tighter header-to-portal spacing
   3) Tighter home header-to-hero spacing
   4) Equal CTA button dimensions
   5) Mobile-safe search placeholder
   ========================================================= */

/* 1. Search field: subtle visible border, matching the premium light theme. */
body .searchform input[type="text"],
body .searchform input[type="search"],
body .tbay-search-form input[type="text"],
body .tbay-search-form input[type="search"],
body .elementor-search-form input[type="text"],
body .elementor-search-form input[type="search"]{
    border:1px solid #dfe3dc !important;
    box-sizing:border-box;
    background:#f8f8f7;
}
body .searchform input[type="text"]:focus,
body .searchform input[type="search"]:focus,
body .tbay-search-form input[type="text"]:focus,
body .tbay-search-form input[type="search"]:focus,
body .elementor-search-form input[type="text"]:focus,
body .elementor-search-form input[type="search"]:focus{
    border-color:#bfcab8 !important;
    outline:none;
}

/* 2. Product Verification page: reduce the blank band below the Hara search. */
body.page:has(.sugandhra-auth-page) .sugandhra-auth-page{
    padding-top:22px;
}

/* 3. Home page: keep a small, intentional breathing space before the portal. */
body.home .sugandhra-home-portal{
    padding-top:8px;
}

/* 4. Both main CTA buttons use the exact same footprint. */
.sugandhra-btn{
    width:215px !important;
    min-width:215px !important;
    max-width:100%;
    height:50px !important;
    min-height:50px !important;
    box-sizing:border-box;
    text-align:center;
}
.sugandhra-home-actions .sugandhra-btn{
    flex:0 0 215px;
}
@media(max-width:700px){
    .sugandhra-home-actions .sugandhra-btn,
    .sugandhra-btn{
        width:100% !important;
        min-width:0 !important;
        flex:1 1 auto;
    }
}

/* 5. Keep the header search text useful on narrow screens. */
@media(max-width:520px){
    body .searchform input[type="text"],
    body .searchform input[type="search"],
    body .tbay-search-form input[type="text"],
    body .tbay-search-form input[type="search"],
    body .elementor-search-form input[type="text"],
    body .elementor-search-form input[type="search"]{
        font-size:14px;
    }
}


/* =========================================================
   SUGANDHRA™ v1.15 Product Search Portal
   Match /sugandhra-product-search/ to the Product Verification
   portal hierarchy, spacing, cards and responsive behavior.
   ========================================================= */
body.sugandhra-product-search-page{
    background:#fdfefc !important;
}
body.sugandhra-product-search-page .entry-title,
body.sugandhra-product-search-page .page-title,
body.sugandhra-product-search-page .page-header{
    display:none !important;
}
body.sugandhra-product-search-page .site-main,
body.sugandhra-product-search-page .content-area,
body.sugandhra-product-search-page #main-container,
body.sugandhra-product-search-page #tbay-main-content{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    background:linear-gradient(180deg,#fbfdf9 0%,#fdfefc 62%,#ffffff 100%) !important;
}

/* Main portal canvas */
body.sugandhra-product-search-page .sugandhra-product-search-portal{
    max-width:1180px;
    margin:0 auto;
    padding:58px 28px 76px;
    box-sizing:border-box;
    text-align:center;
}

/* Verification-style eyebrow */
body.sugandhra-product-search-page .sugandhra-search-eyebrow{
    margin:0 0 14px !important;
    color:#5f9225 !important;
    font-size:15px !important;
    line-height:1.4 !important;
    letter-spacing:2px !important;
    font-weight:800 !important;
    text-transform:uppercase;
}

/* Main heading */
body.sugandhra-product-search-page .sugandhra-product-search-portal > h1{
    margin:0 0 16px !important;
    color:#111 !important;
    font-size:clamp(36px,4vw,50px) !important;
    line-height:1.12 !important;
    font-weight:650 !important;
}

/* Supporting text */
body.sugandhra-product-search-page .sugandhra-product-search-portal > p{
    margin:0 auto 32px !important;
    max-width:760px;
    color:#667067 !important;
    font-size:16px !important;
    line-height:1.7 !important;
}

/* Two-column verification-style search area */
body.sugandhra-product-search-page .sugandhra-search-grid{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr);
    gap:30px;
    align-items:stretch;
    max-width:1080px;
    margin:0 auto;
    text-align:left;
}

/* Search card */
body.sugandhra-product-search-page .sugandhra-product-search-form{
    width:100%;
    max-width:none;
    margin:0;
    padding:34px 36px;
    background:#fff;
    border:1px solid #e1e7dd;
    border-radius:16px;
    box-shadow:0 16px 45px rgba(30,48,26,.07);
    box-sizing:border-box;
}
body.sugandhra-product-search-page .sugandhra-product-search-form:before{
    content:"Search SUGANDHRA™ Products";
    display:block;
    margin:0 0 8px;
    color:#111;
    font-size:28px;
    line-height:1.25;
    font-weight:600;
}
body.sugandhra-product-search-page .sugandhra-product-search-form:after{
    content:"Search by EAN-13, SKU, Product Name or Product Code.";
    display:block;
    margin-top:16px;
    color:#6c766e;
    font-size:14px;
    line-height:1.6;
}

/* Form */
body.sugandhra-product-search-page .sugandhra-product-search-form form,
body.sugandhra-product-search-page .sugandhra-product-search-form .search-form{
    display:flex;
    gap:10px;
    align-items:stretch;
    margin:22px 0 0;
}
body.sugandhra-product-search-page .sugandhra-product-search-form input[type="text"],
body.sugandhra-product-search-page .sugandhra-product-search-form input[type="search"]{
    height:54px !important;
    flex:1 1 auto;
    min-width:0;
    border:1px solid #cfd8ca !important;
    border-radius:7px !important;
    background:#fff !important;
    box-shadow:none !important;
    outline:none !important;
    padding:0 16px !important;
    box-sizing:border-box;
    color:#273027;
    font-size:16px !important;
}
body.sugandhra-product-search-page .sugandhra-product-search-form input[type="text"]:focus,
body.sugandhra-product-search-page .sugandhra-product-search-form input[type="search"]:focus{
    border-color:#5f9225 !important;
    box-shadow:0 0 0 3px rgba(95,146,37,.10) !important;
}
body.sugandhra-product-search-page .sugandhra-product-search-form button,
body.sugandhra-product-search-page .sugandhra-product-search-form input[type="submit"]{
    height:54px !important;
    min-width:138px;
    border:0 !important;
    border-radius:7px !important;
    background:#5f9225 !important;
    color:#fff !important;
    font-weight:800;
    cursor:pointer;
}

/* Right-hand card mirrors the Product Verification trust card */
body.sugandhra-product-search-page .sugandhra-search-info-card{
    padding:34px 34px;
    background:#fff;
    border:1px solid #e1e7dd;
    border-radius:16px;
    box-shadow:0 16px 45px rgba(30,48,26,.07);
    box-sizing:border-box;
}
body.sugandhra-product-search-page .sugandhra-search-info-icon{
    width:68px;
    height:68px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 0 24px;
    border-radius:50%;
    background:#edf6e5;
    color:#5f9225;
    font-size:42px;
    line-height:1;
}
body.sugandhra-product-search-page .sugandhra-search-info-card h2{
    margin:0 0 14px !important;
    color:#111 !important;
    font-size:30px !important;
    line-height:1.25 !important;
    font-weight:600 !important;
}
body.sugandhra-product-search-page .sugandhra-search-info-card p{
    margin:0 0 22px !important;
    color:#667067 !important;
    font-size:16px !important;
    line-height:1.7 !important;
}
body.sugandhra-product-search-page .sugandhra-search-info-list{
    margin:0;
    padding:0;
    list-style:none;
    border-top:1px solid #e8ece6;
}
body.sugandhra-product-search-page .sugandhra-search-info-list li{
    display:flex;
    gap:14px;
    padding:17px 0;
    border-bottom:1px solid #e8ece6;
    color:#334038;
    font-size:15px;
    line-height:1.5;
}
body.sugandhra-product-search-page .sugandhra-search-info-list b{
    color:#5f9225;
    min-width:25px;
}

/* Results span the full portal below the two cards */
body.sugandhra-product-search-page .sugandhra-product-search-results,
body.sugandhra-product-search-page .sugandhra-search-results{
    max-width:1080px;
    margin:34px auto 0;
}

/* If plugin results are direct children, keep them full width */
body.sugandhra-product-search-page .sugandhra-search-grid + *{
    max-width:1080px;
    margin-left:auto;
    margin-right:auto;
}

/* Mobile */
@media(max-width:800px){
    body.sugandhra-product-search-page .sugandhra-product-search-portal{
        padding:34px 16px 52px;
        text-align:left;
    }
    body.sugandhra-product-search-page .sugandhra-search-eyebrow{
        font-size:13px !important;
        letter-spacing:1.6px !important;
    }
    body.sugandhra-product-search-page .sugandhra-product-search-portal > h1{
        font-size:34px !important;
        line-height:1.15 !important;
        text-align:left !important;
    }
    body.sugandhra-product-search-page .sugandhra-product-search-portal > p{
        text-align:left !important;
        font-size:15px !important;
        margin-bottom:24px !important;
    }
    body.sugandhra-product-search-page .sugandhra-search-grid{
        grid-template-columns:1fr;
        gap:18px;
    }
    body.sugandhra-product-search-page .sugandhra-product-search-form{
        padding:26px 20px;
        border-radius:14px;
    }
    body.sugandhra-product-search-page .sugandhra-product-search-form:before{
        font-size:25px;
    }
    body.sugandhra-product-search-page .sugandhra-product-search-form form,
    body.sugandhra-product-search-page .sugandhra-product-search-form .search-form{
        flex-direction:column;
    }
    body.sugandhra-product-search-page .sugandhra-product-search-form button,
    body.sugandhra-product-search-page .sugandhra-product-search-form input[type="submit"]{
        width:100%;
    }
    body.sugandhra-product-search-page .sugandhra-search-info-card{
        padding:26px 20px;
    }
    body.sugandhra-product-search-page .sugandhra-search-info-card h2{
        font-size:26px !important;
    }
}
@media(max-width:420px){
    body.sugandhra-product-search-page .sugandhra-product-search-form input[type="text"],
    body.sugandhra-product-search-page .sugandhra-product-search-form input[type="search"]{
        font-size:14px !important;
    }
}


/* =========================================================
   SUGANDHRA™ v1.16 LIVE DOM FIX
   The production Hara page did not expose page-slug-* reliably.
   The JS adds .sugandhra-product-search-page from the URL.
   ========================================================= */
body.sugandhra-product-search-page{
    background:#fdfefc !important;
}
body.sugandhra-product-search-page #main-container,
body.sugandhra-product-search-page #tbay-main-content,
body.sugandhra-product-search-page .site-main,
body.sugandhra-product-search-page .content-area{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
}
body.sugandhra-product-search-page .sugandhra-product-search-portal{
    max-width:1180px !important;
    margin:0 auto !important;
    padding:58px 28px 76px !important;
    box-sizing:border-box !important;
}
body.sugandhra-product-search-page .sugandhra-product-search-portal > h1{
    text-align:center !important;
}
body.sugandhra-product-search-page .sugandhra-product-search-portal .sugandhra-search-grid{
    width:100% !important;
}
body.sugandhra-product-search-page .sugandhra-product-search-form{
    min-width:0 !important;
}
body.sugandhra-product-search-page .sugandhra-product-search-form input{
    border:1px solid #cfd8ca !important;
}
@media(max-width:800px){
    body.sugandhra-product-search-page .sugandhra-product-search-portal{
        padding:34px 16px 52px !important;
    }
}


/* =========================================================
   SUGANDHRA™ v1.17 Mobile stability + page background guard
   Product Search and Product Verification should show their
   portal content, not Hara's decorative/mobile background layer.
   ========================================================= */
@media(max-width:800px){
    body.sugandhra-product-search-page,
    body:has(.sugandhra-auth-page){
        background:#fdfefc !important;
        background-image:none !important;
        background-attachment:scroll !important;
        overflow-x:hidden !important;
    }
    body.sugandhra-product-search-page #page,
    body.sugandhra-product-search-page #main-container,
    body.sugandhra-product-search-page #tbay-main-content,
    body.sugandhra-product-search-page .site-content,
    body.sugandhra-product-search-page .site-main,
    body.sugandhra-product-search-page .content-area,
    body:has(.sugandhra-auth-page) #page,
    body:has(.sugandhra-auth-page) #main-container,
    body:has(.sugandhra-auth-page) #tbay-main-content,
    body:has(.sugandhra-auth-page) .site-content,
    body:has(.sugandhra-auth-page) .site-main,
    body:has(.sugandhra-auth-page) .content-area{
        background-image:none !important;
        background-attachment:scroll !important;
    }
}


/* =========================================================
   SUGANDHRA™ v1.18 Portal Loader Safety
   Prevent Hara/theme loading overlays from covering the
   verification/search portals on mobile and Chromium.
   ========================================================= */
body.sugandhra-product-search-page .preloader,
body.sugandhra-product-search-page #preloader,
body.sugandhra-product-search-page .page-loader,
body.sugandhra-product-search-page .page-loading,
body.sugandhra-product-search-page .site-preloader,
body.sugandhra-product-search-page .loading-overlay,
body.sugandhra-product-search-page .loader-wrapper,
body.sugandhra-product-search-page .tbay-preloader,
body.sugandhra-product-search-page .tbay-loading,
body.sugandhra-product-search-page .apus-page-loading,
body:has(.sugandhra-auth-page) .preloader,
body:has(.sugandhra-auth-page) #preloader,
body:has(.sugandhra-auth-page) .page-loader,
body:has(.sugandhra-auth-page) .page-loading,
body:has(.sugandhra-auth-page) .site-preloader,
body:has(.sugandhra-auth-page) .loading-overlay,
body:has(.sugandhra-auth-page) .loader-wrapper,
body:has(.sugandhra-auth-page) .tbay-preloader,
body:has(.sugandhra-auth-page) .tbay-loading,
body:has(.sugandhra-auth-page) .apus-page-loading{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
}

/* Chromium/mobile fallback: the portal itself must always remain visible. */
@media(max-width:800px){
    body.sugandhra-product-search-page .sugandhra-product-search-portal,
    body:has(.sugandhra-auth-page) .sugandhra-auth-page{
        visibility:visible !important;
        opacity:1 !important;
    }
}


/* =========================================================
   SUGANDHRA™ v1.19 Portal Scroll Unlock
   Hara can leave body/html scroll-lock styles behind after
   its preloader is hidden. Restore normal vertical scrolling
   on the two portal pages.
   ========================================================= */
html.sugandhra-portal-scroll-unlocked,
body.sugandhra-portal-scroll-unlocked{
    overflow-y:auto !important;
    overflow-x:hidden !important;
    height:auto !important;
    max-height:none !important;
}
body.sugandhra-portal-scroll-unlocked{
    position:static !important;
}

/* =========================================================
   SUGANDHRA™ v1.20 Product Search alignment correction
   Keep the search portal structurally identical to the
   Product Verification layout. Results belong below both
   cards, not inside the left card.
   ========================================================= */
body.sugandhra-product-search-page .sugandhra-product-search-portal{
    max-width:1180px !important;
    margin:0 auto !important;
    padding:58px 28px 76px !important;
    box-sizing:border-box !important;
    text-align:left !important;
}
body.sugandhra-product-search-page .sugandhra-product-search-portal > .sugandhra-search-grid{
    display:grid !important;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr) !important;
    gap:30px !important;
    align-items:stretch !important;
    max-width:1080px !important;
    margin:0 auto !important;
}
body.sugandhra-product-search-page .sugandhra-search-form-card{
    min-width:0 !important;
    padding:34px 34px 30px !important;
    background:#fff !important;
    border:1px solid #e1e7dd !important;
    border-radius:16px !important;
    box-shadow:0 16px 45px rgba(30,48,26,.07) !important;
    box-sizing:border-box !important;
}
body.sugandhra-product-search-page .sugandhra-search-form-card .sugandhra-search-eyebrow{
    margin:0 0 14px !important;
    color:#5f9225 !important;
    font-size:15px !important;
    line-height:1.4 !important;
    letter-spacing:2px !important;
    font-weight:800 !important;
    text-transform:uppercase !important;
}
body.sugandhra-product-search-page .sugandhra-search-form-card > h1,
body.sugandhra-product-search-page .sugandhra-search-form-card > h2,
body.sugandhra-product-search-page .sugandhra-search-form-card > h3{
    margin:0 0 24px !important;
    color:#111 !important;
    font-size:clamp(34px,3.4vw,48px) !important;
    line-height:1.12 !important;
    font-weight:650 !important;
}
body.sugandhra-product-search-page .sugandhra-search-form-card > form{
    display:flex !important;
    gap:10px !important;
    align-items:stretch !important;
    margin:0 !important;
    width:100% !important;
}
body.sugandhra-product-search-page .sugandhra-search-form-card > form input[type="search"],
body.sugandhra-product-search-page .sugandhra-search-form-card > form input[type="text"]{
    height:54px !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    border:1px solid #cfd8ca !important;
    border-radius:7px !important;
    background:#fff !important;
    padding:0 16px !important;
    box-sizing:border-box !important;
    box-shadow:none !important;
    outline:none !important;
    font-size:16px !important;
}
body.sugandhra-product-search-page .sugandhra-search-form-card > form button,
body.sugandhra-product-search-page .sugandhra-search-form-card > form input[type="submit"]{
    height:54px !important;
    min-width:138px !important;
    border:0 !important;
    border-radius:7px !important;
    background:#5f9225 !important;
    color:#fff !important;
    font-weight:800 !important;
    cursor:pointer !important;
}
/* Remove the duplicate pseudo heading/help line from the old wrapper. */
body.sugandhra-product-search-page .sugandhra-product-search-form:before,
body.sugandhra-product-search-page .sugandhra-product-search-form:after{
    content:none !important;
    display:none !important;
}
body.sugandhra-product-search-page .sugandhra-search-form-card > p{
    margin:14px 0 0 !important;
    color:#667067 !important;
    font-size:14px !important;
    line-height:1.6 !important;
}
body.sugandhra-product-search-page .sugandhra-search-info-card{
    min-width:0 !important;
    height:100% !important;
    padding:34px 34px !important;
    background:#fff !important;
    border:1px solid #e1e7dd !important;
    border-radius:16px !important;
    box-shadow:0 16px 45px rgba(30,48,26,.07) !important;
    box-sizing:border-box !important;
}
body.sugandhra-product-search-page .sugandhra-product-search-result-card{
    display:block !important;
    width:100% !important;
    max-width:1080px !important;
    margin:30px auto 0 !important;
    box-sizing:border-box !important;
}
body.sugandhra-product-search-page .sugandhra-product-search-result-card .sugandhra-search-result{
    align-items:center !important;
}
@media(max-width:800px){
    body.sugandhra-product-search-page .sugandhra-product-search-portal{
        padding:34px 16px 52px !important;
    }
    body.sugandhra-product-search-page .sugandhra-product-search-portal > .sugandhra-search-grid{
        grid-template-columns:1fr !important;
        gap:18px !important;
    }
    body.sugandhra-product-search-page .sugandhra-search-form-card{
        padding:26px 20px !important;
        border-radius:14px !important;
    }
    body.sugandhra-product-search-page .sugandhra-search-form-card > h1,
    body.sugandhra-product-search-page .sugandhra-search-form-card > h2,
    body.sugandhra-product-search-page .sugandhra-search-form-card > h3{
        font-size:34px !important;
        line-height:1.15 !important;
    }
    body.sugandhra-product-search-page .sugandhra-search-form-card > form{
        flex-direction:column !important;
    }
    body.sugandhra-product-search-page .sugandhra-search-form-card > form button,
    body.sugandhra-product-search-page .sugandhra-search-form-card > form input[type="submit"]{
        width:100% !important;
    }
    body.sugandhra-product-search-page .sugandhra-search-info-card{
        padding:26px 20px !important;
    }
}
@media(max-width:420px){
    body.sugandhra-product-search-page .sugandhra-search-form-card > form input[type="search"],
    body.sugandhra-product-search-page .sugandhra-search-form-card > form input[type="text"]{
        font-size:14px !important;
    }
}

/* =========================================================
   SUGANDHRA™ v1.21 Product Search minor alignment refinements
   ========================================================= */
/* Give the Product not found notice breathing room before the portal card. */
body.sugandhra-product-search-page .woocommerce-notices-wrapper,
body.sugandhra-product-search-page .woocommerce-info,
body.sugandhra-product-search-page .woocommerce-message,
body.sugandhra-product-search-page .sugandhra-search-notice,
body.sugandhra-product-search-page .sugandhra-product-search-notice{
    margin-bottom:20px !important;
}

/* Make the search portal slightly wider and move its two-column content
   further toward the left edge while preserving the right information card. */
body.sugandhra-product-search-page .sugandhra-search-grid{
    max-width:1200px !important;
    grid-template-columns:minmax(0,1.42fr) minmax(320px,.88fr) !important;
    gap:30px !important;
}

body.sugandhra-product-search-page .sugandhra-search-form-card,
body.sugandhra-product-search-page .sugandhra-product-search-form{
    min-width:0 !important;
}

@media(max-width:800px){
    body.sugandhra-product-search-page .sugandhra-search-grid{
        max-width:none !important;
        grid-template-columns:1fr !important;
    }
}


/* =========================================================
   SUGANDHRA™ v1.23 Product Search result mode
   When a search has been submitted, keep only a compact search
   box at the top-right and give the result the full content width.
   ========================================================= */
body.sugandhra-search-results-page .sugandhra-product-search-portal{
    max-width:1200px !important;
    margin:0 auto !important;
    padding:34px 28px 76px !important;
}
body.sugandhra-search-results-page .sugandhra-search-grid{
    display:block !important;
    max-width:none !important;
    margin:0 !important;
}
body.sugandhra-search-results-page .sugandhra-search-info-card{
    display:none !important;
}
body.sugandhra-search-results-page .sugandhra-search-form-card{
    display:contents !important;
}
body.sugandhra-search-results-page .sugandhra-search-eyebrow,
body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > h1,
body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > h2,
body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > h3,
body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > p{
    display:none !important;
}
body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > form,
body.sugandhra-search-results-page .sugandhra-search-grid > form{
    display:flex !important;
    width:min(560px, 100%) !important;
    margin:0 0 30px auto !important;
    padding:0 !important;
    gap:10px !important;
    align-items:stretch !important;
    box-sizing:border-box !important;
}
body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > form input[type="search"],
body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > form input[type="text"],
body.sugandhra-search-results-page .sugandhra-search-grid > form input[type="search"],
body.sugandhra-search-results-page .sugandhra-search-grid > form input[type="text"]{
    height:50px !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    border:1px solid #d5ddd0 !important;
    border-radius:7px !important;
    background:#fff !important;
    box-sizing:border-box !important;
}
body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > form button,
body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > form input[type="submit"],
body.sugandhra-search-results-page .sugandhra-search-grid > form button,
body.sugandhra-search-results-page .sugandhra-search-grid > form input[type="submit"]{
    height:50px !important;
    min-width:120px !important;
    border:0 !important;
    border-radius:7px !important;
    background:#5f9225 !important;
    color:#fff !important;
}
body.sugandhra-search-results-page .sugandhra-product-search-result-card{
    width:100% !important;
    max-width:none !important;
    margin:0 auto !important;
}
body.sugandhra-search-results-page .sugandhra-product-search-result-card + .sugandhra-product-search-result-card{
    margin-top:20px !important;
}
@media(max-width:800px){
    body.sugandhra-search-results-page .sugandhra-product-search-portal{
        padding:24px 16px 52px !important;
    }
    body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > form,
    body.sugandhra-search-results-page .sugandhra-search-grid > form{
        width:100% !important;
        margin:0 0 22px 0 !important;
    }
    body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > form button,
    body.sugandhra-search-results-page .sugandhra-search-form-card-results-hidden > form input[type="submit"],
    body.sugandhra-search-results-page .sugandhra-search-grid > form button,
    body.sugandhra-search-results-page .sugandhra-search-grid > form input[type="submit"]{
        min-width:105px !important;
    }
}


/* =========================================================
   SUGANDHRA™ v1.26 Front-page Security Code Search
   Security code input with the existing green VERIFY PRODUCT action.
   ========================================================= */
body.home .sugandhra-home-code-search{
    display:block !important;
    width:100% !important;
    max-width:720px !important;
    margin:26px 0 14px !important;
    box-sizing:border-box !important;
}
body.home .sugandhra-home-code-search input[type="text"]{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    height:58px !important;
    padding:0 18px !important;
    border:1px solid #d4ddd0 !important;
    border-radius:7px !important;
    background:#fff !important;
    color:#333 !important;
    box-shadow:none !important;
    outline:none !important;
    font-size:16px !important;
    box-sizing:border-box !important;
}
body.home .sugandhra-home-code-search input[type="text"]:focus{
    border-color:#5f9225 !important;
    box-shadow:0 0 0 2px rgba(95,146,37,.10) !important;
}
body.home .sugandhra-home-actions{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:12px !important;
    margin-top:0 !important;
}
body.home .sugandhra-home-actions .sugandhra-home-verify-submit{
    appearance:none !important;
    -webkit-appearance:none !important;
    border:0 !important;
    cursor:pointer !important;
    font-family:inherit !important;
}
@media(min-width:801px){
    body.home .sugandhra-home-actions{
        width:100% !important;
        max-width:720px !important;
    }
    body.home .sugandhra-home-actions .sugandhra-home-verify-submit{
        width:100% !important;
        min-width:0 !important;
        box-sizing:border-box !important;
    }
}
@media(max-width:800px){
    body.home .sugandhra-home-code-search{
        max-width:none !important;
        margin:22px 0 14px !important;
    }
    body.home .sugandhra-home-actions{
        justify-content:center !important;
    }
}
