﻿/* ============================================
   AREA51 - PREMIUM REDESIGN
   Beautiful animations + Categories Dropdown
   ============================================ */

:root {
    --primary-red: #DC2626;
    --primary-red-dark: #B91C1C;
    --primary-red-light: #EF4444;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Remove gap between sticky header and content */
main {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 0; /* kills whitespace text nodes between Razor blocks */
}

    /* Restore font-size for all real content inside main */
    main > section,
    main > div,
    main > article,
    main > nav,
    main > aside {
        font-size: 1rem;
    }

.header {
    margin-bottom: 0 !important;
}



.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ============================================
   HERO SLIDER - PREMIUM ANIMATIONS & FIXES
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 650px;
    overflow: hidden;
    background: #000;
    margin-top: -3px;
    margin-bottom: 4rem;
}

.slide-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    /* Make sure hidden slides don't block interaction */
    pointer-events: none;
    z-index: 1;
}

    .slide.active {
        opacity: 1;
        pointer-events: auto;
        z-index: 10;
        animation: zoomIn 8s ease-out;
    }

@keyframes zoomIn {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.slide-background {
    position: relative;
    width: 100%;
    height: 100%;
}

    .slide-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

/* Overlay Fix: Must allow clicks to pass through to content */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.1) 100% );
    z-index: 2;
    pointer-events: none !important;
}

.slide-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
}

.slide-content {
    max-width: 700px;
    width: 90%;
    color: white;
    padding: 0 1rem;
    text-align: center;
    margin: 0 auto;
    animation: slideInLeft 1s ease both 0.3s;
    pointer-events: auto;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(0);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-content h1 {
    font-size: clamp(1.4rem, 3vw, 3.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: 0em;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 40%, #cc7777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0.1em 0.5em 0.35em 0.5em;
    overflow: visible;
    display: block;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.slide-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1s ease both 0.5s;
}

/* Hero Button - Improved Interaction */
.slide-button-wrapper {
    position: relative;
    z-index: 30;
    display: flex;
    justify-content: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3.5rem;
    background: var(--primary-red);
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease both 0.7s;
    pointer-events: auto !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

    .btn-hero::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .btn-hero:hover::before {
        width: 450px;
        height: 450px;
    }

    .btn-hero:hover {
        background: var(--primary-red-dark);
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 15px 35px rgba(220, 38, 38, 0.5);
    }

/* Slider Buttons - Glassmorphism */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-btn:hover {
        background: var(--primary-red);
        border-color: var(--primary-red);
        transform: translateY(-50%) scale(1.15);
        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
    }

    .slider-btn svg {
        width: 28px;
        height: 28px;
        transition: transform 0.3s ease;
    }

    .slider-btn:hover svg {
        transform: scale(1.2);
    }

    .slider-btn.prev {
        left: 3rem;
    }

    .slider-btn.next {
        right: 3rem;
    }

/* Slider Dots - Modern Pills */
.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
}

    .dot:hover {
        background: rgba(255, 255, 255, 0.7);
        transform: scale(1.2);
    }

    .dot.active {
        background: var(--primary-red);
        width: 48px;
        border-radius: 20px;
        border-color: rgba(255, 255, 255, 0.3);
    }

/* ============================================
   PARTNERS SLIDER - UPDATED TO DRAGGABLE
   ============================================ */
.partners-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

/* Partner Logo Styles */
.partner-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.partner-logo-img {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* partner hover removed */

.partner-logo-text {
    font-size: .75rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: .08em;
    text-transform: uppercase;
}


.partner-logo:hover {
    border-color: var(--primary-red);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.15);
    transform: translateY(-4px);
}

.partner-logo span {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.partner-logo:hover span {
    color: var(--primary-red);
}

/* Specific styling for Partners Track items */
.partners-track-custom .products-track-item {
    flex: 0 0 200px;
    width: 200px;
}







/* ============================================
   PRODUCT SLIDER - GENERAL LOGIC
   ============================================ */

/* Section header with arrows on right */
.section-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.slider-arrows {
    display: flex;
    gap: 0.5rem;
}

.arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    flex-shrink: 0;
}

    .arrow-btn:hover {
        background: var(--primary-red);
        border-color: var(--primary-red);
        color: white;
        transform: scale(1.1);
        box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
    }

    .arrow-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
        background: #f3f3f3;
        color: #ccc;
        border-color: #eee;
    }

/* Slider wrapper - clips overflow */
.products-slider-wrapper {
    overflow: hidden;
    cursor: grab;
    border-radius: var(--radius-md);
    padding: 0.5rem 0 1.5rem 0;
    mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
    max-width: 100%;
}

    .products-slider-wrapper:active {
        cursor: grabbing;
    }

/* The moving track */
.products-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    /* padding handled by wrapper */
}

    /* While dragging - no transition */
    .products-track.dragging {
        transition: none;
        user-select: none;
    }

/* Each card slot - fixed width */
.products-track-item {
    flex: 0 0 calc(25% - 1.125rem); /* 4 visible at a time default */
    min-width: 0;
}

    /* Make product cards fill the slot fully */
    .products-track-item .product-card {
        height: 100%;
    }

/* ── RESPONSIVE PRODUCT CARDS ──────────────── */
@media (max-width: 1200px) {
    /* Exclude partners from this specific rule, they have their own above */
    .products-track:not(.partners-track-custom) .products-track-item {
        flex: 0 0 calc(33.333% - 1rem); /* 3 visible */
    }
}

@media (max-width: 768px) {
    .products-track:not(.partners-track-custom) .products-track-item {
        flex: 0 0 calc(50% - 0.75rem); /* 2 visible */
    }

    .products-slider-wrapper {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .arrow-btn {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .products-track:not(.partners-track-custom) .products-track-item {
        flex: 0 0 calc(85%); /* 1 visible + peek */
    }
}

/* ============================================
   SECTIONS - PREMIUM SPACING
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

    .section-header::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100px;
        height: 2px;
        background: var(--primary-red);
        animation: expandWidth 0.8s ease;
    }

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

.section-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-red);
    position: relative;
    display: inline-block;
}

    .section-label::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 50%;
        width: 12px;
        height: 2px;
        background: var(--primary-red);
    }

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .btn-link:hover {
        background: var(--primary-red);
        color: white;
        border-color: var(--primary-red);
        gap: 1rem;
        transform: translateX(-5px);
    }

    .btn-link svg {
        transition: transform 0.3s ease;
    }

    .btn-link:hover svg {
        transform: translateX(5px);
    }

/* ============================================
   PRODUCTS - PREMIUM CARDS
   ============================================ */
.products-section {
    padding: 6rem 0;
    overflow: hidden;
}

    .products-section.bg-light {
        background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
}

    .product-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 45deg, transparent 30%, rgba(220, 38, 38, 0.1) 50%, transparent 70% );
        transform: rotate(45deg);
        transition: all 0.6s ease;
        opacity: 0;
    }

    .product-card:hover::before {
        opacity: 1;
        left: 100%;
    }

    .product-card:hover {
        border-color: var(--primary-red);
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(2deg);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-red);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    border-radius: var(--radius-sm);
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.badge-new {
    background: var(--text-dark);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    position: relative;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(220, 38, 38, 0.25);
    letter-spacing: 0.1em;
}

    .no-image::before {
        content: '';
        position: absolute;
        width: 160px;
        height: 160px;
        background: rgba(220, 38, 38, 0.08);
        border-radius: 50%;
        animation: ripple 3s ease infinite;
    }

@keyframes ripple {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    font-weight: 700;
    margin: 0;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: var(--primary-red);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-top: auto;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

    .product-actions .btn {
        padding: 1rem 1.25rem;
        font-size: 0.875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        text-decoration: none;
        border-radius: var(--radius-md);
    }

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

    .btn-secondary:hover {
        background: var(--text-dark);
        color: white;
        transform: translateY(-2px);
    }

.btn-primary {
    background: var(--primary-red);
    color: white;
}

    .btn-primary:hover {
        background: var(--primary-red-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
    }

/* ============================================
   BENEFITS - PREMIUM ICONS
   ============================================ */
.benefits-section {
    padding: 6rem 0;
    background: var(--text-dark);
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
}

.benefit-card {
    text-align: center;
    transition: transform 0.3s ease;
}

    .benefit-card:hover {
        transform: translateY(-10px);
    }

.benefit-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.1);
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--primary-red);
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

.benefit-icon svg {
    color: var(--primary-red);
    transition: color 0.3s ease;
}

