/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/* Romanian Diacritics Support - Ensure proper font rendering */
html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure all text elements support Romanian diacritics */
* {
    font-feature-settings: "liga" 1, "calt" 1;
    font-variant-ligatures: common-ligatures;
}

/* =Theme customization starts here
------------------------------------------------------- */

/* ============================================
   CyberVend Products - Lightbox Override
   Force lightbox to appear above Divi elements
   ============================================ */

/* Ensure lightbox appears above all Divi elements */
.cvp-lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.cvp-product-cta {
        display: flex;
    gap: 10px;
}
.cvp-lightbox.active {
    display: flex !important;
}

/* Prevent Divi from interfering with lightbox positioning */
#page-container .cvp-lightbox,
#et-main-area .cvp-lightbox,
.et_pb_section .cvp-lightbox {
    position: fixed !important;
}

/* Ensure body scroll is disabled when lightbox is open */
body.cvp-lightbox-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* Fix for Divi header appearing above lightbox */
#main-header,
.et-fixed-header {
    z-index: 99999 !important;
}

.cvp-lightbox {
    z-index: 9999999 !important;
}
#main-row {
    border-top: solid 1px #F7941D;
    border-bottom: solid 1px #F7941D;
    z-index: 1;
    position: relative;
}
#main-row .current-menu-item,
#main-row .et-menu li:hover {
    background-color: #F7941D;
    color: #ffffff!important;
}
#main-row .current-menu-item a,
#main-row .et-menu li:hover a,
.archive #main-row .current-menu-item a,
.archive #main-row .et-menu li:hover a {
    color: #ffffff!important;
}
#main-row .et_pb_menu__menu li {
    margin-top:0;
    padding: 18px 26px 12px;
}
#main-row .et_pb_menu__menu li a {
    text-transform: uppercase;
    font-size: 20px;
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
     margin-bottom:0;
}
.simple-menu {
    display: flex;
    padding: 0!important;
    margin: 0;
    list-style: none;
    gap: 0;
}
.simple-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.simple-menu li a {
    display: block;
    padding: 12px 24px;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
     margin-bottom:0;
    transition: background-color 0.3s;
}
.simple-menu li a:hover,
.simple-menu li.current-menu-item a {
    background-color: #e67e00;
    color: #ffffff;}
    #top-menu .simple-menu li:first-child a { 
        padding-left:0;
    }
#top-menu .simple-menu li a {
    padding: 10px 20px;
    font-size: 16px;
}
#top-menu .simple-menu li a:hover {
    background-color: #ffffff;
    color: #e67e00;
}
#top-menu .simple-menu {
    display: flex;
    justify-content: flex-end;
}
#top-menu .simple-menu li:last-child a {
    position: relative;
    padding-right: 30px;
}
#top-menu .simple-menu>li:last-child>a:after {
    content: '';
    width: 18px;
    height: 22px;
    background-image: url(img/user-icon.svg);
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 10px;
    right: 0;
}
.top-search {
    border: none;
    border: 1px solid #F7941D;
    border-radius: 18px;
    font-size: 16px;
}
.top-search input.et_pb_searchsubmit {
    background-color: #F7941D;
    color: #ffffff;
}
.top-search .et_pb_searchform input.et_pb_s {
    padding-top:3px!important;
    padding-bottom: 3px !important;
}

/* ============================================
   Recent Products Shortcode Styling
   ============================================ */
.cvp-recent-products.cvp-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 30px 0;
}
footer .simple-menu {
        display: flex;
    flex-direction: column;
    padding: 0!important;
    margin: 0;
}
footer .simple-menu li {
    padding: 0;
    margin:0;
}
footer .simple-menu li a,
footer .current-menu-item a {
    color: #ffffff!important;
    font-size: 16px;
    padding: 5px 0;
    text-transform: none;
    font-size: 20px;
    background-color: transparent!important;
}
footer .simple-menu li a:hover {
    background-color: transparent;
    color: #F7941D!important;
}
.cvp-stock-badge {
    display: none;
}
/* Tablet - 2 columns */
@media (max-width: 980px) {
    .cvp-recent-products.cvp-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile - 1 column */
@media (max-width: 767px) {
    .cvp-recent-products.cvp-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ============================================
   Featured Products Shortcode Styling
   ============================================ */
.cvp-featured-products.cvp-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 30px 0;
}

/* Tablet - 2 columns */
@media (max-width: 980px) {
    .cvp-featured-products.cvp-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile - 1 column */
@media (max-width: 767px) {
    .cvp-featured-products.cvp-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ============================================
   Simple Menu with Submenu Support
   ============================================ */

/* Simple Menu Base Styles */
.simple-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
    align-items: center;
}

.simple-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.simple-menu > li > a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    
}

.simple-menu > li > a:hover {
    background: rgba(247, 148, 29, 0.1);
    color: #f7941d;
}
#main-row ul.simple-menu {
    z-index: 1!important;
}
#top-menu ul.simple-menu{
    z-index: 99999;
}
/* Submenu Styles */
.simple-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border: 1px solid rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

