/* Alineación cantidad + icono fragancias en carrito */
.qty-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qty-cell input[type="number"] {
  margin: 0;
}
.qty-cell .fragancia-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1;
  padding: 0;
  width: 18px;
  min-width: 18px;
}
.qty-cell .fragancia-trigger i {
  line-height: 1;
  vertical-align: middle;
  font-size: 16px;
}
/* Placeholder invisible para alinear cuando no hay fragancias */
.fragancia-placeholder { pointer-events: none; }
.fragancia-placeholder i { opacity: 0; }
:root {
  --verde: #19a79c;
  --verdeclaro: #19a79c;
  --negro: black;
  --celeste: #007aff;
  --verde_claro: #19a79c;
  --azul: #2e5bba;
  --violeta: darkviolet;
  --base_color_1: #2e5bba;
}

/* Sobrescribir ancho container en Bootstrap 4 */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px; /* en lugar de 1140px */
  }
}

@media (min-width: 1300px) {
  .container {
    max-width: 1300px; /* breakpoint "extra grande" estilo Bootstrap 5 */
  }
}

/* piso colores de bootrap */
.btn-primary {
  background-color: var(--azul) !important;
  border-color: var(--azul) !important;
}

.btn-primary:hover {
  background-color: var(--azul) !important;
  border-color: var(--azul) !important;
}

.btn-outline-primary {
  color: var(--azul);
  border-color: var(--azul);
}

.btn-outline-primary:hover {
  color: white;
  border-color: var(--azul);
  background-color: var(--azul);
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background-color: #fff !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.semaforo {
  padding: 0 8px;
  border-radius: 100px;
}

.container,
.container-fluid {
  position: relative;
}

.card-title {
  padding: 20px;
  color: #333;
}

.card-image {
  border-radius: 5px 0 5px 0;
  padding: 10px;
  margin-bottom: 25px;
  text-align: center;
  height: 250px;
}

.exhibitor-item {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  overflow: hidden;
  width: 100vw;
}

a {
  color: var(--azul);
}

.small-text {
  font-size: 12px;
}

.text-info {
  font-size: 14px;
  color: white !important;
}

a.text-info:hover
 {
    color: white !important;
    font-weight: bold;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: var(--verde);
  border-color: var(--verde);
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: var(--black);
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
  color: rgba(0, 0, 0, 0.9);
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .navbar-nav {
    justify-content: end;
    align-items: end;
  }
  .cart-count {
    right: -11px;
  }
}

.main-menu-contenedor {
  display: flex;
  justify-content: end;
  align-items: center;
}
.home-menu i {
  color: var(--azul);
  font-size: 15px;
}

.home-menu i:hover {
  color: var(--celeste);
  font-size: 15px;
}

.cart-menu i {
  color: var(--azul);
  font-size: 24px;
}

.cart-menu i:hover {
  color: var(--celeste);
  font-size: 24px;
}

.separador-menu {    
  display: flex ;
  justify-content: center;
  align-items: center;
  color: var(--azul);
  padding: 0 10px;
}

.logo {
  width: 99px;
}

a:hover {
  text-decoration: none;
}

.navbar-light .navbar-nav .nav-link{
  color: var(--azul);
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--celeste); 
}

.cart-menu li.nav-item {
    padding: 0 10px;
}

.breadcrumb {
  background-color: transparent;
}

ol.breadcrumb {
  padding: 0 15px;
  border-radius: 0;
}

.breadcrumb li a {
  color: #333;
}

.btn-success {
  background-color: var(--base_color_1) !important;
  border-color: var(--base_color_1) !important;
}

.btn-primary {
  background-color: var(--base_color_1) !important;
  border-color: var(--base_color_1) !important;
}

.btn-general {
  background-color: #999;
  color: white;
}

.breadcrumb-item {
  padding: 10px 0 0 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #333;
  content: ">";
}

span.categoria {
  padding: 10px 0px 0px 20px;
  color: lightgray;
}

