/* ========================================
   KASHLOOM ATELIER - PROFESSIONAL HEADER
   Clean & Functional Like Amazon/Etsy
   ======================================== */

/* === MODERN PROFESSIONAL TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Professional Color Palette - Clean & Simple */
    --color-white: #FFFFFF;
    --color-bg: #F7F7F7;
    --color-border: #E0E0E0;
    --color-text: #111111;
    --color-text-light: #555555;
    --color-primary: #2C2520;
    --color-hover: #F0F0F0;
    --color-accent: #D97706;

    /* Typography - Professional Sans-Serif */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --header-height: 60px;
    --top-bar-height: 35px;
}

/* === TOP BAR - MINIMAL === */
.luxury-top-bar {
    background: var(--color-text);
    color: white;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 400;
    border-bottom: none;
}

.luxury-top-bar .luxury-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--top-bar-height);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-item {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-item i {
    font-size: 0.6875rem;
}

.top-bar-item:hover {
    opacity: 0.8;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.3);
}

.top-bar-right {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    color: white;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    font-size: 0.8125rem;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* === MAIN HEADER - CLEAN & SIMPLE === */
.luxury-header {
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
}

.luxury-header.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.luxury-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    gap: 2rem;
}

/* === LOGO - LARGE & CLEAR === */
.brand-logo {
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.logo-image {
    height: 92px;
    width: auto;
    max-width: 320px;
    background: transparent !important;
    mix-blend-mode: normal;
    object-fit: contain;
    /* filter: brightness(0.95) contrast(1.2); */
    -webkit-font-smoothing: antialiased;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.brand-logo a {
    display: inline-block;
    background: transparent;
    padding: 0.5rem 1rem;
    transition: opacity 0.4s;
}

.brand-logo a:hover {
    opacity: 0.9;
}

/* === NAVIGATION - CLEAN LINKS === */
.luxury-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.nav-link {
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

i.fas.fa-shopping-bag,
button#searchToggle i.fas.fa-search {
    color: #873800;
}

.top-bar-left i,
.top-bar-right i {
    color: #fffee7;
}

/* === HEADER ACTIONS - FUNCTIONAL === */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.action-icon {
    color: var(--color-text);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1.125rem;
}

.action-icon:hover {
    background: var(--color-hover);
}

.cart-badge {
    position: absolute;
    display: flex !important;
    top: 5px;
    right: 1px;
    background: var(--color-accent);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    font-family: var(--font-main);
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Currency Selector */
.currency-select {
    font-family: var(--font-main);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.currency-select:hover {
    border-color: var(--color-text);
}

/* === SEARCH OVERLAY - MODERN & INVITING === */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.search-overlay-content {
    max-width: 680px;
    width: 92%;
    background: linear-gradient(135deg, #FFFFFF 0%, #FDF8F3 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text);
    font-size: 1.25rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.search-wrapper {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.search-input {
    flex: 1;
    font-family: var(--font-main);
    font-size: 1.125rem;
    padding: 1rem 1.5rem;
    border: 2px solid #E0E0E0;
    border-radius: 50px;
    background: white;
    transition: all 0.3s;
    color: var(--color-text);
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    outline: none;
    border-color: #D97706;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
}

.search-submit {
    width: 56px;
    height: 56px;
    border: none;
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.125rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.search-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
}

.search-submit:active {
    transform: scale(0.95);
}

/* Search Results Container */
.search-results-container {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1.5rem;
    background: white;
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: none;
}

.search-results-container.active {
    display: block;
}

.search-results-container::-webkit-scrollbar {
    width: 6px;
}

.search-results-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.search-results-container::-webkit-scrollbar-thumb {
    background: #D97706;
    border-radius: 10px;
}

.result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s;
    border: 1px solid transparent;
}

.result:hover {
    background: linear-gradient(90deg, rgba(217, 119, 6, 0.05) 0%, transparent 100%);
    border-color: rgba(217, 119, 6, 0.2);
    transform: translateX(4px);
}

.srch_img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #F5F5F5;
}

.srch_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.srch-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.srch-title>div:first-child {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.4;
}

.srch-title>div:last-child {
    font-size: 0.875rem;
    color: #D97706;
    font-weight: 600;
}

.search-no-results {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #888;
}

.search-no-results i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
    display: block;
}

.search-no-results h4 {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.search-suggestions {
    margin-top: 1.25rem;
}

.search-suggestion-title {
    font-family: var(--font-main);
    font-size: 0.8125rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestion-tags {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.suggestion-tag {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 25px;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.suggestion-tag:hover {
    background: #D97706;
    border-color: #D97706;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(217, 119, 6, 0.2);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.2s;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 10001;
    transition: left 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav-content {
    padding: 1.5rem;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.mobile-logo {
    height: 35px;
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-bg);
    color: var(--color-text);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.125rem;
    transition: background 0.2s;
}

.mobile-nav-close:hover {
    background: var(--color-hover);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-link {
    font-family: var(--font-main);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: var(--color-accent);
}

.mobile-nav-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.mobile-social {
    display: flex;
    gap: 0.75rem;
}

.mobile-social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 1rem;
    transition: background 0.2s;
}

.mobile-social-icon:hover {
    background: var(--color-hover);
}

.amz-brand-col img {
    filter: none !important;
}

/* === RESPONSIVE === */
@media (max-width: 1145px) {
    .luxury-nav {
        gap: 1.5rem;
    }

    .header-content {
        gap: 0.5rem;
    }

    a.nav-link {
        font-size: 12px;
    }

    .brand-logo {
        margin-right: 0;
    }

    .luxury-nav {
        gap: 0.8rem;
    }
}

a.action-item.action-icon.cart-action {
    position: relative;
}

@media (max-width: 872px) {
    .logo-image {
        max-width: 100% !important;
    }

    .luxury-nav {
        gap: 8px !important;
    }

    .nav-link {
        font-size: 11px !important;
    }

}

@media (max-width: 768px) {
    .luxury-top-bar {
        font-size: 0.6875rem;
    }

    .cart-badge {
        top: 5px;
        right: 1px;
    }

    .top-bar-left {
        gap: 1rem;
    }

    .top-bar-right {
        gap: 0rem;
    }

    .mobile-hide {
        display: none;
    }

    .top-bar-item {
        font-size: 0.65rem;
    }

    .luxury-container {
        padding: 0 1rem !important;
    }

    .header-content {
        height: 70px;
        gap: 16rem !important;
    }

    .luxury-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo-image {
        height: 80px;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .action-icon {
        width: 34px;
        height: 34px;
        font-size: 1.5rem;
    }

    .currency-dropdown {
        display: none;
    }
}

@media (max-width: 640px) {

    .header-content {
        gap: 10rem !important;
    }

}

@media (max-width: 480px) {

    .top-bar-item:nth-child(3),
    .top-bar-divider:nth-child(4) {
        display: none;
    }

    .header-content {
        gap: 6.5rem !important;
    }


    /* .logo-image {
        height: 80px;
    } */
}



@media (max-width: 350px) {
    .header-content {
        gap: 5rem !important;
    }

    /* 
    .logo-image {
        height: 95px;
    } */
}

@media (max-width: 350px) {
    .header-content {
        gap: 2rem !important;
    }

    .top-bar-item {
        font-size: 5px !important;
    }

    /* 
    .logo-image {
        height: 95px;
    } */
}

/* === DROPDOWN MENU STYLES === */
.dropdown-parent {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
    font-family: var(--font-main);
    font-weight: 400;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(217, 119, 6, 0.08) 0%, transparent 100%);
    color: var(--color-accent);
    padding-left: 24px;
}

/* === ETSY-INSPIRED MOBILE MENU (Anthro Feel) === */

/* Overlay & Animation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dimmed background */
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    position: absolute;
    top: 0;
    left: -100%;
    /* Start off-screen */
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: #FDFBF7;
    /* Creamy Anthro-style bg */
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.active .mobile-nav-inner {
    left: 0;
}

/* 1. Header: User Greeting */
.mobile-nav-header-new {
    background: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 1.2rem;
}

.greeting-text {
    display: flex;
    flex-direction: column;
}

.welcome-label {
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.2;
}

.signin-action {
    font-family: var(--font-main);
    font-size: 0.8rem;
    color: #D97706;
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav-close-new {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #888;
    cursor: pointer;
    padding: 5px;
}

/* 2. Scroll Area */
.mobile-nav-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 30px;
}

/* 3. Link Items (Etsy List Style) */
.mobile-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    background: #fff;
    /* Clean white rows */
    transition: background 0.2s;
}

.mobile-link-item:active {
    background: #f9f9f9;
}

.link-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 500;
}

.link-arrow {
    font-size: 0.8rem;
    color: #ccc;
}

/* New Arrivals Highlight */
.highlight-gold .link-text {
    color: #D97706;
    font-weight: 600;
}

/* 4. Section Headers */
.mobile-section-header {
    padding: 24px 20px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-section-header span {
    font-family: 'Crimson Text', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    font-style: italic;
    white-space: nowrap;
}

.section-line {
    height: 1px;
    background: #e0e0e0;
    flex: 1;
}

/* 5. Categories & Accordion */
.mobile-category-list {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-cat-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-cat-header {
    display: flex;
    align-items: stretch;
    /* Stretch to make buttons full height */
}

.mobile-cat-link {
    flex: 1;
    padding: 16px 20px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--color-primary);
}

.mobile-expand-btn {
    width: 60px;
    background: none;
    border: none;
    border-left: 1px solid #f8f8f8;
    color: #aaa;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.mobile-expand-btn.active {
    color: #D97706;
    background: #fffbf5;
}

.mobile-expand-btn.active i {
    transform: rotate(45deg);
    /* Turn plus to x */
    transition: transform 0.3s;
}

/* Subcategories Container (Hidden by default) */
.mobile-subcat-container {
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: max-height 0.4s ease-out;
}

.mobile-subcat-container.open {
    max-height: 500px;
    /* Arbitrary large height */
    border-bottom: 1px solid #eee;
}

.mobile-subcat-link {
    display: block;
    padding: 14px 20px 14px 40px;
    /* Indent */
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
}

.mobile-subcat-link:hover {
    color: #D97706;
}

/* 6. Footer (Inside Menu) */
.mobile-menu-footer {
    padding: 30px 20px;
    margin-top: 20px;
    text-align: center;
    background: #FDFBF7;
}

.mobile-socials-new {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.mobile-socials-new a {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-socials-new a:hover {
    border-color: #D97706;
    color: #D97706;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.mobile-currency {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #666;
    padding: 10px;
    background: #fff;
    border-radius: 30px;
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #eee;
}

/* "More" Dropdown Special Styling */
.nav-link-more {
    background: rgba(217, 119, 6, 0.08);
    padding: 6px 14px !important;
    border-radius: 20px;
    color: var(--color-accent) !important;
    font-weight: 600 !important;
    transition: all 0.2s;
}

.nav-link-more:hover {
    background: var(--color-accent);
    color: white !important;
}

.dropdown-menu-more {
    right: 0;
    left: auto;
    transform: translateY(10px);
    min-width: 260px;
}

.dropdown-parent.more-dropdown:hover .dropdown-menu-more {
    transform: translateY(0);
}

/* Nested Submenu for More Dropdown */
.dropdown-item-parent {
    position: relative;
}

.dropdown-item-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-submenu {
    display: none;
    background: #F9F9F9;
    padding: 8px 0;
    border-top: 1px solid #EEE;
}

.dropdown-item-parent:hover .dropdown-submenu {
    display: block;
}

.dropdown-subitem {
    display: block;
    padding: 8px 20px 8px 30px;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.8125rem;
    font-family: var(--font-main);
    transition: all 0.2s;
}

.dropdown-subitem:hover {
    color: var(--color-accent);
    background: rgba(217, 119, 6, 0.05);
}

/* === MOBILE ACCORDION STYLES === */
.mobile-nav-accordion {
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-link-wrapper .mobile-nav-link {
    flex: 1;
    border-bottom: none;
}

.mobile-accordion-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-text-light);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-accordion-toggle:hover {
    background: var(--color-hover);
}

.mobile-accordion-toggle.active i {
    transform: rotate(45deg);
}

.mobile-nav-subitems {
    display: none;
    background: #FAFAFA;
    padding: 8px 0;
}

.mobile-nav-subitems.active {
    display: block;
}

.mobile-nav-sublink {
    display: block;
    padding: 10px 20px 10px 28px;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-family: var(--font-main);
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.mobile-nav-sublink:hover {
    color: var(--color-accent);
    background: rgba(217, 119, 6, 0.05);
    border-left-color: var(--color-accent);
}

/* === SEARCH OVERLAY RESPONSIVE === */
@media (max-width: 576px) {
    .search-overlay-content {
        padding: 1.5rem 1rem;
        width: 95%;
        border-radius: 16px;
    }

    .search-wrapper {
        position: relative;
        display: block;
        /* Switch to block for absolute button positioning */
        margin-bottom: 1rem;
    }

    .search-input {
        width: 100%;
        padding: 0.8rem 3.5rem 0.8rem 1.25rem;
        /* Make room for button */
        font-size: 1rem;
        /* Prevent iOS zoom */
        height: 50px;
    }

    .search-submit {
        position: absolute;
        right: 4px;
        top: 50%;
        margin-top: -21px;
        /* Half of height for perfect centering */
        transform: none;
        /* Reset distinct transform */
        width: 42px;
        height: 42px;
        font-size: 1rem;
        box-shadow: none;
        z-index: 2;
    }

    .search-submit:hover {
        transform: scale(1.05);
    }

    .search-submit:active {
        transform: scale(0.95);
    }

    .search-close {
        top: 1px;
        right: 1px;
        width: 25px;
        height: 25px;
        background: rgba(0, 0, 0, 0.08);
    }

    .suggestion-tags {
        gap: 0.5rem;
    }

    .suggestion-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}