
/*
Theme Name: Rahat Herbs
Theme URI: https://rahatherbs.com
Description: Child theme for Rahat Herbs
Author: Rahat Herbs
Template: hello-elementor
Version: 1.0.0
Text Domain: rahat-herbs
*/
/* Reset & Base */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #243024;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* FLOATING HEADER CONTAINER WITH POINTER-EVENTS CONTROL */
#site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 99999;
    background: transparent !important;
    pointer-events: none;
    box-shadow: none !important;
    padding-top: 6px;
}
#site-header * {
    pointer-events: auto;
}

/* Announcement Bar Glass Blur */
.hbr-announcement-glass {
    text-align: center;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    align-items: center;
    background: rgba(10, 37, 17, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 5px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* FLOATING GLASS CAPSULE HEADER (Display Flex + Backdrop Blur) */
.hbr-header-floating-capsule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    max-width: 1280px;
    margin: 4px auto 0;
    width: calc(100% - 24px);
    box-sizing: border-box;
    gap: 16px;
    background: rgba(31, 93, 43, 0.88) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 60px !important;
    box-shadow: 0 14px 40px rgba(10, 37, 17, 0.28) !important;
    transition: all 0.3s ease;
}

/* Official Logo Inside White Rounded Capsule */
.hbr-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.hbr-logo-card {
    background: #FFFFFF;
    padding: 5px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hbr-logo-card:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.hbr-logo-img {
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

/* Navigation Menu Buttons (Flexbox + Glass Hover) */
.hbr-nav-container {
    display: flex;
    align-items: center;
}
.hbr-main-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}
.hbr-menu-btn {
    color: #FFFFFF !important;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.hbr-menu-btn:hover {
    background: #FFFFFF;
    color: #1F5D2B !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Right End Actions */
.hbr-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.hbr-cart-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF !important;
    padding: 9px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
}
.hbr-cart-pill:hover {
    background: #FFFFFF;
    color: #1F5D2B !important;
}

/* SHOP NOW BUTTON AT FAR RIGHT END */
.hbr-shop-now-end {
    background: #FF9200 !important;
    color: #FFFFFF !important;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(255, 146, 0, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.hbr-shop-now-end:hover {
    background: #E08200 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 146, 0, 0.6);
}

.hbr-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.hbr-mobile-bar {
    display: none;
}
.hbr-drawer {
    display: none;
}

/* FLOATING DUAL ACTION BAR (Fixed Bottom Glass Blur with 2 Action Buttons) */
.hbr-floating-dual-bar {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 99990;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(18, 61, 29, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 7px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}
.hbr-floating-dual-bar:hover {
    transform: translateY(-2px);
}
.hbr-float-btn-wa {
    background: #25D366;
    color: #FFFFFF !important;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: all 0.2s ease;
}
.hbr-float-btn-wa:hover {
    background: #1EBE5D;
}
.hbr-float-btn-shop {
    background: #FF9200;
    color: #FFFFFF !important;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(255, 146, 0, 0.45);
    transition: all 0.2s ease;
}
.hbr-float-btn-shop:hover {
    background: #E08200;
}

/* Site Footer Base */
#site-footer, .site-footer {
    width: 100% !important;
    overflow-x: hidden !important;
    background-color: #123D1D !important;
    clear: both !important;
    box-sizing: border-box !important;
}
.site-footer .e-con-inner {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    display: flex !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

/* Responsive Mobile Navigation & Footer Styles */
@media (max-width: 1024px) {
    .hbr-nav-container {
        display: none !important;
    }
    .hbr-menu-toggle {
        display: inline-flex !important;
    }
    .hbr-mobile-bar {
        display: flex !important;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
        background: rgba(18, 61, 29, 0.9);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: 8px 14px;
        border-radius: 50px;
        margin: 6px auto 0;
        width: calc(100% - 24px);
        box-sizing: border-box;
        border: 1px solid rgba(255, 255, 255, 0.2);
        -webkit-overflow-scrolling: touch;
    }
    .hbr-mob-btn {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.15);
        padding: 6px 14px;
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        display: inline-block;
        flex-shrink: 0;
    }
    .hbr-mob-shop {
        background: #FF9200 !important;
        color: #FFFFFF !important;
        border-color: #FF9200 !important;
        font-weight: 700;
    }
    .hbr-drawer {
        flex-direction: column;
        background: rgba(18, 61, 29, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 16px 20px;
        gap: 10px;
        border-radius: 20px;
        margin: 8px 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .hbr-drawer a {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 14.5px;
        font-weight: 600;
        padding: 10px 14px;
        border-radius: 8px;
        background: rgba(255,255,255,0.08);
        display: flex;
        justify-content: space-between;
    }
    .hbr-floating-dual-bar {
        bottom: 16px;
        right: 50%;
        transform: translateX(50%);
        width: calc(100% - 32px);
        max-width: 380px;
        justify-content: center;
    }
    .hbr-floating-dual-bar:hover {
        transform: translateX(50%) translateY(-2px);
    }
    .hbr-float-btn-wa, .hbr-float-btn-shop {
        flex: 1;
        justify-content: center;
        font-size: 12.5px;
        padding: 9px 10px;
    }
}

@media (max-width: 767px) {
    .hbr-header-floating-capsule {
        padding: 6px 14px;
        border-radius: 40px !important;
    }
    .hbr-logo-img {
        height: 38px;
    }
    .hbr-shop-now-end {
        padding: 7px 14px;
        font-size: 12.5px;
    }
    /* FOOTER MOBILE FIX */
    .site-footer .e-con-inner,
    .site-footer .elementor-element[data-id="ftr_clean_main"] {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        gap: 28px !important;
        box-sizing: border-box !important;
        align-items: center !important;
    }
    .site-footer .elementor-element[data-id="ftr_c_brand"],
    .site-footer .elementor-element[data-id="ftr_c_links"],
    .site-footer .elementor-element[data-id="ftr_c_contact"],
    .site-footer .e-con-inner > .elementor-element {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        text-align: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }
    .site-footer .elementor-heading-title {
        text-align: center !important;
    }
    .hbr-ftr-text, .hbr-ftr-badge, .hbr-ftr-links, .hbr-ftr-contact {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .hbr-ftr-links a {
        display: block !important;
        padding: 4px 0 !important;
    }
}
