/* ========================================
   LUXE HEADER
   ======================================== */

/* Announcement Bar */
.luxe-announcement {
    position: relative;
    overflow: hidden;
    height: 40px;
    width: 100%;
    background: #282828;
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 40px;
}
.luxe-announcement-item {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    opacity: 0;
    transition: all 0.8s ease-in-out;
}
.luxe-announcement-item.active { top: 0; opacity: 1; }
.luxe-announcement-item.exit { top: -100%; opacity: 0; }
.luxe-announcement-item strong { font-weight: 700; }

/* Header */
.luxe-header {
    position: relative;
    width: 100%;
    background: #fff;
    z-index: 100;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}
.luxe-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.luxe-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Spacer for sticky header — prevents content jump */
.luxe-header-spacer { height: 0; }

/* Logo */
.luxe-logo { flex-shrink: 0; line-height: 0; }
.luxe-logo img { height: 45px; width: auto; }

/* Desktop Nav */
.luxe-nav-desktop { flex: 0 0 auto; }
.luxe-nav-desktop .luxe-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}
.luxe-nav-desktop .luxe-menu li a {
    display: block;
    padding: 8px 14px;
    color: #282828;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}
.luxe-nav-desktop .luxe-menu li a:hover,
.luxe-nav-desktop .luxe-menu li.current-menu-item a { color: #F7CC7F; }
.luxe-nav-desktop .luxe-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #F7CC7F;
    transform: scaleX(0);
    transition: transform 0.3s;
}
.luxe-nav-desktop .luxe-menu li a:hover::after,
.luxe-nav-desktop .luxe-menu li.current-menu-item a::after { transform: scaleX(1); }
.luxe-nav-desktop .cart_menu_li { display: none; }

/* Header Actions (right side) */
.luxe-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}
.luxe-icon-link {
    display: flex;
    align-items: center;
    color: #282828;
    transition: color 0.3s;
}
.luxe-icon-link:hover { color: #F7CC7F; }
.luxe-cart-link { position: relative; }
.luxe-cart-link .cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #F7CC7F;
    color: #282828;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.luxe-search-desktop { max-width: 220px; }

/* Mobile Toggle */
.luxe-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.luxe-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #282828;
    transition: 0.3s;
}

/* Mobile Menu Overlay */
.luxe-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: right 0.35s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    overflow-y: auto;
    padding: 20px;
}
.luxe-mobile-menu.is-open { right: 0; }
.luxe-mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.luxe-mobile-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #282828;
    padding: 4px 10px;
}
.luxe-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.luxe-mobile-nav li a {
    display: block;
    padding: 12px 0;
    color: #282828;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}
.luxe-mobile-nav li a:hover { color: #F7CC7F; }
.luxe-mobile-nav .cart_menu_li { display: none; }
.luxe-mobile-menu-icons {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.luxe-mobile-menu-icons a {
    color: #282828;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
}
.luxe-mobile-menu-icons a:hover { color: #F7CC7F; }

/* Mobile backdrop */
.luxe-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}
.luxe-mobile-backdrop.is-open { display: block; }

/* ========================================
   LUXE FOOTER
   ======================================== */
.luxe-footer {
    background: #282828;
    color: #ccc;
    padding: 60px 0 0;
    margin-top: 40px;
}
.luxe-footer a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.luxe-footer a:hover { color: #F7CC7F; }
.luxe-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.luxe-footer h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
}
.luxe-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.luxe-footer ul li { margin-bottom: 10px; }
.luxe-footer ul li a { font-size: 15px; }
.luxe-footer-about p { font-size: 14px; line-height: 1.7; margin: 12px 0; }
.luxe-footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.luxe-footer-email { color: #F7CC7F !important; font-size: 15px; }
.luxe-footer-bottom {
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid #3a3a3a;
    text-align: center;
}
.luxe-footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #999;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .luxe-nav-desktop { display: none; }
    .luxe-search-desktop { display: none; }
    .luxe-mobile-toggle { display: flex; }
    .luxe-header-inner { padding: 10px 16px; }
    .luxe-header-actions { gap: 12px; }
    .luxe-footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 479px) {
    .luxe-announcement { font-size: 12px; height: 36px; line-height: 36px; }
    .luxe-footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .luxe-icon-link svg { width: 20px; height: 20px; }
}

/* ========================================
   STOREFRONT OVERRIDES
   ======================================== */
.site-header .site-branding,
.site-header .storefront-handheld-footer-bar,
.storefront-breadcrumb { display: none; }

/* Center the logo by equalizing left/right flex sections */
.luxe-nav-desktop { flex: 1; }
.luxe-header-actions { flex: 1; justify-content: flex-end; }