/* Smooth reveal animation - FIXED: Added gap for hover area */
.simple-menu .menu-item-has-children:hover > .sub-menu,
.simple-menu .sub-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Add invisible hover area to prevent submenu from closing */
.simple-menu .menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 5px;
    background: transparent;
}

.simple-menu .sub-menu li {
    position: relative;
    
}

.simple-menu .sub-menu li a {
    display: block;
    padding: 12px 20px!important;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    border-radius: 4px;
    margin: 0 6px;
    position: relative;
}

/* Gradient hover effect */


/* Active item in submenu */




/* Nested Submenu (Grandchildren) */
.simple-menu .sub-menu .sub-menu {
    top: -8px;
    left: 100%;
    margin-left: 0;
}

.simple-menu .sub-menu .menu-item-has-children:hover > .sub-menu,
.simple-menu .sub-menu .sub-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Current Menu Item */
.simple-menu > .current-menu-item > a {
 
    color: #f7941d;
    background: rgba(247, 148, 29, 0.1);
}

/* Indicator for items with children - Improved */
.simple-menu .menu-item-has-children > a::after {
    content: '\25BC';
    font-size: 9px;
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.simple-menu .sub-menu .menu-item-has-children > a::after {
    content: '\25B6';
    float: right;
    margin-left: auto;
    margin-right: 0;
    font-size: 9px;
}

.simple-menu .sub-menu .menu-item-has-children:hover > a::after {
    transform: translateX(3px);
}

/* Divider between items */
.simple-menu .sub-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 2px;
    padding-bottom: 2px;
}

/* Responsive Mobile Menu */
@media (max-width: 768px) {
    .simple-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .simple-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .simple-menu > li > a {
        border-radius: 0;
    }

    .simple-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        border-radius: 0;
        margin-top: 0;
        pointer-events: auto;
    }

    .simple-menu .menu-item-has-children:hover > .sub-menu,
    .simple-menu .menu-item-has-children.active > .sub-menu {
        max-height: 1000px;
    }

    .simple-menu .sub-menu .sub-menu {
        position: static;
        left: auto;
        background: #f0f1f3;
        border-left: 3px solid #f7941d;
        margin-left: 15px;
    }

    .simple-menu .sub-menu li {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .simple-menu .sub-menu li a {
        padding-left: 30px;
        margin: 0;
        border-radius: 0;
    }

    .simple-menu .sub-menu li a:hover {
        transform: translateX(0);
        padding-left: 34px;
    }

    .simple-menu .sub-menu .sub-menu li a {
        padding-left: 45px;
    }

    .simple-menu .sub-menu .sub-menu li a:hover {
        padding-left: 49px;
    }

    /* Mobile arrow indicators */
    .simple-menu .menu-item-has-children > a::after {
        float: right;
    }

    .simple-menu > .menu-item-has-children:hover > a::after {
        transform: rotate(0deg);
    }

    .simple-menu > .menu-item-has-children.active > a::after {
        transform: rotate(180deg);
    }

    /* Remove hover gap on mobile */
    .simple-menu .menu-item-has-children::after {
        display: none;
    }
}
body:not(.logged-in) .loggedin-only {
    display: none!important;
}

/* ============================================
   Sticky Header on Scroll
   ============================================ */

/* Make header sticky */
.et-l--header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Add padding to body to compensate for fixed header */
body.has-fixed-header {
    padding-top: 160px; /* Adjust based on your header height */
}

/* Logo transition */
.et-l--header .et_pb_image_0_tb_header img {
    transition: all 0.3s ease;
    max-height: 80px;
    width: auto;
}

/* Top section padding transition */
.et-l--header .et_pb_section_0_tb_header {
    transition: all 0.3s ease;
}

.et-l--header .et_pb_section_0_tb_header .et_pb_row {
    transition: all 0.3s ease;
}

/* Main navigation transition */
.et-l--header #main-row {
    transition: all 0.3s ease;
}

.et-l--header #main-row .et_pb_row {
    transition: all 0.3s ease;
}

/* ============================================
   Scrolled State - Compact Header
   ============================================ */

/* When scrolled - compact mode */
.et-l--header.header-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Smaller logo on scroll */
.et-l--header.header-scrolled .et_pb_image_0_tb_header img {
    max-height: 50px;
}