.benefit-card:hover .benefit-icon svg {
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .slide-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .search-bar {
        display: none;
    }

    .hero-slider {
        height: 60vh;
        min-height: 500px;
    }

    .slide-content {
        padding-left: 5%;
        max-width: 90%;
    }

        .slide-content h1 {
            font-size: 2.5rem;
        }

    .slider-btn {
        width: 48px;
        height: 48px;
    }

        .slider-btn.prev {
            left: 1rem;
        }

        .slider-btn.next {
            right: 1rem;
        }

    .section-header h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ============================================
   HEADER — FULL REDESIGN
   ============================================ */
/* ============================================
   HOME PAGE — LIGHT THEME
   ============================================ */
body.home-page {
    background: #f7f7f7;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s ease;
    pointer-events: none;
}

    .hero-slide.active {
        opacity: 1;
        pointer-events: all;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.04);
        transition: transform 8s ease;
    }

    .hero-slide.active img {
        transform: scale(1);
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.15) 100%), linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
    z-index: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #e51c1c;
    z-index: 3;
    opacity: 0;
    transition: opacity .5s .3s;
}

.hero-slide.active::after {
    opacity: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 6vw;
    padding-top: 80px;
}

.hero-text {
    max-width: 640px;
    transform: translateX(-30px);
    opacity: 0;
    transition: all .75s ease .2s;
}

.hero-slide.active .hero-text {
    transform: translateX(0);
    opacity: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e51c1c;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 6px 14px;
    margin-bottom: 22px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
}

.hero-title {
    font-family: 'Georgia', serif;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 18px;
    text-shadow: 0 2px 30px rgba(0,0,0,.5);
}

    .hero-title em {
        color: #e51c1c;
        font-style: normal;
    }

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.78);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e51c1c;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 14px 28px;
    text-decoration: none;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
    transition: all .25s;
    border: none;
}

    .btn-hero-primary:hover {
        background: #b91010;
        color: #fff;
        transform: translateX(4px);
    }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;
    padding: 14px 24px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.35);
    transition: all .25s;
}

    .btn-hero-secondary:hover {
        border-color: #e51c1c;
        color: #e51c1c;
    }

.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 6vw;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-counter {
    font-family: monospace;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    letter-spacing: .1em;
}

    .hero-counter span {
        color: #e51c1c;
        font-size: 1rem;
    }

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 28px;
    height: 3px;
    background: rgba(255,255,255,.25);
    cursor: pointer;
    transition: all .3s;
    border: none;
    padding: 0;
}

    .hero-dot.active {
        background: #e51c1c;
        width: 48px;
    }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s;
    backdrop-filter: blur(8px);
}

    .hero-arrow:hover {
        background: #e51c1c;
        border-color: #e51c1c;
    }

    .hero-arrow.prev {
        left: 24px;
    }

    .hero-arrow.next {
        right: 24px;
    }

.hero-scroll {
    position: absolute;
    bottom: 44px;
    right: 6vw;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.4);
    font-size: .65rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #e51c1c, transparent);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%,100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: .4;
        transform: scaleY(.6);
    }
}

.hp-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 40px;
}

.hp-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.hp-sec-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #e51c1c;
    margin-bottom: 8px;
}

    .hp-sec-label::before {
        content: '';
        display: block;
        width: 30px;
        height: 2px;
        background: #e51c1c;
    }

.hp-sec-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.15;
}

.hp-sec-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hp-btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e51c1c;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: gap .2s;
}

    .hp-btn-view-all:hover {
        gap: 14px;
        color: #e51c1c;
    }

.hp-track-arrows {
    display: flex;
    gap: 6px;
}

.hp-trk-btn {
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
}

    .hp-trk-btn:hover {
        background: #e51c1c;
        border-color: #e51c1c;
        color: #fff;
    }

.hp-stats-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.hp-stats-inner {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 40px;
}

.hp-stat-item {
    padding: 26px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-right: 1px solid #eee;
    transition: background .25s;
}

    .hp-stat-item:last-child {
        border-right: none;
    }

    .hp-stat-item:hover {
        background: #fafafa;
    }

.hp-stat-icon {
    color: #e51c1c;
    flex-shrink: 0;
}

.hp-stat-text strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 3px;
}

.hp-stat-text span {
    font-size: .75rem;
    color: #999;
    letter-spacing: .05em;
}

.hp-services-section {
    background: #fff;
    padding: 72px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.hp-services-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}

.hp-services-intro-text {
    color: #555;
    line-height: 1.7;
    margin-top: 16px;
}

.hp-services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    background: #eee;
    border: 1px solid #eee;
}

.hp-service-card {
    background: #fafafa;
    padding: 28px 22px;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}

    .hp-service-card::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: #e51c1c;
        transform: scaleX(0);
        transition: transform .3s;
    }

    .hp-service-card:hover {
        background: #fff;
        box-shadow: 0 4px 20px rgba(0,0,0,.07);
    }

        .hp-service-card:hover::before {
            transform: scaleX(1);
        }

.hp-service-num {
    font-family: monospace;
    font-size: .7rem;
    color: #e51c1c;
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: 14px;
    display: block;
}

.hp-service-icon {
    color: #e51c1c;
    margin-bottom: 12px;
}

.hp-service-title {
    font-size: .93rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.hp-service-desc {
    font-size: .78rem;
    color: #777;
    line-height: 1.6;
}

.hp-section-dark {
    background: #f7f7f7;
    padding: 64px 0;
}

.hp-section-alt {
    background: #fff;
    padding: 64px 0;
}

.hp-track-wrap {
    overflow: hidden;
    position: relative;
}

    .hp-track-wrap::before,
    .hp-track-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        z-index: 2;
        pointer-events: none;
    }

    .hp-track-wrap::before {
        left: 0;
        background: linear-gradient(to right, #f7f7f7, transparent);
    }

    .hp-track-wrap::after {
        right: 0;
        background: linear-gradient(to left, #f7f7f7, transparent);
    }

.hp-section-alt .hp-track-wrap::before {
    background: linear-gradient(to right, #fff, transparent);
}

.hp-section-alt .hp-track-wrap::after {
    background: linear-gradient(to left, #fff, transparent);
}

.hp-prod-track {
    display: flex;
    gap: 20px;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}

.hp-prod-track-item {
    flex: 0 0 270px;
}

.hp-prod-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .hp-prod-card:hover {
        border-color: rgba(229,28,28,.3);
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0,0,0,.1);
    }

.hp-prod-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}

    .hp-prod-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s;
    }

.hp-prod-card:hover .hp-prod-img img {
    transform: scale(1.07);
}

.hp-prod-badges {
    position: absolute;
    top: 12px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}


.hp-prod-body {
    padding: 18px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hp-prod-cat {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #e51c1c;
    margin-bottom: 6px;
}

.hp-prod-name {
    font-size: .92rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: auto;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .hp-prod-name:hover {
        color: #e51c1c;
    }

.hp-prod-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.hp-prod-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
}

.hp-prod-price-old {
    font-size: .8rem;
    color: #bbb;
    text-decoration: line-through;
    margin-left: 6px;
}

.hp-prod-cart-btn {
    width: 36px;
    height: 36px;
    background: #e51c1c;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}

    .hp-prod-cart-btn:hover {
        background: #b91010;
        color: #fff;
    }

.hp-prod-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #ccc;
}

.hp-projects-section {
    background: #f4f4f4;
    padding: 72px 0;
}

.hp-projects-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.hp-project-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #ddd;
}

    .hp-project-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s;
    }

    .hp-project-card:hover img {
        transform: scale(1.08);
    }

.hp-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: all .3s;
}

