/*────────────────────────────────────────────────────────────────────────*/
/* RESET & BASE */
/*────────────────────────────────────────────────────────────────────────*/





/*────────────────────────────────────────────────────────────────────────*/
/* HEADER LAYOUT */
/*────────────────────────────────────────────────────────────────────────*/
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
  --header-height: 132px; /* Adjust this value based on your actual header height */
}

/*────────────────────────────────────────────────────────────────────────*/
/* NAVIGATION BASE STYLES */
/*────────────────────────────────────────────────────────────────────────*/
nav {
  width: 100%;
  font-size: 17px;
}
nav ul {
  list-style: none;
  display: flex;
  background-color: rgb(43, 33, 22);
  align-items: center;
}
nav li {
  position: relative;       /* dropdown & offset context */
  margin-right: 1rem;
  left: var(--offsetX, 0px);
}
nav a {
  position: relative;       /* for the ::after underline */
  padding: 0.75rem 1rem;
  text-decoration: none;
  white-space: nowrap;
  color: inherit;
}

nav ul li{
  --dropdownOffsetY: 11px;
  --dropdownStartY: -10px;
}

/*────────────────────────────────────────────────────────────────────────*/
/* UNDERLINE ANIMATION */
/*────────────────────────────────────────────────────────────────────────*/
/* Attach the underline */
nav > ul > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;                      /* stick to the bottom of the link */
  left: 50%;                      /* start in the middle */
  transform: translateX(-50%);    /* center it horizontally */
  width: 0;                       /* hidden */
  height: 2.3px;                    /* constant thickness */
  /*background-color: #DA8A67;*/ /* your brand color */
  background-color: #0a0a0a;
  transition: width 0.5s ease;    /* animate ONLY the width */
  z-index: 1000;
}

/* Animate on hover */
nav > ul > li:hover > a::after {
  width: calc(100% - 2rem);                    /* grows to full text width */
}

/* Special case for Solutions menu - keep underline visible when hovering submenu */
nav > ul > li.menu_Solutions:hover > a::after,
nav > ul > li.menu_Solutions .submenu:hover + a::after {
  width: calc(100% - 2rem);
}

/*────────────────────────────────────────────────────────────────────────*/
/* DROPDOWN SUBMENU ANIMATION */
/*────────────────────────────────────────────────────────────────────────*/
/* Base hidden state */
nav ul li .submenu {
  position: absolute;
  /* drop it down by your variable offset */
  top: calc(100% + var(--dropdownOffsetY));
  /* center horizontally under the <li> */
  left: 50%;
  /* combine X-centering + your slide-start Y-offset */
  transform: translate(-50%, var(--dropdownStartY));
  /* hide & lift initially */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out,
    visibility 0s linear 0.2s;
  z-index: 1000;

  background-color: rgb(255, 255, 255);
}



/* Submenu styling */
nav ul li .submenu.language-sumbenu {
    top: calc(100% + 5px);
}




/* Show on parent hover */
nav ul li:hover > .submenu {
  /* X still –50% (stay centered), Y → 0 (slide into place) */
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

/* Submenu links (no underline) */
nav ul li .submenu a {
  padding: 0.5rem 1rem;
  white-space: nowrap;
  color: rgb(51,51,51);
}

/*────────────────────────────────────────────────────────────────────────*/
/* Top and Bottom COLOR OVERRIDES & OFFSETS */
/*────────────────────────────────────────────────────────────────────────*/
.top-nav ul {
  background-color: rgb(255,255,255);
  justify-content: flex-end;
}
.top-nav ul a {
  color: rgb(51,51,51);
}

/* Position submenu relative to the header for proper full-width alignment */
.main-nav {
  margin-top: 3px;
  margin-bottom: 5px;
  position: relative;
  
}

.main-nav ul {
  background-color: rgb(255,255,255);
  justify-content: flex-end;
}
.main-nav a {
  color: rgb(51,51,51);
}

/* Example offsets */
.menu_item.menu_Home       { --offsetX:  0px; }
.menu_item.menu_Solutions  { --offsetX:  0px; }

/* Standard submenu styles for other menu items */
nav ul .submenu:not(.menu_Solutions .submenu) {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: white;
  border-radius: 4px;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.1),
    0 4px 6px rgba(0, 0, 0, 0.15);
}

