

html {
    font-size: 14px;
    font-family: sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: sans-serif !important;
}

.square-button {
    border-radius: 0 !important;
    height: calc(100% - 2px); /* Ajusta el valor si es necesario */
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container {
    display: flex;
    align-items: center;
}

#search-input {
    height: 30px; /* Ajusta este valor según sea necesario */
    line-height: 40px; /* Asegura que el texto esté centrado verticalmente */
}

#search-button {
    height: 30px; /* Debe coincidir con la altura del input */
    width: 40px; /* Ajusta este valor para hacerlo cuadrado si es necesario */
    padding: 0;
}

#search-input:focus {
    border-color: #FF0000 !important; /* Color del borde cuando está enfocado */
    outline: none; /* Elimina el borde azul predeterminado de enfoque en algunos navegadores */
}

.modal-content {
    text-align: center;
}

.payment-option {
    display: inline-block;
    width: 200px;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    border: 2px solid #D4D4D4;
    cursor: pointer;
    transition: 0.3s;
}

    .payment-option:hover {
        border-color: #007BFF;
    }

    .payment-option.selected {
        border-color: #007BFF;
        background-color: #E7F1FF;
    }

    .payment-option h4 {
        margin: 0;
    }

    .payment-option p {
        margin: 5px 0 0;
    }

.payment-option-blue {
    border-color: #007BFF;
    background-color: #E7F1FF;
}

    .payment-option-blue h4, .payment-option-blue p {
        color: #007BFF;
    }

.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

.modal-dialog {
    z-index: 1060 !important;
}

.filter-menu {
    width: 250px;
    padding: 10px;
    background-color: #f9f9f9;
    color: #000;
    font-weight: bold;
}

    .filter-menu h3 {
        font-size: 16px;
        margin: 10px 0;
        font-weight: bold;
    }

.filter-group {
    margin-bottom: 20px;
}

    .filter-group label {
        display: block;
        margin: 5px 0;
        font-size: 14px;
    }

    .filter-group input[type="checkbox"] {
        margin-right: 5px;
    }

.filter-title {
    cursor: pointer;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.filter-content {
    display: none;
    padding-left: 10px;
}

    .filter-content.show {
        display: block;
    }

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

#loadingSpinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: tr;*/
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050; /* Asegúrate de que esté encima del modal */
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.25em;
}

[data-kt-stepper-element="content"] {
    flex-direction: column; /* Alinea los elementos verticalmente */
    justify-content: center; /* Centra verticalmente */
    align-items: center; /* Centra horizontalmente */
    text-align: center; /* Opcional: centra el texto en todos los elementos hijos */
}

#table::-webkit-scrollbar {
    width: 12px; /* Ancho de la scrollbar */
}

#table::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color del track (fondo) */
}

#table::-webkit-scrollbar-thumb {
    background-color: #888; /* Color de la scrollbar */
    border-radius: 10px; /* Bordes redondeados */
    border: 3px solid #f1f1f1; /* Espacio entre scrollbar y track */
}

    #table::-webkit-scrollbar-thumb:hover {
        background: #555; /* Color al pasar el cursor por encima */
    }

.custom-modal-body {
    background-image: url('/img/logobbva.png'); /* Cambia esta ruta por la imagen que desees usar */
    background-size: cover; /* Ajusta la imagen para que cubra todo el fondo */
    background-position: center;
}

.select2-container--default .select2-selection--single {
    z-index: 1000; /* Ajusta según tus necesidades */
}

.select2-container--open {
    z-index: 9999; /* Asegura que esté por encima de otros elementos */
}

/* Para pantallas móviles, por ejemplo, con un ancho de 767px o menos */
/*@media (max-width: 767px) {
    .product-thumbnail  {
        width: 150px;
        height: 75px;
    }
    .product-item {
        width: 205px;
        height: 175px;
    }
}*/

