/**
 * Maxwell NavBar Pro - Styles
 * Version: 1.0.0
 * Author: Charlie K Gackowski | Maxwell Dev Studio
 */

/* ========================================
   Prevent Page Overflow
   ======================================== */
html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative;
}

* {
    box-sizing: border-box;
}

/* ========================================
   Force Navbar Above All Content
   ======================================== */
#maxwell-navbar {
    position: fixed !important;
    z-index: 99 !important;
    top: 0 !important;
}

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --navbar-height: 90px;
    --navbar-height-scrolled: 70px;
    --navbar-bg-initial: transparent;
    --navbar-bg-scrolled: rgba(255, 255, 255, 0.7);
    --navbar-blur: 30px;
    --logo-width: 160px;
    --logo-width-scrolled: 100px;
    --transition-speed: 0.35s;
    --navbar-z-index: 999999;
    --offcanvas-width: 100%;
    --nav-font-size: 14px;
    --nav-spacing: 2.5rem;
}

/* ========================================
   Base Navbar Styles
   ======================================== */
.maxwell-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: var(--navbar-height);
    background: var(--navbar-bg-initial);
    z-index: var(--navbar-z-index) !important;
    transition: all var(--transition-speed) ease-in-out;
    padding: 0 3rem;
    box-sizing: border-box;
}