.main-nav li.menu_ContactUs {
  border: 2px solid ;   
   /* Fix later */   
}

/* make room for your icon + arrow */
.main-nav li.menu_Language > a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

/* flag icon on the left */
.lang-icon {
  width: 18px;            /* Made smaller (was 21px) */
  height: auto;
  margin-right: 0.5rem;
  display: block;
  position: relative;     /* Enable positioning */
  left: 5px;            /* Move 10px to the right */
  top: 0px;              /* Adjust vertical position if needed */
}

/* arrow on the right */
.lang-arrow {
  margin-left: 0.5rem;
  font-size: 0.8em;
  line-height: 1;
  transition: transform 0.8s;
}

/* hover effect (optional) */
.main-nav li.menu_Language > a:hover .lang-arrow {
  transform: rotate(180deg);
}

nav.main-nav > ul > li.menu_Language > a {
transition: opacity 0.3s ease 0.1s;
}

nav.main-nav > ul > li.menu_Language > a:hover{
opacity: 0.5;
}

nav  ul.submenu > li > a {
transition: opacity 0.3s ease 0.1s;
}

nav  ul.submenu > li > a:hover{
opacity: 0.5;
}

/* Disable the hover‐underline */
nav.main-nav > ul > li.menu_Language > a::after{
  display: none;
}

nav.main-nav > ul > li.menu_ContactUs > a::after{
  display: none;
}

/*────────────────────────────────────────────────────────────────────────*/
/* FULL-WIDTH 'SOLUTIONS' DROPDOWN MENU */
/*────────────────────────────────────────────────────────────────────────*/

.menu_Solutions {
  position: relative; /* delete later? your existing positioning context */
}

/* Create an invisible hover bridge for Solutions menu */
.menu_Solutions::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px; /* Bridge height - matches the gap */
  background: transparent;
  width: 100vw; /* Fix this logic later */
  transform: translateX(-50vw); /* Fix this logic later */
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  color: #c97a5a;
}


/* Show the bridge on hover */
.menu_Solutions:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Full-width dropdown for Solutions - spans entire screen width */
.menu_Solutions .submenu {
  position: fixed;
  top: calc(var(--header-height, 120px) - 40px); /* Extended further upward by 30px for seamless hover */
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: 
    opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 0s linear 0.3s;
  z-index: 999;
  
  /* Add larger invisible padding at the top for seamless hover bridge */
  padding-top: 1px;
  
  /* Rolling animation setup */
  max-height: 0;
  overflow: hidden;
  transition: 
    max-height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Create the visible content area with proper styling */
.menu_Solutions .submenu::before {
  content: '';
  position: absolute;
  top: 0px; /* Start the background after the invisible hover bridge */
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 0;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.08);
  border-top: 3px solid #ffffff;
  z-index: -1;
}

/* Show on hover with smooth rolling effect */
.menu_Solutions:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 450px; /* Adjusted to accommodate the 300px grid + padding */
  transition-delay: 0s;
}

/* Keep the submenu visible when hovering over it */
.menu_Solutions .submenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 450px;
}

/* Maintain parent hover state when hovering submenu */
.menu_Solutions .submenu:hover ~ a::after,
.menu_Solutions:hover > a::after {
  width: calc(100% - 2rem);
}

/* Grid layout for full-width content - positioned after the invisible hover bridge */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
  padding: 1.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1; /* Ensure content appears above the background */
  height: 410px;
  overflow-y: auto;
}

/* Solution category styling */
.solution-category {
  background: white;
  border-radius: 2px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: fit-content;
  max-height: 180px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}



.solution-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.solution-category h3 {
  color: #2c3e50;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #363534;
}

.solution-category ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.solution-category li a {
  color: #555;
  text-decoration: none;
  padding: 0.3rem 0;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: block;
  font-size: 0.9rem;
  line-height: 1.3;
}

.solution-category li a:hover {
  color: #000000;
  background-color: #ffffff;
  padding-left: 0.5rem;
}