@media (max-width: 767px) {
    /*  .symbol-150px {
        width: 100px;
        height: 100px;
    }
*/
    .quantity-input {
        width: 50px;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .container-xxl {
        padding-left: 15px;
        padding-right: 15px;
    }

    .card {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .product-images img {
        width: 100%;
        height: auto;
    }

    .thumbnail-container img {
        width: 50px;
        height: 50px;
    }

    .product-card {
        margin-top: 20px;
    }

    .quantity-section {
        margin-top: 10px;
    }

    .tabs-section {
        padding: 10px 0;
    }

    .tabs button {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (min-width: 992px) {
    .product-images {
        margin-right: 30px; /* Espacio adicional */
    }
}

.filter-content {
    display: block; /* Asegúrate de que siempre esté visible */
}

@media (max-width: 576px) {
    .stepper-nav {
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
        overflow-x: auto;
        padding: 10px 0;
    }

    .stepper-item {
        flex: 0 0 auto; /* Evita que los items se compriman */
        margin-right: 10px; /* Espacio entre los pasos */
        text-align: center;
    }

        .stepper-item:last-child {
            margin-right: 0; /* El último elemento no necesita margen a la derecha */
        }

    .stepper-icon {
        width: 30px; /* Reducimos el tamaño del ícono */
        height: 30px;
    }

    .stepper-title {
        font-size: 12px; /* Reducimos el tamaño del texto */
    }

    .stepper-desc {
        font-size: 10px; /* Reducimos la descripción */
    }

    .stepper-line {
        display: none; /* Ocultamos la línea divisoria en móvil */
    }
}

@media (max-width: 768px) {


    /* Ocultar columnas menos importantes en pantallas pequeñas */
    th:nth-child(3), td:nth-child(3), /* Descripción */
    th:nth-child(5), td:nth-child(5) /* Cantidad */ {
        display: none;
    }

    /* Ajustar el tamaño de las imágenes */
    .symbol.symbol-150px {
        width: 75px;
        height: 75px;
    }
}

.underline {
    display: inline-block;
    position: relative;
    font-size: 24px; /* Ajusta el tamaño de la fuente según tus necesidades */
    font-weight: bold;
    text-transform: uppercase;
}


    .underline::after {
        content: "";
        position: absolute;
        left: 12.5%; /* Centra el subrayado al dejar 12.5% de espacio a la izquierda */
        bottom: -5px; /* Ajusta la posición vertical del subrayado */
        width: 75%; /* Subraya solo el 75% del texto */
        height: 3px; /* Grosor de la línea */
        background-color: red; /* Color del subrayado */
    }

.underline2 {
    display: inline-block;
    position: relative;
    font-size: 24px; /* Ajusta el tamaño del texto */
    font-weight: bold;
    text-transform: uppercase;
}

    .underline2::after {
        content: "";
        position: absolute;
        left: 0; /* Ajusta la posición horizontal del subrayado */
        bottom: -5px; /* Ajusta la distancia entre el texto y el subrayado */
        width: 100%; /* Ancho del subrayado */
        height: 3px; /* Grosor de la línea */
        background-color: red; /* Color del subrayado */
        transform: scaleX(1.25); /* Agranda el subrayado un 25% más allá del texto */
        transform-origin: center; /* Centra la expansión */
    }

.custom-center {
    text-align: center; /* Centrar el texto */
    width: 100%; /* Asegurar que ocupe todo el ancho disponible */
    margin: 0 auto; /* Centrarlo dentro del contenedor */
}

/*.container {
    display: flex;
    flex-direction: column;*/ /* Asegura que los hijos se apilen verticalmente */
/*align-items: center;*/ /* Centra horizontalmente los elementos */
/*}*/
.btn-wsp {
    position: fixed !important;
    width: 60px !important;
    height: 60px !important;
    line-height: 63px !important;
    bottom: 25px !important;
    right: 25px !important;
    background: #25d366 !important;
    color: white !important;
    border-radius: 50px !important;
    text-align: center !important;
    font-size: 25px !important;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.3) !important;
    z-index: 100 !important;
    transition: all 300ms ease !important;
}

    .btn-wsp:hover {
        background: #20ba5a !important;
    }


    .btn-wsp i {
        color: inherit !important;
    }

@media only screen and (min-width:320px) and (max-width:768px) {
    .btn-wsp {
        width: 55px !important;
        height: 55px !important;
        line-height: 55px;
    }

        .btn-wsp i {
            font-size: 30px !important; /* Ajusta este valor según el tamaño que desees para móviles */
        }
}