/* ===========================================================
   Menú Seinsa — CSS reusable.
   URLs de imágenes en /img/cms/ (relativas) para que funcione
   tanto en local (catalogo.local) como en producción.
   =========================================================== */

.elementor-page-11010000 .breadcrumb {
  display: none;
}
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100%;
}

.custom-menu {
  display: flex;
  align-items: center;
  color: white;
  flex-wrap: nowrap;
  position: fixed;
  z-index: 1000;
  width: 100%;
  background: transparent;
  transition: background-color 0.4s ease;
  font-family: 'London Tube Normal';
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: left;
  /*background-color: #004694*/;
  height: 55px;
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 35px;
  transition: padding-top 0.8s ease;
}

.custom-menu.bg-colored {
  background-color: #004694;
}

.custom-menu .contenedor-interior {
  width: 1207px;
  margin-right: auto;
  margin-left: auto;
}

.custom-menu .logo {
  opacity: 0;
  visibility: hidden;
  display: none;
  width: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  align-items: center;
  margin-right: -10px;
}
.custom-menu .logo:not(.hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  width: auto;
}
.custom-menu a {
  text-transform: uppercase;
}
.logo img {
  width: 88%;
}
.logo-icon-hidden {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.logo-icon-hidden.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(20px);
}

.custom-menu .menu-item {
  margin: 0 15px;
  position: relative;
  cursor: pointer;
  font-size: 18px !important;
  white-space: nowrap;
  text-decoration: none;
  color: white !important;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.1rem !important;
  font-weight: 300 !important;
  font-style: normal;
  font-family: 'Platform' !important;
  line-height: 1.3;
}
.custom-menu .menu-item:hover,
.custom-menu .menu-item:focus {
  text-decoration: none;
  outline: none;
}
.custom-menu .menu-item.arrow::after {
  content: url(/img/cms/white-arrow-down.svg);
  display: inline-block;
  color: #FFFFFF;
  padding-top: 0px;
  top: 2px;
  position: relative;
  left: 2px;
}

.dropdown-menu {
  display: none;
}

.dropdown-menu.open {
  display: block;
  margin-top: 15px !important;
  min-width: 113px !important;
  border-radius: 0;
  padding: 0;
}

.follow-desktop span {
  color: #FFFFFF;
  font-weight: 500;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
}
.follow-desktop .dropdown-menu > li {
  padding: 0 15px;
}
.follow-desktop .dropdown-menu li a {
  border-top: none !important;
}
.follow-desktop .dropdown-menu li a {
  background-repeat: no-repeat;
  background-position: 0 center;
  padding-left: 35px;
}
.follow-desktop .dropdown-menu > li > a {
  display: block;
  font-family: 'Platform';
  padding: 7px 20px;
  clear: both;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
  border-bottom: 1px solid;
  padding-left: 27px;
}
.follow-desktop .dropdown-menu li a.facebook {
  background-image: url(/img/cms/facebook.svg);
  background-repeat: no-repeat;
}
.follow-desktop .dropdown-menu li a.youtube {
  background-image: url(/img/cms/youtube.svg);
  background-repeat: no-repeat;
  background-position-y: 10px;
}
.follow-desktop .dropdown-menu li a.linkedin {
  background-image: url(/img/cms/linkedin.svg);
  background-repeat: no-repeat;
}
.follow-desktop .dropdown-menu li a.instagram {
  background-image: url(/img/cms/instagram.svg);
  background-repeat: no-repeat;
  border-bottom: none !important;
}

#navbar-menu {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
}
#navbar-menu > .menu-item,
#navbar-menu > .dropdown {
  margin-right: 20px;
}

.navbar-toggle .icon-bar {
  transition: 0.4s;
  transform-origin: center;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 8px;
}
.navbar-toggle.open .icon-bar:nth-child(2) {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
  width: 38px;
}
.navbar-toggle.open .icon-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.navbar-toggle.open .icon-bar:nth-child(3) {
  opacity: 0;
}
.navbar-toggle.open .icon-bar:last-child {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
  width: 38px;
  bottom: -1px;
  position: relative;
}

#navbar-menu .menu-item {
  letter-spacing: 0.1rem;
  font-size: 18px;
  font-weight: 300;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  color: #000;
  min-width: 140px;
  padding: 20px 40px;
  top: 100%;
  left: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  z-index: 100;
}
.dropdown-menu.productos {
  top: 37% !important;
  padding: 20px 40px;
  left: -220px !important;
}
.dropdown-menu ul {
  padding-left: 0 !important;
}
.dropdown-menu li {
  list-style: none;
}
.lista-dentro li {
  display: flex;
  align-items: center;
}
.lista-dentro li a {
  display: flex;
  align-items: center;
  padding: 0;
}
.dropdown-menu li a {
  font-family: 'Platform';
  text-transform: none;
  color: #000;
  padding: 10px 0;
  white-space: pre-wrap;
  padding-right: 50px;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  border-top: 1px solid #d2d2d2;
  width: 100%;
  background-position: 95% 13px;
  transition: all 0.3s ease;
}
.dropdown-menu .lista-dentro li a:hover,
.dropdown-menu .lista-dentro li a:focus {
  font-weight: bold;
  background-color: transparent;
  text-decoration: none;
  background-image: url(/img/cms/black-arrow.svg);
  background-repeat: no-repeat;
  background-position: 100% 13px;
  transition: all 0.3s ease;
  color: #000 !important;
}
.follow-desktop li a:hover {
  background-color: #f5f5f5;
  color: #000 !important;
  text-decoration: none;
}
.dropdown-menu li a.active {
  font-weight: bold;
  color: #000 !important;
  text-decoration: none;
}

