/* =========================================
   VALORA HEADER (Catawiki Style)
   ========================================= */

:root {
    --vla-primary: #0A53D3;
    --vla-primary-dark: #0842A8;
    --vla-gray-100: #f8f9fa;
    --vla-gray-200: #e9ecef;
    --vla-gray-600: #6c757d;
    --vla-gray-800: #343a40;
    --vla-radius: 4px;
}

.valora-header-catawiki {
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--vla-gray-200);
    z-index: 1000;
}

.vla-container {
    padding: 0 20px;
    max-width: 1400px;
    /* Wide Professional Look */
    margin: 0 auto;
}

/* === MAIN ROW === */
.vla-main-row {
    display: flex;
    align-items: center;
    height: 72px;
    /* Taller professional height */
    gap: 20px;
}

/* 1. Logo */
.vla-logo a {
    display: block;
}

.vla-logo img {
    height: 36px;
    width: auto;
}

/* 2. Categories Dropdown Button */
.vla-cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--vla-gray-800);
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: var(--vla-radius);
    transition: background 0.2s;
}

.vla-cat-btn:hover {
    background: var(--vla-gray-100);
    color: var(--vla-primary);
}

.vla-cat-btn svg {
    width: 20px;
    height: 20px;
}

/* 3. Search Bar (Center) */
.vla-search-wrapper {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
    position: relative;
}

.vla-search-form {
    position: relative;
    width: 100%;
}

.vla-search-input {
    width: 100%;
    height: 44px;
    padding: 0 44px 0 16px;
    border: 1px solid var(--vla-gray-200);
    border-radius: var(--vla-radius);
    font-size: 15px;
    color: var(--vla-gray-800);
    background: var(--vla-gray-100);
    transition: all 0.2s;
}

.vla-search-input:focus {
    background: #fff;
    border-color: var(--vla-primary);
    box-shadow: 0 0 0 3px rgba(10, 83, 211, 0.1);
    outline: none;
}

.vla-search-submit {
    position: absolute;
    right: 4px;
    top: 4px;
    height: 36px;
    width: 36px;
    border: none;
    background: none;
    color: var(--vla-gray-600);
    cursor: pointer;
    border-radius: var(--vla-radius);
}

.vla-search-submit:hover {
    color: var(--vla-primary);
    background: rgba(0, 0, 0, 0.03);
}

/* 4. Right Actions */
.vla-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Text Links */
.vla-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--vla-gray-600);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.vla-nav-link:hover {
    color: var(--vla-primary);
}

/* Icons Group */
.vla-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px solid var(--vla-gray-200);
    padding-left: 20px;
}

.vla-icon-link {
    color: var(--vla-gray-800);
    position: relative;
}

.vla-icon-link:hover {
    color: var(--vla-primary);
}

.vla-lang-code {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Primary Button */
.vla-btn-primary {
    background: #fff;
    color: var(--vla-primary);
    border: 1px solid var(--vla-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--vla-radius);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.vla-btn-primary:hover {
    background: var(--vla-primary);
    color: #fff;
}

.vla-btn-primary.filled {
    background: var(--vla-primary);
    color: #fff;
}

.vla-btn-primary.filled:hover {
    background: var(--vla-primary-dark);
    border-color: var(--vla-primary-dark);
}

/* Mobile Toggle */
.vla-mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {

    /* Tablet and Mobile */
    .vla-search-wrapper,
    .vla-nav-link {
        display: none;
    }

    .vla-actions {
        gap: 10px;
    }

    .vla-icons {
        border: none;
        padding-left: 0;
    }

    .vla-mobile-toggle {
        display: block;
        margin-left: 10px;
    }

    .vla-cat-btn {
        display: none;
    }
}

@media (min-width: 992px) {
    /* Ensure desktop elements are visible */

}

/* =========================================
   MEGA MENU (Categories)
   ========================================= */

.vla-mega-menu {
    position: absolute;
    /* Overlay behavior */
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-top: 1px solid var(--vla-gray-200);
}

.vla-cat-card {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.vla-cat-card:hover {
    background-color: var(--vla-gray-100);
    transform: translateY(-2px);
}

.vla-cat-img-wrap {
    transition: all 0.2s ease;
}

.vla-cat-card:hover .vla-cat-img-wrap {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.vla-cat-title {
    line-height: 1.4;
}

/* =========================================
   MOBILE OFF-CANVAS NAVIGATION
   ========================================= */

.valora-mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.valora-mobile-nav.active {
    right: 0;
}

.valora-mobile-nav-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    position: relative;
    z-index: 2;
    background: #fff;
}

.valora-mobile-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--vla-gray-200);
}

.valora-mobile-logo img {
    height: 32px;
    width: auto;
}

.valora-mobile-close {
    background: none;
    border: 1px solid var(--vla-gray-200);
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.valora-mobile-close:hover {
    background: var(--vla-gray-100);
    color: var(--vla-primary);
}

.valora-mobile-links-wrapper {
    display: flex;
    flex-direction: column;
}

.valora-mobile-link {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    color: var(--vla-gray-800);
    text-decoration: none;
    border-bottom: 1px solid var(--vla-gray-100);
}

.valora-mobile-link:hover {
    color: var(--vla-primary);
    padding-left: 5px;
}

/* Mobile Menu List Styling */
.valora-mobile-menu-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.valora-mobile-menu-ul li {
    border-bottom: 1px solid var(--vla-gray-100);
}

.valora-mobile-menu-ul li a {
    display: block;
    padding: 12px 0;
    color: var(--vla-gray-800);
    font-weight: 500;
    text-decoration: none;
}

.valora-mobile-menu-ul li a:hover {
    color: var(--vla-primary);
    padding-left: 5px;
}

/* Overlay */
.valora-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    /* Behind nav content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.valora-mobile-nav.active .valora-mobile-overlay {
    opacity: 1;
    visibility: visible;
    /* Ensure it covers screen even if nav is width constrained */
}