@font-face {
    font-family: 'DmSans-Bold';
    src: url('fonts/DMSans-Bold.ttf') format('opentype');
}

@font-face {
    font-family: 'DmSans-Light';
    src: url('fonts/DMSans-Light.ttf') format('opentype');
}

h1, h2, h3, h4{
    font-family: 'DmSans-Bold';
}

div, span, a, p {
    font-family: 'DmSans-Light';
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.achicarLogo {
    transition: transform 0.3s ease;
}

    .achicarLogo:hover {
        transform: scale(0.7) !important;
    }

.nav-link {
    color: #B7B7B7!important;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

    .nav-link:hover {
        color: #FFF!important;
        text-decoration: underline;
    }

.precioTachado{
    font-size: 1.2rem;
}

.precioNormal{
    font-size: 1.7rem;
}

.hoverAnimacion{
    opacity: 0!important;
}

.hoverAnimacion:hover{
    opacity: 0.75!important;
}

.font-17{
    font-size: 17px!important;
}

.font-18 {
    font-size: 18px !important;
}

.hoverAgrandar {
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.group:hover .hoverAgrandar {
    transform: scale(1.1);
}


@keyframes fade-slide-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-header-animate {
    animation: fade-slide-down 0.6s ease-out;
}

@keyframes fade-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-animate {
    animation: fade-slide-down 0.4s ease-out;
}

.w-90{
    width: 90%;
}

.img-container {
    position: relative;
    aspect-ratio: 1;
}

.bike-img {
    position: absolute;
    inset: 0;
    width: 85%;
    margin: auto;
    height: 85%;
    object-fit: contain;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Imagen base sale hacia la izquierda */
.fade-out-left {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

/* Imagen hover entra desde la derecha */
.fade-in-left {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

/* Estado inicial de la imagen base */
.reset {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

/* Estado inicial de la imagen hover (fuera del canvas, a la derecha) */
.reset-right {
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
}

.comprar-boton-wrapper {
    transform: translateY(3rem);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-card:hover .comprar-boton-wrapper {
    transform: translateY(0);
    opacity: 1;
}

.custom-hover-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: 0;
}

.custom-hover-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.custom-hover:hover .custom-hover-container:hover {
    transform: scale(1.10);
}

.custom-hover:hover .custom-hover-overlay:hover {
    opacity: 1;
}

.tituloProductoSplit {
    font-size: 1.5rem;
    line-height: 23px;
    margin-top: 25px;
}

.precioNormalSplit{
    font-size: 1.38rem;
}

.precioTachadoSplit {
    font-size: 2.3rem;
}

.tituloFichaProducto {
    font-size: 2.1rem
}

.espTecnicas {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

@media (max-width: 999px) {
    .espTecnicas {
        font-size: 1.2rem;
        line-height: 1.75rem;
    }

    .precioFichaProducto{
        font-size: 1.8rem;
    }

    .tituloFichaProducto{
        font-size: 1.6rem;
    }

    .precioTachadoSplit {
        font-size: 1.5rem;
    }

    .precioNormalSplit {
        font-size: 0.9rem;
    }

    .tituloProductoSplit {
        font-size: 1.1rem;
        line-height: 20px;
        margin-top: 25px;
    }

    .height21VelM{
        height: 85vh;
    }

    .custom-hover:hover .custom-hover-container:hover {
        transform: scale(1.10);
    }

    .custom-hover:hover .custom-hover-overlay:hover {
        opacity: 0;
    }

    .p-0Lista{
        padding: 0!important;
    }

    .m0Mobile{
        margin: 0!important;
    }
}