/* --- Header Core --- */
.st-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.st-header.is-scrolled {
    padding: 12px 0;
        background: hsla(var(--glass-bg) / 0.18);
    backdrop-filter: blur(4px) saturate(100%);
    border-bottom: 1px solid hsla(var(--glass-border) / 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.st-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.st-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.st-logo {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: 0.3s;
}

/* Desktop Nav */
.st-desktop-nav { display: block; }
.st-nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0; padding: 0;
}
.st-nav-list a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    transition: 0.3s;
    position: relative;
}
.st-nav-list a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: hsl(var(--foreground));
    transition: 0.3s;
}
.st-nav-list a:hover { color: hsl(var(--foreground)); }
.st-nav-list a:hover::after { width: 100%; }

/* Actions */
.st-actions { display: flex; align-items: center; gap: 12px; }
.st-action-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: hsla(var(--glass-bg) / 0.5);
    border: 1px solid hsla(var(--glass-border) / 0.5);
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
}
.st-action-btn:hover {
    color: hsl(var(--foreground));
    transform: scale(1.05);
    background: hsla(var(--glass-bg) / 1);
}

.st-cart-count {
    position: absolute; top: -2px; right: -2px;
    width: 18px; height: 18px;
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    font-size: 10px; font-weight: 600;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Mobile Nav Styles */
.st-mobile-nav {
    display: none;
    background: hsla(var(--glass-bg) / 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid hsla(var(--glass-border) / 0.5);
    padding: 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.st-mobile-nav.is-open {
    display: block;
    max-height: 500px;
}
.st-mobile-list { list-style: none; margin: 0; padding: 0; }
.st-mobile-list a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    color: hsl(var(--foreground));
    text-decoration: none;
    font-weight: 500;
}
.st-mobile-divider { height: 1px; background: hsla(var(--glass-border) / 0.5); margin: 10px 0; }

@media (max-width: 900px) {
    .st-desktop-nav { display: none; }
    .st-logo { font-size: 20px; }
}
/* --- Desktop vs Mobile Visibility --- */
.st-mobile-toggle {
    display: none !important; /* Forces hidden on Desktop */

}

@media (max-width: 900px) {
    .st-desktop-nav { display: none !important; }
    .st-mobile-toggle { display: flex !important;
width: auto;
        height: auto;
        padding: 11px; } /* Only shows on Mobile */
}

/* --- Smoother Header Appearance --- */
.st-header {
    transition: background 0.4s ease, padding 0.4s ease, transform 0.4s ease;
}

/* --- Smooth Mobile Menu Animation --- */
.st-mobile-nav {
    display: block; /* Keep block but control visibility */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: hsla(var(--glass-bg) / 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid hsla(var(--glass-border) / 0.5);
    padding: 0 24px;
    
    /* Animation Properties */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.st-mobile-nav.is-open {
    max-height: 450px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 30px 24px;
}

.st-mobile-list li {
    opacity: 0;
    transform: translateX(-15px);
    transition: 0.4s ease;
}

.st-mobile-nav.is-open .st-mobile-list li {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delay for list items */
.st-mobile-nav.is-open .st-mobile-list li:nth-child(1) { transition-delay: 0.1s; }
.st-mobile-nav.is-open .st-mobile-list li:nth-child(2) { transition-delay: 0.15s; }
.st-mobile-nav.is-open .st-mobile-list li:nth-child(3) { transition-delay: 0.2s; }
.st-mobile-nav.is-open .st-mobile-list li:nth-child(4) { transition-delay: 0.25s; }
.st-mobile-nav.is-open .st-mobile-list li:nth-child(5) { transition-delay: 0.3s; }

.st-logo-wrap img{
width:120px;
}
@media ( max-width: 620px)
{
.st-logo-wrap img{
width:90px;
}
}
/* Fix Astra Blue Border/Background on focus */
.st-action-btn:focus, .st-action-btn:active {
    outline: none !important;
    background: hsla(var(--glass-bg) / 0.5) !important;
    border: 1px solid hsla(var(--glass-border) / 0.5) !important;
    box-shadow: none !important;
}

/* Force SVG visibility and color */
.icon-menu, .icon-close {
    color: hsl(var(--foreground)) !important;
}

/* Ensure mobile tap doesn't show blue box */
.st-action-btn {
    -webkit-tap-highlight-color: transparent !important;
}
	