.right-items {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* Por defecto (escritorio): mostrar Síguenos, ocultar iconos */
.follow-desktop {
  display: flex;
}
.social-icons-mobile {
  display: none;
}
.social-icons-mobile {
  gap: 10px;
}
.social-icons-mobile a {
  color: white;
  font-size: 18px;
  text-decoration: none;
}

.menu-logo-row {
  position: absolute;
  top: 107px;
  left: 250px;
}
.menu-logo-row img {
  width: auto;
  position: fixed;
}

/* Botón hamburguesa */
.navbar-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
}
.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
  margin: 4px 0;
  transition: all 0.2s;
}

.navbar-header a.logo {
  display: block;
  padding-right: 15px;
  z-index: 999;
  position: relative;
}

/* Mac: flecha ::after visible */
body.mac .menu-item.arrow.language-switch::after {
  display: inline-block;
  content: url('/img/cms/white-arrow-down.svg');
  position: relative;
  top: 2px;
  left: 2px;
}
body.windows-linux .menu-item.arrow.language-switch::after {
  display: none;
}
body.windows-linux #lang-select-windows {
  width: 50px;
  text-align: center;
  text-align-last: center;
  font-size: 16px;
  font-family: 'Platform';
  font-weight: 500;
  color: #fff;
  background-color: transparent;
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url('/img/cms/white-arrow-down.svg') no-repeat right 2px center;
}
body.windows-linux #select-windows {
  text-align: center;
  margin: 0 auto;
  display: block;
}

/* Responsive ≤ 1028px */
@media (max-width: 1028px) {
  .custom-menu {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-right: 15px;
    padding-left: 15px;
  }
  .custom-menu .menu-item {
    margin: 0;
  }

  .navbar-toggle {
    display: block;
  }

  #navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #004694;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }
  #navbar-menu.open {
    display: flex;
    padding-right: 31px;
    padding-left: 23px;
  }
  #navbar-menu .menu-item {
    border-bottom: 1px white solid;
    letter-spacing: 0.1rem !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    font-style: normal;
    line-height: 1.3;
  }
  #navbar-menu a.menu-item.active,
  #navbar-menu .menu-item.arrow.dropdown.active {
    border-bottom: 1px solid white !important;
    padding-bottom: 12px;
  }
  #navbar-menu .language-switch {
    border-bottom: none;
  }

  .menu-item,
  .dropdown {
    padding: 10px 0;
    width: 100%;
  }

  .dropdown-menu.productos {
    top: 82% !important;
    padding: 20px 12px;
    left: 0px !important;
  }
  .dropdown-menu li a:hover,
  .dropdown-menu li a:focus {
    font-weight: bold;
    background-color: transparent;
    text-decoration: none;
    background-image: none;
    background-repeat: none;
    background-position: none;
    transition: none;
    color: #000 !important;
  }

  .right-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 59px !important;
  }

  .social-icons-mobile {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
  }
  .social-icons-mobile a {
    padding-left: 20px;
  }
  .social-icons-mobile .fab {
    color: #FFFFFF;
  }

  .language-switch {
    margin-left: auto;
    flex: 0 0 auto;
  }
  .navbar-toggle {
    margin-right: 0px;
  }
  .navbar-toggle {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 1100;
  }

  .custom-menu {
    position: fixed;
  }
  .follow-desktop {
    display: none !important;
  }
}

.familia {
  font-family: 'Platform' !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  color: #000 !important;
  width: 100% !important;
  padding-bottom: 10px !important;
  margin-left: 0 !important;
  margin-bottom: 0px !important;
  padding-left: 0 !important;
}

.navbar-text {
  margin-top: 15px;
}
li.first {
  padding-left: 0 !important;
}

#navbar-menu a.menu-item.active,
#navbar-menu .menu-item.arrow.dropdown.active {
  border-bottom: 2px solid white;
  padding-bottom: 2px;
  font-weight: 500;
}

.language-switch {
  display: flex;
  align-items: center;
  justify-content: center;
}
.language-switch select {
  background-color: transparent;
  color: #fff;
  border: none;
  font-weight: 500;
  text-transform: uppercase;
  padding-right: 0;
  font-size: 16px;
  font-family: 'Platform';
  cursor: pointer;
  outline: none;
  appearance: none;
}
.language-switch select::-ms-expand {
  display: none;
}
.language-switch select option {
  color: #333;
  background: #fff;
}

.sr-only {
  height: 1px !important;
}

@media (max-width: 1028px) {
  #navbar-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 0;
    overflow: hidden;
    z-index: 1090;
    display: none;
    box-sizing: border-box;
    transition: height 0.22s ease;
  }
  #navbar-menu.open {
    display: flex !important;
    position: fixed !important;
    top: 47px !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
    padding: 18px 23px 24px;
    background-color: #004694;
    box-sizing: border-box;
  }
  #navbar-menu .right-items {
    margin-top: auto;
    width: 100%;
  }
}

/* Dropdown de idiomas */
.language-switch .dropdown-menu.lang-dropdown {
  min-width: 60px;
  right: 0;
  left: auto;
}
.language-switch .lang-option {
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  color: inherit;
}
.language-switch .lang-option:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
#current-lang,
.language-switch .lang-option.active {
  font-weight: bold;
}
.language-switch {
  cursor: pointer;
}

/* ============================================================
   Cuenta de usuario (ps_customersignin) integrada en .right-items
   ============================================================ */
.menu-seinsa-widget .right-items {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-seinsa-widget .user-account-wrap {
  display: inline-flex;
  align-items: center;
}
