.modal {
    width: 100%;
    height: 100vh;
    position: fixed;
    background: rgba(1, 1, 1, 0.95);
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: modal 0.5s forwards;
    visibility: hidden;
    opacity: 0;
    animation: none;
}

.modal.active {
    visibility: visible;
    opacity: 1;
    animation: modal 0.5s forwards;
}

.containt-modal {
    width: 80%;
    min-height: 70vh;
    max-width: 1000px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    background: #FEFEFE;
    box-shadow: 0 0 30px rgba(242, 235, 33, 0.2);
    position: relative;
}

/* Columna Izquierda */
.modal-left-column {
    flex: 1;
    min-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-img {
    width: 100%;
    height: 50vh;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
}

.modal-left-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(1, 1, 1, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
}

.modal-img-description {
    font-size: 1.4rem;
    color: #010101;
    opacity: 0.8;
    font-weight: 500;
}

.modal-img-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: #010101;
    background: rgba(242, 235, 33, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
}

/* Columna Derecha */
.modal-right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
}

.modal-subtitle {
    font-size: 2rem;
    color: #010101;
    font-weight: 700;
    position: relative;
    padding-left: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-subtitle:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 80%;
    background: #ffc000;
    border-radius: 2px;
}

.modal-product-title {
    font-size: 5rem;
    font-weight: 700;
    color: #010101;
    text-shadow: 2px 2px 4px rgba(242, 235, 33, 0.2);
    margin-bottom: 1rem;
}

.modal-features-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #010101;
    border-bottom: 3px solid #ffc000;
    border-image: linear-gradient(to right,
            #ffc000 0%,
            rgba(242, 235, 33, 0.1) 100%) 1;
    padding-bottom: 0.8rem;
}

.title-highlight {
    color: #ffc000;
    text-shadow: 1px 1px 2px rgba(1, 1, 1, 0.2);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.modal-performance {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.modal-performance-item.highlight {
    border-color: #ffc000;
    background: rgba(242, 235, 33, 0.1);
    box-shadow: 0 4px 15px rgba(242, 235, 33, 0.1);
    transition: transform 0.3s ease;
}

.modal-performance-item {
    padding: 1rem;
    background: rgba(242, 235, 33, 0.05);
    border: 1px solid rgba(242, 235, 33, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.modal-performance-item:hover {
    transform: translateY(-3px);
    border-color: #ffc000;
    background: rgba(242, 235, 33, 0.1);
    box-shadow: 0 4px 15px rgba(242, 235, 33, 0.1);
}

.modal-performance-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: #010101;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.modal-performance-text {
    font-size: 1.5rem;
    color: #010101;
    opacity: 0.7;
    font-weight: 500;
}

.modal-cta {
    display: flex;
    justify-content: center;
}

.modal-btn-buy {
    all: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    padding: 0.8em 2em;
    background: #ffc000;
    border: 2px solid transparent !important;
    border-radius: 0.5em;
    box-shadow: 0 4px 15px rgba(242, 235, 33, 0.3);
    color: #010101 !important;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.modal-btn-buy::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.modal-btn-buy p {
    margin: 0;
}

.modal-btn-buy:hover {
    background: #010101 !important;
    color: #ffc000 !important;
    border-color: #ffc000 !important;
    box-shadow: 0 6px 20px rgba(242, 235, 33, 0.5);
    transform: translateY(-3px);
}

.modal-btn-buy:hover::after {
    left: 150%;
}

.modal-btn-buy:active {
    transform: translateY(0);
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(242, 235, 33, 0.5);
    border: none;
    cursor: pointer;
    margin: -10px;
    padding: 1.2rem;
    font-size: 2.5rem;
    z-index: 1000;
    transition: all 0.3s ease;
    color: #010101;
}

.modal-arrow.left { left: -50px; }
.modal-arrow.right { right: -50px; }

.modal-arrow:hover {
    background: #ffc000;
    box-shadow: 0 0 15px rgba(242, 235, 33, 0.3);
}

/* Estilos para el botón de cerrar */
#cerrar {
    display: none;
}

#btn-cerrar {
    color: #010101;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 5000;
    background: rgba(242, 235, 33, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#btn-cerrar:hover {
    background: #ffc000;
    color: #010101 !important;
}

#cerrar:checked+label,
#cerrar:checked~.modal {
    display: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes modal {
    100% {
        visibility: visible;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .containt-modal {
        flex-direction: column;
        width: 80%;
        padding: 1.5rem;
        gap: 0px;
    }

    .modal-left-column {
        gap: 0px;
        width: 100%;
        min-width: auto;
    }

    .modal-right-column{
        padding: 0px;
        gap: 0px;
    }

    .modal-img {
        height: 20vh;
        max-height: 400px;
    }

    .modal-product-title {
        font-size: 1.6rem;
        line-height: 0px;
    }

    .modal-subtitle {
        margin: 0px;
    }

    .modal-performance {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-performance-title {
        font-size: 1.4rem;
    }

    .modal-performance-text {
        font-size: 1.2rem;
    }

    .modal-btn-buy {
        width: 40%;
    }

    .modal-arrow {
        padding: 0.5rem;
        font-size: 1.2rem;
    }
    .modal-arrow.left { left: -30px; }
    .modal-arrow.right { right: -30px; }
}