.hp-project-card:hover .hp-project-overlay {
    background: linear-gradient(to top, rgba(180,10,10,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}

.hp-project-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.hp-proj-client {
    font-size: .75rem;
    color: rgba(255,255,255,.65);
}

.hp-project-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #e51c1c;
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
}

.hp-partners-section {
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.hp-partners-marquee {
    overflow: hidden;
    position: relative;
}

    .hp-partners-marquee::before,
    .hp-partners-marquee::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100px;
        z-index: 2;
        pointer-events: none;
    }

    .hp-partners-marquee::before {
        left: 0;
        background: linear-gradient(to right, #fff, transparent);
    }

    .hp-partners-marquee::after {
        right: 0;
        background: linear-gradient(to left, #fff, transparent);
    }

.hp-partners-track {
    display: flex;
    animation: hpMarquee 28s linear infinite;
    width: max-content;
}

    .hp-partners-track:hover {
        animation-play-state: paused;
    }

@keyframes hpMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.hp-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 80px;
    border-right: 1px solid #eee;
    color: #ccc;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: all .25s;
}

    .hp-partner-logo:hover {
        color: #e51c1c;
        background: #fff5f5;
    }

.hp-benefits-section {
    background: #f7f7f7;
    padding: 72px 0;
    border-top: 1px solid #eee;
}

.hp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: #eee;
}

.hp-benefit-card {
    background: #fff;
    padding: 40px 28px;
    text-align: center;
    transition: all .25s;
    position: relative;
}

    .hp-benefit-card:hover {
        background: #fafafa;
    }

    .hp-benefit-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: #e51c1c;
        transition: width .35s;
    }

    .hp-benefit-card:hover::after {
        width: 60%;
    }

.hp-benefit-icon {
    width: 56px;
    height: 56px;
    background: #fff5f5;
    border: 1px solid rgba(229,28,28,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #e51c1c;
    transition: all .25s;
}

.hp-benefit-card:hover .hp-benefit-icon {
    background: #e51c1c;
    color: #fff;
    border-color: #e51c1c;
}

.hp-benefit-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.hp-benefit-card p {
    font-size: .8rem;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1100px) {
    .hp-stats-inner {
        grid-template-columns: repeat(2,1fr);
    }

    .hp-services-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hp-services-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        height: 85vh;
    }

    .hero-content {
        padding: 0 20px;
        padding-top: 80px;
    }

    .hp-stats-inner {
        grid-template-columns: repeat(2,1fr);
        padding: 0 20px;
    }

    .hp-benefits-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .hp-projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp-services-grid {
        grid-template-columns: 1fr;
    }

    .hero-scroll {
        display: none;
    }

    .hp-prod-track-item {
        flex: 0 0 220px;
    }

    .hp-container {
        padding: 0 20px;
    }
}

/* 480px moved to comprehensive mobile block below */


/* ═══════════════════════════════════════════════════════════════
   MEGAMENU - FIX DOUBLE ARROW ISSUE
   ═══════════════════════════════════════════════════════════════ */

/* Root category item */
.mega-root-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    background-color: transparent;
    color: #1f2937;
    position: relative; /* IMPORTANT for ::after positioning */
}

    .mega-root-item:hover,
    .mega-root-item.sub-open {
        background-color: #f3f4f6;
        color: #1a56db;
    }

    .mega-root-item:not(:hover):not(.sub-open) {
        background-color: transparent;
        color: #1f2937;
    }

    /* ✅ FIX: Arrow indicator - use ::after ONLY */
    .mega-root-item.has-children::after {
        content: '›';
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #9ca3af;
        transition: color 0.15s ease;
    }

    .mega-root-item.has-children:hover::after,
    .mega-root-item.has-children.sub-open::after {
        color: #1a56db;
    }

    /* ✅ CRITICAL: Remove any SVG arrows or text arrows from HTML */
    /* If you have <svg> or <span> arrows in your HTML, they will show ALONGSIDE ::after */
    .mega-root-item svg[class*="arrow"],
    .mega-root-item .arrow-icon,
    .mega-root-item > svg:last-child {
        display: none !important;
    }

/* Sub-panel positioning */
.mega-sub-panel {
    position: fixed;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 1001;
}

.mega-root-item.sub-open .mega-sub-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Sub-panel items */
.mega-sub-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    color: #374151;
}

    .mega-sub-item:hover {
        background-color: #f9fafb;
        color: #1a56db;
    }

/* ============================================================
   COMPREHENSIVE MOBILE FIX — 480px and below
   ============================================================ */

@media (max-width: 480px) {

    /* Logo */
    .hdr-logo-text, .logo-text {
        font-size: 1.2rem;
    }

    /* Header */
    .hdr-main-inner {
        padding: 0 12px;
        height: 52px;
    }

    .action-btn {
        width: 34px;
        height: 34px;
        padding: 0;
    }

        .action-btn svg {
            width: 17px;
            height: 17px;
        }

    .header-actions {
        gap: 4px;
    }

    /* Old slider */
    .hero-slider {
        height: 50vh;
        min-height: 280px;
    }

    .slide-content {
        padding-left: 16px;
        max-width: 85%;
    }

        .slide-content h1 {
            font-size: 1.6rem;
            line-height: 1.1;
            margin-bottom: 0.75rem;
        }

        .slide-content p {
            font-size: 0.82rem;
            margin-bottom: 1.2rem;
            line-height: 1.4;
        }

    .btn-hero {
        padding: 0.65rem 1.4rem;
        font-size: 0.78rem;
        gap: 0.4rem;
    }

        .btn-hero svg {
            width: 14px;
            height: 14px;
        }

    .slider-btn {
        width: 32px;
        height: 32px;
    }

    /* New hero (homepage) */
    .hero {
        height: 55vh;
        min-height: 320px;
    }

    .hero-content {
        padding: 16px 16px 0;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.1;
        margin-bottom: 10px;
    }

    .hero-sub {
        font-size: 0.78rem;
        margin-bottom: 18px;
        line-height: 1.5;
    }

    .hero-actions {
        gap: 8px;
    }

        .hero-actions .btn {
            padding: 9px 18px;
            font-size: 0.78rem;
        }

    .hero-scroll {
        display: none;
    }

    .hero-dots {
        bottom: 12px;
    }

    /* Section headers */
    .section-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

        .section-header h2 {
            font-size: 1.3rem;
        }

    .hp-section-label {
        font-size: 0.6rem;
    }

    .hp-section-title {
        font-size: 1.3rem;
    }

    .btn-link {
        font-size: 0.75rem;
    }

    .arrow-btn {
        width: 30px;
        height: 30px;
    }

        .arrow-btn svg {
            width: 14px;
            height: 14px;
        }

    /* HP stats */
    .hp-stats-inner {
        grid-template-columns: repeat(2,1fr);
        gap: 12px;
        padding: 0 12px;
    }

    .hp-stat-value {
        font-size: 1.6rem;
    }

    .hp-stat-label {
        font-size: 0.7rem;
    }

    /* HP benefits */
    .hp-benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hp-benefit-card {
        padding: 14px 10px;
    }

    /* HP projects */
    .hp-projects-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* HP services */
    .hp-services-grid {
        grid-template-columns: 1fr;
    }

    /* Container */
    .hp-container, .container {
        padding: 0 12px;
    }

    .products-section {
        padding: 24px 0;
    }

    /* Carousel track */
    .products-track-item {
        flex: 0 0 72% !important;
    }

    /* Slider navigation inside section header */
    .slider-arrows {
        gap: 4px;
    }

    .section-header-right {
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .hdr-logo-text, .logo-text {
        font-size: 1.05rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .slide-content h1 {
        font-size: 1.35rem;
    }

    .products-track-item {
        flex: 0 0 80% !important;
    }
}
/* ── Global overflow fix ── */
html, body {
    overflow-x: hidden;
}

.products-section, .hp-section, section {
    max-width: 100%;
}


/* ================================================================
   PRODUCTS PAGE — CLEAN & SIMPLE
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── PAGE HEADER ── */
.page-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 28px 0 24px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
}

    .breadcrumb a {
        color: #9ca3af;
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: #dc2626;
        }

    .breadcrumb span:last-child {
        color: #6b7280;
    }

.page-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: -.025em;
}

/* ── LAYOUT ── */
.products-page {
    background: #f3f4f6;
    min-height: 80vh;
    font-family: 'Inter', sans-serif;
}

