/* Layout 9 header — scoped under body.layout-nine so other layouts are unaffected */

body.layout-nine .layout9-header {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   z-index: 2000;
   font-family: inherit;
   transition: box-shadow 0.25s ease;
}

/* Guarantee the interactive header bar always sits above page content so its
   controls (search / cart / login) stay clickable while scrolling. */
body.layout-nine .layout9-header__bar {
   position: relative;
   z-index: 1200;
}

/* Non-home pages: header is always fixed so it sticks without needing scroll */
body.layout-nine:not(.page-home) .layout9-header {
   position: fixed !important;
}

/* On scroll (homepage), switch to fixed so the header sticks to the top with the theme color */
body.layout-nine .layout9-header.is-scrolled {
   position: fixed;
}

/* Make sure the page content starts at the very top so the absolute header
   floats directly over the first content section (top banner). */
body.layout-nine {
    margin: 0;
    overflow: scroll !important;
}

body.layout-nine .page-container {
   margin: 0;
   padding-top: 0;
   overflow-x: hidden;
}

/* Non-home: push content below fixed header (topbar ~46px + bar ~70px + 24px breathing room) */
body.layout-nine:not(.page-home) .page-container {
   padding-top: 140px;
}

@media (max-width: 1400px) {
   body.layout-nine:not(.page-home) .page-container {
      padding-top: 130px;
   }
}

@media (max-width: 767px) {
   body.layout-nine:not(.page-home) .page-container {
      padding-top: 110px;
   }
}

body.layout-nine .page-container > .layout9-top-banner:first-of-type,
body.layout-nine .page-container > a#scrollBtn + .layout9-top-banner,
body.layout-nine .page-container .layout9-top-banner {
   margin-top: 0;
}

/* ============== Top bar (phone / email / social) ============== */
body.layout-nine .layout9-topbar {
   background: #000;
   color: #fff;
   font-size: 14px;
   font-weight: 600;
   overflow: visible;
   transition: opacity 0.25s ease;
   position: relative;
   z-index: 1100;
   white-space: nowrap;
}

body.layout-nine .layout9-topbar a {
   color: #fff;
   text-decoration: none;
}

body.layout-nine .layout9-topbar__inner {
   display: flex;
   align-items: center;
   justify-content: flex-end;
   gap: 12px;
   padding: 8px 30px;
   max-width: 1600px;
   width: 100%;
   margin: 0 auto;
   flex-wrap: nowrap;
   min-height: 40px;
}

/* Scrolling notification marquee (left side, takes remaining space) */
body.layout-nine .layout9-topbar__marquee {
   flex: 1 1 0;
   min-width: 0;
   max-width: none;
   overflow: hidden;
   font-size: 14px;
   font-weight: 500;
   color: #fff;
}

body.layout-nine .layout9-topbar__contact {
   flex: 0 0 auto;
   margin-left: 0;
}

body.layout-nine .layout9-topbar__marquee-track {
   display: flex;
   flex-wrap: nowrap;
   white-space: nowrap;
   width: max-content;
   animation: layout9-marquee 12s linear infinite;
   will-change: transform;
}

body.layout-nine .layout9-topbar__marquee-item {
   /* Size to the natural text width (NOT 100% of the container) so long
      messages don't overflow their own box and overlap the next copy.
      The trailing gap lives inside each item via padding-right, so the two
      identical copies are evenly spaced and a -50% shift loops seamlessly. */
   flex: 0 0 auto;
   white-space: nowrap;
   padding-right: 60px;
}

body.layout-nine .layout9-topbar__marquee:hover .layout9-topbar__marquee-track {
   animation-play-state: paused;
}

/* Track = two identical copies (each text + 60px trailing space). Shifting
   left by exactly one copy (-50% of the track) lands copy #2 where copy #1
   began → seamless loop for any message length, no overlap. */
@keyframes layout9-marquee {
   from { transform: translateX(0); }
   to   { transform: translateX(-50%); }
}

body.layout-nine .layout9-topbar__contact {
   list-style: none;
   margin: 0;
   padding: 0;
   display: flex;
   align-items: center;
   gap: 10px;
   flex-wrap: nowrap;
   justify-content: flex-end;
}

body.layout-nine .layout9-topbar__contact li + li {
   position: relative;
   padding-left: 10px;
}

body.layout-nine .layout9-topbar__contact li + li::before {
   content: "";
   position: absolute;
   left: 0;
   top: 50%;
   transform: translateY(-50%);
   width: 1px;
   height: 14px;
   background: rgba(255, 255, 255, 0.35);
}

body.layout-nine .layout9-topbar__contact li a {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   color: #fff;
   font-size: 13px;
   font-weight: 500;
   transition: opacity 0.15s ease;
   white-space: nowrap;
}

body.layout-nine .layout9-topbar__contact li a:hover {
   opacity: 0.85;
}

/* Language selector in topbar */
body.layout-nine .layout9-topbar__lang {
   display: flex;
   align-items: center;
   position: relative;
   flex-shrink: 0;
   margin-left: 12px;
}
/* Remove the my-6 margin that element_language adds */
body.layout-nine .layout9-topbar__lang .my-6 {
   margin: 0 !important;
}
body.layout-nine .layout9-topbar__lang .dropdown {
   position: relative;
   margin: 0;
}
body.layout-nine .layout9-topbar__lang .dropdown-button-language {
   color: #fff;
   font-size: 13px;
   font-weight: 600;
   gap: 5px;
}
body.layout-nine .layout9-topbar__lang .dropdown-button-language img {
   filter: brightness(0) invert(1);
   max-width: 18px;
}
body.layout-nine .layout9-topbar__lang .dropdown-button-language span {
   color: #fff;
   font-size: 13px;
}
body.layout-nine .layout9-topbar__lang .dropdown-button-language::after {
   color: rgba(255,255,255,0.75);
   font-size: 12px;
}
body.layout-nine .layout9-topbar__lang .dropdown-content-language {
   position: absolute;
   top: calc(100% + 6px);
   left: auto;
   right: 0;
   min-width: 190px;
   z-index: 1200;
   box-shadow: 0 6px 20px rgba(0,0,0,0.18);
   border-radius: 8px;
   background: #fff;
   padding: 8px;
}
/* Ensure label text is dark inside the dropdown panel */
body.layout-nine .layout9-topbar__lang .dropdown-content-language label,
body.layout-nine .layout9-topbar__lang .dropdown-content-language label * {
   color: #222 !important;
   font-size: 13px;
}
/* Topbar is always dark — lang button stays white on all pages */

body.layout-nine .layout9-topbar__contact li a i {
   font-size: 16px;
}

/* Hide top bar on scroll.
   overflow:hidden clips the marquee/contact content that otherwise overflows
   the collapsed (max-height:0) bar; pointer-events:none + visibility:hidden
   stop that leftover content (e.g. the tel: phone link) from sitting on top of
   the header bar and stealing clicks meant for the search / cart / login. */
body.layout-nine .layout9-header.is-scrolled .layout9-topbar {
   max-height: 0;
   opacity: 0;
   overflow: hidden;
   visibility: hidden;
   pointer-events: none;
}

