/* Tipustervek grid */
.tipustervek-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    font-family: "Poppins", Sans-serif;
}

@media (max-width: 992px) {
    .tipustervek-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tipustervek-grid {
        grid-template-columns: 1fr;
    }
}

.tipustervek-item {
    position: relative;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 45px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Népszerű állapot: zöld keret + felső badge */
.tipustervek-item--nepszeru {
    border: 2px solid #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    padding-top: 28px;
}

.tipustervek-nepszeru-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #16a34a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.tipustervek-nepszeru-ikon {
    font-size: 0.9rem;
    line-height: 1;
}

.tipustervek-fejlec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.tipustervek-cim {
    margin: 0;
    font-size:30px;
    line-height: 1.2;
    font-weight: 700;
}

.tipustervek-alapterulet {
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    color: #11b981;
}

.tipustervek-leiras {
    font-size: 15px;
    font-weight: 400;
    color: #252525;
    margin-bottom:5px;
}

.tipustervek-ar-blokk {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 25px;
}

.tipustervek-ar {
    font-size: 35px;
    font-weight: 700;
    color: #252525;
}

.tipustervek-ar-megjegyzes {
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

.tipustervek-felszereltseg {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-top: 15px;
}

.tipustervek-felszereltseg-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.tipustervek-felszereltseg-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.tipustervek-felszereltseg-nev {
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tipustervek-felszereltseg-ikon {
    color: #11b981;
    flex: 0 0 auto;
}

.tipustervek-felszereltseg-ertek {
    font-weight: 500;
    color: #111;
}

.tipustervek-empty {
    padding: 20px;
    text-align: center;
    color: #666;
}

.tipustervek-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    font-family: "Poppins", Sans-serif;
    border: 1px solid #11b981;
    padding: 16px 0px;
    background: #11b9810d;
    color: #000000;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tipustervek-cta:hover,
.tipustervek-cta:focus {
    background: #11b981;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0px 5px 80px -51px #11B981;
}

.tipustervek-cta-arrow {
    transition: transform 0.2s ease;
}

.tipustervek-cta:hover .tipustervek-cta-arrow {
    transform: translateX(3px);
}

/* Népszerű dobozban a gomb tömör zöld + fehér betű */
.tipustervek-item--nepszeru .tipustervek-cta {
    background: #11b981;
    color: #fff;
    border-color: #11b981;
}

.tipustervek-item--nepszeru .tipustervek-cta:hover,
.tipustervek-item--nepszeru .tipustervek-cta:focus {
    background: #0ea271;
    border-color: #0ea271;
    color: #fff;
}
