* {
  font-size: 14px;
  font-family: 'Nunito', sans-serif; 
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -10px) rotate(5deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-15px, 15px) rotate(-8deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, 20px) rotate(3deg); }
}

@keyframes float4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-20px, -15px) rotate(-5deg); }
}

body, html {
  background-image: 
    url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.icon1%7Banimation:float1 6s ease-in-out infinite%7D.icon2%7Banimation:float2 7s ease-in-out infinite%7D.icon3%7Banimation:float3 8s ease-in-out infinite%7D.icon4%7Banimation:float4 9s ease-in-out infinite%7D%3C/style%3E%3Cg fill='%239C92AC' fill-opacity='0.1'%3E%3C!-- Laptop --%3E%3Cg class='icon1' transform='translate(25,50)'%3E%3Cpath d='M10 15h40v25H10zM5 40h50v3H5z'/%3E%3C/g%3E%3C!-- Desktop --%3E%3Cg class='icon2' transform='translate(150,25)'%3E%3Cpath d='M0 0h45v30H0zM5 30h35v5H5z'/%3E%3C/g%3E%3C!-- Mouse --%3E%3Cg class='icon3' transform='translate(100,150)'%3E%3Cpath d='M0 0h15v25H0zM2 0c0-3 11-3 11 0'/%3E%3C/g%3E%3C!-- Keyboard --%3E%3Cg class='icon4' transform='translate(200,200)'%3E%3Cpath d='M0 0h40v5H0zM2 2h3v2H2zM7 2h3v2H7z'/%3E%3C/g%3E%3C!-- Headphones --%3E%3Cg class='icon1' transform='translate(300,100)'%3E%3Cpath d='M0 0c0 15-20 15-20 0M-20 0v15h5V0M15 0v15h-5V0'/%3E%3C/g%3E%3C!-- Printer --%3E%3Cg class='icon2' transform='translate(50,300)'%3E%3Cpath d='M0 0h35v15H0zM5-5h25v5H5zM2 15h31v3H2'/%3E%3C/g%3E%3C!-- Webcam --%3E%3Cg class='icon3' transform='translate(350,200)'%3E%3Cpath d='M0 0h15v15H0zM5 15v5'/%3E%3C/g%3E%3C!-- Router --%3E%3Cg class='icon4' transform='translate(250,50)'%3E%3Cpath d='M0 0h30v8H0zM5 2l3 2-3 2M15 2l3 2-3 2'/%3E%3C/g%3E%3C!-- USB --%3E%3Cg class='icon1' transform='translate(75,100)'%3E%3Cpath d='M0 0h15v8H0zM2 8h11v3H2z'/%3E%3C/g%3E%3C!-- CPU --%3E%3Cg class='icon2' transform='translate(200,150)'%3E%3Cpath d='M0 0h20v20H0zM2 2h16v16H2zM-2 8h2M20 8h2M8-2v2M8 20v2'/%3E%3C/g%3E%3C!-- GPU --%3E%3Cg class='icon3' transform='translate(300,250)'%3E%3Cpath d='M0 0h40v20H0zM5 5h30v10H5zM38 5v10'/%3E%3C/g%3E%3C!-- SSD --%3E%3Cg class='icon4' transform='translate(100,250)'%3E%3Cpath d='M0 0h30v10H0zM2 2h26v6H2zM5 4h2v2H5z'/%3E%3C/g%3E%3C!-- RAM --%3E%3Cg class='icon1' transform='translate(175,300)'%3E%3Cpath d='M0 0h50v8H0zM2 8v-2M7 8v-2M12 8v-2'/%3E%3C/g%3E%3C!-- Phone --%3E%3Cg class='icon2' transform='translate(25,200)'%3E%3Cpath d='M0 0h15v30H0zM5 25h5v2H5z'/%3E%3C/g%3E%3C!-- Tablet --%3E%3Cg class='icon3' transform='translate(250,300)'%3E%3Cpath d='M0 0h30v40H0zM12 35h6v2h-6z'/%3E%3C/g%3E%3C!-- Camera --%3E%3Cg class='icon4' transform='translate(325,150)'%3E%3Cpath d='M0 0h20v15H0zM5-5h10v5H5zM8 5a4 4 0 1 0 0 1'/%3E%3C/g%3E%3C!-- Network Card --%3E%3Cg class='icon1' transform='translate(150,100)'%3E%3Cpath d='M0 0h40v10H0zM35 2h2v6h-2z'/%3E%3C/g%3E%3C!-- Power Supply --%3E%3Cg class='icon2' transform='translate(50,150)'%3E%3Cpath d='M0 0h25v15H0zM8 5l4 5-4 5'/%3E%3C/g%3E%3C!-- Hard Drive --%3E%3Cg class='icon3' transform='translate(275,200)'%3E%3Cpath d='M0 0h35v8H0zM5 10h25v5H5zM28 2a2 2 0 1 0 0 1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 400px 400px, 100% 100%;
  background-repeat: repeat, no-repeat;
  background-position: center center;
  color: #081721 !important;
  min-height: 100vh;
}

