.rdl-layout{width:100%;min-width:0}
.rdl-grid{display:grid;width:100%;min-width:0}
.rdl-grid--50-50{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.rdl-grid--33-33-33{grid-template-columns:repeat(3,minmax(0,1fr))}
.rdl-grid--25-50-25{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)}
.rdl-grid--25-25-25-25{grid-template-columns:repeat(4,minmax(0,1fr))}
.rdl-col{min-width:0}
@media(max-width:767.98px){.rdl-grid{grid-template-columns:minmax(0,1fr)}}

/* Header Ruta Digital */
#rdx-header,
#rdx-header * {
  box-sizing: border-box;
}

#rdx-header {
  --rdx-navy: #080044;
  --rdx-drawer: #0a004b;
  --rdx-lime: #c8ff38;
  --rdx-white: #ffffff;

  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  line-height: normal;
  z-index: 1000;
}

#rdx-header a {
  text-decoration: none;
}

/* HEADER */

.rdx-main-header {
  width: 100%;
  height: 76px;
  margin: 0;
  padding: 0;
  background: var(--rdx-navy);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.rdx-header-inner {
  width: 100%;
  max-width: 1700px;
  height: 76px;
  margin: 0 auto;
  padding: 0 42px;
  display: flex;
  align-items: center;
}

/* LOGO */

.rdx-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 48px;
}

.rdx-logo {
  display: block;
  width: 235px;
  height: auto;
}

/* MENÚ DESKTOP */

.rdx-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  gap: clamp(18px, 2vw, 38px);
}

.rdx-desktop-nav a {
  position: relative;
  height: 76px;
  display: flex;
  align-items: center;
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .15px;
  white-space: nowrap;
  transition: color .2s ease;
}

.rdx-desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  background: var(--rdx-lime);
  border-radius: 5px;
  transition: width .22s ease;
}

.rdx-desktop-nav a:hover,
.rdx-desktop-nav a.rdx-current {
  color: var(--rdx-lime) !important;
}

.rdx-desktop-nav a:hover::after,
.rdx-desktop-nav a.rdx-current::after {
  width: 100%;
}

/* ACCIONES */

.rdx-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
  margin-left: 38px;
}

.rdx-action {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: #fff !important;
  opacity: 1 !important;
  border-radius: 50%;
  transition:
    color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.rdx-action:hover {
  color: var(--rdx-lime) !important;
  background: rgba(200, 255, 56, .10);
  transform: translateY(-1px);
}

.rdx-action svg {
  display: block;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rdx-account svg {
  width: 27px;
  height: 27px;
}

.rdx-cart svg {
  width: 31px;
  height: 31px;
}

/* CONTADOR CARRITO */

.rdx-cart-count {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--rdx-navy);
  border-radius: 20px;
  background: var(--rdx-lime);
  color: var(--rdx-navy);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.rdx-cart-count[hidden] {
  display: none !important;
}

/* HAMBURGUESA */

.rdx-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.rdx-menu-button span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: #fff;
}

/* OVERLAY */

.rdx-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(4, 0, 35, .72);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity .25s ease,
    visibility .25s ease;
}

.rdx-mobile-overlay.rdx-open {
  opacity: 1;
  visibility: visible;
}

/* DRAWER */

.rdx-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: min(86vw, 370px);
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 26px 24px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--rdx-drawer);
  box-shadow: 20px 0 60px rgba(0, 0, 0, .35);
  transform: translateX(-105%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.rdx-mobile-menu.rdx-open {
  transform: translateX(0);
}

/* DRAWER TOP */

.rdx-mobile-menu-top {
  width: 100%;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.rdx-mobile-menu-top > span {
  color: var(--rdx-lime);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .8px;
}

.rdx-close-button {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

/* TÍTULO DRAWER */

.rdx-mobile-title {
  margin: 34px 0 15px;
  color: var(--rdx-lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
}

/* LINKS DRAWER */

.rdx-mobile-nav {
  display: flex;
  flex-direction: column;
}

.rdx-mobile-nav a {
  width: 100%;
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  transition:
    color .2s ease,
    padding .2s ease;
}

.rdx-mobile-nav a span {
  flex: 1;
  min-width: 0;
}

.rdx-mobile-nav a b {
  flex: 0 0 auto;
  margin-left: 15px;
  color: var(--rdx-lime);
  font-size: 20px;
  font-weight: 500;
}

.rdx-mobile-nav a:hover,
.rdx-mobile-nav a.rdx-current {
  color: var(--rdx-lime) !important;
  padding-left: 4px;
}

/* DESKTOP MEDIO */

@media (max-width: 1400px) {
  .rdx-header-inner {
    padding: 0 28px;
  }

  .rdx-logo-link {
    margin-right: 34px;
  }

  .rdx-logo {
    width: 210px;
  }

  .rdx-desktop-nav {
    gap: 21px;
  }

  .rdx-desktop-nav a {
    font-size: 11.5px;
  }

  .rdx-actions {
    margin-left: 27px;
    gap: 10px;
  }
}

/* TABLET */

@media (max-width: 1100px) {
  .rdx-main-header,
  .rdx-header-inner {
    height: 68px;
  }

  .rdx-header-inner {
    position: relative;
    padding: 0 17px;
    justify-content: space-between;
  }

  .rdx-desktop-nav {
    display: none;
  }

  .rdx-menu-button {
    display: block;
    flex-shrink: 0;
  }

  .rdx-logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  .rdx-logo {
    width: 185px;
  }

  .rdx-actions {
    margin-left: auto;
    gap: 5px;
  }

  .rdx-action {
    width: 42px;
    height: 42px;
  }

  .rdx-account svg {
    width: 25px;
    height: 25px;
  }

  .rdx-cart svg {
    width: 29px;
    height: 29px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .rdx-main-header,
  .rdx-header-inner {
    height: 62px;
  }

  .rdx-header-inner {
    padding: 0 9px;
  }

  .rdx-logo {
    width: 153px;
  }

  .rdx-menu-button {
    width: 38px;
    height: 38px;
    padding: 7px;
  }

  .rdx-menu-button span {
    width: 21px;
  }

  .rdx-actions {
    gap: 1px;
  }

  .rdx-action {
    width: 38px;
    height: 38px;
  }

  .rdx-account svg {
    width: 24px;
    height: 24px;
  }

  .rdx-cart svg {
    width: 28px;
    height: 28px;
  }

  .rdx-cart-count {
    min-width: 16px;
    height: 16px;
    top: -1px;
    right: -1px;
    padding: 0 4px;
    font-size: 8px;
  }
}

/* MOBILE PEQUEÑO */

@media (max-width: 390px) {
  .rdx-header-inner {
    padding: 0 6px;
  }

  .rdx-logo {
    width: 138px;
  }

  .rdx-action {
    width: 35px;
    height: 35px;
  }

  .rdx-account svg {
    width: 23px;
    height: 23px;
  }

  .rdx-cart svg {
    width: 27px;
    height: 27px;
  }

  .rdx-mobile-menu {
    width: 88vw;
    padding: 24px 20px;
  }

  .rdx-mobile-nav a {
    min-height: 65px;
    font-size: 14px;
  }
}

@media (max-width: 350px) {
  .rdx-logo {
    width: 125px;
  }
}
