:root {
    /* --bs-primary: #ff5ea5;  */
    /* --bs-primary: #A88ECC; 
    --bs-advertencia: #E9D502; 
    --bs-error-texto: #F54927; 
    --bs-error-fondo: #FBF8F1; 
    --bs-fondo-modal: #FEEBE7;
    --bs-hover-botones: #ff7ea5; */


    /* --color principal: #A88ECC;  */
    /* --fondo principal: #FAFAFA;  */
    /* --fondo de secciones: #F6F2FB;  */
    /* --hover: #B8A0DE;  */
    /* --texto: #222222;  */
    /* --titulos destacados: #1F1B24/#C8A96A;  */
    /* --iconos: #6D4CAA;  */
    /* --bordes: #E4DCF2;  */    

    --bs-primary: #A88ECC; 
    --bs-advertencia: #E9D502; 
    --bs-error-texto: #F54927; 
    --bs-error-fondo: #F6F2FB; 
    --bs-fondo-modal: #FAFAFA;
    --bs-hover-botones: #B8A0DE;
}
.btn-primary {
      background-color: var(--bs-primary) !important;
      border-color: var(--bs-primary) !important;
}
.btn-primary:hover {
    background-color: #B8A0DE;
    border-color: #E4DCF2;
}
.modal-content {
    border-radius: .4rem; 
}
.password-toggle {
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: #6c757d;
}

.form-floating {
    position: relative;
}
.form-control{
    border-radius:0.75rem;
}

.modal-backdrop.show {
  z-index: 100000;
}

.modal.show {
  z-index: 100010;
}
.swal2-container {
  z-index: 100011 !important;
}

/* ======== FOTO DE REGSTRO ======*/
.foto-usuario {
    margin: .5rem auto;
}

.prevPhoto {
    display: flex;
    justify-content: space-between;
    width: 130px;
    height: 120px;
    border: 1px solid #CCC;
    position: relative;
    cursor: pointer;
    background: url(../images/perfil-usuario.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin: auto;
}

.prevPhoto label {
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.prevPhoto img {
    width: 100%;
    height: 100%;
}

.upimg,
.notBlock {
    display: none !important;
}

.errorArchivo {
    font-size: 13px;
    color: #FF0040;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

.delPhoto {
    color: #FFF;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background: red;
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 10;
}
/* ======== FIN FOTO DE REGSTRO ======*/

.alerta__advertencia {
    margin-left: 1rem;
    padding: .5rem;
    background: var(--bs-error-fondo);
    color: var(--bs-error-texto);
}
.campo__error{
    color: var(--bs-advertencia);
}

/* =========    FORZAR AJUSTE TAMAÑO DE IMAGENES   ======== */
.nuestro__equipo {
  width: 300px !important;
  height: 300px !important;
  object-fit: cover; 
  border-radius: 2px;
}

.comentarios__usuario{
  width: 100px !important;
  height: 100px !important;
  object-fit: cover; 
}

.slide__footer{
  width: 138px !important;
  height: 138px !important;
  object-fit: cover; 
}

/* Imagenes de servicios en DETALLE SERVICIOS */
#contenedorServicios .dlab-media img {
    width: 270px;      
    height: 270px;      
    object-fit: cover;  
    display: block;     /* Evita espacios raros debajo */
    margin: 0 auto;     /* Centra la imagen en su contenedor */
}


/* Botones circulares de usuario/carrito */
.header-btn-circle {
    width: 35px;
    height: 35px;
    background-color: #A88ECC !important;
    border-radius: 50%;
    border: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
}

.header-btn-circle i {
    font-size: 1em;
    color: #fff;
}

.overlay-icon{
    display:none !important;
}

/* Badge del carrito */
.carrito-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    font-size: 0.65em;
    padding: 0.25em 0.45em;
    line-height: 1;
}

/* Mantener alineación del header */
.sticky-header .container {
    height: 80px; /* Ajuste opcional para estabilidad */
}

/*  Panel MARCADOS*/
/* Contenedor principal */
#marcados {
    position: relative;
}

/* Panel con scroll cuando hay muchos ítems */
#marcados .panel-scroll.scrollable {
    max-height: 260px;     /* ajusta según necesites */
    overflow-y: auto;
    padding-right: 6px;
}

/* Panel normal sin scroll */
#marcados .panel-scroll {
    overflow: visible;
    max-height: none;
}

/* Scroll elegante */
#marcados .panel-scroll::-webkit-scrollbar {
    width: 6px;
}

#marcados .panel-scroll::-webkit-scrollbar-thumb {
    background: #c7c7c7;
    border-radius: 4px;
}

#marcados .panel-scroll::-webkit-scrollbar-track {
    background: transparent;
}

/* Estilo de las tarjetas internas */
.item-widgets-box {
    display: flex;
    margin-bottom: 10px;
}

.item-widgets-left img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.item-widgets-body {
    margin-left: 10px;
}

.item-price-box .discount {
    margin-left: 8px;
    color: #e74c3c;
    font-weight: bold;
}

