/* 
 * Unex Theme - Main Styles 
 * Design: Premium, Bold, Manufacturing-Focused
 */

:root {
    --color-primary: #e63946; /* Vibrant Red */
    --color-primary-rgb: 230, 57, 70;
    --color-secondary: #0b0c10;
    --color-text: #1a1a1a;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-bg-dark: #f8f9fa;
    --color-white: #ffffff;
    --color-border: #eee;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* TOP BAR */
.top-bar {
    background: #000;
    color: #fff;
    padding: 18px 0; /* Significant reduction */
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    flex: 1;
}

.top-bar-right {
    text-align: right;
}

.top-bar-center {
    flex: 0 0 auto;
    text-align: center;
}

.top-bar-center .brand-name-animated {
    font-size: 3.8rem;
    letter-spacing: -1px;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 0.8;
    display: inline-block;
    font-family: 'Exo 2', sans-serif;
    font-style: italic;
    padding: 0;
    text-decoration: none;
}

.brand-name-animated span {
    display: inline-block;
    color: #fff; /* Final state */
    -webkit-text-fill-color: #fff;
    animation: neon-reveal 2.5s ease-out forwards;
}

.brand-name-animated span:nth-child(1) { animation-delay: 0.1s; }
.brand-name-animated span:nth-child(2) { animation-delay: 0.3s; }
.brand-name-animated span:nth-child(3) { animation-delay: 0.5s; }
.brand-name-animated span:nth-child(4) { animation-delay: 0.7s; }

/* Replay on hover */
.brand-name-animated:hover span {
    animation: neon-reveal-hover 2.5s ease-out forwards;
}

@keyframes neon-reveal {
    0% {
        color: #000;
        -webkit-text-fill-color: #000;
        text-shadow: none;
    }
    30% {
        color: #000;
        -webkit-text-fill-color: #000;
        text-shadow: 0 0 10px #ff2200, 0 0 20px #ff2200, 0 0 40px #ff2200;
        -webkit-text-stroke: 1px #ff2200;
    }
    60% {
        color: #fff;
        -webkit-text-fill-color: #fff;
        text-shadow: 0 0 5px #ff2200, 0 0 15px #ff2200;
        -webkit-text-stroke: 1px #ff2200;
    }
    100% {
        color: #fff;
        -webkit-text-fill-color: #fff;
        text-shadow: none;
        -webkit-text-stroke: 0px transparent;
    }
}

@keyframes neon-reveal-hover {
    0% {
        color: #000;
        -webkit-text-fill-color: #000;
        text-shadow: none;
    }
    30% {
        color: #000;
        -webkit-text-fill-color: #000;
        text-shadow: 0 0 10px #ff2200, 0 0 20px #ff2200, 0 0 40px #ff2200;
        -webkit-text-stroke: 1px #ff2200;
    }
    60% {
        color: #fff;
        -webkit-text-fill-color: #fff;
        text-shadow: 0 0 5px #ff2200, 0 0 15px #ff2200;
        -webkit-text-stroke: 1px #ff2200;
    }
    100% {
        color: #fff;
        -webkit-text-fill-color: #fff;
        text-shadow: none;
        -webkit-text-stroke: 0px transparent;
    }
}



.top-bar-left span, .top-bar-right span, .top-bar-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    font-weight: 600;
}

/* HEADER */
.site-header {
    background: var(--color-white);
    transition: var(--transition);
}

.header-sticky-wrapper.header-scrolled .site-header {
    background: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 13px 0;
}

.main-navigation {
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-actions {
    position: absolute;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    background: #f5f5f5;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.search-btn:hover {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
}

/* Search Modal Styles */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.search-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.search-modal-close:hover {
    background: #f5f5f5;
    transform: rotate(90deg);
}

.search-modal-inner h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-secondary);
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
}

#product-search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

#search-input {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s ease;
    outline: none;
}

#search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.search-submit {
    background: var(--color-primary);
    color: #fff;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.search-submit:hover {
    background: var(--color-secondary);
    transform: scale(1.05);
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 10;
    border: 1px solid #f0f0f0;
}

