:root {
            --primary-color: #982121;
            --primary-light: #c44d4d;
            --primary-dark: #7a1a1a;
            --text-color: #212529;
            --heading-color: #32353a;
            --bg-color: #ffffff;
            --light-gray: #f8f9fa;
            --medium-gray: #e9ecef;
            --dark-gray: #6c757d;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-color);
            background-color: var(--bg-color);
            overflow-x: hidden;
        }
        
        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: var(--light-gray);
        }
        
        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 10px;
        }
        
        /* Top Announcement Bar with Infinite Scroll */
        .announcement-bar {
            background-color: var(--primary-color);
            color: white;
            padding: 10px 0;
            overflow: hidden;
            white-space: nowrap;
            position: relative;
        }
        
        .announcement-content {
            display: inline-block;
            padding-left: 100%;
            animation: scrollAnnouncement 25s linear infinite;
        }
        
        .announcement-item {
            display: inline-block;
            margin-right: 40px;
            font-size: 0.9rem;
            font-weight: 300;
        }
        
        @keyframes scrollAnnouncement {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }
        
        /* Main Navigation */
        .main-nav {
            padding: 15px 0;
            border-bottom: 1px solid var(--medium-gray);
            background-color: var(--bg-color);
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .navbar-brand img {
            height: 40px;
            transition: all 0.3s ease;
        }
        
        .navbar-brand img:hover {
            transform: scale(1.05);
        }
        
        .nav-links a {
            color: var(--heading-color);
            text-decoration: none;
            margin: 0 12px;
            font-weight: 500;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .nav-links a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover {
            color: var(--primary-color);
        }
        
        .nav-links a:hover:after {
            width: 100%;
        }
        #ThecartIcon {
            cursor: pointer;
        }
        #ThecartIcon[data-empty="true"] {
            cursor: not-allowed;
            opacity: 0.7;
        }

        /* Search Bar */
        .search-container {
            position: relative;
            max-width: 300px;
            transition: all 0.3s ease;
        }
        
        .search-container.expanded {
            max-width: 400px;
        }
        
        .search-input {
            padding-left: 40px;
            border-radius: 25px;
            border: 1px solid var(--medium-gray);
            transition: all 0.3s ease;
            width: 100%;
        }
        
        .search-input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(152, 33, 33, 0.25);
        }
        
        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--dark-gray);
            cursor: pointer;
        }
        
        .search-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid var(--medium-gray);
            border-radius: 0 0 5px 5px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            z-index: 1000;
            display: none;
            max-height: 400px;
            overflow-y: auto;
        }
        
        .search-result-item {
            padding: 10px 15px;
            border-bottom: 1px solid var(--medium-gray);
            transition: all 0.2s ease;
        }
        
        .search-result-item:hover {
            background-color: var(--light-gray);
        }
        
        .search-result-item:last-child {
            border-bottom: none;
        }
        
        /* Navigation Icons */
        .nav-icons {
            display: flex;
            align-items: center;
        }
        
        .nav-icon {
            color: var(--heading-color);
            margin-left: 20px;
            font-size: 1.2rem;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .nav-icon:hover {
            color: var(--primary-color);
            transform: translateY(-2px);
        }
        
        .nav-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            font-size: 0.6rem;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Breadcrumbs */
        .breadcrumb {
            background-color: transparent;
            padding: 20px 0 10px;
            font-size: 0.9rem;
        }
        
        .breadcrumb a {
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .breadcrumb a:hover {
            color: var(--primary-color);
            text-decoration: underline;
        }
        
        .breadcrumb-item+.breadcrumb-item::before {
            content: ">";
            color: var(--dark-gray);
        }
        
        /* Page Header */
        .page-header {
            margin: 20px 0 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .page-title {
            color: var(--heading-color);
            font-weight: 600;
            font-size: 1.8rem;
            margin-bottom: 15px;
        }
        
        /* Filters */
        .filters-section {
            background-color: var(--light-gray);
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .filter-group {
            margin-bottom: 20px;
        }
        
        .filter-title {
            font-weight: 600;
            color: var(--heading-color);
            margin-bottom: 10px;
            font-size: 1rem;
        }
        
        .filter-option {
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }
        
        .filter-option input {
            margin-right: 10px;
        }
        
        .filter-option label {
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .filter-option label:hover {
            color: var(--primary-color);
        }
        
        .price-range {
            width: 100%;
            margin-top: 10px;
        }
        
        .price-values {
            display: flex;
            justify-content: space-between;
            margin-top: 5px;
            font-size: 0.9rem;
        }
        
        /* Product Grid */
        .product-grid {
            margin-bottom: 40px;
        }
        
        .product-card {
            border: 1px solid var(--medium-gray);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 25px;
            transition: all 0.3s ease;
            position: relative;
            background-color: white;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }
        
        .product-card:hover {
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            transform: translateY(-5px);
            border-color: var(--primary-light);
        }
        
        .product-img-container {
            position: relative;
            overflow: hidden;
            height: 220px;
        }
        
        .product-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }
        
        .product-card:hover .product-img {
            transform: scale(1.05);
        }
        
        .product-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: var(--primary-color);
            color: white;
            padding: 3px 12px;
            border-radius: 3px;
            font-size: 0.8rem;
            font-weight: 500;
            z-index: 2;
        }
        
        .product-tag.sale {
            background-color: #28a745;
        }
        
        .product-tag.new {
            background-color: #17a2b8;
        }
        
        .product-tag.bestseller {
            background-color: #ffc107;
            color: var(--text-color);
        }
        
        /* Product Quick Actions */
        .product-actions {
            position: absolute;
            top: 15px;
            right: 15px;
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 2;
        }
        
        .product-card:hover .product-actions {
            opacity: 1;
            transform: translateY(0);
        }
        
        .action-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: white;
            color: var(--heading-color);
            border: none;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .action-btn:hover {
            background-color: var(--primary-color);
            color: white;
            transform: scale(1.1);
        }
        
        .action-btn .tooltip {
            position: absolute;
            right: 45px;
            top: 50%;
            transform: translateY(-50%);
            background-color: var(--heading-color);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
        }
        
        .action-btn:hover .tooltip {
            opacity: 1;
            right: 50px;
        }
        
        .action-btn .tooltip:after {
            content: '';
            position: absolute;
            top: 50%;
            right: -5px;
            transform: translateY(-50%);
            border-width: 5px 0 5px 5px;
            border-style: solid;
            border-color: transparent transparent transparent var(--heading-color);
        }
        
        /* Product Body */
        .product-body {
            padding: 15px;
        }
        
        .product-title {
            font-size: 1rem;
            color: var(--heading-color);
            margin-bottom: 10px;
            font-weight: 600;
            line-height: 1.3;
            height: 40px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .product-price {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 1.1rem;
        }
        
        .product-old-price {
            text-decoration: line-through;
            color: var(--dark-gray);
            font-size: 0.9rem;
            margin-left: 8px;
        }
        
        .add-to-cart-btn {
            width: 100%;
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 8px;
            border-radius: 5px;
            font-weight: 500;
            transition: all 0.3s ease;
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .add-to-cart-btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }
        
        .add-to-cart-btn i {
            margin-right: 8px;
        }
        
        /* Pagination */
        .pagination {
            margin-top: 40px;
            justify-content: center;
        }
        
        .page-item.active .page-link {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .page-link {
            color: var(--primary-color);
            border: 1px solid var(--medium-gray);
            margin: 0 5px;
            border-radius: 5px !important;
        }
        
        .page-link:hover {
            color: var(--primary-dark);
            background-color: var(--light-gray);
        }
        
        
        /* Modal Styles */
        .product-modal .modal-content {
            border-radius: 10px;
            overflow: hidden;
            border: none;
        }
        
        .product-modal .modal-header {
            border-bottom: none;
            padding-bottom: 0;
        }
        
        .product-modal .modal-body {
            padding: 30px;
        }
        
        .modal-product-img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .modal-product-title {
            font-weight: 700;
            color: var(--heading-color);
            margin-bottom: 15px;
        }
        
        .modal-product-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        .modal-product-old-price {
            text-decoration: line-through;
            color: var(--dark-gray);
            font-size: 1.1rem;
            margin-left: 10px;
        }
        
        .modal-product-description {
            color: var(--text-color);
            margin-bottom: 25px;
            line-height: 1.6;
        }
        
        .quantity-selector {
            display: flex;
            align-items: center;
            margin: 20px 0;
        }
        
        .quantity-btn {
            width: 40px;
            height: 40px;
            background-color: var(--light-gray);
            border: 1px solid var(--medium-gray);
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .quantity-btn:hover {
            background-color: var(--medium-gray);
        }
        
        .quantity-input {
            width: 60px;
            height: 40px;
            text-align: center;
            border: 1px solid var(--medium-gray);
            margin: 0 5px;
            font-weight: 500;
        }
        
        .modal-add-to-cart {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px;
            border-radius: 5px;
            font-weight: 500;
            width: 100%;
            transition: all 0.3s ease;
            margin-bottom: 15px;
        }
        
        .modal-add-to-cart:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }
        
        .modal-secondary-btn {
            background-color: transparent;
            color: var(--heading-color);
            border: 1px solid var(--medium-gray);
            padding: 10px;
            border-radius: 5px;
            font-weight: 500;
            width: 100%;
            transition: all 0.3s ease;
            margin-bottom: 10px;
        }
        
        .modal-secondary-btn:hover {
            background-color: var(--light-gray);
        }
        
        /* Toast Notifications */
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1100;
        }
        
        .toast {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border: none;
        }
        
        .toast-header {
            background-color: var(--primary-color);
            color: white;
            border-bottom: none;
        }
        
        .toast-body {
            padding: 15px;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .nav-links {
                margin: 15px 0;
                justify-content: center;
            }
            
            .search-container {
                margin: 15px auto;
                max-width: 100%;
            }
            
            .nav-icons {
                justify-content: center;
                margin-top: 15px;
            }
            
            .nav-icon {
                margin: 0 10px;
            }
            
            .cart-sidebar {
                max-width: 100%;
            }
        }
        
        @media (max-width: 768px) {
            .page-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .product-img-container {
                height: 180px;
            }
            
            .modal-product-img {
                height: 250px;
            }
        }
        
        @media (max-width: 576px) {
            .announcement-item {
                font-size: 0.8rem;
                margin-right: 20px;
            }
            
            .product-img-container {
                height: 150px;
            }
            
            .product-title {
                font-size: 0.9rem;
                height: 36px;
            }
            
            .product-price {
                font-size: 1rem;
            }
        }
        
        /* Mobile Filter Styles */
.mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}
#mobileFilterOverlay.active {
    display: block;
}

.mobile-filter-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: white;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-filter-overlay.active .mobile-filter-sidebar {
    transform: translateX(0);
}

.mobile-filter-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.mobile-filter-body {
    padding: 1rem;
}

/* Ensure filters are visible on mobile */
.mobileFilters-section {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}