.categoria a {
  color: cadetblue;
}

.card-body1 {
  color: #333;
  background-color: #fff;
  border-radius: 4px;
  text-decoration: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  z-index: 1;
}

.card-body1 {
  box-shadow: 0 1px 1px 0 rgb(0 0 0 / 10%);
  /* display: inline-block; */
  vertical-align: text-top;
  -webkit-transition: height 0.1s ease-out;
  transition: height 0.1s ease-out;
}

.card-body1:hover {
  box-shadow: 0 7px 16px 0 rgb(0 0 0 / 20%), 0 1px 3px 0 rgb(0 0 0 / 10%);
  z-index: 9999;
}

.buscador {
  width: 80% !important;
  display: inline-block;
}

.dropdown-toggle::after {
  display: none;
}

.nav-categorias-left .nav-item {
  padding: 0px;
  width: 100%;
}

.fotoproducto250 {
  max-height: 250px;
  max-width: 100%;
}

.foto-producto img {
  width: auto;
  max-height: 600px;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
  height: auto;
  object-fit: contain;
  width: 100%;
}




@media (max-width: 500px) {
  .nav-categorias-left {
    margin-bottom: 10px;
    opacity: 0.9;
  }

  .logo-contenedor {
    text-align: center;
  }

 

  .dropdown-menu {
    border: none;
    padding-left: 10px;
  }
}

.footer{
  background-color: var(--azul);
}

.navbar-light .navbar-toggler {
  padding: 10px;
  border-color: transparent;
}

.nav-item {
  color: var(--azul);
}

.btn-pill {
  border-radius: 50px;
  font-size: 12px;
}

#btn-back-to-top {
  background-color: #495057;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  border: 0;
  position: fixed;
  bottom: 80px;
  top: auto;
  right: 27px;
  z-index: 999999;
}

.bt_wp {
  background-color: #4dc247;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  border: 0;
  position: fixed;
  bottom: 20px;
  top: auto;
  right: 20px;
  z-index: 999999;
}

.bt_wp svg {
  width: 50px;
  height: 50px;
  padding: 7px 0px;
  fill: white;
  vertical-align: middle;
}

#loadingDiv {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 99998;
  opacity: 0.9;
}

.ip-logo {
  position: absolute;
  left: 0;
  width: 100%;
  cursor: default;
  pointer-events: none;
  z-index: 99999999;
  margin-left: auto;
  margin-right: auto;
  width: 50px;
  height: 50px;
  right: 0;
  top: 50%;
}

table#carrito_tabla {
    font-size: 14px;
}

.dataTables_wrapper .dataTables_filter input {
  border: 1px solid #e9e9e9;
}

.table-scrollbar {
  position: relative;
  height: 600px;
  overflow: auto;
}

.table-wrapper-scroll-y {
  display: block;
}

input[type="radio"],
input[type="checkbox"] {
  width: 20px;
}

li.ui-menu-item {
  font-size: 12px;
  width: 100%;
}

.carousel-indicators li {
  padding: 3px !important;
}

.dropdown-menu {
  padding: 10px;
  min-width: 11rem;
}

.btn_agregar_producto_combo {
  background: var(--verde);
  width: 60px;
  color: white;
}

/**chosen bootstrap adapt */
.chosen-container {
  display: block;
  width: 100% !important;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem !important;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.mini-text {
  font-size: 14px;
  color: blue;
}

.bg-sucs {
  background: darkslateblue;
}

a.chosen-single {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
}

.bg-es-oferta {
  background: khaki;
}

.bg-es-novedad {
  background: lightseagreen;
}

/* TABS pedidos masivos */
.tab-content {
  color: white;
  border: 1px solid lightgrey;
  padding: 5px 15px;
}

/* remove border radius for the tab */

#exTab1 .nav-pills > li > a {
  border-radius: 0;
}

/**Slick slider */

.contenedor-producto-slick {
  max-height: 435px;
  height: 100%;
}

