* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  overflow: visible;
  /* font-family: 'Nunito'; */
}
body {
  font-family: "Poppins", sans-serif;
}

.shopping-list {
  max-height: 400px;
  /* Define una altura máxima para limitar el tamaño del carrito */
  overflow-y: auto;
  /* Agrega un scroll vertical si el contenido excede la altura */
  margin-bottom: 10px;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

header h2 {
  margin: 25px 10px;
  font-size: 28px;
  text-align: center;
  color: cornsilk;
}

.container {
  margin: 10px auto;
  /* display: table; */
  width: 100%;
}

.container:after,
.container:before {
  content: "";
  clear: both;
}

nav.menu {
  position: relative;
  min-height: 45px;
  height: 100%;
}

.display-on {
  display: block;
  transition-duration: 0.9s;
}

.drop-down > a:after {
  content: "\f103";
  color: #fff;
  font-family: FontAwesome;
  font-style: normal;
  margin-left: 5px;
}

/*MediaQuerys*/
@media (max-width: 600px) {
  /* .menu {
    display: none;
  } */

  .xs-menu li a {
    padding: 0px;
  }

  .xs-menu-cont {
    display: block;
  }
}
.modal-resumen-pedido {
  margin-top: 170px;
}
/*Animation--*/

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}
li {
  cursor: pointer;
}

ul.menu {
  padding: 0;
  list-style: none;
  margin: 10px auto;
  font-family: "Century Gothic";
  box-shadow: 0px 0px 25px #00000070;
  clear: both;
  display: table;
  margin-bottom: 100px;

  .list {
    font-size: 14px;
    border-bottom: 1px solid #3674ca;
    width: 350px !important;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    height: 40px;
    vertical-align: sub;
    background: #0081c7;
    /* Azul con un 20% de transparencia */
    clear: both;

    &:after {
      content: "\f107";
      font-family: FontAwesome;
      position: absolute;
      right: 17px;
      top: 17px;
      padding: 0px 5px;
      color: #fff;
    }

    &:before {
      content: "\f07b";
      font-family: FontAwesome;
      position: absolute;
      left: 17px;
      top: 17px;
      padding: 0px 5px;
      color: #fff;
    }

    a {
      text-decoration: none;
      color: #fff;
      padding: 3px 0px 17px 15px;
      display: block;
      height: 100%;
      box-sizing: border-box;
    }

    .items {
      height: 0px;
      overflow: hidden;

      a {
        padding: 10px;
      }
      ul {
        margin-left: 1px;
        width: 350px;
        margin-bottom: 0px;
        margin-top: 10px;
      }
    }

    &:last-child {
      border-bottom: none;
    }
  }

  .active-acordion {
    &:after {
      content: "\f106";
      font-family: FontAwesome;
      position: absolute;
      right: 17px;
      top: 17px;
      padding: 0px 5px;
      color: #fff;
    }

    &:before {
      content: "\f07c";
      font-family: FontAwesome;
      position: absolute;
      left: 17px;
      top: 17px;
      padding: 0px 5px;
      color: #fff;
    }

    > .items {
      display: block;
      /* background: #23313f; */
      padding: 0px;
      height: auto;
      color: #fff;
      transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
      transition: all 200ms;
      clear: both;
      float: left;
      width: 348px;
      margin-bottom: 10px;
      margin-top: 10px;
      margin-left: -29px;

      li {
        padding: 0px;
        border-bottom: 1px solid #3674ca;
        list-style: none;
      }

      li:last-child {
        border-color: transparent;
        padding-bottom: 0px;
      }

      .active-acordion {
        > .items {
          background-color: #f2f2f2;
        }
      }
    }

    > a {
      /* text-transform: uppercase; */
      font-weight: bold;
    }

    .list {
      /* background: #697d92; */
      a {
        padding: 17px 0px 17px 45px;
      }
    }
  }
}
/* Etiqueta estilizada */
.label {
  font-size: 12px;
  font-weight: bold;
  color: #555;
  display: inline-block;
}
/* Información de contacto */
.custom-dropdown {
  display: none;
  position: absolute;
  top: 75%;
  /* right: 0; */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  z-index: 1000;
  min-width: 220px;
}

