.bg-primary {
    background-color: #0F766E !important;
}

.bg-menu-theme {
    background-color: #0F766E !important;
}

.bg-menu-theme .menu-link,
.bg-menu-theme .menu-horizontal-prev,
.bg-menu-theme .menu-horizontal-next {
    color: #fff !important;
}

.bg-menu-theme .menu-item.active>.menu-link:not(.menu-toggle) {
    background-color: transparent;
}

.bg-menu-theme .menu-sub>.menu-item.active>.menu-link:not(.menu-toggle):before {
    background-color: #0f766e !important;
    border: 3px solid #14B8A6 !important;
}

.bg-menu-theme .menu-inner>.menu-item.open .menu-item.open>.menu-toggle::before,
.bg-menu-theme .menu-inner>.menu-item.open .menu-item.active>.menu-link::before {
    box-shadow: 0 0 0 2px #14B8A6;
}

.bg-menu-theme .menu-inner>.menu-item.active:before {
    background: #14B8A6;
}

.bg-menu-theme .menu-inner>.menu-item.active>.menu-link {
    background-color: #14B8A6 !important;
}

.bg-menu-theme .menu-inner>.menu-item.active>.menu-link>.menu-icon {
    transition: margin-right 0.3s ease;
    color: #fff;
}


.bg-menu-theme .menu-inner-shadow {
    background: linear-gradient(#0F766E 41%, rgba(255, 255, 255, 0.11) 95%, rgba(255, 255, 255, 0));
}

.bg-menu-theme .menu-text {
    color: #fff !important;
}

.btn-secondary {
    color: #fff;
    background-color: #0F766E;
    border-color: #8592a3;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(133, 146, 163, 0.4);
}

.btn-check:focus+.btn-secondary,
.btn-secondary:focus,
.btn-secondary.focus {
    color: #fff;
    background-color: #0F766E;
    border-color: #8dacdc;
    transform: translateY(0);
    box-shadow: none;
}

.btn-secondary:hover {
    color: #fff !important;
    background-color: #0F766E !important;
    border-color: #788393 !important;
    transform: translateY(-1px) !important;
}

.form-check-input:checked,
.form-check-input[type=checkbox]:indeterminate {
    background-color: #0F766E;
    border-color: #0F766E;
    box-shadow: 0 2px 4px 0 #0F766E;
}

.page-item.active .page-link,
.page-item.active .page-link:hover,
.page-item.active .page-link:focus,
.pagination li.active>a:not(.page-link),
.pagination li.active>a:not(.page-link):hover,
.pagination li.active>a:not(.page-link):focus {
    border-color: #0F766E;
    background-color: #0F766E;
    color: #fff;
    box-shadow: 0 0.125rem 0.25rem #0F766E;
}

.menu:not(.menu-no-animation) .menu-icon {
    transition: margin-right 0.3s ease;
    color: #14B8A6;
}

.bg-menu-theme .menu-header {
    color: #ffffff !important;
}

.menu-vertical .menu-sub .menu-link {
    padding-left: 2.5rem;
}

.form-check-input:focus {
    border-color: #0F766E;
    box-shadow: 0 2px 4px 0 #0F766E;
}

.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%230F766E%27/%3e%3c/svg%3e") !important;
}

.btn-check:focus+.btn-primary,
.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #0F766E;
    border-color: #0F766E;
    transform: translateY(0);
    box-shadow: none;
}

.btn-primary {
    color: #fff;
    background-color: #0F766E;
    border-color: #0F766E;
    box-shadow: 0 0.125rem 0.25rem 0 #0F766E;
}

.btn-primary:hover {
    color: #fff !important;
    background-color: #0F766E !important;
    border-color: #0F766E !important;
    transform: translateY(-1px) !important;
}

/* Botón de contraer/expandir sidebar: sin la animación de "levantarse" al hacer
   hover (hereda .btn-primary:hover, que la aplica con !important), y con el
   borde de un color fijo que no cambia al pasar el mouse. */
.sidebar-collapse-btn:hover {
    transform: translateY(-50%) !important;
    border-color: #f5f5f9 !important;
}

.btn-check:checked+.btn-primary,
.btn-check:active+.btn-primary,
.btn-primary:active,
.btn-primary.active,
.btn-primary.show.dropdown-toggle,
.show>.btn-primary.dropdown-toggle {
    color: #fff !important;
    background-color: #0F766E !important;
    border-color: #0F766E !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff !important;
    background-color: #0F766E !important;
    border-color: #0F766E !important;
    box-shadow: none !important;
}

