/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Template: oceanwp
Author: Kashif_Reva
Author URI: https://reva.solutions
Description: New changes
Version: 1.0.0
*/

/* ===== Search Bar ===== */
#site-header-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

#site-logo {
    flex-shrink: 0 !important;
}

.header-search-bar {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 20px !important;
    background: transparent !important;
    width: auto !important;
}

.header-search-bar form {
    display: flex !important;
    width: 100% !important;
    max-width: 500px !important;
}

.header-search-bar input[type="search"] {
    width: 100% !important;
    padding: 10px 20px !important;
    border: 2px solid #577E80 !important;
    border-radius: 25px 0 0 25px !important;
    font-size: 14px !important;
    outline: none !important;
    color: #333 !important;
}

.header-search-bar button {
    background-color: #577E80 !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 0 25px 25px 0 !important;
    cursor: pointer !important;
}
/* ===== Search Bar end ===== */

/* ===== Language Switcher ===== */
#header-lang-wrap {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-left: 15px !important;
}

.header-lang-switch {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.header-lang-switch select {
    border: 1px solid #577E80 !important;
    border-radius: 5px !important;
    padding: 2px 4px !important;
    font-size: 11px !important;
    color: #577E80 !important;
    cursor: pointer !important;
    background: transparent !important;
    outline: none !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    width: auto !important;
    max-width: 70px !important;
}

.header-lang-switch select option {
    color: #577E80 !important;
    background: #ffffff !important;
}
/* ===== Language Switcher end ===== */

/* ===== Zoom Logo ===== */
.custom-logo {
    transform: scale(1.8) !important;
    transform-origin: left center !important;
}

/* ===== Copy Right ===== */
.elementor-element-14aae5b9 .elementor-heading-title {
    font-size: 0 !important;
}

.elementor-element-14aae5b9 .elementor-heading-title::after {
    content: "© Copyright 2026 – REVA SOLUTIONS";
    font-size: 13px !important;
    color: #aaaaaa;
}
/* ===== Copy Right end ===== */

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #577E80 !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    height: 50px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.whatsapp-btn:hover {
    background-color: #3d6163 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
/* ===== WhatsApp Button end ===== */

/* ===== Trust Badges ===== */
div.trust-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: 25px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

div.trust-badges div.trust-badge-item {
    flex: 1 1 0 !important;
    width: 33% !important;
    max-width: 33% !important;
    min-width: 0 !important;
    text-align: center !important;
    padding: 15px 5px !important;
    border: 1.5px solid #577E80 !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}
/* ===== Trust Badges end ===== */

/* ===== MOBILE ===== */
@media (max-width: 960px) {

    #site-header-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        padding: 8px 15px !important;
        gap: 8px !important;
    }

    /* Fix double logo */
    #site-logo.has-responsive-logo a.responsive-logo-link {
        display: none !important;
    }

    #site-logo.has-responsive-logo a.custom-logo-link {
        display: block !important;
    }

    /* Logo first on left - order 1 */
    #site-logo {
        order: 1 !important;
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    #site-logo-inner {
        display: flex !important;
        align-items: center !important;
    }

    #site-logo img.custom-logo {
        max-height: 45px !important;
        width: auto !important;
        display: block !important;
    }

    /* Lang switcher after logo - order 2 */
    #header-lang-wrap {
        order: 2 !important;
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Cart and hamburger on right - order 3 */
    .oceanwp-mobile-menu-icon {
        order: 3 !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 15px !important;
    }

    /* Hide cart amount - show icon only */
    .woocommerce-Price-wcmenucart-details,
    .wcmenucart-details.count {
        display: none !important;
    }

    /* Search bar full width on second row - order 4 */
    .header-search-bar {
        order: 4 !important;
        display: flex !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
    }

    .header-search-bar form {
        width: 100% !important;
        display: flex !important;
        max-width: 250px !important;
    }

    .header-search-bar input[type="search"] {
        font-size: 13px !important;
        padding: 4px 15px !important;
        width: 100% !important;
    }

    .header-search-bar button {
        padding: 4px 15px !important;
    }
}
/* ===== MOBILE end ===== */

/* ===== Top Bar Language ===== */
body:not(.rtl) .topbar-ar {
    display: none !important;
}

body.rtl .topbar-en {
    display: none !important;
}
/* ===== Top Bar Language end ===== */

/* ===== Account Icon in Menu ===== */
#site-navigation .menu-item a svg {
    vertical-align: middle !important;
    color: #577E80 !important;
    stroke: #577E80 !important;
}
/* ===== Account Icon end ===== */

body.rtl #site-logo-inner {
    padding-right: 30px !important;
}


/* Language switcher wrapper border */
#header-lang-wrap {
    border: 1px solid #577E80 !important;
    border-radius: 5px !important;
    padding: 2px 5px !important;
}


