/**
 * Header Styles
 *
 * @package WinkelvanHugo
 */

/* ==========================================================================
   TOPBAR
   ========================================================================== */

.topbar {
    background: var(--wvh-black);
    color: var(--wvh-white);
    font-size: var(--wvh-text-sm);
    padding: var(--wvh-space-2) 0;
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar__usps {
    display: flex;
    gap: var(--wvh-space-6);
}

.topbar__usps span {
    display: flex;
    align-items: center;
    gap: var(--wvh-space-2);
}

.topbar__contact a {
    color: var(--wvh-white);
    transition: color var(--wvh-transition-fast);
}

.topbar__contact a:hover {
    color: var(--wvh-orange);
}

/* ==========================================================================
   TRUSTED SHOPS WIDGET OVERRIDE
   
   !important is hier BEWUST en NOODZAKELIJK:
   - Trusted Shops widget injecteert inline styles via JavaScript
   - position: fixed wordt dynamisch toegevoegd na page load
   - Zonder !important is het niet mogelijk deze inline styles te overriden
   - Dit is een gecontroleerde third-party override
   ========================================================================== */
.trustbadge-container {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

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

.site-header {
    background: var(--wvh-white);
    padding: var(--wvh-space-4) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--wvh-shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: var(--wvh-space-6);
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.site-branding .custom-logo {
    max-height: 50px;
    width: auto;
}

.site-branding .site-title {
    font-family: var(--wvh-font-heading);
    font-size: var(--wvh-text-3xl);
    color: var(--wvh-orange);
    text-decoration: none;
    letter-spacing: 1px;
}

/* Search */
.header-search {
    flex: 1;
    max-width: 500px;
}

.search-form {
    display: flex;
    position: relative;
}

.search-form__input {
    flex: 1;
    padding: var(--wvh-space-3) var(--wvh-space-4);
    padding-right: 50px;
    border: 2px solid var(--wvh-gray-200);
    border-radius: var(--wvh-radius-full);
    font-size: var(--wvh-text-sm);
    background: var(--wvh-gray-100);
    transition: all var(--wvh-transition-fast);
}

.search-form__input:focus {
    outline: none;
    border-color: var(--wvh-orange);
    background: var(--wvh-white);
    box-shadow: 0 0 0 3px var(--wvh-orange-glow);
}

.search-form__button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wvh-orange);
    color: var(--wvh-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--wvh-transition-fast);
}

.search-form__button:hover {
    background: var(--wvh-orange-dark);
}

/* Header Actions - Fixed layout: [TrustShops] [Account] [Cart] */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

/* 1. Trusted Shops Widget - Full size display in header */
.header-action--trust {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    order: 1;
    position: relative;
    z-index: 50;
    min-width: 200px;
}

/* Trusted Shops widget in header - natural size display
 * !important BEWUST: third-party widget injecteert inline positioning via JS
 */
.header-action--trust minimized-trustbadge-inline-horizontal {
    display: block !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
}

/* Override fixed/absolute positioning from widget scripts
 * !important BEWUST: noodzakelijk voor inline style override
 */
.header-action--trust .trustbadge-container,
.header-action--trust [class*="trustbadge"],
.header-action--trust [class*="ts-"] {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
}

/* 2. Account Icon */
.header-action--account {
    order: 2;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

/* 3. Cart Icon */
.header-action--cart {
    order: 3;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

@media (max-width: 1100px) {
    .header-action--trust {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-action--trust {
        display: none;
    }

    .header-actions {
        gap: 6px;
    }
}

.header-action {
    display: flex;
    align-items: center;
    justify-content: left;
    width: 44px;
    height: 44px;
    color: var(--wvh-black);
    transition: color var(--wvh-transition-fast);
    position: relative;
    /* Reset button styles for cart toggle */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.header-action:hover {
    color: var(--wvh-orange);
}

.header-action__count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wvh-orange);
    color: var(--wvh-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    padding: 0 4px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.main-navigation {
    background: var(--wvh-white);
    border-top: 1px solid var(--wvh-gray-100);
    display: none;
}

@media (min-width: 993px) {
    .main-navigation {
        display: block;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    display: flex;
    align-items: center;
    padding: var(--wvh-space-4) var(--wvh-space-5);
    font-size: var(--wvh-text-sm);
    font-weight: 600;
    color: var(--wvh-black);
    transition: color var(--wvh-transition-fast);
}

.nav-menu>li>a:hover,
.nav-menu>li.current-menu-item>a {
    color: var(--wvh-orange);
}

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--wvh-white);
    border-radius: var(--wvh-radius-md);
    box-shadow: var(--wvh-shadow-lg);
    padding: var(--wvh-space-2) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--wvh-transition-fast);
    z-index: 100;
    list-style: none;
}

.nav-menu>li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    display: block;
    padding: var(--wvh-space-3) var(--wvh-space-4);
    font-size: var(--wvh-text-sm);
    color: var(--wvh-gray-700);
    transition: all var(--wvh-transition-fast);
}

.nav-menu .sub-menu a:hover {
    background: var(--wvh-orange-light);
    color: var(--wvh-orange);
}

/* Dropdown - Level 2 (Sub-submenu - 3e niveau) */
.nav-menu .sub-menu .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    z-index: 101;
}

.nav-menu .sub-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Arrow indicator voor items met submenu */
.nav-menu .sub-menu .menu-item-has-children>a::after {
    content: '›';
    position: absolute;
    right: var(--wvh-space-4);
    color: var(--wvh-gray-400);
    font-size: 18px;
    line-height: 1;
}

.nav-menu .sub-menu .menu-item-has-children>a:hover::after {
    color: var(--wvh-orange);
}

/* Submenu item positioning for arrow */
.nav-menu .sub-menu .menu-item-has-children>a {
    position: relative;
}

/* ==========================================================================
   MOBILE MENU TOGGLE
   ========================================================================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
}

.menu-toggle__bar {
    width: 24px;
    height: 2px;
    background: var(--wvh-black);
    transition: all var(--wvh-transition-base);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--wvh-transition-base);
    z-index: 998;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    max-width: 90vw;
    height: 100vh;
    background: var(--wvh-white);
    z-index: 999;
    transition: left var(--wvh-transition-slow);
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--wvh-space-4);
    border-bottom: 1px solid var(--wvh-gray-100);
}

.mobile-nav__title {
    font-size: var(--wvh-text-lg);
    font-weight: 700;
}

.mobile-nav__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wvh-gray-500);
}

.mobile-nav__search {
    padding: var(--wvh-space-4);
    border-bottom: 1px solid var(--wvh-gray-100);
}

.mobile-nav__search input {
    width: 100%;
    padding: var(--wvh-space-3);
    border: 1px solid var(--wvh-gray-200);
    border-radius: var(--wvh-radius-md);
    font-size: var(--wvh-text-sm);
}

.mobile-nav__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav__menu li {
    border-bottom: 1px solid var(--wvh-gray-100);
}

.mobile-nav__menu a {
    display: block;
    padding: var(--wvh-space-4);
    font-weight: 500;
    color: var(--wvh-black);
}

.mobile-nav__menu a:hover {
    color: var(--wvh-orange);
    background: var(--wvh-orange-light);
}

.mobile-nav__menu .sub-menu {
    list-style: none;
    padding: 0;
    background: var(--wvh-gray-100);
}

.mobile-nav__menu .sub-menu a {
    padding-left: var(--wvh-space-8);
    font-size: var(--wvh-text-sm);
    font-weight: 400;
}

/* Mobile Nav Section Headers */
.mobile-nav__section {
    background: var(--wvh-gray-100);
    padding: var(--wvh-space-3) var(--wvh-space-4);
    border-bottom: 1px solid var(--wvh-gray-200);
}

.mobile-nav__section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--wvh-gray-500);
}