header {
  transition: position 0.3s, top 0.3s, left 0.3s; /* Transición suave */
}

header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
}

.fs-7 {
  font-size: 12px !important;
}

.positionfixed {
  transition: 0.3s;
}

.containerfixed_filters .btn_viewfilters{
  display: none;
}
.positionfixed_filters .containerfixed_filters .list_filters{
  display: grid;
  gap: 1rem;
  display: flex;
  justify-content: center; 
  transition: 0.3s;
}
@media(max-width: 991px){
  .positionfixed {
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px -3px 8px;
    z-index: 10;
    padding: 10px;
  }

  header {
    position: relative;
  }
  .positionfixed_filters{
    position: fixed;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    z-index: 10;
    padding: 10px;
    transition: 0.3s;
    width: 250px !important;
    border-radius: 0px 10px 10px 0px;
  }
  /*
  .positionfixed_filters .containerfixed_filters{
    position: relative;
  }*/
  .containerfixed_filters .btn_viewfilters{
    position: relative;
  }
  .containerfixed_filters .btn_viewfilters{
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-radius: 0 8px 8px 0;
    padding: 10px 0px;
  }
  /*
  .positionfixed_filters .containerfixed_filters .list_filters{
    opacity: 0;
    pointer-events: none;
  }
  */
  .positionfixed_filters.showfilter{
    transform: translate(0%, -50%);

  }
  /*
  .positionfixed_filters.showfilter .containerfixed_filters .list_filters{
    opacity: 1;
    pointer-events: auto;
  }
  */
  .positionfixed_filters.hidefilter{ 
    transform: translate(-100%, -50%);
    background-color: #ffffff00;
  }
  /*
  .positionfixed_filters.hidefilter .containerfixed_filters .list_filters{
    opacity: 0; 
    display: none;
  } */
}

@keyframes showAnimation {
  0% {
      opacity: 0;
      top: 0%;
      transform: scale(0.7);
  }
  100% {
      opacity: 1;
      top: 100%;
      transform: scale(1);
  }
}

@keyframes hideAnimation {
  0% {
      opacity: 1;
      top: 100%;
      transform: scale(1);
  }
  100% {
      opacity: 0;
      top: 0%;
      transform: scale(0.7);
  }
}

.showmenu {
  display: block !important;
  animation: showAnimation 0.1s forwards;
}

.hidemenu {
  animation: hideAnimation 0.1s forwards;
}

@keyframes ani__0_180__deg {
  0% {
      transform: rotateX(0deg);
  }
  100% {
      transform: rotateX(180deg);
  }
}

@keyframes ani__180_0__deg {
  0% {
      transform: rotateX(180deg);
  }
  100% {
      transform: rotateX(0deg);
  }
}

.arrowdown {
  animation: ani__0_180__deg 0.2s ease-in-out forwards;
}

.arrowup {
  animation: ani__180_0__deg 0.2s ease-in-out forwards;
}

.moda_image_gallery {
  cursor: pointer;
}