.box-shadows {
  border-radius: 6px;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 12%);
}

.detalle_producto-slick {
  height: 165px;
  padding: 14px 14px 10px;
  position: relative;
  text-align: left;
}

.badge-novedad {
  background-color: #3483fa;
  color: white;
  border-radius: 3px;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  padding: 2px 4px;
}

.swal2-title {
  font-size: 20px !important;
}

.swal2-styled.swal2-confirm {
  background-color: var(--verde) !important;
}

.table-fixed-head {
  overflow: auto;
  height: 100px;
}

.table-fixed-head thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Just common table stuff. Really. */
table {
  border-collapse: collapse;
  width: 100%;
}

th {
  background: #fff;
}

.table td,
.table th {
  border-top: none;
  border-bottom: 1px solid grey;
}

table#pedidos_tabla_ofertas tbody {
  font-size: 14px;
}

h5.mensaje_primer_ingreso {
  padding: 10px;
  background: darkseagreen;
  color: white;
  border: 1px solid green;
  text-align: center;
  margin-bottom: 25px;
  font-size: 17px;
  font-weight: 100;
}

button.dt-button.buttons-pdf.buttons-html5 {
  margin-left: 15px;
}

div#tb_ccc_length {
  margin-top: 5px;
}

/* botones laterales en tienda */
.btn_lateral {
  height: 70px;
  font-size: 13px;
  width: 100% !important;
}

.btn_ver_pedidos_masivos {
  background: gold;
}

.btn.btn_ver_faltas {
  background: #e9e9e9;
}

.btn_agregar_producto {
  background: var(--verde);
  color: white;
}

a.btn.btn_ver_cart {
  background: darkorange;
  color: white;
}

table#pedidos_tabla td {
  font-size: 14px;
}

/* Estilo para la cantidad que se muestra en el ícono */
.cart-count {
  position: absolute;
  top: -7px;
  right: 0px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 3px 8px;
  font-size: 12px;
}

div#home_carrito li {
  font-size: 12px;
}

/**REVIEW 25*/
/**main head menu y logo */
.main-header {
  padding: 20px;
  box-shadow: 0 1px 0 0 rgb(0 0 0 / 10%);
  z-index: 80;
  background: white;
}

/**Filtros y Ordenamiento */
.total-registros {
  margin: 5px 10px;
}

#buscador {
  border-right: none !important;
  border-radius: 5px 0 0 5px !important;
}

.caja-buscador:focus-within {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#buscador {
  box-shadow: none !important;
  border-color: none !important;
}

#buscador:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

.chk-stock {
  width: 99px;
  border-left: none;
  border-radius: 0 5px 5px 0px;
}

.chk-stock label {
  padding: 0 15px;
}

.unstilish-selector {
  max-width: 200px;
  background-color: transparent;
  border: none;
}

/*Minicart*/
.cart-icon {
  position: fixed;
  top: 50%;
  right: 10px;
  background: #ff6600;
  color: white;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* Carrito flotante */
.minicart {
  position: fixed;
  top: 0;
  right: -450px;
  /* Oculto por defecto */
  width: 450px;
  height: 100vh;
  background: white;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
  padding: 20px;
  z-index: 999;
}

div#main-carrito-container {
  height: 350px;
  overflow-y: auto;
}

/* Mostrar carrito */
.minicart.open {
  right: 0;
}

/* Botón cerrar */
.close-cart {
  background: white;
  color: red;
  border: 1px solid red;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  display: block;
  margin-bottom: 10px;
}

.carrito-sin-productos {
  min-height: 150px;
  background: whitesmoke;
  text-align: center;
  padding-top: 20px;
  font-weight: bold;
}

.nav-carrito {
  list-style: none;
  margin-top: 15px;
  width: 100%;
  z-index: 9999;
}

.nav-carrito ul {
  overflow: hidden;
  list-style: none;
}