/* Mobile Nav Pages with Icons */
.mobile-nav__pages a {
    display: flex;
    align-items: center;
    gap: var(--wvh-space-3);
}

.mobile-nav__pages svg {
    flex-shrink: 0;
    color: var(--wvh-orange);
}

.mobile-nav__pages a:hover svg {
    color: var(--wvh-orange-dark);
}

/* Mobile Nav Badge (cart count) */
.mobile-nav__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--wvh-orange);
    color: var(--wvh-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    margin-left: auto;
}

/* Mobile Nav USPs */
.mobile-nav__usps {
    padding: var(--wvh-space-4);
    background: var(--wvh-orange-light);
    border-top: 1px solid rgba(255, 121, 0, 0.15);
    margin-top: auto;
}

.mobile-nav__usp {
    display: flex;
    align-items: center;
    gap: var(--wvh-space-2);
    font-size: 12px;
    font-weight: 500;
    color: var(--wvh-gray-700);
    padding: var(--wvh-space-2) 0;
}

.mobile-nav__usp svg {
    color: var(--wvh-orange);
    flex-shrink: 0;
}

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

@media (max-width: 992px) {
    .header__inner {
        gap: var(--wvh-space-3);
    }

    .site-branding .custom-logo {
        max-height: 40px;
    }

    .site-branding .site-title {
        font-size: var(--wvh-text-2xl);
    }
}/**
 * Footer Styles
 *
 * @package WinkelvanHugo
 */

