.navbuscar {
  display: flex;
  flex-direction: row-reverse;
}
.autocomplete-suggestions {
  text-align: left;
  cursor: default;
  border: 1px solid #ccc;
  border-top: 0;
  background: #fff;
  /* box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.1); */
  position: absolute;
  display: none;
  z-index: 9999;
  overflow: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}
.search-field {
  width: 100%;
  padding: 10px;
}
.btn-buscar {
  border: none;
  background: #db4c3c;
  color: white;
  padding: 10px 15px;
  transform: scaleX(-1);
  font-size: 18px;
}
.span-imagen-select img {
  height: 50px;
}
.span-producto {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  border-bottom: 1px solid #ededed;
  cursor: pointer;
  /* transition: background 0.2s; */
}
.span-producto:hover {
  background-color: #f5f5f5;
}
.span-producto b {
  font-weight: 600 !important;
}
.autocomplete-suggestion.selected {
  background: #f5f5f5; /* o el color que quieras */
}
.item-recommended {
  min-width: 226px;
  max-width: 226px;
}
.recommended-orden-items {
  -ms-overflow-style: none; /* IE y Edge antiguos */
  scrollbar-width: none; /* Firefox */
  display: none; /* Chrome, Safari, Opera */
}
@media (min-width: 768px) {
  .search-bar-mobile {
    display: none;
  }
}
/* MENU MOBILE */
/* ===== Overlay ===== */
.side-menu-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#rightMenuOverlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.5) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease-in-out !important;
  z-index: 9998 !important;
}
#rightMenuOverlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}
/* ===== Menú lateral derecho ===== */
.right-side-menu {
  position: fixed !important;
  top: 0 !important;
  right: -280px !important;
  width: 280px !important;
  height: 100% !important;
  background: #1e1e1e !important;
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.4) !important;
  overflow-y: auto !important;
  transition: right 0.3s ease-in-out !important;
  z-index: 9999 !important;
  padding: 20px 0 !important;
}
.right-side-menu.active {
  right: 0 !important;
}
/* ===== Header del menú ===== */
.right-menu-header {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding: 15px 20px !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.close-right-menu {
  background: transparent !important;
  border: none !important;
  font-size: 24px !important;
  color: #fff !important;
  cursor: pointer !important;
}
/* ===== Lista principal ===== */
.right-menu-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.right-menu-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.right-menu-list li a {
  display: block !important;
  padding: 15px 20px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  transition:
    background 0.3s,
    padding-left 0.3s !important;
}
.right-menu-list li a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  padding-left: 30px !important;
}
/* ===== Submenús ===== */
.right-menu-list li.has-sub-right > a::after {
  content: "›" !important;
  float: right !important;
  font-size: 18px !important;
  transition: transform 0.3s !important;
}
.right-menu-list li.open > a::after {
  transform: rotate(90deg) !important;
}
.submenu-right {
  display: none !important;
  background: #2a2a2a !important;
}
.right-menu-list li.open .submenu-right {
  display: block !important;
}
.submenu-right li a {
  font-size: 14px !important;
  padding-left: 35px !important;
}
.btn-right-menu {
  border: none;
  background: none;
}
/* consultar */
/* Contenedor inicialmente oculto */
#consultar-form-container {
  padding: 15px !important;
  border: 1px solid #ddd !important;
  /* background-color: #f9f9f9 !important; */
  border-radius: 1px !important;
}
/* Aplica solo al formulario con id formulario-contacto */
#consultar-form-container input::placeholder,
textarea::placeholder {
  color: #555; /* Cambiá el color */
  opacity: 1; /* Asegura que no quede semitransparente */
}
@media (max-width: 768px) {
  .form-consultar {
    margin-right: 18px !important;
  }
  .form-consultar-phone-group {
    margin-left: 18px !important;
  }
  .m-top-mbl {
    margin-top: 50px;
  }
}
@media (max-width: 450px) {
  #btn-consultar {
    margin-top: 20px;
  }
}
/* Toast base */
.toast {
  position: fixed;
  bottom: 50px;
  left: -300px; /* Fuera de pantalla inicialmente */
  background-color: #ffffff; /* Verde de éxito */
  padding: 15px 25px;
  /* border-radius: 5px; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  font-size: 14px;
  transition:
    left 0.5s ease-in-out,
    opacity 0.5s;
  opacity: 0;
}
/* Mostrar toast */
.toast.show {
  left: 0; /* Aparece en pantalla */
  opacity: 1;
}
.container-img-toast {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}
.btn-ver-carrito-toast {
  background: #db4c3c;
  color: white;
  width: fit-content;
  font-weight: bold;
  padding: 10px;
  border-radius: 2px;
}
.info-toast {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title-toast {
  padding-bottom: 10px;
  border-bottom: 1px solid #ededed;
  margin-bottom: 10px;
}
.cant-container {
  display: flex;
  gap: 5px;
  width: fit-content;
}
.width-title {
  max-width: 160px;
}
.message-max-stock {
  font-size: 12px;
  margin-top: 70px;
  position: absolute;
}
.quantity-cart {
  width: 40px !important;
  margin: 0 0 0 10px !important;
  padding: 0 !important;
}
.btn-share {
  padding: 5px 10px;
  border-radius: 2px;
  color: white;
  cursor: pointer;
  font-size: 12px;
}
.btnfacebook {
  background: #0866ff;
}
.btntwitter {
  background: #189cf4;
}
.btntwtsp,
.btntwtsp a {
  background: #25d331;
  color: white;
}
.bradcrumb-share-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  .bradcrumb-share-container {
    justify-content: center !important;
  }
}
.mobile-responsive-share {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 20px 0px;
}
@media (max-width: 400px) {
  .mobile-responsive-share {
    justify-content: center !important;
  }
}
