@charset "UTF-8";
/*
Theme Name: Medicor Child
Theme URI: https://hevenpharmacy.com/
Description: Child theme for Medicor (Opal) - Safe edits for Heven Pharmacy. Keeps parent updates intact.
Author: Heven Pharmacy
Template: medicor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medicor-child
Tags: medical, pharmacy, woocommerce
*/
/* ---------- 6) Top action bar -> dark green ---------- */
.hevenhyb-topcta{background:#006847!important;border-bottom:0!important}
.hevenhyb-tbtn{background:transparent!important;border-color:rgba(255,255,255,.4)!important;color:#fff!important}
.hevenhyb-tbtn.wa{background:#25D366!important;border-color:#25D366!important;color:#fff!important}

/* ---------- 7) Main header bar -> #006847 ---------- */
.site-header,.header-top,.header-top-bar,.main-navigation,.site-header-menu,
.elementor-2316 .elementor-element-4f38194,
.elementor-2316 .elementor-element-4f38194>.elementor-motion-effects-container>.elementor-motion-effects-layer{
    background-color:#006847!important;
}

/* ---------- 8) Remove old floating Call Pharmacy / Prescription Inquiry ---------- */
#heven-actions{display:none!important}

/* ---------- 9) Slider: darken slide images (Slider Revolution) ---------- */
sr7-bg,sr7-bg img{filter:brightness(.55)!important}
 /* Add your custom CSS below - this file is safe from parent updates */
/* ============================================================
   Heven Pharmacy — Header & Slider fixes
   ============================================================ */

/* ---------- 1) Hide unwanted SERVICES dropdown items ---------- */
#menu-item-5944,   /* Prescription Upload */
#menu-item-5945,   /* Specialty & Import Medicines */
#menu-item-5946,   /* Extended Hours */
#menu-item-5948,   /* WhatsApp Support */
#menu-item-5950,   /* Immunisation */
#menu-item-5953,   /* Health Screening */
#menu-item-5954,   /* Medical Supplies */
#menu-item-5955,   /* Laboratory */
#menu-item-5956 {  /* Outpatient Clinic */
    display: none !important;
}

/* ---------- 2) Slider overlay (darken images) ---------- */
.elementor-widget-opal-revslider,
.elementor-element-9ceaf90 {
    position: relative !important;
    overflow: hidden !important;
}
.elementor-widget-opal-revslider::after,
.elementor-element-9ceaf90::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
.elementor-widget-opal-revslider > *,
.elementor-element-9ceaf90 > * {
    position: relative !important;
    z-index: 2 !important;
}

/* ---------- 3) Remove lower-right floating buttons ---------- */
.elementskit-sticky-button,
.elementskit-sticky-call,
.elementskit-sticky-whatsapp,
[class*="ekit-sticky"],
.elementskit-widget-sticky-button,
div[class*="sticky"][class*="button"],
div[class*="float"][class*="button"],
div[class*="cta"][class*="fixed"] {
    display: none !important;
}

/* ---------- 4) Consolidate top bar into one dark green bar ---------- */
header, .site-header, .top-bar, .header-top {
    background: #006847 !important;
}
header a, .site-header a, .top-bar a, .header-top a,
.header-top span, .top-bar span {
    color: #ffffff !important;
}
a[href*="upload-rx"], a.button-red, a[class*="upload-rx"] {
    background: #ffffff !important;
    color: #006847 !important;
    border: 2px solid #ffffff !important;
}
a[href*="wa.me"], a[class*="whatsapp"], .button-whatsapp {
    background: #25d366 !important;
    color: #ffffff !important;
}

/* ---------- 5) Mobile adjustments ---------- */
@media (max-width: 768px) {
    .elementor-widget-opal-revslider::after,
    .elementor-element-9ceaf90::after {
        background: rgba(0, 0, 0, 0.6) !important;
    }
}