.products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: stretch;
    min-height: 80vh;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.filters-sidebar {
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.filter-section {
    padding: 20px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.filter-title {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 12px;
    font-family: 'Inter', sans-serif;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    text-decoration: none;
    color: #4b5563;
    font-size: .82rem;
    font-weight: 400;
    border-radius: 6px;
    transition: all .13s ease;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

    .filter-item:hover {
        background: #f0f0f0;
        color: #111827;
    }

    .filter-item.active {
        background: #fee2e2;
        color: #dc2626;
        font-weight: 600;
    }

    .filter-item span:first-child {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.filter-count {
    font-size: .65rem;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 1px 7px;
    border-radius: 20px;
    font-weight: 500;
    flex-shrink: 0;
    transition: all .13s;
}

.filter-item.active .filter-count {
    background: #fecaca;
    color: #dc2626;
}

/* Hierarchy */
.filter-item-back {
    color: #9ca3af;
    font-size: .72rem;
    font-weight: 500;
    margin-bottom: 4px;
}

    .filter-item-back:hover {
        background: transparent;
        color: #6b7280;
    }

.filter-item-root {
    font-weight: 600;
    color: #111827;
}

.filter-item-child {
    padding-left: 20px;
    font-size: .79rem;
}

    .filter-item-child:hover, .filter-item-child.active {
        padding-left: 23px;
    }

/* Search */
.sidebar-search-wrap {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

    .sidebar-search-wrap:focus-within {
        border-color: #dc2626;
        box-shadow: 0 0 0 3px rgba(220,38,38,.1);
    }

.sidebar-search-input {
    flex: 1;
    padding: 9px 11px;
    border: none;
    outline: none;
    font-size: .8rem;
    background: transparent;
    color: #111827;
    font-family: 'Inter', sans-serif;
}

    .sidebar-search-input::placeholder {
        color: #d1d5db;
    }

.sidebar-search-btn {
    background: #dc2626;
    border: none;
    color: white;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .13s;
}

    .sidebar-search-btn:hover {
        background: #b91c1c;
    }

/* Price */
.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .price-range > span {
        color: #9ca3af;
        font-size: .75rem;
    }

.price-input {
    flex: 1;
    padding: 8px 10px;
    background: #fff;
    border: 1.5px solid #dc2626;
    border-radius: 6px;
    color: #111827;
    font-size: .8rem;
    outline: none;
    font-family: 'Inter', sans-serif;
    transition: border-color .15s, box-shadow .15s;
    width: 0;
}

    .price-input:focus {
        border-color: #dc2626;
        box-shadow: 0 0 0 3px rgba(220,38,38,.12);
    }

    .price-input::placeholder {
        color: #d1d5db;
    }

.price-apply-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 9px;
    background: #fff;
    border: 1.5px solid #dc2626;
    border-radius: 6px;
    color: #dc2626;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .13s;
}

    .price-apply-btn:hover {
        background: #dc2626;
        border-color: #dc2626;
        color: #fff;
    }

/* ================================================================
   MAIN AREA
   ================================================================ */
.products-main {
    padding: 24px 28px 56px;
}

/* Active filters */
.active-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #fca5a5;
    padding: 4px 6px 4px 11px;
    border-radius: 100px;
    color: #374151;
    font-size: .74rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

    .active-filter-tag a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 17px;
        height: 17px;
        color: #dc2626;
        text-decoration: none;
        font-weight: 600;
        font-size: .75rem;
        background: #fee2e2;
        border-radius: 50%;
        transition: all .13s;
        line-height: 1;
    }

        .active-filter-tag a:hover {
            background: #dc2626;
            color: #fff;
        }

.clear-filters {
    color: #9ca3af;
    text-decoration: none;
    font-size: .72rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: color .13s;
}

    .clear-filters:hover {
        color: #dc2626;
    }

/* Toolbar */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.products-count {
    font-size: .8rem;
    color: #6b7280;
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-family: 'Inter', sans-serif;
}

    .products-count strong {
        font-size: 1.5rem;
        font-weight: 700;
        color: #111827;
        letter-spacing: -.03em;
        line-height: 1;
        font-family: 'Inter', sans-serif;
    }

.products-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
}

.sort-select {
    padding: 7px 28px 7px 11px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 500;
    color: #374151;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: border-color .15s;
}

    .sort-select:focus {
        border-color: #dc2626;
    }

/* ================================================================
   PRODUCT GRID
   ================================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

/* ================================================================
   PRODUCT CARD
   ================================================================ */
.product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

    .product-card::before {
        display: none !important;
    }

    .product-card::after {
        display: none !important;
    }

    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
        border-color: #d1d5db;
    }

.product-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    border-radius: 10px;
}

.product-card-action {
    position: relative;
    z-index: 2;
}

/* Image */
.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #111;
    border-radius: 10px 10px 0 0;
    flex-shrink: 0;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .35s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    color: #333;
    font-family: 'Inter', sans-serif;
}

/* Badge */
.badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    z-index: 1;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge-new {
    background: #dc2626;
    color: #fff;
}

.badge-sale {
    background: rgba(0,0,0,.75);
    color: #fff;
    backdrop-filter: blur(4px);
}

/* Info */
.product-info {
    padding: 14px 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
    min-width: 0;
}