.maxwell-navbar-container {
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

/* ========================================
   Scrolled State
   ======================================== */
.maxwell-navbar.scrolled {
    height: var(--navbar-height-scrolled);
    background: var(--navbar-bg-scrolled);
    backdrop-filter: blur(var(--navbar-blur));
    -webkit-backdrop-filter: blur(var(--navbar-blur));
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Logo Styles
   ======================================== */
.maxwell-navbar-logo {
    display: flex;
    align-items: center;
    transition: all var(--transition-speed) ease-in-out;
    z-index: 1001;
    position: relative;
}

.maxwell-navbar-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.maxwell-logo-svg {
    width: var(--logo-width);
    height: auto;
    transition: all var(--transition-speed) ease-in-out;
    display: block;
    padding-top: 10px;
}

/* ========================================
   Logo Color Switching Logic
   ======================================== */

/* DEFAULT: On non-homepage pages, show BLACK logo always */
.maxwell-logo-white {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.maxwell-logo-black {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* HOMEPAGE ONLY: White logo before scroll, black logo after scroll */
.maxwell-navbar-homepage .maxwell-logo-white {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.maxwell-navbar-homepage .maxwell-logo-black {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

/* When scrolled on homepage: switch to black logo */
.maxwell-navbar-homepage.scrolled .maxwell-logo-white {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.maxwell-navbar-homepage.scrolled .maxwell-logo-black {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Size adjustment on scroll */
.maxwell-navbar.scrolled .maxwell-logo-svg {
    width: var(--logo-width-scrolled);
}

.maxwell-logo-fallback {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    transition: color var(--transition-speed) ease-in-out;
}

.maxwell-navbar.scrolled .maxwell-logo-fallback {
    color: #000000;
}

/* ========================================
   Desktop Navigation
   ======================================== */
.maxwell-navbar-menu {
    display: flex;
    align-items: center;
}

.maxwell-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--nav-spacing);
}

.maxwell-nav-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.maxwell-nav-link {
    display: block;
    color: #000000;
    text-decoration: none;
    font-size: var(--nav-font-size);
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    transition: all var(--transition-speed) ease-in-out;
    position: relative;
    text-transform: capitalize;
    outline: none;
    border: none;
}

/* Remove focus/active borders that cause pushing */
.maxwell-nav-link:focus,
.maxwell-nav-link:active {
    outline: none;
    border: none;
}

/* HOMEPAGE ONLY: White text before scroll */
.maxwell-navbar-homepage .maxwell-nav-link {
    color: #ffffff;
}

/* When scrolled on homepage OR on any other page: black text */
.maxwell-navbar.scrolled .maxwell-nav-link,
.maxwell-navbar-homepage.scrolled .maxwell-nav-link {
    color: #000000;
}

.maxwell-nav-link:hover {
    opacity: 0.7;
}

/* Underline hover effect */
.maxwell-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: all var(--transition-speed) ease-in-out;
    transform: translateX(-50%);
}

.maxwell-nav-link:hover::after {
    width: 80%;
}

/* Active state for prices menu item when dropdown is open */
.maxwell-nav-item.dropdown-active .maxwell-nav-link::after {
    width: 80%;
}

/* ========================================
   Last Menu Item as Button
   ======================================== */

/* DEFAULT: Black button on non-homepage pages */
.maxwell-nav-item-button .maxwell-nav-link {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    outline: none !important;
}

.maxwell-nav-item-button .maxwell-nav-link::after {
    display: none;
}

.maxwell-nav-item-button .maxwell-nav-link:hover {
    background: transparent !important;
    color: #000000 !important;
    border-color: #000000;
    opacity: 1;
}

.maxwell-nav-item-button .maxwell-nav-link:focus,
.maxwell-nav-item-button .maxwell-nav-link:active {
    outline: none !important;
    border: 2px solid #000000 !important;
    color: #ffffff !important;
}

/* HOMEPAGE ONLY: White button before scroll */
.maxwell-navbar-homepage .maxwell-nav-item-button .maxwell-nav-link {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff;
}

.maxwell-navbar-homepage .maxwell-nav-item-button .maxwell-nav-link:hover {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff;
    opacity: 1;
}

.maxwell-navbar-homepage .maxwell-nav-item-button .maxwell-nav-link:focus,
.maxwell-navbar-homepage .maxwell-nav-item-button .maxwell-nav-link:active {
    border: 2px solid #ffffff !important;
    color: #000000 !important;
}

/* When scrolled on homepage: switch to black button */
.maxwell-navbar-homepage.scrolled .maxwell-nav-item-button .maxwell-nav-link {
    background: #000000 !important;
    border-color: #000000;
    color: #ffffff !important;
}

.maxwell-navbar-homepage.scrolled .maxwell-nav-item-button .maxwell-nav-link:hover {
    background: transparent !important;
    color: #000000 !important;
    border-color: #000000;
}

.maxwell-navbar-homepage.scrolled .maxwell-nav-item-button .maxwell-nav-link:focus,
.maxwell-navbar-homepage.scrolled .maxwell-nav-item-button .maxwell-nav-link:active {
    border: 2px solid #000000 !important;
    color: #ffffff !important;
}

/* ========================================
   Mobile Menu Toggle
   ======================================== */
.maxwell-navbar-toggle {
    display: none;
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    outline: none;
}

.maxwell-navbar-toggle:focus,
.maxwell-navbar-toggle:active,
.maxwell-navbar-toggle:hover {
    outline: none !important;
    border: none !important;
    background: none !important;
    color: inherit !important;
}

/* Override Elementor default hover colors */
.maxwell-navbar-toggle:hover,
.maxwell-navbar-toggle:focus,
.maxwell-navbar-toggle:active {
    background-color: transparent !important;
    box-shadow: none !important;
}

.maxwell-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
}

/* DEFAULT: Black hamburger on non-homepage pages */
.maxwell-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #000000;
    transition: all var(--transition-speed) ease-in-out;
    border-radius: 2px;
}

/* HOMEPAGE ONLY: White hamburger before scroll */
.maxwell-navbar-homepage .maxwell-hamburger span {
    background: #ffffff;
}

/* When scrolled on homepage: switch to black */
.maxwell-navbar.scrolled .maxwell-hamburger span,
.maxwell-navbar-homepage.scrolled .maxwell-hamburger span {
    background: #000000;
}

.maxwell-navbar-toggle[aria-expanded="true"] .maxwell-hamburger span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.maxwell-navbar-toggle[aria-expanded="true"] .maxwell-hamburger span:nth-child(2) {
    opacity: 0;
}

.maxwell-navbar-toggle[aria-expanded="true"] .maxwell-hamburger span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* ========================================
   Off-Canvas Mobile Menu
   ======================================== */
.maxwell-offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: var(--offcanvas-width);
    height: 100vh;
    background: #ffffff;
    z-index: 9999999;
    transition: right var(--transition-speed) ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.maxwell-offcanvas.active {
    right: 0;
}

.maxwell-offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease-in-out;
}

.maxwell-offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.maxwell-offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.maxwell-offcanvas-logo {
    flex: 1;
}

.maxwell-offcanvas-logo .maxwell-logo-svg {
    width: 130px;
}

.maxwell-offcanvas-logo .maxwell-logo-black {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.maxwell-offcanvas-close {
    background: none !important;
    border: none !important;
    font-size: 40px;
    cursor: pointer;
    color: #000000 !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: transform var(--transition-speed) ease-in-out;
}

.maxwell-offcanvas-close:hover {
    transform: rotate(90deg);
    background: none !important;
    color: #000000 !important;
}

/* Override Elementor default hover colors */
.maxwell-offcanvas-close:hover,
.maxwell-offcanvas-close:focus,
.maxwell-offcanvas-close:active {
    background-color: transparent !important;
    box-shadow: none !important;
    color: #000000 !important;
}

.maxwell-offcanvas-body {
    flex: 1;
    padding: 2rem;
}

.maxwell-offcanvas-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.maxwell-offcanvas-list .maxwell-nav-item {
    border-bottom: 1px solid #e0e0e0;
}

.maxwell-offcanvas-list .maxwell-nav-link {
    display: block;
    padding: 1.5rem 1rem;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed) ease-in-out;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.maxwell-offcanvas-list .maxwell-nav-link:hover {
    background: #f5f5f5;
    padding-left: 1.5rem;
}

/* Prevent blue highlight on tap/click */
.maxwell-offcanvas-list .maxwell-nav-link:active,
.maxwell-offcanvas-list .maxwell-nav-link:focus {
    background: #f5f5f5;
    outline: none;
}

/* Remove any browser default tap highlight */
.maxwell-offcanvas-list .maxwell-nav-link::-moz-focus-inner {
    border: 0;
}

.maxwell-offcanvas-list .maxwell-nav-link::after {
    display: none;
}

/* Button style for last item in mobile menu */
.maxwell-offcanvas-list .maxwell-nav-item-button .maxwell-nav-link {
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 50px;
    margin: 1rem 0;
    text-align: center;
    padding: 1rem 2rem;
}

.maxwell-offcanvas-list .maxwell-nav-item-button .maxwell-nav-link:hover {
    background: #333333 !important;
    color: #ffffff !important;
    padding: 1rem 2rem;
}

.maxwell-offcanvas-list .maxwell-nav-item-button .maxwell-nav-link:active,
.maxwell-offcanvas-list .maxwell-nav-item-button .maxwell-nav-link:focus {
    background: #000000 !important;
    color: #ffffff !important;
}

/* ========================================
   Submenu Styles
   ======================================== */
.maxwell-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    list-style: none;
    margin: 0.5rem 0 0 0;
    z-index: 1000000;
}

.maxwell-nav-item:hover .maxwell-submenu {
    display: block;
}

.maxwell-submenu .maxwell-nav-link {
    color: #000000;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.maxwell-submenu .maxwell-nav-link:hover {
    background: #f5f5f5;
}

/* Mobile submenu */
.maxwell-offcanvas-list .maxwell-submenu {
    position: static;
    box-shadow: none;
    background: #f9f9f9;
    border-radius: 0;
    padding-left: 1rem;
    margin: 0;
}

.maxwell-offcanvas-list .maxwell-nav-item:hover .maxwell-submenu {
    display: none;
}

.maxwell-offcanvas-list .maxwell-nav-item.active .maxwell-submenu {
    display: block;
}

/* ========================================
   Mega Dropdown Styles
   ======================================== */
.maxwell-mega-dropdown {
    position: fixed !important;
    top: var(--navbar-height) !important;
    left: 50px !important;
    width: calc(100% - 100px) !important;
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    border-radius: 10px !important;
    z-index: 999998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-20px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

.maxwell-mega-dropdown.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    max-height: 800px !important;
}

.maxwell-navbar.scrolled ~ .maxwell-mega-dropdown,
.maxwell-navbar.scrolled .maxwell-mega-dropdown {
    top: var(--navbar-height-scrolled) !important;
}

.maxwell-mega-dropdown-container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 50px !important;
    box-sizing: border-box !important;
}

/* Search Bar */
.maxwell-mega-search {
    position: relative !important;
    width: 100% !important;
    margin: 0 0 3rem 0 !important;
}

.maxwell-mega-search-input {
    width: 100% !important;
    padding: 1rem 140px 1rem 1.5rem !important;
    border: none !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 100px !important;
    font-size: 16px !important;
    background: #ffffff9e !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.maxwell-mega-search-input:focus {
    border-bottom-color: #000000 !important;
    background: #ffffff9e !important;
}

.maxwell-mega-search-input::placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
}