/* ============== Main bar — DEFAULT: transparent over banners, white text ============== */
body.layout-nine .layout9-header__bar {
   width: 100%;
   padding: 0;
   background: transparent;
   color: #ffffff;
   transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.layout-nine .layout9-header__bar a,
body.layout-nine .layout9-header__bar button {
   color: #ffffff;
   text-decoration: none;
}

/* ============== Main bar — SCROLLED or SOLID (inner pages): theme color background, white text ============== */
body.layout-nine .layout9-header.is-scrolled .layout9-header__bar,
body.layout-nine .layout9-header.is-solid .layout9-header__bar {
   background: var(--default-color, #0f1230);
   color: #fff;
   border-color: transparent;
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__bar a,
body.layout-nine .layout9-header.is-scrolled .layout9-header__bar button,
body.layout-nine .layout9-header.is-solid .layout9-header__bar a,
body.layout-nine .layout9-header.is-solid .layout9-header__bar button {
   color: #fff;
}

/* On inner pages: make the header part of normal flow so it doesn't overlay the page content */
body.layout-nine .layout9-header.is-solid {
   position: sticky;
   top: 0;
}

body.layout-nine .layout9-header__inner {
   display: flex;
   align-items: center;
   gap: 28px;
   padding: 10px 30px;
   max-width: 1600px;
   width: 100%;
   margin: 0 auto;
   flex-wrap: nowrap;
}

/* Brand */
body.layout-nine .layout9-header__brand {
   display: flex !important;
   flex-direction: row !important;
   align-items: center;
   gap: 12px;
   flex-shrink: 0;
   flex-wrap: nowrap;
}

body.layout-nine .layout9-header__hamburger,
body.layout-nine .humberger__open.layout9-header__hamburger {
   display: inline-flex !important;
   align-items: center !important;
   justify-content: center !important;
   width: 36px !important;
   height: 36px !important;
   cursor: pointer;
   border-radius: 6px;
   position: static !important;
   top: auto !important;
   right: auto !important;
   border: none !important;
   line-height: normal !important;
}

/* For non-layout9 usage - hide other humberger wrappers */
body.layout-nine .humberger__menu__wrapper:not(.layout9-sidebar) {
   display: none !important;
}

body.layout-nine .humberger__menu__overlay {
   position: fixed;
   left: 0;
   top: 0;
   height: 100%;
   width: 100%;
   background: rgba(0, 0, 0, 0.5);
   z-index: 99998;
   visibility: hidden;
   opacity: 0;
   transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.layout-nine .humberger__menu__overlay.active {
   visibility: visible;
   opacity: 1;
}

/* Inner content styling for the slide-in panel — match reference design */

/* Hide cart row, login/signup pills, social icons, contact list — keep only logo + menu */
body.layout-nine .humberger__menu__wrapper .humberger__menu__cart,
body.layout-nine .humberger__menu__wrapper .humberger__menu__widget,
body.layout-nine .humberger__menu__wrapper .header__top__right__social,
body.layout-nine .humberger__menu__wrapper .humberger__menu__contact {
   display: none !important;
}

/* Centered logo — show the actual logo shape, no cropping */
body.layout-nine .humberger__menu__logo {
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 0 auto 24px;
   padding: 0 0 18px;
   border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.layout-nine .humberger__menu__logo a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   max-width: 100%;
}

body.layout-nine .humberger__menu__logo img {
   width: auto;
   height: auto;
   max-height: 70px;
   max-width: 180px;
   object-fit: contain;
   display: block;
}

body.layout-nine .humberger__menu__cart {
   margin-bottom: 25px;
}

body.layout-nine .humberger__menu__cart ul {
   display: inline-block;
   margin: 0 25px 0 0;
   padding: 0;
}

body.layout-nine .humberger__menu__cart ul li {
   list-style: none;
   display: inline-block;
   margin-right: 15px;
}

body.layout-nine .humberger__menu__cart ul li:last-child {
   margin-right: 0;
}

body.layout-nine .humberger__menu__cart ul li a {
   position: relative;
   color: #1c1c1c;
}

body.layout-nine .humberger__menu__cart ul li a i {
   font-size: 18px;
   color: #1c1c1c;
}

body.layout-nine .humberger__menu__cart ul li a span {
   height: 16px;
   min-width: 16px;
   padding: 0 4px;
   background: var(--default-color, #7fad39);
   font-size: 10px;
   color: #ffffff;
   line-height: 16px;
   text-align: center;
   font-weight: 700;
   display: inline-block;
   border-radius: 8px;
   position: absolute;
   top: -6px;
   right: -10px;
}

body.layout-nine .humberger__menu__cart .header__cart__price {
   font-size: 14px;
   color: #6f6f6f;
   display: inline-block;
}

body.layout-nine .humberger__menu__cart .header__cart__price span {
   color: #252525;
   font-weight: 700;
}

body.layout-nine .humberger__menu__widget {
   margin-bottom: 20px;
   display: flex;
   gap: 12px;
   flex-wrap: wrap;
}

body.layout-nine .humberger__menu__widget .header__top__right__language,
body.layout-nine .humberger__menu__widget .header__top__right__auth {
   margin: 0;
}

body.layout-nine .humberger__menu__widget a {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 8px 14px;
   border: 1px solid rgba(0, 0, 0, 0.15);
   border-radius: 20px;
   font-size: 13px;
   font-weight: 500;
   color: #1c1c1c !important;
   text-decoration: none;
   transition: background 0.15s ease, border-color 0.15s ease;
}

body.layout-nine .humberger__menu__widget a:hover {
   background: rgba(0, 0, 0, 0.04);
   border-color: var(--default-color, #7fad39);
   color: var(--default-color, #7fad39) !important;
}

body.layout-nine .humberger__menu__wrapper .header__top__right__social {
   display: flex;
   gap: 10px;
   margin: 20px 0;
}

body.layout-nine .humberger__menu__wrapper .header__top__right__social a {
   width: 32px;
   height: 32px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   background: #f3f4f7;
   color: #1c1c1c;
   font-size: 14px;
   transition: background 0.15s ease, color 0.15s ease;
}

body.layout-nine .humberger__menu__wrapper .header__top__right__social a:hover {
   background: var(--default-color, #7fad39);
   color: #fff;
}

/* Hide the raw source <ul> — slicknav clones it into #mobile-menu-wrap */
body.layout-nine .humberger__menu__wrapper .humberger__menu__nav.mobile-menu {
   display: none !important;
}

body.layout-nine .humberger__menu__wrapper #mobile-menu-wrap {
   margin-bottom: 24px;
}

body.layout-nine .humberger__menu__wrapper .slicknav_menu {
   background: transparent;
   padding: 0;
   margin: 0;
   font-family: inherit;
}

body.layout-nine .humberger__menu__wrapper .slicknav_btn {
   display: none !important;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav {
   display: block !important;
   margin: 0;
   padding: 0;
   list-style: none;
   background: transparent;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav li {
   list-style: none;
   margin: 2px 0;
   padding: 0;
   position: relative;
   border: none;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav > li:first-child {
   border-top: none;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav a,
body.layout-nine .humberger__menu__wrapper .slicknav_nav .slicknav_item {
   display: flex !important;
   align-items: center;
   gap: 12px;
   padding: 11px 12px !important;
   margin: 0 !important;
   color: #1c1c1c !important;
   font-size: 14.5px;
   font-weight: 500;
   text-decoration: none;
   border: none !important;
   border-radius: 8px !important;
   background: transparent !important;
   transition: color 0.15s ease, background 0.15s ease;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav a:hover,
body.layout-nine .humberger__menu__wrapper .slicknav_nav .slicknav_item:hover {
   color: var(--default-color, #7fad39) !important;
   background: rgba(0, 0, 0, 0.03) !important;
}

/* Active item — light theme-tinted background + bold theme color text */
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.active > a,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.active > .slicknav_item,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.active > .slicknav_row {
   background: color-mix(in srgb, var(--default-color, #7fad39) 10%, #fff) !important;
   color: var(--default-color, #7fad39) !important;
   font-weight: 600 !important;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav img {
   width: 20px;
   height: 20px;
   object-fit: contain;
   flex-shrink: 0;
   opacity: 0.8;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.active img {
   opacity: 1;
}

/* The legacy dropdown arrow icon — hidden since slicknav inserts its own .slicknav_arrow */
body.layout-nine .humberger__menu__wrapper .slicknav_nav .arrow,
body.layout-nine .humberger__menu__wrapper .slicknav_nav .fa-angle-right.arrow {
   display: none !important;
}

/* The legacy <div class="d-flex gap-15"> wrapper inside <li class="dropdown"> — act like a normal nav row */
body.layout-nine .humberger__menu__wrapper .slicknav_nav .d-flex.gap-15,
body.layout-nine .humberger__menu__wrapper .slicknav_nav .slicknav_row {
   display: flex !important;
   align-items: center;
   gap: 12px;
   width: 100%;
   padding: 11px 12px;
   font-size: 14.5px;
   font-weight: 500;
   color: #1c1c1c;
   border-radius: 8px;
   cursor: pointer;
   transition: background 0.15s ease, color 0.15s ease;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav .d-flex.gap-15:hover,
body.layout-nine .humberger__menu__wrapper .slicknav_nav .slicknav_row:hover {
   color: var(--default-color, #7fad39);
   background: rgba(0, 0, 0, 0.03);
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav .d-flex.gap-15 img,
body.layout-nine .humberger__menu__wrapper .slicknav_nav .slicknav_row img {
   width: 20px;
   height: 20px;
   object-fit: contain;
   opacity: 0.8;
}

/* Section divider labels injected via CSS based on specific menu item hrefs */
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a[href*="/users/profile"]::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.dropdown:has(a[href*="/users/profile"])::before {
   content: "ACCOUNT";
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a[href*="/users/subscriptions"]::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.dropdown:has(a[href*="/users/subscriptions"])::before {
   content: "ORDERS & DELIVERY";
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a[href*="/users/containers"]:not([href*="History"])::before {
   content: "BOTTLES";
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a[href*="/users/contact"]::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a[href*="/users/faqs"]::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.dropdown:has(a[href*="pages/"])::before {
   content: "HELP & MORE";
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.dropdown::before {
   display: none;
   position: absolute;
   top: -22px;
   left: 12px;
   font-size: 11px;
   font-weight: 700;
   letter-spacing: 0.8px;
   color: #999;
   text-transform: uppercase;
   pointer-events: none;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a[href*="/users/profile"]::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a[href*="/users/subscriptions"]::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a[href*="/users/containers"]:not([href*="History"])::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a[href*="/users/contact"]::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li > a[href*="/users/faqs"]::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.dropdown:has(a[href*="/users/profile"])::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.dropdown:has(a[href*="/users/subscriptions"])::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.dropdown:has(a[href*="pages/"])::before {
   display: block;
}

/* Push items down to make room for the absolute-positioned section label */
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li:has(> a[href*="/users/profile"]),
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li:has(> a[href*="/users/subscriptions"]),
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li:has(> a[href*="/users/containers"]:not([href*="History"])),
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li:has(> a[href*="/users/contact"]),
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li:has(> a[href*="/users/faqs"]),
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.dropdown:has(a[href*="/users/profile"]),
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.dropdown:has(a[href*="/users/subscriptions"]),
body.layout-nine .humberger__menu__wrapper .slicknav_nav > li.dropdown:has(a[href*="pages/"]) {
   margin-top: 26px !important;
}

/* Nested submenus (dropdown-content + any inline <ul>) — slicknav toggles
   slicknav_collapsed / slicknav_open on the parent <li>. */
body.layout-nine .humberger__menu__wrapper .slicknav_nav .dropdown-content,
body.layout-nine .humberger__menu__wrapper .slicknav_nav ul {
   list-style: none;
   margin: 0 0 6px 24px !important;
   padding: 0 !important;
   border-left: 2px solid rgba(0, 0, 0, 0.08);
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav li.slicknav_collapsed > ul,
body.layout-nine .humberger__menu__wrapper .slicknav_nav li.slicknav_collapsed > .dropdown-content {
   display: none !important;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav li.slicknav_open > ul,
body.layout-nine .humberger__menu__wrapper .slicknav_nav li.slicknav_open > .dropdown-content {
   display: block !important;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav .dropdown-content li,
body.layout-nine .humberger__menu__wrapper .slicknav_nav ul li {
   border-bottom: none;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav .dropdown-content a,
body.layout-nine .humberger__menu__wrapper .slicknav_nav ul a {
   padding: 8px 12px !important;
   font-size: 13px !important;
   font-weight: 400 !important;
   color: #555 !important;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav .dropdown-content a:hover,
body.layout-nine .humberger__menu__wrapper .slicknav_nav ul a:hover {
   color: var(--default-color, #7fad39) !important;
}

/* Slicknav's own arrow indicator — replace its text glyph with a FontAwesome chevron */
body.layout-nine .humberger__menu__wrapper .slicknav_nav .slicknav_arrow {
   margin-left: auto;
   font-size: 0;
   color: transparent;
   width: 18px;
   height: 18px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   transition: transform 0.2s ease;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav .slicknav_arrow::before {
   content: "\f107"; /* FontAwesome down chevron */
   font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
   font-weight: 900;
   font-size: 13px;
   color: #999;
   line-height: 1;
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav li.slicknav_open > .slicknav_row .slicknav_arrow,
body.layout-nine .humberger__menu__wrapper .slicknav_nav li.slicknav_open > a .slicknav_arrow {
   transform: rotate(180deg);
}

body.layout-nine .humberger__menu__wrapper .slicknav_nav li.slicknav_open > .slicknav_row .slicknav_arrow::before,
body.layout-nine .humberger__menu__wrapper .slicknav_nav li.slicknav_open > a .slicknav_arrow::before {
   color: var(--default-color, #7fad39);
}

/* The legacy <i class="fas fa-angle-right arrow"> from humberger.php — hidden since
   slicknav inserts its own .slicknav_arrow */
body.layout-nine .humberger__menu__wrapper .slicknav_nav .fa-angle-right.arrow,
body.layout-nine .humberger__menu__wrapper .slicknav_nav i.arrow {
   display: none !important;
}

body.layout-nine .humberger__menu__contact ul {
   margin: 0;
   padding: 0;
}

body.layout-nine .humberger__menu__contact ul li {
   list-style: none;
   font-size: 14px;
   color: #1c1c1c;
   line-height: 30px;
}

body.layout-nine .humberger__menu__contact ul li i {
   color: #252525;
   margin-right: 8px;
}

body.layout-nine .humberger__menu__wrapper > .humberger__close,
body.layout-nine .humberger__menu__wrapper > .close-menu,
body.layout-nine .humberger__menu__wrapper .humberger__close.close-menu {
   position: absolute !important;
   top: 16px !important;
   right: 16px !important;
   left: auto !important;
   bottom: auto !important;
   width: 32px !important;
   height: 32px !important;
   display: inline-flex !important;
   align-items: center;
   justify-content: center;
   background: var(--default-color, #7fad39) !important;
   border-radius: 50% !important;
   cursor: pointer;
   z-index: 100;
   padding: 0 !important;
   margin: 0 !important;
   float: none !important;
   transition: background 0.15s ease;
}

body.layout-nine .humberger__menu__wrapper .humberger__close:hover,
body.layout-nine .humberger__menu__wrapper .close-menu:hover {
   background: rgba(0, 0, 0, 0.12) !important;
}

/* Use the geometric X from style_modern.css (.cus-cross-btn uses ::before + ::after
   rotated bars to draw an X). Don't add our own text "×" here — it would render on
   top of the bars and look like a duplicate. */

/* Make sure the wrapper has space at the top so the close button doesn't overlap content */
body.layout-nine .humberger__menu__wrapper {
   padding: 20px 24px 30px !important;
}

/* Prevent body scroll when humberger is open */
body.layout-nine.over_hid {
   overflow: hidden;
}

body.layout-nine .layout9-header__hamburger i {
   font-size: 20px;
   color: #ffffff;
   line-height: 1;
}

body.layout-nine .layout9-header__hamburger:hover {
   background: rgba(255, 255, 255, 0.12);
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__hamburger:hover {
   background: rgba(255, 255, 255, 0.1);
}

body.layout-nine .layout9-header__logo img {
   max-height: 44px;
   max-width: 220px;
   object-fit: contain;
}

body.layout-nine .layout9-header__logo--mobile {
   display: none;
}

/* Primary Nav */
body.layout-nine .layout9-nav {
   flex: 1 1 auto;
   display: flex;
   justify-content: center;
   min-width: 0;
}

body.layout-nine .layout9-nav__list {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   align-items: center;
   flex-wrap: nowrap;
   gap: 28px;
}

body.layout-nine .layout9-nav__item {
   flex: 0 1 auto;
   min-width: 0;
   text-align: center;
}

/* The centered nav item only governs the top-level label (so wrapped labels
   stay centered); dropdown panels and their contents are always left-aligned. */
body.layout-nine .layout9-megamenu,
body.layout-nine .layout9-dropdown {
   text-align: left;
}

body.layout-nine .layout9-nav__item > a {
   display: inline-flex;
   align-items: center;
   flex-wrap: wrap;
   justify-content: center;
   padding: 8px 2px;
   font-size: 15px;
   font-weight: 600;
   letter-spacing: 0.2px;
   line-height: 1.25;
   white-space: normal;
   text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
   transition: color 0.15s ease, opacity 0.15s ease;
}

body.layout-nine .layout9-nav__item > a:hover {
   color: #ffffff;
   opacity: 0.75;
}

body.layout-nine .layout9-header.is-scrolled .layout9-nav__item > a {
   text-shadow: none;
}

body.layout-nine .layout9-header.is-scrolled .layout9-nav__item > a:hover {
   color: #fff;
   opacity: 0.8;
}

/* ============== Mega menu (Categories) ============== */
body.layout-nine .layout9-nav__item--has-children {
   position: relative;
}

body.layout-nine .layout9-nav__caret {
   font-size: 10px;
   margin-left: 6px;
   transition: transform 0.2s ease;
}

body.layout-nine .layout9-nav__item--has-children:hover .layout9-nav__caret {
   transform: rotate(180deg);
}

/* Mega menu panel — full-width below the header, columns of categories */
body.layout-nine .layout9-nav__item--mega {
   position: static;
}

body.layout-nine .layout9-megamenu {
   position: absolute;
   top: 100%;
   left: 0;
   right: 0;
   width: 100%;
   background: #fff;
   color: #1a1a1a;
   border-top: 1px solid rgba(0, 0, 0, 0.06);
   box-shadow: 0 12px 28px rgba(20, 30, 60, 0.12);
   opacity: 0;
   visibility: hidden;
   transform: translateY(6px);
   transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
   z-index: 1100;
   max-height: 75vh;
   overflow-y: auto;
}

body.layout-nine .layout9-nav__item--mega:hover .layout9-megamenu {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

/* Per-category dropdown: anchored to its own nav item rather than spanning the
   full header width. The shared .layout9-megamenu styles handle the panel
   surface, transition, and hidden state. */
body.layout-nine .layout9-nav__item--category,
body.layout-nine .layout9-nav__item--account {
   position: relative;
}

body.layout-nine .layout9-megamenu--single {
   left: 0;
   right: auto;
   width: max-content;
   min-width: 240px;
   max-width: 720px;
   border-radius: 0 0 6px 6px;
}

body.layout-nine .layout9-megamenu--single .layout9-megamenu__grid {
   grid-template-columns: minmax(220px, 1fr);
   padding: 20px 24px;
}

body.layout-nine .layout9-nav__item--category:hover .layout9-megamenu {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

/* "More" mega menu: full-width panel below the header (like the original
   "Our Products" menu), remaining categories shown as columns with their
   subcategories/products loaded on hover. */
body.layout-nine .layout9-nav__item--more {
   position: static;
}

body.layout-nine .layout9-megamenu--more .layout9-megamenu__grid {
   grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

body.layout-nine .layout9-nav__item--more:hover .layout9-megamenu {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

/* Simple text dropdown (e.g. "My Orders" → Orders / Subscription, and "More") */
body.layout-nine .layout9-dropdown {
   position: absolute;
   top: 100%;
   left: 0;
   min-width: 200px;
   list-style: none;
   margin: 0;
   padding: 8px 0;
   background: #fff;
   border-top: 1px solid rgba(0, 0, 0, 0.06);
   box-shadow: 0 12px 28px rgba(20, 30, 60, 0.12);
   border-radius: 0 0 6px 6px;
   opacity: 0;
   visibility: hidden;
   transform: translateY(6px);
   transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
   z-index: 1100;
}

body.layout-nine .layout9-nav__item--account:hover .layout9-dropdown,
body.layout-nine .layout9-nav__item--more:hover .layout9-dropdown {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

/* "More" dropdown opens flush to the right edge to avoid viewport overflow. */
body.layout-nine .layout9-nav__item--more .layout9-dropdown {
   left: auto;
   right: 0;
}

body.layout-nine .layout9-dropdown li {
   list-style: none;
}

body.layout-nine .layout9-dropdown li a {
   display: block;
   padding: 8px 20px;
   color: #2a2a2a !important;
   font-size: 14px;
   font-weight: 600;
   text-decoration: none;
   white-space: nowrap;
   transition: color 0.15s ease, background 0.15s ease;
}

body.layout-nine .layout9-dropdown li a:hover {
   color: var(--default-color, #0f1230) !important;
   background: rgba(0, 0, 0, 0.04);
}

body.layout-nine .layout9-megamenu__grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
   gap: 24px 28px;
   padding: 28px 32px;
   max-width: 1400px;
   margin: 0 auto;
}

body.layout-nine .layout9-megamenu__col {
   min-width: 0;
}

body.layout-nine .layout9-megamenu__colhead {
   display: block;
   font-size: 14px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.4px;
   color: var(--default-color, #0f1230) !important;
   padding-bottom: 8px;
   margin-bottom: 10px;
   border-bottom: 2px solid color-mix(in srgb, var(--default-color, #0f1230) 25%, #fff);
   text-decoration: none !important;
   transition: opacity 0.15s ease;
}

body.layout-nine .layout9-megamenu__colhead:hover {
   opacity: 0.8;
}

body.layout-nine .layout9-megamenu__sublist {
   list-style: none;
   margin: 0;
   padding: 0;
   display: flex;
   flex-direction: column;
   gap: 10px;
}

body.layout-nine .layout9-megamenu__subitem {
   list-style: none;
}

body.layout-nine .layout9-megamenu__sublink {
   display: block;
   padding: 4px 0;
   color: #2a2a2a !important;
   font-size: 14px;
   font-weight: 600;
   text-decoration: none;
   transition: color 0.15s ease, padding-left 0.15s ease;
}

body.layout-nine .layout9-megamenu__sublink:hover {
   color: var(--default-color, #0f1230) !important;
   padding-left: 3px;
}

body.layout-nine .layout9-megamenu__prodlist {
   list-style: none;
   margin: 4px 0 0 0;
   padding: 0 0 0 10px;
   border-left: 1px solid rgba(0, 0, 0, 0.08);
   display: flex;
   flex-direction: column;
   gap: 2px;
}

body.layout-nine .layout9-megamenu__prodlist li a {
   display: block;
   padding: 3px 0;
   color: #777 !important;
   font-size: 13px;
   font-weight: 400;
   text-decoration: none;
   transition: color 0.15s ease, padding-left 0.15s ease;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

body.layout-nine .layout9-megamenu__prodlist li a:hover {
   color: var(--default-color, #0f1230) !important;
   padding-left: 3px;
}

body.layout-nine .layout9-megamenu__prodloading {
   color: #bbb;
   font-size: 12px;
   padding: 2px 0;
}

body.layout-nine .layout9-megamenu__seemore a {
   color: var(--default-color, #0f1230) !important;
   font-weight: 600 !important;
   font-size: 12px !important;
}

body.layout-nine .layout9-megamenu__loading,
body.layout-nine .layout9-megamenu__empty {
   color: #999;
   font-size: 13px;
   font-style: italic;
   padding: 4px 0;
   list-style: none;
}

/* Action cluster (right side) */
body.layout-nine .layout9-header__actions {
   display: flex;
   align-items: center;
   gap: 14px;
   flex-shrink: 0;
}

/* Search */
body.layout-nine .layout9-header__search {
   position: relative;
   display: flex;
   align-items: center;
}

body.layout-nine .layout9-header__search-toggle {
   width: 38px;
   height: 38px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: transparent;
   border-radius: 50%;
   cursor: pointer;
   transition: background 0.15s ease, border-color 0.25s ease;
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__search-toggle {
   border-color: rgba(255, 255, 255, 0.3);
}

body.layout-nine .layout9-header__search-toggle:hover {
   background: rgba(255, 255, 255, 0.12);
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__search-toggle:hover {
   background: rgba(255, 255, 255, 0.12);
}

body.layout-nine .layout9-header__search-form {
   position: absolute;
   right: 0;
   top: 50%;
   transform: translateY(-50%);
   display: flex;
   align-items: center;
   width: 0;
   opacity: 0;
   overflow: hidden;
   background: rgba(0, 0, 0, 0.75);
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: 24px;
   transition: width 0.25s ease, opacity 0.2s ease, background 0.25s ease;
   pointer-events: none;
   z-index: 50;
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__search-form {
   background: color-mix(in srgb, var(--default-color, #0f1230) 85%, #000);
   border-color: rgba(255, 255, 255, 0.25);
}

body.layout-nine .layout9-header__search.is-open .layout9-header__search-toggle {
   visibility: hidden;
}

body.layout-nine .layout9-header__search.is-open .layout9-header__search-form {
   width: 360px;
   opacity: 1;
   pointer-events: auto;
   padding: 4px 6px 4px 16px;
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

body.layout-nine .layout9-header__search-form input[type="text"] {
   flex: 1 1 auto;
   min-width: 0;
   background: transparent;
   border: none;
   outline: none;
   color: #ffffff;
   font-size: 14px;
   height: 36px;
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__search-form input[type="text"] {
   color: #fff;
}

body.layout-nine .layout9-header__search-form input[type="text"]::placeholder {
   color: rgba(255, 255, 255, 0.55);
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__search-form input[type="text"]::placeholder {
   color: rgba(255, 255, 255, 0.55);
}

body.layout-nine .layout9-header__search-submit,
body.layout-nine .layout9-header__search-close {
   width: 32px;
   height: 32px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: transparent;
   border: none;
   cursor: pointer;
   color: inherit;
}

body.layout-nine .layout9-header__search-close {
   opacity: 0.7;
}

body.layout-nine .layout9-header__search-close:hover {
   opacity: 1;
}

/* Locale */
body.layout-nine .layout9-header__locale {
   display: none;
}

/* Cart */
body.layout-nine .layout9-header__cart {
   position: relative;
   display: flex;
   align-items: center;
}

/* Notification bell badge fix in layout 9 header — prevent the absolute-positioned
   unread-count badge from visually bleeding into the adjacent cart icon */
/* ── Layout-9 Notification Panel ── */
body.layout-nine .layout9-header__actions .wrap-notification {
   position: relative;
   margin-right: 0;
}
body.layout-nine .layout9-header__actions .wrap-notification .wrapper {
   position: relative;
   display: inline-flex;
   align-items: center;
   padding-right: 10px;
   cursor: pointer;
}
body.layout-nine .layout9-header__actions .wrap-notification .wrapper span {
   top: -6px !important;
   right: 2px !important;
}

/* Panel container */
body.layout-nine .wrap-notification .notification-bar-uppar {
   position: absolute;
   width: 420px;
   right: -60px;
   left: auto;
   top: calc(100% + 10px);
   transform: none;
   background: #fff;
   border-radius: 14px;
   box-shadow: 0 8px 32px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.08);
   z-index: 9999;
   border: 1px solid rgba(0,0,0,0.08);
   overflow: visible;
}

/* Arrow caret — on the panel itself, not inside notif-inner */
body.layout-nine .wrap-notification .notification-bar-uppar::before {
   content: "";
   position: absolute;
   width: 12px;
   height: 12px;
   background: #fff;
   top: -6px;
   right: 71px;
   left: auto;
   transform: rotate(45deg);
   box-shadow: -2px -2px 4px rgba(0,0,0,0.07);
   border-left: 1px solid rgba(0,0,0,0.08);
   border-top: 1px solid rgba(0,0,0,0.08);
   z-index: 10000;
   border-radius: 2px 0 0 0;
}

/* Panel uses flex column so header/footer stay fixed, only body scrolls */
body.layout-nine .wrap-notification .notification-bar-uppar {
   display: flex;
   flex-direction: column;
   max-height: 600px;
}

/* Remove old ::before on notif-inner */
body.layout-nine .wrap-notification .notif-inner::before {
   display: none !important;
}

/* Header bar */
body.layout-nine .wrap-notification .cross-btn {
   background: #fff;
   border-bottom: 1px solid #f0f0f0 !important;
   padding: 14px 16px !important;
   display: flex;
   align-items: center;
   justify-content: space-between;
   position: sticky;
   top: 0;
   z-index: 2;
   border-radius: 8px;
}
body.layout-nine .wrap-notification .cross-btn strong {
   font-size: 15px;
   font-weight: 700;
   color: #1a1a2e;
   letter-spacing: 0.2px;
}
body.layout-nine .wrap-notification .cross-btn .fa-times {
   width: 28px;
   height: 28px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   background: #f4f4f6;
   color: #555;
   font-size: 12px;
   transition: background 0.2s;
}
body.layout-nine .wrap-notification .cross-btn .fa-times:hover {
   background: #e8e8ec;
   color: #111;
}

/* Scroll area — fills remaining space between header and footer */
body.layout-nine .wrap-notification .notif-inner {
   flex: 1 1 auto;
   overflow-y: auto;
   overflow-x: hidden;
   scrollbar-width: thin;
   scrollbar-color: #e0e0e0 transparent;
}
body.layout-nine .wrap-notification .notif-inner::-webkit-scrollbar { width: 4px; }
body.layout-nine .wrap-notification .notif-inner::-webkit-scrollbar-track { background: transparent; }
body.layout-nine .wrap-notification .notif-inner::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Individual notification item — block layout, no flex */
body.layout-nine .wrap-notification .notification-bar-uppar .notification {
   display: block;
   padding: 14px 18px !important;
   border-bottom: 1px solid #f0f0f0 !important;
   background: #fff;
   transition: background 0.15s;
   position: relative;
}
body.layout-nine .wrap-notification .notification-bar-uppar .notification.notif-unread {
   background: #fff8f8;
   border-left: 3px solid var(--default-color, #c00) !important;
}
body.layout-nine .wrap-notification .notification-bar-uppar .notification:hover {
   background: #fafafa;
}

/* Message text */
body.layout-nine .wrap-notification .notification-bar-uppar .notification p {
   display: block;
   margin: 0 0 6px 0 !important;
   font-size: 13.5px;
   color: #2d2d2d;
   line-height: 1.55;
   word-break: break-word;
}

/* Date/time line */
body.layout-nine .wrap-notification .notification-bar-uppar .notification p strong {
   display: block;
   font-size: 11.5px;
   color: #aaa;
   font-weight: 500;
   margin-top: 5px;
   margin-bottom: 0;
}

/* "New" badge */
body.layout-nine .wrap-notification .badge-new-notification {
   display: inline-block;
   float: none !important;
   position: static !important;
   margin-top: 6px;
   padding: 3px 10px !important;
   font-size: 10px !important;
   font-weight: 600;
   border-radius: 20px !important;
   background: var(--default-color, #c00) !important;
   color: #fff !important;
   letter-spacing: 0.4px;
   text-transform: uppercase;
   vertical-align: middle;
}

/* Notification image */
body.layout-nine .wrap-notification .img-wrap-notification {
   padding: 8px 0 2px !important;
   margin-top: 0 !important;
}
body.layout-nine .wrap-notification .img-wrap-notification img {
   width: 100%;
   border-radius: 10px;
   border: 1px solid #eee !important;
   max-height: 160px;
   object-fit: cover;
}

/* Empty state */
body.layout-nine .wrap-notification .empty-notification {
   padding: 40px 20px;
   text-align: center;
}
body.layout-nine .wrap-notification .empty-notification .empty-img {
   max-width: 48px;
   opacity: 0.4;
}
body.layout-nine .wrap-notification .empty-notification p {
   font-size: 13px;
   color: #aaa;
   margin-top: 8px;
}

/* Hide legacy fa-circle icon */
body.layout-nine .wrap-notification .notification i.fa-circle {
   display: none !important;
}

/* View All button */
body.layout-nine .wrap-notification a.wrap-bottom-fix {
   position: sticky !important;
   bottom: 0;
   width: 100%;
   display: block;
   z-index: 2;
}
body.layout-nine .wrap-notification a.wrap-bottom-fix button {
   width: 100%;
   background: var(--default-color, #c00) !important;
   color: #fff;
   font-size: 13px;
   font-weight: 600;
   padding: 13px 16px !important;
   border: none;
   letter-spacing: 0.5px;
   text-transform: uppercase;
   transition: opacity 0.2s;
   border-radius: 12px;
}
body.layout-nine .wrap-notification a.wrap-bottom-fix button:hover {
   opacity: 0.88;
}

/* Mobile: full-width panel */
@media (max-width: 767px) {
   body.layout-nine .layout9-topbar__lang .dropdown-button-language{
      margin-bottom: 0 !important;
   }
   body.layout-nine .wrap-notification .notification-bar-uppar {
      position: fixed;
      top: 90px;
      left: 12px !important;
      right: 12px !important;
      width: auto;
      max-height: calc(100vh - 110px);
      transform: none;
   }
   body.layout-nine .wrap-notification .notification-bar-uppar {
      max-height: calc(100vh - 110px) !important;
   }
   /* Arrow hidden on mobile — panel is fixed so no relative anchor */
   body.layout-nine .wrap-notification .notification-bar-uppar::before {
      display: none;
   }
}

body.layout-nine .layout9-header__cart > a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   /* border: 1px solid rgba(0, 0, 0, 0.15); */
   border-radius: 50%;
   position: relative;
   transition: border-color 0.25s ease;
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__cart > a {
   border-color: rgba(255, 255, 255, 0.3);
}

body.layout-nine .layout9-header__cart > a span {
    position: absolute;
    top: -7px;
    right: -5px;
    align-items: center;
    justify-content: center;
    height: 13px;
    width: 13px;
    background: var(--default-color, #7fad39);
    font-size: 8px;
    color: #ffffff;
    line-height: 13px;
    text-align: center;
    font-weight: 700;
    display: inline-block;
    border-radius: 50%;
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__cart > a span {
   background: #fff;
   color: var(--default-color, #0f1230);
   border-color: var(--default-color, #0f1230);
}

/* Auth */
body.layout-nine .layout9-header__auth {
   display: flex;
   align-items: center;
   gap: 10px;
}

body.layout-nine .layout9-header__auth-link {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 8px 16px;
   border-radius: 22px;
   font-size: 15px;
   font-weight: 600;
   background: transparent;
   cursor: pointer;
   transition: background 0.15s ease, color 0.15s ease, border-color 0.25s ease;
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__auth-link {
   border-color: rgba(255, 255, 255, 0.3);
}

body.layout-nine .layout9-header__auth-link:hover {
   background: rgba(255, 255, 255, 0.12);
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__auth-link:hover {
   background: rgba(255, 255, 255, 0.12);
}

/* Sign Up (primary) — always theme color when header is white, white when header is theme */
body.layout-nine .layout9-header__auth-link--primary {
   background: var(--default-color, #0f1230);
   border-color: var(--default-color, #0f1230);
   color: #fff !important;
}

body.layout-nine .layout9-header__auth-link--primary:hover {
   filter: brightness(1.1);
   background: var(--default-color, #0f1230);
   color: #fff !important;
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__auth-link--primary {
   background: #fff;
   border-color: #fff;
   color: var(--default-color, #0f1230) !important;
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__auth-link--primary:hover {
   background: #fff;
   color: var(--default-color, #0f1230) !important;
   filter: brightness(0.95);
}

/* Leftnav slot */
body.layout-nine .layout9-header__leftnav {
   display: none;
}

body.layout-nine .layout9-header__branch {
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 8px 16px;
   background: rgba(0, 0, 0, 0.04);
   color: #1a1a1a;
}

body.layout-nine .layout9-header.is-scrolled .layout9-header__branch {
   background: rgba(255, 255, 255, 0.08);
   color: #fff;
}
@media (min-width: 1200px) {
   .dektop-none-wrap{
      display:none
   }
}
@media (min-width: 991px) {
   .pr-0-desktop{
      padding-right: 0;
   }
}
/* ============== Responsive ============== */

/* Large tablet / small desktop: shrink spacing, allow nav to scroll horizontally */
@media (max-width: 1400px) {
   body.layout-nine .layout9-header__inner {
      gap: 14px;
      padding: 12px 20px;
   }

   body.layout-nine .layout9-nav__list {
      gap: 16px;
   }

   body.layout-nine .layout9-nav__item > a {
      font-size: 14px;
   }

   body.layout-nine .layout9-header__actions {
      gap: 10px;
   }

   body.layout-nine .layout9-header__search.is-open .layout9-header__search-form {
      width: 240px;
   }

   body.layout-nine .layout9-megamenu__grid {
      padding: 22px 24px;
   }

   /* Topbar: marquee shrinks, contact shows icons + text but no wrapping */
   body.layout-nine .layout9-topbar__inner {
      padding: 8px 20px;
      gap: 12px;
      flex-wrap: nowrap;
   }

   body.layout-nine .layout9-topbar__marquee {
      flex: 1 1 0;
      min-width: 0;
      max-width: none;
      font-size: 13px;
      overflow: hidden;
   }

   body.layout-nine .layout9-topbar__contact {
      flex: 0 0 auto;
      flex-wrap: nowrap;
      gap: 12px;
      white-space: nowrap;
   }

   body.layout-nine .layout9-topbar__contact li + li {
      padding-left: 12px;
   }

   /* Hide text, show icons only — prevents wrapping */
   body.layout-nine .layout9-topbar__contact li a span {
      display: none;
   }

   body.layout-nine .layout9-topbar__contact li a i {
      font-size: 15px;
   }

   body.layout-nine .layout9-topbar__lang {
      margin-left: 8px;
   }
   body.layout-nine .layout9-topbar__lang .dropdown-button-language span {
      display: none;
   }
   body.layout-nine .layout9-topbar__lang .dropdown-button-language img {
      max-width: 16px;
   }
   body.layout-nine .layout9-topbar__lang .dropdown-content-language {
      right: 0;
      left: auto;
      min-width: 160px;
   }
}

/* Tablet: hide the desktop nav AND logo (only hamburger remains on the left), reduce padding */
@media (max-width: 1199px) {
   /* Topbar: strictly bounded single row */
   body.layout-nine .layout9-topbar {
      display: block !important;
      overflow: visible !important;
      clip-path: none !important;
   }
   body.layout-nine .layout9-topbar__inner {
      height: 34px !important;
      padding: 0 12px !important;
      gap: 8px !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      justify-content: space-between !important;
      width: 100% !important;
      overflow: visible !important;
   }
   body.layout-nine .layout9-topbar__marquee {
      flex: 1 1 0 !important;
      min-width: 0 !important;
      max-width: none !important;
      height: 34px !important;
      font-size: 12px !important;
      overflow: hidden !important;
      display: block !important;
      clip-path: inset(0) !important;
   }
   body.layout-nine .layout9-topbar__marquee-track {
      animation: layout9-marquee 14s linear infinite !important;
      display: flex !important;
      flex-wrap: nowrap !important;
      white-space: nowrap !important;
      height: 34px !important;
      align-items: center !important;
   }
   body.layout-nine .layout9-topbar__marquee-item {
      display: inline-flex !important;
      align-items: center !important;
      white-space: nowrap !important;
      padding-right: 60px !important;
      height: 34px !important;
      flex-shrink: 0 !important;
      min-width: auto !important;
      flex: none !important;
   }
   /* Icons only, no text */
   body.layout-nine .layout9-topbar__contact {
      flex: 0 0 auto !important;
      flex-wrap: nowrap !important;
      gap: 6px !important;
      white-space: nowrap !important;
      height: 34px !important;
      align-items: center !important;
      display: flex !important;
   }
   body.layout-nine .layout9-topbar__contact li + li {
      padding-left: 6px !important;
   }
   body.layout-nine .layout9-topbar__contact li + li::before {
      display: none !important;
   }
   body.layout-nine .layout9-topbar__contact li a span {
      display: none !important;
   }
   body.layout-nine .layout9-topbar__contact li a i {
      font-size: 14px !important;
   }
   body.layout-nine .layout9-topbar__lang {
      margin-left: 6px !important;
   }
   body.layout-nine .layout9-topbar__lang .dropdown-button-language span {
      display: none !important;
   }
   body.layout-nine .layout9-topbar__lang .dropdown-button-language img {
      max-width: 15px !important;
   }
   body.layout-nine .layout9-topbar__lang .dropdown-content-language {
      position: fixed !important;
      top: 36px !important;
      right: 8px !important;
      left: auto !important;
      min-width: 160px !important;
      z-index: 9999 !important;
   }

   body.layout-nine .layout9-sidebar {
      display: block !important;
   }

   body.layout-nine .humberger__menu__overlay {
      display: block !important;
   }

   body.layout-nine .layout9-nav {
      display: none;
   }

   body.layout-nine .layout9-header__bar {
      display: flex !important;
      align-items: center !important;
      width: 100% !important;
   }

   body.layout-nine .layout9-header__inner {
      padding: 10px 20px;
      gap: 12px;
      justify-content: space-between;
      align-items: center !important;
      flex-wrap: nowrap !important;
      width: 100% !important;
      min-height: 60px;
   }

   /* Show only desktop logo on tablet — hide mobile logo */
   body.layout-nine .layout9-header__logo--desktop {
      display: inline-flex !important;
   }
   body.layout-nine .layout9-header__logo--mobile {
      display: none !important;
   }
   body.layout-nine .layout9-header__logo img {
      max-height: 36px !important;
   }

   /* Fix header overlap: make header fixed on tablet too */
   body.layout-nine .layout9-header {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      z-index: 2000 !important;
   }
   body.layout-nine .layout9-header .layout9-header__bar {
      background: var(--default-color, #0f1230) !important;
      color: #fff !important;
   }
   body.layout-nine .page-container {
      padding-top: 94px !important;
   }

   /* Brand: hamburger + logo side by side */
   body.layout-nine .layout9-header__brand {
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      gap: 10px !important;
      flex: 0 0 auto;
      min-width: 0;
   }

   body.layout-nine .layout9-header__hamburger,
   body.layout-nine .humberger__open.layout9-header__hamburger {
      width: 38px !important;
      height: 38px !important;
      flex: 0 0 38px !important;
      padding: 0;
      border-radius: 8px;
      position: static !important;
      top: auto !important;
      right: auto !important;
   }

   body.layout-nine .layout9-header__hamburger i {
      font-size: 22px;
   }

   body.layout-nine .layout9-header__actions {
      align-items: center !important;
      gap: 10px;
   }

   /* Topbar: marquee takes most space, phone/email shrink to icon-only */
   body.layout-nine .layout9-topbar__inner {
      padding: 10px 16px;
      gap: 12px;
   }

   body.layout-nine .layout9-topbar__marquee {
      flex: 1 1 auto;
      max-width: none;
      font-size: 13px;
   }

   body.layout-nine .layout9-topbar__contact {
      flex: 0 0 auto;
      max-width: none;
      gap: 14px;
   }

   body.layout-nine .layout9-topbar__contact li + li {
      padding-left: 14px;
   }

   /* Phone/email become icon-only on tablet to save space */
   body.layout-nine .layout9-topbar__contact li a span {
      display: none;
   }

   body.layout-nine .layout9-topbar__contact li a i {
      font-size: 16px;
   }
}
.is-scrolled .humberger__open.layout9-header__hamburger {
    top: auto;
}
/* Mobile */
@media (max-width: 767px) {
   body.layout-nine .layout9-header__hamburger, body.layout-nine .humberger__open.layout9-header__hamburger{
      justify-content: left !important;
   }
   /* overflow-x:hidden on body breaks sticky, so use fixed instead */
   body.layout-nine .layout9-header {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      z-index: 1000 !important;
   }

   /* Always show the header bar with theme background on mobile */
   body.layout-nine .layout9-header .layout9-header__bar {
      background: var(--default-color, #0f1230) !important;
      color: #fff !important;
   }


   /* Push page content below the fixed header (topbar 30px + bar 56px) */
   body.layout-nine .page-container {
      padding-top: 86px !important;
   }

   body.layout-nine .layout9-topbar {
      display: block !important;
      overflow: visible !important;
      clip-path: none !important;
   }
   body.layout-nine .layout9-topbar__inner {
      height: 30px !important;
      padding: 0 10px !important;
      gap: 6px !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      overflow: hidden !important;
   }
   body.layout-nine .layout9-topbar__marquee {
      flex: 1 1 0 !important;
      min-width: 0 !important;
      height: 30px !important;
      font-size: 11px !important;
      overflow: hidden !important;
      display: block !important;
      clip-path: inset(0) !important;
   }
   body.layout-nine .layout9-topbar__marquee-track {
      animation: layout9-marquee 14s linear infinite !important;
      display: flex !important;
      flex-wrap: nowrap !important;
      white-space: nowrap !important;
      height: 30px !important;
      align-items: center !important;
   }
   body.layout-nine .layout9-topbar__marquee-item {
      display: inline-flex !important;
      align-items: center !important;
      white-space: nowrap !important;
      padding-right: 60px !important;
      height: 30px !important;
      flex-shrink: 0 !important;
      min-width: auto !important;
      flex: none !important;
   }
   body.layout-nine .layout9-topbar__contact {
      flex: 0 0 auto !important;
      flex-wrap: nowrap !important;
      gap: 5px !important;
      white-space: nowrap !important;
      height: 30px !important;
      align-items: center !important;
      display: flex !important;
   }
   body.layout-nine .layout9-topbar__contact li + li {
      padding-left: 5px !important;
   }
   body.layout-nine .layout9-topbar__contact li + li::before {
      display: none !important;
   }
   body.layout-nine .layout9-topbar__contact li a span {
      display: none !important;
   }
   body.layout-nine .layout9-topbar__contact li a i {
      font-size: 13px !important;
   }
   body.layout-nine .layout9-topbar__lang {
      margin-left: 6px !important;
   }
   body.layout-nine .layout9-topbar__lang .dropdown-button-language span {
      display: none !important;
   }
   body.layout-nine .layout9-topbar__lang .dropdown-button-language img {
      max-width: 14px !important;
   }
   body.layout-nine .layout9-topbar__lang .dropdown-content-language {
      position: fixed !important;
      top: 32px !important;
      right: 8px !important;
      left: auto !important;
      min-width: 160px !important;
      z-index: 9999 !important;
   }

   /* Main bar — all items vertically centered on one line */
   body.layout-nine .layout9-header__inner {
      padding: 10px 10px 10px 6px;
      gap: 8px;
      justify-content: space-between;
      align-items: center !important;
      flex-wrap: nowrap !important;
      min-height: 56px;
   }

   body.layout-nine .layout9-header__brand {
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      gap: 0;
      flex: 0 0 auto;
   }
   body.layout-nine .humberger__open {
      position: static !important;
      top: auto !important;
      right: auto !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: 36px !important;
      height: 36px !important;
      border: none !important;
      line-height: normal !important;
   }

   body.layout-nine .layout9-header__hamburger i {
      font-size: 18px;
   }

   /* Show mobile logo before hamburger, hide desktop logo */
   body.layout-nine .layout9-header__logo--desktop {
      display: none !important;
   }

   body.layout-nine .layout9-header__brand {
      gap: 0 !important;
   }

   body.layout-nine .layout9-header__logo--mobile {
      display: inline-flex !important;
      align-items: center;
   }

   body.layout-nine .layout9-header__logo--mobile img {
      max-height: 20px;
      max-width: 80px;
      width: auto;
      object-fit: contain;
   }

   body.layout-nine .layout9-header__actions {
      flex-shrink: 0;
      align-items: center !important;
      display: flex !important;
      gap: 4px !important;
   }

   /* Show search on mobile, hide locale */
   body.layout-nine .layout9-header__search {
      display: flex;
   }

   body.layout-nine .layout9-header__locale {
      display: none;
   }

   body.layout-nine .layout9-header__auth {
      gap: 4px;
   }

   body.layout-nine .layout9-header__auth-link {
      padding: 5px;
      font-size: 12px;
      gap: 3px;
   }

   body.layout-nine .layout9-header__auth-link--primary,
   body.layout-nine .layout9-header.is-scrolled .layout9-header__auth-link--primary {
      padding: 5px;
      font-size: 12px;
      background: #ffffff !important;
      color: var(--default-color, #0f1230) !important;
      border-color: #ffffff !important;
   }

   body.layout-nine .layout9-header__cart > a {
      width: 30px;
      height: 30px;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
   }

   body.layout-nine .layout9-header__cart > a span {
      position: absolute;
      top: -5px;
      right: -5px;
      width: 14px;
      height: 14px;
      min-width: 0;
      padding: 0;
      border-radius: 50%;
      font-size: 8px;
      font-weight: 700;
      background: var(--default-color, #0f1230);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      z-index: 10;
      overflow: hidden;
   }

   body.layout-nine .layout9-header__actions .wrap-notification .wrapper {
      padding-right: 0;
   }
   body.layout-nine .layout9-header__actions .wrap-notification .wrapper span {
      top: -6px !important;
      right: 2px !important;
   }

   body.layout-nine .layout9-header__search-toggle {
      width: 30px;
      height: 30px;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
   }

   /* Mega menu becomes static block inside the page */
   body.layout-nine .layout9-megamenu {
      position: static;
      width: 100%;
      max-height: none;
      box-shadow: none;
      border-radius: 0;
      opacity: 1;
      visibility: visible;
      transform: none;
      display: none;
   }

   body.layout-nine .layout9-nav__item--mega:hover .layout9-megamenu {
      display: block;
   }

   body.layout-nine .layout9-megamenu__grid {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 16px;
   }
}

/* ============================================================
   Dedicated slide-in sidebar for layout 9 (.layout9-sidebar)
   Independent from the shared humberger.php styles above.
   Hidden on desktop, shown only on responsive (max-width: 991px)
   ============================================================ */
body.layout-nine .layout9-sidebar {
   display: none !important;
   position: fixed;
   top: 0;
   left: -360px;
   width: 320px;
   height: 100vh;
   background: #ffffff;
   z-index: 99999;
   overflow-y: auto;
   padding: 0;
   opacity: 0;
   transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
   box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
}

body.layout-nine .layout9-sidebar.show__humberger__menu__wrapper {
   left: 0 !important;
   opacity: 1 !important;
   display: block !important;
}

/* Close button */
body.layout-nine .layout9-sidebar__close {
   position: absolute;
   top: 14px;
   right: 14px;
   width: 34px;
   height: 34px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border: none;
   border-radius: 50%;
   background: #1a1a1a;
   color: #ffffff;
   font-size: 14px;
   cursor: pointer;
   z-index: 5;
   transition: background 0.15s ease, transform 0.15s ease;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

body.layout-nine .layout9-sidebar__close:hover {
   background: #000000;
   transform: rotate(90deg);
}

/* Vendor logo at top of sidebar */
body.layout-nine .layout9-sidebar__logo-wrap {
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 12px 50px 12px 16px;
   border-bottom: 1px solid #f0f0f0;
   margin-bottom: 4px;
}

body.layout-nine .layout9-sidebar__logo-wrap img {
   max-height: 44px;
   max-width: 160px;
   width: auto;
   height: auto;
   object-fit: contain;
}

/* Theme-color header band with user profile */
body.layout-nine .layout9-sidebar__header {
   background: linear-gradient(135deg, var(--default-color, #0f1230) 0%, color-mix(in srgb, var(--default-color, #0f1230) 80%, #000) 100%);
   color: #ffffff;
    padding: 8px;
    position: relative;
    border-radius: 15px;
}

body.layout-nine .layout9-sidebar__profile {
   display: flex;
   align-items: center;
   gap: 14px;
   padding: 0;
   border: none;
}

body.layout-nine .layout9-sidebar__avatar {
   flex: 0 0 48px;
   width: 48px;
   height: 48px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.18);
   color: #ffffff;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-weight: 700;
   font-size: 19px;
   border: 2px solid rgba(255, 255, 255, 0.35);
}

body.layout-nine .layout9-sidebar__profile-text {
   flex: 1 1 auto;
   min-width: 0;
}

body.layout-nine .layout9-sidebar__profile-name {
   font-size: 15px;
   font-weight: 700;
   color: #ffffff;
   line-height: 1.3;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

body.layout-nine .layout9-sidebar__profile-email {
   font-size: 12px;
   color: rgba(255, 255, 255, 0.78);
   margin-top: 2px;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}




body.layout-nine .layout9-sidebar__section-label {
   font-size: 11px;
   font-weight: 700;
   letter-spacing: 0.9px;
   text-transform: uppercase;
   color: #9ca3af;
   padding: 14px 12px 6px;
   margin: 6px 0 0;
}

body.layout-nine .layout9-sidebar__list {
   list-style: none;
   margin: 0;
   padding: 0;
}

body.layout-nine .layout9-sidebar__list li {
   list-style: none;
   margin: 1px 0;
}

body.layout-nine .layout9-sidebar__list a,
body.layout-nine .layout9-sidebar__toggle {
   display: flex;
   align-items: center;
   gap: 12px;
   width: 100%;
   padding: 11px 12px;
   border: none;
   border-radius: 8px;
   background: transparent;
   color: #1f2937 !important;
   font-size: 14.5px;
   font-weight: 500;
   text-align: left;
   text-decoration: none;
   cursor: pointer;
   transition: background 0.15s ease, color 0.15s ease;
}

body.layout-nine .layout9-sidebar__list a > i:first-child,
body.layout-nine .layout9-sidebar__toggle > i:first-child {
   width: 20px;
   text-align: center;
   font-size: 16px;
   color: #6b7280;
   flex-shrink: 0;
}

body.layout-nine .layout9-sidebar__list a > span,
body.layout-nine .layout9-sidebar__toggle > span {
   flex: 1 1 auto;
   min-width: 0;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

body.layout-nine .layout9-sidebar__list a:hover,
body.layout-nine .layout9-sidebar__toggle:hover {
   background: color-mix(in srgb, var(--default-color, #0f1230) 8%, #ffffff);
   color: var(--default-color, #0f1230) !important;
}

body.layout-nine .layout9-sidebar__list a:hover > i:first-child,
body.layout-nine .layout9-sidebar__toggle:hover > i:first-child {
   color: var(--default-color, #0f1230);
}

/* Dropdown chevron */
body.layout-nine .layout9-sidebar__chevron {
   margin-left: auto;
   font-size: 11px;
   color: #9ca3af;
   transition: transform 0.2s ease, color 0.15s ease;
}

body.layout-nine .layout9-sidebar__dropdown.is-open .layout9-sidebar__chevron {
   transform: rotate(180deg);
   color: var(--default-color, #0f1230);
}

body.layout-nine .layout9-sidebar__dropdown.is-open > .layout9-sidebar__toggle {
   background: color-mix(in srgb, var(--default-color, #0f1230) 8%, #ffffff);
   color: var(--default-color, #0f1230) !important;
}

body.layout-nine .layout9-sidebar__dropdown.is-open > .layout9-sidebar__toggle > i:first-child {
   color: var(--default-color, #0f1230);
}

/* Submenu */
body.layout-nine .layout9-sidebar__submenu {
   list-style: none;
   max-height: 0;
   overflow: hidden;
   margin: 0;
   padding: 0 0 0 24px;
   border-left: 2px solid color-mix(in srgb, var(--default-color, #0f1230) 20%, #ffffff);
   margin-left: 22px;
   transition: max-height 0.3s ease, padding-top 0.2s ease, padding-bottom 0.2s ease;
}

body.layout-nine .layout9-sidebar__dropdown.is-open > .layout9-sidebar__submenu {
   max-height: 400px;
   padding-top: 4px;
   padding-bottom: 6px;
}

body.layout-nine .layout9-sidebar__submenu a {
   padding: 8px 10px;
   font-size: 13.5px;
   font-weight: 500;
   color: #4b5563 !important;
}

body.layout-nine .layout9-sidebar__submenu a > i:first-child {
   font-size: 13px;
   color: #9ca3af;
}

body.layout-nine .layout9-sidebar__submenu a:hover {
   color: var(--default-color, #0f1230) !important;
}

body.layout-nine .layout9-sidebar__submenu a:hover > i:first-child {
   color: var(--default-color, #0f1230);
}

/* Footer (Login / Signup / Logout) */
body.layout-nine .layout9-sidebar__list--footer {
   margin-top: 18px;
   padding-top: 14px;
   border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.layout-nine .layout9-sidebar__logout {
   color: #dc2626 !important;
}

body.layout-nine .layout9-sidebar__logout > i:first-child {
   color: #dc2626 !important;
}

body.layout-nine .layout9-sidebar__logout:hover {
   background: rgba(220, 38, 38, 0.08) !important;
   color: #dc2626 !important;
}

body.layout-nine .layout9-sidebar__signup {
   background: var(--default-color, #0f1230) !important;
   color: #ffffff !important;
}

body.layout-nine .layout9-sidebar__signup > i:first-child,
body.layout-nine .layout9-sidebar__signup > span {
   color: #ffffff !important;
}

body.layout-nine .layout9-sidebar__signup:hover {
   filter: brightness(1.1);
   color: #ffffff !important;
}

@media (max-width: 480px) {
   body.layout-nine .layout9-sidebar {
      width: 88vw;
      left: -90vw;
   }
}

/* ============================================================
   Layout 9 modern footer (.layout9-footer)
   Rendered by templates/element/footer9.php
   ============================================================ */
body.layout-nine .layout9-footer {
   background: linear-gradient(135deg, var(--default-color, #0f1230) 0%, color-mix(in srgb, var(--default-color, #0f1230) 78%, #000) 100%);
   color: #c5c8d4;
   padding: 40px 0 0;
   font-family: inherit;
}

body.layout-nine .layout9-footer .container {
   max-width: 1320px;
   margin: 0 auto;
   padding: 0 24px;
}

body.layout-nine .layout9-footer__grid {
   display: grid;
   grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
   gap: 48px;
   padding-bottom: 48px;
}

/* Brand column */
body.layout-nine .layout9-footer__brand {
   display: flex;
   flex-direction: column;
   gap: 18px;
}

body.layout-nine .layout9-footer__logo {
   display: inline-flex;
   align-items: center;
   text-decoration: none !important;
}

body.layout-nine .layout9-footer__logo img {
   max-height: 54px;
   max-width: 220px;
   width: auto;
   height: auto;
   object-fit: contain;
   filter: brightness(0) invert(1);
}

body.layout-nine .layout9-footer__tagline {
   font-size: 14px;
   line-height: 1.6;
   color: rgba(255, 255, 255, 0.75);
   margin: 0;
   max-width: 320px;
}

body.layout-nine .layout9-footer__social {
   display: flex;
   align-items: center;
   gap: 10px;
   flex-wrap: wrap;
}

body.layout-nine .layout9-footer__social a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 36px;
   height: 36px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.08);
   color: #ffffff;
   font-size: 14px;
   text-decoration: none !important;
   transition: background 0.15s ease, transform 0.15s ease;
}

body.layout-nine .layout9-footer__social a:hover {
   background: rgba(255, 255, 255, 0.18);
   transform: translateY(-2px);
}

/* Headings & lists */
body.layout-nine .layout9-footer__heading {
   font-size: 13px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   color: #ffffff !important;
   margin: 0 0 18px;
}

body.layout-nine .layout9-footer__links,
body.layout-nine .layout9-footer__contact {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   flex-direction: column;
   gap: 10px;
}

body.layout-nine .layout9-footer__links li a {
   color: rgba(255, 255, 255, 0.72) !important;
   font-size: 14px;
   text-decoration: none !important;
   transition: color 0.15s ease, padding-left 0.15s ease;
}

body.layout-nine .layout9-footer__links li a:hover {
   color: #ffffff !important;
   padding-left: 4px;
}

body.layout-nine .layout9-footer__contact li {
   display: flex;
   align-items: center;
   gap: 12px;
   font-size: 14px;
}

body.layout-nine .layout9-footer__contact li i {
   width: 32px;
   height: 32px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   color: #ffffff;
   background: rgba(255, 255, 255, 0.12);
   border-radius: 50%;
   padding: 0;
   font-size: 13px;
   flex-shrink: 0;
   margin: 0;
}

body.layout-nine .layout9-footer__contact li a {
   color: rgba(255, 255, 255, 0.85) !important;
   text-decoration: none !important;
   word-break: break-word;
}

body.layout-nine .layout9-footer__contact li a:hover {
   color: #ffffff !important;
}

/* Newsletter */
/* ── Newsletter banner (above footer) ── */
body.layout-nine .layout9-newsletter-banner {
    position: relative;
    background: #ffffff;
    padding: 0;
    overflow: hidden;
}

body.layout-nine .layout9-newsletter-banner__inner {
    position: relative;
    z-index: 2;
    background: var(--default-color, #1a3c8f);
    margin: 40px auto;
    max-width: 1100px;
    border-radius: 20px;
    padding: 52px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

/* decorative blobs */
body.layout-nine .layout9-newsletter-banner__inner::before,
body.layout-nine .layout9-newsletter-banner__inner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    pointer-events: none;
}
body.layout-nine .layout9-newsletter-banner__inner::before {
    width: 340px;
    height: 340px;
    background: #ffffff;
    top: -120px;
    left: -80px;
}
body.layout-nine .layout9-newsletter-banner__inner::after {
    width: 260px;
    height: 260px;
    background: #ffffff;
    bottom: -100px;
    right: -60px;
}

body.layout-nine .layout9-newsletter-banner__text {
    flex: 1 1 300px;
    position: relative;
    z-index: 1;
}

body.layout-nine .layout9-newsletter-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

body.layout-nine .layout9-newsletter-banner__title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

body.layout-nine .layout9-newsletter-banner__sub {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.6;
    max-width: 360px;
}

body.layout-nine .layout9-newsletter-banner__right {
    flex: 1 1 360px;
    position: relative;
    z-index: 1;
}

body.layout-nine .layout9-newsletter-banner__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.layout-nine .layout9-newsletter-banner__field {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

body.layout-nine .layout9-newsletter-banner__field i {
    color: var(--default-color, #1a3c8f);
    font-size: 15px;
    margin-right: 10px;
    opacity: 0.7;
}

body.layout-nine .layout9-newsletter-banner__input {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #1a1a2e;
    font-size: 14px;
    height: 42px;
}

body.layout-nine .layout9-newsletter-banner__input::placeholder {
    color: #aab0c0;
}

body.layout-nine .layout9-newsletter-banner__btn {
    border: none;
    background: var(--default-color, #1a3c8f);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    letter-spacing: 0.3px;
}

body.layout-nine .layout9-newsletter-banner__btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

body.layout-nine .layout9-newsletter-banner__note {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

body.layout-nine .layout9-newsletter-banner__note i {
    font-size: 11px;
}

@media (max-width: 900px) {
    body.layout-nine .layout9-newsletter-banner__inner {
        margin: 24px 16px;
        padding: 40px 32px;
        gap: 32px;
    }
}
@media (max-width: 600px) {
    body.layout-nine .layout9-newsletter-banner__inner {
        padding: 36px 24px;
        border-radius: 16px;
    }
    body.layout-nine .layout9-newsletter-banner__title {
        font-size: 24px;
    }
    body.layout-nine .layout9-newsletter-banner__right {
        flex: 1 1 100%;
    }
}

body.layout-nine .layout9-footer__newsletter {
   margin-top: 24px;
}

body.layout-nine .layout9-footer__newsletter-title {
   font-size: 13px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.8px;
   color: #ffffff !important;
   margin: 0 0 10px;
}

body.layout-nine .layout9-footer__newsletter-form {
   display: flex;
   align-items: center;
   background: rgba(255, 255, 255, 0.08);
   border: 1px solid rgba(255, 255, 255, 0.12);
   border-radius: 30px;
   padding: 4px 4px 4px 16px;
   gap: 6px;
}

body.layout-nine .layout9-footer__newsletter-form input[type="text"] {
   flex: 1 1 auto;
   min-width: 0;
   background: transparent;
   border: none;
   outline: none;
   color: #ffffff;
   font-size: 13px;
   height: 38px;
}

body.layout-nine .layout9-footer__newsletter-form input[type="text"]::placeholder {
   color: rgba(255, 255, 255, 0.5);
}

body.layout-nine .layout9-footer__newsletter-form button {
   border: none;
   background: #ffffff;
   color: var(--default-color, #0f1230);
   font-size: 13px;
   font-weight: 700;
   padding: 8px 18px;
   border-radius: 24px;
   cursor: pointer;
   transition: background 0.15s ease, transform 0.15s ease;
   flex-shrink: 0;
}

body.layout-nine .layout9-footer__newsletter-form button:hover {
   background: #f3f4f7;
   transform: translateY(-1px);
}

/* App store badges */
body.layout-nine .layout9-footer__apps {
   display: flex;
   gap: 10px;
   margin-top: 18px;
   flex-wrap: wrap;
}

body.layout-nine .layout9-footer__apps a {
   display: inline-flex;
}

body.layout-nine .layout9-footer__apps img {
   max-height: 38px;
   max-width: 130px;
   object-fit: contain;
}

/* Bottom copyright bar */
body.layout-nine .layout9-footer__bar {
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   padding: 20px 0;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 14px;
   font-size: 13px;
   color: rgba(255, 255, 255, 0.65);
   flex-wrap: wrap;
}

body.layout-nine .layout9-footer__bar a {
   color: #ffffff !important;
   text-decoration: none !important;
   font-weight: 600;
}

body.layout-nine .layout9-footer__bar a:hover {
   opacity: 0.85;
}

body.layout-nine .layout9-footer__powered span {
   color: #ffffff;
   font-weight: 600;
}

/* Hide the legacy footer markup that ships inside footer9.php for JS-hook compatibility */
body.layout-nine .layout9-footer__legacy {
   display: none !important;
}

/* Strip the outer <footer class="login-modal-fetch footer spad..."> chrome from style.css */
body.layout-nine footer.login-modal-fetch.footer {
   padding: 0 !important;
   background: transparent !important;
}

/* ============================================================
   Auth panels — Login & Signup slide-in sidebar  (layout 9)
   ============================================================ */

/* ── Overlay ── */
.layout9-auth-overlay {
   display: none;
   position: fixed;
   inset: 0;
   background: rgba(15, 20, 35, 0.55);
   backdrop-filter: blur(3px);
   -webkit-backdrop-filter: blur(3px);
   z-index: 10000;
   transition: opacity 0.28s;
}
.layout9-auth-overlay.is-active {
   display: block;
}

/* ── Panel shell ── */
.layout9-auth-panel {
   position: fixed;
   top: 0;
   right: 0;
   width: 480px;
   max-width: 100vw;
   height: 100%;
   background: #fff;
   z-index: 10001;
   display: flex;
   flex-direction: column;
   transform: translateX(100%);
   transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
   box-shadow: -8px 0 40px rgba(0, 0, 0, 0.18);
}
.layout9-auth-panel.is-open {
   transform: translateX(0);
}
.after-icon {
    top: 16px;
}
/* ── Branded header strip ── */
/* ── Branded header strip ── */
.layout9-auth-panel__header {
   position: relative;
   background: var(--default-color, #7fad39);
   padding: 20px 20px 40px 20px;
   flex-shrink: 0;
}
.layout9-auth-panel__header::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 22px;
   background: #fff;
   clip-path: ellipse(55% 100% at 50% 100%);
}
.layout9-auth-panel__title {
   font-size: 24px;
   font-weight: 700;
   color: #fff;
   margin: 0 0 4px;
   letter-spacing: -0.3px;
}
.layout9-auth-panel__subtitle {
   font-size: 13px;
   color: rgba(255,255,255,0.82);
   margin: 0;
}

/* ── Close button ── */
.layout9-auth-panel__close {
   position: absolute;
   top: 14px;
   right: 14px;
   background: rgba(255,255,255,0.2);
   border: none;
   cursor: pointer;
   color: #fff;
   z-index: 2;
   width: 34px;
   height: 34px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   transition: background 0.2s;
   font-size: 16px;
}
.layout9-auth-panel__close:hover {
   background: rgba(255,255,255,0.38);
}

/* ── Scrollable body — sits cleanly below header ── */
.layout9-auth-panel__body {
   flex: 1;
   overflow-y: auto;
   padding: 0 28px 32px;
   scroll-behavior: smooth;
}
.layout9-auth-panel__body::-webkit-scrollbar {
   width: 4px;
}
.layout9-auth-panel__body::-webkit-scrollbar-thumb {
   background: #ddd;
   border-radius: 4px;
}

/* ══════════════════════════════════════════════
   Login panel — premium layout
   ══════════════════════════════════════════════ */
#layout9-login-panel {
   display: flex;
   flex-direction: column;
}
#layout9-login-panel .layout9-auth-panel__body {
   display: flex;
   flex-direction: column;
   justify-content: center;
   gap: 18px;
   padding: 22px 28px 32px;
}

/* Form card */
.login-panel-card {
   background: #fff;
   border-radius: 16px;
   border: 1px solid #eef0f5;
   box-shadow: 0 4px 20px rgba(0,0,0,0.06);
   padding: 24px 22px 20px;
}

/* Field icon prefix in labels */
.login-field-icon {
   color: var(--default-color, #7fad39);
   margin-right: 5px;
   font-size: 12px;
}


.login-panel-trust i {
   color: var(--default-color, #7fad39);
   font-size: 13px;
}

/* ── Form base resets ── */
.layout9-auth-panel #adminupload,
.layout9-auth-panel .inner-backgroud {
   padding: 0 !important;
   box-shadow: none !important;
   background: transparent !important;
   max-width: 100% !important;
}

/* ── Input & select fields ── */
.layout9-auth-panel .form-control,
.layout9-auth-panel input[type="text"],
.layout9-auth-panel input[type="email"],
.layout9-auth-panel input[type="password"],
.layout9-auth-panel input[type="number"],
.layout9-auth-panel select,
.layout9-auth-panel textarea {
   border: 1.5px solid #e2e6ea;
   border-radius: 10px;
   height: 46px;
   font-size: 14px;
   padding: 10px 14px;
   color: #222;
   background: #f9fafb;
   transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
   width: 100%;
   box-sizing: border-box;
}
/* Native select — custom arrow, no browser default */
.layout9-auth-panel select {
   appearance: none;
   -webkit-appearance: none;
   -moz-appearance: none;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
   background-position: right 14px center;
   padding-right: 36px;
   cursor: pointer;
}
.layout9-auth-panel textarea {
   height: auto !important;
   min-height: 80px;
   resize: vertical;
}
.layout9-auth-panel .form-control:focus,
.layout9-auth-panel input:focus,
.layout9-auth-panel select:focus,
.layout9-auth-panel textarea:focus {
   border-color: var(--default-color, #7fad39);
   box-shadow: 0 0 0 3px rgba(127,173,57,0.12);
   background: #fff;
   outline: none;
}
.layout9-auth-panel label {
   font-size: 12.5px;
   font-weight: 600;
   color: #555;
   margin-bottom: 5px;
   letter-spacing: 0.02em;
   text-transform: uppercase;
   display: block;
}

/* ── Two-column row inside panel (col-6 grid) ── */
.layout9-auth-panel .form-row {
   display: flex;
   flex-wrap: wrap;
   margin-left: -8px;
   margin-right: -8px;
}
.layout9-auth-panel .form-row > .col-6,
.layout9-auth-panel .form-row > .col-md-6 {
   flex: 0 0 50%;
   max-width: 50%;
   padding-left: 8px;
   padding-right: 8px;
   box-sizing: border-box;
}
.layout9-auth-panel .form-row > .col-12,
.layout9-auth-panel .form-row > .col-sm-12,
.layout9-auth-panel .form-row > .col-md-12 {
   flex: 0 0 100%;
   max-width: 100%;
   padding-left: 8px;
   padding-right: 8px;
   box-sizing: border-box;
}
/* Prevent select2 widgets from injecting into the panel */
.layout9-auth-panel .select2-container {
   display: none !important;
}
.layout9-auth-panel select.select2-hidden-accessible {
   display: block !important;
   visibility: visible !important;
   position: static !important;
   width: 100% !important;
   height: 46px !important;
   opacity: 1 !important;
   clip: unset !important;
   clip-path: unset !important;
}

/* ── OTP digit inputs ── */
.layout9-auth-panel .digit-group {
   display: flex;
   align-items: center;
   gap: 6px;
}
.layout9-auth-panel .digit-group input {
   width: 44px !important;
   height: 50px;
   border-radius: 10px;
   border: 1.5px solid #e2e6ea;
   background: #f4f6f8;
   color: #111;
   font-size: 20px;
   font-weight: 600;
   text-align: center;
   margin: 0;
   padding: 0;
   transition: border-color 0.2s, box-shadow 0.2s;
}
.layout9-auth-panel .digit-group input:focus {
   border-color: var(--default-color, #7fad39);
   box-shadow: 0 0 0 3px rgba(127,173,57,0.15);
   background: #fff;
   outline: none;
}
.layout9-auth-panel .digit-group .splitter {
   color: #aaa;
   font-size: 20px;
   padding: 0 2px;
}

/* ── Buttons ── */
.layout9-auth-panel .site-btn,
.layout9-auth-panel .btn.site-btn {
   background: var(--default-color, #7fad39);
   color: #fff;
   border: none;
   border-radius: 10px;
   font-size: 15px;
   font-weight: 600;
   padding: 13px 20px;
   cursor: pointer;
   transition: opacity 0.2s, transform 0.15s;
   letter-spacing: 0.01em;
}
.layout9-auth-panel .site-btn:hover {
   opacity: 0.88;
   transform: translateY(-1px);
   color: #fff;
}
.layout9-auth-panel .site-btn:active {
   transform: translateY(0);
}

/* ── OR divider ── */
.layout9-auth-panel .or-line {
   position: relative;
   text-align: center;
   margin: 18px 0;
   color: #aaa;
   font-size: 13px;
}
.layout9-auth-panel .or-line::before,
.layout9-auth-panel .or-line::after {
   content: '';
   position: absolute;
   top: 50%;
   width: 40%;
   height: 1px;
   background: #e8e8e8;
}
.layout9-auth-panel .or-line::before { left: 0; }
.layout9-auth-panel .or-line::after  { right: 0; }
.layout9-auth-panel .or-line span {
   background: #fff;
   padding: 0 10px;
   position: relative;
   z-index: 1;
}

/* ── Switch link (Don't have an account / Already have) ── */
.layout9-auth-panel__switch {
   text-align: center;
   margin-top: 20px;
   padding-top: 18px;
   border-top: 1px solid #f0f0f0;
   font-size: 13.5px;
   color: #666;
}
.layout9-auth-panel__switch a {
   color: var(--default-color, #7fad39);
   font-weight: 700;
   text-decoration: none;
}
.layout9-auth-panel__switch a:hover {
   text-decoration: underline;
}

/* ── Forgot password link ── */
.layout9-auth-panel .forgot_password {
   font-size: 13px;
   color: var(--default-color, #7fad39) !important;
   font-weight: 600;
   text-decoration: none !important;
   display: block;
   text-align: right;
   margin-top: 4px;
   margin-bottom: 4px;
}
.layout9-auth-panel .forgot_password:hover {
   text-decoration: underline !important;
}

/* ── Forgot password inline section ── */
.layout9-auth-panel__forgot {
   background: #f8f9fa;
   border-radius: 14px;
   padding: 24px;
   margin-top: 24px;
   border: 1px solid #eee;
}
.layout9-auth-panel__forgot-title {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-bottom: 12px;
}
.layout9-auth-panel__forgot-title h5 {
   margin: 0;
   font-size: 16px;
   font-weight: 700;
   color: #222;
}
.layout9-auth-panel__back-btn {
   background: rgba(0,0,0,0.06);
   border: none;
   border-radius: 50%;
   width: 32px;
   height: 32px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   color: #555;
   font-size: 14px;
   transition: background 0.2s;
   flex-shrink: 0;
}
.layout9-auth-panel__back-btn:hover {
   background: rgba(0,0,0,0.12);
}

/* ── reCAPTCHA responsive ── */
.layout9-auth-panel .recaptcha-responsive {
   transform-origin: left center;
}
@media (max-width: 400px) {
   .layout9-auth-panel .recaptcha-responsive {
      transform: scale(0.88);
   }
}

/* ── Section divider label (signup) ── */
.layout9-auth-panel__section-label {
   font-size: 11px;
   font-weight: 700;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: var(--default-color, #7fad39);
   margin: 0 0 10px;
   display: flex;
   align-items: center;
   gap: 8px;
}
.layout9-auth-panel__section-label::after {
   content: '';
   flex: 1;
   height: 1px;
   background: #eee;
}

/* ── Map canvas ── */
/* Map canvas inside signup panel — same id as signup.php (#map-canvas) */
.layout9-auth-panel #map-canvas {
   width: 100%;
   height: 260px !important;
   border-radius: 10px;
   border: 1.5px solid #e2e6ea;
   overflow: visible;
   margin-bottom: 16px;
   background: #f0f0f0;
   position: relative;
}

/* ── Terms checkbox ── */
.layout9-auth-panel .term-condition-font,
.layout9-auth-panel [for="signup_agree"] {
   font-size: 13px;
   color: #555;
   font-weight: 400;
   text-transform: none;
   letter-spacing: 0;
}
.layout9-auth-panel [for="signup_agree"] a {
   color: var(--default-color, #7fad39);
   font-weight: 600;
}

/* ── Timer text ── */
.layout9-auth-panel #timerTxt {
   font-size: 12.5px;
   color: #888;
}

/* ── Button style reset so <button> matches <a> auth links ── */
.layout9-header__auth-btn {
   background: none;
   border: none;
   cursor: pointer;
   font-family: inherit;
   font-size: inherit;
}

/* ── Full-width on tablets and below ── */
@media (max-width: 992px) {
   .layout9-auth-panel {
      width: 100vw !important;
   }
}

/* ── Responsive ── */
@media (max-width: 520px) {
   .layout9-auth-panel {
      width: 100vw;
   }
   /* Login panel body: align to top on mobile, not vertically centered */
   #layout9-login-panel .layout9-auth-panel__body {
      justify-content: flex-start !important;
      padding-top: 32px !important;
   }
}

/* ============== Responsive ============== */
@media (max-width: 991px) {
   body.layout-nine .layout9-footer__grid {
      grid-template-columns: 1fr 1fr;
      gap: 36px;
   }
   body.layout-nine .layout9-footer__brand {
      grid-column: 1 / -1;
   }
}

@media (max-width: 575px) {
   body.layout-nine .layout9-footer {
      padding-top: 40px;
   }
   body.layout-nine .layout9-footer__grid {
      grid-template-columns: 1fr;
      gap: 30px;
      padding-bottom: 30px;
   }
   body.layout-nine .layout9-footer__bar {
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
   }
}

/* ── Signup panel two-column layout ── */
#layout9-signup-panel {
    width: min(85vw, 1300px);
}
@media (max-width: 992px) {
    #layout9-signup-panel {
        width: 100vw !important;
    }
}
/* Override base body: no own scroll, pass height down to children */
#layout9-signup-panel .layout9-auth-panel__body {
    padding: 0;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
}
/* The <form> wrapping the two-col layout must also stretch to fill remaining body height */
#layout9-signup-panel .layout9-auth-panel__body > form {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
}

/* Two-col wrapper fills all remaining body height */
.signup-twocol-wrap {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
}
/* LEFT: map column — fixed width, map stretches to fill */
.signup-col-left {
    width: 55%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 16px 20px 20px;
    border-right: 1px solid #e2e6ea;
    min-height: 0;
}
.signup-col-left #map-canvas {
    flex: 1 1 0;
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0;
}
/* RIGHT: form column — scrollable area + sticky footer */
.signup-col-right {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
.signup-col-right .signup-form-scroll {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    padding: 0 24px 16px;
}
.signup-col-right .signup-form-footer {
    flex: 0 0 auto;
    padding: 14px 24px 20px;
    border-top: 1px solid #e2e6ea;
    background: #fff;
}

/* ── Mobile: single-column fully scrollable layout ── */
@media (max-width: 800px) {
    #layout9-signup-panel {
        width: 100vw !important;
    }
    /* Hide "Drag the pin to your exact location" infowindow on mobile */
    #layout9-signup-panel .gm-style .gm-style-iw-c,
    #layout9-signup-panel .gm-style .gm-style-iw-t,
    #layout9-signup-panel .gm-style .gm-style-iw-tc {
        display: none !important;
    }
    /* Let the body scroll freely — no more flex overflow trap */
    #layout9-signup-panel .layout9-auth-panel__body {
        overflow-y: auto !important;
        display: block !important;
        padding: 0 !important;
    }
    #layout9-signup-panel .layout9-auth-panel__body > form {
        display: block !important;
        overflow: visible !important;
    }
    /* Stack map above form in a single scrollable column */
    .signup-twocol-wrap {
        flex-direction: column;
        overflow: visible !important;
        min-height: unset;
        flex: none;
    }
    /* Map: fixed height, doesn't stretch to fill viewport */
    .signup-col-left {
        width: 100%;
        flex-shrink: 0;
        border-right: none;
        border-bottom: 1px solid #e2e6ea;
        padding: 16px 20px;
        height: 320px !important;
        min-height: unset;
    }
    .signup-col-left #map-canvas {
        height: 280px !important;
        min-height: unset !important;
        flex: none !important;
    }
    /* Form column: natural height, no inner scroll */
    .signup-col-right {
        flex: none;
        overflow: visible !important;
        min-height: unset;
        height: auto;
    }
    .signup-col-right .signup-form-scroll {
        overflow-y: visible !important;
        flex: none;
        min-height: unset;
        padding: 0 20px 16px;
    }
    /* Sticky footer becomes static on mobile */
    .signup-col-right .signup-form-footer {
        position: static;
        padding: 14px 20px 24px;
    }
}

/* Google Places autocomplete dropdown must appear above the auth panel */
.pac-container {
    z-index: 10100 !important;
}
