.card_custome {
    --card-bg: #ffffff;
    --card-accent: #7c3aed;
    --card-text: #1e293b;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);

    /*    
    width: 190px;
    height: 254px;
    */
    display: flex;
    flex-direction: column;

    /*width: 236px;*/
    /*height: 380px;*/

    height: 100%;
    width: 100%;
    max-width: 100%;
    flex-grow: 1;

    background: var(--card-bg);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
}

.card__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 60%
        );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card__glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(124, 58, 237, 0.3) 0%,
        rgba(124, 58, 237, 0) 70%
        );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card__content {
    padding: 1.25em;
    /*height: 100%;*/
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: white;
    padding: 0.25em 0.5em;
    border-radius: 999px;
    font-size: 0.7em;
    font-weight: 600;
    /*transform: scale(0.8);*/
    transform: scale(1);
    /*opacity: 0;*/
    opacity: 1;
    transition: all 0.4s ease 0.1s;
    z-index: 3;
}

.card__badge__left {
    right: auto;         /* anula el right original */
    left: 12px;          /* lo posiciona a la izquierda */
    background: #ef4444; /* color diferente, por ejemplo rojo */
}

.card__image {
    width: 100%;
    /*height: 100px;*/
    background: linear-gradient(45deg, #a78bfa, #8b5cf6);
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    /*overflow: hidden; ver*/
}

.card__image img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 30%
        ),
        repeating-linear-gradient(
        45deg,
        rgba(139, 92, 246, 0.1) 0px,
        rgba(139, 92, 246, 0.1) 2px,
        transparent 2px,
        transparent 4px
        );
    opacity: 0.5;
}

.card__text {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    padding-top: 0.5em;
}

.card__title {
    color: var(--card-text);
    font-size: 1.1em;
    margin: 0;
    font-weight: 700;
    transition: all 0.3s ease;
}

.card__description {
    color: var(--card-text);
    font-size: 0.9em;
    margin: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/*ver*/
.card__title,
.card__description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/*ver*/

.card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
    /*margin-top: auto;*/
}

.card__price {
    color: var(--card-text);
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
}

.card__button {
    /*    
    width: 28px;
    height: 28px;
    */
    width: 34px;
    height: 34px;
    background: var(--card-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(0.9);
}

/* Hover Effects */
.card_custome:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(124, 58, 237, 0.2);
}

.card_custome:hover .card__shine {
    opacity: 1;
    animation: shine 3s infinite;
}

.card_custome:hover .card__glow {
    opacity: 1;
}

/*.card_custome:hover .card__badge {
    transform: scale(1);
    opacity: 1;
    z-index: 1;
}*/

.card_custome:hover .card__image {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card_custome:hover .card__title {
    color: var(--card-accent);
    transform: translateX(2px);
}

.card_custome:hover .card__description {
    opacity: 1;
    transform: translateX(2px);
}

.card_custome:hover .card__price {
    color: var(--card-accent);
    transform: translateX(2px);
}

.card_custome:hover .card__button {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.card_custome:hover .card__button svg {
    animation: pulse 1.5s infinite;
}

/* Active State */
.card_custome:active {
    transform: translateY(-5px) scale(0.98);
}

/* Animations */
@keyframes shine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}
