/* ========================================
   Header Styles - PretPret Inspired
   Logo left, menu items center-left, icons right
   ======================================== */

/* Sticky Container */
.sticky-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}

/* Main Header */
.main-header {
    padding: 0 50px;
}

/* Navbar Layout */
.navbar {
    display: flex !important;
    align-items: center;
    gap: 0;
    padding: 0;
    min-height: 65px;
}

/* Hamburger - hidden on desktop */
.navbar-toggler {
    display: none;
    font-size: 1.5rem;
    color: #000;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    order: 0;
}

.navbar-toggler i {
    color: #000 !important;
}

.navbar-toggler img {
    width: 22px;
    height: 22px;
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 25px;
    flex-shrink: 0;
    width: auto;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 0;
}

/* Desktop Nav Menu */
.navbar-menu {
    flex: 1;
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.2em !important;
    /* font-weight: 500; */
    color: #000 !important;
    padding: 7.5px 15px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    position: relative;
    letter-spacing: 0.2px;
    -webkit-text-decorations-in-effect: none;
}

.navbar-nav .nav-link:hover {
    color: #000 !important;
}

/* Active state: underline like PretPret */
.navbar-nav .nav-link.active {
    color: #000 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px !important;
}

/* Remove the old ::after underline animation */
.navbar-nav .nav-link::after {
    display: none;
}

/* Hover underline */
.navbar-nav .nav-link:hover {
    text-decoration: underline !important;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px !important;
}

/* Right Icons */
.navbar-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-icon {
    color: #000 !important;
    font-size: 1.15rem;
    text-decoration: none !important;
    transition: opacity 0.2s;
}

.nav-icon:hover {
    opacity: 0.6;
    color: #000 !important;
}

.nav-icon i {
    color: inherit !important;
}

.nav-icon img {
    width: 18px;
    height: 18px;
}

/* ========================================
   Mobile Styles
   ======================================== */
@media (max-width: 991px) {
    .main-header {
        padding: 0 20px;
    }

    .navbar {
        min-height: 55px;
    }

    .navbar-toggler {
        display: flex;
        align-items: center;
        order: 0;
        margin-right: 15px;
    }

    .navbar-brand {
        order: 1;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .navbar-brand img {
        height: 40px;
    }

    .navbar-icons {
        order: 3;
        gap: 14px;
        margin-left: auto;
    }

    /* Mobile menu - slide down */
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        padding: 10px 0;
        z-index: 999;
        order: 4;
    }

    .navbar-menu.show {
        display: block;
    }

    .navbar-nav {
        flex-direction: column !important;
        gap: 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 25px;
        font-size: 0.9rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 0 15px;
    }

    .navbar-brand img {
        height: 35px;
    }

    .navbar-icons {
        gap: 12px;
    }

    .nav-icon {
        font-size: 1rem;
    }
}

/* ========================================
   Announcement Bar (appears on all pages)
   ======================================== */

.announcement-bar {
    background: #000;
    color: #fff;
    padding: 10px 0;
    font-size: 0.9em;
    font-weight: 700 !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.announcement-arrow {
    background: none;
    border: none;
    color: #fff;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.announcement-arrow img {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
}

.announcement-arrow:hover {
    opacity: 1;
}

.announcement-text {
    transition: opacity 0.3s ease;
}

@media (max-width: 767px) {
    .announcement-bar {
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 1px;
    }
}

/* ========================================
   Utility Elements
   ======================================== */

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 20px;
    z-index: 1000;
    background: none;
    border-radius: 50%;
    padding: 0;
    box-shadow: none;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float img {
    width: 50px;
    height: 50px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Floating Cart */
.floating-cart {
    position: fixed;
    background: #fff !important;
    padding: 10px;
    border: #000 solid 2px;
    border-radius: 50%;
    bottom: 20px;
    right: 1.5%;
    z-index: 1000;
}
