﻿/* ==========================================================================
   Header — Bright White Premium
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.site-header::after {
    display: none;
}

.site-header.header-no-border {
    border-bottom: none;
}

.site-header.header-no-border::after {
    display: none;
}

.site-header.header-sticky.header-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 0 1px 8px rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.site-header.header-sticky.header-scrolled::after {
    opacity: 1;
}

.header-main {
    height: var(--header-height);
}

.site-header .header-main .container,
.site-header .container {
    display: block;
    width: 100%;
    height: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--spacing-xl);
}

/* Site Branding */
.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 80px;
    width: auto;
    height: auto;
}

.site-logo a {
    display: flex;
    align-items: center;
}

.site-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1;
}

.site-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.site-title a:hover {
    color: var(--color-primary);
}

.site-title-text {
    display: inline;
}

.site-description {
    margin: 0;
    font-size: var(--font-size-xs);
    color: rgba(15, 23, 42, 0.5);
    line-height: 1.3;
}

/* Premium brand icon */
.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: var(--border-radius);
    color: var(--color-primary-dark);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.brand-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 100%);
    border-radius: inherit;
}

.glitch-trigger {
    position: relative;
}

.glitch-link {
    position: relative;
    display: inline-block;
}

.glitch-link::before,
.glitch-link::after {
    display: none;
}

/* Primary Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.primary-menu li {
    position: relative;
}

.primary-menu a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(15, 23, 42, 0.7);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    position: relative;
}

.primary-menu a::before {
    display: none;
}

.primary-menu a:hover {
    color: var(--color-primary);
    background: rgba(79, 158, 212, 0.08);
}

.primary-menu .current-menu-item > a {
    color: var(--color-primary);
    background: rgba(79, 158, 212, 0.08);
}

/* Dropdown indicator */
.dropdown-indicator {
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    transition: transform var(--transition-fast);
}

.primary-menu .has-children:hover > a .dropdown-indicator {
    transform: rotate(180deg);
}

/* Sub-menu styling */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 0.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 100;
    list-style: none;
}

.primary-menu .has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu a {
    padding: 0.5rem 0.75rem;
    font-size: var(--font-size-xs);
    color: rgba(15, 23, 42, 0.6);
    border-radius: var(--border-radius-sm);
}

.primary-menu .sub-menu a:hover {
    color: var(--color-primary);
    background: rgba(79, 158, 212, 0.08);
}

.primary-menu .sub-menu .current-menu-item > a {
    color: var(--color-primary);
    background: rgba(79, 158, 212, 0.08);
}

/* Nav item icon */
.nav-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 0.9rem;
    color: var(--color-primary);
    opacity: 0.7;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.primary-menu a:hover .nav-item-icon,
.primary-menu .current-menu-item > a .nav-item-icon {
    opacity: 1;
    transform: scale(1.15);
    color: var(--color-primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 40px;
    padding: 0 0.65rem;
    background: #111111;
    border: 2px solid #111111;
    border-radius: var(--border-radius);
    cursor: pointer;
    color: #ffffff;
    transition: all var(--transition-fast);
}

.menu-toggle:hover {
    background: #333333;
    color: #FFE54D;
    border-color: #333333;
}

.header-products-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: 40px;
    padding: 0 0.75rem;
    background: rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    color: #111111;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.header-products-link:hover {
    background: #111111;
    color: #FFE54D;
    border-color: #111111;
}

.header-products-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    cursor: pointer;
    color: #111111;
    transition: all var(--transition-fast);
    position: relative;
}

.cart-link:hover {
    background: #111111;
    color: #FFE54D;
    border-color: #111111;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    background: var(--color-primary);
    border-radius: var(--border-radius-round);
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(79, 158, 212, 0.3);
}

.menu-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.menu-toggle-icon.is-active {
    transform: rotate(90deg);
}

/* Mobile Panel Meta Items */
.mp-version,
.mp-status,
.mp-copyright {
    display: block;
}

.mp-status {
    color: var(--color-success);
}

