/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: High-performance child theme for Vaidyaratnam
Author: Vaidyaratnam
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
*/

/* 1. FONTS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* 2. CSS FIREWALL (Relaxed) */
#vaidya-header-scope * {
    box-sizing: border-box;
}

#vaidya-header-scope a {
    text-decoration: none;
    box-shadow: none;
}

#vaidya-header-scope ul, 
#vaidya-header-scope li {
    list-style: none;
    margin: 0;
    padding: 0;
    text-indent: 0;
}

#vaidya-header-scope button {
    appearance: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

#vaidya-header-scope input, 
#vaidya-header-scope select {
    background-color: transparent;
    border: none;
    box-shadow: none;
    font-family: inherit;
}

/* 3. VARIABLES */
:root {
    --primary: #00a85b;
    --secondary: #0f172a; /* Deep Black/Slate */
    --text-body: #334155;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Cart Variables */
    --brand-dark: #064e3b;
    --brand-primary: #00aa5b;
    --brand-gradient: linear-gradient(135deg, #00aa5b 0%, #008f4c 100%);
    --border-soft: #e2e8f0;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif !important; /* Force Font */
    -webkit-font-smoothing: antialiased;
    color: var(--secondary);
    font-size: 16px; /* Improved readability base */
    
    /* RESET: Padding not needed for sticky positioning */
    padding-top: 0 !important; 
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* 4. UTILITY CLASSES */
#vaidya-header-scope.vaidya-wrapper { 
    font-family: 'Outfit', sans-serif !important; 
    color: var(--secondary) !important;
    line-height: 1.5;
    
    /* --- STICKY WRAPPER CONFIGURATION (Negative Offset Method) --- */
    position: sticky !important;
    position: -webkit-sticky !important;
    
    /* Stick at -40px (Height of Top Bar). 
       This causes the Top Bar to scroll off-screen, and the Header to stick at 0. */
    top: -40px !important; 
    
    width: 100%;
    
    /* Z-INDEX CORRECTION:
       Set to 99 (Lower than WP Admin Bar which is usually 99999).
       This ensures the Top Bar scrolls BEHIND the Admin Bar, not over it. */
    z-index: 99 !important;
    
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translate3d(0, 0, 0);
}

/* Force Colors on Typography */
#vaidya-header-scope h1,
#vaidya-header-scope h2,
#vaidya-header-scope h3,
#vaidya-header-scope h4,
#vaidya-header-scope h5,
#vaidya-header-scope h6 {
    color: var(--secondary);
    font-weight: 700;
}

#vaidya-header-scope p {
    color: var(--text-body);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* 5. TOP BAR */
#vaidya-header-scope .top-bar {
    display: flex; /* Visible */
    align-items: center;
    background-color: var(--slate-50);
    padding: 0 24px;
    border-bottom: 1px solid var(--slate-200);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-body);
    width: 100%;
    
    /* FIXED HEIGHT: Matches the negative sticky offset */
    height: 40px !important; 
    min-height: 40px !important;
    max-height: 40px !important;
    overflow: hidden;
    
    position: relative;
    /* Lower Z-Index for Top Bar */
    z-index: 1; 
}
#vaidya-header-scope .top-bar-inner { 
    max-width: 1440px; 
    width: 100%;
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100%;
}
#vaidya-header-scope .top-social { display: flex; gap: 16px; align-items: center; }
#vaidya-header-scope .social-icons { display: flex; gap: 16px; margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--slate-300); }

#vaidya-header-scope .top-bar a { transition: color 0.2s ease; color: var(--text-body) !important; }
#vaidya-header-scope .top-bar a:hover { color: var(--primary) !important; }

/* 6. MAIN HEADER */

/* --- ADMIN BAR OFFSET ADJUSTMENTS --- */
/* Desktop Admin Bar (32px) -> Stick at 32px - 40px = -8px */
body.admin-bar #vaidya-header-scope.vaidya-wrapper {
    top: -8px !important;
}
/* Mobile Admin Bar (46px) -> Stick at 46px - 40px = 6px */
@media screen and (max-width: 782px) {
    body.admin-bar #vaidya-header-scope.vaidya-wrapper {
        top: 6px !important;
    }
}

/* Ensure the inner header block looks correct */
#vaidya-header-scope .sticky-header {
    background: var(--white);
    border-bottom: 1px solid var(--slate-100);
    width: 100%;
    position: relative; /* Wrapper handles stickiness */
    z-index: 2; /* Sits above Top Bar */
    box-shadow: var(--shadow-sm);
}

