*,
::before,
::after {
    box-sizing: border-box;
}

:root {
    /* Premium Modern Palette - Vibrant & Deep */
    --primary-color: #0b1120;
    --primary-dark: #020617;
    --accent-gradient: linear-gradient(135deg, #ff4f01 0%, #ff8001 100%);
    --accent-color: #ff4f01;
    --accent-hover: #e64600;
    --blue-accent: #3b82f6;
    --blue-hover: #2563eb;
    --success-color: #10b981;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --border-radius: 16px;
    --border-radius-sm: 8px;

    /* Layered Shadows for Depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.05);

    --glass-bg: rgba(11, 17, 32, 0.85);
    /* Primary color with alpha */
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes pulse-heart {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: none;
}

.shine-effect:hover::after {
    animation: shine 0.7s forwards;
}

.heart-pulse {
    animation: pulse-heart 0.4s ease-in-out;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    box-sizing: border-box;
}

/* Force fix for potentially cached or problematic sections */
main .container,
section .container,
.product-detail .container {
    max-width: 1200px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 4000;
}

.top-bar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 5000;
    /* Higher prioritized z-index */
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.8s;
    pointer-events: none;
}

header:hover::before {
    left: 100%;
}

.nav-wrapper {
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
}

.wishlist-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    position: relative;
    padding: 4px 8px;
    transition: opacity 0.2s;
}

.wishlist-nav-link:hover {
    opacity: 0.8;
}

.wishlist-nav-link span {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
}

#wishlist-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(255, 79, 1, 0.4);
    animation: pulse-soft 2s infinite;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.search-bar {
    flex-grow: 1;
    max-width: 500px;
    position: relative;
    margin: 0 auto;
    z-index: 5100;
    /* Above top-bar layer */
}

.search-bar form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-bar form:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(255, 79, 1, 0.15), 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 2500;
    overflow-y: auto;
    max-height: 480px;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.search-results-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suggestion-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.suggestion-item:hover {
    background: #f8fafc;
}