.search-suggestion {
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.search-suggestion:last-child {
    border-bottom: none;
}

.search-suggestion:hover {
    background: #f8f9fa;
}

.search-suggestion a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.search-suggestion img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.suggestion-no-img {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.suggestion-meta {
    font-size: 0.8rem;
    color: #999;
}

/* Search Modal — Mobile */
@media (max-width: 768px) {
    .search-modal-content {
        top: 100px;
        left: 0;
        right: 0;
        bottom: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 0 0 20px 20px;
        padding: 24px 20px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .search-modal-close {
        top: 14px;
        right: 14px;
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }

    .search-modal-inner h2 {
        font-size: 1rem;
        margin-bottom: 16px;
        letter-spacing: 1.5px;
    }

    #search-input {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .search-submit {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .search-suggestions {
        max-height: 55vh;
        border-radius: 12px;
    }

    .search-suggestion {
        padding: 12px;
    }

    .search-suggestion img,
    .suggestion-no-img {
        width: 42px;
        height: 42px;
    }

    .suggestion-title {
        font-size: 0.85rem;
    }

    .suggestion-meta {
        font-size: 0.75rem;
    }
}

.search-no-results {
    padding: 30px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.main-navigation li a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 50px;
}


.main-navigation li a:hover,
.main-navigation li.current-menu-item a {
    color: var(--color-primary);
    background: #fff;
    box-shadow: 0 4px 10px rgba(var(--color-primary-rgb), 0.2);
}

/* HERO CAROUSEL */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide-content {
    color: var(--color-white);
    padding-bottom: 50px;
    transform: translateY(15%);
}

.hero-text-content {
    max-width: 800px;
}

.hero-text-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-text-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
    font-weight: 500;
}

.text-primary {
    color: var(--color-primary);
}

/* Swiper Controls Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-white);
    background: rgba(var(--color-primary-rgb), 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-primary);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-white);
    opacity: 0.5;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-primary);
    width: 30px;
    border-radius: 10px;
}

/* Slide Change Animations */
.reveal-text, .reveal-text-slow, .reveal-text-slower {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-slide-active .reveal-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.swiper-slide-active .reveal-text-slow {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.swiper-slide-active .reveal-text-slower {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}
.bike-finder {
    background: var(--color-bg-dark);
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
}

.finder-grid {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.finder-title {
    flex: 1;
}

.finder-title h2 {
    font-size: 1.5rem;
    line-height: 1.2;
}

.finder-form {
    flex: 2;
    display: flex;
    gap: 15px;
}

.finder-form select {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-body);
}

.btn-ride {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ride:hover {
    background: #c12a35;
}

/* PRODUCT CARDS */
.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px; /* Reduced from 20px */
    transition: var(--transition);
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f1f1;
    color: #333;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.product-title {
    font-size: 1rem; /* Reduced from 1.2rem */
    margin-bottom: 8px;
    color: var(--color-text);
    font-weight: 700;
}

.product-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.75rem;
    color: #777;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-meta i {
    color: var(--color-primary);
}

.product-price {
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1.1rem; /* Reduced from 1.25rem */
    margin-bottom: 15px;
}

/* SECTION HEADINGS */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.section-title h2 b {
    color: var(--color-primary);
}

/* PRODUCT MARQUEE */
.product-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marquee-scroll 40s linear infinite;
    gap: 40px;
}

.marquee-item {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.marquee-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
}

.marquee-content.content-ltr {
    animation: marquee-scroll-ltr 35s linear infinite;
}

.marquee-content.content-rtl {
    animation: marquee-scroll-rtl 60s linear infinite;
}

@keyframes marquee-scroll-ltr {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes marquee-scroll-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.product-marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* MARQUEE / CLIENTS */
.marquee {
    padding: 40px 0;
    background: #fff;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content img {
    height: 60px;
    margin: 0 40px;
    filter: grayscale(1);
    opacity: 0.5;
    transition: var(--transition);
}

.marquee-content img:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* FOOTER */
.site-footer {
    background: #111;
    color: #fff;
    padding: 80px 0 20px;
    margin-top: 0;
}

.site-footer .brand-name {
    font-size: 2.5rem;
    font-family: 'Exo 2', sans-serif;
    font-style: italic;
    font-weight: 900;
    color: #fff;
    -webkit-text-fill-color: #ffffff;
    letter-spacing: 1px;
    display: inline-block;
}



.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

/* RESPONSIVE UTILITIES */
.on-mobile {
    display: none;
}

@media (max-width: 767px) {
    .on-desktop {
        display: none !important;
    }
    .on-mobile {
        display: block !important;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: calc(55% + 30px); /* Increased by 30px */
        height: 100vh;
        background: #fff;
        z-index: 2000;
        padding: 50px 30px;
        transition: var(--transition);
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        display: block;
        justify-content: flex-start;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-navigation a {
        font-size: 1.2rem;
        padding: 15px 0;
        border-radius: 0;
        background: none !important;
    }
    
    .mobile-menu-toggle {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--color-secondary);
        z-index: 2001;
        position: relative;
    }
    
    .mobile-menu-toggle.active {
        color: var(--color-primary);
    }
}

/* Hide mobile menu toggle on larger screens */
@media (min-width: 768px) {
    .mobile-menu-toggle, .on-mobile {
        display: none !important;
    }
    .on-desktop {
        display: inline-flex !important;
    }
}
.menu-close-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.main-navigation.active .menu-close-btn {
    opacity: 1;
}

.menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}

.menu-contact-info {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.menu-contact-info p {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
}

.menu-contact-info i {
    color: var(--color-primary);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* NO SCROLL BODY */
body.no-scroll {
    overflow: hidden;
}

@media (max-width: 768px) {
    .grid, .footer-grid {
        grid-template-columns: 1fr !important;
    }
    
    .finder-form {
        flex-direction: column;
    }
    
    .top-bar-info {
        display: none;
    }

    .bike-finder {
        padding: 20px 0;
    }

    /* Marquee position adjustments */
    .marquee-row-1 {
        margin-top: 10px !important;
    }
    .marquee-row-2 {
        margin-top: -170px !important;
    }

    /* Marquee 20% smaller on mobile */
    .product-marquee {
        padding: 20px 0 !important;
    }
    .marquee-item {
        font-size: 0.96rem !important;
    }
    .marquee-dot {
        width: 6px !important;
        height: 6px !important;
    }
    .marquee-content {
        gap: 32px !important;
    }
}


/* --- UNEX CATEGORY SYSTEM (Modular & Maintainable) --- */
:root {
    --category-accent: #C52D32; /* Default */
    --bicycle-color: #C52D32;   /* Performance Red */
    --toddler-color: #00AEEF;   /* Discovery Blue */
    --accessory-color: #00D1FF; /* Precision Teal */
}

/* Category Unique Essences */
.page-essence-bicycles { --category-accent: var(--bicycle-color); }
.page-essence-toddlers { --category-accent: var(--toddler-color); }
.page-essence-accessories { --category-accent: var(--accessory-color); }

.category-page {
    padding: 20px 0 80px;
    background: #fdfdfd;
}

/* Unified Banner System (Homepage Inspired) */
.category-hero {
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    position: relative;
    background-color: #000;
}

.category-hero-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.category-hero-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.category-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.category-hero-content h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 12px;
    font-family: 'Exo 2', sans-serif;
    font-style: italic;
    letter-spacing: -1px;
}

.category-hero-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    font-weight: 500;
    border-left: 4px solid var(--category-accent);
    padding-left: 20px;
}

/* Sidebar Styling (Homepage Consitency) */
.category-main {
    display: flex;
    gap: 30px;
}

.sidebar-controls {
    width: 280px;
    flex-shrink: 0;
    background: #f8f8f8;
    padding: 35px 25px;
    border-radius: 20px;
    height: fit-content;
    border: 1px solid #eee;
}

.control-group {
    margin-bottom: 30px;
}

.control-group h3 {
    color: var(--category-accent);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.control-list {
    list-style: none;
    padding: 0;
}

.control-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #111;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.control-item:hover {
    color: var(--category-accent);
}

.control-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--category-accent);
    cursor: pointer;
}