/* Reduce top section padding */
.et-l--header.header-scrolled .et_pb_section_0_tb_header {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.et-l--header.header-scrolled .et_pb_section_0_tb_header .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Reduce main menu section padding */
.et-l--header.header-scrolled #main-row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.et-l--header.header-scrolled #main-row .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Smaller menu items padding on scroll */
.et-l--header.header-scrolled .simple-menu li a {
    padding-top: 8px;
    padding-bottom: 8px;
}

.et-l--header.header-scrolled #main-row .simple-menu li a {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Adjust top menu items */
.et-l--header.header-scrolled #top-menu .simple-menu li a {
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 14px;
}

/* Adjust search bar height */
.et-l--header.header-scrolled .top-search {
    transform: scale(0.9);
    transform-origin: right center;
}

.et-l--header.header-scrolled .top-search .et_pb_searchform input.et_pb_s {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/* Body padding adjustment when scrolled */
body.has-fixed-header.header-is-scrolled {
    padding-top: 100px; /* Smaller padding when header is compact */
}

/* ============================================
   Responsive Adjustments for Sticky Header
   ============================================ */

@media (max-width: 980px) {
    body.has-fixed-header {
        padding-top: 80px;
    }

    body.has-fixed-header.header-is-scrolled {
        padding-top: 65px;
    }

    .et-l--header .et_pb_image_0_tb_header img {
        max-height: 55px;
    }

    .et-l--header.header-scrolled .et_pb_image_0_tb_header img {
        max-height: 40px;
    }

    /* Hide main-row border on tablet/mobile when not in menu */
    .et-l--header #main-row {
        border: none !important;
    }
}

@media (max-width: 767px) {
    body.has-fixed-header {
        padding-top: 70px;
    }

    body.has-fixed-header.header-is-scrolled {
        padding-top: 55px;
    }

    .et-l--header .et_pb_image_0_tb_header img {
        max-height: 45px;
    }

    .et-l--header.header-scrolled .et_pb_image_0_tb_header img {
        max-height: 35px;
    }

    /* Compact header padding on mobile */
    .et-l--header .et_pb_section_0_tb_header .et_pb_row_0_tb_header {
        padding: 8px 15px !important;
    }

    .et-l--header.header-scrolled .et_pb_section_0_tb_header .et_pb_row_0_tb_header {
        padding: 5px 15px !important;
    }
}

/* ============================================
   Mobile Hamburger Menu
   ============================================ */

/* Hamburger button - hidden by default */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100001;
    position: relative;
}