.product-category {
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name {
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: #111827;
    margin: 2px 0 0;
    line-height: 1.35;
    letter-spacing: -.01em;
    transition: color .15s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.43em;
}

.product-card:hover .product-name {
    color: #dc2626;
}

/* Price */
.product-price {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.price-current {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.price-original {
    font-size: .73rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.price-discount {
    font-size: .6rem;
    font-weight: 700;
    background: #fef2f2;
    color: #dc2626;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    border: 1px solid #fecaca;
}

/* Stock */
.product-stock {
    font-size: .68rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
}

.in-stock {
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .in-stock::before {
        content: '';
        width: 5px;
        height: 5px;
        background: #16a34a;
        border-radius: 50%;
        flex-shrink: 0;
    }

.out-of-stock {
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .out-of-stock::before {
        content: '';
        width: 5px;
        height: 5px;
        background: #d1d5db;
        border-radius: 50%;
        flex-shrink: 0;
    }

/* Actions */
.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.btn {
    padding: 10px 8px;
    font-family: 'Inter', sans-serif;
    font-size: .76rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
}

.btn-secondary {
    background: #f9fafb;
    color: #374151;
    border: 1px solid #e5e7eb;
}

    .btn-secondary:hover {
        background: #f3f4f6;
        border-color: #d1d5db;
    }

.btn-primary {
    background: #dc2626;
    color: #fff;
}

    .btn-primary:hover {
        background: #b91c1c;
    }

/* ================================================================
   EMPTY STATE
   ================================================================ */
.no-products {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

    .no-products svg {
        color: #e5e7eb;
    }

    .no-products p {
        font-size: .95rem;
        font-weight: 600;
        color: #9ca3af;
        margin: 12px 0 0;
        font-family: 'Inter', sans-serif;
    }

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 48px;
}

.pagination-btn,
.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 13px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    color: #6b7280;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all .15s;
}

    .pagination-btn:hover,
    .pagination-number:hover {
        background: #f9fafb;
        color: #111827;
        border-color: #d1d5db;
    }

    .pagination-number.active {
        background: #dc2626;
        color: #fff;
        border-color: #dc2626;
        font-weight: 700;
    }

/* ================================================================
   CARD ANIMATION
   ================================================================ */
.products-grid .product-card {
    animation: cardIn .28s ease both;
}

    .products-grid .product-card:nth-child(1) {
        animation-delay: .03s;
    }

    .products-grid .product-card:nth-child(2) {
        animation-delay: .06s;
    }

    .products-grid .product-card:nth-child(3) {
        animation-delay: .09s;
    }

    .products-grid .product-card:nth-child(4) {
        animation-delay: .12s;
    }

    .products-grid .product-card:nth-child(5) {
        animation-delay: .15s;
    }

    .products-grid .product-card:nth-child(6) {
        animation-delay: .18s;
    }

    .products-grid .product-card:nth-child(n+7) {
        animation-delay: .20s;
    }

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ── Tablet ── */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    /* Sidebar becomes collapsible drawer on mobile */
    .products-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .filters-sidebar {
        position: static;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    /* Collapse sidebar content — toggled by JS */
    .filters-sidebar-inner {
        display: none;
    }

        .filters-sidebar-inner.open {
            display: block;
        }

    /* Sidebar toggle button */
    .sidebar-toggle-btn {
        display: flex;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .page-header {
        padding: 16px 0 12px;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .products-main {
        padding: 12px 12px 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

        /* Scoped to products grid only — not homepage carousel */
        .products-grid .product-actions {
            gap: 6px;
        }

        .products-grid .btn.product-card-action {
            padding: 8px 6px;
            font-size: .75rem;
        }

        .products-grid .product-name {
            font-size: .82rem;
        }

        .products-grid .product-category {
            font-size: .68rem;
        }

        .products-grid .price-current {
            font-size: .9rem;
        }

        .products-grid .product-info {
            padding: 10px;
        }

    .products-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .filter-chips {
        flex-wrap: wrap;
        gap: 6px;
    }

    .header-register-btn {
        display: none;
    }
}

/* ── Small mobile ── */
@media (max-width: 400px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ── Sidebar toggle button (hidden on desktop) ── */
.sidebar-toggle-btn {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    font-size: .82rem;
    font-weight: 600;
    color: #374151;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

    .sidebar-toggle-btn svg {
        transition: transform .2s;
    }

    .sidebar-toggle-btn.open svg {
        transform: rotate(180deg);
    }

/* ================================================================
   STATIC PAGES — Contact & About
   ================================================================ */

.static-page-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 28px 0 24px;
}

.static-page {
    background: #f3f4f6;
    padding: 48px 0 80px;
    font-family: 'Inter', sans-serif;
}

.section-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.025em;
    margin: 0 0 8px;
    font-family: 'Inter', sans-serif;
}

    .section-heading.centered {
        text-align: center;
        margin-bottom: 32px;
    }

.section-sub {
    font-size: .9rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 480px;
}

/* ── CONTACT PAGE ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 18px;
    transition: box-shadow .15s;
}

    .contact-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,.08);
    }

.contact-card-icon {
    width: 40px;
    height: 40px;
    background: #fef2f2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    flex-shrink: 0;
}

.contact-card-body h3 {
    font-size: .78rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 4px;
}

.contact-card-body a,
.contact-card-body span {
    font-size: .92rem;
    font-weight: 500;
    color: #111827;
    text-decoration: none;
}

    .contact-card-body a:hover {
        color: #dc2626;
    }

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 28px 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    font-size: .75rem;
    font-weight: 600;
    color: #374151;
    font-family: 'Inter', sans-serif;
}

.form-input {
    padding: 10px 13px;
    border: 1.5px solid #e5e7eb;
    border-radius: 7px;
    font-size: .85rem;
    color: #111827;
    outline: none;
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

    .form-input:focus {
        border-color: #dc2626;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(220,38,38,.08);
    }

    .form-input::placeholder {
        color: #d1d5db;
    }

.form-textarea {
    resize: vertical;
    min-height: 110px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 24px;
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background .15s, transform .15s;
    align-self: flex-start;
}

    .form-submit:hover {
        background: #b91c1c;
        transform: translateY(-1px);
    }

.form-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 12px 16px;
    border-radius: 7px;
    font-size: .84rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

/* ── ABOUT PAGE ── */
.about-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 40px 44px;
    margin-bottom: 40px;
}

.about-tag {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.about-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin: 0 0 16px;
    font-family: 'Inter', sans-serif;
}

.about-hero-text p {
    font-size: .9rem;
    color: #6b7280;
    line-height: 1.65;
    max-width: 460px;
    margin: 0 0 28px;
}

.about-stats {
    display: flex;
    gap: 32px;
}

.about-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #dc2626;
    letter-spacing: -.03em;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.about-stat span {
    font-size: .72rem;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 3px;
    display: block;
}

.about-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-badge {
    width: 140px;
    height: 140px;
    background: #111827;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.about-hero-badge-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: -.01em;
}

    .about-hero-badge-text strong {
        color: #dc2626;
        font-weight: 800;
    }

.about-hero-badge-sub {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6b7280;
}

/* Values */
.about-values {
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 20px;
    transition: box-shadow .15s, transform .15s;
}

    .value-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
        transform: translateY(-2px);
    }

.value-icon {
    width: 42px;
    height: 42px;
    background: #fef2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    margin-bottom: 14px;
}

.value-card h3 {
    font-size: .88rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
    font-family: 'Inter', sans-serif;
}

.value-card p {
    font-size: .8rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}

/* Mission */
.about-mission {
    background: #111827;
    border-radius: 14px;
    padding: 40px 44px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

    .about-mission .section-heading {
        color: #fff;
    }

.about-mission-text p {
    font-size: .9rem;
    color: #9ca3af;
    line-height: 1.65;
    margin: 0;
}

.about-mission-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.cta-btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: #dc2626;
    color: #fff;
    text-decoration: none;
    border-radius: 7px;
    font-size: .82rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: background .15s;
    white-space: nowrap;
}

    .cta-btn-red:hover {
        background: #b91c1c;
    }

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: transparent;
    color: #9ca3af;
    text-decoration: none;
    border: 1px solid #374151;
    border-radius: 7px;
    font-size: .82rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all .15s;
    white-space: nowrap;
}

    .cta-btn-outline:hover {
        border-color: #6b7280;
        color: #fff;
    }

/* Responsive */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero-visual {
        display: none;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-mission {
        grid-template-columns: 1fr;
    }

    .about-mission-cta {
        flex-direction: row;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        gap: 20px;
    }
}

/* ================================================================
   CART PAGE
   ================================================================ */

.cart-page {
    background: #f3f4f6;
    padding: 36px 0 80px;
    min-height: 60vh;
    font-family: 'Inter', sans-serif;
}

/* Empty state */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    gap: 12px;
}

    .cart-empty svg {
        color: #d1d5db;
    }

    .cart-empty h2 {
        font-size: 1.3rem;
        font-weight: 700;
        color: #111827;
        letter-spacing: -.02em;
        margin: 4px 0 0;
    }

    .cart-empty p {
        font-size: .9rem;
        color: #6b7280;
        margin: 0 0 16px;
    }

/* Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* Items panel */
.cart-items {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.cart-items-header {
    display: grid;
    grid-template-columns: 1fr 100px 130px 100px 40px;
    gap: 12px;
    padding: 13px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr 100px 130px 100px 40px;
    gap: 12px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    transition: background .13s;
}

    .cart-item:last-child {
        border-bottom: none;
    }

    .cart-item:hover {
        background: #fafafa;
    }

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    flex-shrink: 0;
}

    .cart-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.cart-item-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .55rem;
    font-weight: 800;
    color: #333;
    letter-spacing: .1em;
}

.cart-item-details {
    min-width: 0;
}

.cart-item-name {
    font-size: .87rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Inter', sans-serif;
}

.cart-item-sku {
    font-size: .68rem;
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
}

.cart-item-price,
.cart-item-total {
    font-size: .9rem;
    font-weight: 600;
    color: #111827;
    font-variant-numeric: tabular-nums;
    font-family: 'Inter', sans-serif;
}

.cart-item-total {
    font-weight: 700;
}

/* Qty controls */
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #e5e7eb;
    border-radius: 7px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f9fafb;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .13s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

    .qty-btn:hover {
        background: #f3f4f6;
        color: #dc2626;
    }

.qty-val {
    min-width: 34px;
    text-align: center;
    font-size: .85rem;
    font-weight: 600;
    color: #111827;
    font-variant-numeric: tabular-nums;
    font-family: 'Inter', sans-serif;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    padding: 0 4px;
    line-height: 32px;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #d1d5db;
    padding: 6px;
    border-radius: 6px;
    transition: all .13s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cart-item-remove:hover {
        color: #dc2626;
        background: #fef2f2;
    }

/* Bottom row */
.cart-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

.cart-continue {
    font-size: .8rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: color .13s;
}

    .cart-continue:hover {
        color: #dc2626;
    }

.cart-clear-btn {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: .75rem;
    font-weight: 600;
    color: #9ca3af;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .13s;
}

    .cart-clear-btn:hover {
        border-color: #dc2626;
        color: #dc2626;
        background: #fef2f2;
    }

/* Summary */
.cart-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 20px;
}

.cart-summary-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.02em;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
    font-family: 'Inter', sans-serif;
}

.cart-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
}

    .cart-summary-row span:last-child {
        font-weight: 600;
        color: #111827;
    }

.cart-shipping-note {
    font-size: .75rem;
    color: #9ca3af;
    font-style: italic;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 2px solid #111827;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
    font-family: 'Inter', sans-serif;
}

    .cart-summary-total span:last-child {
        font-size: 1.2rem;
    }

.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: #dc2626;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: background .15s;
    margin-bottom: 12px;
}

    .cart-checkout-btn:hover {
        background: #b91c1c;
    }

.cart-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .72rem;
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .cart-items-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 8px;
    }

    .cart-item-product {
        grid-column: 1 / -1;
    }

    .cart-item-price {
        display: none;
    }

    .cart-item-remove {
        grid-row: 1;
        grid-column: 2;
        align-self: start;
    }
}

/* ================================================================
   PRODUCT DETAIL PAGE
   ================================================================ */

.pd-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0 16px;
}

.pd-section {
    background: #f3f4f6;
    padding: 36px 0 80px;
    font-family: 'Inter', sans-serif;
}

/* ── Main grid ── */
.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 36px;
    margin-bottom: 24px;
}