.maxwell-mega-search-btn {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 1rem 3rem !important;
    border: none !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

.maxwell-mega-search-btn:hover {
    background: #333333 !important;
    transform: translateY(-50%) scale(1.05) !important;
}

/* Search Results Dropdown */
.maxwell-mega-search-results {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
    display: block !important;
}

.maxwell-search-result-item {
    padding: 16px 20px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: background-color 0.2s ease !important;
}

.maxwell-search-result-item:last-child {
    border-bottom: none !important;
}

.maxwell-search-result-item:hover {
    background-color: #f8f8f8 !important;
}

.maxwell-search-result-main {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    margin-bottom: 6px !important;
}

.maxwell-search-result-name {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #2c2c2c !important;
    flex: 1 !important;
    padding-right: 15px !important;
}

.maxwell-search-result-name mark {
    background-color: #ffe8a3 !important;
    color: #2c2c2c !important;
    font-weight: 600 !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

.maxwell-search-result-price {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #a38c5c !important;
    white-space: nowrap !important;
}

.maxwell-search-result-category {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 0.85rem !important;
    color: #999 !important;
    margin-top: 4px !important;
}

.maxwell-search-result-category mark {
    background-color: #ffe8a3 !important;
    color: #2c2c2c !important;
    font-weight: 600 !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

.maxwell-search-no-results {
    padding: 20px !important;
    text-align: center !important;
    color: #999 !important;
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Categories Grid */
.maxwell-mega-categories {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 1.5rem !important;
    margin-bottom: 2.5rem !important;
}

.maxwell-mega-category-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px 35px 8px 8px !important;
    overflow: visible !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
}

.maxwell-mega-category-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.maxwell-mega-category-image {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 100% !important; /* Makes it square (1:1 aspect ratio) */
    background-size: cover !important;
    background-position: center center !important;
    background-color: #f0f0f0 !important;
    position: relative !important;
    /* Top-left 8px, top-right 35px, bottom-right 0, bottom-left 0 */
    border-radius: 8px 35px 0 0 !important;
}

/* Fallback gradients for each category when images aren't available */
.maxwell-mega-category-card:nth-child(1) .maxwell-mega-category-image {
    background: linear-gradient(135deg, #d4b5a0 0%, #b8988a 100%);
}

.maxwell-mega-category-card:nth-child(2) .maxwell-mega-category-image {
    background: linear-gradient(135deg, #c9a58f 0%, #a88876 100%);
}

.maxwell-mega-category-card:nth-child(3) .maxwell-mega-category-image {
    background: linear-gradient(135deg, #e8c5b5 0%, #d1a894 100%);
}

.maxwell-mega-category-card:nth-child(4) .maxwell-mega-category-image {
    background: linear-gradient(135deg, #dfc4b8 0%, #c4a599 100%);
}

.maxwell-mega-category-card:nth-child(5) .maxwell-mega-category-image {
    background: linear-gradient(135deg, #c8b5a8 0%, #b09688 100%);
}

.maxwell-mega-category-card:nth-child(6) .maxwell-mega-category-image {
    background: linear-gradient(135deg, #d6c0b3 0%, #baa090 100%);
}

.maxwell-mega-category-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    padding: 1.25rem 1.25rem 0.75rem !important;
    margin: 0 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

/* First word lighter for multi-word titles */
.maxwell-title-light {
    font-weight: 300 !important;
}

.maxwell-title-bold {
    font-weight: 600 !important;
}

.maxwell-mega-category-btn {
    display: block !important;
    text-align: center !important;
    padding: 0.75rem 1.25rem 1.25rem !important;
    color: #000000 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
}

.maxwell-mega-category-btn:hover {
    color: #666666 !important;
}

/* Footer */
.maxwell-mega-footer {
    text-align: center !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
}

.maxwell-mega-view-all {
    display: inline-block !important;
    color: #000000 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 0.75rem 2rem !important;
    border: 2px solid #000000 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    text-transform: capitalize !important;
}

.maxwell-mega-view-all:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Temporary Lock Button for Testing */
.maxwell-mega-lock-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0.5rem 1rem;
    background: #ff6b6b;
    color: #ffffff;
    border: 2px solid #ff5252;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.maxwell-mega-lock-btn:hover {
    background: #ff5252;
    transform: scale(1.05);
}

.maxwell-mega-lock-btn.locked {
    background: #4caf50;
    border-color: #45a049;
}

.maxwell-mega-lock-btn.locked:hover {
    background: #45a049;
}

/* Animation for category cards on dropdown open */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.maxwell-mega-dropdown.active .maxwell-mega-category-card {
    animation: slideUpFade 0.5s ease forwards;
}

.maxwell-mega-dropdown.active .maxwell-mega-category-card:nth-child(1) {
    animation-delay: 0.05s;
}

.maxwell-mega-dropdown.active .maxwell-mega-category-card:nth-child(2) {
    animation-delay: 0.1s;
}

.maxwell-mega-dropdown.active .maxwell-mega-category-card:nth-child(3) {
    animation-delay: 0.15s;
}

.maxwell-mega-dropdown.active .maxwell-mega-category-card:nth-child(4) {
    animation-delay: 0.2s;
}

.maxwell-mega-dropdown.active .maxwell-mega-category-card:nth-child(5) {
    animation-delay: 0.25s;
}

.maxwell-mega-dropdown.active .maxwell-mega-category-card:nth-child(6) {
    animation-delay: 0.3s;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1400px) {
    .maxwell-mega-categories {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    :root {
        --nav-spacing: 2rem;
    }

    .maxwell-mega-dropdown-container {
        padding: 40px;
    }

    .maxwell-mega-categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .maxwell-mega-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .maxwell-navbar {
        padding: 0 1.5rem;
        max-width: 100vw;
        overflow: hidden;
    }

    .maxwell-navbar-container {
        max-width: 100%;
        overflow: hidden;
    }

    .maxwell-navbar-menu {
        display: none;
    }

    .maxwell-navbar-toggle {
        display: block;
        flex-shrink: 0;
    }

    .maxwell-navbar-logo {
        flex-shrink: 1;
        min-width: 0;
    }

    :root {
        --logo-width: 130px;
        --logo-width-scrolled: 85px;
        --navbar-height: 75px;
        --navbar-height-scrolled: 65px;
    }

    /* Hide mega dropdown on mobile, use mobile menu instead */
    .maxwell-mega-dropdown {
        display: none;
    }

    .maxwell-mega-dropdown-container {
        padding: 30px;
    }

    .maxwell-mega-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .maxwell-mega-search {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .maxwell-navbar {
        padding: 0 1rem;
        max-width: 100vw;
        overflow: hidden;
    }

    .maxwell-navbar-container {
        max-width: 100%;
        overflow: hidden;
    }

    :root {
        --logo-width: 110px;
        --logo-width-scrolled: 80px;
        --navbar-height: 65px;
        --navbar-height-scrolled: 55px;
    }

    .maxwell-offcanvas-header,
    .maxwell-offcanvas-body {
        padding: 1.5rem;
    }
}

/* ========================================
   Accessibility
   ======================================== */
/* Focus styles that don't cause layout shifts */
.maxwell-navbar-toggle:focus-visible,
.maxwell-offcanvas-close:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.maxwell-nav-link:focus-visible {
    box-shadow: 0 0 0 2px #007bff;
    border-radius: 2px;
}

/* Prevent body scroll when offcanvas is open */
body.maxwell-offcanvas-open {
    overflow: hidden;
}

/* Remove all tap highlights globally for mobile menu */
.maxwell-offcanvas * {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
}

.maxwell-offcanvas a,
.maxwell-offcanvas button {
    -webkit-tap-highlight-color: transparent !important;
    tap-highlight-color: transparent !important;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .maxwell-navbar,
    .maxwell-offcanvas,
    .maxwell-offcanvas-overlay {
        display: none !important;
    }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .maxwell-navbar,
    .maxwell-logo-svg,
    .maxwell-nav-link,
    .maxwell-offcanvas,
    .maxwell-offcanvas-overlay,
    .maxwell-hamburger span {
        transition: none !important;
    }
}
