/**
 * Wamia Header Two-Tier Layout CSS
 * 
 * @category  Wamia
 * @package   Wamia_Header
 * @author    Wamia Team
 * @copyright Copyright (c) 2024 Wamia
 */

/* ========================================
   MAIN HEADER STRUCTURE
   ======================================== */

.wamia-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.wamia-header-sticky {
    position: sticky;
    top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   TOP TIER LAYOUT
   ======================================== */

.wamia-header-top {
    padding: 8px 0; /* Reduced from 16px for more compact look */
    border-bottom: 1px solid #f0f0f0;
    min-height: 50px; /* Compact height */
}

.wamia-header-top-container {

    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px; /* Reduced from 32px for more compact layout */
}

/* Logo Section - Compact */
.header-logo-section {
    flex: 0 0 170px; /* Reduced from 200px for more compact header */
    display: flex;
    align-items: center;
}

.header-logo-section .logo {
    font-size: 22px; /* Reduced from 24px */
    font-weight: 700;
    color: #ED6F26;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-logo-section .logo:hover {
    opacity: 0.8;
}

.header-logo-section .logo-image {
    max-height: 32px; /* Compact logo height */
    width: auto;
    object-fit: contain;
}

/* Search Section */
.header-search-section {
    flex: 1;
    max-width: 600px;
    margin: 0;
    display: flex;
    align-items: center;    /* Center search vertically */
    justify-content: center; /* Center search horizontally */
}

.header-search-form {
    display: flex;
    position: relative;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.header-search-form:focus-within {
    border-color: #ED6F26;
}

/* Header search input base styles */
.header-search-input {
    color: #4D4D4D;
    background: #F9F9F9;
    font: 400 14px/1.35 Montserrat, Helvetica Neue, Verdana, Arial, sans-serif;
    height: 35px;
    padding: 0 12px;
    outline: none;
    border: 1px solid #EEEEEE;
    border-radius: 13px;
    flex: 1;
    transition: all 0.2s ease;
}

.header-search-input::placeholder {
    color: #ffffff;
}

.header-search-button {
    padding: 14px 24px;
    background: #ED6F26;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.header-search-button:hover {
    background: #F88D46;
}

.header-search-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor; /* Inherits button text color (white) */
}

/* Search icon styling - ensure all search icons are orange */
.search-icon,
.wamia-search .search-icon svg {
    color: #ED6F26 !important;
    fill: #ED6F26 !important;
}

/* User Actions Section - Compact */
.header-actions-section {
    flex: 0 0 180px; /* Reduced from 200px for more compact header */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px; /* Reduced from 24px for more compact spacing */
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333333;
    transition: color 0.2s ease;
    min-width: 44px;
    position: relative;
}

.action-item:hover {
    color: #ED6F26;
}

.action-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-text {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.action-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ED6F26;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

/* ========================================
   BOTTOM TIER LAYOUT
   ======================================== */

.wamia-header-bottom {
    padding: 6px 0; /* Reduced from 12px for more compact look */
    background: #ffffff;
    min-height: 40px; /* Compact height */
}

.wamia-header-bottom-container {

    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 133px;
}

/* Navigation Section */
.header-navigation-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 24px;
}

.featured-categories-nav {
    display: flex;
    align-items: center;
    gap: 12px; /* Reduced from 32px for more compact layout */
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0; /* Added small vertical padding */
}

.featured-categories-nav::-webkit-scrollbar {
    display: none;
}

.featured-category-item {
    display: flex;
    align-items: center;
    flex: 0 0 auto; /* Prevent shrinking */
}

.featured-category-link {
    color: #555555;
    text-decoration: none;
    font-size: 13px; /* Slightly smaller for compact look */
    font-weight: 500;
    padding: 6px 16px; /* More horizontal padding, less vertical */
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 18px; /* Pill-shaped buttons */
    background: #f8f9fa; /* Subtle background */
    border: 1px solid transparent;
    min-height: 32px; /* Compact height */
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); /* Very subtle shadow */
}