/* ── Image panel ── */
.pd-gallery {
    position: sticky;
    top: 24px;
}

.pd-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    background: #0f0f12;
}

.pd-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.22,.68,0,1.2);
}

.pd-image-wrap:hover .pd-main-image {
    transform: scale(1.04);
}

.pd-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .25em;
    color: #222;
}

.pd-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.pd-badge-new {
    background: #dc2626;
    color: #fff;
}

.pd-badge-sale {
    background: rgba(0,0,0,.8);
    color: #fff;
    backdrop-filter: blur(6px);
}

/* ── Info panel ── */
.pd-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pd-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.pd-category {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 3px 10px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
}

.pd-sku {
    font-size: .72rem;
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.pd-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #111827;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Stock */
.pd-stock {
    display: flex;
    align-items: center;
}

.pd-in-stock, .pd-out-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.pd-in-stock {
    color: #16a34a;
}

.pd-out-stock {
    color: #9ca3af;
}

.pd-stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pd-in-stock .pd-stock-dot {
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,.15);
    animation: stockPulse 2s ease infinite;
}

.pd-out-stock .pd-stock-dot {
    background: #d1d5db;
}

@keyframes stockPulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(22,163,74,.15);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(22,163,74,.08);
    }
}

/* Price */
.pd-price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.pd-price-main {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    font-family: 'Inter', sans-serif;
}

.pd-price-original {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.pd-price-save {
    font-size: .72rem;
    font-weight: 700;
    background: #fef2f2;
    color: #dc2626;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid #fecaca;
    font-family: 'Inter', sans-serif;
}

.pd-description {
    font-size: .9rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.pd-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 4px 0;
}

/* Purchase row */
.pd-purchase {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.pd-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}

.pd-qty-btn {
    width: 40px;
    height: 48px;
    border: none;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .13s, color .13s;
    flex-shrink: 0;
}

    .pd-qty-btn:hover {
        background: #f3f4f6;
        color: #dc2626;
    }

.pd-qty-input {
    width: 48px;
    height: 48px;
    border: none;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font-size: .95rem;
    font-weight: 600;
    color: #111827;
    outline: none;
    font-family: 'Inter', sans-serif;
    -moz-appearance: textfield;
}

    .pd-qty-input::-webkit-inner-spin-button,
    .pd-qty-input::-webkit-outer-spin-button {
        -webkit-appearance: none;
    }

.pd-add-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    height: 48px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background .15s, transform .15s, box-shadow .15s;
    white-space: nowrap;
}

    .pd-add-btn:hover {
        background: #b91c1c;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(220,38,38,.3);
    }

    .pd-add-btn:disabled {
        background: #e5e7eb;
        color: #9ca3af;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.pd-add-btn--added {
    background: #16a34a !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Trust badges */
.pd-trust {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pd-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: .72rem;
    font-weight: 500;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

    .pd-trust-item svg {
        color: #dc2626;
        flex-shrink: 0;
    }

/* ── Specs ── */
.pd-specs-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 24px;
}

.pd-specs-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.02em;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
    font-family: 'Inter', sans-serif;
}

.pd-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.pd-spec-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid #f9fafb;
    transition: background .13s;
}

    .pd-spec-row:hover {
        background: #fafafa;
    }

    .pd-spec-row:nth-child(odd) {
        border-right: 1px solid #f3f4f6;
    }

.pd-spec-key {
    font-size: .75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .06em;
    min-width: 90px;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
}

.pd-spec-val {
    font-size: .84rem;
    font-weight: 500;
    color: #374151;
    font-family: 'Inter', sans-serif;
}

.pd-brand {
    color: #dc2626;
    font-weight: 600;
}

/* ── Related products ── */
.pd-related {
    margin-top: 8px;
}

.pd-related-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.025em;
    margin: 0 0 20px;
    font-family: 'Inter', sans-serif;
}

/* Page header override for detail page */
.pd-header .breadcrumb {
    margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .pd-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }

    .pd-gallery {
        position: static;
    }

    .pd-specs-grid {
        grid-template-columns: 1fr;
    }

    .pd-spec-row:nth-child(odd) {
        border-right: none;
    }
}

@media (max-width: 640px) {
    .pd-section {
        padding: 20px 0 56px;
    }

    .pd-grid {
        padding: 18px;
        gap: 20px;
    }

    .pd-title {
        font-size: 1.4rem;
    }

    .pd-price-main {
        font-size: 1.7rem;
    }

    .pd-purchase {
        flex-direction: column;
    }

    .pd-qty {
        width: fit-content;
    }

    .pd-add-btn {
        height: 48px;
    }

    .pd-trust {
        gap: 6px;
    }

    .pd-trust-item {
        min-width: 0;
        font-size: .68rem;
        padding: 6px 10px;
    }

    .pd-specs-section {
        padding: 20px 18px;
    }
}

/* ================================================================
   MEGAMENU — Dynamic root + subcategories
   ================================================================ */

.mega-menu {
    display: none;
    position: fixed;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,.12);
    z-index: 1000;
    min-width: 220px;
    max-width: 240px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
}

    .mega-menu::-webkit-scrollbar {
        width: 4px;
    }

    .mega-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .mega-menu::-webkit-scrollbar-thumb {
        background: #e5e7eb;
        border-radius: 2px;
    }

    .mega-menu.open {
        display: block;
    }

.mega-roots {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: visible;
}

.mega-root-item {
    position: relative;
}

.mega-root-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #111827;
    transition: background .13s, color .13s;
    white-space: nowrap;
}

    .mega-root-link:hover,
    .mega-root-item.sub-open > .mega-root-link {
        background: #fef2f2;
        color: #dc2626;
    }

.mega-root-name {
    font-size: .88rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.mega-root-arrow {
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform .15s, color .13s;
}

.mega-root-item.sub-open > .mega-root-link .mega-root-arrow,
.mega-root-link:hover .mega-root-arrow {
    color: #dc2626;
    transform: rotate(0deg);
}

/* Sub-panel — absolutely positioned to the right */
.mega-sub-panel {
    display: none;
    position: fixed;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,.15);
    padding: 8px;
    min-width: 210px;
    z-index: 1100;
}

.mega-root-item.sub-open > .mega-sub-panel {
    display: block;
}

.mega-sub-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 7px;
    text-decoration: none;
    color: #374151;
    transition: background .13s, color .13s;
    white-space: nowrap;
}

    .mega-sub-item:hover {
        background: #fef2f2;
        color: #dc2626;
    }

.mega-sub-name {
    font-size: .84rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.mega-sub-count {
    font-size: .68rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #9ca3af;
    padding: 2px 7px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.mega-sub-item:hover .mega-sub-count {
    background: #fecaca;
    color: #dc2626;
}

/* Categories button (was anchor, now button) */
.nav-categories-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
}

    .nav-categories-btn:hover {
        background: var(--primary-red);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220,38,38,.3);
    }

/* ================================================================
   AUTH PAGES — Register / Login / VerifyEmail
   ================================================================ */

.auth-page {
    background: #f3f4f6;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
}

.auth-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px 40px 40px;
}

.auth-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -.04em;
    color: #111827;
    margin-bottom: 24px;
    text-align: center;
}

    .auth-logo span {
        color: #dc2626;
    }

/* Steps */
.auth-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}

.auth-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    background: #f3f4f6;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
    transition: all .2s;
}

