 :root {
     --brand-purple: #5d48eb;
     --dark-purple: #2b1654;
     --light-purple: #efeaff;
     --text-dark: #1a1a1a;
 }



 /* --- Announcement Bar --- */
.announcement-bar {
     position: relative;
     overflow: visible;
     background: linear-gradient(90deg, #2c1f74 0%, #3a2b8f 100%);
     font-size: 14px;
     padding: 7px 0;
     border-bottom: 0;
     box-shadow: 0 4px 14px rgba(22, 12, 62, 0.2);
 }

 .announcement-bar::after {
     content: "";
     position: absolute;
     inset: 0;
     pointer-events: none;
     background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
 }

.topbar-row {
     position: relative;
     z-index: 1;
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 14px;
     min-height: 34px;
 }

.topbar-offer {
     display: flex;
     align-items: center;
     gap: 9px;
     font-size: 12.5px;
     font-weight: 600;
     letter-spacing: 0.1px;
     white-space: nowrap;
     color: #f8f7ff;
     background: transparent;
     border: 0;
     border-radius: 0;
     padding: 0;
 }

.offer-dot {
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background: #ffd54f;
     box-shadow: 0 0 0 4px rgba(255, 213, 79, 0.18);
     flex-shrink: 0;
     animation: offerDotPulse 1.2s ease-in-out infinite;
 }

@keyframes offerDotPulse {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 213, 79, 0.45);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.86);
        box-shadow: 0 0 0 6px rgba(255, 213, 79, 0.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 213, 79, 0.45);
    }
}

.topbar-meta {
     display: flex;
     align-items: center;
     gap: 12px;
     flex-shrink: 0;
     padding-left: 8px;
     border-left: 0;
}

 .topbar-chip {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     padding: 0;
     border: 0;
     border-radius: 0;
     background: transparent;
     color: #fff;
     text-decoration: none;
     font-size: 11.5px;
     font-weight: 600;
     line-height: 1;
     letter-spacing: 0.1px;
     transition: opacity 0.2s ease;
     white-space: nowrap;
     position: relative;
 }

 .topbar-chip + .topbar-chip {
     padding-left: 12px;
 }

 .topbar-chip + .topbar-chip::before {
     content: "";
     position: absolute;
     left: 0;
     top: 50%;
     width: 1px;
     height: 14px;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.24);
 }

 .topbar-chip:hover {
     color: #fff;
     opacity: 0.9;
  }

.topbar-link {
     color: rgba(255, 255, 255, 0.88);
     text-decoration: none;
     font-size: 11.5px;
     font-weight: 700;
     letter-spacing: 0.25px;
     text-transform: uppercase;
     transition: color 0.2s ease, opacity 0.2s ease;
     padding: 0 2px;
     opacity: 0.95;
     white-space: nowrap;
     position: relative;
}

.topbar-link + .topbar-link {
    margin-left: 6px;
}

.topbar-link + .topbar-link::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 1px;
    height: 12px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.28);
}

.topbar-chip + .topbar-link {
    margin-left: 6px;
}

.topbar-chip + .topbar-link::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 1px;
    height: 12px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.28);
}

 .topbar-link:hover {
     color: #fff;
     opacity: 1;
 }

.grab-btn {
     background: #fff;
     border: 1px solid rgba(255, 255, 255, 0.8);
     color: #38269a;
     padding: 4px 12px;
     border-radius: 999px;
     transition: transform 0.2s ease, box-shadow 0.2s ease;
     font-size: 13px;
     font-weight: 700;
     text-decoration: none;
     display: inline-block;
     cursor: pointer;
     box-shadow: none;
     letter-spacing: 0.1px;
 }

 /* Hover Effect */
.grab-btn:hover {
     transform: translateY(-1px);
}

 /* Click (Active) Effect */
 .grab-btn:active {
     transform: translateY(0);
 }

 /* --- Navbar Styles --- */
