

    
    .hero-gradient {
        background: linear-gradient(135deg, #f5f5f0 0%, #e8e6e1 100%);
    }
    
    .shine-effect {
        position: relative;
        overflow: hidden;
    }
    
    .shine-effect::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
        transform: translateX(-100%);
        transition: transform 0.6s;
    }
    
    .shine-effect:hover::before {
        transform: translateX(100%);
    }
    
    .floating {
        animation: floating 3s ease-in-out infinite;
    }
    
    @keyframes floating {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-20px); }
    }
    
    .category-slider {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        max-width: 100vw;
        background: white;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        padding: 2rem 0;
        z-index: 50;
    }
    
    .category-tab:hover .category-slider {
        display: block;
    }
    
    .category-tabs-wrapper {
        position: relative;
    }
    
    .category-tab {
        position: static;
    }
    
    .product-slider {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    @media (max-width: 1024px) {
        .product-slider {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (max-width: 640px) {
        .product-slider {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    .product-card-mini {
        width: 100%;
    }
    
    .lang-dropdown {
        position: relative;
    }
    
    .lang-dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border-radius: 0.5rem;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        min-width: 120px;
        padding: 0.5rem 0;
        z-index: 100;
    }
    
    .lang-dropdown:hover .lang-dropdown-menu {
        display: block;
    }
    
    .lang-dropdown-menu a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        color: #374151;
        font-size: 0.875rem;
        transition: background 0.2s;
    }
    
    .lang-dropdown-menu a:hover {
        background: #fef3c7;
        color: #d97706;
    }

    nav form button {
        background: transparent;
        border: 0;
        padding: 0;
        cursor: pointer;
        font: inherit;
        color: inherit;
        line-height: 1;
    }

    nav a {
        text-decoration: none;
    }

    nav [dir="rtl"] {
        letter-spacing: normal;
    }

    .footer-pattern-bar {
        background-color: #5b0a0a;
        background-image:
            linear-gradient(135deg, rgba(200, 160, 70, 0.55) 25%, transparent 25%),
            linear-gradient(225deg, rgba(200, 160, 70, 0.55) 25%, transparent 25%),
            linear-gradient(45deg, rgba(200, 160, 70, 0.55) 25%, transparent 25%),
            linear-gradient(315deg, rgba(200, 160, 70, 0.55) 25%, transparent 25%);
        background-position: 10px 0, 10px 0, 0 0, 0 0;
        background-size: 20px 20px;
        background-repeat: repeat;
    }

    #mega-menu:empty {
        display: none;
    }

    nav:not(:hover) #mega-menu {
        display: none;
    }

    /* Product Detail Page Styles */
    .product-gallery {
        position: relative;
    }

    .product-gallery .main-image {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .product-gallery .thumbnail {
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .product-gallery .thumbnail:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .product-gallery .thumbnail.active {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 2px var(--brand-primary);
    }

    .product-info .price-display {
        font-variant-numeric: tabular-nums;
    }

    .size-selector {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 0.5rem;
    }

    .size-option {
        transition: all 0.2s ease;
        border-width: 2px;
    }

    .size-option:hover {
        border-color: var(--brand-primary);
        background-color: rgba(91, 10, 10, 0.05);
    }

    .size-option.selected {
        background-color: var(--brand-primary);
        border-color: var(--brand-primary);
        color: white;
    }

    .quantity-selector {
        display: inline-flex;
        align-items: center;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        overflow: hidden;
    }

    .quantity-selector button {
        transition: background-color 0.2s ease;
    }

    .quantity-selector button:hover {
        background-color: #f3f4f6;
    }

    .quantity-selector input {
        border: none;
        text-align: center;
        font-weight: 500;
    }

    .add-to-cart-btn {
        background: linear-gradient(135deg, var(--brand-primary) 0%, #4a0808 100%);
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(91, 10, 10, 0.3);
    }

    .add-to-cart-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(91, 10, 10, 0.4);
    }

    .buy-now-btn {
        transition: all 0.3s ease;
        border-width: 2px;
    }

    .buy-now-btn:hover {
        border-color: var(--brand-primary);
        background-color: var(--brand-primary);
        color: white;
        transform: translateY(-2px);
    }

    .product-features {
        background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
        border-radius: 12px;
        padding: 1.5rem;
    }

    .feature-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }

    .feature-item:hover {
        background-color: rgba(91, 10, 10, 0.05);
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .spec-item {
        transition: background-color 0.2s ease;
    }

    .spec-item:hover {
        background-color: rgba(91, 10, 10, 0.02);
    }

    @media (max-width: 768px) {
        .product-gallery .main-image img {
            height: 400px !important;
        }
        
        .size-selector {
            grid-template-columns: repeat(3, 1fr);
        }
        
        .product-features {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        .product-gallery .main-image img {
            height: 300px !important;
        }
        
        .size-selector {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* Product List Page Styles */
    .promo-banner {
        background: linear-gradient(135deg, var(--brand-primary) 0%, #4a0808 100%);
        position: relative;
        overflow: hidden;
    }

    .promo-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

    .category-nav {
        background: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .category-nav a {
        position: relative;
        transition: color 0.3s ease;
    }

    .category-nav a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        right: 0;
        left: 0;
        height: 2px;
        background: var(--brand-primary);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .category-nav a:hover::after {
        transform: scaleX(1);
    }

    .sidebar-section {
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: box-shadow 0.3s ease;
    }

    .sidebar-section:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .sidebar-section h3 {
        border-bottom: 2px solid var(--brand-primary);
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
    }

    .sidebar-section a {
        transition: all 0.2s ease;
        padding: 0.25rem 0;
        border-radius: 4px;
    }

    .sidebar-section a:hover {
        padding-right: 0.5rem;
        background-color: rgba(91, 10, 10, 0.05);
    }

    .product-card {
        transition: transform 0.3s ease;
    }

    .product-card:hover {
        transform: translateY(-4px);
    }

    .product-card .product-image-container {
        position: relative;
        overflow: hidden;
    }

    .product-card .product-image-container img {
        transition: transform 0.5s ease;
    }

    .product-card:hover .product-image-container img {
        transform: scale(1.1);
    }

    .product-card .new-badge {
        background: var(--brand-primary);
        color: white;
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
        font-weight: 600;
        box-shadow: 0 2px 4px rgba(91, 10, 10, 0.3);
    }

    .product-card .shop-now-btn {
        padding: 0.75rem 1rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .product-card .shop-now-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(91, 10, 10, 0.12);
    }

    .featured-product-item {
        transition: background-color 0.2s ease;
        padding: 0.5rem;
        border-radius: 8px;
    }

    .featured-product-item:hover {
        background-color: rgba(91, 10, 10, 0.05);
    }

    .pagination-container {
        margin-top: 3rem;
    }

    .pagination-container a,
    .pagination-container span {
        transition: all 0.2s ease;
    }

    .pagination-container a:hover {
        background-color: var(--brand-primary);
        color: white;
        border-color: var(--brand-primary);
        transform: translateY(-1px);
    }

    @media (max-width: 1024px) {
        .category-nav {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        .category-nav::-webkit-scrollbar {
            height: 4px;
        }
        
        .category-nav::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        
        .category-nav::-webkit-scrollbar-thumb {
            background: var(--brand-primary);
            border-radius: 2px;
        }
    }

    @media (max-width: 768px) {
        .promo-banner {
            padding: 3rem 1rem;
        }
        
        .promo-banner h2 {
            font-size: 1.5rem;
        }
        
        .sidebar-section {
            margin-bottom: 1rem;
        }
        
        .product-card .shop-now-btn {
            padding: 0.625rem 0.875rem;
            font-size: 0.875rem;
        }
    }

    /* Mega Menu Hover Styles */
    .subcategory-container {
        position: relative;
    }

    .subcategory-container .absolute {
        pointer-events: none;
    }

    .subcategory-container:hover .absolute {
        pointer-events: auto;
    }

    /* Prevent dropdown from going off-screen */
    .subcategory-container:nth-child(n+4) .absolute {
        left: auto;
        right: 0;
        transform: translateX(0);
    }

    .subcategory-container:nth-child(n+4) .absolute::after {
        left: auto;
        right: 20px;
    }

    /* Add arrow to dropdown */
    .subcategory-container .absolute::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid white;
        z-index: 51;
    }

    .subcategory-container .absolute::after {
        content: '';
        position: absolute;
        top: -9px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-bottom: 9px solid #e5e7eb;
        z-index: 50;
    }

    /* Product hover effects in dropdown */
    .subcategory-container .absolute .text-center:hover img {
        transform: scale(1.05);
        transition: transform 0.2s ease;
    }

    /* Smooth transitions for all hover states */
    .subcategory-container .absolute {
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    /* Ensure proper z-index layering */
    #mega-menu {
        z-index: 999999 !important;
        position: relative;
    }
    
    /* Ensure mega menu content appears above everything */
    #mega-menu > div {
        z-index: 999999 !important;
        position: relative;
    }
    
    /* Ensure mega menu appears above main content */
    #main-content-inner {
        position: relative;
        z-index: 1;
    }

    .subcategory-container .absolute {
        z-index: 50;
    }

    /* Mobile responsiveness for dropdowns */
    @media (max-width: 768px) {
        .subcategory-container .absolute {
            width: 90vw;
            max-width: 320px;
            left: 50% !important;
            right: auto !important;
            transform: translateX(-50%) !important;
        }
    }