.custom-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.custom-dropdown a:hover {
  background-color: #f5f5f5;
}

.dot-notification {
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
  display: inline-block;
  margin-left: 8px;
}

/* Menú principal */

.sub-menu-link {
  padding: 0px 10px !important;
}
.scroll-top {
  right: 97% !important;
}
/* TABLET */
@media (min-width: 768px) and (max-width: 992px) {
  .modalTiendas {
    z-index: 20000 !important;
  }
  .jt-store-switch {
    position: relative;
    z-index: 10000;
  }
  /* Ocultar versión móvil */
  .jt-search-mobile {
    display: none !important;
  }

  /* Mostrar search normal */
  .jt-search {
    display: flex !important;
    width: 50% !important;
    margin: 0 auto !important;
  }

  .jt-header-inner {
    height: 72px !important;
    align-items: center;
  }
  .topbar-desktop {
    display: block !important;
  }
}
@media (max-width: 768px) {
  .dropdown-cuenta {
    display: none !important;
    pointer-events: none;
  }
  .related-products-modal {
    margin-top: 100px;
  }
  .store-selection {
    display: none !important;
    pointer-events: none;
  }
  .logo-image {
    height: 184px !important;
    max-width: none !important;
    width: auto !important;
    margin: 14px -21px 0px -67px;
  }

  .store-selection .store-dropdown {
    gap: 5px !important;
  }
  .btn-login-header {
    display: none !important;
  }
  .info-bar-movil {
    display: block !important;
  }
  .result-title {
    font-size: 12px !important;
  }

  .result-price {
    font-size: 11px !important;
    color: #777;
  }
  .view-all {
    font-size: 12px !important;
  }
  .modal-auth {
    width: 400px;
    margin-top: 138px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1105px) {
  /* .menu>ul li a, .xs-menu li a {
    padding: 0px 0px;

  }
  .menu>ul>li {
    line-height: 17px;
  } */
}
@media only screen and (min-width: 1280px) and (max-width: 1280px) {
  /* .menu>ul li a, .xs-menu li a {
    padding: 0px 9px;
  } */
  .scroll-top {
    right: 95% !important;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .scroll-top {
    right: 93% !important;
  }
}
@media (max-width: 767px) {
  .scroll-top {
    right: 85% !important;
  }
}
/* LAPTOP / TABLET */
@media (max-width: 1366px) {
  .main-menu {
    padding: 0 10px;
    gap: 16px;
  }

  .main-menu a {
    font-size: 13px;
    padding: 6px 6px;
  }
  .icon-bars {
    margin-right: 10px;
  }
}
/* TABLET / FOLD */
@media (max-width: 1024px) {
  .main-menu {
    padding: 0 3px;
    gap: 12px;
  }

  .main-menu a {
    font-size: 12.5px;
    padding: 13px 4px !important;
    white-space: nowrap;
  }
  .categories-list span {
    font-size: 14px;
  }
  .categories-list li {
    padding: 0px 0 !important;
  }
}

.icon-bars {
  font-size: 25px;
  margin-top: 10px;
}
.btn-login-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 12px;
  font-size: 14px;
  border-radius: 20px;
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.btn-login-header:hover {
  color: #fff;
  background-color: #0167f3;
  border-color: transparent;
}
.menu-info-bar {
  background-color: #f6f6f6;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.menu-item {
  color: #007bff;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 0;
}

.menu-item i {
  font-size: 18px;
  color: #a7a7a7;
}
.menu-item span {
  font-size: 13px;
}
.menu-item .fa-chevron-down {
  font-size: 15px;
  color: #a7a7a7;
  margin-left: 5px;
  margin-top: -5px;
}

.info-bar-movil {
  display: none;
}
.form-login {
  display: block;
}
.form-crear-cuenta {
  display: none;
}
.form-validar-correo {
  display: none;
}
/* Animación de entrada desde la izquierda */
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Animación de salida hacia la derecha */
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Animación de entrada desde la derecha */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Animación de salida hacia la izquierda */
@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

/* Clases para aplicar las animaciones */
.slide-in-left {
  animation: slideInLeft 0.5s forwards;
}

.slide-out-right {
  animation: slideOutRight 0.5s forwards;
}

.slide-in-right {
  animation: slideInRight 0.5s forwards;
}

.slide-out-left {
  animation: slideOutLeft 0.5s forwards;
}

.input-error {
  border: 1px solid red;
}

.input-success {
  border: 1px solid green;
}

.error-message {
  color: red;
  font-size: 0.9em;
  display: none;
}
.show-input {
  display: block;
}
.hidden-input {
  display: none;
}

/* ===== HEADERS PRINCIPAL ===== */
:root {
  /* Azul industrial pero más luminoso */
  --jt-blue: #2c3e70;
  --jt-blue2: #344c8c;
  --jt-top: #243661;

  /* Acento vendedor */
  --jt-accent: #f59e0b;
  --jt-accent-hover: #d97706;

  /* Neutros */
  --jt-white: #ffffff;
  --jt-soft: #f4f6f9;
  --jt-border: #e5e7eb;
  --jt-text: #eef2ff;
  --jt-text-dark: #1f2937;
}

.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
/* contenedor */
.jt-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
/* TOPBAR */
.jt-topbar {
  background: var(--jt-top);
  color: var(--jt-text);
  font-size: 12px;
}
.jt-topbar-inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.jt-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.jt-social a {
  color: var(--jt-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}
.jt-social a:hover {
  opacity: 1;
}
.jt-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.jt-dd {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.95;
}
.jt-link {
  color: var(--jt-text);
  text-decoration: none;
  opacity: 0.9;
}
.jt-link:hover {
  opacity: 1;
}
.jt-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}
.jt-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.95;
}

/* HEADER PRINCIPAL */
.jt-header {
  background: var(--jt-blue);
  /* sombra suave como Journal */
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.jt-header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 22px;
}

/* LOGO */
/* CONTENEDOR */
.jt-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

/* LINK */
.jt-logo .navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 35px;
}

