/*
Theme Name: Hello Elementor Child by Pixart
Theme URI: https://www.pixart.com.sg/
Description: Custom child theme developed by Pixart Pte Ltd for extending the Hello Elementor theme. This child theme provides a safe and maintainable environment for custom development, design enhancements, Elementor customizations, performance optimizations, third-party integrations, and project-specific functionality while preserving update compatibility with the parent theme.
Author: Pixart Pte Ltd
Author URI: https://www.pixart.com.sg/
Template: hello-elementor
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: hello-elementor-child
Domain Path: /languages
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: elementor, elementor-child-theme, custom-theme, responsive-layout,
      accessibility-ready, translation-ready, custom-logo, custom-menu,
      featured-images, e-commerce, woocommerce, seo-friendly

Copyright: © 2026 Pixart Pte Ltd
Company: Pixart Pte Ltd
Website: https://www.pixart.com.sg/

------------------------------------------------------------------

Hello Elementor Child Theme

Developed and maintained by Pixart Pte Ltd.

Pixart Pte Ltd is a Singapore-based web design and development agency
specializing in website design, web applications, e-commerce solutions,
content management systems (CMS), web hosting, SEO, SEM, and digital
marketing services. :contentReference[oaicite:0]{index=0}

This child theme is intended for:
- Elementor website customization
- Custom PHP development
- Custom CSS and JavaScript enhancements
- WooCommerce integrations
- SEO improvements
- Third-party API integrations
- Project-specific functionality
- Performance optimization

Parent Theme:
Hello Elementor
https://wordpress.org/themes/hello-elementor/

Developer:
Pixart Pte Ltd
20 Kramat Lane
#04-10 United House
Singapore 228773
https://www.pixart.com.sg/

------------------------------------------------------------------
*/

html,
body {
  overflow-x: hidden;
}

/* Firefox */
html {
  scrollbar-width: auto;
  scrollbar-color: #c40000 #f7f7f7;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f7f7f7;
  border-left: 1px solid #d9d9d9;
}

::-webkit-scrollbar-thumb {
  background: #c40000;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a90000;
}

/* Remove scrollbar arrows/buttons */
::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

/* More specific vertical button hiding */
::-webkit-scrollbar-button:vertical:start:decrement,
::-webkit-scrollbar-button:vertical:end:increment,
::-webkit-scrollbar-button:horizontal:start:decrement,
::-webkit-scrollbar-button:horizontal:end:increment {
  width: 0;
  height: 0;
  display: none;
}

/* Remove scrollbar corner */
::-webkit-scrollbar-corner {
  background: transparent;
}


@media (max-width: 767px) {

  /* ===== THE PANEL (e-n-menu-wrapper = #menubar-110) ===== */
  #menubar-110.e-n-menu-wrapper,
  #menubar-110 .e-n-menu-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 300px !important;
    max-width: 85% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #2b2b2b !important;
    z-index: 99999 !important;
    transition: none !important;
    --stretch-left: 0px !important;
    --stretch-right: auto !important;
    --stretch-width: 300px !important;
    --n-menu-dropdown-content-box-height: 100dvh !important;
  }

  /* ===== HEADING LIST FILLS PANEL ===== */
  #menubar-110 .e-n-menu-heading {
    flex-direction: column !important;
    width: 100% !important;
    background: transparent !important;
    overflow: visible !important;
  }

  /* ===== EACH MENU ITEM = FULL-WIDTH ROW ===== */
  #menubar-110 .e-n-menu-item {
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid #3a3a3a !important;
  }

  /* ===== TITLE + ARROW ON SAME ROW ===== */
  #menubar-110 .e-n-menu-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background: transparent !important;
  }

  #menubar-110 .e-n-menu-title-container {
    flex: 1 1 auto !important;
    width: auto !important;
    padding: 18px 20px !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }

  #menubar-110 .e-n-menu-title-text {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  /* ===== DROPDOWN ARROW (pinned right) ===== */
  #menubar-110 .e-n-menu-dropdown-icon {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 2 !important;
    background: transparent !important;
  }

  #menubar-110 .e-n-menu-dropdown-icon svg {
    fill: #ffffff !important;
    width: 12px !important;
    height: 12px !important;
  }

  /* ===== ACTIVE / CURRENT / OPEN: text red, background stays dark ===== */
  #menubar-110 .e-n-menu-item:hover .e-n-menu-title-text,
  #menubar-110 .e-current .e-n-menu-title-text,
  #menubar-110 .e-active .e-n-menu-title-text {
    color: #c40000 !important;
  }

  /* Force NO white background on active/current/open items */
  #menubar-110 .e-n-menu-item.e-current .e-n-menu-title-container,
  #menubar-110 .e-n-menu-item.e-active .e-n-menu-title-container,
  #menubar-110 .e-n-menu-title-container.e-current,
  #menubar-110 .e-n-menu-title-container.e-active,
  #menubar-110 .e-n-menu-title-container.e-focus,
  #menubar-110 .e-n-menu-title-container[aria-expanded="true"],
  #menubar-110 .e-n-menu-item:hover .e-n-menu-title-container {
    background: transparent !important;
    background-color: transparent !important;
  }

  /* ===== SUBMENU CONTENT: keep in flow inside panel ===== */
  #menubar-110 .e-n-menu-content {
    position: static !important;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: #2b2b2b !important;
  }

  #menubar-110 .e-n-menu-content .e-con,
  #menubar-110 .e-n-menu-content .e-con-inner {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    background: transparent !important;
  }

  /* ===== MEGA MENU: single column ===== */
  #menubar-110 .af-mega-menu {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
  }

  #menubar-110 .af-brand-dropdown {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ===== MEGA MENU / BRAND LINK COLORS ===== */
  #menubar-110 .af-mega-col h4 {
    color: #ffffff !important;
  }

  #menubar-110 .af-mega-col a,
  #menubar-110 .af-brand-dropdown a {
    color: #cfcfcf !important;
  }

  #menubar-110 .af-mega-col a:hover,
  #menubar-110 .af-brand-dropdown a:hover {
    color: #c40000 !important;
  }
}