/* ─────────────────────────────────────────────────────
   GLOBAL NAV OVERRIDE — included by all HealHolistic pages
   Adds: Offerings dropdown, responsive font shrink, Shop link
───────────────────────────────────────────────────── */

/* ── Dropdown container ── */
.nav-links .nav-dropdown,
.nav-links-ul .nav-dropdown {
    position: relative;
    list-style: none;
}

/* ── Dropdown trigger arrow ── */
.nav-links .nav-dropdown > a::after,
.nav-links-ul .nav-dropdown > a::after {
    content: " ▾";
    font-size: 10px;
    opacity: 0.7;
}

/* ── Dropdown menu panel ── */
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(79, 28, 76, 0.18);
    padding: 8px 0;
    min-width: 250px;
    z-index: 9999;
    list-style: none;
    border: 1px solid rgba(79, 28, 76, 0.12);
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
    animation: navDropIn 0.18s ease;
}

@keyframes navDropIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown-menu li {
    list-style: none;
    margin: 0 !important;
}

.nav-dropdown-menu a {
    display: block !important;
    padding: 10px 20px !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #4F1C4C !important;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
    line-height: 1.4 !important;
}

.nav-dropdown-menu a:hover {
    background: #F4DEFA;
    color: #30112E !important;
}

/* Kill the underline animation on dropdown items */
.nav-dropdown-menu a::after,
.nav-dropdown-menu a::before {
    display: none !important;
    content: none !important;
}

/* ── Prevent font overflow on medium desktops (1024–1300px) ── */
@media (min-width: 1024px) and (max-width: 1300px) {
    .nav-links a,
    .nav-links-ul a {
        font-size: 13px !important;
    }
    .nav-links,
    .nav-links-ul {
        gap: 1rem !important;
    }
}

@media (min-width: 1301px) and (max-width: 1420px) {
    .nav-links a,
    .nav-links-ul a {
        font-size: 15px !important;
    }
    .nav-links,
    .nav-links-ul {
        gap: 1.4rem !important;
    }
}
