/* ============================================
   COMPLETE CSS FOR layout.js HEADER & FOOTER
   ============================================ */

/* ROOT VARIABLES */
:root {
    --primary-gold: #F4C430;
    --primary-orange: #FF6B35;
    --primary-green: #10B981;
    --dark-brown: #2D1B14;
    --light-cream: #FEF7E0;
    --warm-beige: #FDF2E8;
    --white: #FFFFFF;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 50px rgba(0,0,0,0.15);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* BASE RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: var(--dark-brown);
    overflow-x: hidden;
}

/* ============================================
   HEADER STYLES (Injected by layout.js)
   ============================================ */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

#site-header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-hover);
    padding: 0.25rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;             /* match header */
}

#site-header.scrolled .header-container {
  height: 56px;
}

/* TARGET THE LOGO AREA */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

/* MAKE THE IMAGE LARGER */
.logo img {
    /* Increased from 40px to 60px */
    height: 60px !important; 
    width: auto;
    /* Keeps the logo crisp */
    object-fit: contain; 
    /* Slightly overlap the header padding if needed */
    margin: -5px 0; 
}

/* OPTIONAL: Adjust the "Ghar Ka Swad" text size to match */
.logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-brown);
    font-family: 'Playfair Display', serif;
}

/* Hover effect so it feels interactive */
.logo:hover {
    transform: scale(1.05);
}

/* RESPONSIVE: Scale down slightly for mobile so it doesn't crowd the hamburger */
@media (max-width: 768px) {
    .logo img {
        height: 45px !important;
    }
    .logo span {
        font-size: 1.1rem;
    }
}

/* NAVIGATION */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--dark-brown);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-orange));
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover { color: var(--primary-orange); }

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* USER AUTH SECTION */
#userNav {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(244,196,48,0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244,196,48,0.2);
}

.user-name {
    font-weight: 600;
    color: var(--dark-brown);
    font-size: 0.95rem;
}

.orders-link {
    color: var(--primary-orange) !important;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    transition: var(--transition);
    background: rgba(255,107,53,0.1);
    border: 1px solid rgba(255,107,53,0.3);
}

.orders-link:hover {
    background: var(--primary-orange) !important;
    color: white !important;
    transform: translateY(-1px);
}

.logout-btn {
    color: #ef4444 !important;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.logout-btn:hover {
    background: #ef4444 !important;
    color: white !important;
    transform: translateY(-1px);
}

/* LOGIN BUTTONS */
.auth-section, #loginSection {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Fix Login Button Alignment */
.login-btn {
    display: inline-flex;    /* Use inline-flex for button content */
    align-items: center;     /* Centers items vertically */
    justify-content: center; /* Centers items horizontally */
    gap: 8px;                /* Creates perfect spacing between SVG and Text */
    background: var(--primary-gold);
    color: var(--dark-brown);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    line-height: 1;          /* Prevents text from shifting down */
}

/* Ensure the SVG doesn't have extra margins */
.login-btn svg {
    margin: 0;
    display: block;          /* Removes baseline spacing */
    flex-shrink: 0;          /* Prevents icon from squishing */
}

.login-btn:hover {
    background: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* CART BUTTON */
.cart-btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary-gold), #E6B800);
    color: var(--dark-brown);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.mk-cart-count {
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -5px;
    right: -5px;
    border: 2px solid white;
    min-width: 24px;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: #128C7E;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-brown);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover span { background: var(--primary-orange); }

/* ============================================
   FOOTER STYLES (Injected by layout.js)
   ============================================ */
#site-footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #1f130a 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 8rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    font-weight: 600;
}

.footer-section p, 
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.8;
    font-size: 0.95rem;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.75rem;
}

.footer-section a:hover {
    color: var(--primary-gold);
    transform: translateX(4px);
}

/* SOCIAL LINKS */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-soft);
}

