/* ==========================================================================
   PIXEL-PERFECT FLOATING NAVIGATION SPECIFICATIONS
   ========================================================================== */
.navigation-master-header {
    padding: 16px 32px 0 32px; /* Top and horizontal margins that detach the bar from screen boundaries */
    background: transparent !important;
    pointer-events: none; /* Allows pointer pass-through to background regions */
    z-index: 100 !important;
    font-family: "Outfit", sans-serif;
}

.custom-navbar-capsule-frame {
    pointer-events: auto;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.45) 0%, 
        rgba(240, 242, 245, 0.25) 50%, 
        rgba(255, 255, 255, 0.15) 100%
    );
    backdrop-filter: blur(30px) saturate(125%);
    -webkit-backdrop-filter: blur(30px) saturate(125%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    height: 64px;
    width: 100%;
    max-width: 100%;
    padding: 0 24px 0 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.column-brand-gap {
    gap: 16px;
}

.menu-hamburger-trigger-btn {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4.5px;
    cursor: pointer;
}

.menu-hamburger-trigger-btn .trigger-bar-line {
    display: block;
    width: 16px;
    height: 2px;
    background-color: #1e293b;
    border-radius: 4px;
}

.brand-logo-anchor {
    display: inline-flex;
    text-decoration: none;
}

.brand-logo-graphic-img {
    height: 22px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

/* Primary Directory Link Options Core Layout Alignment */
.directory-unordered-list {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 66px; /* Proportional figma sizing spaces layout precisely */
}

.directory-interactive-link {
    font-size: 16px;
    font-weight: 500;
    color: #1A1A1A;
    text-decoration: none;
    position: relative;
    padding: 22px 0;
    display: block;
    letter-spacing: -0.01em;
    transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}



.directory-interactive-link.node-state-active {
    /* font-weight: 600; */
    color: #1A1A1A;
}

/* Accent linear-gradient indicator marker directly below active tab element */
.directory-interactive-link.node-state-active::after {
    content: '';
    position: absolute;
    top: 21px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0052ff 0%, #00a3ff 100%);
    border-radius: 10px;
}

/* Operational Icon Anchors Configuration Properties */
.column-utilities-gap {
    gap: 22px;
}

.utility-icon-anchor-link {
    color: #1e293b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.utility-icon-anchor-link:hover {
    color: var(--color-glide-blue-primary);
}

.action-conversion-cta-button {background: #FAFAFA;padding: 10px 32px;border-radius: 40px;font-size: 14px;color: #1A1A1A;font-weight: 500;}

.action-conversion-cta-button:hover {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
}



/* Hover Effect */
.directory-unordered-list a {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    padding: 0px !important;
    transition: color 0.3s ease;
}

/* Original text */
.directory-unordered-list a span {
    display: block;
    transform: translateY(0);
    transition: transform 0.35s cubic-bezier(.76,0,.24,1);
}

/* Hover text */
.directory-unordered-list a::after {
    content: attr(data-text);

    position: absolute;
    inset: 0;
    /* display: flex;
    align-items: center; */

    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(.76,0,.24,1);
}

/* Animate */
.directory-unordered-list a:hover span {
    transform: translateY(-110%);
}

.directory-unordered-list a:hover::after {
    transform: translateY(0);
}



/* ==========================================================================
   MEGA MENU POSITIONING CONTAINER STYLING
   ========================================================================== */


.glide-mega-menu-dropdown {
    position: absolute;
    top: 93px;
    left: 25px;
    width: calc(100% - 50px);
    background-color: #EAEBED; /* Matches the exact grey background tint from the design system */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1040;
    
    /* Elegant smooth-collapse display animations */
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.glide-mega-menu-dropdown.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Left Sidebar Tab Navigation Elements */
.mega-menu-tabs-sidebar {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.mega-vertical-tabs-list .mega-tab-item {
    margin-bottom: 12px;
}

.mega-vertical-tabs-list .mega-tab-link {
    font-family: var(--glide-font-family);
    font-size: 15px;
    font-weight: 600;
    color: var(--glide-neutral-600);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.mega-vertical-tabs-list .mega-tab-item.active .mega-tab-link,
.mega-vertical-tabs-list .mega-tab-link:hover {
    color: var(--glide-neutral-900);
}

/* Right Showcase Slider Items styling */
.mega-products-swiper {
    width: 100%;
    overflow: hidden;
}

.mega-product-card {
    padding: 10px;
    background: transparent;
}

.mega-img-frame {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-img-frame img {
    max-height: 100%;
    object-fit: contain;
}

.mega-product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--glide-neutral-900);
}

/* Precise Design System Blue Badge indicator */
.badge-new-tag {
    font-size: 11px;
    font-weight: 700;
    color: #0022FF; /* Precise blue from design system file */
    background-color: #EBF7FF;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Absolute Positioning Arrow Component styling */
.mega-swiper-arrow {
    position: absolute;
    top: 42%;
    width: 38px;
    height: 38px;
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--glide-neutral-900);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    z-index: 20;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.mega-swiper-arrow:hover {
    /* background-color: var(--glide-neutral-200); */
    transform: scale(1.05);
}

.mega-arrow-prev { left: -8px; }
.mega-arrow-next { right: 12px; }


/* Hide tabs content by default, reveal gracefully via active injection */
.mega-category-content-panel {
    display: none;
}

.mega-category-content-panel.active {
    display: block;
}

/* Ensure arrows sit over the active layout slide bounds properly */
.mega-swiper-arrow {
    pointer-events: auto;
}
/* ------------- */

body.mega_menu_open .navigation-master-header{    
    width: calc(100% - 50px);
    margin: 16px 25px;
    padding: 20px 0 0 0;

}


body.mega_menu_open .custom-navbar-capsule-frame {
    CONTAIN-INTRINSIC-BLOCK-SIZE: AUTO 100PX;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;

    z-index: 9999;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

body.mega_menu_open .custom-navbar-capsule-frame {
    background: #EAEBED;
        padding-top: 18px;
}
body.mega_menu_open .viewport-hero-block-wrapper {
    margin-top: -134px;
}



/* body.mega_menu_open {} */

/* 1. Hide arrows with 0 opacity by default */
.mega-vertical-tabs-list .mega-tab-link img {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* 2. Fade in the arrow when active */
.mega-vertical-tabs-list .mega-tab-item.active .mega-tab-link img {
    opacity: 1;
    visibility: visible;
}

/* ---------------------------------------------- */




/* ==========================================================================
    Sidebar Popup
   ========================================================================== */

/* Sidebar Structural Configurations */
.test-ride-panel {
    width: 480px !important; /* Premium slide-out standard thickness */
    background-color: #ffffff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}

@media (max-width: 576px) {
    .test-ride-panel {
        width: 100% !important;
    }
}

/* Hero Section with Aspect Ratio Matching Design Image */
.panel-hero {
    background-image: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.1)), url('../images/scooter-panel-hero.png');
    background-size: cover;
    background-position: center;
    height: 183px;
}

.btn-panel-close {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.btn-panel-close:hover {
    opacity: 1;
}

/* Typography Scale Matching Pixel Perfect Mockup */
.font-xs {
    font-size: 0.8rem !important;
}
.font-sm {
    font-size: 0.9rem !important;
}
.tracking-wide {
    letter-spacing: 0.05em;
}
.line-height-tight {
    line-height: 1.25;
}
.line-height-normal {
    line-height: 1.4;
}

/* Pixel Perfect Input & Selector Fields */
.custom-input, .custom-select {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #1A202C;
}
.custom-input:focus, .custom-select:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Combined Prefix Fields Box Placement */
.custom-input-left {
    border: 1px solid #E2E8F0;
    border-radius: 8px 0 0 8px;
}
.custom-input-right {
    border-radius: 0 8px 8px 0;
}

/* Custom Dropdown Chevron Positioning */
.custom-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234A5568' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-size: 10px 10px;
}

/* Custom timing selectors configuration */
.custom-timing-radio-group .timing-card {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background-color: #ffffff;
    transition: all 0.25s ease;
    cursor: pointer;
}

.custom-timing-radio-group .btn-check:checked + .timing-card {
    border-color: #22d3ee;
    background-color: #f0fdfa;
    box-shadow: 0 0 0 2px #22d3ee;
}

/* Indicator status circle element for Active Selections */
.custom-timing-radio-group .btn-check:checked + .timing-card::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 8px;
    background-color: #22d3ee;
    color: white;
    font-size: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-timing-radio-group .col-4 {
    position: relative;
}

/* Proposition Block */
.value-proposition-box {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
}

/* Action submission interface element styling */
.btn-action-submit {
    background-color: #22d3ee;
    border: none;
    transition: background-color 0.2s ease;
}
.btn-action-submit:hover {
    background-color: #0bc5ea;
}


nav.navbar {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    /* padding-top: 23px; */
}

ul.navbar-nav {
    font-size: 16px;
    gap: 85px;
}

.nav-link-test-ride {
    background: #FAFAFA;
    padding: 10px 32px;
    border-radius: 40px;
    font-size: 14px;
    color: #1A1A1A;
}

button.btn.btn-vip {
    background: #FAFAFA;
    padding: 10px 32px;
    border-radius: 40px;
    font-size: 14px;
    color: #1A1A1A;
}

button.btn.btn-shop {
position: relative;
  display: inline-block;
  padding: 16px 40px;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  text-decoration: none;
  z-index: 1;
}
button.btn.btn-shop::before{
    content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50px; 
  padding: 1px; /* This acts as your border width */
  background: linear-gradient(91.77deg, #63CEF5 21.67%, rgba(255, 255, 255, 0) 123.97%);
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}




/* ------------------- */
.fixed-top{position: absolute !important;}

/* ------------------------------- */

body.mega_menu_open .navigation-master-header{
    padding-top: 0px;
}

body.mega_menu_open .custom-navbar-capsule-frame {
    padding-top: 0;
}

.glide-mega-menu-dropdown {
    position: absolute;
    top: 80px;
    left: 25px;
    width: calc(100% - 50px);
}

/* ---------------------------------------------------------------------------- */

.directory-unordered-list li {
    position: relative;
    display: inline-block;
}

/* Clear standard border styles */
.directory-unordered-list li.current_page_item {
    border: none !important;
}

/* Rounded Gradient Underline matching Figma specs */
.directory-unordered-list li.current_page_item::after {
    content: "";
    position: absolute;
    bottom: -6px; /* Distance below text */
    left: 0;
    width: 100%;
    height: 2.4px; /* Exact Figma border thickness */
    
    /* Rounded pill edges */
    border-radius: 100px; 
    
    /* Exact Figma Gradient */
    background: linear-gradient(
        90deg, 
        #1A1A1A -33.58%, 
        #0F0361 9.76%, 
        #1339DE 35.87%, 
        #0973E2 43.33%, 
        #32BDED 89.5%, 
        #9ADEF6 98%
    );
}


/* Ensure the image frame clips the scaling image */
.mega-img-frame {
    overflow: hidden;
    border-radius: 8px; /* Optional: adjust to match your design */
}

/* Base styles for smooth transition */
.mega-img-frame img {
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

/* Hover effect triggered by card hover */
.mega-product-card:hover .mega-img-frame img {
    transform: scale(1.08);
}