/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --light-gray: #f8f9fa;
    --text-color: #333;
    --text-light: #777;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    max-height: 50px;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-list > li {
    position: relative;
    margin: 0 10px;
}

.main-nav .nav-list > li > a {
    display: block;
    padding: 10px 15px;
    font-weight: 500;
    color: var(--dark-color);
}

.main-nav .nav-list > li > a:hover,
.main-nav .nav-list > li > a.active {
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.product-thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.btn-action {
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #fff;
    color: var(--dark-color);
    border-radius: 50%;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: var(--primary-color);
    color: #fff;
}

.product-details {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-title a {
    color: var(--dark-color);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-category {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.product-rating {
    color: #f39c12;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-price {
    margin-bottom: 15px;
}

.product-price .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .old-price {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 8px;
}

/* Section Styles */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    color: var(--dark-color);
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .product-thumb {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 24px;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
}