/* -----ESTILO MODAL CARRITO DE COMPRAS----*/
#contOrdenes {
    display: flex;
    gap: 5px;
    width: 100%;
    box-sizing: border-box;
}

/* Izquierda */
.item-productos {
    flex: 3; /* 2/3 */
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 5px 5px 0 0;
}

/* Derecha */
.resumen-precios {
    flex: 1; /* 1/3 */
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #fff;
    border-radius: 5px 5px 0 0;
    height: fit-content;
}
.resumen-precios h5,
.item-productos{
    padding: .5rem;
}

.detalle-prod-seleccionado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border-top: #ccc 1px solid;
}

/* Grupo izquierdo */
.prod-left {
    display: flex;
    align-items: center;             
    gap: 10px;
    min-width: 0;                     
}
/* Imagen */
.img-prod-sel {
    width: 60px;
    height: 60px;
    padding: .5rem;
    object-fit: contain;
    box-sizing: border-box;
    flex-shrink: 0;
}
/* Nombre con salto de línea */
.nombre-prod {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    white-space: normal;              
    word-break: break-word;           
    flex: 1;                     
    max-width: 250px;     
    min-width: 0;                               
}

/* Precio fijo */
.precios {
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.controles-cant {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: .5rem 0 0 0;
}

.controles-p {
    display: flex;
    align-items: center;
    gap: 6px;
}
.controles-p button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background-color: #f2f2f2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition:
        transform 0.15s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}
.controles-p button:hover {
    background-color: #e6e6e6;
    transform: scale(1.08);
}
.controles-p button:active {
    transform: scale(0.92);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}


.prod-prec-real,
.prod-prec-desc,
.prec-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.prod-prec-real p, 
.prod-prec-desc p, 
.prec-total p {
    margin-bottom: 4px;
}
.prec-total p {
    font-weight: bold;
    color: #000;
}

.separador-sub{
    margin-bottom: 4px;
}

#pagarProducto {
    width: 100%;
    padding: 10px;
    cursor: pointer;
    background-color: var(--bs-primary);
    color: #fff;
    border: none;
}
#pagarProducto:hover {
    color: #fff;
    background-color: var(--bs-hover-botones);
}


/* BOTON DE COMPRA PROD. DETALLE */
.add-a-carrito{
    padding: 0 20px 0 0;
}
/* IMG productos relacionados */

.item-imgpr {
    width: 100%;
    height: 280px; 
    overflow: hidden;
    position: relative;
}


.item-imgpr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} 

/* MODAL métodos de pago */
.payment-container {
    background: white;
    padding: 30px;
    max-width: 100%;
    border-radius: 5px;
}

h2 {
    text-align: center;
}

.payment-options {
    margin: 20px 0;
}

.option {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}
.option-qr{
    display: flex;
    align-items: center;
    padding-right: 8px;
    cursor: pointer;
}
.payment-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.hidden {
    display: none;
}

.validation-field {
    margin-top: 15px;
}
#transferSection p {
    margin: 2px 0;
    display: flex;
    /* justify-content: space-between; */
    justify-content: start;
}

#transferSection strong {
    font-weight: 600;
    color: #333;
}

.copy-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    border-radius: 6px;
    transition: 0.2s ease;
}

.copy-btn:hover {
    background: #e9ecef;
    transform: scale(1.1);
}

.copy-btn.copied {
    color: #28a745;
    transform: scale(1.2);
}

.validation-field input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.btn-pay {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background: var(--bs-primary);
    color: white;
    border: none;    
    cursor: pointer;
}

.btn-pay:hover {
    background: var(--bs-hover-botones)
}

/* BOTON CONFIRMAR MEDIO DE PAGO */
.loaderMetodPago{
    display:none;
}

.loadingMetPago .textSpan{
    display:none;
}

.loadingMetPago .loaderMetodPago{
    display:inline;
}

/* DROPDOWN - ICONO DE USUARIO LOGUEADO */
/* Contenedor del dropdown */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    animation: fadeInDropdown 0.2s ease;
}

/* Animación suave */
@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 10px 18px;
    color: #333;
    transition: all 0.2s ease;
}

/* Hover */
.dropdown-item:hover {
    background: #F6F2FB; /* rosado suave */
    /* color: #d81b60; color principal */
    color: #A88ECC; /* color principal */
}

/* Íconos */
.dropdown-item i {
    font-size: 14px;
    color: #999;
    transition: color 0.2s;
}

.dropdown-item:hover i {
    color: #A88ECC;
}

/* Separador opcional */
.dropdown-divider {
    margin: 6px 0;
}

/* Botón */
.header-btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #A88ECC; /* rosado */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-btn-circle:hover {
    background: #B8A0DE;
    transform: rotate(30deg);
}

/* ESTILOS MODAL RESERVAS */
.disponibilidad_reserva {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.disponibilidad_reserva a {
    color: var(--bs-primary);
}

/* Modal que se superpone */
#verDisponibilidad {
  z-index: 100060 !important;
}

/* Backdrop del modal superpuesto */
.modal-backdrop.show {
  z-index: 1055 !important;
}










