/* Ofertas activas — grid + cards modernas */
.syv-active-offers-grid {
    display: grid;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.syv-offers-cols-1 { grid-template-columns: 1fr; }
.syv-offers-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.syv-offers-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.syv-offers-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.syv-offers-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.syv-offers-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.syv-no-offers {
    margin: 0;
    padding: 24px;
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 16px;
}

.syv-offer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(27, 93, 99, 0.1);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 12px 32px rgba(27, 93, 99, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.syv-offer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(27, 93, 99, 0.22);
    box-shadow:
        0 8px 16px rgba(15, 23, 42, 0.06),
        0 20px 48px rgba(27, 93, 99, 0.16);
    text-decoration: none;
    color: inherit;
}

.syv-offer-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(145deg, #f0f9ff 0%, #e6f4f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.syv-offer-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.08) 100%);
    pointer-events: none;
}

.syv-offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.syv-offer-card:hover .syv-offer-img img {
    transform: scale(1.05);
}

.syv-offer-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45);
    line-height: 1;
}

.syv-offer-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 18px 20px 20px;
}

.syv-offer-clinic {
    margin: 0;
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(27, 93, 99, 0.08);
    color: #1B5D63;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.syv-offer-text {
    margin: 0;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}

.syv-offer-prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.syv-offer-original {
    color: #9ca3af;
    font-size: 0.95rem;
    text-decoration: line-through;
}

.syv-offer-discounted {
    color: #059669;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.syv-offer-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
    color: #1B5D63;
    font-size: 0.875rem;
    font-weight: 600;
    transition: gap 0.2s ease;
}

.syv-offer-card:hover .syv-offer-cta {
    gap: 10px;
}

@media (max-width: 1024px) {
    .syv-offers-cols-3,
    .syv-offers-cols-4,
    .syv-offers-cols-5,
    .syv-offers-cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .syv-active-offers-grid {
        gap: 16px;
    }

    .syv-offers-cols-2,
    .syv-offers-cols-3,
    .syv-offers-cols-4,
    .syv-offers-cols-5,
    .syv-offers-cols-6 {
        grid-template-columns: 1fr;
    }

    .syv-offer-img {
        height: 180px;
    }
}