/* --- END HEADER STYLES --- */

#vaidya-header-scope .header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

#vaidya-header-scope #vaidya-custom-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
    display: block;
}
#vaidya-header-scope #vaidya-custom-logo:hover { transform: scale(1.02); }

/* Navigation */
#vaidya-header-scope .desktop-nav { border-top: 1px solid var(--slate-50); display: none; }
#vaidya-header-scope .nav-list { display: flex; justify-content: center; gap: 40px; padding: 14px 0; }
#vaidya-header-scope .nav-item {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    color: var(--secondary) !important; 
    transition: color 0.3s ease;
}
#vaidya-header-scope .nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
#vaidya-header-scope .nav-item:hover { color: var(--primary) !important; }
#vaidya-header-scope .nav-item:hover::after { width: 100%; }

/* Search Bar */
#vaidya-header-scope .search-container {
    display: none;
    flex-grow: 1;
    max-width: 500px;
    margin: 0 24px;
}
#vaidya-header-scope .search-box {
    display: flex;
    align-items: center;
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 48px;
    width: 100%; /* Ensure input fills */
}
#vaidya-header-scope .search-box:focus-within { 
    border-color: var(--primary) !important; 
    background-color: var(--white); 
    box-shadow: 0 0 0 4px rgba(0, 168, 91, 0.1) !important;
}
#vaidya-header-scope .cat-select {
    padding: 0 16px;
    border-right: 1px solid var(--slate-200);
    background: transparent;
    display: none;
}
#vaidya-header-scope .cat-select select {
    background: transparent;
    border: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-body);
    text-transform: uppercase;
    outline: none;
    height: 48px;
    cursor: pointer;
}
#vaidya-header-scope .search-input-wrap { flex-grow: 1; display: flex; align-items: center; padding: 0 16px; }
#vaidya-header-scope .search-input-wrap input {
    background: transparent;
    border: none;
    width: 100%;
    margin-left: 12px;
    height: 48px;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
    outline: none;
}
#vaidya-header-scope #vaidya-search-btn {
    background-color: var(--secondary);
    color: var(--white) !important;
    padding: 0 28px;
    height: 48px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 0 11px 11px 0 !important;
}
#vaidya-header-scope #vaidya-search-btn:hover { background-color: var(--primary); }

/* Icons Group */
#vaidya-header-scope .actions-group { display: flex; align-items: center; gap: 12px; }

/* Account Button */
#vaidya-header-scope .profile-wrapper { position: relative; }
#vaidya-header-scope .profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 4px 4px;
    border-radius: 99px !important;
    border: 1px solid var(--slate-200) !important;
    transition: all 0.3s;
    background-color: transparent;
    height: 44px;
    cursor: pointer;
}
#vaidya-header-scope .profile-btn:hover { border-color: var(--primary) !important; background-color: var(--slate-50); }

#vaidya-header-scope .icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50% !important;
    background-color: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
    transition: all 0.3s;
}
#vaidya-header-scope .profile-btn:hover .icon-circle { color: var(--primary); background-color: var(--white); }
#vaidya-header-scope .icon-circle .icon-md { width: 18px; height: 18px; } 

#vaidya-header-scope .profile-text { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    text-align: left;
    line-height: 1.2;
}
#vaidya-header-scope .profile-text p:first-child { 
    font-size: 10px; 
    font-weight: 700; 
    color: var(--slate-400); 
    text-transform: uppercase; 
    margin: 0;
    letter-spacing: 0.05em;
}
#vaidya-header-scope .profile-text p:last-child { 
    font-size: 12px; 
    font-weight: 700; 
    color: var(--secondary); 
    margin: 0;
}

/* Hover Dropdown */
#vaidya-header-scope .dropdown-menu {
    position: absolute;
    top: 130%;
    right: 0;
    width: 200px;
    background: var(--white);
    border-radius: 12px !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--slate-100);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 1000; /* Ensure on top */
}
#vaidya-header-scope .profile-wrapper:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
#vaidya-header-scope .dropdown-item { 
    display: block; 
    padding: 12px 16px; 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--text-body) !important;
    transition: 0.2s; 
    border-bottom: 1px solid var(--slate-50); 
}
#vaidya-header-scope .dropdown-item:last-child { border-bottom: none; }
#vaidya-header-scope .dropdown-item:hover { background-color: var(--primary); color: var(--white) !important; }

/* Fav Button */
#vaidya-header-scope .icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--secondary) !important;
    transition: all 0.3s;
}
#vaidya-header-scope .icon-btn:hover { color: var(--primary) !important; }