.auth-step.active .step-num {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

.auth-step.done .step-num {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}

.step-label {
    font-size: .68rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.auth-step.active .step-label {
    color: #dc2626;
}

.auth-step.done .step-label {
    color: #16a34a;
}

.auth-step-line {
    height: 2px;
    width: 48px;
    background: #e5e7eb;
    margin: 0 8px;
    margin-bottom: 18px;
    border-radius: 1px;
    transition: background .2s;
}

    .auth-step-line.active {
        background: #dc2626;
    }

/* Title */
.auth-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.auth-sub {
    font-size: .84rem;
    color: #9ca3af;
    margin: 0 0 24px;
    font-family: 'Inter', sans-serif;
    text-align: center;
    line-height: 1.55;
}

    .auth-sub strong {
        color: #374151;
    }

/* Error */
.auth-error {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .82rem;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

/* Form rows */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.form-label {
    font-size: .77rem;
    font-weight: 600;
    color: #374151;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.req {
    color: #dc2626;
}

.opt {
    color: #9ca3af;
    font-weight: 400;
    text-transform: none;
    font-size: .75rem;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    pointer-events: none;
    flex-shrink: 0;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: .88rem;
    color: #111827;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    background: #fff;
}

    .form-input.has-icon {
        padding-left: 38px;
        padding-right: 38px;
    }

    .form-input:focus {
        border-color: #dc2626;
        box-shadow: 0 0 0 3px rgba(220,38,38,.08);
    }

    .form-input::placeholder {
        color: #d1d5db;
    }

.toggle-pw {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color .13s;
}

    .toggle-pw:hover {
        color: #374151;
    }

.field-error {
    font-size: .75rem;
    color: #dc2626;
    font-family: 'Inter', sans-serif;
}

/* Password strength */
.pw-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.pw-bar {
    flex: 1;
    height: 4px;
    background: #f3f4f6;
    border-radius: 2px;
    overflow: hidden;
}

    .pw-bar > div {
        height: 100%;
        border-radius: 2px;
        transition: width .3s, background .3s;
        width: 0;
    }

.pw-strength > span {
    font-size: .72rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    min-width: 48px;
}

/* Password rules */
.pw-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 8px;
    margin-bottom: 16px;
}

.pw-rule {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
    transition: color .15s;
}

    .pw-rule svg {
        flex-shrink: 0;
        transition: stroke .15s;
    }

    .pw-rule.ok {
        color: #16a34a;
    }

        .pw-rule.ok svg {
            stroke: #16a34a;
        }

/* Submit */
.auth-submit {
    width: 100%;
    height: 48px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s, transform .15s, box-shadow .15s;
    margin-top: 8px;
}

    .auth-submit:hover:not(:disabled) {
        background: #b91c1c;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(220,38,38,.3);
    }

    .auth-submit:disabled {
        background: #e5e7eb;
        color: #9ca3af;
        cursor: not-allowed;
    }

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: .82rem;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
}

    .auth-switch a {
        color: #dc2626;
        font-weight: 600;
        text-decoration: none;
    }

        .auth-switch a:hover {
            text-decoration: underline;
        }

/* ── Verify Email OTP ── */
.verify-icon {
    width: 64px;
    height: 64px;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    margin: 0 auto 16px;
}

.otp-wrap {
    margin: 24px 0 8px;
}

.otp-boxes {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.otp-box {
    width: 52px;
    height: 60px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #111827;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    background: #fff;
    caret-color: #dc2626;
}

    .otp-box:focus {
        border-color: #dc2626;
        box-shadow: 0 0 0 3px rgba(220,38,38,.08);
    }

    .otp-box.filled {
        border-color: #dc2626;
        background: #fef9f9;
    }

.resend-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.resend-text {
    font-size: .82rem;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
}

.resend-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    color: #dc2626;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: opacity .13s;
}

    .resend-btn:disabled {
        color: #9ca3af;
        cursor: default;
    }

.resend-feedback {
    text-align: center;
    font-size: .8rem;
    padding: 8px 14px;
    border-radius: 7px;
    margin: 8px 0 0;
    font-family: 'Inter', sans-serif;
}

    .resend-feedback.ok {
        background: #f0fdf4;
        color: #16a34a;
        border: 1px solid #bbf7d0;
    }

    .resend-feedback.err {
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
    }

@media (max-width: 520px) {
    .auth-card {
        padding: 24px 20px 28px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .otp-box {
        width: 44px;
        height: 52px;
        font-size: 1.3rem;
    }

    .otp-boxes {
        gap: 6px;
    }

    .pw-rules {
        grid-template-columns: 1fr;
    }
}

/* Header register button */
.header-register-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: #dc2626;
    color: #fff !important;
    border-radius: 7px;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: .03em;
    transition: background .15s, transform .15s;
    white-space: nowrap;
}

    .header-register-btn:hover {
        background: #b91c1c;
        transform: translateY(-1px);
    }

/* ================================================================
   WISHLIST
   ================================================================ */

/* Heart button on product card */
.wish-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.92);
    border: 1.5px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all .18s;
    color: #9ca3af;
    padding: 0;
}

    .wish-btn:hover {
        border-color: #dc2626;
        color: #dc2626;
        transform: scale(1.1);
    }

    .wish-btn.active {
        border-color: #dc2626;
        color: #dc2626;
        background: #fef2f2;
    }

        .wish-btn.active svg {
            fill: #dc2626;
            stroke: #dc2626;
        }

/* Header wishlist icon + badge */
.wish-header-btn {
    position: relative;
}

.wish-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #dc2626;
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

/* Wishlist page */
.wishlist-empty {
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.wishlist-empty-icon {
    width: 80px;
    height: 80px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    margin-bottom: 8px;
}

.wishlist-empty h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.wishlist-empty p {
    font-size: .88rem;
    color: #6b7280;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.wishlist-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.wishlist-count-label {
    font-size: .9rem;
    font-weight: 600;
    color: #374151;
    font-family: 'Inter', sans-serif;
}

.wishlist-clear-btn {
    background: none;
    border: 1.5px solid #e5e7eb;
    color: #6b7280;
    padding: 6px 14px;
    border-radius: 7px;
    font-size: .78rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .15s;
}

    .wishlist-clear-btn:hover {
        border-color: #dc2626;
        color: #dc2626;
    }

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.wishlist-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .18s, transform .18s;
}

    .wishlist-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,.09);
        transform: translateY(-2px);
    }

.wishlist-card-img-link {
    display: block;
    position: relative;
    aspect-ratio: 1;
    background: #f9fafb;
    overflow: hidden;
}

    .wishlist-card-img-link img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.wishlist-no-img {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #d1d5db;
    font-family: 'Inter', sans-serif;
    letter-spacing: .05em;
}

