/* ==========================================
   Preventa home (hero + 4 cards)
   ========================================== */

.section-preventa {
    padding: 2.5rem 0 3rem;
}

.preventa-hero {
    max-width: 1400px;
    margin: 0 auto 1.75rem;
    padding: 0 20px;
    box-sizing: border-box;
}

.preventa-hero__media {
    position: relative;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    background: rgba(8, 14, 28, 0.85);
    aspect-ratio: 21 / 9;
    min-height: 220px;
}

.preventa-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preventa-hero__body {
    position: relative;
    padding: 1.35rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(8, 14, 28, 0.98) 0%, rgba(6, 10, 20, 0.96) 100%);
    border: 1px solid rgba(82, 197, 249, 0.12);
    border-top: none;
    border-radius: 0 0 14px 14px;
}

.preventa-hero__body::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #52c5f9 35%, #38bdf8 65%, transparent 100%);
    box-shadow: 0 0 14px rgba(82, 197, 249, 0.45);
}

.preventa-hero__title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}

.preventa-hero__desc {
    margin: 0 0 1.15rem;
    max-width: 62ch;
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.82);
}

.preventa-hero__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
}

.preventa-hero__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.7rem;
}

.preventa-hero__price .precio-oferta,
.preventa-hero__price .product-price,
.preventa-hero__price .precio-actual {
    color: #52c5f9 !important;
    font-weight: 800;
    font-size: 1.55rem;
}

.preventa-hero__price .precio-original {
    color: rgba(255, 255, 255, 0.45) !important;
    text-decoration: line-through;
    font-size: 1rem;
}

.preventa-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.35rem;
    border-radius: 10px;
    background: #52c5f9;
    color: #0b1220;
    font-weight: 800;
    font-size: 0.98rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(82, 197, 249, 0.35);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.preventa-hero__cta:hover {
    background: #7dd3fc;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(82, 197, 249, 0.45);
    color: #0b1220;
}

.preventa-more {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.preventa-more__link {
    margin-bottom: 0.85rem;
}

.preventa-more__link:hover {
    border-color: rgba(82, 197, 249, 0.5);
    color: #52c5f9;
}

.section-preventa .products-rail {
    padding-top: 0;
}

@media (max-width: 834px) {
    .preventa-hero {
        padding: 0 8px;
    }

    .preventa-hero__media {
        aspect-ratio: 16 / 9;
        min-height: 180px;
        border-radius: 12px 12px 0 0;
    }

    .preventa-hero__body {
        padding: 1.1rem 1rem 1.2rem;
    }

    .preventa-hero__row {
        flex-direction: column;
        align-items: stretch;
    }

    .preventa-hero__cta {
        width: 100%;
    }

    .preventa-more {
        padding: 0 8px;
    }
}
