.main-header_container {
  height: 7rem;
  position: relative;
  z-index: 999;
}

.main-header_container::before {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 992;
}

.main-header {
  background: var(--white);
  position: fixed;
  width: 100%;
  height: auto;
  z-index: 1000;
}

.c-menu-top_new {
  display: none;
  padding: 0.3rem 1rem;
  background-color: var(--darkBlue);
  color: var(--white);
}

.js-submenu {
  display: none;
}

.js-submenu.active {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.c-menu-top__container {
  width: 94%;
  max-width: 1080px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c-submenu {
  position: absolute;
  background-color: var(--white);
  right: 0;
  min-width: 400px;
  min-width: 25rem;
  padding: 24px;
  padding: 1.5rem;
  color: #50535a;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  transform: translatex(0);
  top: 36px;
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 100;
}

.c-submenu .c-submenu__link-new:hover {
  color: var(--blue);
}

.c-menu-top__links {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
}

.arrow-info::before {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 6px;
  color: var(--white);
}

.arrow-info.rotate::before {
  transform: rotate(180deg);
}

.c-menu-top__links.c-menu-top__links--right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-menu-top__link-new {
  font-size: 13px;
  font-size: 0.85rem;
  font-weight: normal;
  transition: all 0.4s ease-in;
  color: #d3d4d3;
}

.c-menu-top__link-new.is-active {
  color: var(--blue);
}

.header-top {
  display: grid;
  align-items: center;
  padding: .7rem 1rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px;
  grid-template-areas: "area-a area-b";
  grid-template-columns: 74% 26%;
  width: 100%;
}

.item-a {
  grid-area: area-a;
}

.item-b {
  grid-area: area-b;
}

.header-icons {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 10px;
}

.header-top__movistar-logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.c-main-menu__search {
  padding: 0;
  z-index: 0;
}

.menu-panel {
  position: fixed;
  top: 75px;
  right: -100%;
  width: auto;
  min-width: 314px;
  max-width: 440px;
  height: auto;
  max-height: calc(100vh - 82px);
  background: #F5F5F5;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem 2rem 2rem;
  overflow-y: auto;
  border-radius: 0 0 0 10px;
  z-index: 100;
}

.menu-panel.active {
  right: 0;
  transition: right 0.3s ease;
}

.menu-overlay {
  position: fixed;
  left: 0;
  width: 100vw;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 99;
}

.menu-overlay.full {
  top: 82px;
  height: 100vh;
}

.menu-overlay.partial {
  top: 8rem;
  height: calc(100vh - 8rem);
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.menu-list {
  display: none;
}

.menu-list.active {
  display: block;
}

.menu-item {
  padding: 0.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.menu-item.padding-add {
  padding-bottom: 2rem;
}

.menu-item-person {
  background-color: #d3d4d3;
  width: 100%;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: left;
  position: absolute;
  left: 0;
  padding: 6px 0;
  padding-left: 2rem;
  gap: 4px;
  font-weight: bold;
}

.menu-item_title {
  padding: 0.8rem 0;
  font-size: 1.1rem;
  font-weight: bold;
  font-family: var(--f4);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-item_title i,
.submenu-title i {
  font-size: 1.3rem;
}

.menu-item_btns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
  position: relative;
}

.menu-item_btn {
  color: var(--green);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--green);
  text-decoration: none !important;
}

.menu-item_btn.mi-movistar {
  color: var(--blue);
  border: 1px solid var(--blue);
  background-color: var(--white);
}

.menu-item_btn.mi-movistar.active {
  color: var(--white);
  border: 1px solid var(--blue);
  background-color: var(--blue);
}

.submenu-title .icn-chevron-left-regular {
  font-size: 1rem;
}

.submenu-list,
.menu-header {
  display: none;
}

.submenu-list.active {
  display: flex;
  flex-direction: column;
}

.submenu-title {
  background-color: #069DF426;
  height: 50px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  color: var(--blue);
  font-family: var(--f4);
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.submenu-title span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.paquetes-btn {
  margin-top: 1rem;
  padding: 0.5rem;
  background-color: #d4fdd4;
  border: 1px solid #5cc15c;
  border-radius: 5px;
  color: #2d7f2d;
  font-weight: bold;
}

.header-links {
  display: none;
}

.font-icon-movistar {
  font-size: 3rem;
}

.icon-header,
.icon-accesible-mob {
  font-size: 1.4rem;
  color: var(--blue2);
  display: block;
  cursor: pointer;
}

.icon-header.accesibilidad {
  color: var(--white);
  font-size: 1.1rem;
}

.header-links-slider {
  background-color: #E1EFFF;
}

.header-links-slider .header-link-mob {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.header-links-slider .slick-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E1EFFF;
  z-index: 99;
}

.header-links-slider .slick-arrow.slick-disabled {
  opacity: 0;
}

.header-links-slider .slick-arrow::before {
  content: " ";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--blue2);
  border-right: 2px solid var(--blue2);
  transform: translate(-70%, -50%) rotate(45deg);
}

.header-links-slider .slick-next {
  right: 0px;
}

.header-links-slider .slick-prev {
  left: 0px;
}

.header-links-slider .slick-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.header-link.active,
.header-link-mob.active {
  color: var(--blue2);
}

.menudrop-miMovistar {
  display: none;
  width: 100%;
  max-width: 330px;
}

.menudrop-miMovistar.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.mi-btn-primary {
  display: block;
  padding: 6px;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--blue);
  border-radius: 26px;
  color: var(--blue);
  transition: background 0.3s;
}

.mi-btn-primary:hover {
  background: var(--blue);
  color: var(--white);
}

.mi-service-list {
  background-color: #e9e9e9;
  padding: 12px;
  border-radius: 10px;
}

.mi-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
}

.mi-service-item.line-top {
  border-top: 1px solid var(--white);
}

.mi-qr-box {
  display: none;
}

.mi-qr-img {
  width: 96px;
  height: 96px;
}

.mi-qr-description {
  flex: 1;
}

.mi-qr-title {
  color: var(--blue);
  font-size: 13px;
  margin-bottom: 4px;
}

.mi-qr-subtitle {
  font-size: 12px;
  color: #333;
  width: 64%;
  line-height: 1.2;
}

.menu-list__posmenu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.menu-list__reg {
  font-size: 1rem;
  line-height: normal;
}

@media (min-width: 768px) {
  .c-menu-top_new {
    display: block;
  }

  .header-links-slider,
  .hidden-desk,
  .menu-item-person,
  .menu-list__access {
    display: none;
  }

  .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }

  .header-links {
    display: flex;
    justify-content: space-evenly;
    width: 90%;
    max-width: 620px;
  }

  .header-top {
    width: 94%;
    max-width: 1134px;
    margin: auto;
    box-shadow: none;
    grid-template-areas: "area-b area-a";
  }

  .header-links-container {
    display: flex;
    align-items: center;
    width: 94%;
    max-width: 750px;
  }

  .header-top__movistar-logo {
    flex-direction: row-reverse;
  }

  .main-header {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px;
  }

  .header-icons {
    gap: 20px;
    flex-direction: row;
  }

  .header-icons .js-menu-toggle::before {
    display: inline-block;
    transform: rotate(180deg);
  }

  .icon-header {
    color: #066fcb;
  }

  .header-link {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: -6px;
  }

  .header-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--blue2);
    transition: width 0.3s ease-out;
  }

  .header-link:hover::after {
    width: 100%;
  }

  .menu-overlay.full {
    top: 0;
  }

  .mi-qr-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .menu-item_btn {
    width: 100%;
  }

  .menu-item_btns {
    flex-direction: row;
    margin-top: 10px;
  }
}

@media (min-width: 1024px) {
  .menu-panel {
    left: -100%;
    right: 0;
    padding: 3rem 2rem 2rem 3.4rem;
    top: 0;
    height: 100vh;
    max-height: none;
  }

  .menu-panel.active {
    left: 0;
    transition: left 0.3s ease;
  }
}