.navbar {
     background: rgba(255, 255, 255, 0.94);
     border-bottom: 0;
     padding: 15px 0;
     transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
 }

 .navbar-brand img {
     width: 230px;
 }

 .nav-link {
     color: #333 !important;
     font-weight: 700 !important;
     font-size: 15px;
     transition: 0.3s;
     position: relative;
 }

.nav-link:hover {
     color: var(--brand-purple) !important;
 }

.nav-link.is-active {
    color: var(--brand-purple) !important;
}

.nav-link.is-active::before,
.navbar .nav-link:hover::before {
    content: none;
}



 /* --- Megamenu Default (Hidden) --- */
 /* Target only the megamenu dropdown, not all dropdowns */
 .navbar-nav .dropdown-menu {
     width: 680px;
     border: 1px solid #ede9ff;
     border-radius: 18px;
     box-shadow: 0 28px 60px rgba(19, 11, 53, 0.16);
     background:
         radial-gradient(circle at 90% 10%, rgba(111, 76, 255, 0.12), transparent 45%),
         linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
     backdrop-filter: blur(4px);
     padding: 16px;
     left: 50% !important;
     transform: translate(-50%, 8px) !important;
     display: none;
     opacity: 0;
     visibility: hidden;
     pointer-events: none;
     transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
 }

 .navbar-nav .dropdown-menu .row {
     row-gap: 10px;
 }

 .navbar-nav .dropdown-menu::before {
     content: "";
     position: absolute;
     top: -9px;
     left: 50%;
     transform: translateX(-50%) rotate(45deg);
     width: 18px;
     height: 18px;
     background: #ffffff;
     border-left: 1px solid #ede9ff;
     border-top: 1px solid #ede9ff;
 }

 /* --- Desktop Megamenu (992px+) - Hover ONLY --- */
 @media (min-width: 992px) {
     .navbar-nav .dropdown-menu {
         display: block;
     }

     .nav-item.dropdown:hover>.dropdown-menu {
         margin-top: 0;
         opacity: 1;
         visibility: visible;
         transform: translate(-50%, 0) !important;
         pointer-events: auto;
     }

     .nav-item.dropdown:focus-within>.dropdown-menu {
         margin-top: 0;
         opacity: 1;
         visibility: visible;
         transform: translate(-50%, 0) !important;
         pointer-events: auto;
     }
 }

 /* Megamenu Item Styling */
 .menu-item-box {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 14px;
     border-radius: 14px;
     border: 1px solid #ede9ff;
     background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
     box-shadow: 0 8px 16px rgba(25, 14, 68, 0.05);
     transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
     text-decoration: none;
     height: 100%;
 }

 .menu-item-box:hover {
     background: linear-gradient(180deg, #f7f3ff 0%, #ffffff 100%);
     border-color: #daccff;
     box-shadow: 0 14px 28px rgba(43, 22, 84, 0.12);
     transform: translateY(-2px);
 }

 .menu-item-box img {
     width: 42px;
     height: 42px;
     padding: 8px;
     border-radius: 12px;
     border: 1px solid #e6deff;
     background: linear-gradient(145deg, #ffffff 0%, #f1ebff 100%);
     object-fit: contain;
     flex-shrink: 0;
 }

 .menu-title {
     font-weight: 700;
     color: #1c1440;
     margin-bottom: 4px;
     font-size: 15px;
     letter-spacing: 0.1px;
     transition: color 0.22s ease;
 }

 .menu-desc {
     font-size: 12.5px;
     color: #625a7c;
     margin: 0;
     line-height: 1.45;
     font-style: normal;
 }

 .menu-item-box:hover .menu-title {
     color: #4a2d9a;
 }

 /* --- YouDesign Shine & Badge --- */
 .btn-shine {
     background: linear-gradient(to right, #47318C 0%, #a48fff 50%, #47318C 100%);
     background-size: 200% auto;
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     animation: shine 3s infinite linear;
     font-weight: 700;
 }

@keyframes shine {
     to {
         background-position: 200% center;
     }
 }

 .sup-new {
     color: red;
     font-size: 9px;
     font-weight: 800;
     vertical-align: super;
     margin-left: 2px;
 }

 /* --- Desktop Login & Currency --- */
 .btn-login-outline {
     border: 1px solid #ddd;
     border-radius: 8px;
     padding: 8px 25px;
     font-weight: 700;
     color: #000;
     text-decoration: none;
     text-transform: uppercase;
     font-size: 14px;
 }

 /* --- Currency Dropdown Styling --- */
 .currency-dropdown {
     position: relative;
 }

/* Prevent visible INR->USD flicker during page hydration */
.currency-dropdown {
    visibility: hidden;
}

body.currency-ui-ready .currency-dropdown {
    visibility: visible;
}

.announcement-bar .currency-dropdown-toggle {
    padding: 4px 8px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.topbar-meta .currency-dropdown {
    position: relative;
    margin-left: 2px;
    padding-left: 12px;
}

.topbar-meta .currency-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 14px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.24);
}

.topbar-meta .currency-dropdown::after {
    content: none;
}

.announcement-bar .currency-dropdown-toggle .chevron svg {
    stroke: rgba(255, 255, 255, 0.95);
}

 .currency-dropdown-toggle {
     display: flex;
     align-items: center;
     gap: 8px;
     cursor: pointer;
     padding: 5px 8px;
     border-radius: 6px;
     border: 1px solid rgba(255, 255, 255, 0.25);
     background: rgba(255, 255, 255, 0.12);
     color: #fff;
 }

.currency-label-js {
     font-size: 12px;
     font-weight: 700;
     letter-spacing: 0.2px;
 }

 .currency-dropdown-toggle .chevron {
     font-size: 12px;
     transition: transform 0.3s ease;
     width: 16px;
     height: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .currency-dropdown-toggle .chevron svg {
     width: 100%;
     height: 100%;
     stroke: #fff;
     stroke-width: 2.5;
 }

 .currency-dropdown-menu {
     position: absolute;
     top: 100%;
     right: 0;
     background: white;
     border: 1px solid #e0e0e0;
     border-radius: 10px;
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
     display: none;
     z-index: 1050;
     min-width: 110px;
     overflow: hidden;
 }

/* Keep top-bar currency menu above navbar and open downward */
.announcement-bar .currency-dropdown {
    z-index: 40;
}

.announcement-bar .currency-dropdown-menu {
    top: calc(100% + 8px);
    bottom: auto;
    right: 0;
    z-index: 2200;
}

 .currency-dropdown-menu.show {
     display: block;
 }

 .currency-dropdown-item {
     display: flex;
     align-items: center;
     justify-content: flex-start;
     padding: 10px;
     text-decoration: none;
     transition: background 0.2s ease;
     color: #111;
     font-size: 13px;
     font-weight: 700;
     border-bottom: 1px solid #ececec;
 }

 .currency-dropdown-item:last-child {
     border-bottom: 0;
 }

 .currency-dropdown-item:hover {
     background: #f5f5f5;
     color: #111;
     box-shadow: inset 0 0 0 0.1px #d8d8d8;
 }

 /* --- Mobile Responsive --- */
@media (max-width: 991px) {
    .navbar .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

     .navbar-brand img {
         width: 180px;
     }

     .mobile-currency-container {
         position: relative;
     }

     .currency-dropdown-menu {
         right: 0;
         left: auto;
     }

     .announcement-bar .currency-dropdown-menu {
         top: 100%;
         bottom: auto;
     }

     .currency-dropdown-toggle {
         border: 1px solid #ddd;
         background: #fff;
         color: #111;
     }

     .currency-dropdown-toggle .chevron svg {
         stroke: #333;
     }
 }

 /* --- Mobile Offcanvas --- */
 .offcanvas-end {
     width: 85% !important;
 }

 .mobile-nav-link {
     font-size: 17px;
     font-weight: 700;
     padding: 15px 0;
     border-bottom: 1px solid #f5f5f5;
     display: flex;
     justify-content: space-between;
     align-items: center;
     color: #111;
     text-decoration: none;
 }

 .mobile-submenu {
     background: #fcfcfc;
     padding-left: 15px;
     border-left: 3px solid var(--brand-purple);
 }

 .mobile-sub-item {
     padding: 10px 0;
     display: block;
     text-decoration: none;
     color: #444;
     font-size: 14px;
     border-bottom: 1px solid #eee;
 }

 .btn-mobile-login {
     background: #EAE5FF;
     color: var(--brand-purple) !important;
     width: 100%;
     padding: 16px;
     border-radius: 50px;
     font-weight: 700;
     display: block;
     text-align: center;
     text-decoration: none;
     text-transform: uppercase;
 }

 .sticky-top {
     position: sticky;
     top: 0;
     z-index: 1020;
     transition: backdrop-filter 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
 }

.sticky-top.header-scrolled {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 30px rgba(20, 16, 48, 0.12);
}

.dropdown-toggle::after {
    content: "\f107" !important;
    font-family: fontawesome !important;
     border: 0 !important;
     font-size: 12px !important;
     margin-left: 5px;
 }

 @media only screen and (min-width: 992px) and (max-width: 1099px) {
     .navbar-nav .dropdown-menu {
         width: 620px;
     }

     a.nav-link {
         font-size: 14px;
         padding-bottom: 6px;
     }

     .topbar-offer {
         font-size: 12.5px;
         max-width: 48%;
         overflow: hidden;
         text-overflow: ellipsis;
     }

     .topbar-chip {
         padding: 5px 8px;
         font-size: 11px;
     }

     .topbar-link {
         font-size: 10.5px;
     }

     .topbar-meta {
         gap: 7px;
         padding: 0 0 0 8px;
     }
 }

 @media only screen and (min-width: 1100px) and (max-width: 1320px) {
     .topbar-offer {
         font-size: 12.5px;
     }

     .topbar-chip {
         padding: 6px 9px;
         font-size: 11px;
     }

     .topbar-meta {
         gap: 7px;
     }
 }

 .padding-left-right {
     padding-right: .5rem !important;
     padding-left: .5rem !important;
 }

 @media only screen and (min-width: 992px) and (max-width: 1199px) {
     .padding-left-right {
         padding-right: 0 !important;
         padding-left: 0 !important;
     }

     a.nav-link {
         font-size: 14px;
         padding-bottom: 6px;
     }
 }

/* YouCache specific navbar */
.youcache-nav {
    background: #fff;
}

.youcache-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 38px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1;
}

.youcache-brand-you {
    color: #5d48eb;
}

.youcache-brand-cache {
    color: #0caf7c;
}

.youcache-links .nav-link {
    color: #5f588d;
    font-weight: 700;
    padding: 10px 20px;
    position: relative;
    transition: color 0.25s ease, transform 0.25s ease;
}

.youcache-links .nav-link:hover {
    color: #5d48eb;
    transform: translateY(-1px);
}

.youcache-links .nav-link::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #5d48eb 0%, #7e6af2 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.youcache-links .nav-link:hover::after {
    transform: scaleX(1);
}

.youcache-badge {
    border: 1px solid #ffb28f;
    color: #ff6b2f;
    border-radius: 999px;
    padding: 7px 16px;
    font-weight: 700;
    background: #fff8f4;
    font-size: 14px;
    white-space: nowrap;
}

.youcache-install-btn {
    background: linear-gradient(135deg, #5d48eb 0%, #6f59ef 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    padding: 11px 24px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(93, 72, 235, 0.24);
    white-space: nowrap;
}

.youcache-install-btn:hover {
    color: #fff;
}

@media only screen and (max-width: 991px) {
    .youcache-brand {
        font-size: 28px;
    }
}