.suggestion-thumb {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.suggestion-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.suggestion-info {
    flex-grow: 1;
    min-width: 0;
}

.suggestion-text {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.search-highlight {
    color: var(--accent-color);
    font-weight: 700;
    font-style: normal;
}

.suggestion-meta {
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.suggestion-price-box {
    text-align: right;
    flex-shrink: 0;
}

.suggestion-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.suggestion-discount {
    font-size: 0.7rem;
    font-weight: 800;
    color: #ef4444;
}

.suggestion-header {
    padding: 12px 16px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.search-bar input {
    background: transparent !important;
    border: none !important;
    padding: 12px 15px 12px 20px;
    color: white;
    font-size: 1rem;
    flex-grow: 1;
    transition: all 0.4s ease;
    min-width: 0;
}

.search-bar input:focus {
    outline: none;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-bar button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    color: var(--accent-color);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-item {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px 24px;
    padding: 30px 0;
    align-items: stretch;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 480px;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 79, 1, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 79, 1, 0.03), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.5;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
}

.product-img-wrapper {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    margin-bottom: 20px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.wishlist-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
}

.wishlist-toggle:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

.wishlist-toggle .heart-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

.wishlist-toggle.active .heart-icon,
.wishlist-toggle:hover .heart-icon {
    fill: var(--accent-color) !important;
    color: var(--accent-color) !important;
    stroke: var(--accent-color) !important;
}

.wishlist-toggle.active {
    border-color: var(--accent-color);
}

.product-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0;
}

.main-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 12px 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.main-price .price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.main-price .price-value {
    color: var(--accent-color);
    background: linear-gradient(135deg, #ff4f01, #ff8001);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shop-offers {
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
    margin-top: auto;
    width: 100%;
}

/* Product Tile Ratings */
.product-tile-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -6px;
    margin-bottom: 12px;
}

.product-tile-rating .stars {
    display: flex;
    color: #fbbf24;
    gap: 1px;
}

.product-tile-rating .stars i,
.product-tile-rating .stars svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.5px;
}

.product-tile-rating .star-full {
    fill: currentColor;
}

.product-tile-rating .star-half {
    fill: currentColor;
}

.product-tile-rating .star-empty {
    opacity: 0.25;
}

.product-tile-rating .rating-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Suggestion Rating (for search dropdown) */
.suggestion-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.suggestion-rating .stars {
    display: flex;
    color: #fbbf24;
}

.suggestion-rating .stars i,
.suggestion-rating .stars svg {
    width: 10px;
    height: 10px;
    stroke-width: 3px;
}

.suggestion-rating .rating-text {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 600;
}

.shop-offer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.shop-offer-row span {
    font-weight: 500;
    color: #4a5568;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.shop-offer-row a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

.shop-offer-row a:hover {
    text-decoration: underline;
}

.product-card .btn {
    display: block;
    background: var(--blue-accent);
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    margin-top: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.product-card .btn:hover {
    background: var(--blue-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn,
.btn-small,
.button,
button {
    text-decoration: none !important;
}

/* Sidebar */
aside h3,
aside h4 {
    color: var(--primary-color);
}

aside a {
    color: var(--text-color);
    text-decoration: none;
}

aside a:hover {
    color: var(--accent-color);
}

.facet-group {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.facet-group:last-child {
    border-bottom: none;
}

/* Custom Scrollbar for facets */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* PARTNER MARQUEE - CONTINUOUS RUNNING LOGOS */
.partner-section {
    background: var(--primary-dark);
    padding: 80px 0;
    margin-top: 4rem;
    border-radius: 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.partner-section h2 {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: white;
    opacity: 0.9;
}

.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.marquee-row {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 40px;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 40px;
    min-width: 100%;
    justify-content: space-around;
}

/* Row Directions */
.marquee-content.left {
    animation: scroll-left 40s linear infinite;
}

.marquee-content.right {
    animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 40px));
    }
}

@keyframes scroll-right {
    from {
        transform: translateX(calc(-100% - 40px));
    }

    to {
        transform: translateX(0);
    }
}

.partner-item {
    flex: 0 0 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: none;
    /* Removed hover transitions */
    pointer-events: none;
    /* Disable interaction */
}

.partner-logo {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(1) brightness(2) contrast(0.5);
    /* Ultra subtle grayscale for dark bg */
    opacity: 0.4;
    transition: none;
}

/* No hover effects as per requirements */

@media (max-width: 768px) {
    .partner-section {
        padding: 40px 0;
    }

    .partner-item {
        flex: 0 0 120px;
        height: 45px;
    }

    .marquee-row {
        gap: 20px;
    }

    .marquee-content {
        gap: 20px;
    }

    @keyframes scroll-left {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-100% - 20px));
        }
    }

    @keyframes scroll-right {
        from {
            transform: translateX(calc(-100% - 20px));
        }

        to {
            transform: translateX(0);
        }
    }
}


/* CATEGORY GRID & CARDS - MODERN PREMIUM REDESIGN */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    padding: 2rem 0;
}

.category-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.category-visual {
    height: 180px;
    position: relative;
    background: #f8fafc;
    overflow: hidden;
}

.category-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.category-card:hover .category-visual img {
    transform: scale(1.1);
}

.category-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
}

.category-icon-float {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    z-index: 2;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon-float {
    background: var(--accent-color);
    color: white;
    transform: rotate(-10deg) scale(1.1);
}

.category-details {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-header-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.35rem;
    font-weight: 850;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.category-count {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-count::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-color);
}

.category-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.category-pill {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 100px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-card:hover .category-pill {
    background: white;
    border-color: #e2e8f0;
}

.category-pill:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.category-more-link {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-color);
    text-decoration: none !important;
    padding: 5px 4px;
}

.category-arrow-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.category-card:hover .category-arrow-btn {
    opacity: 1;
    transform: translateX(0);
    background: var(--accent-color);
    color: white;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .category-visual {
        height: 150px;
    }
}


/* Category Page Header */
.category-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3.5rem 0;
    margin-bottom: 3rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.category-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.category-header .container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.category-header .category-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.category-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.category-header .breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.category-header .breadcrumb a {
    color: white;
    text-decoration: none;
}

.category-header .breadcrumb a:hover {
    text-decoration: underline;
}

/* General Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.1s ease;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: var(--accent-color);
    font-weight: 500;
}

/* Subcategory Sidebar */
.subcategory-sidebar a:hover {
    background: #eef1f4 !important;
    color: var(--accent-color) !important;
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Subcategory Pills */
.subcategory-pill {
    background: #f5f7fa;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-block;
}

.subcategory-pill:hover {
    background: var(--primary-color);
    color: white;
}

/* HERO SECTION - FULL WIDTH */
.hero-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, rgba(255, 79, 1, 0.15), transparent),
        radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.1), transparent),
        linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    padding: 120px 0 !important;
    color: white;
    margin-bottom: 80px;
    border-radius: 0;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: 1;
}