/* Favourite Icon Specifics */
#vaidya-header-scope #vaidya-fav-btn {
    border: 1px solid var(--slate-200) !important;
    background-color: transparent !important;
}
#vaidya-header-scope #vaidya-fav-btn:hover { 
    color: var(--primary) !important; 
    background-color: transparent !important; 
    border-color: var(--primary) !important;
}
#vaidya-header-scope #vaidya-fav-btn:hover svg { stroke: var(--primary) !important; }

/* --- CART BUTTON FIX --- */
#vaidya-header-scope #vaidya-cart-btn {
    display: flex;
    align-items: center;
    background-color: var(--white) !important; /* White Background */
    color: var(--secondary) !important; /* Black Icon */
    height: 44px;
    padding: 0 18px;
    border-radius: 9999px !important;
    border: 1px solid var(--slate-200) !important; /* Visible Border */
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}
#vaidya-header-scope #vaidya-cart-btn:hover { 
    background-color: var(--primary) !important; 
    border-color: var(--primary) !important;
    color: var(--white) !important; /* White text on Green */
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
#vaidya-header-scope #vaidya-cart-btn svg {
    color: inherit !important; /* Ensure icon takes parent color */
    stroke: currentColor !important;
}

#vaidya-header-scope .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--primary);
    color: var(--white) !important;
    font-size: 9px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 2px solid var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
#vaidya-header-scope .cart-text { 
    margin-left: 10px; 
    font-size: 13px; 
    font-weight: 700; 
    letter-spacing: 0.05em; 
    display: none; 
    color: inherit !important; 
}

/* 7. DRAWERS - PREMIUM CART SIDEBAR */
#vaidya-header-scope .drawer-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px);
    z-index: 1000; opacity: 0; visibility: hidden; transition: 0.3s;
}
#vaidya-header-scope .drawer-overlay.active { opacity: 1; visibility: visible; }

/* CART DRAWER FIX: Ensure FULL HEIGHT FLEX Layout */
#vaidya-header-scope #cart-drawer {
    position: fixed; top: 0; bottom: 0; right: 0;
    background: var(--white);
    width: 100%; max-width: 500px;
    height: 100dvh !important; /* Force full screen height */
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    display: flex !important;
    flex-direction: column !important;
}
/* MOBILE DRAWER FIX (Separate to avoid conflict) */
#vaidya-header-scope #mobile-drawer {
    position: fixed; top: 0; bottom: 0; right: 0;
    background: var(--white);
    width: 100%; max-width: 350px;
    height: 100dvh !important;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

/* FIXED: Stronger specificity to override ID selectors above */
#vaidya-header-scope #cart-drawer.active,
#vaidya-header-scope #mobile-drawer.active,
#vaidya-header-scope .drawer.active {
    transform: translateX(0) !important;
}

/* Sidebar Header */
#vaidya-header-scope .drawer-header { 
    padding: 24px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid var(--slate-100); 
    background: #fff;
    flex-shrink: 0;
}
#vaidya-header-scope .drawer-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}
#vaidya-header-scope .close-btn { 
    width: 40px; height: 40px; 
    border-radius: 50% !important; 
    background: var(--slate-50); 
    border: 1px solid var(--slate-200); 
    display: flex; align-items: center; justify-content: center; 
    cursor: pointer; color: var(--slate-400); 
    transition: 0.3s; 
}
#vaidya-header-scope .close-btn:hover { 
    color: var(--white); border-color: #ef4444 !important; background: #ef4444; 
    transform: rotate(90deg);
}

/* CRITICAL CART FIX: 
   This forces the content container to fill the remaining space 
   and override the inline "height: 100%" which causes overflow.
*/
#vaidya-header-scope #cart-drawer > div:not(.drawer-header) {
    flex: 1 !important;
    height: auto !important; 
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Cart Body & Items - FULL HEIGHT FIX */
.woocommerce-mini-cart-wrapper { 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    background: #fff; 
    flex: 1; /* Ensure it grows */
}

