body, div, img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
    padding: 40px 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.product-card {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
}

.product-image-box {
    position: relative;
    width: 100%;
    height: 220px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-box img {
    max-height: 100%;
    object-fit: contain;
}

.badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 3px;
    z-index: 2;
}

.badge-orange {
    background-color: #f39c12;
}

.badge-red {
    background-color: #e74c3c;
}

.product-info {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-price {
    font-size: 14px;
    color: #d32f2f;
    margin-bottom: 10px;
}

.product-rating {
    font-size: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #f1c40f;
    letter-spacing: 2px;
}

.review-count {
    color: #888;
}

.product-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin-top: auto;
}