#modal_images_gallery {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}
#modal_images_gallery .swiper-container{
  height: 100%;
}
#modal_images_gallery .swiper-container .modal-slider {
  width: 80%;
}
#modal_images_gallery .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
#modal_images_gallery .swiper-slide img {
 cursor: zoom-in;
 user-select: none;
}
#close_modal_images_gallery {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
}

#content_products {
  margin-bottom: 15px;
}
.bar_status_search {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100% !important;
}

@media(max-width: 991px){
  #content_products {
    margin-bottom: 50px;
  }
  .bar_status_search {
    bottom: 52px;
  }
  #btn_minimizer_Modal_main{
    bottom: 52px !important;
  }
}

/* Tarjeta de productos dns */
/* Tarjeta  */
#content_products .container_card {
  opacity: 0;
  transform: translateY(15px); /* Posicionamos las tarjetas 50px hacia abajo */
  transition: opacity 0.5s ease-in , transform 0.3s ease-in;
}

#content_products .container_card.animate {
  opacity: 1; /* Aparece */
  transform: translateY(0); /* Se desplaza hacia su posición original */
}

.bar_status_search .btn_load_more {
  border: none;
  border-radius: 10px 10px 0 0;
  background-color: #0b5ed7;
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px -3px 8px;
}

.cards1 {
  border: none;
  -webkit-box-shadow: 0 2px 6.5px -2.5px #dddddd;
  -moz-box-shadow: 0 2px 6.5px -2.5px #dddddd;
  box-shadow: 0 2px 6.5px -2.5px #dddddd;
  transition: 0.3s;
}
.cards1 .card-body {
  background-color: none;
}

.cards1:hover {
  -webkit-box-shadow: 0 2px 8.5px 2px #dddddd;
  -moz-box-shadow: 0 2px 8.5px 2px #dddddd;
  box-shadow: 0 2px 8.5px 2px #dddddd;
  scale: 1.02;
}

/*Windows resizable*/
    /* Contenedor principal de la ventana */
.CoverWindow { 
  height: 300px;
  width: 250px;
  display: flex;               /* siempre flex */
  flex-direction: column;
  min-width: 300px;
  min-height: 250px;
  background: #25293a;
  position: fixed;
  top: 100px;
  left: 100px;
  z-index: 11;
  padding: 0;
  /* Evita la acción táctil nativa y la selección de texto */
  touch-action: none;
  user-select: none;
  border-radius: 15px;
}
.CoverWindow.hidden {
  display: none !important
}
/* Encabezado de la ventana */
#myWindowHeader {
  color: rgb(255, 255, 255);
  padding: 10px;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
  touch-action: none;
  user-select: none;
}
/* Contenedor de la lista de propuestas */
#proposal_list {
  padding: 10px;
}
/* Agregamos estilo a los elementos de la lista */
.sortable-item {
  padding: 8px;
  margin-bottom: 5px;
  cursor: grab;
}
/* Si deseas que el área de contenido permita el scroll (además de la lista interna) */
#myWindow.overflow-y-auto {
  height: calc(100% - 50px); /* Ajusta según el alto del header */
}
/*End window resizable*/

.list_filter_menu {
  max-height: 250px;
  overflow: auto;
}

.icon_blue {
  background-color: #e9effc;
  color: #3972ec;
}
.icon_purple {
  background-color: #f3e8ff;
  color: #9333ea;
}

.icon_orange {
  background-color: #fffbeb;
  color: #d97706;
}