.mobile-menu-toggle .hamburger {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-toggle .hamburger::before,
.mobile-menu-toggle .hamburger::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle .hamburger::before {
    top: -8px;
}

.mobile-menu-toggle .hamburger::after {
    bottom: -8px;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Hide mobile-only elements on desktop */
.mobile-menu-close,
.mobile-search-container,
.mobile-top-menu-container {
    display: none;
}

/* ============================================
   Mobile Responsive (max-width: 980px)
   ============================================ */

@media (max-width: 980px) {
    .et-l--header #main-row.mobile-menu-open {
        gap:0!important;
    }
    .mobile-top-menu-container {
        width: 100%;
        padding: 10px;
        max-width: 100%;
    }
    .mobile-top-menu-container .simple-menu{
        flex-direction: row !important;
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: space-evenly !important;
    }
    /* Show hamburger button */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile header layout */
    .et-l--header .et_pb_section_0_tb_header .et_pb_row_0_tb_header {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 20px !important;
    }

    /* Logo column */
    .et-l--header .et_pb_column_0_tb_header {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 200px !important;
    }

    /* Top menu column - hide on mobile, will be in slide menu */
    .et-l--header .et_pb_column_1_tb_header {
        display: none !important;
    }

    /* Main navigation section - mobile slide menu */
    .et-l--header #main-row {
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 300px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 100000 !important;
        padding: 0 !important;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15) !important;
        transition: right 0.3s ease !important;
        overflow-y: auto !important;
        border-top: none !important;
        border-bottom: none !important;
    }

    .et-l--header #main-row.mobile-menu-open {
        right: 0 !important;
    }

    .et-l--header #main-row .et_pb_row {
        padding: 0 !important;
    }

    /* Mobile menu close button */
    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        padding: 12px 20px;
        background: #f7941d;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #333;
        position: sticky;
        top: 0;
        z-index: 10;
        line-height: 1;
        transition: background 0.2s;
    }

    .mobile-menu-close:hover {
        background: #e67e00;
    }

    /* Hide hamburger X animation when menu is open - only show close button in menu */
    .mobile-menu-toggle.active .hamburger,
    .mobile-menu-toggle.active .hamburger::before,
    .mobile-menu-toggle.active .hamburger::after {
        display: none;
    }

    /* Search in mobile menu */
    .mobile-search-container {
        padding: 15px 20px;
        background: #f9f9f9;
        border-bottom: 1px solid #eee;
    }

    .mobile-search-container .top-search {
        width: 100%;
        transform: none !important;
        border-radius: 25px;
    }

    .mobile-search-container .et_pb_searchform {
        display: flex;
    }

    .mobile-search-container .et_pb_searchform input.et_pb_s {
        flex: 1;
        padding: 10px 15px !important;
    }

    /* Top menu in mobile (RO/EN/User) */
    .mobile-top-menu-container {
        padding: 0;
        border-bottom: 1px solid #eee;
        background: #fff;
    }

    .mobile-top-menu-container .simple-menu {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    .mobile-top-menu-container .simple-menu > li {
        width: auto !important;
        flex: 0 0 auto !important;
        border-bottom: none !important;
        border-right: 1px solid #eee;
        position: relative;
        display: inline-flex !important;
        align-items: center;
    }

    .mobile-top-menu-container .simple-menu > li:last-child {
        border-right: none;
        flex: 1 1 auto !important;
    }

    .mobile-top-menu-container .simple-menu li a {
        padding: 12px 15px !important;
        font-size: 14px !important;
        text-align: center !important;
        white-space: nowrap;
    }

    /* User submenu in mobile */
    .mobile-top-menu-container .menu-item-has-children {
        position: relative;
    }

    .mobile-top-menu-container .menu-item-has-children > a {
        display: inline-block !important;
        padding-right: 10px !important;
    }

    .mobile-top-menu-container .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f5f5f5 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: auto !important;
        width: 100%;
        border: none !important;
    }

    .mobile-top-menu-container .menu-item-has-children.submenu-open > .sub-menu {
        max-height: 200px;
    }

    .mobile-top-menu-container .sub-menu li {
        border-bottom: 1px solid #eee !important;
    }

    .mobile-top-menu-container .sub-menu li:last-child {
        border-bottom: none !important;
    }

    .mobile-top-menu-container .sub-menu li a {
        padding: 12px 20px !important;
        text-align: left !important;
        font-size: 14px !important;
    }

    /* Submenu toggle button */
    .mobile-top-menu-container .submenu-toggle {
        background: none;
        border: none;
        padding: 12px 15px;
        cursor: pointer;
        font-size: 18px;
        color: #333;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-top-menu-container .submenu-toggle .toggle-icon {
        font-weight: bold;
        line-height: 1;
    }

    /* Main menu items */
    #main-row .simple-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    #main-row .simple-menu > li {
        border-bottom: 1px solid #eee;
    }

    #main-row .simple-menu > li:last-child {
        border-bottom: none;
    }

    #main-row .simple-menu li a {
        display: block !important;
        padding: 16px 20px !important;
        font-size: 15px !important;
        text-align: left !important;
        border-radius: 0 !important;
        color: #333 !important;
        background: transparent !important;
    }

    #main-row .simple-menu li a:hover {
        background-color: #fff5eb !important;
        color: #f7941d !important;
    }

    #main-row .simple-menu li.current-menu-item a {
        background-color: #f7941d !important;
        color: #fff !important;
    }

    /* Hide dropdown arrow on mobile main menu */
    #main-row .simple-menu .menu-item-has-children > a::after {
        display: none;
    }

    /* Show overlay on mobile when menu is open */
    .mobile-menu-overlay {
        display: block;
        pointer-events: none;
    }

    .mobile-menu-overlay.active {
        pointer-events: auto;
    }

    /* Body scroll lock when menu is open */
    body.mobile-menu-active {
        overflow: hidden !important;
    }
}

/* Smaller mobile screens */
@media (max-width: 480px) {
    .et-l--header .et_pb_column_0_tb_header {
        max-width: 150px !important;
    }

    .et-l--header .et_pb_image_0_tb_header img {
        max-height: 40px !important;
    }

    .et-l--header #main-row {
        width: 280px !important;
        right: -280px !important;
    }

    .mobile-search-container {
        padding: 12px 15px;
    }

    #main-row .simple-menu li a {
        padding: 14px !important;
        font-size: 14px !important;
    }

    .mobile-top-menu-container .simple-menu li a {
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
    .et_pb_row_1_tb_header {
        width: 100%!important;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .et-l--header #main-row {
        width: 260px !important;
        right: -260px !important;
    }

    .et-l--header .et_pb_column_0_tb_header {
        max-width: 130px !important;
    }

    .et-l--header .et_pb_image_0_tb_header img {
        max-height: 35px !important;
    }
}