/* /Components/BackToTop.razor.rz.scp.css */
body[b-x31wkeyo42] {
}
/* /Components/Buscador/Buscador.razor.rz.scp.css */
.input-con-lupa[b-lhn03ccjet] {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.icono-lupa[b-lhn03ccjet] {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.2rem;
    pointer-events: none;
}

.input-busqueda[b-lhn03ccjet] {
    width: 100%;
    padding: 10px 12px 10px 40px; 
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .input-busqueda:focus[b-lhn03ccjet] {
        border-color: #0d6efd;
        box-shadow: 0 0 6px rgba(13, 110, 253, 0.4);
        outline: none;
    }
/* /Components/Buscador/BuscadorApi.razor.rz.scp.css */



/* Contenedor principal */
/*.searchbox-modern {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}*/

    /* Envoltorio del input + lupa + X */
    /*.searchbox-modern .input-wrap {
        position: relative;
        flex: 1 1 auto;*/ /* base desktop */
        /*min-width: 0;*/ /* evita overflow en flex */
    /*}*/

    /* Icono de lupa dentro del input */
    /*.searchbox-modern .icono-lupa {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        color: #6c757d;
        font-size: 1.1rem;
        pointer-events: none;
    }*/

    /* Input de búsqueda */
    /*.searchbox-modern .input-busqueda {
        width: 100%;
        padding: 10px 40px 10px 40px;*/ /* espacio para X (derecha) y lupa (izq) */
        /*border: 2px solid #dee2e6;
        border-radius: 8px;
        font-size: 1rem;
        background-color: #fff;
        transition: all 0.25s ease-in-out;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

        .searchbox-modern .input-busqueda:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 4px rgba(13,110,253,0.2);
            outline: none;
        }*/

    /* Botón de limpiar (X) — ahora relativo al input */
    /*.searchbox-modern .btn-clear {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: #6c757d;
        font-size: 1rem;
        cursor: pointer;
        transition: color 0.2s ease;
    }

        .searchbox-modern .btn-clear:hover {
            color: #dc3545;
        }*/

    /* Botón de buscar */
    /*.searchbox-modern .btn-buscar {
        padding: 10px 16px;
        border: none;
        background: linear-gradient(135deg, #0d6efd, #0b5ed7);
        color: #fff;
        border-radius: 8px;
        font-size: 1rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        transition: background 0.3s ease, transform 0.1s ease;
        white-space: nowrap;*/ /* evita salto de línea del texto */
    /*}

        .searchbox-modern .btn-buscar:hover:not(:disabled) {
            background: linear-gradient(135deg, #0b5ed7, #084298);
            transform: translateY(-1px);
        }

        .searchbox-modern .btn-buscar:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }*/

/* ====== Responsive ====== */

/* XS-SM: botón solo con ícono, input más chico */
/*@media (max-width: 576px) {
    .searchbox-modern {
        max-width: 100%;
        gap: .4rem;
    }*/

        /* El input no ocupa todo: ~70% para dejar respiro al botón */
        /*.searchbox-modern .input-wrap {
            flex: 1 1 70%;
        }

        .searchbox-modern .input-busqueda {
            padding: 8px 36px 8px 36px;
            font-size: .95rem;
        }

        .searchbox-modern .btn-buscar {
            padding: 8px 10px;
        }*/

            /* Ocultar texto del botón en móvil */
            /*.searchbox-modern .btn-buscar .btn-text {
                display: none;
            }

            .searchbox-modern .btn-buscar i {
                margin-right: 0 !important;
            }
}*/

/* MD+: input al 100%, botón con texto */
/*@media (min-width: 577px) {
    .searchbox-modern .input-wrap {
        flex: 1 1 auto;
    }

    .searchbox-modern .btn-buscar .btn-text {
        display: inline;
    }
}*/
/* /Components/ComponentDatosEmpresa.razor.rz.scp.css */
.dropdown-menu-custom[b-0v0u004u21] {
    position: absolute;
    top: 100%;
    right: 0; /* se alinea a la derecha del botón */
    margin-top: 4px;
    min-width: 250px;
    max-width: 400px; /* más ancho para datos largos */
    white-space: normal;
    z-index: 1050;
    animation: slideDown-b-0v0u004u21 0.25s ease-out forwards;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: visible;
}

/* Responsive: en pantallas pequeñas usa el ancho completo */
@media (max-width: 576px) {
    .dropdown-menu-custom[b-0v0u004u21] {
        left: 0;
        right: auto;
        width: 90vw; /* casi todo el ancho de la pantalla */
    }
}

.dropdown-menu-custom.show[b-0v0u004u21] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Animación */
@keyframes slideDown-b-0v0u004u21 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botón estilo link */
.btn-link[b-0v0u004u21] {
    cursor: pointer;
    text-decoration: none;
}

    .btn-link:hover[b-0v0u004u21],
    .btn-link:focus[b-0v0u004u21] {
        text-decoration: underline;
    }
/* /Components/ComponentDialog.razor.rz.scp.css */
/* ===== Dialog desde cero (compatible con tu markup actual) ===== */

/* Backdrop a pantalla completa */
.dialog-container[b-3umgys8rig] {
    position: fixed; /* robusto en móviles */
    inset: 0; /* top/right/bottom/left: 0 */
    background: rgba(0,0,0,.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem; /* margen al borde del viewport */
    animation: dlg-backdrop-fade-b-3umgys8rig .18s ease-out;
    overscroll-behavior: contain; /* evita scroll del fondo en móvil */
}

/* Caja del diálogo */
.dialog[b-3umgys8rig] {
    --dlg-footer-h: 3.25rem; /* alto del pie (para padding inferior del body) */
    background: #fff;
    color: #222;
    width: 700px; /* desktop */
    max-width: 95vw; /* móvil/tablet */
    max-height: calc(100vh - 2rem);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* el body scrollea, no la caja */
    animation: dlg-pop-b-3umgys8rig .22s cubic-bezier(.2,.7,.2,1);
}

/* Título (pegado arriba al hacer scroll) */
.dialog-title[b-3umgys8rig] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #444;
    color: #fff2cc;
    padding: 1rem .75rem;
}

    .dialog-title h2[b-3umgys8rig] {
        margin: 0;
        font: 600 1.25rem/1.2 Arial, Helvetica, sans-serif;
        color: #fff;
    }

/* Cuerpo con scroll propio */
.dialog-body[b-3umgys8rig] {
    flex: 1 1 auto;
    padding: .75rem 1rem 1rem .75rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overflow-wrap: anywhere; /* evita desbordes por palabras largas */
    word-break: break-word;
    /* Evita que el footer sticky tape contenido al final */
    padding-bottom: calc(var(--dlg-footer-h) + .5rem);
}

/* Botonera (pegada abajo al hacer scroll) */
.dialog-buttons[b-3umgys8rig] {
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
    padding: .5rem .75rem;
    height: var(--dlg-footer-h);
    border-top: 1px solid rgba(0,0,0,.06);
}

/* Animaciones */
@keyframes dlg-backdrop-fade-b-3umgys8rig {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dlg-pop-b-3umgys8rig {
    from {
        transform: translateY(24px) scale(.98);
        opacity: .96;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* ===== Ajustes para pantallas chicas ===== */
@media (max-width: 576px) {
    .dialog[b-3umgys8rig] {
        max-height: calc(100vh - 1.5rem);
        border-radius: 10px;
    }

    .dialog-title[b-3umgys8rig] {
        padding: .8rem .75rem;
    }

        .dialog-title h2[b-3umgys8rig] {
            font-size: 1.1rem;
        }

    .dialog-body[b-3umgys8rig] {
        padding: .6rem .75rem 1rem .6rem;
    }

    .dialog[b-3umgys8rig] {
        --dlg-footer-h: 3rem;
    }
    /* pie un poco más compacto */
    .dialog-buttons[b-3umgys8rig] {
        padding: .45rem .6rem;
    }

        .dialog-buttons .btn[b-3umgys8rig] {
            min-height: 44px;
        }
    /* objetivo táctil recomendado */
}

/* Respeta preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .dialog-container[b-3umgys8rig], .dialog[b-3umgys8rig] {
        animation: none !important;
    }
}
/* /Components/ComponentEstadoCuenta.razor.rz.scp.css */

.icon-hover-red i[b-in8zdsr39c] {
    transition: color 0.2s ease-in-out;
}

.icon-hover-red:hover i[b-in8zdsr39c] {
    color: red !important;
}

.icon-hover-red[b-in8zdsr39c] {
    transition: border-color 0.2s ease-in-out;
}

    .icon-hover-red:hover[b-in8zdsr39c] {
        border-color: red !important;
    }
/* /Components/Paginar.razor.rz.scp.css */
/* Centrado y limpio */
.pagi[b-winlih9n4v] {
    display: flex;
    justify-content: center;
}

.pagi-list[b-winlih9n4v] {
    list-style: none;
    display: flex;
    gap: .4rem;
    padding: 0;
    margin: 0;
}

/* Botones estilo píldora */
.pagi-btn[b-winlih9n4v] {
    border: none;
    border-radius: 999px;
    padding: .45rem .85rem;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    cursor: pointer;
    transition: transform .08s ease, box-shadow .12s ease, background-color .12s ease;
    min-width: 2.25rem;
}

    .pagi-btn:hover:not(:disabled)[b-winlih9n4v] {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0,0,0,.12);
        background: rgba(13,110,253,.08); /* suave */
    }

    .pagi-btn.active[b-winlih9n4v] {
        background: #0d6efd; /* azul Bootstrap */
        color: #fff;
        box-shadow: 0 6px 16px rgba(13,110,253,.25);
    }

    .pagi-btn:disabled[b-winlih9n4v] {
        background: #f1f3f5;
        color: #9aa1a8;
        cursor: not-allowed;
        box-shadow: none;
    }

    .pagi-btn.ellipsis[b-winlih9n4v] {
        padding: .45rem .7rem;
    }

/* Dark mode opcional */
@media (prefers-color-scheme: dark) {
    .pagi-btn[b-winlih9n4v] {
        background: #1a1f24;
        color: #e6e6e6;
        box-shadow: 0 1px 4px rgba(0,0,0,.4);
    }

        .pagi-btn:hover:not(:disabled)[b-winlih9n4v] {
            background: #222a31;
        }

        .pagi-btn:disabled[b-winlih9n4v] {
            background: #2a2f35;
            color: #7d8893;
            box-shadow: none;
        }

        .pagi-btn.active[b-winlih9n4v] {
            background: #3b82f6;
            box-shadow: 0 6px 16px rgba(59,130,246,.25);
        }
}
/* /Components/Producto/ComponentProductoDetalle.razor.rz.scp.css */
.icon-hover-red i[b-xpvg428id7] {
    color: white !important;
    transition: color 0.2s ease-in-out;
}

.icon-hover-red:hover i[b-xpvg428id7] {
    color: red !important;
}

.icon-hover-red[b-xpvg428id7] {
    border-color: white !important;
    transition: border-color 0.2s ease-in-out;
}

.icon-hover-red:hover[b-xpvg428id7] {
    border-color: red !important;
}
/* /Components/Producto/ComponentSeleccionPresentacion.razor.rz.scp.css */

.icon-hover-red i[b-pdahe4li8g] {
    transition: color 0.2s ease-in-out;
}

.icon-hover-red:hover i[b-pdahe4li8g] {
    color: red !important;
}

.icon-hover-red[b-pdahe4li8g] {
    transition: border-color 0.2s ease-in-out;
}

    .icon-hover-red:hover[b-pdahe4li8g] {
        border-color: red !important;
    }
/* /Components/Producto/FloatingProduct.razor.rz.scp.css */
.fab-btn[b-bqedw9ura1] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    outline: none;
    background-color: var(--fab-bg, #ff6a00);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .08s ease, box-shadow .08s ease, background-color .12s ease;
    cursor: pointer;
}

    .fab-btn i[b-bqedw9ura1] {
        color: var(--fab-icon, #fff);
        font-size: 1.35rem;
        line-height: 1;
    }

    .fab-btn:hover[b-bqedw9ura1] {
        transform: translateY(-1px);
    }

    .fab-btn:active[b-bqedw9ura1] {
        transform: translateY(0);
        box-shadow: 0 .25rem .75rem rgba(0,0,0,.15) !important;
    }

    .fab-btn:focus-visible[b-bqedw9ura1] {
        box-shadow: 0 0 0 .25rem rgba(255,106,0,.35), 0 .5rem 1rem rgba(0,0,0,.15);
    }

@media (prefers-reduced-motion: reduce) {
    .fab-btn[b-bqedw9ura1] {
        transition: none;
    }
}
/* /Layout/ComponentMenuIzquierdo.razor.rz.scp.css */
/* Estilo general del menú */
nav.menu[b-yvb2ha14ni] {
    background-color: #fff;
    max-width: 280px;
    height: 100%;
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 1050;
}

    /* Estilo de los items */
    nav.menu .menu-item[b-yvb2ha14ni] {
        padding: 0.5rem 1rem;
        margin-bottom: 0.3rem;
        font-size: 0.95rem;
        cursor: pointer !important;
    }

    /* Subitems */
    nav.menu .submenu .nav-link[b-yvb2ha14ni],
    nav.menu .nav-link[b-yvb2ha14ni] {
        display: flex;
        align-items: center;
        padding: 0.5rem 0.6rem;
        border-radius: 0.5rem;
        line-height: 1.2;
        color: var(--bs-body-color);
        text-decoration: none;
    }

        /* Hover/focus */
        nav.menu .submenu .nav-link:hover[b-yvb2ha14ni],
        nav.menu .nav-link:hover[b-yvb2ha14ni] {
            background: rgba(13,110,253,.06); /* azul clarito */
            outline: none;
            text-decoration: none;
        }

        /* Separación visual entre subitems */
        nav.menu .submenu .nav-link + .nav-link[b-yvb2ha14ni] {
            margin-top: 0.25rem;
        }

    /* Chevron */
    nav.menu .menu-header .toggle-icon[b-yvb2ha14ni] {
        margin-left: auto;
        transition: transform .2s ease;
    }

    /* Expand rotation (cosmética) */
    nav.menu .menu-header[aria-expanded="true"] .toggle-icon[b-yvb2ha14ni],
    nav.menu .menu-item .menu-header.expandido .toggle-icon[b-yvb2ha14ni] {
        transform: rotate(90deg);
    }

    /* Animación de despliegue del contenedor de subitems */
    nav.menu .submenu[b-yvb2ha14ni] {
        transition: max-height .25s ease, opacity .2s ease;
        overflow: hidden;
    }

/* ===== Mobile tweaks ===== */
@media (max-width: 767px) {
    nav.menu[b-yvb2ha14ni] {
        position: absolute;
        width: 280px;
        max-width: 90%;
        font-size: 1.1rem;
    }

        nav.menu .submenu[b-yvb2ha14ni] {
            padding-left: 1.5rem;
        }

        nav.menu .menu-header[b-yvb2ha14ni] {
            font-weight: 600;
        }

        nav.menu .submenu .nav-link[b-yvb2ha14ni] {
            padding: 0.5rem 0.6rem;
            font-size: 1.05rem;
            min-height: 22px;
        }
}

/* ===== Estados activos (aplicados vía clase nav-link-active) ===== */
.nav-link-active[b-yvb2ha14ni] {
    color: #0d6efd !important;
    font-weight: 600 !important;
    border-left: 3px solid #0d6efd !important;
    padding-left: calc(0.3rem - 2px);
    border-radius: 0.25rem;
}

/* Si por alguna razón existe active de bootstrap, no debe pisar la visual que queremos */
nav.menu .nav-link.active[b-yvb2ha14ni] {
    background: transparent !important;
    color: inherit !important;
}

.menu-container[b-yvb2ha14ni] {
    width: 250px;
    background: white;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    /* Animación */
    transition: transform 0.3s ease;
    z-index: 1000;
}

/* Menú cerrado → se va hacia la izquierda */
.menu-closed[b-yvb2ha14ni] {
    transform: translateX(-260px);
}

/* Menú abierto → visible */
.menu-open[b-yvb2ha14ni] {
    transform: translateX(0);
}

/* Estilos internos opcionales */
nav ul[b-yvb2ha14ni] {
    list-style: none;
    padding: 20px;
}

    nav ul li[b-yvb2ha14ni] {
        margin-bottom: 15px;
    }

        nav ul li a[b-yvb2ha14ni] {
            color: #333;
            text-decoration: none;
            font-weight: 500;
        }
/* /Layout/MainLayout.razor.rz.scp.css */
.mobile-menu-container[b-2m0947y3f5] {
    position: absolute;
    padding-top: 2rem;
    top: 4rem;
    left: 0;
    height: 90%;
    width: 260px;
    background: white;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 1100;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.15);
}

/* cerrado */
.mobile-menu-container.closed[b-2m0947y3f5] {
    transform: translateX(-270px);
}

/* abierto */
.mobile-menu-container.open[b-2m0947y3f5] {
    transform: translateX(0);
}

/* backdrop */
.menu-backdrop[b-2m0947y3f5] {
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 1000;
}
/* /Pages/Carrito/PageCarrito.razor.rz.scp.css */
/* /Pages/Carrito/PageItemCarrito.razor.rz.scp.css */
/* Por defecto en pantallas grandes (desktop) los inputs se ven normales */
.form-control[b-6mgsi0yj4c],
.form-select[b-6mgsi0yj4c],
textarea.form-control[b-6mgsi0yj4c] {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
}

/* En pantallas chicas (móviles) se achican */
@media (max-width: 576px) {
    .form-control[b-6mgsi0yj4c],
    .form-select[b-6mgsi0yj4c],
    textarea.form-control[b-6mgsi0yj4c] {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
        border-radius: 0.2rem;
    }
}

.icon-hover-red i[b-6mgsi0yj4c] {
    transition: color 0.2s ease-in-out;
}

.icon-hover-red:hover i[b-6mgsi0yj4c] {
    color: red !important;
}

.icon-hover-red[b-6mgsi0yj4c] {
    transition: border-color 0.2s ease-in-out;
}

    .icon-hover-red:hover[b-6mgsi0yj4c] {
        border-color: red !important;
    }
/* /Pages/Home.razor.rz.scp.css */
.btn-card[b-65yda6uh0r] {
    cursor: pointer;
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .btn-card:hover[b-65yda6uh0r] {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

    .btn-card:active[b-65yda6uh0r] {
        transform: scale(0.98);
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }
/* /Pages/Operaciones/ComponentPedidoDetalle.razor.rz.scp.css */
.icon-hover-red i[b-j0ayfqzupp] {
    color: white !important;
    transition: color 0.2s ease-in-out;
}

.icon-hover-red:hover i[b-j0ayfqzupp] {
    color: red !important;
}

.icon-hover-red[b-j0ayfqzupp] {
    border-color: white !important;
    transition: border-color 0.2s ease-in-out;
}

    .icon-hover-red:hover[b-j0ayfqzupp] {
        border-color: red !important;
    }
/* /Pages/Producto/PageProducto.razor.rz.scp.css */
.producto-card[b-7khzo16v4e] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .producto-card:hover[b-7khzo16v4e] {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
      /*  cursor: pointer;*/
    }
