body {
    background-color: #f5f9fc;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.index-container {
    padding: 15px;
    max-width: 1280px;
    margin: 0 auto;
}

.index-container .btn-add-to-cart a{color:#fff;}
.index-container .btn-add-to-cart a:hover{color:#ffff00;}


       .hero-banner {
            position: relative;
            overflow: hidden;
            height: 500px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 10px;
            margin-bottom: 30px;
        }
        
        .banner-content {
            position: relative;
            z-index: 2;
            padding: 60px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .banner-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .banner-subtitle {
            font-size: 1.5rem;
            margin-bottom: 30px;
            max-width: 600px;
        }
        
        .btn-pulse {
            animation: pulse 2s infinite;
            padding: 12px 30px;
            font-weight: 600;
            font-size: 1.1rem;
            border: none;
            background: #ff6b6b;
            box-shadow: 0 5px 15px rgba(255,107,107,0.4);
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        /* CSS-only animated background elements */
        .dynamic-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }
        
        .dynamic-bg span {
            position: absolute;
            display: block;
            width: 20px;
            height: 20px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            pointer-events: none;
        }
        
        .dynamic-bg span:nth-child(1) {
            top: 20%;
            left: 20%;
            animation: float 15s linear infinite;
            animation-delay: 0s;
            width: 80px;
            height: 80px;
        }
        
        .dynamic-bg span:nth-child(2) {
            top: 60%;
            left: 80%;
            animation: float 12s linear infinite;
            animation-delay: 2s;
            width: 30px;
            height: 30px;
        }
        
        .dynamic-bg span:nth-child(3) {
            top: 40%;
            left: 40%;
            animation: float 18s linear infinite;
            animation-delay: 4s;
            width: 50px;
            height: 50px;
        }
        
        .dynamic-bg span:nth-child(4) {
            top: 70%;
            left: 30%;
            animation: float 14s linear infinite;
            animation-delay: 1s;
            width: 25px;
            height: 25px;
        }
        
        .dynamic-bg span:nth-child(5) {
            top: 30%;
            left: 70%;
            animation: float 16s linear infinite;
            animation-delay: 3s;
            width: 40px;
            height: 40px;
        }
        
        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(-1000px) rotate(720deg);
                opacity: 0;
            }
        }
        
        .product-image {
            position: absolute;
            right: 50px;
            bottom: 0;
            max-height: 80%;
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
            animation: floatProduct 6s ease-in-out infinite;
        }
        
        @keyframes floatProduct {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        
        .shine-effect {
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(
                to right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.1) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            animation: shine 4s infinite;
            z-index: 1;
        }
        
        @keyframes shine {
            100% {
                left: 150%;
            }
        }
        
        @media (max-width: 992px) {
            .hero-banner {
                height: auto;
                text-align: center;
            }
            
            .banner-content {
                padding: 40px 20px;
            }
            
            .banner-title {
                font-size: 2.5rem;
            }
            
            .banner-subtitle {
                font-size: 1.2rem;
                margin-left: auto;
                margin-right: auto;
            }
            
            .product-image {
                position: relative;
                right: auto;
                max-width: 80%;
                margin: 20px auto 0;
                display: block;
            }
        }
        
        @media (max-width: 576px) {
            .banner-title {
                font-size: 2rem;
            }
            
            .banner-subtitle {
                font-size: 1rem;
            }
            
            .btn-pulse {
                padding: 10px 20px;
                font-size: 1rem;
            }
        }


.product-card {
    background: white;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.product-img-container {
    height: 400px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img {
    height:100%;
    width:100%;
    object-fit: contain;
    transition: transform 0.5s ease;
	padding:15px;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
	color:#fff;font-weight:600;
}

.badge-new {
    background: linear-gradient(135deg, #48bb78 0%, #2f855a 100%);
}

.badge-hot {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.product-body {
    padding: 1.5rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-brand {
    font-size: 0.75rem;
    color: #718096;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.rating {
    margin-bottom: 0.75rem;
}

.rating i {
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-left: 0.5rem;
}

.price-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4a5568;
}

.original-price {
    font-size: 0.9rem;
    color: #a0aec0;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.discount-percent {
    font-size: 0.75rem;
    font-weight: 700;
    color: #f56565;
    margin-left: 0.5rem;
    background: rgba(245, 101, 101, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.btn-add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    color: #ffff00
}

.pagination .page-item {
    margin: 0 3px;
}

.pagination .page-link {
    border: none;
    color: #4a5568;
    font-weight: 600;
    border-radius: 8px !important;
    min-width: 40px;
    text-align: center;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pagination .page-item:not(.active) .page-link:hover {
    background-color: #edf2f7;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    display: block;
}

.index-container .search-btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

@media (max-width: 767.98px) {
    .product-img-container {
        height: 400px;
    }

    .product-body {
        padding: 1.25rem;
    }
}

.section-title {
    position: relative;
    font-weight: 700;
    color: #2d3748;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.section-subtitle {
    font-size: 1.1rem;
}

.blog-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.badge-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
	padding: 20px;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.blog-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.blog-card .card-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    height: 90px;
    overflow: hidden;
}

.blog-card .btn-link {
    font-weight: 600;
    text-decoration: none;
    padding-left: 0;
}

.blog-card .btn-link:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .blog-card .card-img-top {
        height: 160px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}