.nav-carrito li {
  padding: 5px 0px;
  width: 100%;
  font-size: 14px;
  border-bottom: 1px solid #e9e9e9;
}

/* end minicart */

/* Cards */
.card-producto-listado {
  padding: 10px 10px;
}

p.card-text.precio-old-card {
  font-size: 12px;
  color: grey;
  font-size: 18px;
  color: grey;
  text-decoration: line-through;
}

p.card-text.precio-final-card {
  font-weight: bold;
  font-size: 22px;
  color: #2e5bba;
}

.cantidad_es {
  width: 45px;   
  border-radius: 0px 0px 0px 0px;
}

.cantidad_es_cart {
  border-radius: 5px;
  border: 1px solid #a1a1a1;
}
.input-fragancia, .input-fragancia-cart {
  border-radius: 5px;
  border: 1px solid #a1a1a1;
  text-align: center;
}

.sin-flechas::-webkit-inner-spin-button,
.sin-flechas::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sin-flechas {
  -moz-appearance: textfield;
  appearance: textfield;
}

.incrementar {
  border-radius: 0px 5px 5px 0px;
  padding: 5px;
  width: 30px;
}

.decrementar {
  border-radius: 5px 0px 0px 5px;
  padding: 5px;
  width: 30px;
}

.product-image {
  margin:auto;
  height: 250px;
  max-width: 265px;
  width:100%;
  display: flex;
  justify-content: center;
}

.product-image img {
  object-fit: cover;
  width: auto; 
  height: 250px;  

}

.product-content{
  height: 200px;
}

.card-producto-catalogo, .card-producto-grilla {
    margin-bottom: 25px;
}

.card-producto-grilla .card-body {
    padding: 1.25rem 1.25rem 0rem 1.25rem;
}

.product-content-catalogo {
    height: 65px;
}

p.card-text.descuento-card {
  color: green;
}

p.card-text.stock-card {
  font-size: 12px;

  color: grey;
}

p.card-title {
  padding: 12px 0 0 0;
  color: #333;
  font-size: 12px;
  min-height: 60px;
  border-bottom: 1px solid lightgrey;
}

p.card-title-catalogo {
  padding: 10px 0 0 0;
  color: #333;
  min-height: 40px;
  font-size: 12px;
}

.old-price {
  text-decoration: line-through;
  margin-bottom: 0px;
}

@media screen and (max-width: 600px) {
  /* buscador tienda */
  .contenedor-buscador {
    width: 100% !important;
    padding: 0px !important;
  }
  .search-filters{
    margin: 0px!important;
    padding: 0px!important;
  }
  .total-registros {
    margin-top: 10px;
    font-size: 12px;
  }

/* home cards */
  .card-producto-listado {
    padding: 20px 0px;
  }

  .separador-menu{
    display: none;
  }
  
  .product-image {
    margin: auto;
    height: 180px;
    max-width: 180px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
  }

  .product-image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
    background: #fff;
  }
  p.card-title-catalogo{
    font-size: 12px;
  }

}

/** End cards */

.mensaje {
  display: flex;
  justify-content: center;
  padding: 20px;
  background: white;
  margin-top: 10px;
  border-radius: 7px;
}

.mensaje p {
  margin-top: 15px;
}

/**Paginacion */
ul.pagination li {
  border: 1px solid var(--base_color_1);
  padding: 5px 10px;
  margin: 0 2px;
  border-radius: 5px;
}

ul.pagination {
  justify-content: center;
}

.pagination li.active,
.pagination li.active a {
  background-color: var(--base_color_1);
  color: white;
}

/**end paginacion */

/**Slide button */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: orange;
  transition: 0.4s;
  border-radius: 15px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:checked + .slider:before {
  transform: translateX(30px);
}

/* Scroll */
.scroll-down-indicator {
  width: 50px;
  height: 50px;
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 20px auto 0 auto; /* centrado horizontal */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  animation: bounce 2s infinite;
}

.scroll-down-indicator i {
  font-size: 20px;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}