.featured-category-link:hover {
    color: #ED6F26;
    background: rgba(237, 111, 38, 0.08);
    border-color: rgba(237, 111, 38, 0.15);
    transform: translateY(-1px); /* Subtle lift effect */
    box-shadow: 0 2px 6px rgba(237, 111, 38, 0.12);
}

.featured-category-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #ED6F26 0%, #F88D46 100%);
    border-color: #ED6F26;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(237, 111, 38, 0.2);
}

.featured-category-link:focus {
    outline: none;
    border-color: #ED6F26;
    box-shadow: 0 0 0 2px rgba(237, 111, 38, 0.2);
}

/* Localization Section */
.header-localization-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* ========================================
   RESPONSIVE CSS IMPORTS (organized by category)
   ======================================== */

/* ========================================
   TABLET-SPECIFIC STYLES (768px - 1024px)
   Direct inclusion to ensure proper loading
   ======================================== */

@media (min-width: 1024px) and (max-width: 1800px){
    .wamia-header-bottom-container {
        padding-left: 80px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    
    /* ========================================
       HEADER ENHANCEMENTS
       ======================================== */
    
    .wamia-header-top-container,
    .wamia-header-bottom-container {

        width: 100% !important;
        margin: 0 0 !important;
        padding: 0 24px !important; /* Increased from mobile 16px */
    }
    
    /* Logo sizing for tablet */
    .header-logo-section {
        flex: 0 0 140px !important; /* Slightly larger than mobile 120px */
    }
    
    .header-logo-section .logo-image {
        max-height: 36px !important; /* Increased from mobile 32px */
        width: auto !important;
    }
    
    .header-logo-section .logo-text {
        font-size: 18px !important; /* Increased from mobile 16px */
        font-weight: 600;
    }
    
    /* Search section optimized for tablet */
    .header-search-section {
        flex: 1 1 auto !important;
        max-width: 400px !important; /* Optimal search width for tablet */
        min-width: 250px !important;
        margin: 0 20px !important;
    }
    
    .header-search-form {
        height: 44px !important; /* Touch-friendly height */
        border-radius: 6px;
    }
    
    .header-search-form .search-input {
        padding: 12px 16px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    .header-search-form .search-button {
        width: 44px !important;
        height: 44px !important;
        padding: 10px !important;
    }
    
    /* Action items with better spacing */
    .header-actions-section {
        flex: 0 0 160px !important; /* Increased from mobile 120px */
        gap: 12px !important; /* Reduced gap for icon-only display */
    }
    
    /* Action items structure handled by the <1100px media query */
    
    .header-actions-section .action-icon {
        font-size: 20px !important; /* Slightly larger icons */
    }
    
    /* Action labels handled by the <1100px media query */
    
    /* Action counters handled by the <1100px media query */
    
    /* Category navigation - keep hamburger style */
    .featured-categories-nav {
        display: none !important; /* Hide horizontal nav, keep hamburger */
    }
    
    .mobile-menu-toggle {
        display: flex !important; /* Keep hamburger menu for tablet */
        padding: 12px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    .mobile-menu-toggle .hamburger-icon {
        font-size: 20px !important;
    }
    
    /* Force header to use proper layout */
    .wamia-header {
        position: relative !important;
        z-index: 1000 !important;
    }
    
    .wamia-header-top {
        display: flex !important;
        align-items: center !important;
        min-height: 60px !important;
        padding: 12px 0 !important;
    }
    
    .wamia-header-bottom {
        min-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        padding: 8px 0 !important;
    }
    
    /* Ensure all interactive elements meet minimum touch target */
    button,
    .btn,
    .action-item {
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    /* Focus states for keyboard navigation */
    button:focus,
    .btn:focus,
    .action-item:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 2px solid #89D2DA !important;
        outline-offset: 2px !important;
    }
}

/* ========================================
   HIDE ICON LABELS UNDER 1100px
   Clean header appearance for medium screens
   ======================================== */

@media (max-width: 1100px) {
    /* Hide the actual labels used in the templates */
    .wamia-action-label {
        display: none !important;
    }
    
    /* Ensure action items remain properly sized and centered */
    .wamia-action-item {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important; /* Remove gap since labels are hidden */
    }
    
    .wamia-action-link {
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .wamia-action-icon-container {
        position: relative !important;
        width: 32px !important;
        height: 32px !important;
    }
    
    .wamia-action-icon {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* Keep counters visible and properly positioned */
    .wamia-action-counter {
        position: absolute !important;
        top: -8px !important;
        right: -8px !important;
        background: #ED6F26 !important;
        color: #ffffff !important;
        border-radius: 50% !important;
        width: 20px !important;
        height: 20px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 20px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        border: 2px solid #ffffff !important;
    }
    
    /* Hide empty counters */
    .wamia-action-counter:empty,
    .wamia-action-counter.empty {
        display: none !important;
    }
    
    /* Adjust spacing between action items */
    .wamia-user-actions {
        gap: 8px !important;
    }
    
    /* Make Wamia logo smaller */
    .header-logo-section {
        flex: 0 0 120px !important; /* Reduced from default */
    }
    
    .header-logo-section .logo-image {
        max-height: 28px !important; /* Reduced from default 32px */
        width: auto !important;
    }
    
    .header-logo-section .logo-text {
        font-size: 14px !important; /* Reduced from default 16px */
        font-weight: 600;
    }
    
    /* Make fonts smaller across the header */
    .wamia-header-top,
    .wamia-header-bottom {
        font-size: 13px !important; /* Reduced base font size */
    }
    
    /* Search input font size */
    .header-search-form .search-input {
        font-size: 14px !important; /* Reduced from 16px */
    }
    
    /* Navigation/menu font sizes */
    .featured-categories-nav .nav-item,
    .mega-menu-item {
        font-size: 13px !important; /* Reduced from default */
    }
    
    /* Button font sizes */
    .header-search-button,
    .mobile-menu-toggle {
        font-size: 14px !important;
    }
}

/* ========================================
   MOBILE VIEW FOR 768px-1088px RANGE
   Apply mobile styles to tablet/small desktop range
   ======================================== */

@media (min-width: 768px) and (max-width: 1088px) {
    
    /* Hide desktop-only elements */
    .desktop-only,
    .wamia-header-top,
    .wamia-header-bottom,
    .desktop-only-mega-menu {
        display: none !important;
    }
    
    /* Show mobile-only elements */
    .mobile-only,
    .wamia-mobile-header,
    .wamia-mobile-components {
        display: block !important;
    }
    
    /* Mobile header styling */
    .wamia-mobile-header {
        width: 100% !important;
        padding: 0 16px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e0e0e0 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1000 !important;
    }
    
    /* Add body padding to compensate for fixed header */
    body {
        padding-top: 64px !important; /* Match mobile-header-top height */
    }
    
    .mobile-header-container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    .mobile-header-top {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 64px !important;
        gap: 8px !important;
    }
    
    /* Mobile menu toggle (hamburger) */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 48px !important;
        height: 48px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        gap: 4px !important;
        padding: 12px !important;
        border-radius: 8px !important;
    }
    
    .hamburger-line {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background-color: #4D4D4D !important;
        border-radius: 1px !important;
    }
    
    /* Mobile logo styling */
    .mobile-logo {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .mobile-logo-image {
        max-height: 40px !important;
        max-width: 150px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    /* Mobile user actions */
    .mobile-user-actions {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    
    .mobile-action-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        height: 48px !important;
        padding: 12px !important;
        background: none !important;
        border: none !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        color: #4D4D4D !important;
        position: relative !important;
    }
    
    .mobile-action-icon-container {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 28px !important;
    }
    
    .mobile-action-icon {
        width: 24px !important;
        height: 24px !important;
        color: inherit !important;
    }
    
    /* Mobile action counters */
    .badge-count,
    .wishlist-counter,
    .counter {
        position: absolute !important;
        top: -8px !important;
        right: -8px !important;
        background: #ED6F26 !important;
        color: #ffffff !important;
        border-radius: 50% !important;
        width: 20px !important;
        height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        min-width: 20px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        border: 2px solid #ffffff !important;
    }
    
    /* Hide empty counters */
    .badge-count:empty,
    .counter.empty {
        display: none !important;
    }
    
    /* Mobile featured categories */
    .mobile-featured-categories {
        display: block !important;
        background: #ffffff !important;
        border-bottom: 1px solid #f0f0f0 !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .mobile-categories-scroll {
        display: flex !important;
        overflow-x: auto !important;
        scroll-behavior: smooth !important;
        padding: 0 16px !important;
        gap: 8px !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    .mobile-categories-scroll::-webkit-scrollbar {
        display: none !important;
    }
    
    .mobile-category-item {
        flex: 0 0 auto !important;
        padding: 12px 20px 9px 20px !important;
        margin-right: 8px !important;
        background: none !important;
        border: none !important;
        border-bottom: 3px solid transparent !important;
        color: #666666 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        border-radius: 0 !important;
        position: relative !important;
    }
    
    .mobile-category-item.active,
    .mobile-category-item:hover {
        color: #ED6F26 !important;
        border-bottom-color: #ED6F26 !important;
        background: rgba(237, 111, 38, 0.05) !important;
    }
    
    .mobile-category-name {
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
    }
    
    /* Mobile navigation drawer */
    .mobile-nav-drawer {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .mobile-nav-drawer.open {
        transform: translateX(0) !important;
    }
    
    /* Mobile search */
    .mobile-search-bar {
        width: 100% !important;
        margin: 8px 16px !important;
        padding: 0 !important;
    }
    
    .mobile-search-input {
        width: 100% !important;
        min-height: 24px !important;
        font-size: 16px !important;
        padding: 10px 16px !important;
        border-radius: 8px !important;
        border: 1px solid #D6D6D6 !important;
        background: #F9F9F9 !important;
    }
    
    /* Typography adjustments for mobile view in this range */
    .mobile-header-title {
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    
    .mobile-nav-item {
        font-size: 16px !important;
        line-height: 1.5 !important;
        padding: 12px 16px !important;
    }
    
    /* Spacing adjustments */
    .mobile-header-section {
        padding: 12px 16px !important;
    }
    
    /* Hide desktop search and navigation completely */
    .header-search-section,
    .header-actions-section,
    .header-navigation-section,
    .featured-categories-nav,
    .wamia-header-top-container,
    .wamia-header-bottom-container {
        display: none !important;
    }
    
    /* Ensure mobile elements take precedence */
    .wamia-header {
        display: none !important;
    }
    
    /* Make sure mobile components are visible */
    .mobile-header-actions .action-button {
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 10px !important;
    }
}

/* ========================================
   CUSTOM WAMIA SEARCH INPUT COMPONENT
   Dedicated styles for search inputs only
   ======================================== */

/* Clean desktop search input class - Higher specificity to override global styles */
body .wamia-search-input,
body input.wamia-search-input[type="search"],
body input.wamia-search-input[type="text"] {
    background: #F9F9F9 !important;
    border: none !important;
    border-radius: 4px !important;
    color: #4D4D4D !important;
    font: 400 14px/1.35 Montserrat, Helvetica Neue, Verdana, Arial, sans-serif !important;
    height: 35px !important;
    line-height: 35px !important;
    padding: 0 12px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    width: 100% !important;

}

body .wamia-search-input:focus,
body input.wamia-search-input[type="search"]:focus,
body input.wamia-search-input[type="text"]:focus {
    background: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 0 0 1px #ED6F26, 0 0 0 1px rgba(237, 111, 38, 0.15) !important;
}

body .wamia-search-input::placeholder,
body input.wamia-search-input[type="search"]::placeholder,
body input.wamia-search-input[type="text"]::placeholder {
    color: #858585 !important;
    opacity: 1 !important;
}

/* Mobile responsive overrides */
@media (max-width: 768px) {
    body .wamia-search-input,
    body input.wamia-search-input[type="search"],
    body input.wamia-search-input[type="text"] {
        height: 36px !important;
        padding: 0 14px !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
    }
    
    body .wamia-search-input::placeholder,
    body input.wamia-search-input[type="search"]::placeholder,
    body input.wamia-search-input[type="text"]::placeholder {
        color: #858585 !important;
        opacity: 1 !important;
        font-size: 15px
    }
}

/* ========================================
   WAMIA MEGAMENU TRIGGER BUTTON
   Responsive trigger button for categories
   ======================================== */

/* Base mobile styles */
.wamia-megamenu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;

    border: none;
    border-radius: 4px;
background: #FEF9F5;
  border: 1px solid #ED6F26;
  color: #F4AB82; 
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    min-height: 44px; /* Larger touch target for mobile */
    outline: none;
  
}

.wamia-megamenu__trigger:hover {
    background: rgba(237, 111, 38, 0.05);
    color: #d65e1d;
}

.wamia-megamenu__trigger:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(237, 111, 38, 0.2);
    background: rgba(237, 111, 38, 0.05);
}

.wamia-megamenu__trigger:active {
    background: rgba(237, 111, 38, 0.1);
}

/* Ensure icons and text are properly aligned - Base styles */
.wamia-megamenu__trigger .wamia-megamenu__trigger-icon,
.wamia-megamenu__trigger .wamia-megamenu__trigger-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wamia-megamenu__trigger .wamia-megamenu__trigger-text {
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}

@media only screen and (min-width: 768px) {
    .wamia-megamenu__trigger {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 12px;
        background: transparent;
        /* border: 1px solid #e8e8e8; */
        border-radius: 4px;
        color: #ed6f26;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.15s ease;
        min-height: 40px;
        outline: none;
        letter-spacing: 2px;
        border: none;
    }

    .wamia-megamenu__trigger:hover {
        background: rgba(237, 111, 38, 0.05);
        color: #d65e1d;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(237, 111, 38, 0.15);
    }

    .wamia-megamenu__trigger:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(237, 111, 38, 0.2);
        background: rgba(237, 111, 38, 0.05);
    }

    .wamia-megamenu__trigger:active {
        transform: translateY(0);
        box-shadow: 0 1px 4px rgba(237, 111, 38, 0.2);
        background: rgba(237, 111, 38, 0.08);
    }

    /* Ensure icons and text are properly aligned */
    .wamia-megamenu__trigger .wamia-megamenu__trigger-icon,
    .wamia-megamenu__trigger .wamia-megamenu__trigger-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wamia-megamenu__trigger .wamia-megamenu__trigger-text {
        font-weight: inherit;
        font-size: inherit;
        color: inherit;
        letter-spacing: inherit;
    }
}

/* Responsive Breakpoints (ascending order) */
@import "breakpoints/two-tier-header-max-992.css";
@import "breakpoints/two-tier-header-min-481-max-768.css";
@import "breakpoints/two-tier-header-max-768.css";
@import "breakpoints/two-tier-header-min-1000-max-1080.css";
@import "breakpoints/two-tier-header-min-1081-max-1400.css";
@import "breakpoints/two-tier-header-min-1440.css";

/* Accessibility Features */
@import "accessibility/two-tier-header-prefers-contrast-high.css";
@import "accessibility/two-tier-header-prefers-reduced-motion.css";
@import "accessibility/two-tier-header-max-768-utilities.css";

/* Print Styles */
@import "print/two-tier-header-print.css";

/* Removed - now in breakpoints/two-tier-header-min-481-max-768.css */

/* Removed - now in breakpoints/two-tier-header-max-768.css */

/* Removed - now in breakpoints/two-tier-header-min-1000-max-1080.css */

/* Removed - now in breakpoints/two-tier-header-min-1081-max-1400.css */

/* Removed - now in breakpoints/two-tier-header-min-1440.css */

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Focus States */
.header-search-input:focus,
.action-item:focus,
.featured-category-link:focus {
    outline: 2px solid #ED6F26;
    outline-offset: 2px;
}

.header-search-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Removed - now in accessibility/two-tier-header-prefers-contrast-high.css */

/* Removed - now in accessibility/two-tier-header-prefers-reduced-motion.css */

/* ========================================
   UTILITY CLASSES
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hide-desktop {
    display: none;
}

/* Removed - now in accessibility/two-tier-header-max-768-utilities.css */

/* ========================================
   LOADING STATES
   ======================================== */

.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: -100% 50%;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

/* Removed - now in print/two-tier-header-print.css */ 