:root {
    --primary-color: #4e73df;
    --secondary-color: #f8f9fc;
    --accent-color: #ff6b6b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.section-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #2c3e50;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-icon {
    color: var(--primary-color);
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 0.75rem 0.5rem;
    font-size: 0.94rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.price {
    color: var(--primary-color);
    font-weight: 700;
}

.banner {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.newsletter input {
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.newsletter .btn {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 99;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 36px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-card {
        margin-bottom: 15px;
    }
    
    .product-card {
        margin-bottom: 15px;
    }
    
    .banner {
        padding: 2rem 1rem !important;
    }
    
    .newsletter .col-md-8, 
    .newsletter .col-md-4 {
        width: 100%;
        margin-bottom: 10px;
    }
}
