/* =========================================================
   Discretax Premium / Premium+ visual final
   ========================================================= */

.dx-card-premium,
.dx-card-premium-plus {
    position: relative !important;
    overflow: hidden !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.dx-card-premium {
    border: 1px solid rgba(170, 95, 255, .42) !important;
    box-shadow:
        0 0 0 1px rgba(170, 95, 255, .10),
        0 12px 34px rgba(116, 64, 255, .16) !important;
    background:
        linear-gradient(180deg, rgba(170, 95, 255, .09), rgba(255,255,255,0) 42%),
        #fff !important;
}

.dx-card-premium-plus {
    border: 1px solid rgba(255, 203, 92, .62) !important;
    box-shadow:
        0 0 0 1px rgba(255, 203, 92, .16),
        0 14px 38px rgba(210, 145, 35, .22) !important;
    background:
        linear-gradient(180deg, rgba(255, 203, 92, .13), rgba(255,255,255,0) 44%),
        #fff !important;
}

.dx-card-premium:hover,
.dx-card-premium-plus:hover {
    transform: translateY(-2px) !important;
}

.dx-plan-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .35rem !important;
    min-width: 96px !important;
    max-width: calc(100% - 24px) !important;
    min-height: 31px !important;
    padding: .45rem .78rem !important;
    border-radius: 999px !important;
    font-size: .68rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.44) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.25) !important;
    backdrop-filter: blur(8px);
}

.dx-plan-badge-premium {
    background: linear-gradient(135deg, #6d44ff 0%, #9b5cff 52%, #d8c4ff 100%) !important;
}

.dx-plan-badge-plus {
    background: linear-gradient(135deg, #121212 0%, #5f3b08 48%, #ffc857 100%) !important;
}

.dx-plan-button,
.dx-premium-action,
.dx-plan-action-fixed {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .35rem !important;
    max-width: 100% !important;
    min-height: 31px !important;
    padding: .43rem .72rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.40) !important;
    color: #fff !important;
    font-size: .70rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.18) !important;
}

.dx-plan-action-premium {
    background: linear-gradient(135deg, #6d44ff 0%, #9b5cff 52%, #d8c4ff 100%) !important;
}

.dx-plan-action-plus {
    background: linear-gradient(135deg, #121212 0%, #5f3b08 48%, #ffc857 100%) !important;
}

.dx-plan-button i,
.dx-premium-action i,
.dx-plan-action-fixed i {
    color: #fff4bd !important;
    font-size: .78rem !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

.home-post-card__actions,
.home-post-card .col-12.text-end,
.dx-card-premium .col-12.text-end,
.dx-card-premium-plus .col-12.text-end {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: .42rem !important;
    overflow: visible !important;
}

.dx-card-premium .home-post-card__price,
.dx-card-premium-plus .home-post-card__price {
    color: #161616 !important;
    font-weight: 900 !important;
}

.dx-card-premium-plus .home-post-card__title a::after {
    content: " Premium+";
    display: inline-block;
    margin-left: .35rem;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    color: #9b6500;
    vertical-align: middle;
}

.dx-card-premium .home-post-card__title a::after {
    content: " Premium";
    display: inline-block;
    margin-left: .35rem;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    color: #6d44ff;
    vertical-align: middle;
}

/* Botón guardar sin contaminar */
.dx-card-premium a.btn-outline-secondary.make-favorite,
.dx-card-premium-plus a.btn-outline-secondary.make-favorite {
    background: transparent !important;
    color: #6c757d !important;
    border: 1px solid rgba(108,117,125,.42) !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
}

/* Quitar texto Premium/Premium+ añadido al lado del título */
.dx-card-premium .home-post-card__title a::after,
.dx-card-premium-plus .home-post-card__title a::after {
    content: none !important;
    display: none !important;
}