.logo-image {
  height: 200px; /* Más grande */
  width: auto;
  object-fit: contain;
  display: block;
}
/* HOVER PROFESIONAL */
.logo-image:hover {
  transform: scale(1.03);
}

/* MENU */
.jt-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 10px;
  flex: 1; /* empuja search y icons a la derecha */
}
.jt-menu a {
  color: var(--jt-white);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.95;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.jt-menu a:hover {
  opacity: 1;
}
.jt-menu .sale {
  color: #ff8c8c;
  font-weight: 700;
}
.jt-mini {
  opacity: 0.9;
}

/* BADGES */
.has-badge {
  gap: 10px;
}
.jt-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1.4;
  font-weight: 700;
}
.jt-badge-blue {
  background: #cfe1ff;
  color: #2b4a8a;
}
.jt-badge-red {
  background: #ffd2d2;
  color: #a22a2a;
}

/* SEARCH */
.jt-search {
  background: #f0f0f0;
  border-radius: 26px;
  height: 40px;
  width: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
.jt-cat {
  border: 0;
  background: transparent;
  padding: 0 14px;
  height: 40px;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}
.jt-search input {
  border: 0;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 13px;
  padding: 0 8px;
  color: #333;
}
.jt-btn-search {
  border: 0;
  background: transparent;
  height: 40px;
  padding: 0 14px;
  cursor: pointer;
  color: #333;
}

/* ICONOS DERECHA */
.jt-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.jt-ico {
  border: 0;
  background: transparent;
  color: var(--jt-white);
  font-size: 18px;
  cursor: pointer;
  opacity: 0.95;
}
.jt-ico:hover {
  opacity: 1;
}

/* burger solo mobile */
.jt-burger {
  display: none;
  border: 0;
  background: transparent;
  color: var(--jt-white);
  font-size: 20px;
  cursor: pointer;
}

/* SEARCH MOBILE (oculto en desktop) */
.jt-search-mobile {
  display: none;
  padding-bottom: 14px;
}
.jt-search--mobile {
  width: 100%;
}

/* SIDEBAR */
.jt-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  z-index: 999;
}
.jt-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.jt-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
  transition: 0.25s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
.jt-sidebar.active {
  left: 0;
}

