* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.xs-product-list-body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
  
}

.xs-product-list-container {
    max-width: 1200px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.price {
    font-size: 1.3rem;
    color: #e44d26;
    font-weight: bold;
    margin-bottom: 10px;
}

.description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.buy-button {
    width: 100%;
    padding: 12px;
    background-color: #FFD700;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #DAA520;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .price {
        font-size: 1.2rem;
    }
}

.xs-product-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 40px;
    border: 1px dashed #FFD700;
    padding: 12px;
    background: #fff;
    margin-top: 10px;
}

.xs-product-list-item {
    font-size: 1.1rem;
    color: #009688;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background 0.2s;
    cursor: pointer;
    width: fit-content;
}

.xs-product-list-item a {
    color: inherit;
    text-decoration: none;
}

.xs-product-list-item a:hover {
    background: #e0f7fa;
}