/* Header Search */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    cursor: pointer;
    color: rgba(15, 23, 42, 0.6);
    transition: all var(--transition-fast);
}

.header-search-toggle:hover {
    color: var(--color-primary);
    background: rgba(79, 158, 212, 0.08);
    border-color: rgba(79, 158, 212, 0.2);
}

.header-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    padding: var(--spacing-md);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all var(--transition);
    z-index: 100;
}

.header-search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search-form {
    display: flex;
    gap: var(--spacing-sm);
}

.header-search-input {
    flex: 1;
    height: 40px;
    padding: 0 var(--spacing-md);
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    color: #0f172a;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    outline: none;
    transition: border-color var(--transition-fast);
}

.header-search-input:focus {
    border-color: var(--color-primary);
    background: rgba(79, 158, 212, 0.04);
}

.header-search-input::placeholder {
    color: rgba(15, 23, 42, 0.35);
}

.header-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    color: #ffffff;
    transition: background var(--transition-fast);
}

.header-search-submit:hover {
    background: var(--color-primary-dark);
}

/* Top Bar — Bright Announcement */
.top-bar {
    background: #f8fafc;
    color: rgba(15, 23, 42, 0.75);
    font-size: var(--font-size-xs);
    padding: 0.5rem 0;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-bar::before {
    display: none;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    text-align: center;
    position: relative;
}

.top-bar a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.top-bar a:hover {
    color: var(--color-primary-dark);
}

.top-bar-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    cursor: pointer;
    color: rgba(15, 23, 42, 0.4);
    transition: all var(--transition-fast);
}

.top-bar-close:hover {
    color: var(--color-primary);
    background: rgba(79, 158, 212, 0.08);
    border-color: rgba(79, 158, 212, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobile Panel — Premium Glassmorphism v2
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Mobile Overlay ── */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease,
                visibility 0s 300ms;
    will-change: opacity;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms ease,
                visibility 0s;
}

/* ── Mobile Panel — Neo-Brutalism ── */
.mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 88vw;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1002;
    transform: translate3d(100%, 0, 0);
    transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    will-change: transform;
    border-left: 4px solid #111111;
    box-shadow: -12px 0 0 rgba(0, 0, 0, 0.06);
}

/* Yellow misregistration offset on left border */
.mobile-panel::before {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    left: -8px;
    width: 4px;
    background: #FFE54D;
    z-index: -1;
    pointer-events: none;
}

.mobile-panel::after {
    display: none;
}

.mobile-panel.active {
    transform: translate3d(0, 0, 0);
}

/* ── Inner layout ── */
.mobile-panel-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    contain: layout style paint;
    position: relative;
    z-index: 2;
}

/* ── Mobile Panel Header — Neo-Brutalism ── */
.mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
    border-bottom: 3px solid #111111;
    position: relative;
}

.mobile-panel-header::after {
    display: none;
}

.mobile-panel-label {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-weight: 800;
    font-size: var(--font-size-base);
    color: #111111;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.mobile-panel-label::before {
    display: none;
}

.mobile-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: #FFFFFF;
    border: 3px solid #111111;
    cursor: pointer;
    color: #111111;
    transition: all 0.15s ease;
}

.mobile-panel-close:hover {
    background: #111111;
    color: #FFFFFF;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #FFE54D;
}

/* ── Nav area ── */
.mobile-panel-nav {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-md);
    scrollbar-width: thin;
    scrollbar-color: #111111 transparent;
}

.mobile-panel-nav::-webkit-scrollbar {
    width: 4px;
}

.mobile-panel-nav::-webkit-scrollbar-thumb {
    background: #111111;
    border-radius: 0;
}