.savings-badge {
    position: absolute;
    top: 12px;
    left: 0;
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 0 4px 4px 0;
    font-weight: 800;
    font-size: 0.95rem;
    z-index: 2;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.bestseller-badge {
    background: var(--blue-accent);
    color: white;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

/* TABS */
.tabs-container {
    margin-top: 3rem;
}

.tabs-header {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 2rem;
}

.tab-link {
    padding: 12px 0;
    font-weight: 700;
    color: #718096;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.tab-link:hover {
    color: var(--primary-color);
}

.tab-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #f7fafc;
}

.specs-table tr:last-child {
    border-bottom: none;
}


.specs-table th {
    text-align: left;
    padding: 15px 0;
    color: #718096;
    font-weight: 500;
    width: 180px;
    font-size: 0.95rem;
}

.specs-table td {
    padding: 15px 0;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* HOME PAGE ENHANCEMENTS */

/* Hero Slider - Refactored for Split Layout */
/* Hero Slider - Refactored for Split Layout */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: var(--primary-color);
    margin-bottom: 60px;
}

/* SEARCH DROPDOWN - ENHANCED */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 12px;
    z-index: 1000;
    display: none;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #f1f5f9;
}

.search-results-dropdown.active {
    display: block;
    animation: slideDown 0.2s ease;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: background 0.1s;
    border-bottom: 1px solid #f8fafc;
    gap: 15px;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f8fafc;
}

.suggestion-img-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    flex-shrink: 0;
}

.suggestion-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.suggestion-content {
    flex: 1;
    min-width: 0;
}

.suggestion-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-text .search-highlight {
    color: var(--accent-color);
    font-style: normal;
    background: rgba(249, 115, 22, 0.1);
    padding: 0 2px;
    border-radius: 2px;
}

.suggestion-price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: auto;
}