/* Featured solution styling */
.featured-solution {
  grid-column: span 2;
  background: linear-gradient(135deg, 
  #000000 0%, #ffffff 100%);
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  max-height: 250px;
  height: 180px;
  padding: 1rem;
}

.featured-solution h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  border: none;
}

.featured-solution p {
  font-size: 0.9rem;
  opacity: 0.9;
  max-width: 350px;
  line-height: 1.4;
}

.cta-button {
  --accent-color: transparent;  /* Fix later */
  background: white;
  color: #DA8A67;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.75rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cta-button:hover {
  background: #6795c4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(112, 212, 103, 0.616);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    height: 280px;
  }
  
  .featured-solution {
    grid-column: span 1;
    min-height: 120px;
    max-height: 200px;
  }
  
  .solution-category {
    max-height: 200px;
    padding: 0.8rem;
  }
  
  .solution-category h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .solution-category li a {
    font-size: 0.8rem;
    padding: 0.25rem 0;
  }
}


/*────────────────────────────────────────────────────────────────────────*/
/* FULL-WIDTH 'PRODUCTS' DROPDOWN MENU */
/*────────────────────────────────────────────────────────────────────────*/

/* Create an invisible hover bridge for Solutions menu */
.menu_Products::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px; /* Bridge height - matches the gap */
  background: transparent;
  width: 100%; /* Fix this logic later */
  transform: translateX(-50%); /* Fix this logic later */
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  color: #c97a5a;
}


/* Show the bridge on hover */
.menu_Products:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Full-width dropdown for Solutions - spans entire screen width */
.menu_Products .submenu {
  position: fixed;
  top: calc(var(--header-height, 120px) - 35px); /* Extended further upward by 30px for seamless hover */
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: 
    opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 0s linear 0.5s;
  z-index: 999;
  
  /* Add larger invisible padding at the top for seamless hover bridge */
  padding-top: 10px;
  
  /* Rolling animation setup */
  max-height: 0;
  overflow: hidden;
  transition: 
    max-height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Create the visible content area with proper styling */
.menu_Products .submenu::before {
  content: '';
  position: absolute;
  top: 0px; /* Start the background after the invisible hover bridge */
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
  background: transparent;
  border-radius: 0;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.08);
  border-top: 3px solid #ffffff;
  z-index: -1;
}

/* Show on hover with smooth rolling effect */
.menu_Products:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 730px; /* Increased to account for larger padding-top */
  transition-delay: 0s;
}

/* Keep the submenu visible when hovering over it */
.menu_Products .submenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 730px;
}

/* Maintain parent hover state when hovering submenu */
.menu_Products .submenu:hover ~ a::after,
.menu_Products:hover > a::after {
  width: calc(100% - 2rem);
}

/* ── Products grid wrapper ── */
.menu_Products .submenu .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}


/* ── Individual product cards ── */
.menu_Products .submenu .products-grid a.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem;
  border-radius: 8px;
}


.menu_Products .submenu .products-grid .product-card img {
  width: 220px; /* Reduced from 172px for better fit */
  height: 170px; /* Reduced from 172px for better fit */
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.menu_Products .submenu .products-grid a.product-card:hover img {
  transform: scale(1.05);
}


.menu_Products .submenu .products-grid .product-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.menu_Products .submenu .products-grid .product-card p {
  font-size: 0.875rem;
  line-height: 1.2;
  color: #555;
}

/* ── Mobile: two per row ── */
/* ── Responsive breakpoints ── */

/* Ensure products always fit within viewport */
@media (max-width: 1400px) {
  .menu_Products .submenu .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
  }
}

/* Large tablets and small desktops (up to 1024px) */
@media (max-width: 1024px) {
  .menu_Products .submenu .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
  }
  
  .menu_Products .submenu .products-grid .product-card img {
    width: 100px;
    height: 100px;
  }
}

/* Tablets (up to 768px) */
@media (max-width: 768px) {
  .menu_Products .submenu .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
    padding: 2rem 1rem;
  }
  
  .menu_Products .submenu .products-grid .product-card img {
    width: 90px;
    height: 90px;
  }
  
  .menu_Products .submenu .products-grid .product-card h4 {
    font-size: 0.9rem;
  }
  
  .menu_Products .submenu .products-grid .product-card p {
    font-size: 0.8rem;
  }
}