.app-brand .layout-menu-toggle {
    background-color: #FFF;
    border: 7px solid #0F766E !important;
}

/* Sidebar colapsado (solo iconos): el tema base fija `width: 16.25rem` no solo
   en el contenedor del menú sino también en cada `.menu-item`/`.menu-header`
   por separado (ver core.css `.menu-vertical .menu-inner>.menu-item`), y ese
   ancho angosto no queda resuelto cuando el layout usa `layout-menu-fixed`.
   Por eso hay que sobreescribir el ancho en todos esos niveles, si no cada
   fila sigue midiendo 260px por dentro aunque el riel visible sea angosto
   (iconos desalineados y el tooltip, que se posiciona contra el borde del
   link, aparece lejos de la columna). */
#layout-menu {
    transition: width 0.25s ease;
}

/* El sidebar nunca debe scrollear horizontalmente, solo vertical. En mobile el
   tema le agrega la clase `.overflow-auto` de Bootstrap a `.menu-inner` (ver
   menu.js `manageScroll()`), y esa clase fija `overflow: auto` en los dos ejes
   a la vez — cualquier desborde mínimo en X (texto largo, etc.) dispara un
   scrollbar horizontal no deseado. */
#layout-menu .menu-inner {
    overflow-x: hidden !important;
}

.layout-page {
    transition: padding-left 0.25s ease;
}

/* Solo desktop (>=1200px, breakpoint xl del tema): en mobile el sidebar es un
   offcanvas que no debe angostarse ni empujar el contenido — aplicar esto sin
   el media query dejaba un padding-left "fantasma" en el contenido cuando el
   estado quedaba en collapsed=true en pantallas chicas (ver Sidebar.js, el
   trigger de auto-colapso ya lo evita, pero esto es respaldo por si acaso). */
@media (min-width: 1200px) {
    html.layout-menu-collapsed #layout-menu,
    html.layout-menu-collapsed #layout-menu .menu-inner>.menu-item,
    html.layout-menu-collapsed #layout-menu .menu-inner>.menu-header,
    html.layout-menu-collapsed #layout-menu .menu-block {
        width: 4.875rem !important;
    }

    html.layout-menu-collapsed #layout-menu .menu-inner>.menu-item>.menu-link {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    html.layout-menu-collapsed .layout-page {
        padding-left: 4.875rem !important;
    }

    html.layout-menu-collapsed .menu-inner > .menu-item > .menu-link .menu-icon {
        margin-right: 0 !important;
    }
}

/* Submenús cuando el sidebar está colapsado: en vez de mostrarse inline (no
   hay espacio para el texto en el riel angosto), Sidebar.js renderiza un
   flyout con `position: fixed` calculado por JS al pasar el mouse sobre el
   item padre. Se usa `position: fixed` (no CSS `:hover` + `position:
   absolute`) porque `.menu-inner` usa PerfectScrollbar, que fuerza su propio
   `overflow` con `!important` vía su hoja de estilos y recortaba cualquier
   flyout que intentara escapar del contenedor con overflow. */
.menu-flyout .menu-sub .menu-link {
    padding: 0.5rem 1rem !important;
    margin: 0 !important;
    white-space: nowrap;
}

.app-brand .layout-menu-toggle i {
    color: #0F766E !important;
}

html:not([dir=rtl]) .border-primary,
html[dir=rtl] .border-primary {
    border-color: #0F766E !important;
}

.border-primary {
    border-color: #0F766E !important;
}

.text-primary {
    color: #0F766E !important;
}

.border-dashed {
    border-style: dashed !important;
}

.image-previews {
    display: inline-block;
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
}

.image-previews>img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 10%;
}

.image-previews>div {
    position: absolute;
    bottom: 20px;
    right: 15px;
    color: #fff;
    background: #c32727ad;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    padding: 5px 5px 5px 5px;
}

.image-previews-selected {
    display: inline-block;
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
}

.image-previews-selected>img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 10%;
}

.image-previews-selected>div {
    position: absolute;
    bottom: 20px;
    right: 15px;
    color: #fff;
    background: #c32727ad;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    padding: 5px 5px 5px 5px;
}

.ReactModal__Overlay {
    z-index: 9999 !important;
}

