/* Main Layout */
body {
    background-color: #f2f4fa;
}

.products-section {
    padding: 20px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 0 auto;
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #333;
}

.section-title i {
    color: #FF4B55;
    font-size: 24px;
}

.section-title h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    max-width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.wishlist-btn i {
    color: #FF4B55;
    font-size: 14px;
}

.wishlist-btn.active {
    background: #FF4B55;
}

.wishlist-btn.active i {
    color: white;
}

/* Brand Badge */
.brand-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Product Image */
.product-image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product Info */
.product-title {
    font-size: 13px;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.4;
    text-align: right;
    min-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price Section */
.price-section {
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-price {
    color: #2C742F;
    font-size: 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.product-price i {
    color: #2C742F;
    font-size: 14px;
    margin-left: 6px;
}

.original-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.price-amount {
    display: inline-flex;
    align-items: center;
}

.price-amount .number {
    font-family: Arial, sans-serif;
    direction: ltr;
    margin: 0 2px;
}

.price-amount .currency {
    font-size: 13px;
    font-weight: 500;
    margin-right: 2px;
}

/* Add to Cart Button */
.add-to-cart {
    margin-top: auto;
    background: linear-gradient(45deg, #FF4B55, #ff6b73);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 75, 85, 0.2);
}

/* Responsive Design */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card {
        padding: 10px;
    }
    
    .product-image {
        height: 140px;
    }

    .product-price {
        font-size: 16px;
    }

    .original-price {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-title {
        font-size: 12px;
    }
    
    .product-price {
        font-size: 15px;
    }
    
    .original-price {
        font-size: 12px;
    }
    
    .add-to-cart {
        font-size: 13px;
        padding: 8px;
    }
} 