/**
 * Menú lateral móvil HispaDrive (#side_stmobilemenu)
 */
@media (max-width: 1199px) {
  #side_stmobilemenu.hispadrive-mdrawer.st-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(88vw, 380px) !important;
    max-width: min(88vw, 380px) !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    margin-left: 0 !important;
    transform: translateX(-100%) !important;
    transition: transform 250ms ease;
    visibility: hidden;
    pointer-events: none;
    background: #fff;
    border: 0;
    box-shadow: none;
    z-index: 900;
    text-transform: none;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
  }

  #side_stmobilemenu.hispadrive-mdrawer.st-menu.sidebar_opened,
  #side_stmobilemenu.hispadrive-mdrawer.hispadrive-mdrawer--open,
  body.stsidebar_opened #side_stmobilemenu.hispadrive-mdrawer.st-menu,
  body.open_bar_left #side_stmobilemenu.hispadrive-mdrawer.st-menu {
    transform: translateX(0) !important;
    visibility: visible;
    pointer-events: auto;
  }

  @media (prefers-reduced-motion: reduce) {
    #side_stmobilemenu.hispadrive-mdrawer.st-menu {
      transition: none;
    }
  }

  #side_stmobilemenu.hispadrive-mdrawer .st-menu-header,
  #side_stmobilemenu.hispadrive-mdrawer #st_mobile_menu {
    display: none !important;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hd-sidebar,
  .hispadrive-mdrawer__panel.hd-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
  }

  .hispadrive-mdrawer__header {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 8px 0 20px;
    border-bottom: 1px solid #ececf3;
    background: #fff;
    box-sizing: border-box;
  }

  .hd-sidebar.is-sub-active .hispadrive-mdrawer__header[data-hispadrive-mdrawer-root-chrome] {
    visibility: hidden;
    height: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
  }

  .hispadrive-mdrawer__header .hispadrive-logo--drawer {
    height: 26px;
    width: auto;
    max-height: 26px;
    object-fit: contain;
  }

  .hispadrive-mdrawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-text);
    text-decoration: none;
  }

  .hispadrive-mdrawer__views {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .hispadrive-mdrawer__view {
    position: absolute;
    inset: 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    background: #fff;
    transition: transform 250ms ease;
    will-change: transform;
  }

  @media (prefers-reduced-motion: reduce) {
    .hispadrive-mdrawer__view {
      transition: none;
    }
  }

  .hispadrive-mdrawer__view--l1 {
    transform: translateX(0);
    z-index: 1;
  }

  .hispadrive-mdrawer__view--l2 {
    transform: translateX(100%);
    z-index: 2;
  }

  .hd-sidebar.is-sub-active .hispadrive-mdrawer__view--l1 {
    transform: translateX(-100%);
  }

  .hd-sidebar.is-sub-active .hispadrive-mdrawer__view--l2 {
    transform: translateX(0);
  }

  .hispadrive-mdrawer__featured {
    display: block;
    padding: 16px;
    margin-bottom: 4px;
    border-radius: 16px;
    background: var(--color-soft);
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
  }

  .hispadrive-mdrawer__featured-title {
    display: block;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-cta);
    margin-bottom: 4px;
  }

  .hispadrive-mdrawer__featured-text {
    display: block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 300;
    color: var(--color-text);
    line-height: 1.35;
  }

  .hispadrive-mdrawer__label {
    margin: 0;
    padding: 16px 8px 8px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-muted);
  }

  .hispadrive-mdrawer__cats {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .hispadrive-mdrawer__cat {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 0 8px;
    margin: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: var(--color-text);
    box-sizing: border-box;
  }

  .hispadrive-mdrawer__cat:active,
  .hispadrive-mdrawer__cat:focus-visible {
    background: #f5f5f7;
    outline: none;
  }

  .hispadrive-mdrawer__cat-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f5f5f7;
    color: var(--color-heading);
  }

  .hispadrive-mdrawer__cat-icon .hispadrive-mega-icon {
    display: block;
  }

  .hispadrive-mdrawer__cat-name {
    flex: 1;
    min-width: 0;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-text);
  }

  .hispadrive-mdrawer__chevron {
    flex: none;
    font-size: 20px;
    line-height: 1;
    color: var(--color-muted);
  }

  .hispadrive-mdrawer__foot {
    flex: none;
    padding: 16px 20px;
    border-top: 1px solid #ececf3;
    background: #fff;
    box-sizing: border-box;
  }

  .hispadrive-mdrawer__foot .hd-partner-status--drawer {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ececf3;
  }

  .hispadrive-mdrawer__account-link,
  .hispadrive-mdrawer__favorites-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-cta);
    text-decoration: none;
    margin-bottom: 8px;
  }

  .hispadrive-mdrawer__cat--link {
    text-decoration: none;
    color: inherit;
  }

  .hispadrive-mdrawer__menu .hispadrive-mdrawer__cat {
    padding-left: 8px;
  }

  .hispadrive-mdrawer__menu .hispadrive-mdrawer__cat-name {
    font-size: 15px;
  }

  .hispadrive-mdrawer__call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--color-cta);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer__view--l2 {
    padding: 4px 16px 20px;
    overflow-x: hidden;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer__view--l2 .hispadrive-mdrawer__sub-head {
    margin: 0 0 8px;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer__view--l2 .hispadrive-mdrawer__back {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 40px;
    padding: 0;
    margin: 0 0 4px;
    border: 0;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    color: #7a7d8f;
    cursor: pointer;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer__view--l2 .hispadrive-mdrawer__sub-title {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    color: #2b2d6e;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer__view--l2 .hispadrive-mdrawer__view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 12px 0 16px;
    padding: 0 18px;
    border: 1px solid #2b2d6e;
    border-radius: 999px;
    background: #fff;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #2b2d6e;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition:
      background-color 150ms ease,
      border-color 150ms ease;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer__view--l2 .hispadrive-mdrawer__view-all:active {
    background: #f6f7fb;
    border-color: #23255a;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer__view--l2 .hispadrive-mdrawer__cards,
  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer__view--l2 .hispadrive-mdrawer-card-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-width: 0;
    box-sizing: border-box;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #eceef4;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition:
      background-color 150ms ease,
      border-color 150ms ease;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer-card:has(.hispadrive-mdrawer-card__link:active) {
    background: #f6f7fb;
    border-color: #d8dae6;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer-card__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 12px 14px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer-card__media {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer-card__media .hispadrive-mega-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer-card__media .hispadrive-mega-card__img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    object-position: center;
    box-shadow: none;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer-card__title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #2b2d6e;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer-card__chevron {
    flex: none;
    align-self: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #b5b8c8;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer-card__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0 14px 12px 74px;
    box-sizing: border-box;
  }

  #side_stmobilemenu.hispadrive-mdrawer .hispadrive-mdrawer-card__pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f3f4f8;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    color: #444558;
    text-decoration: none;
    box-sizing: border-box;
  }

  body.stsidebar_opened .st-overlay,
  body.open_bar_left .st-overlay,
  body.stsidebar_opened #st_overlay,
  body.open_bar_left #st_overlay {
    background: rgba(20, 21, 46, 0.45) !important;
  }

  body.hispadrive-mdrawer-open {
    overflow: hidden;
  }
}

@media (min-width: 1200px) {
  #side_stmobilemenu.hispadrive-mdrawer .hd-sidebar {
    display: none;
  }
}
