/* Hero Repuestos — mockups iPad + iPhone (PNG compuesto) */

#repuestos-hero-devices.repuestos-device-stage {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 32rem;
    min-height: 16rem;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 3.5rem;
}

#repuestos-hero-devices .repuestos-device-mock {
    margin: 0;
}

#repuestos-hero-devices .repuestos-device-frame__ipad,
#repuestos-hero-devices .repuestos-device-mock__phone {
    display: block;
    width: 100%;
    height: auto;
}

#repuestos-hero-devices .repuestos-device-frame__ipad {
    border-radius: 0.35rem;
    filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.14));
}

#repuestos-hero-devices .repuestos-device-mock__phone {
    filter: drop-shadow(0 28px 56px rgba(15, 23, 42, 0.22))
        drop-shadow(0 12px 24px rgba(15, 23, 42, 0.1));
}

#repuestos-hero-devices .repuestos-device-halo {
    pointer-events: none;
    position: absolute;
    inset: 8% 0 auto;
    z-index: 0;
    height: 50%;
    border-radius: 9999px;
    background: radial-gradient(ellipse at center, rgba(0, 132, 255, 0.08), transparent 70%);
}

#repuestos-hero-devices .repuestos-device-mock--tablet {
    position: relative;
    z-index: 10;
    width: 100%;
}

#repuestos-hero-devices .repuestos-device-mock--phone {
    position: relative;
    z-index: 20;
    width: 34%;
    max-width: 9.75rem;
    margin-left: auto;
    margin-right: 0;
    margin-top: -5.25rem;
}

@media (min-width: 640px) {
    #repuestos-hero-devices.repuestos-device-stage {
        max-width: 38rem;
        min-height: 18rem;
    }

    #repuestos-hero-devices .repuestos-device-mock--phone {
        width: 32%;
        max-width: 10.75rem;
        margin-top: -5.75rem;
    }
}

@media (min-width: 1024px) {
    #repuestos-hero-devices.repuestos-device-stage {
        max-width: none;
        min-height: 22rem;
        padding-bottom: 1.5rem;
        padding-right: 0.5rem;
    }

    #repuestos-hero-devices .repuestos-device-mock--tablet {
        max-width: 28rem;
        margin-left: auto;
        margin-right: 2rem;
    }

    #repuestos-hero-devices .repuestos-device-mock--phone {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 11.25rem;
        max-width: 11.25rem;
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    #repuestos-hero-devices .repuestos-device-mock {
        transition: none;
    }
}
