.rdn-mobile-dock,
.rdn-mobile-drawer-layer {
  display: none;
}

@media (max-width: 1023px) {
  body.rdn-mobile-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .rdn-header-brand__mobile-logo,
  .rdn-header-brand__mobile-logo a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
  }

  .rdn-header-brand__mobile-logo img {
    display: block;
    width: min(245px, 64vw);
    height: auto;
  }

  .rdn-mobile-dock {
    position: fixed;
    right: 0;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 0;
    z-index: 1100;
    display: flex;
    justify-content: center;
    padding-inline: 10px;
    pointer-events: none;
    transition: opacity 220ms ease, transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .rdn-mobile-dock.is-hidden,
  .rdn-mobile-dock.is-at-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(135%);
  }

  .rdn-mobile-dock__inner {
    position: relative;
    width: min(100%, 420px);
    pointer-events: auto;
  }

  .rdn-mobile-dock__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 58px;
    padding: 0 6px;
    border: 1px solid rgba(100, 116, 139, 0.34);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.92));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.92), 0 16px 38px rgba(15, 23, 42, 0.24);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-mask: radial-gradient(circle 32px at 50% 50%, transparent 31px, #000 32px);
    mask: radial-gradient(circle 32px at 50% 50%, transparent 31px, #000 32px);
  }

  .rdn-mobile-dock__item {
    display: flex;
    min-width: 0;
    min-height: 48px;
    height: 54px;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 4px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #64748b;
    background: transparent;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
  }

  .rdn-mobile-dock__item svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #0f172a;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  .rdn-mobile-dock__item.is-active,
  .rdn-mobile-dock__item:hover,
  .rdn-mobile-dock__item:focus-visible {
    color: var(--rdn-blue);
  }

  .rdn-mobile-dock__item.is-active svg,
  .rdn-mobile-dock__item:hover svg,
  .rdn-mobile-dock__item:focus-visible svg {
    stroke: var(--rdn-blue);
  }

  .rdn-mobile-dock__space {
    flex: 1.25 1 0;
    pointer-events: none;
  }

  .rdn-mobile-dock__whatsapp {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--rdn-wa);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
    transform: translate(-50%, -50%);
  }

  .rdn-mobile-dock__whatsapp svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
  }

  .rdn-mobile-dock__badge {
    position: absolute;
    top: -3px;
    right: -3px;
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #ef3038;
    box-shadow: 0 3px 8px rgba(31, 31, 31, 0.22);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    transform: scale(0.55);
  }

  .rdn-mobile-dock__badge[hidden] {
    display: none;
  }

  .rdn-mobile-dock__badge.is-visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity 160ms ease, transform 240ms cubic-bezier(0.2, 0.9, 0.3, 1.35);
  }

  .rdn-mobile-drawer-layer {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    display: block;
    visibility: hidden;
    overflow: hidden;
    background: #fff;
    transition: visibility 320ms ease;
  }

  .rdn-mobile-drawer-layer[hidden] {
    display: none;
  }

  .rdn-mobile-drawer-layer.is-open {
    visibility: visible;
  }

  .rdn-mobile-drawer {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    flex-direction: column;
    color: #1f1f1f;
    background: #fff;
    outline: 0;
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .rdn-mobile-drawer-layer.is-open .rdn-mobile-drawer {
    transform: translateX(0);
  }

  .rdn-mobile-drawer :is(a, button):focus-visible {
    outline: 2px solid #1f1f1f;
    outline-offset: 2px;
  }

  .rdn-mobile-drawer__panels {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .rdn-mobile-drawer__panel {
    --rdn-mobile-panel-accent: #03a9f4;
    --rdn-mobile-panel-soft: rgba(3, 169, 244, 0.1);
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    transform: translateX(100%);
    transition:
      visibility 280ms ease,
      opacity 220ms ease,
      transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .rdn-mobile-drawer__panel[data-rdn-mobile-panel="2"] {
    --rdn-mobile-panel-accent: #9c4dcc;
    --rdn-mobile-panel-soft: rgba(156, 77, 204, 0.1);
  }

  .rdn-mobile-drawer__panel[data-rdn-mobile-panel="3"] {
    --rdn-mobile-panel-accent: #ed5b55;
    --rdn-mobile-panel-soft: rgba(237, 91, 85, 0.1);
  }

  .rdn-mobile-drawer__panel[hidden] {
    display: none;
  }

  .rdn-mobile-drawer__panel.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .rdn-mobile-drawer__panel.is-before {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-18%);
  }

  .rdn-mobile-drawer__panel-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px 18px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    background: #f8fafc;
  }

  .rdn-mobile-drawer__panel-scroll::-webkit-scrollbar {
    display: none;
  }

  .rdn-mobile-drawer__label {
    display: block;
    margin: 12px 4px 6px;
    color: #8a96a6;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .rdn-mobile-drawer__label:first-child {
    margin-top: 0;
  }

  .rdn-mobile-drawer__menu,
  .rdn-mobile-drawer__menu .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .rdn-mobile-drawer__menu li {
    position: relative;
  }

  .rdn-mobile-drawer__menu > li {
    --rdn-mobile-accent: #03a9f4;
    --rdn-mobile-accent-soft: rgba(3, 169, 244, 0.11);
    margin-bottom: 9px;
  }

  .rdn-mobile-drawer__menu > li:nth-child(2),
  .rdn-mobile-drawer__menu > li:nth-child(6) {
    --rdn-mobile-accent: #ed5b55;
    --rdn-mobile-accent-soft: rgba(237, 91, 85, 0.11);
  }

  .rdn-mobile-drawer__menu > li:nth-child(4),
  .rdn-mobile-drawer__menu > li:nth-child(9) {
    --rdn-mobile-accent: #9c4dcc;
    --rdn-mobile-accent-soft: rgba(156, 77, 204, 0.11);
  }

  .rdn-mobile-drawer__menu > li:nth-child(5) {
    --rdn-mobile-accent: #d99f00;
    --rdn-mobile-accent-soft: rgba(251, 192, 45, 0.16);
  }

  .rdn-mobile-drawer__menu > li:nth-child(7) {
    --rdn-mobile-accent: #3f9f48;
    --rdn-mobile-accent-soft: rgba(76, 175, 80, 0.12);
  }

  .rdn-mobile-drawer__menu > li > a,
  .rdn-mobile-drawer__view-toggle {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 15px;
    border: 1px solid rgba(31, 31, 31, 0.08);
    border-radius: 12px;
    color: #1f1f1f;
    background: #fff;
    box-shadow: 0 3px 10px rgba(31, 31, 31, 0.035);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
  }

  .rdn-mobile-drawer__view-toggle {
    appearance: none;
  }

  .rdn-mobile-drawer__menu > li > a:hover,
  .rdn-mobile-drawer__menu > li > a:focus-visible,
  .rdn-mobile-drawer__menu > .current-menu-item > a,
  .rdn-mobile-drawer__menu > .current-menu-ancestor > a,
  .rdn-mobile-drawer__view-toggle:hover,
  .rdn-mobile-drawer__view-toggle:focus-visible,
  .rdn-mobile-drawer__menu > .current-menu-ancestor > .rdn-mobile-drawer__view-toggle,
  .rdn-mobile-drawer__view-toggle[aria-expanded="true"] {
    border-color: var(--rdn-mobile-accent);
    color: var(--rdn-mobile-accent);
    background: var(--rdn-mobile-accent-soft);
    transform: translateX(2px);
  }

  .rdn-mobile-drawer__view-toggle svg,
  .rdn-mobile-drawer__back svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .rdn-mobile-drawer__view-toggle svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: var(--rdn-mobile-accent);
  }

  .rdn-mobile-drawer__panel-header {
    display: flex;
    min-height: 48px;
    align-items: center;
    margin-bottom: 10px;
  }

  .rdn-mobile-drawer__panel-header strong {
    color: var(--rdn-mobile-panel-accent);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .rdn-mobile-drawer__panel-header strong::before {
    margin-right: 8px;
    color: #a4acb7;
    content: "/";
    font-weight: 500;
  }

  .rdn-mobile-drawer__back {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(31, 31, 31, 0.08);
    border-radius: 12px;
    color: var(--rdn-mobile-panel-accent);
    background: #fff;
    box-shadow: 0 3px 10px rgba(31, 31, 31, 0.035);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .rdn-mobile-drawer__back:hover,
  .rdn-mobile-drawer__back:focus-visible {
    border-color: var(--rdn-mobile-panel-accent);
    background: var(--rdn-mobile-panel-soft);
  }

  .rdn-mobile-drawer__view-all {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 12px;
    color: #fff;
    background: var(--rdn-mobile-panel-accent);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
  }

  .rdn-mobile-drawer__view-all::after,
  .rdn-mobile-drawer__panel-list > li > a::after {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin-left: 12px;
    border-top: 1.7px solid currentColor;
    border-right: 1.7px solid currentColor;
    content: "";
    transform: rotate(45deg);
  }

  .rdn-mobile-drawer__panel-list,
  .rdn-mobile-drawer__panel-list .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .rdn-mobile-drawer__panel-list > li {
    margin-bottom: 8px;
  }

  .rdn-mobile-drawer__panel-list a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(31, 31, 31, 0.08);
    border-radius: 12px;
    color: #1f1f1f;
    background: #fff;
    box-shadow: 0 3px 10px rgba(31, 31, 31, 0.035);
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
  }

  .rdn-mobile-drawer__panel-list a:hover,
  .rdn-mobile-drawer__panel-list a:focus-visible,
  .rdn-mobile-drawer__panel-list .current-menu-item > a {
    color: var(--rdn-mobile-panel-accent);
    border-color: var(--rdn-mobile-panel-accent);
    background: var(--rdn-mobile-panel-soft);
  }

  .rdn-mobile-drawer__panel-list .sub-menu {
    margin: 0 0 8px 12px;
    padding-left: 10px;
    border-left: 1px solid rgba(31, 31, 31, 0.12);
  }

  .rdn-mobile-drawer__panel-list .sub-menu a {
    min-height: 40px;
    color: #5f6874;
    font-size: 12.5px;
    font-weight: 600;
  }

  .rdn-mobile-drawer__extras {
    margin-top: 8px;
  }

  .rdn-mobile-drawer__utility-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rdn-mobile-drawer__utility {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid rgba(3, 169, 244, 0.16);
    border-radius: 9px;
    color: #1f1f1f;
    background: rgba(234, 246, 251, 0.72);
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
  }

  .rdn-mobile-drawer__utility svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .rdn-mobile-drawer__utility .rdn-fa-icon {
    fill: currentColor;
    stroke: none;
  }

  .rdn-mobile-drawer__utility:first-child {
    color: #0277bd;
  }

  .rdn-mobile-drawer__utility:last-child {
    border-color: rgba(156, 77, 204, 0.18);
    color: #7c3ca4;
    background: rgba(156, 77, 204, 0.08);
  }

  .rdn-mobile-drawer__utility span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rdn-mobile-drawer__socials {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 8px;
  }

  .rdn-mobile-drawer__socials a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    color: #fff;
    background: #1f1f1f;
    text-decoration: none;
  }

  .rdn-mobile-drawer__socials .rdn-fa-icon {
    width: 16px;
    height: 16px;
  }

  .rdn-mobile-drawer__socials a:nth-child(1) {
    background: linear-gradient(135deg, #833ab4 0%, #e1306c 52%, #f77737 100%);
    box-shadow: 0 5px 12px rgba(225, 48, 108, 0.2);
  }

  .rdn-mobile-drawer__socials a:nth-child(2) {
    background: #111;
    box-shadow: 0 5px 12px rgba(17, 17, 17, 0.16);
  }

  .rdn-mobile-drawer__socials a:nth-child(2) .rdn-fa-icon {
    filter: drop-shadow(-1px 0 #25f4ee) drop-shadow(1px 0 #fe2c55);
  }

  .rdn-mobile-drawer__socials a:nth-child(3) {
    border: 2px solid transparent;
    color: #4285f4;
    background:
      linear-gradient(#fff, #fff) padding-box,
      conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0) border-box;
    box-shadow: 0 5px 12px rgba(66, 133, 244, 0.12);
  }

  .rdn-mobile-drawer__footer {
    flex: 0 0 auto;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(31, 31, 31, 0.08);
    background: #fff;
  }

  .rdn-mobile-drawer__cta {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    color: #fff;
    background: var(--rdn-red);
    box-shadow: 0 9px 22px rgba(237, 91, 85, 0.28);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
  }

  .rdn-mobile-drawer__cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

}

@media (max-width: 370px) {
  .rdn-mobile-dock__item {
    font-size: 8.5px;
  }

  .rdn-mobile-dock__item svg {
    width: 21px;
    height: 21px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .rdn-mobile-dock,
  .rdn-mobile-dock__badge,
  .rdn-mobile-drawer-layer,
  .rdn-mobile-drawer,
  .rdn-mobile-drawer__panel {
    transition-duration: 0.01ms !important;
  }
}
