:root {
    --sw-border-color: #eeeeee;
    --sw-toolbar-btn-color: #ffffff;
    --sw-toolbar-btn-background-color: #009EF7;
    --sw-anchor-default-primary-color: #f8f9fa;
    --sw-anchor-default-secondary-color: darkgreen;
    --sw-anchor-active-primary-color: darkgreen;
    --sw-anchor-active-secondary-color: #ffffff;
    --sw-anchor-done-primary-color: lightgreen;
    --sw-anchor-done-secondary-color: #fefefe;
    --sw-anchor-disabled-primary-color: #f8f9fa;
    --sw-anchor-disabled-secondary-color: #dbe0e5;
    --sw-anchor-error-primary-color: #dc3545;
    --sw-anchor-error-secondary-color: #ffffff;
    --sw-anchor-warning-primary-color: #ffc107;
    --sw-anchor-warning-secondary-color: #ffffff;
    --sw-progress-color: darkgreen;
    --sw-progress-background-color: #f8f9fa;
    --sw-loader-color: #009EF7;
    --sw-loader-background-color: #f8f9fa;
    --sw-loader-background-wrapper-color: rgba(255, 255, 255, 0.7);
}

.spinner-container {
      position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5); /* Fondo blanco con transparencia */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-container .spinner-border{
      /*color: #018543;*/
      /*color: #f2f2f2;*/
      color: #6d7071;
}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #78B645;
    color: white;
    cursor: pointer;
    font-size: 13px;
}

.circle span {
    font-size: 24px;
    line-height: 1;
}

.circles-menu-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


.salir {
    border: 1px solid #000;
    /*anchura, estilo y color borde*/
    padding: 10px;
    /*espacio alrededor texto*/
    background-color: #000;
    /*color botón*/
    color: #ffffff;
    /*color texto*/
    text-decoration: none;
    /*decoración texto*/
    text-transform: uppercase;
    /*capitalización texto*/
    /*tipografía texto*/
    border-radius: 50px;
    /*bordes redondos*/
    cursor: pointer;
}

.alert-danger_p2c {
    display: none;
}

.alert-danger_c2p {
    /*display: none;*/
}

.img-carrito {
    width: 100px;
    height: 91px;
    /*background-size: cover;*/
    background-size: contain;
  background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
}

#modal-productos-servicios .modal-title {
    line-height: 1;
    font-weight: 500;
    font-size: 24px;
}

#modal-productos-servicios .close {
    background: none;
    color: #111;
    opacity: .8;
    box-shadow: none;
}

#modal-productos-servicios .close:hover {
    background: none;
    opacity: 1;
}

span.menosmenu {
    transition: background-color 0.3s ease;
}

span.menosmenu.disabled {
    cursor: default;
    pointer-events: none;
    background-color: #dddddd;
    transition: background-color 0.3s ease;
}

.modal-header {
    align-items: center;
}

.circles-menu-container .item-quantity {
    width: 20px;
}

.contenedor-item-menu {
    border-radius: 5px;
    border: 1px solid #dddd;
    padding: 20px 40px;
}

#modal-productos-servicios {
    padding-right: 0 !important;
}

#modal-productos-servicios .contenedor-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contenedor-item-menu {
    position: relative;
}

.delete-icon-container {
    position: absolute;
    z-index: 1;
    right: 40px;
    font-size: 12px;
    top: 25px;
    line-height: 1;
}

#modal-productos-servicios .container {
    display: flex;
    gap: 10px;
    padding-right: 0;
    padding-left: 0;
    font-size: 15px;
    font-weight: 500;
}


#modal-productos-servicios .image-container {
    flex-grow: 0.25;
    display: flex;
}

#modal-productos-servicios .image-container img {
    min-width: 100px;
    max-width: 100px;
    object-fit: contain;
}

#modal-productos-servicios .content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    gap: 10px
}

#modal-productos-servicios .content-container .item-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#modal-productos-servicios .content-container .item-container:not(:first-of-type):not(:last-of-type) {
    border-bottom: 1px dotted #dddd;
    padding-bottom: 5px;
}

#modal-productos-servicios .item-quantity-button-container {
    display: flex;
    gap: 10px;

}