.container_accordion {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  background-image: linear-gradient(to right bottom, #fdfdfd, #fbfbfd, #f7f9fe, #f2f8fe, #edf7fd);
  transition: 0.3s;
}
.container_accordion:hover {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  border-radius: 15px;
  border: 1px solid #d9dee2;
}
/* border-0 bg-white rounded */
.btn_accordion_status {
  background-color: #fff;
  border: 0;
  transition: 0.3s;
}
.btn_accordion_status:hover {
  background-color: #25293a;
  color: #fff;
  border-radius: 15px;
}

/* css dropdown */
@keyframes dropdownZoomDown {
  0% { transform: translateY(-20px) scale(0.8); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes dropdownZoomUp {
  0% { transform: translateY(20px) scale(0.8); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Nuevas animaciones de salida */
@keyframes dropdownZoomDownReverse {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-20px) scale(0.8); opacity: 0; }
}

@keyframes dropdownZoomUpReverse {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(20px) scale(0.8); opacity: 0; }
}

/* Estilos para los botones */
.btn.dropdown-toggle { 
  color: #191c1f;
  border: 1px solid #dee2e6; 
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(33, 37, 41, 0.1);
}

.btn.dropdown-toggle:hover {
  color: #fff;
  background: linear-gradient(to right, #554cf1, #4338ca) !important;
 
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(33, 37, 41, 0.2);
}

.btn.dropdown-toggle:active,
.btn.dropdown-toggle.show {
  color: #fff;
  background: linear-gradient(to right, #554cf1, #4338ca) !important;
 
  transform: translateY(0);
}

/* Estilos para el menú dropdown */
.dropdown-menu {
  max-height: 250px;
  overflow: auto; 
  border: none;
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
}

.dropdown-item {
  color: #191c1f;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  margin: 2px 0;
}

.dropdown-item:hover {
  background: linear-gradient(to right, #554cf1, #4338ca) !important; 
  color: #fff;
  transform: translateX(4px);
}

.dropdown-item-active {
  background: linear-gradient(to right, #554cf1, #4338ca) !important; 
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
}

.dropdown-item:active {
  background-color: rgba(191, 191, 191, 0.5);
}

.animate-dropdown-down {
  animation: dropdownZoomDown 0.2s ease forwards;
  transform-origin: top center;
}

.animate-dropdown-up {
  animation: dropdownZoomUp 0.2s ease forwards;
  transform-origin: bottom center;
}

.animate-dropdown-down-reverse {
  animation: dropdownZoomDownReverse 0.2s ease forwards;
  transform-origin: top center;
}

.animate-dropdown-up-reverse {
  animation: dropdownZoomUpReverse 0.2s ease forwards;
  transform-origin: bottom center;
}

.fixed-bottom-dropdown {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
}

/* css dropdown */

/* Tabs styling */
.nav-pills .nav-link.active {
    background: linear-gradient(to right, #554cf1, #4338ca) !important;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.15) !important;
    font-weight: 500;
    transform: translateY(-1px);
}

.nav-pills .nav-link {
    color: #4b5563 !important;
    transition: all 0.2s ease;
    margin: 2px 4px;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 400;
}
 
.specification-item {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  border-radius: 12px; /* Bordes redondeados */
  transition: all 0.2s;
}

.specification-item:hover {
  color: #fff !important;
  background: linear-gradient(to right, #554cf1, #4338ca) ; /* Cambio sutil al pasar el mouse */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.spec-title {
  font-weight: 600;
  color: #495057;
  font-size: 0.95rem;
}

.specification-item:hover .spec-title {
  color: #ffffff;
}


.spec-value {
  background: #ffffff;
  color: #212529;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
  min-width: 80px;
  text-align: center;
  font-size: 0.9rem;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.05);
}

/* ============================
   MODO COTIZADOR (Vista Dividida)
   ============================ */
#container_products.quoter-active {
  min-height: 0;
  overflow: hidden;
}

#quoter_mode {
  min-height: 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-wrap: nowrap !important;
  align-items: stretch;
}

#quoter_search_panel,
#quoter_table_panel {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.quoter-product-row {
  transition: background 0.15s;
  cursor: default;
  border-radius: 4px;
}
.quoter-product-row:hover {
  background-color: #f0f4ff;
}

#openQuoterMode {
  transition: all 0.3s ease;
}

#quoter_table {
  font-size: 13px;
}
#quoter_table thead th {
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  #quoter_mode {
    flex-wrap: wrap !important;
    flex-direction: column !important;
  }
  #quoter_search_panel {
    height: 55vh;
    flex: 0 0 55vh;
  }
  #quoter_table_panel {
    height: 40vh;
    flex: 0 0 40vh;
    border-top: 2px solid #0d6efd;
  }
  #openQuoterMode {
    top: calc(50% - 50px) !important;
  }
}