/* ── Mobile menu items with slide-in animation ── */
.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mobile-menu li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-panel.active .mobile-menu li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-panel.active .mobile-menu li:nth-child(1) { transition-delay: 0.05s; }
.mobile-panel.active .mobile-menu li:nth-child(2) { transition-delay: 0.08s; }
.mobile-panel.active .mobile-menu li:nth-child(3) { transition-delay: 0.11s; }
.mobile-panel.active .mobile-menu li:nth-child(4) { transition-delay: 0.14s; }
.mobile-panel.active .mobile-menu li:nth-child(5) { transition-delay: 0.17s; }
.mobile-panel.active .mobile-menu li:nth-child(6) { transition-delay: 0.20s; }
.mobile-panel.active .mobile-menu li:nth-child(7) { transition-delay: 0.23s; }
.mobile-panel.active .mobile-menu li:nth-child(8) { transition-delay: 0.26s; }

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(15, 23, 42, 0.75);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.25s ease;
    position: relative;
}

/* Active indicator line */
.mobile-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 0 3px 3px 0;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu a:hover {
    color: #0f172a;
    background: rgba(79, 158, 212, 0.08);
    padding-left: 1.35rem;
    box-shadow: inset 0 0 0 1px rgba(79, 158, 212, 0.06);
}

.mobile-menu a:hover::after {
    transform: translateY(-50%) scaleY(1);
}

.mobile-menu .current-menu-item > a {
    color: var(--color-primary);
    background: rgba(79, 158, 212, 0.1);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(79, 158, 212, 0.1);
}

.mobile-menu .current-menu-item > a::after {
    transform: translateY(-50%) scaleY(1);
}

/* ── Greeting section — Neo-Brutalism ── */
.mp-greeting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px;
    margin-bottom: 8px;
    border-bottom: 3px solid #111111;
}

.mp-greeting-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mp-greeting-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #111111;
    opacity: 0.35;
    font-weight: 700;
}

.mp-greeting-name {
    font-size: 15px;
    font-weight: 800;
    color: #111111;
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    letter-spacing: -0.3px;
}

/* ── Link icon via pseudo-element if no real icon ── */
.mobile-menu a:not(:has(.nav-item-icon))::before {
    content: '›';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.4;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu a:hover:not(:has(.nav-item-icon))::before {
    opacity: 0.8;
    transform: translateX(2px);
}

.mobile-menu .current-menu-item a:not(:has(.nav-item-icon))::before {
    opacity: 0.9;
}

/* ── Actions area — Neo-Brutalism ── */
.mobile-panel-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
    border-top: 3px solid #111111;
}

.mobile-panel-actions .btn {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-panel.active .mobile-panel-actions .btn {
    opacity: 1;
    transform: translateY(0);
}

.mobile-panel.active .mobile-panel-actions .btn:nth-child(1) { transition-delay: 0.15s; }
.mobile-panel.active .mobile-panel-actions .btn:nth-child(2) { transition-delay: 0.20s; }
.mobile-panel.active .mobile-panel-actions .btn:nth-child(3) { transition-delay: 0.25s; }

/* ── Footer — Neo-Brutalism ── */
.mobile-panel-footer {
    padding: var(--spacing-lg) var(--spacing-lg);
    border-top: 3px solid #111111;
    background: #F5F5F5;
}

.mobile-panel-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: var(--font-size-xs);
    color: #111111;
    opacity: 0.5;
}

.mp-version {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111111;
    opacity: 0.4;
}

.mp-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111111;
    font-weight: 600;
    font-size: 12px;
}

.mp-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #111111;
    animation: mobile-glow-dot 2s ease-in-out infinite;
}

.mp-copyright {
    font-size: 10px;
    color: #111111;
    opacity: 0.3;
    margin-top: 2px;
    font-weight: 600;
}

/* ── Hamburger to X Animation ── */
.menu-toggle-icon.is-active {
    transform: rotate(90deg);
    color: var(--color-primary);
}

/* ── Mobile Submenu — Neo-Brutalism ── */
.mobile-menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-left: 0;
    list-style: none;
    margin: 0 0 0 12px;
    border-left: 3px solid #111111;
}

.mobile-menu .sub-menu.active {
    max-height: 500px;
    padding-left: 12px;
    padding-bottom: 4px;
}

