    /* ===========================
            Nav-bar CSS
   ============================ */
:root {
  --primary: #1a73e8;
  --primary-hover: #4a8ff7;
  --active: #2965ff;
  --menu-bg: #fff;
  --hover-bg: #f3f7fb;
  --nav-height: 60px;
  --nav-font: 'Inter', Arial, sans-serif;
  --orange: #1A73E8;
  --gray: #f7f7f7;
  --dark: #161616;
  --gray-bg: #f8f8f9;
  --gray-border: #ededed;
  --arrow-bg: #b8b8b8;
  --arrow-size: 36px;
  --carousel-width: 940px;
  --carousel-gap: 16px;
  --main-orange: #1A73E8;
  --white: #fff;
  --shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.07);
  --border-radius: 18px;
  --transition: 0.35s cubic-bezier(.77, 0, .18, 1);
  --card-radius: 18px;
  --shadow-card: 0 6px 32px #0001;
  --orange-alt: #1A73E8;
  --main-blue: #2563eb;
  --blue-hover: #174cb8;
  --faq-shadow: 0 4px 16px rgba(37, 99, 235, 0.11);
}

:root {
  --active: #2965ff;
  --menu-bg: #fff;
  --hover-bg: #f3f7fb;
  --accent: #2965ff;
  --nav-height: 60px;
  --item-border: #e5e8ef;
  --dropdown-radius: 14px;
  --shadow: 0 10px 32px rgba(80, 80, 80, 0.13);
}

html { scroll-behavior: smooth; background: #f6f8fc; }
body { margin: 0; font-family: var(--nav-font); min-height: 100vh; padding: 0; box-sizing: border-box; }

/* Prevent background scroll when a desktop mega dropdown is open */
body.lock-scroll { overflow: hidden; }

/*--------- Nav-Bar Section CSS ---------*/
.navbar {
  display: flex; align-items: center; justify-content: center;
  height: var(--nav-height); background: var(--menu-bg);
  border-bottom: 1px solid #e5e5e5; z-index: 1030; padding: 0 0;
}
@media(min-width: 1024px){ .navbar { padding: 0 100px; } }

.navbar .logo { display: flex; align-items: center; }
.navbar .logo img { height: 36px; width: auto; display: block; }

.nav-center { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; padding-left: 120px; }
.nav-links { display: flex; align-items: center; gap: 22px; }

.nav-link, .dropdown-link {
  color: #232323; text-decoration: none; font-size: 15px; padding: 2px 0; position: relative;
  cursor: pointer; background: none; border: none; font-family: inherit; transition: color 0.16s, font-weight 0.14s; font-weight: 500;
}
.nav-link.active { color: var(--active); font-weight: 600; text-decoration: none; }
.nav-link.active:after {
  content: ''; display: block; margin: 0 auto; width: 18px; height: 2.5px; border-radius: 2px; background: var(--active);
  position: absolute; left: 0; right: 0; bottom: -7px;
}
.nav-link:hover:not(.active){ color: var(--active); }

.dropdown { position: relative; }

/* ---- Mega Dropdown Menu Styling ---- */
.dropdown-toggle {
  display: flex; 
  align-items: center; gap: 4px; cursor: pointer; background: none; border: none;
  color: #232323; font-size: 15px; font-family: inherit; 
  padding: 2px 0;
  font-weight: 500;
}

/* Outer shell is fixed, non-scrolling; inner content scrolls with overscroll containment */
.mega-dropdown-menu {
  display: none; position: fixed; left: 0; top: var(--nav-height); width: 100vw; background: #fff;
  border-radius: 0 0 var(--dropdown-radius) var(--dropdown-radius); box-shadow: var(--shadow);
  padding: 36px 54px; z-index: 120; animation: fadeInSearch 0.13s;
  max-height: calc(100vh - var(--nav-height)); overflow: hidden;
}
.dropdown.open>.mega-dropdown-menu { display: block; }

/* SCROLLABLE area with proper max-height; prevents background scroll chaining */
.mega-dropdown-content {
  display: flex; flex-direction: column; gap: 40px; width: 100%; box-sizing: border-box; max-width: 1440px; margin: 0 auto;
  max-height: calc(100vh - var(--nav-height) - 72px);
  overflow-y: auto; padding-right: 8px; overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
}

.mega-dropdown-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; align-items: start; }

