/* Nero Clube Custom Header Styles */

/* Remove default header styles */
.site-header {
    display: none !important;
}

/* Custom Nero Header */
.nero-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.nero-header-wrapper.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nero-header-wrapper.scrolled .nero-header-main {
    box-shadow: none;
}

/* Top black bar with coupon */
.nero-header-top {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nero-header-top .coupon-text {
    margin: 0;
}

/* Main header */
.nero-header-main {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.nero-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nero-header-logo {
    display: flex;
    align-items: center;
}

.nero-header-logo a {
    text-decoration: none;
    color: #000000;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.nero-header-logo img {
    max-height: 50px;
    width: auto;
    height: auto;
}

.nero-header-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

/* Fallback for sites without custom logo */
.nero-logo-icon {
    margin-right: 8px;
    width: 40px;
    height: 40px;
    fill: #000000;
}

/* Navigation Menu */
.nero-header-nav {
    display: flex;
    align-items: center;
}

.nero-header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nero-header-nav li {
    margin: 0 25px;
}

.nero-header-nav a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nero-header-nav a:hover {
    color: #007cba;
}

.nero-header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007cba;
    transition: width 0.3s ease;
}

.nero-header-nav a:hover::after,
.nero-header-nav a.current::after {
    width: 100%;
}

/* Cart Icon */
.nero-header-cart {
    display: flex;
    align-items: center;
}

.nero-header-cart a {
    position: relative;
    text-decoration: none;
    color: #333333;
    transition: color 0.3s ease;
}

.nero-header-cart a:hover {
    color: #007cba;
}

.nero-cart-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.nero-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Menu Toggle */
.nero-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nero-mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nero-header-container {
        padding: 0 15px;
    }
    
    .nero-header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: none;
        flex-direction: column;
        padding: 20px 0;
    }
    
    .nero-header-nav.active {
        display: flex;
    }
    
    .nero-header-nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nero-header-nav li {
        margin: 10px 0;
        text-align: center;
    }
    
    .nero-mobile-toggle {
        display: block;
    }
    
    .nero-header-logo a {
        font-size: 24px;
    }
    
    .nero-header-logo img {
        max-height: 40px;
    }
    
    .nero-logo-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .nero-header-top {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .nero-header-main {
        padding: 12px 0;
    }
    
    .nero-header-container {
        padding: 0 10px;
    }
    
    .nero-header-logo a {
        font-size: 20px;
    }
    
    .nero-header-logo img {
        max-height: 35px;
    }
    
    .nero-logo-icon {
        width: 28px;
        height: 28px;
    }
}

/* Animation for mobile menu toggle */
.nero-mobile-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nero-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nero-mobile-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Accessibility */
.nero-header-nav a:focus,
.nero-header-cart a:focus,
.nero-mobile-toggle:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .nero-header-wrapper {
        position: static;
        box-shadow: none;
    }
    
    .nero-header-top {
        display: none;
    }
}