/* Fix for intermediate widget wrapper */
.woocommerce-mini-cart-wrapper .widget_shopping_cart {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.widget_shopping_cart_content { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    height: 100%; 
}
ul.woocommerce-mini-cart { 
    list-style: none !important; 
    padding: 24px !important; 
    margin: 0 !important; 
    flex: 1; 
    overflow-y: auto; 
    overflow-x: hidden; 
    background: #fafbfc; 
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto !important; /* Allow growing */
    max-height: none !important; /* Override potential inline max-heights */
}

li.woocommerce-mini-cart-item {
    display: flex !important; flex-direction: column !important; padding: 20px !important; margin: 0 !important;
    border-radius: 12px; background: #ffffff !important; position: relative; box-shadow: 0 1px 3px rgba(0,0,0,0.08); transition: all 0.2s;
    border: 1px solid #f1f5f9;
}
li.woocommerce-mini-cart-item:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.08); border-color: var(--primary); transform: translateY(-2px); }

li.woocommerce-mini-cart-item .cart-item-top { display: flex !important; align-items: flex-start !important; gap: 16px; margin-bottom: 16px; }
li.woocommerce-mini-cart-item img { width: 80px !important; height: 80px !important; object-fit: cover; border-radius: 10px; margin: 0 !important; float: none !important; box-shadow: 0 2px 8px rgba(0,0,0,0.08); flex-shrink: 0; background: #f8fafc; }
.cart-item-top img:nth-child(n+2) { display: none !important; }
li.woocommerce-mini-cart-item img + img { display: none !important; }

li.woocommerce-mini-cart-item .cart-item-info { flex: 1; min-width: 0; }
li.woocommerce-mini-cart-item a:not(.remove) { display: block !important; text-decoration: none; color: #0f172a !important; font-weight: 700 !important; font-size: 1.05rem !important; line-height: 1.4 !important; margin-bottom: 4px !important; padding: 0 !important; font-family: 'Playfair Display', serif; }
li.woocommerce-mini-cart-item a:not(.remove):hover { color: var(--primary) !important; }

li.woocommerce-mini-cart-item .cart-item-price { font-size: 0.9rem !important; color: #64748b !important; font-weight: 600 !important; margin-bottom: 4px; }
li.woocommerce-mini-cart-item .cart-item-price .amount { color: #1e293b !important; font-weight: 700 !important; }

/* Delete Button */
li.woocommerce-mini-cart-item .remove {
    position: static !important; background: #fee2e2 !important; border: 1px solid #fecaca !important; color: transparent !important;
    width: 32px; height: 32px; border-radius: 8px !important; display: flex !important; align-items: center; justify-content: center;
    font-size: 0 !important; text-decoration: none; transition: all 0.2s; flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'%3E%3C/polyline%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: center !important;
}
li.woocommerce-mini-cart-item .remove:hover {
    background-color: #ef4444 !important; border-color: #ef4444 !important; transform: scale(1.05) rotate(5deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'%3E%3C/polyline%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* Quantity Controls */
li.woocommerce-mini-cart-item .quantity-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.qty-adjuster { display: flex; align-items: center; gap: 8px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 4px; }
.qty-adjuster button { width: 32px; height: 32px; border: none; background: #ffffff; color: #475569; font-size: 18px; font-weight: 700; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.qty-adjuster button:hover { background: var(--primary); color: white; transform: scale(1.05); }
.qty-adjuster button:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-adjuster button:disabled:hover { background: #ffffff; color: #475569; transform: none; }
.qty-adjuster .qty-value { min-width: 36px; text-align: center; font-weight: 700; font-size: 1rem; color: #1e293b; }
.line-subtotal { font-size: 1rem; font-weight: 800; color: var(--primary); }
li.woocommerce-mini-cart-item .quantity { display: none !important; }

/* Footer Area - Fixed to Bottom */
.widget_shopping_cart_content .total { border-top: 2px solid #e2e8f0; padding: 24px 28px !important; margin: 0 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; background: #fff !important; flex-shrink: 0; z-index: 10; box-shadow: 0 -4px 12px rgba(0,0,0,0.02); }
.widget_shopping_cart_content .total strong { font-weight: 800 !important; color: #64748b !important; text-transform: uppercase; font-size: 0.9rem !important; letter-spacing: 0.05em; }
.widget_shopping_cart_content .total .amount { font-weight: 800 !important; color: #1e293b !important; font-size: 1.6rem !important; }

.widget_shopping_cart_content .woocommerce-mini-cart__buttons { padding: 0 28px 28px !important; background: #fff !important; display: flex !important; gap: 12px !important; margin: 0 !important; flex-shrink: 0; }
.widget_shopping_cart_content .button { display: flex !important; align-items: center; justify-content: center; padding: 16px 20px !important; border-radius: 12px !important; text-decoration: none !important; font-weight: 700 !important; text-transform: uppercase !important; font-size: 0.9rem !important; letter-spacing: 0.05em !important; transition: all 0.25s !important; text-align: center !important; flex: 1; height: auto !important; line-height: 1 !important; box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important; }

.widget_shopping_cart_content .button:not(.checkout) { background: #ffffff !important; color: #475569 !important; border: 2px solid #cbd5e1 !important; }
.widget_shopping_cart_content .button:not(.checkout):hover { background: #f8fafc !important; color: #1e293b !important; border-color: #94a3b8 !important; transform: translateY(-2px); }

.widget_shopping_cart_content .button.checkout { background: linear-gradient(135deg, #00aa5b 0%, #008f4c 100%) !important; color: white !important; border: 2px solid #00aa5b !important; }
.widget_shopping_cart_content .button.checkout:hover { background: linear-gradient(135deg, #008f4c 0%, #007a3f 100%) !important; border-color: #008f4c !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 170, 91, 0.3) !important; }

.woocommerce-mini-cart__empty-message { display: flex; align-items: center; justify-content: center; height: 100%; color: #94a3b8 !important; font-weight: 600; padding: 40px; text-align: center; background: #fafbfc; margin: 0 !important; font-size: 1.1rem; }

/* 8. HERO SECTION */
#vaidya-header-scope .hero-section { background-color: var(--slate-50); padding: 80px 24px; border-bottom: 1px solid var(--slate-100); }
#vaidya-header-scope .hero-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }

#vaidya-header-scope .hero-title { 
    font-size: 42px; 
    font-weight: 800; 
    line-height: 1.1; 
    color: var(--secondary); 
    margin-bottom: 24px; 
    letter-spacing: -0.02em;
}

#vaidya-header-scope .btn-primary { 
    background-color: var(--primary); 
    color: white !important; 
    padding: 18px 48px; 
    border-radius: 99px !important; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
    font-size: 14px;
    display: inline-block; 
    transition: 0.3s; 
    box-shadow: 0 15px 30px -10px rgba(0, 168, 91, 0.4); 
}
#vaidya-header-scope .btn-primary:hover { 
    background-color: #008f4c; 
    transform: translateY(-2px); 
    box-shadow: 0 20px 40px -10px rgba(0, 168, 91, 0.5); 
}

#vaidya-header-scope .btn-outline { 
    background-color: white; 
    color: var(--secondary) !important; 
    border: 2px solid var(--slate-200) !important; 
    padding: 18px 48px; 
    border-radius: 99px !important; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
    font-size: 14px;
    display: inline-block; 
    transition: 0.3s; 
    box-shadow: 0 15px 30px -10px rgba(0, 168, 91, 0.4); 
}
#vaidya-header-scope .btn-outline:hover { 
    border-color: var(--primary) !important; 
    color: var(--primary) !important; 
    background-color: var(--slate-50);
}

/* 9. RESPONSIVE MEDIA QUERIES */
@media (min-width: 640px) {
    #vaidya-header-scope .top-social-text { display: inline; }
    #vaidya-header-scope .cart-text { display: block; }
}
@media (min-width: 768px) {
    #vaidya-header-scope .header-inner { height: 96px; padding: 0 48px; }
    #vaidya-header-scope #vaidya-custom-logo { height: 64px; }
}
@media (min-width: 1024px) {
    #vaidya-header-scope .desktop-nav { display: block; }
    #vaidya-header-scope .search-container { display: flex; }
    #vaidya-header-scope .mobile-trigger { display: none; }
    #vaidya-header-scope .hero-title { font-size: 72px; }
}
@media (min-width: 1280px) {
    #vaidya-header-scope .cat-select { display: block; }
    #vaidya-header-scope .profile-text { display: block; }
}

/* 10. ICON HELPERS */
#vaidya-header-scope svg { width: 100%; height: 100%; display: block; }
#vaidya-header-scope .icon-sm { width: 16px; height: 16px; }
#vaidya-header-scope .icon-md { width: 20px; height: 20px; }
#vaidya-header-scope .icon-lg { width: 24px; height: 24px; }

/* -------------------------------------------------
   CRITICAL FIX: PREVENT PARENT OVERFLOW
   -------------------------------------------------
   Sticky positioning fails if any parent has overflow: hidden.
   We force the main containers to allow overflow.
*/
html, body, #page, .site-wrapper, .site-header, .elementor-section-wrap, .elementor-widget-wrap, .e-con, .e-container {
    overflow-x: clip !important; /* Replaces 'hidden' to fix sticky without double scrolls */
    overflow-y: visible !important; /* Must be visible or auto for sticky to work */
}