.wl-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #dc2626;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.wishlist-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wl-sku {
    font-size: .7rem;
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.wl-name {
    font-size: .88rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .wl-name:hover {
        color: #dc2626;
    }

.wl-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wl-price-orig {
    font-size: .75rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-family: 'Inter', sans-serif;
}

.wl-price {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    font-family: 'Inter', sans-serif;
}

.wl-stock {
    font-size: .72rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

    .wl-stock.in {
        color: #16a34a;
    }

    .wl-stock.out {
        color: #9ca3af;
    }

.wl-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.wl-cart-btn {
    flex: 1;
    font-size: .78rem;
    padding: 8px 10px;
}

.wl-remove-btn {
    width: 34px;
    height: 34px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    flex-shrink: 0;
    transition: all .15s;
    padding: 0;
}

    .wl-remove-btn:hover {
        border-color: #dc2626;
        color: #dc2626;
        background: #fef2f2;
    }

@media (max-width: 640px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.cart-call-box {
    margin-top: 16px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-call-label {
    font-size: .78rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: 'Inter', sans-serif;
}

.cart-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: #dc2626;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: .02em;
    transition: background .15s, transform .15s, box-shadow .15s;
}

    .cart-call-btn:hover {
        background: #b91c1c;
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(220,38,38,.3);
    }

.cart-call-note {
    font-size: .72rem;
    color: #9ca3af;
    margin: 0;
    font-family: 'Inter', sans-serif;
}
/* ================================================================
   GLOBAL MOBILE FIXES
   ================================================================ */

@media (max-width: 640px) {
    /* Header — smaller action buttons */
    .action-btn {
        width: 38px;
        height: 38px;
        padding: 0.5rem;
    }

        .action-btn svg {
            width: 18px;
            height: 18px;
        }

    .header-actions {
        gap: 4px;
    }

    .header-register-btn {
        display: none;
    }

    /* Logo smaller */
    .logo {
        font-size: 1.3rem !important;
    }

    /* Page header */
    .page-header {
        padding: 14px 0 10px;
    }

    .page-title {
        font-size: 1.3rem !important;
    }

    .breadcrumb {
        font-size: .72rem;
    }

    /* Product card tighter — scoped to products page grid only */
    .products-grid .product-info {
        padding: 10px;
    }

    .products-grid .product-name {
        font-size: .78rem;
    }

    .products-grid .product-category {
        font-size: .65rem;
    }

    .products-grid .price-current {
        font-size: .88rem;
    }

    .products-grid .product-actions {
        gap: 5px;
    }

    .products-grid .btn.product-card-action {
        padding: 7px 5px;
        font-size: .72rem;
    }

    /* Cart page */
    .cart-page {
        padding: 0 12px;
    }

    .cart-layout {
        gap: 16px;
    }

    /* Auth pages */
    .auth-card {
        padding: 20px 16px 24px;
    }

    /* Wishlist */
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .wishlist-card-body {
        padding: 10px;
    }

    .wl-name {
        font-size: .78rem;
    }

    /* Toolbar */
    .products-toolbar {
        gap: 8px;
    }

    .toolbar-sort select {
        font-size: .78rem;
        padding: 6px 8px;
    }
}

@media (max-width: 400px) {
    .action-btn {
        width: 34px;
        height: 34px;
    }

    .cart-count, .wish-count {
        font-size: .55rem;
        min-width: 14px;
        height: 14px;
    }

    .products-grid {
        gap: 8px;
    }

        .products-grid .btn.product-card-action {
            font-size: .68rem;
            padding: 6px 4px;
        }
}

/* ═══════════════════════════════════════════════════════════════
   ✅ FIX 1: REMOVE ALL SHIMMER/ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

/* Kill all product card animations completely */
.hp-prod-card,
.product-card,
.hp-service-card,
.hp-benefit-card,
.hp-stat-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

    /* Simple hover only */
    .hp-prod-card:hover {
        transform: translateY(-4px) !important;
    }

/* ═══════════════════════════════════════════════════════════════
   ✅ FIX 2: MEGAMENU TIMING - More time to move to submenu
   ═══════════════════════════════════════════════════════════════ */

/* Keep megamenu open longer */
.mega-menu,
.dropdown-menu {
    transition-delay: 0.3s !important; /* Wait 300ms before closing */
}

/* Don't close when hovering submenu area */
.mega-root-item.sub-open .mega-sub-panel {
    pointer-events: all !important;
}

/* Bigger hover area to prevent accidental close */
.mega-root-item.has-children {
    position: relative;
}

    .mega-root-item.has-children::before {
        content: '';
        position: absolute;
        right: -20px; /* Extra 20px hover area */
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: all;
    }

/* Remove red accent from active items */
.mega-root-item.active,
.mega-root-item.sub-open {
    background: #f9fafb !important;
    color: var(--text-dark) !important;
    border-left: none !important;
}

/* Remove double arrows */
.mega-root-item > svg:last-child {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   ✅ FIX 3: RESTORE RED ACCENTS
   ═══════════════════════════════════════════════════════════════ */

/* Red buttons */
.hp-prod-btn-cart,
.btn-primary,
.product-card-action,
button[type="submit"] {
    background: #dc2626 !important;
    color: white !important;
}

    .hp-prod-btn-cart:hover,
    .btn-primary:hover {
        background: #b91c1c !important;
    }
/* ═══════════════════════════════════════════════════════════════
   ✨ BEAUTIFUL PRODUCT CARDS - Modern & Premium Design
   ═══════════════════════════════════════════════════════════════ */

.hp-prod-card,
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

    .hp-prod-card:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        transform: translateY(-8px);
        border-color: #1a56db;
    }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   IMAGE SECTION - With Gradient Overlay
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hp-prod-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: block;
}

    .hp-prod-img-wrap::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( to bottom, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.02) 100% );
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

.hp-prod-card:hover .hp-prod-img-wrap::before {
    opacity: 1;
}

.hp-prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-prod-card:hover .hp-prod-img {
    transform: scale(1.08);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BADGES - Premium Look
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hp-prod-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.hp-prod-badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hp-prod-badge-new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hp-prod-badge-featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.hp-prod-badge-sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WISHLIST BUTTON - Glass Morphism
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hp-prod-wish {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .hp-prod-wish:hover {
        transform: scale(1.15);
        box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
        background: white;
    }

    .hp-prod-wish svg {
        fill: none;
        stroke: #9ca3af;
        transition: all 0.3s ease;
    }

    .hp-prod-wish:hover svg {
        stroke: #dc2626;
    }

    .hp-prod-wish.active {
        background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
        border-color: #dc2626;
    }

        .hp-prod-wish.active svg {
            fill: #dc2626;
            stroke: #dc2626;
            animation: heartbeat 0.6s ease;
        }

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(0.95);
    }

    75% {
        transform: scale(1.1);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTENT SECTION - Clean & Spacious
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hp-prod-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

/* Meta Info */
.hp-prod-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.hp-prod-category {
    color: #1a56db;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .hp-prod-category:hover {
        background: #dbeafe;
        color: #1e40af;
    }

.hp-prod-brand {
    color: #6b7280;
    background: #f9fafb;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Title */
.hp-prod-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.2s ease;
    min-height: 2.8em;
}

    .hp-prod-title:hover {
        color: #1a56db;
    }

/* SKU */
.hp-prod-sku {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
    font-weight: 500;
}

/* Price Section */
.hp-prod-price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0;
}

.hp-prod-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-prod-price-old {
    font-size: 1.05rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

/* Stock Badge */
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .stock-badge.in-stock {
        background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
        color: #065f46;
        border: 1px solid #6ee7b7;
    }

    .stock-badge.out-of-stock {
        background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
        color: #991b1b;
        border: 1px solid #fca5a5;
    }

.stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ADD TO CART BUTTON - Premium Gradient
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hp-prod-btn-cart {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1a56db 0%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.25);
    position: relative;
    overflow: hidden;
}

    .hp-prod-btn-cart::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
        transition: left 0.5s ease;
    }

    .hp-prod-btn-cart:hover::before {
        left: 100%;
    }

    .hp-prod-btn-cart:hover:not(:disabled) {
        background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(26, 86, 219, 0.4);
    }

    .hp-prod-btn-cart:active:not(:disabled) {
        transform: translateY(0);
    }

    .hp-prod-btn-cart:disabled {
        background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
        color: #9ca3af;
        cursor: not-allowed;
        box-shadow: none;
    }

    .hp-prod-btn-cart svg {
        width: 20px;
        height: 20px;
        transition: transform 0.3s ease;
    }

    .hp-prod-btn-cart:hover:not(:disabled) svg {
        transform: scale(1.1);
    }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE DESIGN
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 768px) {
    .hp-prod-card {
        border-radius: 12px;
    }

    .hp-prod-content {
        padding: 16px;
        gap: 10px;
    }

    .hp-prod-title {
        font-size: 0.95rem;
        min-height: 2.6em;
    }

    .hp-prod-price {
        font-size: 1.3rem;
    }

    .hp-prod-btn-cart {
        padding: 12px;
        font-size: 0.9rem;
    }

    .hp-prod-wish {
        width: 38px;
        height: 38px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LOADING SKELETON (Optional - for when images load)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hp-prod-img-wrap[data-loading="true"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GRID LAYOUT IMPROVEMENTS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
/* ══════════════════════════════════════════════════════════════
   MEGAMENU STYLES - ADDED FOR CATEGORIES DROPDOWN
   ══════════════════════════════════════════════════════════════ */

/* Parent nav item */
.nav-has-mega {
    position: relative;
}

/* Megamenu container */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    min-width: 700px;
    max-width: 900px;
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

/* Show megamenu on hover */
.nav-has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Root categories sidebar */
.mega-roots {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
}

/* Root category items */
.mega-root-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

    .mega-root-item:hover {
        background: #f3f4f6;
    }

    .mega-root-item.active {
        background: #fee2e2;
    }

.mega-root-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
}

.mega-root-item.active .mega-root-link {
    color: #dc2626;
}

.mega-root-name {
    font-size: 0.95rem;
}

.mega-root-arrow {
    flex-shrink: 0;
}

/* Subcategories panel */
.mega-sub-panel {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

    .mega-sub-panel.active {
        display: grid;
    }

/* Subcategory items */
.mega-sub-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .mega-sub-item:hover {
        background: #f9fafb;
        color: #dc2626;
        transform: translateX(4px);
    }

.mega-sub-name {
    font-size: 0.9rem;
}

.mega-sub-count {
    font-size: 0.75rem;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.mega-sub-item:hover .mega-sub-count {
    background: #fee2e2;
    color: #dc2626;
}

/* Categories button */
.nav-categories-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.nav-has-mega:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .mega-menu {
        min-width: 600px;
    }

    .mega-roots {
        grid-template-columns: 180px 1fr;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        display: none; /* Hide on mobile, show different menu */
    }
}

/* ══════════════════════════════════════════════════════════════
   END OF MEGAMENU STYLES
   ══════════════════════════════════════════════════════════════ */

/* ── Product Card Rating ── */
.hp-prod-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.hp-prod-rating-val {
    font-size: .82rem;
    font-weight: 700;
    color: #111827;
}

.hp-prod-rating-cnt {
    font-size: .75rem;
    color: #9ca3af;
}