/* Product Cards (Premium Manufacturer View) */
.product-grid-refined {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    flex: 1;
}

.unex-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.unex-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: #e0e0e0;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.card-top h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #000;
    margin: 0;
    letter-spacing: -0.5px;
}

.card-badge {
    background: #f2f2f2;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-badge i {
    color: var(--category-accent);
}

.card-visual {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-visual img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.card-specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 0;
    border-top: 1px dotted #ccc;
    margin-top: auto;
}

.spec-block {
    text-align: center;
    border-right: 1px solid #eee;
}

.spec-block:last-child {
    border-right: none;
}

.spec-block i {
    color: #bbb;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: block;
}

.spec-block b {
    display: block;
    font-size: 0.75rem;
    color: #000;
    font-weight: 800;
}

.spec-block span {
    font-size: 0.65rem;
    color: #999;
    font-weight: 500;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.price-tag {
    display: flex;
    flex-direction: column;
}

.price-tag .label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #999;
}

.price-tag .value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--category-accent);
}

.action-btn {
    background: #000;
    color: #fff;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
}

.action-btn:hover {
    background: var(--category-accent);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1280px) {
    .product-grid-refined {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .category-main {
        flex-direction: column;
    }
    .sidebar-controls {
        width: 100%;
    }
    .category-hero {
        height: 300px;
    }
    .category-hero-inner {
        padding: 0 40px;
    }
    .category-hero-content h1 {
        font-size: 2.5rem;
    }
}

/* WHY CHOOSE UNEX GRID */
.why-unex-parallax {
    height: 400px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    overflow: hidden;
}

.parallax-overlay {
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.feature-card {
    flex: 1;
    max-width: 380px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    margin: 0 15px;
    border-radius: 4px; /* Classier sharp/slight radius */
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-left: 3px solid var(--color-primary);
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(20, 20, 20, 0.85);
    border-left-width: 6px;
}

.fc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-header i {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.fc-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 2px;
}

.fc-body h3 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 1.6rem;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.fc-body p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

@media (max-width: 1024px) {
    .parallax-overlay {
        flex-direction: column;
        gap: 20px;
        padding: 50px 0;
    }
    .why-unex-parallax {
        height: auto;
        min-height: 500px;
    }
}

.why-unex-grid {
    display: flex;
    flex-wrap: wrap;
    min-height: 700px;
    background: #000;
}

.why-tile {
    padding: 60px 45px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
    flex: 0 0 25%;
    max-width: 25%;
}

.why-tile:hover {
    transform: scale(1.02);
    z-index: 5;
}

/* Row 1 Widths */
.tile-brand { flex: 0 0 25%; max-width: 25%; }
.tile-summary { flex: 0 0 50%; max-width: 50%; }
.tile-construction { flex: 0 0 25%; max-width: 25%; }

/* Row 2 Custom Proportions (Factory Reduced to 40%) */
.tile-factory-image { flex: 0 0 40%; max-width: 40%; }
.tile-manufacturing { flex: 0 0 30%; max-width: 30%; }
.tile-innovation { flex: 0 0 30%; max-width: 30%; }

.why-tile h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.why-tile p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 500;
}

.why-tile i {
    font-size: 3.5rem;
    margin-bottom: 30px;
    opacity: 1;
}

/* Specific Tile Colors & Elements */
.tile-summary { 
    background-color: #3b3561; 
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    gap: 30px; 
}

.summary-heading {
    display: flex;
    flex-direction: column;
}

.summary-heading .line-1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.8;
    opacity: 0.15;
    text-transform: uppercase;
    position: absolute;
    top: 40px;
    left: 40px;
}