#modal-productos-servicios .item-quantity-container {
    display: flex;
    gap: 15px;
}

#modal-productos-servicios .item-quantity {
    text-align: center;
}

#modal-productos-servicios .item-total {
    display: flex;
    justify-content: space-between;
}

#modal-productos-servicios .title {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
}

#modal-productos-servicios .item-price {
    color: #7d7d7d;
}


#modal-productos-servicios .item-price-total {
    color: #78B645;
    font-weight: 500;
}

/*#modal-productos-servicios .modal-body {*/
/*    padding: 1rem 1.5rem;*/
/*}*/

#modal-productos-servicios .item-name span {
    margin-right: 18px;
}

#modal-productos-servicios .btn-exp-cancelar {
    margin-bottom: .25rem!important;
}

.modal#modal-registro .modal-header button.close {
    background-color: transparent;
    color: #000;
    font-weight: 500;
}

.modal#modal-registro .modal-header button.close:hover {
    box-shadow: none;
    color: initial;
}


.modal#modal-registro  h5{
    font-weight: 700
}

@media screen and (min-width: 876px) and (max-width: 1024px) {

    .img-carrito {
        width: 90px;
        height: 90px;
    }

}

@media screen and (min-width: 768px) and (max-width: 875px) {

    .img-carrito {
        width: 100%;
        /* height: 360px;*/
    }

    .product-details {
        font-size: 12px;
    }

    .product-details .product-price {
        font-size: 13px;
    }

}

@media screen and (min-width: 320px) and (max-width: 767px) {

    .img-carrito {
        width: 100%;
        /* height: 250px; */
    }

    .product-details .product-price {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .contenedor-item-menu {

        padding: 1rem 1.25rem;
    }

    #modal-productos-servicios .modal-title {
        font-size: 1.25rem;
    }

    #modal-productos-servicios .modal-body {
        font-size: 14px;
        padding-left: .5rem;
        padding-right: .5rem;
    }

    #modal-productos-servicios .modal-body .row>div:not(:first-child):not(:last-child) {
        padding-left: 5px;
        padding-right: 5px;
    }

    #modal-productos-servicios .modal-body .row>div:first-child {
        padding-right: 5px
    }

    #modal-productos-servicios .modal-body .row>div:last-child {
        padding-left: 5px
    }

    #modal-productos-servicios .modal-body {
        overflow-x: scroll;
    }

    .delete-icon-container {
        right: 20px;
        top: 20px;
    }
}

p {
    margin-top: 0;
    margin-bottom: 0px;
}

.tab-content {
    height: 100% !important;
}

.alert-success-cc {
    display: none;
}

.modal-content {
    /*   height:800px !important;*/
}

#detalle-carrito .btn,
#login_button.bg-primary-azul-AS{
  display:inline-block;
  font-weight:400;
  /*color:#212529;*/
  text-align:center;
  vertical-align:middle;
  cursor:pointer;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
  background-color:transparent;
  border:1px solid transparent;
  padding:.375rem .75rem;
  font-size:1rem;
  line-height:1.5;
  border-radius:.25rem;
  transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  text-transform: initial;
  min-height: auto
}

#detalle-carrito .btn:focus,
#login_button.bg-primary-azul-AS:focus {
  border-color: #6995eb;
  box-shadow: 0 0 0 3px rgba(105, 149, 235, 0.3);
  background-color: #5a82d4;
}

#detalle-carrito .btn.eliminar-pedido-item:hover {
    box-shadow: none
}

#detalle-carrito .btn.eliminar-pedido-item i { 
    opacity: .9;
    color: #721c24;
    transition: opacity .15s ease-in-out, background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#detalle-carrito .btn.eliminar-pedido-item:hover i { 
    opacity: 1;
}

#detalle-carrito .table td{
  vertical-align: middle;
}

#detalle-carrito .btn.eliminar-pedido-item:focus {
    box-shadow: none;
    background: none;
    border: none;
}

#detalle-carrito #boton-carrito {
    background-color: #885ECC;
}


#detalle-carrito {
    margin-bottom: 80px
}

@media screen and (max-width: 768px) {
    #detalle-carrito {
        margin-bottom: 60px
    }
}