/* ==========================================================================
   FOOTER WIDGETS
   ========================================================================== */

.footer-widgets {
    background: var(--wvh-gray-900);
    color: var(--wvh-gray-300);
    padding: var(--wvh-space-16) 0 var(--wvh-space-10);
}

.footer-widgets__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--wvh-space-10);
}

@media (max-width: 992px) {
    .footer-widgets__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--wvh-space-8);
    }
}

@media (max-width: 600px) {
    .footer-widgets__grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Widget */
.footer-widget {
    margin-bottom: var(--wvh-space-6);
}

.footer-widget__title {
    color: var(--wvh-white);
    font-size: var(--wvh-text-base);
    font-weight: 700;
    margin-bottom: var(--wvh-space-4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: var(--wvh-space-2);
}

.footer-widget a {
    color: var(--wvh-gray-400);
    font-size: var(--wvh-text-sm);
    transition: color var(--wvh-transition-fast);
}

.footer-widget a:hover {
    color: var(--wvh-orange);
}

.footer-widget p {
    font-size: var(--wvh-text-sm);
    color: var(--wvh-gray-400);
    line-height: 1.7;
}

/* ==========================================================================
   FOOTER BOTTOM
   ========================================================================== */

.footer-bottom {
    background: var(--wvh-black);
    padding: var(--wvh-space-5) 0;
}

.footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--wvh-space-4);
}

@media (max-width: 768px) {
    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Copyright */
.footer-bottom__copyright {
    color: var(--wvh-gray-500);
    font-size: var(--wvh-text-sm);
}

.footer-bottom__copyright p {
    margin: 0;
}

/* Payment Icons */
.footer-bottom__payment {
    display: flex;
    align-items: center;
    gap: var(--wvh-space-2);
}

.payment-icon {
    display: flex;
    opacity: 0.8;
    transition: opacity var(--wvh-transition-fast);
}

.payment-icon:hover {
    opacity: 1;
}

/* Footer Navigation */
.footer-bottom__nav {
    flex-shrink: 0;
}

.footer-menu {
    display: flex;
    align-items: center;
    gap: var(--wvh-space-4);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: var(--wvh-gray-500);
    font-size: var(--wvh-text-sm);
    transition: color var(--wvh-transition-fast);
}

.footer-menu a:hover {
    color: var(--wvh-orange);
}

/* ==========================================================================
   SITE FOOTER GENERAL
   ========================================================================== */

.site-footer {
    margin-top: auto;
}

/* Ensure footer is at bottom */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}