.social-btn.whatsapp { background: #25D366; color: white; }
.social-btn.instagram { background: linear-gradient(135deg, #E4405F, #F77737); color: white; }
.social-btn.youtube { background: #FF0000; color: white; }

.social-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-hover);
}

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-bottom a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover { text-decoration: underline; }

/* ============================================
   AUTH POPUP (for Auth.js integration)
   ============================================ */
#auth-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    backdrop-filter: blur(5px);
}

#auth-popup.show { display: flex; }

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
}

.auth-box {
    width: 90%;
    max-width: 380px;
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    animation: popIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes popIn {
    from { transform: scale(0.7) translateY(30px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.close-btn {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover { background: rgba(0,0,0,0.05); color: var(--dark-brown); }

.auth-box input {
    width: 100%;
    padding: 1rem 1.25rem;
    margin: 0.75rem 0 1.25rem 0;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
}

.auth-box input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(244,196,48,0.1);
}

.auth-box button {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary-gold), #E6B800);
    color: var(--dark-brown);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.auth-box button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.switch {
    font-size: 14px;
    margin-top: 1.25rem;
    text-align: center;
    color: #666;
}

.switch span {
    color: var(--primary-orange);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.switch span:hover { text-decoration: underline; }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .header-actions { gap: 0.75rem; }
    .nav-menu { gap: 1.5rem; }
}

@media (max-width: 768px) {
    /* MOBILE MENU */
    
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-soft);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    /* MOBILE HEADER ACTIONS */
    .header-actions {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .login-btn, .whatsapp-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    #loginSection { 
        display: none; 
    }
    
    #loginSection:only-child { display: flex; }
    
    /* FOOTER */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .social-links { justify-content: center; }
}

@media (max-width: 480px) {
    .header-container { padding: 0 1rem; }
    .logo span { display: none; }
    .cart-btn { padding: 0.7rem 1rem; font-size: 0.9rem; }
    #userNav { flex-direction: column; gap: 0.25rem; padding: 0.75rem; text-align: center; }
}

body.menu-open { 
    overflow: hidden; 
    position: fixed;
    width: 100%;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}
/* USER DROPDOWN */
.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(244,196,48,0.1);
    border: 2px solid rgba(244,196,48,0.3);
    color: var(--dark-brown);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.user-btn:hover {
    background: var(--primary-gold);
    transform: translateY(-1px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 180px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    border: 1px solid rgba(0,0,0,0.1);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    color: var(--dark-brown);
    border: none;
    background: none;
    text-align: left;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--light-cream);
    color: var(--primary-orange);
}

.logout-btn {
    color: #ef4444 !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
}

.logout-btn:hover {
    background: rgba(239,68,68,0.1) !important;
    color: #ef4444 !important;
}

/* Mobile */
@media (max-width: 768px) {
    .login-section { display: none; }
    .user-dropdown { order: -1; margin-right: auto; }
}
/* MOBILE HAMBURGER FIXED */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 2px;
    transition: 0.3s;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; padding: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
    .nav-menu.active { display: flex; }
    .nav-link { padding: 1rem; display: block; width: 100%; text-align: left; }
    
    .header-actions { gap: 0.5rem; }
    .login-section, .user-dropdown { order: 3; }
}

/* USER DROPDOWN MOBILE */
@media (max-width: 768px) {
    .user-dropdown { position: static; }
    .dropdown-menu { 
        position: static; 
        box-shadow: none; 
        background: #f8f9fa; 
        margin-top: 0.5rem; 
        border-radius: 8px; 
        opacity: 1; 
        transform: none; 
        display: none; 
    }
    .dropdown-menu.show { display: block; }
}
/* 👤 PROFILE ICON + DROPDOWN */
.user-dropdown { position: relative; display: flex; align-items: center; }

.user-btn {
    width: 45px; height: 45px; border-radius: 50%;
    background: linear-gradient(135deg, #f4c430, #f39c12);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(244,196,48,0.4);
    transition: all 0.3s ease;
}

.user-btn:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(244,196,48,0.6);
}

.dropdown-menu {
    position: absolute; top: 110%; right: 0;
    background: white; min-width: 220px; border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1003; border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}

.dropdown-menu.show {
    opacity: 1; visibility: visible; transform: translateY(0);
}

/* 👤 DROPDOWN HEADER with name */
.dropdown-header {
    padding: 1.2rem; display: flex; align-items: center; gap: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-header div { flex: 1; }
.user-fullname { font-weight: 600; font-size: 16px; color: #2c3e50; margin: 0; }
.user-phone { margin: 2px 0 0 0; color: #7f8c8d; }

.dropdown-item {
    display: block; width: 100%; padding: 12px 20px;
    text-decoration: none; color: #2c3e50; border: none; background: none;
    text-align: left; font-weight: 500; cursor: pointer; transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f8f9fa; color: #f4c430; padding-left: 24px;
}

.logout-btn {
    border-top: 1px solid rgba(0,0,0,0.08) !important;
    color: #e74c3c !important; font-weight: 600;
}

.logout-btn:hover {
    background: #fdf2f2 !important; color: #e74c3c !important;
}

/* Mobile */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static; box-shadow: none; background: #f8f9fa;
        margin-top: 8px; border-radius: 12px; opacity: 1; transform: none; display: none;
    }
    .dropdown-menu.show { display: block; }
}
/* 🔥 PERFECT ALIGNMENT */
.header-container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; padding: 1rem 2rem; max-width: 1400px; margin: 0 auto;
}

.logo { display: flex; align-items: center; gap: 0.5rem; }
.header-actions {
    display: flex; align-items: center; gap: 1rem; margin-left: auto;
}

/* DESKTOP (>1024px): Logo | Nav | 👤/Login | 🛒 */
@media (min-width: 1025px) {
    .nav-menu { display: flex; gap: 2rem; }
    .mobile-menu-toggle { display: none; }
}

/* MOBILE (≤1024px): Logo | 👤/Login | 🛒 | ☰ */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 64px;              /* EXACT header height */
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    display: none;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }
}

    .nav-link { padding: 1rem; display: block; width: 100%; }
    
    .mobile-menu-toggle { display: flex; flex-direction: column; gap: 4px; padding: 0.5rem; cursor: pointer; }
    .mobile-menu-toggle span {
        width: 25px; height: 3px; background: #f4c430; border-radius: 2px; transition: 0.3s;
    }
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    
    .header-container { padding: 1rem; }
    .logo span { font-size: 1rem; }
}