.summary-heading .line-2 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.summary-heading .line-3 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.tile-construction { background-color: #9d2d4c; }
.tile-innovation { background-color: #1b4332; }
.tile-brand { background-color: var(--color-primary); }
.tile-manufacturing { background-color: #0077b6; }
.tile-social { background-color: #1d3557; }

.tile-factory-image {
    padding: 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tile-factory-image .tile-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 45px;
}

@media (max-width: 1280px) {
    .why-tile h2 { font-size: 1.8rem; }
}

@media (max-width: 1024px) {
    .why-tile {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .tile-summary, .tile-factory-image {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .why-unex-parallax {
        height: auto;
        background-attachment: scroll;
    }
    .feature-card {
        margin: 10px 20px;
        max-width: 90%;
    }
    .why-tile {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 50px 30px;
    }
    .summary-heading .line-1 { font-size: 3rem; }
}


/* LATEST COLLECTION CAROUSEL */
.collection-swiper {
    padding: 20px 0 60px;
}

.product-meta {
    display: flex; 
    gap: 15px; 
    margin-bottom: 20px; 
    font-size: 0.8rem; 
    color: #777;
    font-family: 'Inter', sans-serif;
}

.btn-ride-sm {
    background: var(--color-primary);
    color: #fff;
    padding: 12px 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-ride-sm:hover {
    background: #000;
    transform: translateY(-2px);
}

/* TESTIMONIALS */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-item {
    background: #fcfcfc;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.stars {
    color: #ffb400;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-item p {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

.user-info strong {
    display: block;
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    color: #000;
}

.user-info span {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* DIAGONAL BRAND SPLIT */
.brands-diagonal-split {
    position: relative;
    width: 100%;
    height: 700px;
    background: #000;
    overflow: hidden;
    border-radius: 24px;
    display: flex;
    margin-bottom: 60px;
}

.brand-panel {
    position: absolute;
    top: 0;
    height: 100%;
    width: 60%;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

.unex-panel {
    left: 0;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.mayoo-panel {
    right: 0;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.panel-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    transform: scale(1.1);
}

.brand-panel:hover .panel-background,
.brand-panel.is-expanded .panel-background {
    transform: scale(1);
}

.panel-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 0 15%;
    text-align: center;
    z-index: 2;
}

.panel-inner {
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.panel-brand-name {
    font-size: 5rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: 'Exo 2', sans-serif;
    font-style: italic;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.brand-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    margin-top: 20px;
}

.brand-details p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 500px;
}

/* Expansion States */
.brands-diagonal-split:hover .brand-panel {
    width: 10%;
    opacity: 0.4;
    z-index: 1;
    clip-path: none !important; /* Remove diagonal when shrunk for better sliver visibility */
}

.brands-diagonal-split .brand-panel:hover,
.brands-diagonal-split .brand-panel.is-expanded {
    width: 90%;
    opacity: 1;
    z-index: 10;
    clip-path: none !important; /* Remove diagonal when expanded to fill 90% */
}

.brand-panel:hover .panel-brand-name,
.brand-panel.is-expanded .panel-brand-name {
    font-size: 6.5rem;
    color: var(--color-primary);
    transform: translateY(-40px);
}

.brand-panel:hover .brand-details,
.brand-panel.is-expanded .brand-details {
    max-height: 500px;
    opacity: 1;
    transform: translateY(-20px);
}

/* Specific handling for the shrunk sliver text */
.brands-diagonal-split:hover .brand-panel:not(:hover) .panel-brand-name {
    font-size: 1.5rem;
    transform: rotate(-90deg); /* Vertical text for the sliver */
    white-space: nowrap;
    opacity: 0.5;
}

.brands-diagonal-split:hover .brand-panel:not(:hover) .brand-details {
    display: none;
}

.btn-ride-sm {
    display: inline-block;
    padding: 12px 30px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-ride-sm:hover {
    background: #fff;
    color: var(--color-primary);
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .brands-diagonal-split {
        height: 800px;
        flex-direction: column;
    }
    .brand-panel {
        width: 100% !important;
        height: 50%;
        position: relative;
        clip-path: none !important;
    }
    .brand-panel.is-expanded {
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    .panel-brand-name {
        font-size: 3.5rem;
    }
    .brand-panel:hover .panel-brand-name,
    .brand-panel.is-expanded .panel-brand-name {
        font-size: 4.5rem;
    }
}

/* OUR COLLECTIONS SECTION */
.collection-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.collection-img-wrapper {
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.collection-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transition: var(--transition);
}

.collection-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Exo 2', sans-serif;
    font-style: italic;
    transform: translateY(10px);
    transition: var(--transition);
}

.collection-card:hover .collection-img-wrapper img {
    transform: scale(1.1);
}

.collection-card:hover .collection-title {
    transform: translateY(0);
}

.collection-card:hover .collection-overlay {
    background: linear-gradient(to top, rgba(var(--color-primary-rgb), 0.8) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
}

@media (max-width: 768px) {
    .collection-img-wrapper {
        height: 300px;
    }
    .collection-title {
        font-size: 1.5rem;
    }
}

/* OUR FACILITIES SECTION */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.facility-card {
    position: relative;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.facility-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.facility-content {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    transition: all 0.5s ease;
}

.facility-card h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 900;
    line-height: 1.2;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.facility-summary {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    margin-top: 0;
}

.facility-summary p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ccc;
}

/* Hover States */
.facility-card:hover .facility-img {
    transform: scale(1.1);
    opacity: 0.4;
}

.facility-card:hover .facility-content {
    background: linear-gradient(to top, rgba(var(--color-primary-rgb), 0.9) 0%, rgba(0,0,0,0.4) 100%);
}

.facility-card:hover h3 {
    transform: translateY(-10px);
}

.facility-card:hover .facility-summary,
.facility-card.is-active .facility-summary {
    max-height: 300px;
    opacity: 1;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    .facility-card {
        height: 400px;
    }
}

/* --- COMPREHENSIVE MOBILE & TABLET OPTIMIZATION --- */

@media (max-width: 1200px) {
    .container { max-width: 100%; padding: 0 2rem; }
    .top-bar-center .brand-name { font-size: 3rem; }
}

@media (max-width: 1024px) {
    /* About Us - Scrollytelling Fix */
    .brand-product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 10px !important; /* Make grid wider */
    }

    .product-card-allwyn {
        max-width: 100% !important;
        padding: 15px !important; /* Shorter padding */
        margin-bottom: 0 !important;
    }

    .card-media-wrapper {
        height: 250px !important; /* Shorter image area (approx 10-15% reduction) */
        margin-bottom: 15px !important;
    }

    .card-header-meta {
        margin-bottom: 15px !important;
    }

    .product-title {
        font-size: 1.3rem !important;
    }
    .scrolly-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .scrolly-visual {
        display: none !important;
    }
    .scrolly-content {
        padding-top: 0 !important;
    }
    .firm-block {
        margin-bottom: 100px !important;
    }
    
    /* Products Page Sidebar Fix */
    .category-main {
        grid-template-columns: 1fr !important;
    }
    .sidebar-controls {
        width: 100% !important;
        margin-bottom: 40px;
    }

    /* Why Choose Us Page Grid */
    .why-choose-grid-wrapper .why-unex-grid {
        flex-direction: column;
    }
    .why-choose-grid-wrapper .why-tile {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden;
        padding: 35px 25px;
    }

    /* Core Strengths tile — stack vertically on mobile */
    .tile-summary {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .summary-heading .line-1 {
        font-size: 2rem !important;
        position: static !important;
        opacity: 0.12 !important;
    }

    .summary-heading .line-3 {
        font-size: 1.8rem !important;
    }

    .tile-summary > p {
        margin-top: 0 !important;
        font-size: 0.9rem !important;
    }
}

/* Testimonial Marquee Section */
.testimonial-marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    background: #fff;
}

.testimonial-marquee-content {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: testimonial-scroll 60s linear infinite;
}

.testimonial-marquee-content:hover {
    animation-play-state: paused;
}

.testimonial-item {
    flex: 0 0 450px;
    background: #fbfbfb;
    padding: 50px;
    border-radius: 25px;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.testimonial-item:hover {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.testimonial-item .stars {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-item .user-info strong {
    display: block;
    font-size: 1.1rem;
    color: #000;
}

.testimonial-item .user-info span {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes testimonial-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


@media (max-width: 767px) {
    /* Global Container */
    .container { padding: 0 1.25rem; }

    /* Typography Scaling */
    h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
    h2 { font-size: clamp(1.8rem, 6vw, 2.5rem) !important; }
    .section-title h2 { font-size: 2rem; }
    
    /* Top Bar Grid for Centering */
    .top-bar-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        width: 100%;
        padding: 0 15px;
    }
    .top-bar-left { display: flex !important; visibility: visible; align-items: center; justify-content: flex-start; }
    .top-bar-center { text-align: center; }
    .top-bar-right { display: flex !important; justify-content: flex-end; align-items: center; }
    .top-bar-center .brand-name { font-size: 2.2rem; margin: 0; }
    
    /* Hide site-header visuals when menu is open */
    .header-sticky-wrapper.menu-open .site-header {
        background: transparent !important;
        box-shadow: none !important;
    }
    .header-sticky-wrapper.menu-open .header-actions {
        display: none !important;
    }
    .header-sticky-wrapper.menu-open .main-navigation {
        left: 0;
        background: #fff; /* Ensure dropdown has background */
    }
    .header-sticky-wrapper.menu-open .mobile-menu-toggle {
        display: none !important;
    }
    
    .top-bar-email {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    /* Hero Sections Padding */
    .about-hero-creative, .why-choose-hero, .page-title-section {
        padding: 100px 0 60px !important;
    }
    
    /* Diagonal Brands Split (Home) - Expanded Mobile Behavior */
    .brands-diagonal-split {
        height: 600px !important; /* Increased height */
        display: flex !important;
        flex-direction: row !important;
        background: #000;
        border-radius: 24px !important;
        overflow: hidden;
        position: relative !important;
    }
    .brand-panel {
        position: absolute !important;
        top: 0;
        height: 100% !important;
        width: 60% !important;
        transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1) !important;
        opacity: 1 !important;
    }
    .unex-panel {
        left: 0 !important;
        /* Meet at exactly 60% container width at top and 40% at bottom */
        clip-path: polygon(0 0, 101% 0, 67% 100%, 0 100%) !important; 
        z-index: 2 !important;
    }
    .mayoo-panel {
        right: 0 !important;
        left: auto !important;
        clip-path: polygon(33% 0, 100% 0, 100% 100%, -1% 100%) !important;
        z-index: 1 !important;
        margin-top: 0 !important;
    }
    
    /* Asymmetrical Content Shifting */
    .unex-panel .panel-content {
        align-items: flex-start !important;
        padding-top: 80px !important;
    }
    .mayoo-panel .panel-content {
        align-items: flex-end !important;
        padding-bottom: 80px !important;
    }
    
    /* Expansion Logic for Mobile */
    .brands-diagonal-split:hover .brand-panel {
        width: 20% !important;
        opacity: 0.6;
    }
    .brands-diagonal-split .brand-panel:hover,
    .brands-diagonal-split .brand-panel.is-expanded {
        width: 80% !important;
        opacity: 1;
        z-index: 10 !important;
        clip-path: none !important;
    }

    .panel-brand-name {
        font-size: 2.2rem !important; /* Scaled for mobile */
    }
    .brand-panel:hover .panel-brand-name,
    .brand-panel.is-expanded .panel-brand-name {
        font-size: 3rem !important;
        transform: translateY(-20px) !important;
    }
    
    .panel-content {
        padding: 0 10% !important;
    }
    .brand-details p {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }
    
    /* Stats Creative (About Us) */
    .stats-creative .container > div {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
    .stats-creative h3 { font-size: 2.5rem !important; }
    
    /* Brand Focus (About Us) */
    .brand-focus .container > div:last-child {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .brand-focus div[onmouseover] {
        padding: 40px 30px !important;
        border-radius: 25px !important;
    }
    .brand-focus h3 { font-size: 2.8rem !important; }
    
    /* Factsheet Grid (About Us) */
    .factsheet-section .container > div {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .factsheet-grid {
        grid-template-columns: 1fr !important;
    }
    .fact-card {
        padding: 25px !important;
        border-radius: 20px !important;
    }

    /* Facility Grid */
    .facilities-grid {
        display: none !important;
    }
    .facilities-swiper {
        display: block !important;
        padding: 10px 0 40px;
    }
    .facility-card { height: 350px !important; }
    
    /* Contact Section */
    .contact-card-wrapper {
        grid-template-columns: 1fr !important;
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }
    .contact-info-side h2 { font-size: 2rem !important; }
    
    /* Swiper / Carousel */
    .slide-content { transform: translateY(0); padding-top: 50px; }
    .hero-text-content h1 { font-size: 2.2rem; }
    
    /* Latest Collection Product Cards */
    .collection-swiper { padding: 10px 0 40px; }

    /* Carousel sections — full screen width on mobile */
    .latest-collection .container,
    .trikes-carousel .container,
    .accessories-carousel .container,
    .parts-carousel .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .latest-collection .carousel-header,
    .trikes-carousel .carousel-header,
    .accessories-carousel .carousel-header,
    .parts-carousel .carousel-header {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .latest-collection .collection-swiper,
    .trikes-carousel .collection-swiper,
    .accessories-carousel .collection-swiper,
    .parts-carousel .collection-swiper {
        width: 100vw !important;
        margin-left: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    /* Shadow on active (centered) card */
    .latest-collection .collection-swiper .swiper-slide-active .product-card-allwyn,
    .trikes-carousel .collection-swiper .swiper-slide-active .product-card-allwyn,
    .accessories-carousel .collection-swiper .swiper-slide-active .product-card-allwyn,
    .parts-carousel .collection-swiper .swiper-slide-active .product-card-allwyn {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 6px 16px rgba(0, 0, 0, 0.1) !important;
        transform: translateY(-4px);
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }

    /* Dim non-active cards slightly */
    .latest-collection .collection-swiper .swiper-slide:not(.swiper-slide-active) .product-card-allwyn,
    .trikes-carousel .collection-swiper .swiper-slide:not(.swiper-slide-active) .product-card-allwyn,
    .accessories-carousel .collection-swiper .swiper-slide:not(.swiper-slide-active) .product-card-allwyn,
    .parts-carousel .collection-swiper .swiper-slide:not(.swiper-slide-active) .product-card-allwyn {
        opacity: 0.6;
        transform: scale(0.96);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* Product cards in homepage carousels — 20% smaller */
    .latest-collection .collection-swiper .product-card-allwyn,
    .trikes-carousel .collection-swiper .product-card-allwyn,
    .accessories-carousel .collection-swiper .product-card-allwyn,
    .parts-carousel .collection-swiper .product-card-allwyn {
        padding: 10px !important;
        max-width: 100% !important;
    }

    .latest-collection .collection-swiper .card-media-wrapper,
    .trikes-carousel .collection-swiper .card-media-wrapper,
    .accessories-carousel .collection-swiper .card-media-wrapper,
    .parts-carousel .collection-swiper .card-media-wrapper {
        height: 218px !important;
        margin-bottom: 12px !important;
    }

    .latest-collection .collection-swiper .product-title,
    .trikes-carousel .collection-swiper .product-title,
    .accessories-carousel .collection-swiper .product-title,
    .parts-carousel .collection-swiper .product-title {
        font-size: 1.04rem !important;
    }

    .latest-collection .collection-swiper .mrp-value,
    .trikes-carousel .collection-swiper .mrp-value,
    .accessories-carousel .collection-swiper .mrp-value,
    .parts-carousel .collection-swiper .mrp-value {
        font-size: 1.28rem !important;
    }

    .latest-collection .collection-swiper .btn-enquire-allwyn,
    .trikes-carousel .collection-swiper .btn-enquire-allwyn,
    .accessories-carousel .collection-swiper .btn-enquire-allwyn,
    .parts-carousel .collection-swiper .btn-enquire-allwyn {
        padding: 12px !important;
        font-size: 0.8rem !important;
    }

    .latest-collection .collection-swiper .card-specs-allwyn,
    .trikes-carousel .collection-swiper .card-specs-allwyn,
    .accessories-carousel .collection-swiper .card-specs-allwyn,
    .parts-carousel .collection-swiper .card-specs-allwyn {
        padding: 6px 0 !important;
        margin-bottom: 6px !important;
    }

    .latest-collection .collection-swiper .spec-data .val,
    .trikes-carousel .collection-swiper .spec-data .val,
    .accessories-carousel .collection-swiper .spec-data .val,
    .parts-carousel .collection-swiper .spec-data .val {
        font-size: 0.64rem !important;
    }

    .latest-collection .collection-swiper .spec-data .lbl,
    .trikes-carousel .collection-swiper .spec-data .lbl,
    .accessories-carousel .collection-swiper .spec-data .lbl,
    .parts-carousel .collection-swiper .spec-data .lbl {
        font-size: 0.52rem !important;
    }

    .latest-collection .collection-swiper .product-brand-tag,
    .trikes-carousel .collection-swiper .product-brand-tag,
    .accessories-carousel .collection-swiper .product-brand-tag,
    .parts-carousel .collection-swiper .product-brand-tag {
        font-size: 0.48rem !important;
    }

    .latest-collection .collection-swiper .meta-item,
    .trikes-carousel .collection-swiper .meta-item,
    .accessories-carousel .collection-swiper .meta-item,
    .parts-carousel .collection-swiper .meta-item {
        font-size: 0.64rem !important;
    }

    .latest-collection .collection-swiper .card-footer-allwyn,
    .trikes-carousel .collection-swiper .card-footer-allwyn,
    .accessories-carousel .collection-swiper .card-footer-allwyn,
    .parts-carousel .collection-swiper .card-footer-allwyn {
        margin-bottom: 12px !important;
    }

    /* Collections Grid (Front Page) */
    .collections-grid {
        display: none !important;
    }
    .collections-swiper {
        display: block !important;
        padding: 10px 0 40px;
    }
    .collection-img-wrapper {
        height: 350px !important;
    }

    /* Finder Grid Fix */
    .finder-grid {
        flex-direction: column !important;
        text-align: center;
        gap: 30px !important;
        margin-top: 0 !important; /* Remove negative margin on mobile */
        padding: 40px 20px !important;
    }
    .finder-title, .finder-form {
        flex: none !important;
        width: 100% !important;
    }
    .finder-form {
        flex-direction: column !important;
        justify-content: center !important;
    }
    .finder-form .on-desktop {
        display: none !important;
    }
    .finder-form .btn-ride {
        width: 100% !important;
        white-space: normal !important;
    }

    /* Mobile Testimonial Adjustments */
    .testimonial-item {
        flex: 0 0 300px;
        padding: 25px;
    }
    .testimonial-marquee-content {
        animation-duration: 30s;
    }


    /* Why Choose Parallax Cards Fix */
    .why-unex-parallax {
        height: auto !important;
        padding: 60px 0 !important;
        min-height: 500px;
    }
    .parallax-overlay {
        position: relative !important;
        flex-direction: column !important;
        padding: 0 20px !important;
        gap: 30px !important;
        transform: none !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: transparent !important;
    }
    .feature-card {
        width: 100% !important;
        max-width: 100% !important;
        background: rgba(10, 10, 10, 0.85) !important;
        border-radius: 20px !important;
        color: #fff !important;
    }

    /* Contact Section Nested Grid Fix */
    .home-contact-form div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .home-contact-form .btn-ride {
        width: 100% !important;
    }

    /* Contact Us Page Fixes */
    .contact-content .container {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
    .contact-form-placeholder {
        padding: 30px 20px !important;
    }
    .contact-hero {
        padding: 80px 0 !important;
    }
    .contact-hero h1 {
        font-size: 2.5rem !important;
    }

    /* General Typography Scaling */
    .section-title h2 {
        font-size: 1.8rem !important;
    }
    .panel-brand-name {
        font-size: 2.2rem !important;
    }
    .why-tile h2 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .top-bar-center .brand-name { font-size: 1.8rem; }
    .btn-ride, .btn-ride-sm { width: 100% !important; text-align: center; }
    .carousel-header .btn-ride-sm { width: auto !important; }
    .stats-creative .container > div {
        grid-template-columns: 1fr !important;
    }
    .commitment-creative h2 { font-size: 2.5rem !important; }
    .commitment-creative p { font-size: 1.1rem !important; }
    
    /* Scrollytelling Label */
    #sticky-label {
        padding: 15px !important;
        border-radius: 12px !important;
        bottom: 20px !important;
        left: 20px !important;
        right: 20px !important;
        display: block !important;
    }
    #sticky-title { font-size: 1.2rem !important; }

    /* Fix for very small screens */
    .summary-heading .line-1 { font-size: 2rem !important; }
    .summary-heading .line-2 { font-size: 1rem !important; }
    .summary-heading .line-3 { font-size: 3rem !important; }
    
    .contact-card-wrapper {
        padding: 30px 15px !important;
    }
}

/* Premium Allwyn-Style Product Card */
.product-card-allwyn {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}
.product-badge-bestseller {
    position: absolute;
    top: 180px; /* Positioned lower, near the middle/bottom of the image area */
    right: -12px; /* Overflows from the right side */
    background: #FFD700; /* High-visibility Yellow */
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 6px 15px;
    z-index: 20;
    box-shadow: -4px 4px 10px rgba(0,0,0,0.1);
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px 0 0 4px;
}

.product-badge-bestseller::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 12px 0 0;
    border-color: #b8860b transparent transparent transparent; /* Darker gold/yellow for fold */
}

/* Series Badge Tag */
.product-badge-series {
    position: absolute;
    top: 16px;
    right: -10px;
    background: var(--color-primary, #00AEEF);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 5px 12px;
    z-index: 20;
    box-shadow: -4px 4px 10px rgba(0,0,0,0.1);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px 0 0 4px;
}

.product-badge-series::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent transparent #007bb0; /* Default darker blue */
}

/* Series Badge Specific Colors (Pastel Tones) */
.product-badge-series.series-cairo { background: #b2ebf2; color: #006064; }
.product-badge-series.series-cairo::after { border-color: transparent transparent transparent #80deea; }

.product-badge-series.series-eddy { background: #ffe0b2; color: #e65100; }
.product-badge-series.series-eddy::after { border-color: transparent transparent transparent #ffcc80; }

.product-badge-series.series-furry { background: #c8e6c9; color: #1b5e20; }
.product-badge-series.series-furry::after { border-color: transparent transparent transparent #a5d6a7; }

.product-badge-series.series-pluto { background: #bbdefb; color: #0d47a1; }
.product-badge-series.series-pluto::after { border-color: transparent transparent transparent #90caf9; }

/* Reset header padding since badge is now lower */
.card-header-meta {
    padding-left: 0;
    margin-bottom: 7px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card-allwyn:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}


.product-brand-tag {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 5px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    margin: 0 0 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.meta-badges {
    display: flex;
    gap: 6px;
}

.meta-item {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
}

.meta-item i {
    color: #d63031; /* Allwyn Red */
}

/* Hover Flip Effect */
.card-media-wrapper {
    position: relative;
    width: 100%;
    height: 273px;
    margin-bottom: 30px;
    overflow: hidden;
}

.card-media-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.card-media-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease, transform 0.8s ease;
}

.img-secondary {
    opacity: 0;
    transform: scale(1.05);
}

.product-card-allwyn:hover .img-primary {
    opacity: 0;
}

.product-card-allwyn:hover .img-secondary {
    opacity: 1;
    transform: scale(1);
}

/* Specs Grid */
.card-specs-allwyn {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}

.spec-col {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-col i {
    font-size: 1.2rem;
    color: #bbb;
}

.spec-data {
    display: flex;
    flex-direction: column;
}

.spec-data .val {
    font-size: 0.8rem;
    font-weight: 800;
    color: #444;
}

.spec-data .lbl {
    font-size: 0.65rem;
    color: #999;
}

/* Footer Section */
.card-footer-allwyn {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.price-section label, .status-section label {
    font-size: 0.7rem;
    color: #888;
    display: block;
    margin-bottom: 5px;
}

.mrp-value {
    font-size: 1.6rem;
    font-weight: 900;
    color: #d63031;
    line-height: 1;
}

.tax-info {
    font-size: 0.7rem;
    color: #333;
    font-weight: 600;
}

.color-swatches {
    display: flex;
    gap: 8px;
}

.swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #eee;
}

/* Enquire Button */
.btn-enquire-allwyn {
    background: #d63031;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-enquire-allwyn:hover {
    background: #b32d2e;
    box-shadow: 0 5px 15px rgba(214, 48, 49, 0.3);
    transform: scale(1.02);
}

}

/* Mobile Specific Tweaks for Product Cards */
@media (max-width: 768px) {
    .brand-product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 10px !important;
    }

    .product-card-allwyn {
        max-width: 100% !important;
        padding: 15px !important; /* Shorter vertical footprint */
    }

    .card-media-wrapper {
        height: 240px !important; /* Approx 10% shorter than previous */
        margin-bottom: 15px !important;
    }

    .product-title {
        font-size: 1.3rem !important;
        margin-bottom: 5px !important;
    }

    .card-specs-allwyn {
        padding: 12px 0 !important;
        margin-bottom: 15px !important;
    }

    .mrp-value {
        font-size: 1.4rem !important;
    }

    /* Carousel Header Mobile Fix */
    @media (max-width: 768px) {
        .carousel-header {
            flex-direction: row !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 10px;
            flex-wrap: nowrap !important;
            padding-bottom: 12px !important;
            margin-bottom: 20px !important;
        }
        .carousel-header .section-title {
            flex: 1 1 auto;
            min-width: 0;
        }
        .carousel-header .section-title p {
            display: none !important;
        }
        .carousel-header .section-title h2 {
            font-size: 1.05rem !important;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0 !important;
        }
        .carousel-header .btn-ride-sm {
            flex-shrink: 0 !important;
            width: auto !important;
            padding: 8px 14px !important;
            font-size: 0.65rem !important;
            white-space: nowrap;
        }

        /* Full-width container for carousel sections on mobile */
        .latest-collection .container,
        .trikes-carousel .container,
        .accessories-carousel .container,
        .parts-carousel .container {
            padding-left: 15px !important;
            padding-right: 15px !important;
        }
    }

    .btn-enquire-allwyn {
        padding: 12px !important;
        font-size: 0.9rem !important;
    }
}


/* Floating WhatsApp Button */
.floating-whatsapp:hover {
    transform: scale(1.1) rotate(5deg);
    background: #128c7e !important;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* UNEX FULL PAGE LOADER */
.unex-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.unex-loader.loader-fade-out {
    opacity: 0;
    pointer-events: none;
}

.unex-loader-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: #0a0a0a;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-style: italic;
    display: flex;
}

.unex-loader-text span {
    display: inline-block;
    animation: unex-dark-pulse 1.2s ease-in-out forwards;
}

.unex-loader-text span:nth-child(1) { animation-delay: 0.1s; }
.unex-loader-text span:nth-child(2) { animation-delay: 0.4s; }
.unex-loader-text span:nth-child(3) { animation-delay: 0.7s; }
.unex-loader-text span:nth-child(4) { animation-delay: 1.0s; }

@keyframes unex-dark-pulse {
    0% {
        text-shadow: none;
    }
    50% {
        text-shadow: 0 0 15px rgba(180, 20, 0, 0.6), 0 0 30px rgba(180, 20, 0, 0.4), 0 0 45px rgba(180, 20, 0, 0.2);
    }
    100% {
        text-shadow: none;
    }
}

/* AJAX Grid Loading Overlay */
.ajax-product-grid-wrapper {
    position: relative;
}

.grid-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.grid-loading-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.grid-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: grid-spin 0.8s linear infinite;
}

@keyframes grid-spin {
    to { transform: rotate(360deg); }
}

.ajax-product-grid-wrapper > .brand-product-grid,
.ajax-product-grid-wrapper > .product-grid-refined {
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.ajax-product-grid-wrapper.blur-out > .brand-product-grid,
.ajax-product-grid-wrapper.blur-out > .product-grid-refined {
    opacity: 0.3;
    filter: blur(4px);
}

/* =============================================
   MEGA DROPDOWN — Products Nav
   ============================================= */
.has-mega-dropdown {
    position: static !important;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 680px;
    background: #fff;
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-radius: 0 0 16px 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    transform: translateX(-50%) translateY(8px);
    z-index: 500;
}

.has-mega-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 28px 24px;
}

.mega-col {
    padding: 0 16px;
    border-right: 1px solid #f0f0f0;
}

.mega-col:last-child {
    border-right: none;
}

.mega-col-mayoo {
    background: #f9fdff;
    border-radius: 0 0 12px 0;
}

.mega-col-label {
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid currentColor;
}

.mega-link {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #444;
    text-decoration: none;
    padding: 6px 0;
    letter-spacing: 0.5px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-link:hover {
    color: var(--color-primary);
    padding-left: 6px;
}

.mega-col-mayoo .mega-link:hover {
    color: #00AEEF;
}

/* Keep nav item positioned for dropdown */
.main-navigation ul {
    position: relative;
}

/* Hide on mobile */
@media (max-width: 767px) {
    .mega-dropdown {
        display: none !important;
    }
}
