.custom-card {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    width: 400px; /* Kisebb szélesség */
    height: 250px; /* Alacsonyabb magasság */
    border-radius: 10px;
    margin: 20px auto;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: row; /* Horizontális elrendezés */
}

.custom-card-left, .custom-card-right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.custom-card-left {
    width: 40%;
    background: #f4f4f4;
    padding: 10px;
    align-items: center;
}

.custom-card-img {
    width: 100%;
    height: 70%; /* Képmagasság csökkentése */
    object-fit: cover;
}

.custom-card-price {
    font-size: 16px; /* Kisebb betűméret az árhoz */
    color: #333;
    font-weight: bold;
}

.custom-card-right {
    width: 60%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-card-top-right {
    background-color: #333;
    color: white;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    width: 40px; /* Kisebb méretű doboz */
    align-self: flex-end;
    margin-bottom: 5px; /* Kis margó az alsó részek felé */
}

.custom-card-category, .custom-card-name {
    text-align: center;
    font-size: 16px; /* Kisebb betűméret */
    color: #555;
}

.custom-card-countdown {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.countdown-unit {
    text-align: center;
    font-size: 12px; /* Kisebb betűméret a számlálóhoz */
}

.countdown-unit span {
    display: block;
    font-size: 10px; /* Kisebb betűméret a szövegekhez */
    color: #888;
}

/* Akciós címke stílus */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff4444;
    color: white;
    padding: 5px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-img {
    position: relative;
}