.hero-slider .container {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* MOBILE FILTERING */
.floating-filter-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.floating-filter-btn:active {
    transform: translateX(-50%) scale(0.95);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1040;
    backdrop-filter: blur(2px);
}

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

.close-sidebar-btn {
    display: none;
}

@media (max-width: 1024px) {
    .floating-filter-btn {
        display: flex;
    }

    .search-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        z-index: 1050;
        background: white;
        transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
        overflow-y: auto;
        padding: 0 !important;
        /* Reset padding to handle inner container */
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .search-sidebar>div {
        height: 100%;
        overflow-y: auto;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .search-sidebar.active {
        transform: translateX(100%);
    }

    .close-sidebar-btn {
        display: block !important;
        z-index: 10;
    }
}

.hero-slide-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.hero-slide-text {
    flex: 1;
    color: white;
    padding-right: 20px;
}

.hero-slide-text .badge {
    background: var(--blue-accent);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    display: inline-block;
    border-radius: 4px;
}

.hero-slide-text h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-slide-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-slide-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-product-preview {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-slide.active .hero-product-preview {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-product-preview img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    background: white;
    padding: 15px;
}

.hero-product-info {
    color: white;
    flex: 1;
    min-width: 0;
}

.hero-product-info h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-product-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
}

.hero-product-savings {
    font-size: 0.9rem;
    background: #ef4444;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--accent-color);
    width: 60px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

@media (max-width: 1200px) {
    .slider-arrow {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero-slider {
        height: auto;
        padding: 60px 0 100px;
    }

    .hero-slide {
        position: relative;
        display: none;
    }

    .hero-slide.active {
        display: block;
    }

    .hero-slide-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-slide-text h2 {
        font-size: 2.5rem;
    }

    .hero-slide-visual {
        justify-content: center;
        margin-top: 40px;
    }

    .hero-product-preview {
        transform: none !important;
    }
}

/* Home Category Grid */
.home-categories {
    margin-bottom: 80px;
}

.category-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

/* TRUST BADGES */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
    background: #fff;
    padding: 60px 40px;
    border-radius: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid #e2e8f0;
}

.trust-item {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    width: 60px;
    height: 60px;
    padding: 15px;
    border-radius: 20px;
    background: #f1f5f9;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.trust-item:hover i {
    background: var(--accent-gradient);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.trust-item h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.trust-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 992px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .trust-badges {
        grid-template-columns: 1fr;
    }
}

.hero-slide-content h2 {
    font-size: 2.5rem;
}

/* MEGA MENU & SUBMENU */
/* UNIFIED NAVIGATION */
.unified-nav {
    background: rgba(11, 17, 32, 0.98);
    /* Deep dark background */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 4000;
    /* Below top-bar but above content */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

header.nav-up .unified-nav {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: inline-block;
    padding: 0.85rem 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid transparent;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

.nav-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 0.25rem;
}

.nav-item-dropdown {
    position: static;
    /* Important for full-width mega menu */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border-top: 1px solid var(--glass-border);
    border-bottom: 3px solid var(--accent-color);
}

.nav-item-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Staggered entry animation for columns */
.mega-menu-column {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.nav-item-dropdown:hover .mega-menu-column {
    opacity: 1;
    transform: translateY(0);
}

.nav-item-dropdown:hover .mega-menu-column:nth-child(1) {
    transition-delay: 0.05s;
}

.nav-item-dropdown:hover .mega-menu-column:nth-child(2) {
    transition-delay: 0.1s;
}

.nav-item-dropdown:hover .mega-menu-column:nth-child(3) {
    transition-delay: 0.15s;
}

.nav-item-dropdown:hover .mega-menu-column:nth-child(4) {
    transition-delay: 0.2s;
}

.nav-item-dropdown:hover .nav-link {
    color: var(--accent-color);
}

.mega-menu-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 3rem;
}

.mega-menu-column h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-column h4 a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mega-menu-column h4 i {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 0.75rem;
}

.mega-menu-list a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: block;
    padding: 4px 0;
}

.mega-menu-list a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.mega-menu-footer a:hover {
    color: white !important;
}

.mega-menu-column.promo img {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.mega-menu-column.promo:hover img {
    transform: scale(1.05);
}

.promo-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.promo-text p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.btn-small {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background 0.2s;
}

.btn-small:hover {
    background: var(--accent-hover);
}

/* SEASONAL SPLIT SECTION */
.seasonal-split-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: stretch;
}

.seasonal-left {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.seasonal-promo-card {
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    padding: 60px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.seasonal-promo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.seasonal-promo-card>* {
    position: relative;
    z-index: 2;
}

.seasonal-promo-card .promo-tag {
    position: absolute;
    top: 60px;
    left: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    padding: 12px 28px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    letter-spacing: 1.5px;
}

.seasonal-promo-card h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1;
    letter-spacing: -3px;
}

.seasonal-promo-card p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 80%;
}

.seasonal-promo-card .btn {
    align-self: flex-start;
    background: white;
    color: var(--primary-color) !important;
    padding: 20px 50px;
    border-radius: 60px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none !important;
}

.seasonal-promo-card .btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.seasonal-categories h4,
.seasonal-products h4 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.seasonal-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.seasonal-cat-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px 20px;
    border-radius: 20px;
    text-decoration: none !important;
    color: var(--text-color);
    font-weight: 700;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.seasonal-cat-pill:hover {
    border-color: var(--blue-accent);
    background: #fdfdfd;
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.seasonal-cat-pill .pill-icon {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-accent);
}

.seasonal-cat-pill .arrow {
    margin-left: auto;
    width: 18px;
    height: 18px;
    opacity: 0.3;
}

@media (max-width: 1200px) {
    .seasonal-promo-card h2 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .seasonal-split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .seasonal-promo-card {
        order: -1;
        padding: 40px;
    }

    .seasonal-promo-card h2 {
        font-size: 2.5rem;
    }

    .seasonal-promo-card .promo-tag {
        top: 30px;
        left: 30px;
    }

    .seasonal-category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        white-space: nowrap;
    }

    .mega-menu {
        display: none;
        /* Hide mega menu on mobile for now as it needs a different interaction */
    }
}