.jt-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid #eee;
  font-weight: 700;
}
.jt-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.jt-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jt-side-list a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid #f1f1f1;
}
.jt-side-list a:hover {
  background: #f7f7f7;
}

/* ===== RESPONSIVE ===== */

/* tablets hacia abajo: esconder topbar si quieres o compactar */
@media (max-width: 992px) {
  .jt-wrap {
    padding: 0 16px;
  }
  .jt-social {
    display: none;
  }
  .topbar-desktop {
    display: none;
  }
  /* .jt-topbar{ display:none; }  */
  .jt-menu {
    display: none;
  } /* oculto menú horizontal */
  /* 🔥 SOLO ocultamos el search que NO es mobile */
  .jt-search:not(.jt-search--mobile) {
    display: none;
  }

  .jt-burger {
    display: inline-flex;
  }

  .jt-header-inner {
    height: 66px;
    justify-content: space-between;
  }

  /* .jt-logo{ font-size: 26px; } */

  .jt-search-mobile {
    display: block;
  }
  /*Buscador*/

  /* Espacio debajo del header */
  .jt-search-mobile {
    background: var(--jt-blue) !important;
    /* padding: 14px 16px 22px !important;  */
    padding: 0px 16px 11px !important;
  }

  /* Barra estilo Journal */
  .jt-search--mobile {
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
    border-radius: 28px !important;
    height: 40px !important;
    padding: 0 12px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15) !important;
  }

  /* Input */
  .jt-search--mobile input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    font-size: 14px !important;
    background: transparent !important;
  }

  /* Botones */
  .jt-search--mobile .jt-cat,
  .jt-search--mobile .jt-btn-search {
    background: transparent !important;
    border: none !important;
  }
  .jt-search {
    width: 360px !important;
  }
  .breadcrumbs {
    margin-top: 50px !important;
  }
  .results-box {
    top: 108px !important;
    left: 50% !important;
    width: 335px !important;
  }
}

/* 📱 Samsung / Android 360px */
@media (max-width: 400px) {
  .jt-wrap {
    padding: 0 12px !important;
  }

  .jt-search-mobile {
    padding: 0 12px 14px !important;
  }

  .jt-search--mobile {
    height: 42px !important;
    border-radius: 24px !important;
  }

  .jt-search {
    width: 100% !important;
  }

  /* Resultados dropdown */
  /* .results-box {
    position: absolute !important;
    top: 100px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 24px) !important;
  } */
  .logo-image {
    height: 170px !important;
    max-width: none !important;
    width: auto !important;
    margin: 14px -56px 0px -67px !important;
  }
}
@media (min-width: 769px) {
  .results-box {
    width: 500px;
    left: 0;
    right: auto;
  }
}
@media (max-width: 768px) {
  .results-box {
    width: 100% !important;
    max-height: 350px !important;
    left: 0;
    right: 0;
        transform: translateX(-50%) !important;
    width: calc(100% - 24px) !important;
    margin-top: 40px;
  }

  .jt-header,
  .header-wrapper,
  .jt-wrap,
  .jt-search,
  .jt-search-mobile {
    overflow: visible !important;
  }
}
/* =====================================================
   MEGA MENU WRAPPER
===================================================== */

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 1400px;
  max-width: 95vw;

  background: #fff;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);

  opacity: 1;
  visibility: visible;
  transition: all 0.25s ease;
  z-index: 9999;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* =====================================================
   CAJA PRINCIPAL (FONDO GRIS JOURNAL)
===================================================== */

.mega-menu-journal {
  background: #f4f6fb;
  padding: 55px 70px;
  border-radius: 18px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.25);
}
.mega-menu-journal::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 43%;
  width: 18px;
  height: 18px;
  background: #f4f6fb;
  transform: rotate(45deg);
}
/* =====================================================
   CONTENEDOR FLEX
===================================================== */

.mega-container {
  display: flex;
  gap: 60px;
}

/* =====================================================
   SIDEBAR IZQUIERDO
===================================================== */

.mega-left {
  width: 270px;
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
}

.mega-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mega-category-item:hover {
  background: #f1f3f9;
}