.dropdown-category { display: flex; flex-direction: column; padding: 10px 0; min-width: 155px; max-width: 250px; }
.category-title { font-size: 15.5px; font-weight: 700; color: var(--accent); margin-bottom: 11px; text-transform: capitalize; letter-spacing: 0.5px; padding-bottom: 2px; border-bottom: 1.5px solid #ececec; }

.dropdown-category a {
  font-size: 14px; color: #232323; padding: 6px 0; text-decoration: none; border-radius: 5px; margin: 0 0 2px 0;
  transition: background 0.13s, color 0.13s; display: block;
}
.dropdown-category a:hover { color: var(--accent); background: #eaf0ff; font-weight: 600; }

.more-link { font-size: 14px; padding: 6px 0; text-decoration: none; cursor: pointer; display: block; margin: 0 0 2px 0; transition: background 0.13s, color 0.13s; }
.more-link:hover { background: #eaf0ff; font-weight: 600; }
.hidden-subcategory { display: none; }

/* Search Bar (desktop) */
.search-bar-wrapper { position: relative; margin-left: 28px; }
.custom-search-bar { display: flex; align-items: center; gap: 6px; cursor: pointer; background: transparent; border: none; outline: none; padding: 2px 0 2px 0; min-width: 0; font-size: 15px; color: #232323; font-family: inherit; z-index: 50; box-shadow: none; }
.custom-search-bar:focus, .custom-search-bar.active { outline: none; box-shadow: none; }
.custom-search-bar i { font-size: 15px; color: #232323; margin-left: 2px; }
.custom-search-bar .search-text { font-weight: 500; font-size: 15px; color: #232323; user-select: none; transition: color 0.2s; letter-spacing: 0; }

.search-dropdown {
  display: none; position: absolute; left: 0; top: calc(100% + 2px); min-width: 230px; max-width: 260px; background: #fff;
  border-radius: 7px; box-shadow: 0 6px 22px 0 rgba(100, 100, 140, 0.14); padding: 13px 13px 4px 13px; z-index: 500; animation: fadeInSearch 0.16s; border: 1px solid #dbe2ed; transition: border-color 0.2s;
}
.search-bar-wrapper.active .search-dropdown { display: block; border-color: #2965ff; }
.search-dropdown input {
  width: 100%; border: 1px solid #c8cfe6; border-radius: 6px; padding: 7px 10px 7px 32px; font-size: 14px; outline: none;
  background: #fff url('https://cdn-icons-png.flaticon.com/128/49/49116.png') 7px 6px no-repeat; background-size: 17px; color: #232323; box-sizing: border-box;
}
.search-dropdown input:focus { border-color: var(--active); }
.search-suggestions { margin-top: 10px; padding-bottom: 4px; max-height: 180px; overflow-y: auto; }
.search-suggestion { padding: 7px 9px; border-radius: 4px; font-size: 14px; color: #343a4d; cursor: pointer; margin-bottom: 1px; transition: background 0.13s; display: block; text-decoration: none; }
.search-suggestion:last-child { margin-bottom: 0; }
.search-suggestion:hover { background: var(--hover-bg); color: var(--primary); text-decoration: none; }

@keyframes fadeInSearch { from{opacity:0;transform:translateY(-7px)} to{opacity:1;transform:translateY(0)} }

.nav-right { display: flex; align-items: left; }
.google-translate-wrap { display: flex; align-items: center; min-width: 150px; }
.goog-te-combo { border-radius: 5px !important; border: 1px solid #ccc !important; font-size: 12px !important; padding: 2px 6px !important; color: #444 !important; width: 130px !important; min-width: 120px !important; max-width: 160px !important; height: 25px !important; line-height: 1.3 !important; }
.goog-logo-link, .goog-te-gadget span { display: none !important; }
.goog-te-gadget { font-size: 0 !important; }

.hamburger { display: none; background: none; border: none; font-size: 23px; color: #222; cursor: pointer; margin-left: 14px; }

/* ===================== MOBILE OVERRIDES ===================== */
@media (max-width: 900px) {
  .navbar { padding: 0 10px; }
  .mega-dropdown-menu { padding: 20px 15px; }
  .mega-dropdown-content { max-height: none; overflow: visible; }
  .mega-dropdown-row { gap: 15px; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .navbar { justify-content: space-between !important; align-items: center; padding: 0 12px !important; }
  .navbar .logo { margin-left: 2px; margin-right: 0; flex-shrink: 0; }
  .hamburger { margin-right: 4px; margin-left: 0; flex-shrink: 0; display: block; }
  .nav-center, .nav-right { display: none !important; }
  .navbar { padding: 0 3vw 0 1vw; }

  .mobile-menu-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.12); z-index: 998; }

  .mobile-menu {
    display: block; position: fixed; top: var(--nav-height); right: 0; width: 99vw; max-width: 310px; background: #fff;
    box-shadow: 2px 7px 26px 0 rgba(40, 40, 60, 0.12); border-radius: 0 0 14px 14px; z-index: 999; padding: 18px 0;
    min-height: 90vh; overflow-y: auto;
  }

  .mobile-links { display: flex; flex-direction: column; gap: 0; padding-left: 0; margin: 0; }
  .mobile-link, .mobile-dropdown-link {
    font-size: 15px; color: #191919; padding: 11px 0 11px 22px; background: none; border: none; text-align: left; width: 100%;
    font-family: inherit; margin: 0; text-decoration: none !important;
  }
  .mobile-link.active:after { content: ''; display: block; width: 16px; height: 2px; background: var(--active); margin-top: 2px; border-radius: 2px; }

  .mobile-dropdown { display: flex; flex-direction: column; width: 100%; }
  .mobile-dropdown-toggle {
    display: flex; align-items: center; gap: 7px; font-size: 15px; cursor: pointer; font-family: inherit;
    background: none; border: none; outline: none; text-decoration: none !important; padding: 11px 0 11px 22px;
  }
  .mobile-dropdown-toggle i { transition: transform 0.18s ease; }

  .mobile-dropdown-menu {
    display: none; flex-direction: column; background: #fff; border-radius: 6px; margin: 2px 0 7px 19px;
    box-shadow: 0 1px 8px rgba(120, 120, 150, 0.04); padding: 6px 0; width: 92%; max-height: calc(100vh - 200px); overflow-y: auto;
  }
  .mobile-dropdown.open .mobile-dropdown-menu { display: flex; }

  .mobile-dropdown-link { font-size: 14px; color: #1a1a1a; padding: 9px 16px 9px 7px; border-radius: 3px; margin: 0; text-decoration: none !important; }
  .mobile-dropdown-link:hover { background: var(--hover-bg); color: var(--primary); }

  .mobile-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; margin: 15px 0 0 0; width: 100%; }

  /* ===== MOBILE SEARCH: compact, centered, icon fully visible ===== */
  .mobile-search-container { width: 100%; display: flex; padding-left: 35px; position: relative; }
  .mobile-search-bar {
    border: 1px solid #d4d7dd;
    border-radius: 8px;
    height: 36px;                 /* compact height */
    line-height: 36px;
    padding: 0 10px 0 34px;      /* room for icon */
    font-size: 14px;
    outline: none;
    width: 85%;                   /* shorter length */
    max-width: 240px;             /* cap width */
    min-width: 180px;             /* avoid too tiny */
    box-sizing: border-box;
    background-color: #fff;
    background-image: url('https://cdn-icons-png.flaticon.com/128/49/49116.png');
    background-repeat: no-repeat;
    background-size: 16px 16px;   /* icon size */
    background-position: 10px 50%;/* fully visible, vertically centered */
  }
  .mobile-search-bar:focus { border-color: #2965ff; }

  .mobile-search-suggestions {
    /* background: #fff; box-shadow: 0 6px 22px 0 rgba(100, 100, 140, 0.10); border-radius: 6px; margin-top: 6px; padding: 7px 7px 2px 7px; */
    max-height: 160px; overflow-y: auto;
    width: 85%; max-width: 240px; min-width: 180px;   /* match input width */
    position: absolute; left: 50%; transform: translateX(-50%);
    z-index: 9999;
  }

  .mobile-google-translate-wrap { margin-top: 0; width: 100%; display: flex; padding-left: 35px; }
  .mobile-google-translate-wrap .goog-te-combo { width: 130px !important; min-width: 130px !important; max-width: 130px !important; font-size: 12px !important; height: 26px !important; }

  .mega-dropdown-menu { position: static; transform: none; width: 100%; box-shadow: none; border-radius: 0; background: none; padding: 0; overflow-y: visible; }
  .mega-dropdown-content { display: flex; flex-direction: column; gap: 20px; }
  .mega-dropdown-row { display: flex; flex-direction: column; gap: 10px; }
  .dropdown-category { margin-bottom: 10px; min-width: 0; width: 100%; padding: 5px 0; }
  .category-title { padding: 7px 10px 3px 10px; }
  .dropdown-category a { padding: 8px 10px; font-size: 15px; }
  .more-link { display: none !important; }
  .dropdown-category .hidden-subcategory { display: block !important; }
}

@media (min-width: 761px) { .mobile-menu, .mobile-menu-bg { display: none !important; } }

.dropdown-category a.subcategory-link {
  border-bottom: 1px solid #eee; margin-bottom: 0px; padding-bottom: 7px;
  transition: border-color 0.15s;
  font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.dropdown-category a.subcategory-link:last-of-type,
.dropdown-category .more-link:last-of-type { border-bottom: none; }
.dropdown-category a.hidden-subcategory:last-of-type { border-bottom: none; }

@media (max-width: 760px) {
  .mobile-products-category-title {
    font-size: 15px; font-weight: normal; color: #222; background: #fff; padding: 10px 16px 10px 24px;
    border-radius: 7px; margin-bottom: 2px; cursor: pointer; transition: background 0.18s; position: relative;
    display: flex; align-items: center; justify-content: space-between;
    
}
  .mobile-products-category-title:hover { background: #f3f3f3; }
  .mobile-products-category-title i { transition: transform 0.18s ease; }
  .mobile-products-subitem { padding: 9px 18px 9px 38px; font-size: 14px; color: #1a1a1a; cursor: pointer; border-bottom: 1px solid #eee; background: none; transition: background 0.13s; }
  .mobile-products-subitem:last-child { border-bottom: none; }
  .mobile-products-subitem:hover { background: #e9f2ff; color: #2965ff; }
  .mobile-products-sublist { margin-bottom: 8px; }
}

.category-title a { color: blue; font-weight: 600; font-size: medium; }
.dropdown-toggle a { text-decoration: none; color: #232323; }
.dropdown-toggle a:hover { color: blue; }
.active-products{ color: blue; }

/*===== Footer (unchanged) =====*/
:root {
  --footer-bg: #131415; --footer-text: #fff; --footer-link: #ededed; --footer-muted: #b0b0b0; --footer-accent: #246cff;
  --footer-social: #212223; --footer-social-hover: #246cff; --footer-border: #222; --footer-btn: #246cff; --footer-btn-hover: #1951b2;
}
.footer { background: var(--footer-bg); color: var(--footer-text); padding: 54px 0 20px 0; font-family: 'Inter', Arial, Helvetica, sans-serif; }
.footer-content { max-width: 1260px; margin: 0 auto; display: flex; gap: 58px; justify-content: space-between; flex-wrap: wrap; padding: 0 38px; }
.footer-col1 { flex: 1 1 260px; min-width: 230px; max-width: 330px; display: flex; flex-direction: column; gap: 28px; }
.footer-logo { display: flex; align-items: center; gap: 13px; margin-bottom: 2px; }
.footer-logo img { height: 41px; width: auto; display: block; }
.footer-logo span { font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; line-height: 1.15; }
.footer-desc { font-size: 0.94rem; color: var(--footer-text); line-height: 1.52; margin-bottom: 8px; font-weight: 400; margin-top: 8px; }
.footer-socials { display: flex; gap: 17px; margin-top: 8px; }
.footer-socials a { display: flex; align-items: center; justify-content: center; background: var(--footer-social); color: #fff; border-radius: 50%; width: 36px; height: 36px; font-size: 1.22rem; transition: background 0.19s, color 0.18s; text-decoration: none; box-shadow: none; }
.footer-socials a:hover { background: var(--footer-social-hover); color: #fff; }
.footer-social-img { background: var(--footer-social); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; transition: background 0.19s; }
.footer-social-img img { width: 20px; height: 20px; display: block; filter: brightness(1.2); }
.footer-social-img:hover { background: var(--footer-social-hover); }
.footer-col2 { flex: 1 1 155px; min-width: 155px; max-width: 220px; }
.footer-heading { font-size: 1.08rem; font-weight: 700; margin-bottom: 13px; color: #fff; letter-spacing: 0.01em; font-family: 'Inter', Arial, Helvetica, sans-serif; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--footer-link); text-decoration: none; font-size: 0.96rem; font-weight: 400; transition: color 0.16s; letter-spacing: 0.01em; padding: 2px 0 2px 0; font-family: 'Inter', Arial, Helvetica, sans-serif; }
.footer-links a:hover { color: var(--footer-accent); text-decoration: underline; }
.footer-col3 { flex: 1 1 285px; min-width: 270px; max-width: 350px; display: flex; flex-direction: column; gap: 15px; }
.footer-map { border-radius: 7px; overflow: hidden; margin-bottom: 10px; border: 2px solid var(--footer-border); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07); width: 100%; height: 165px; }
.footer-map iframe { width: 100%; height: 165px; border: none; display: block; }
.footer-address { display: flex; align-items: flex-start; font-size: 0.96rem; color: var(--footer-link); gap: 8px; margin-top: 4px; line-height: 1.5; font-family: 'Inter', Arial, Helvetica, sans-serif; }
.footer-address i { margin-top: 2px; font-size: 1.08em; color: var(--footer-accent); }
.footer-col4 { flex: 1 1 260px; min-width: 230px; max-width: 320px; display: flex; flex-direction: column; gap: 14px; }
.footer-news-desc { font-size: 0.94rem; color: var(--footer-link); margin-bottom: 10px; font-family: 'Inter', Arial, Helvetica, sans-serif; margin-top: -4px; }
.footer-news-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1px; }
.footer-news-form button { padding: 12px 0; border: none; border-radius: 5px; background: var(--footer-btn); color: #fff; font-weight: 600; font-size: 1rem; cursor: pointer; transition: background 0.2s; margin-bottom: 1px; margin-top: 3px; font-family: 'Inter', Arial, Helvetica, sans-serif; }
.footer-news-form button:hover { background: var(--footer-btn-hover); }
.footer-contact-section { margin-top: 17px; }
.footer-contact-section .footer-heading { margin-bottom: 6px; font-size: 1rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-list span { display: flex; align-items: center; gap: 9px; font-size: 0.96rem; color: var(--footer-link); font-weight: 400; font-family: 'Inter', Arial, Helvetica, sans-serif; }
.footer-contact-list i { color: var(--footer-accent); font-size: 1.07em; margin-top: 1px; }
.footer-bottom { border-top: 1px solid var(--footer-border); margin-top: 44px; display: flex; align-items: center; justify-content: space-between; color: var(--footer-muted); font-size: 0.92rem; padding: 17px 38px 16px 38px; flex-wrap: wrap; background: var(--footer-bg); font-family: 'Inter', Arial, Helvetica, sans-serif; }
.footer-bottom-left { font-size: 0.92rem; letter-spacing: 0.01em; }
.footer-bottom-right a { color: var(--footer-link); margin-left: 22px; text-decoration: none; font-size: 0.92rem; font-weight: 400; transition: color 0.16s; font-family: 'Inter', Arial, Helvetica, sans-serif; }
.footer-bottom-right a:first-child { margin-left: 0; }
.footer-bottom-right a:hover { color: var(--footer-accent); text-decoration: underline; }
@media (max-width: 1100px) { .footer-content { gap: 28px; } }
@media (max-width: 900px) { .footer-content { flex-wrap: wrap; gap: 28px; } .footer-col1, .footer-col2, .footer-col3, .footer-col4 { min-width: 150px; } }
@media (max-width: 700px) {
  .footer-content { flex-direction: column; gap: 22px; padding: 0 13px; }
  .footer-col1, .footer-col2, .footer-col3, .footer-col4 { max-width: 100%; min-width: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding: 13px 13px 10px 13px; }
  .footer-bottom-right { margin-left: 0; }
}
