.tp-e5ebb6f5-grid {
    display: grid;
    gap: 30px;
}
.tp-e5ebb6f5-cols-1 .tp-e5ebb6f5-grid { grid-template-columns: 1fr; }
.tp-e5ebb6f5-cols-2 .tp-e5ebb6f5-grid { grid-template-columns: repeat(2, 1fr); }
.tp-e5ebb6f5-cols-3 .tp-e5ebb6f5-grid { grid-template-columns: repeat(3, 1fr); }
.tp-e5ebb6f5-cols-4 .tp-e5ebb6f5-grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .tp-e5ebb6f5-cols-3 .tp-e5ebb6f5-grid,
    .tp-e5ebb6f5-cols-4 .tp-e5ebb6f5-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tp-e5ebb6f5-cols-2 .tp-e5ebb6f5-grid,
    .tp-e5ebb6f5-cols-3 .tp-e5ebb6f5-grid,
    .tp-e5ebb6f5-cols-4 .tp-e5ebb6f5-grid {
        grid-template-columns: 1fr;
    }
}

.tp-e5ebb6f5-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.tp-e5ebb6f5-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tp-e5ebb6f5-img-wrapper {
    position: relative;
    padding-top: 66%;
    background: #f0f0f0;
}
.tp-e5ebb6f5-img-wrapper img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.tp-e5ebb6f5-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
}

.tp-e5ebb6f5-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tp-e5ebb6f5-title {
    margin: 0 0 10px;
    font-size: 1.25em;
    line-height: 1.3;
}

.tp-e5ebb6f5-desc {
    margin: 0 0 20px;
    color: #666;
    flex-grow: 1;
}

.tp-e5ebb6f5-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: auto;
}

.tp-e5ebb6f5-price {
    font-weight: bold;
    font-size: 1.1em;
}

.tp-e5ebb6f5-btn {
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}
.tp-e5ebb6f5-btn:hover {
    opacity: 0.9;
    color: #fff;
}