.mobile-menu .sub-menu a {
    padding: 0.6rem 0.75rem;
    font-size: 12px;
    font-weight: 600;
    color: #111111;
    opacity: 0.6;
    border: none;
}

.mobile-menu .sub-menu a::after {
    display: none;
}

.mobile-menu .sub-menu a::before {
    display: none !important;
}

.mobile-menu .sub-menu a:hover {
    color: #111111;
    opacity: 1;
    background: #F5F5F5;
    border: none;
    transform: translate(4px, 0);
    box-shadow: none;
}

.mobile-menu .sub-menu .current-menu-item > a {
    color: #111111;
    opacity: 1;
    font-weight: 700;
    background: #FFFFFF;
    border: none;
    border-left: 3px solid #FFE54D;
    box-shadow: none;
    transform: none;
}

.mobile-menu .has-children > a .dropdown-indicator {
    margin-left: auto;
    transition: transform 0.25s ease;
    opacity: 0.3;
    color: #111111;
    flex-shrink: 0;
}

.mobile-menu .has-children > a.submenu-open .dropdown-indicator {
    transform: rotate(180deg);
    opacity: 1;
    color: #111111;
}

/* ── Nav item icon in mobile ── */
.mobile-menu .nav-item-icon {
    width: 18px;
    height: 18px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    opacity: 0.6;
}

.mobile-menu a:hover .nav-item-icon {
    opacity: 1;
}

