 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
        }

        /* Top Bar */
        .top-bar {
            background-color: #1a1a2e;
            color: white;
            padding: 8px 0;
            font-size: 14px;
        }

        .top-bar .container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        .top-bar-left {
            color: #fff;
        }

        .top-bar-right {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .top-bar-right a {
            color: #fff;
            text-decoration: none;
            font-size: 12px;
        }

        .top-bar-right a:hover {
            text-decoration: underline;
        }

      
        .header {
            background-color: #16213e;
            padding: 15px 0;
        }

        .header .container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        .logo {
            color: white;
            font-size: 28px;
            font-weight: bold;
            text-decoration: none;
        }

        .search-bar {
            display: flex;
            align-items: center;
            flex: 1;
            max-width: 600px;
            margin: 0 40px;
        }

        .search-bar select {
            padding: 12px 15px;
            border: none;
            background-color: #f8f9fa;
            border-radius: 5px 0 0 5px;
            font-size: 14px;
            border-right: 1px solid #ddd;
        }

        .search-bar input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            font-size: 14px;
            outline: none;
        }

        .search-bar button {
            padding: 12px 20px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
        }

        .header-right {
            display: flex;
            gap: 25px;
            align-items: center;
        }

        .header-icon {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: white;
            text-decoration: none;
            font-size: 12px;
        }

        .header-icon i {
            font-size: 20px;
            margin-bottom: 5px;
        }

        .badge {
            background-color: #dc3545;
            color: white;
            border-radius: 50%;
            padding: 2px 6px;
            font-size: 10px;
            position: absolute;
            top: -5px;
            right: -5px;
        }

        .icon-container {
            position: relative;
        }

    
        .nav-bar {
            background-color: #0f3460;
            padding: 15px 0;
        }

        .nav-bar .container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        .nav-left {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .browse-category {
            display: flex;
            align-items: center;
            gap: 10px;
            color: white;
            font-weight: bold;
            cursor: pointer;
        }

        .browse-category i {
            font-size: 18px;
        }

        .nav-menu {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            font-weight: bold;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .nav-menu a:hover {
            color: #ffc107;
        }

        .hot-badge {
            background-color: #dc3545;
            color: white;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 10px;
            margin-left: 5px;
        }

        .weekly-deal-btn {
            background-color: #ffc107;
            color: #000;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    display: flex;
    width: 100%; 
    transition: transform 1s ease-in-out;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img {
    width: 100%;
    height: 600px; 
    object-fit: cover;
    display: block;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
 }

        .hero-content {
            width: 100%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            padding: 0;
            position: relative;
            z-index: 2;
        }

        .hero-text {
            flex: 1;
            text-align: right;
            padding-right: 50px;
        }

        .hero-text h1 {
            font-size: 48px;
            color: #333;
            margin-bottom: 10px;
            font-weight: bold;
        }

        .hero-text h2 {
            font-size: 36px;
            color: #555;
            margin-bottom: 10px;
            font-weight: 300;
        }

        .hero-text h3 {
            font-size: 24px;
            color: #777;
            margin-bottom: 20px;
            font-weight: 300;
        }

        .price {
            font-size: 28px;
            color: #007bff;
            margin-bottom: 30px;
            font-weight: bold;
        }

        .shop-now-btn {
            background-color: #007bff;
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero-image {
            flex: 1;
            text-align: center;
            position: relative;
        }

        .hero-image img {
            max-width: 100%;
            height: auto;
            border-radius: 20px;
        }

        
        .carousel-dots {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 3;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            cursor: pointer;
        }

        .dot.active {
            background-color: #007bff;
        }

        .dot.inactive {
            background-color: white;
            border: 2px solid #007bff;
        }

    

        .shop-category {
            padding: 50px 0;
            background-color: #fff;
            text-align: center;
        }
        
        .shop-category h2 {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
        }
        
        .shop-category h2::after {
            content: "";
            display: block;
            width: 80px;
            height: 2px;
            background-color: #0056d2;
            margin: 8px auto 0;
        }
        
        .category-list {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 50px;
        }
        
        .category-item {
            width: 120px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .category-item:hover {
            transform: translateY(-5px);
        }
        
        .category-icon {
            width: 120px;
            height: 120px;
            border: 1px solid #ddd;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            background-color: #fff;
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
        }
        
        .category-item:hover .category-icon {
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            border-color: #0056d2;
        }
        
        .category-icon img {
            width: 70%;
            height: 70%;
            object-fit: contain;
        }
        
        .category-item p {
            font-size: 14px;
            font-weight: 500;
            color: #333;
            margin-top: 8px;
        }
        

     
        @media (max-width: 768px) {
            .header .container {
                flex-direction: column;
                gap: 15px;
            }

            .search-bar {
                width: 100%;
                margin: 0;
            }

            .nav-bar .container {
                flex-direction: column;
                gap: 15px;
            }

            .nav-menu {
                flex-wrap: wrap;
                justify-content: center;
            }

            .hero-content {
                flex-direction: column;
                text-align: center;
            }

            .hero-text {
                text-align: center;
                padding-right: 0;
                margin-bottom: 30px;
            }

            .hero-text h1 {
                font-size: 32px;
            }

            .hero-text h2 {
                font-size: 24px;
            }
        }

        @media (max-width: 480px) {
            .top-bar-right {
                flex-direction: column;
                gap: 5px;
            }

            .header-right {
                gap: 15px;
            }

            .nav-menu {
                gap: 15px;
            }

            .hero-text h1 {
                font-size: 24px;
            }

            .hero-text h2 {
                font-size: 20px;
            }
        }        	
		.container {
             max-width: 1200px; margin: 0 auto; padding: 0 20px;
             }
		.main { 
            display: flex; 
            gap: 30px; padding: 40px 0; 
        }
		.sidebar { 
            width: 260px; 
        }
		.sidebar h3 { 
            font-size: 16px; margin-bottom: 12px; color: #333; 
        }
		.sidebar .menu { 
            background: #fff; border: 1px solid #eee; padding: 20px; 
            border-radius: 6px; 
        }
		.sidebar ul {
             list-style: none;
             }
		.sidebar li {
             padding: 8px 0; 
             color: #555; }
		.content { 
            flex: 1; }
		.subcategories { 
            display:flex; gap:20px; margin-bottom:20px; flex-wrap:wrap;
         }
		.subcat { 
            width:140px; text-align:center; }
		.subcat img {
             width:100%; height:100px; 
             object-fit:cover; border:1px solid #eee; 
             border-radius:6px; }
		.toolbar { 
            display:flex; justify-content:space-between; 
            align-items:center; margin:18px 0; }
		.product-grid { 
            display:grid; grid-template-columns:repeat(3,1fr);
             gap:18px; }
		.product { 
            background:#fff; border:1px solid #eee; 
            padding:12px; border-radius:6px; text-align:left;
         }
		.product img {
             width:100%; height:180px; 
             object-fit:contain; }
		.product .title { 
            font-size:14px; 
            margin:10px 0; 
            color:#333; 
        }
		.product .price { 
            color:#414142; font-weight:bold; }
		.filter-box {
             margin:14px 0; background:#fff;
              padding:12px; border-radius:6px;
               border:1px solid #eee; }
		@media (max-width: 992px) {
			.product-grid { 
                grid-template-columns:repeat(2,1fr);
             }
			.sidebar { display:none; }
		}
		@media (max-width: 480px) {
			.product-grid { grid-template-columns:repeat(1,1fr); }
		}

  .flash {
     width:100%; padding:12px 0; }
.flash .container {
     display:flex; justify-content:space-between; 
     align-items:center; }
.flash.success { 
    background:#e6ffed; color:#0f5132; 
    border-top:1px solid #b7f5c9; 
    border-bottom:1px solid #b7f5c9; }
.flash.error {
     background:#ffe6e6; 
     color:#842029; 
     border-top:1px solid #f5b7b7;
      border-bottom:1px solid #f5b7b7; 
    }
.flash .flash-close { 
    background:transparent; border:none; font-size:18px; cursor:pointer; 
    color:inherit; }

.pd-rating { color:#f5a623; margin:6px 0 16px; 
}


       