/* USER ICON & LOGIN BUTTON */
.login-section button, .user-dropdown {
    order: 1; /* Ensures correct mobile order */
}
.cart-btn { order: 2; }
.mobile-menu-toggle { order: 3; }
/* SVG icon */
/* ============================================
   SVG NAVIGATION ICONS ONLY - Perfect Mithora Branding
   ============================================ */

/* DESKTOP SVG ICONS (18px perfect size) */
.nav-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    fill: currentColor !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* NAV LINK CONTAINER */
.nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.4rem 1rem !important;
    border-radius: 25px !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

/* HOVER EFFECTS */
.nav-link:hover {
    color: #FF6B35 !important;
    background: rgba(244, 196, 48, 0.1) !important;
}

.nav-link:hover .nav-icon {
    filter: drop-shadow(0 2px 6px rgba(244, 196, 48, 0.6)) !important;
    transform: scale(1.1) rotate(5deg) !important;
}

/* ACTIVE STATE */
.nav-link.active {
    color: #F4C430 !important;
    background: rgba(244, 196, 48, 0.2) !important;
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.3) !important;
}

.nav-link.active .nav-icon {
    filter: drop-shadow(0 2px 4px rgba(244, 196, 48, 0.8)) !important;
    transform: scale(1.05) !important;
}