.mega-category-item.active {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mega-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mega-icon-circle {
  width: 40px;
  height: 40px;
  background: #f2f4f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-icon-circle img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.mega-category-item span {
  font-size: 14px;
  font-weight: 500;
  color: #111;
}

.mega-plus i {
  font-size: 13px;
  color: #999;
}

/* =====================================================
   CONTENIDO DERECHO
===================================================== */

.mega-right {
  flex: 1;
}

.mega-content {
  display: none;
  flex-wrap: wrap;
  gap: 70px;
}

.mega-content.active {
  display: flex;
}

/* =====================================================
   COLUMNAS
===================================================== */

.mega-column {
  min-width: 200px;
}

.mega-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #111;
}

/* =====================================================
   LISTA SUBCATEGORÍAS
===================================================== */

.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-column ul li {
  margin-bottom: 10px;
}

.mega-column ul li a {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-column ul li a:hover {
  color: #2563eb;
}

.ver-mas-item a {
  font-weight: 500;
  color: #2563eb;
}
/* =====================================================
   FLECHA SUPERIOR (TRIÁNGULO)
===================================================== */

/* .drop-down::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #f4f6fb transparent;
} */

/* =====================================================
   TRANSICIÓN SUAVE (OPCIONAL PREMIUM)
===================================================== */

.mega-menu {
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.drop-down:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1280px) {
  .mega-menu {
    width: 1100px;
  }

  .mega-container {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .mega-menu {
    display: none !important;
  }
}
.modalTiendas {
  z-index: 20000 !important;
}

.modal-backdrop {
  /* z-index: 19999 !important; */
}
.mega-column-inner {
  display: flex;
  align-items: center; /* centra vertical */
  justify-content: space-between;
  gap: 30px;
}
/* --------------------
   TEXTO
-------------------- */

.mega-column-text h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #111;
}

.mega-column-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-column-text ul li {
  margin-bottom: 10px;
}

.mega-column-text ul li a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

/* Hover subcategorías */
.mega-column-text ul li a:hover {
  color: #0d6efd;
  padding-left: 6px;
}

/* Línea animada */
.mega-column-text ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: #0d6efd;
  transition: width 0.3s ease;
}

.mega-column-text ul li a:hover::after {
  width: 100%;
}

/* --------------------
   IMAGEN ESTILO JOURNAL
-------------------- */

.mega-column-image {
  width: 110px;
  height: 110px;
  background: #f6f7fb;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.mega-column-image img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

/* Hover elegante tipo ecommerce premium */
.mega-column:hover .mega-column-image {
  background: #eef1ff;
  transform: translateY(-3px);
}

.mega-column:hover .mega-column-image img {
  transform: scale(1.08);
}

/*SPINNER*/

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid #0081c7;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}
.spiner-search {
  position: absolute;
  right: 15px;
  margin-top: 6px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.btn-close-login {
  position: absolute;
  right: 15px;
  top: 10px;
  left: 0px;
  border: 0px;
}
.ubicacion-head {
  /* RESET BOTÓN */
  background: none;
  border: none;
  box-shadow: none;
  font: inherit;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  margin: 0;
  padding: 6px 12px;

  /* DISEÑO */
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 8px;
  width: fit-content;
  transition: background 0.2s ease;
}

.ubicacion-label {
  font-size: 12px;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

.ubicacion-ciudad {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.ubicacion-ciudad i {
  font-size: 16px;
  color: #ffb703;
}

.flecha {
  font-size: 12px;
  opacity: 0.8;
}
.ubicacion-texto {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

#spinner-overlay {
  position: fixed;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.95);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.spinner-wrapper {
  text-align: center;
  font-family: "Segoe UI", sans-serif;
}

.spinner-ring {
  width: 64px;
  height: 64px;
  border: 6px solid #e0e0e0;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 0.9s ease-in-out infinite;
  margin: 0 auto;
}

#spinner-overlay p {
  margin-top: 20px;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  animation: fadeIn 1s ease-in-out;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.user-box {
  display: flex;
  align-items: center;
  height: 100%;
}

.user-inline {
  align-items: center;
  gap: 1px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.user-inline i {
  font-size: 18px;
}

.chevron-mini {
  font-size: 11px;
  opacity: 0.7;
}

/*
MODAL AUTH
*/
.modal-auth {
  width: 400px;
}