.swal2-confirm {
    background-color: #0F766E !important;
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-img {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-prev-btn {
    left: 20px;
}

.lightbox-next-btn {
    right: 20px;
}

.lightbox-icon {
    width: 2.5rem;
    /* 40px */
    height: auto;
    color: white;
}

/***CATALOGO ***/
h1,
h2,
h3 {
    page-break-after: avoid;
}

.catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    padding: 0px 20px 20px 20px;
    background-color: white;
    color: #333;
    page-break-inside: auto;
    break-inside: auto;
}

.producto {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    text-align: center;
    transition: transform 0.2s ease;
    page-break-inside: auto;
    break-inside: auto;
}

.producto:hover {
    transform: scale(1.02);
}

.imagen-producto {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f0f0f0;
    margin-bottom: 10px;
    border-radius: 8px;
}

.titulo-producto {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.descripcion-producto {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.precio-producto {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    margin: 0px !important;
}

.contenedor-producto {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.contenedor-precio {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 15px 3px 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    background-color: #eb899c;
    transition: transform 0.2s ease;
    page-break-inside: auto;
    break-inside: auto;
}

.contenedor-encabezado {
    position: relative;
    text-align: center;
}

.catalogo-encabezado {
    height: 80px;
    background: #eb899c;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.logo-empresa {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.logo-empresa img {
    width: 100px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.catalogo-subtitulo {
    display: table;
    width: auto;
    margin-top: 60px;
    background-color: #eb899c;
    padding: 15px 15px 15px 20px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.pdf-mode .col-6 {
  flex: 0 0 25% !important;
  max-width: 25% !important;
}
.divAutocom {
    display: none;
    position: absolute;
    border: 1px solid #ccc;
    z-index: 70;
    background: #fff;
}
.oferta-card {
    border: 1px solid rgba(252, 96, 118, 0.35) !important;
    box-shadow: 0 4px 14px rgba(252, 96, 118, 0.16);
}

.oferta-ribbon {
    position: absolute;
    top: 10px;
    left: -6px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px 3px 8px;
    background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 3px 8px rgba(252, 96, 118, 0.45);
    line-height: 1.4;
}

.oferta-ribbon::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 5px 0;
    border-color: transparent #a83252 transparent transparent;
}

.oferta-chip-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(252, 96, 118, 0.35);
    line-height: 1.5;
    white-space: nowrap;
}

.oferta-precio-original {
    font-size: 0.78rem;
    color: #8f95a3;
    text-decoration: line-through;
    line-height: 1.3;
}

.oferta-precio-final {
    color: #fc6076;
    font-size: 1.05rem;
    line-height: 1.3;
}

.oferta-ahorro-chip {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #e0405a;
    background: rgba(252, 96, 118, 0.12);
    border-radius: 20px;
    padding: 1px 8px;
    margin-top: 2px;
}

.oferta-fila-carrito {
    background-color: rgba(252, 96, 118, 0.06);
}

@charset "UTF-8";

.auth-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background-color: #fff;
}

/* ---------- Panel de marca (solo desktop) ---------- */
.auth-shell-brand {
  position: relative;
  flex: 0 0 44%;
  max-width: 620px;
  padding: 3rem 3.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 55%, #114e4a 100%);
}

.auth-brand-header {
  position: relative;
  z-index: 2;
}

.auth-brand-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.auth-brand-hero {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.auth-brand-hero h2 {
  font-size: 1.75rem;
  line-height: 1.3;
}

.auth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 0;
}

.auth-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
}

.auth-feature-list li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.auth-brand-footer {
  position: relative;
  z-index: 2;
}

.auth-shell-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
}

.auth-shell-blob-1 {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -100px;
}

.auth-shell-blob-2 {
  width: 240px;
  height: 240px;
  bottom: -90px;
  left: -70px;
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- Panel del formulario ---------- */
.auth-shell-form {
  flex: 1 1 auto;
  padding: 2rem 1.25rem;
}

.auth-form-card {
  max-width: 400px;
}

.auth-empresa-logo {
  max-height: 120px;
  max-width: 220px;
  object-fit: contain;
}

.auth-submit-btn {
  min-height: 2.75rem;
}

@media (max-width: 991.98px) {
  .auth-shell-form {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .auth-form-card {
    max-width: 100%;
  }
}

.navbar-tpv {
    height: 3.5rem !important;
    width: calc(100% - 1.558rem * 16) !important;
    background-color: #0f766e !important;
    border-radius: 0 !important;
    color: #ffff !important;
    margin: 0 !important;
    padding: 0 !important;
    position: fixed;
}

.drawer {
    position: fixed;
    right: 0;
    top: 0;
    width: min(400px, 100vw);
    height: 100%;
    background-color: #FFFFFF;
    box-shadow: 0 0 0.375rem 0.25rem rgba(161, 172, 184, 0.15);
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 1080;
    /* margin: 20px; */
    /* border-radius: 5px; */
}

/* Drawer cerrado */
.drawer.closed {
    transform: translateX(100%);
}

/* Contenido interno del drawer */
.drawer-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    background-clip: padding-box;
    outline: 0;
}

.drawer-header {
    border-bottom: 1px solid #d9dee3;
}

.drawer-body {
    overflow-y: auto;
    position: relative;
    flex: 1 1 auto;
    padding: 10px;
}

.drawer-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    /* align-items: center; */
    justify-content: center;
    flex-direction: column;
    padding: 15px;
}

/* Botón para alternar el estado del drawer */
.toggle-button {
    position: absolute;
    top: 20px;
    left: -50px;
    padding: 10px;
    background-color: #fff;
    color: #0F766E;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.toggle-button:hover {
    background-color: #0d5c55;
    color: #fff;
}

.cursor-pointer {
    cursor: pointer;
}

/*
 * Buscador fijo del TPV: se queda pegado justo debajo del navbar (altura real 3.5rem,
 * ver .navbar-tpv arriba) mientras se hace scroll sobre la grilla de productos, para no
 * tener que volver a subir cada vez que se quiere buscar otro producto. Escopado a
 * .layout-page-tpv para que NO afecte a BuscarProductosComponent cuando lo usa el modal
 * de Cotizaciones (mismo componente compartido, ese uso no debe quedar sticky).
 */
.layout-page-tpv .buscador-productos-sticky {
    position: sticky;
    top: 3.5rem;
    z-index: 5;
    background-color: #fff;
    padding: 0.85rem 0 0.65rem;
    border-radius: 0 0 0.75rem 0.75rem;
    box-shadow: 0 6px 14px -6px rgba(15, 118, 110, 0.18);
}

@media (max-width: 575.98px) {
    .layout-page-tpv .buscador-productos-sticky {
        padding: 0.65rem 0 0.5rem;
    }
}

.avatar-tpv img {
    object-fit: cover;
}

@media (max-width: 600px) {
  .drawer {
    width: 100%;
  }
}

@media (max-width: 1199.98px) {
    .layout-navbar.navbar-detached.navbar-tpv {
        width: 100% !important;
    }

    .toggle-drawer-closed {
        display: block !important;
    }

    .layout-page.layout-page-tpv {
        padding-top: 50px !important;
    }
}

@media (min-width: 1200px) {

    .layout-page.layout-page-tpv {
        padding-right: 24.25rem !important;
        padding-left: 0 !important;
        padding-top: 50px !important;
    }
}
/* h1,
h2,
h3 {
    page-break-after: avoid;
}

.catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    padding: 0px 20px 20px 20px;
    background-color: white;
    color: #333;
    page-break-inside: auto;
    break-inside: auto;
}

.producto {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    text-align: center;
    transition: transform 0.2s ease;
    page-break-inside: auto;
    break-inside: auto;
}

.producto:hover {
    transform: scale(1.02);
}

.imagen-producto {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f0f0f0;
    margin-bottom: 10px;
    border-radius: 8px;
}

.titulo-producto {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.descripcion-producto {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.precio-producto {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    margin: 0px !important;
}

.contenedor-producto {
    margin-top: 20px;
    position: relative;
    text-align: center;
}

.contenedor-precio {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 15px 3px 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    background-color: #eb899c;
    transition: transform 0.2s ease;
    page-break-inside: auto;
    break-inside: auto;
}

.contenedor-encabezado {
    position: relative;
    text-align: center;
}

.catalogo-encabezado {
    height: 80px;
    background: #eb899c;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.logo-empresa {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.logo-empresa img {
    width: 100px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.catalogo-subtitulo {
    display: table;
    width: auto;
    margin-top: 60px;
    background-color: #eb899c;
    padding: 15px 15px 15px 20px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
} */

/*# sourceMappingURL=main.css.map*/