/* NAV TEXT */
.nav-text {
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

/* MOBILE SVG ICONS (22px bigger) */
@media (max-width: 1024px) {
    .nav-icon {
        width: 22px !important;
        height: 22px !important;
    }
    
    .nav-link {
        padding: 1rem !important;
        gap: 1rem !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    }
    
    .nav-text {
        font-size: 1.1rem !important;
    }
}

/* PERFECT UNDERLINE ANIMATION */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #F4C430, #FF6B35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80% !important;
    left: 50% !important;
}
/* 1. Ensure the parent is positioned correctly */
.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

/* 2. Desktop Dropdown (Default) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    z-index: 1001;
    margin-top: 10px;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
}

/* 3. MOBILE SPECIFIC - Move dropdown below header */
@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed; /* Fixes it relative to the viewport/header */
        top: 70px;      /* Adjust this to match your EXACT header height */
        left: 0;
        right: 0;
        width: 100%;    /* Spans across the screen for easier touch */
        margin-top: 0;
        border-radius: 0 0 15px 15px; /* Round only bottom corners */
        border-top: 1px solid #eee;
    }
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent circle */
    color: white;
    transition: all 0.3s ease;
    padding: 10px; /* Space around the icon */
}

/* Ensure the SVG inside takes up the full space provided */
.social-btn svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

.social-btn:hover {
    transform: translateY(-4px);
    color: white;
    background: var(--primary-gold);
}

/* Optional: Official Brand Colors on Hover */
.social-btn.whatsapp:hover { background: #25D366; }
.social-btn.instagram:hover { background: #E1306C; }
.social-btn.youtube:hover { background: #FF0000; }
/* Fix for Profile Icon Size */
.user-btn {
    width: 44px;           /* Circle size */
    height: 44px;
    background: var(--primary-orange); /* Your orange circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0;            /* Remove padding so SVG can grow */
    transition: var(--transition);
}

.user-btn svg {
    width: 30px;           /* Increased from 24px/26px */
    height: 30px;
    display: block;
}

.user-btn:hover {
    transform: scale(1.05);
    background: #e65a2b;   /* Slightly darker orange on hover */
}

/* Fix for the Dropdown Header Avatar Icon */
.user-avatar-circle {
    width: 50px;
    height: 50px;
    background: var(--warm-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.user-avatar-circle svg {
    width: 34px;           /* Large icon inside the dropdown header */
    height: 34px;
    color: var(--primary-gold);
}
#site-header {
  padding: 0.5rem 0;        /* reduced */
  min-height: 64px;         /* tighter */
}

#site-footer {
  min-height: 240px;
}
/* ===============================
   FINAL HAMBURGER VISIBILITY FIX
   =============================== */

/* Desktop default */
.mobile-menu-toggle {
  display: none !important;
}

/* Mobile only */
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }
}
/* Logo Size Increase*/
/* Brand logo prominence */
.header-container .logo img {
  height: 56px;          /* was ~40–44, this is ideal */
  width: auto;
}

.header-container .logo span {
  font-size: 16px;       /* tagline stays elegant */
  margin-top: 2px;
}
.header-container .logo {
  gap: 10px;
}

.header-container .logo img {
  height: 60px;
}

.header-container .logo span {
  font-weight: 600;
  letter-spacing: 0.3px;
}
@media (max-width: 768px) {
  .header-container .logo img {
    height: 48px;
  }
}
/* ===============================
   FINAL BRAND LOGO SIZE (OVERRIDE)
   =============================== */

#site-header .logo img {
    height: 64px !important;
    width: auto;
    object-fit: contain;
}

#site-header .logo span {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

/* Mobile */
@media (max-width: 768px) {
    #site-header .logo img {
        height: 50px !important;
    }
}
.footer-privacy-note {
  font-size: 13px;
  color: #7a6a5e;
  margin-top: 16px;
  text-align: center;
}

.footer-privacy-note a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}
