/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --scents-primary: #c9a227;
    --scents-primary-dark: #17181d;
    --scents-accent: #f1e3ab;
    --scents-dark: #0d0e12;
    --scents-black: #000000;
}

body {
    font-family: var(--font-body, 'Nunito Sans', sans-serif);
}

/* Header Container */
.site-header {
    width: 100%;
    background: #fff;
    box-shadow: 0 1px 0 rgba(201, 162, 39, 0.25);
    position: sticky;
    top: 0;
    z-index: 2000;
}

/* First Section: Top Bar - Hours (left) & Social (right) */
.sliding-banner.top-bar {
    background-color: #111217;
    color: var(--scents-primary-dark);
    border-bottom: 1px solid rgba(201, 162, 39, 0.32);
    padding: 10px 0;
    height: auto;
    min-height: 44px;
}

.top-bar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.top-bar-left i {
    font-size: 14px;
    color: var(--scents-primary);
}

.top-bar-left span {
    color: #f4e8bd;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-bar-social {
    color: var(--scents-primary);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.top-bar-social:hover {
    background: rgba(201, 162, 39, 0.2);
    color: #ffffff;
    transform: scale(1.08);
}

/* Live rotating sales caption */
.live-sales-caption {
    background: linear-gradient(90deg, #181a20 0%, #23262e 100%);
    border-bottom: 1px solid rgba(201, 162, 39, 0.24);
    opacity: 1;
    transition: opacity 0.45s ease;
}

.live-sales-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 9px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f3e7bd;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.live-sales-inner i {
    color: var(--scents-primary);
}

.live-sales-caption.is-faded {
    opacity: 0;
}

/* Second Section: Main Navigation */
.main-navigation {
    padding: 16px 0;
    background: #fff;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Left: Logo */
.nav-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
}

.logo {
    max-height: 70px;
    width: auto;
    display: block;
}

/* Center: Inline Search */
.nav-center.nav-search-wrap {
    flex: 1;
    max-width: 480px;
    position: static;
    transform: none;
    margin: 0 auto;
}

.nav-search-form {
    display: flex;
    align-items: center;
    border: 1px solid rgba(201, 162, 39, 0.45);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search-form:focus-within {
    border-color: var(--scents-primary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.nav-search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 18px;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
}

.nav-search-input::placeholder {
    color: #888;
}

.nav-search-btn {
    padding: 10px 16px;
    border: none;
    background: var(--scents-primary-dark);
    color: #17181d;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-search-btn:hover {
    background: #e4c65e;
    color: #17181d;
}

/* Right Icons */
.nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--scents-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.icon-btn:hover {
    color: var(--scents-accent);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--scents-primary);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Categories use the dedicated “Categories” toggle; hamburger not needed */
.mobile-menu-toggle {
    display: none !important;
}

.site-alert {
    max-width: 900px;
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
}

.site-alert-dynamic {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-alert-success {
    background: #e6f4ea;
    color: #1f7a3b;
    border: 1px solid #b3e2c3;
}

.site-alert-error {
    background: #fdecea;
    color: #d93025;
    border: 1px solid #f5c6c0;
}

/* Third Section: Categories Navigation (collapsible on all viewports) */
.categories-navigation {
    background-color: #fff;
    padding: 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.24);
}

.categories-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.mobile-categories-toggle {
    display: flex;
    width: 100%;
    background: none;
    border: none;
    color: var(--scents-primary-dark);
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading, 'Playfair Display', serif);
}

.mobile-categories-toggle i {
    color: var(--scents-primary);
    transition: transform 0.3s ease;
}

.mobile-categories-toggle.active i {
    transform: rotate(180deg);
}

.categories-nav {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.categories-nav.active {
    display: block;
    max-height: 2000px;
}

.categories-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 8px;
}

.categories-list li {
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(201, 162, 39, 0.14);
}

.categories-list li:last-child {
    border-bottom: none;
}

.category-link {
    display: block;
    color: var(--scents-primary-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: normal;
    position: relative;
    padding: 14px 8px;
}

.category-link:hover {
    color: var(--scents-primary);
    background: rgba(201, 162, 39, 0.12);
}

.last-category {
    padding-right: 8px;
    padding-left: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-center.nav-search-wrap {
        max-width: 320px;
    }
    
    .logo {
        max-height: 56px;
    }
    
    .nav-right {
        gap: 15px;
    }
    
    .icon-btn {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .top-bar-left span {
        font-size: 12px;
    }

    .live-sales-inner {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .main-navigation {
        padding: 12px 0;
    }
    
    .nav-container {
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .nav-left {
        order: 1;
    }
    
    .nav-center.nav-search-wrap {
        order: 3;
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }
    
    .nav-right {
        order: 2;
        gap: 12px;
        margin-left: auto;
    }
    
    .logo {
        max-height: 48px;
    }
    
    .icon-btn {
        font-size: 18px;
        padding: 6px;
    }
    
}

@media (max-width: 480px) {
    .top-bar-left span {
        font-size: 11px;
    }

    .live-sales-inner {
        font-size: 11px;
    }
    
    .top-bar-social {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .main-navigation {
        padding: 10px 0;
    }
    
    .logo {
        max-height: 42px;
    }
    
    .nav-right {
        gap: 10px;
    }
    
    .icon-btn {
        font-size: 16px;
        padding: 5px;
    }
    
    .categories-navigation {
        font-size: 14px;
    }
    
    .category-link {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}