/* Mobile phones (up to 640px) */
@media (max-width: 640px) {
  .menu_Products .submenu .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem 0.75rem;
  }
  
  .menu_Products .submenu .products-grid .product-card img {
    width: 80px;
    height: 80px;
  }
  
  .menu_Products .submenu .products-grid a.product-card {
    padding: 0.75rem;
  }
}

/* Very small screens (up to 480px) */
@media (max-width: 480px) {
  .menu_Products .submenu .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }
  
  .menu_Products .submenu .products-grid .product-card img {
    width: 100px;
    height: 100px;
  }
  
  .menu_Products .submenu .products-grid .product-card h4 {
    font-size: 1rem;
  }
  
  .menu_Products .submenu .products-grid .product-card p {
    font-size: 0.875rem;
  }
}


/*────────────────────────────────────────────────────────────────────────*/
/* HIDE RULES FOR MOBILE */
/*────────────────────────────────────────────────────────────────────────*/
@media (max-width: 1070px) {
  .site-header__logo,
  .site-header,
  .top-nav,
  .main-nav,
  .fade-rule {
    display: none;
  }
}





        /* Mobile Header */
        .mobile-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 70px;
            background: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            z-index: 1001;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        /* Burger Menu Button */
        .burger-menu {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 24px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            z-index: 1002;
        }

        .burger-line {
            width: 100%;
            height: 3px;
            background: #333;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        /* Burger animation when active */
        .burger-menu.active .burger-line:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .burger-menu.active .burger-line:nth-child(2) {
            opacity: 0;
        }

        .burger-menu.active .burger-line:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* Logo */
        .mobile-logo {
        /* Remove absolute centering */
        position: static;        /* was absolute */
        transform: none;         /* was translateX(-50%) */
        margin: 0;               /* remove auto centering */
        margin-left: 70px;       /* push to the right */
        flex-shrink: 0;          /* prevent unwanted shrinking */
        }

        .mobile-logo img {
        display: block;
        width: clamp(40px, 30vw, 220px);  /* fluid between n px and n px */
        height: auto;                     /* maintain aspect ratio */
        object-fit: contain;
        }

        /* Language Selector */
        .mobile-language {
            position: relative;
            z-index: 1002;
        }

        .mobile-language-button {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #333;
            background: none;
            border: none;
            padding: 8px;
            cursor: pointer;
        }

        .mobile-language .lang-icon {
            width: 16px;          /* Made smaller (was 20px) */
            height: auto;
            position: relative;   /* Enable positioning */
            left: 8px;           /* Move 8px to the right */
            top: 0px;            /* Adjust vertical position if needed */
        }

        .lang-arrow {
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .mobile-language.active .lang-arrow {
            transform: rotate(180deg);
        }

        .mobile-language-dropdown {
            position: absolute;
            top: calc(100% + 5px);
            right: 0px;
            left: 0px;
            background: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border-radius: 6px;
            padding: 6px 0;
            min-width: 120px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.08);
        }

        .mobile-language.active .mobile-language-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .mobile-language-dropdown li {
            list-style: none;
            margin: 2px 0;
        }

        .mobile-language-dropdown a {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8px 16px;
            color: #333;
            text-decoration: none;
            transition: all 0.3s ease;
            text-align: center;
            min-width: 80px;
            font-size: 14px;
        }

        .mobile-language-dropdown a:hover {
            background-color: #f5f5f5;
            color: #DA8A67;
        }

        /* Mobile Menu Overlay */
        .mobile-menu-overlay {
            position: fixed;
            top: 70px;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
            z-index: 999;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Expandable submenu styles */
        .expandable .submenu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .expand-btn {
            width: 24px;
            height: 24px;
            border: none;
            background: none;
            color: #333;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            margin-left: 10px;
            transition: transform 0.3s ease;
        }

        .expandable.active .expand-btn {
            transform: rotate(45deg);
        }

        .submenu-content {
            max-height: 0;
            overflow: hidden;
            padding-left: 25px;  /* Links to be more to the right side */
            opacity: 0;
            transition: all 0.3s ease-in-out;
        }

        .expandable.active .submenu-content {
            max-height: 300px;
            opacity: 1;
            margin-top: 10px;
        }

        .submenu-sublink {
            display: block;
            padding: 8px 0 8px 5px;  /* Added 5px left padding */
            color: #666;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .submenu-sublink:hover {
            color: #DA8A67;
        }

        /* Mobile Menu Container */
        .mobile-menu {
            position: fixed;
            top: 70px;
            left: 0;
            right: 0;
            background: white;
            z-index: 1000;
            
            /* Curtain effect setup */
            max-height: 0;
            overflow: hidden;
            transform-origin: top;
            transition: max-height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
            
            /* Add subtle shadow for depth */
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .mobile-menu.active {
            max-height: 100vh;
        }

        /* Menu Content */
        .mobile-menu-content {
            padding: 20px;
            transform: translateY(-20px);
            opacity: 0;
            transition: transform 0.4s ease 0.2s, opacity 0.4s ease 0.2s;
        }

        .mobile-menu.active .mobile-menu-content {
            transform: translateY(0);
            opacity: 1;
        }

        /* Menu Items */
        .mobile-menu-item {
            border-bottom: 1px solid #f0f0f0;
        }

        .mobile-menu-item:last-child {
            border-bottom: none;
        }

        .mobile-menu-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 0;
            color: #333;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .mobile-menu-link:hover {
            color: #000000;
        }

        .menu-arrow {
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .mobile-menu-item.has-submenu .menu-arrow {
            transform: rotate(0deg);
        }

        .mobile-menu-item.has-submenu.active .menu-arrow {
            transform: rotate(180deg);
        }

        /* Submenu */
        .mobile-submenu {
            max-height: 0;
            overflow: hidden;
            background: #fbfbfb;
            margin: 0 -20px;
            padding: 0 20px;
            transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .mobile-menu-item.active .mobile-submenu {
            max-height: 500px;
            padding: 10px 20px 20px 20px;
        }

        .mobile-submenu-item {
            padding: 12px 0;
            border-bottom: 1px solid #e9ecef;
        }

        .mobile-submenu-item:last-child {
            border-bottom: none;
        }

        .mobile-submenu-link {
            color: #000000;
            text-decoration: none;
            font-size: 14px;
            font-weight: 400;
            transition: color 0.3s ease;
            padding-left: 20px;
        }

        .mobile-submenu-link:hover {
            color: #000000;
        }

        /* Products Grid in Mobile */
        .mobile-products-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            padding: 15px 0;
        }

        .mobile-product-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            text-decoration: none;
            color: inherit;
            padding: 15px;
            background: white;
            border-radius: 2px;
            /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
            transition: transform 0.3s ease;
        }

        .mobile-product-card:hover {
            transform: translateY(-2px);
        }

        .mobile-product-card img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 6px;
            margin-bottom: 8px;
        }

        .mobile-product-card h4 {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 4px;
            color: #2c3e50;
        }

        .mobile-product-card p {
            font-size: 12px;
            color: #000000;
            line-height: 1.3;
        }

        /* Hide on desktop */
        @media (min-width: 1070px) {
            .mobile-header,
            .mobile-menu,
            .mobile-menu-overlay {
                display: none;
            }
        }

/*────────────────────────────────────────────────────────────────────────*/
/* LANGUAGE SUBMENU CUSTOM POSITIONING */
/*────────────────────────────────────────────────────────────────────────*/
/* Style the language submenu specifically */
.submenu.language-sumbenu {
    text-align: right; /* Align text to the right */
}

/* Move individual language options to the right */
.submenu.language-sumbenu li {
    text-align: right; /* Align list items to the right */
}

.submenu.language-sumbenu li a {
    padding-left: 2rem; /* Add more padding to push text right */
    padding-right: 1rem; /* Keep right padding normal */
    text-align: right; /* Align text inside links to the right */
    justify-content: flex-end; /* If using flexbox, align to right */
    display: block; /* Ensure it takes full width for right alignment */
}