/* ── Mobile panel ghost button — Neo-Brutalism ── */
.mobile-panel-actions .btn-ghost {
    color: #111111;
    border: 3px solid #111111;
    background: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.mobile-panel-actions .btn-ghost:hover {
    color: #FFFFFF;
    background: #111111;
    border-color: #111111;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #FFE54D;
}

.mobile-panel-actions .btn-primary {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-navigation {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Scroll Progress Bar
   ═══════════════════════════════════════════════════════════════════════ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1003;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-progress.visible {
    opacity: 1;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-primary-light));
    border-radius: 0 2px 2px 0;
    transition: width 50ms linear;
    will-change: width;
}

/* ── Yellow theme variant ── */
.header-theme-yellow .scroll-progress-bar,
body.header-theme-yellow .scroll-progress-bar {
    background: linear-gradient(90deg, var(--nb-black, #111), var(--nb-yellow, #FFE54D));
}

/* ═══════════════════════════════════════════════════════════════════════
   Neo-Brutalism Yellow Header Variant
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Yellow theme header — white glassmorphism, yellow accents on elements only ── */
body.header-theme-yellow .site-header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.header-theme-yellow .site-header.header-sticky.header-scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 0 1px 8px rgba(0, 0, 0, 0.04);
}

/* ── Primary nav links on yellow ── */
body.header-theme-yellow .primary-menu a {
    color: #111111;
    font-weight: 600;
}

body.header-theme-yellow .primary-menu a:hover {
    color: #111111;
    background: rgba(0, 0, 0, 0.08);
}

body.header-theme-yellow .primary-menu .current-menu-item > a {
    color: #111111;
    background: rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

body.header-theme-yellow .primary-menu .nav-item-icon {
    color: #111111;
    opacity: 0.8;
}

body.header-theme-yellow .primary-menu a:hover .nav-item-icon {
    opacity: 1;
}

/* ── Menu toggle button on yellow ── */
body.header-theme-yellow .menu-toggle {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

body.header-theme-yellow .menu-toggle:hover {
    background: #333333;
    color: var(--nb-yellow, #FFE54D);
}

/* ── Products link on yellow ── */
body.header-theme-yellow .header-products-link {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
    color: #111111;
}

body.header-theme-yellow .header-products-link:hover {
    background: #111111;
    color: var(--nb-yellow, #FFE54D);
    border-color: #111111;
}

/* ── Cart link on yellow ── */
body.header-theme-yellow .cart-link {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
    color: #111111;
}

body.header-theme-yellow .cart-link:hover {
    background: #111111;
    color: var(--nb-yellow, #FFE54D);
    border-color: #111111;
}

/* ── CTA button on yellow ── */
body.header-theme-yellow .btn-primary {
    background: #111111;
    color: var(--nb-yellow, #FFE54D);
    border-color: #111111;
}

body.header-theme-yellow .btn-primary:hover {
    background: #333333;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
    transform: translate(-2px, -2px);
}

/* ── Site title on yellow ── */
body.header-theme-yellow .site-title a {
    color: #111111;
}

body.header-theme-yellow .brand-icon {
    background: #111111;
    color: var(--nb-yellow, #FFE54D);
}

/* ── Top bar on yellow ── */
body.header-theme-yellow .top-bar {
    background: #111111;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: none;
}

body.header-theme-yellow .top-bar a {
    color: var(--nb-yellow, #FFE54D);
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobile Panel — Enhanced Yellow Theme
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Logout link in greeting ── */
.mp-logout-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #111111;
    opacity: 0.3;
    border: 2px solid transparent;
    transition: all 0.15s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.mp-logout-link:hover {
    opacity: 1;
    color: #ef4444;
    border-color: #ef4444;
    background: none;
}

body.header-theme-yellow .mp-logout-link:hover {
    color: #ef4444;
    border-color: #ef4444;
}

/* ── Yellow theme mobile panel accent ── */
body.header-theme-yellow .mobile-menu a::after {
    background: #111111;
}

body.header-theme-yellow .mobile-menu .current-menu-item > a {
    color: #111111;
    background: rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

body.header-theme-yellow .mobile-menu a:hover {
    background: rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

body.header-theme-yellow .mobile-menu .nav-item-icon {
    color: #111111;
}

body.header-theme-yellow .mobile-panel-actions .btn-primary {
    background: #111111;
    color: var(--nb-yellow, #FFE54D);
    border-color: #111111;
}

body.header-theme-yellow .mobile-panel-actions .btn-ghost {
    color: #111111;
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.04);
}

body.header-theme-yellow .mobile-panel-actions .btn-ghost:hover {
    background: #111111;
    color: var(--nb-yellow, #FFE54D);
    border-color: #111111;
}

body.header-theme-yellow .mobile-panel-header {
    border-bottom-color: rgba(0, 0, 0, 0.12);
}

body.header-theme-yellow .mobile-panel-label {
    color: #111111;
}

body.header-theme-yellow .mobile-panel-close {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
    color: #111111;
}

body.header-theme-yellow .mobile-panel-close:hover {
    background: #111111;
    color: var(--nb-yellow, #FFE54D);
    border-color: #111111;
}

/* ── Neo-brutalism panel footer ── */
body.header-theme-yellow .mobile-panel-meta {
    color: rgba(0, 0, 0, 0.35);
}

body.header-theme-yellow .mp-status {
    color: #111111;
}

body.header-theme-yellow .mp-status::before {
    background: #111111;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* ── Slide-in animation on open ── */
@keyframes mobile-glow-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ── Mobile panel + header overrides for small screens ── */
@media (max-width: 479px) {
    .header-products-label {
        display: none;
    }

    .header-products-link {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
    }

    .header-products-link svg {
        margin: 0;
    }

    .site-logo img {
        max-height: 40px;
        max-width: 110px;
        width: auto;
    }

    .site-branding {
        max-width: 110px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
    }

    .cart-link {
        width: 36px;
        height: 36px;
    }

    .mp-greeting {
        padding: 12px 16px 6px;
    }

    .mobile-panel-header {
        padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
    }

    .mobile-panel-nav {
        padding: var(--spacing-xs) var(--spacing-md) var(--spacing-md);
    }

    .mobile-panel-actions {
        padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
    }

    .mobile-panel-footer {
        padding: var(--spacing-md) var(--spacing-md);
    }

    .mobile-menu a {
        padding: 0.75rem 0.85rem;
        font-size: var(--font-size-xs);
    }
}
