/* Auto-generado - NO EDITAR MANUALMENTE */
/* Ejecutar: node scripts/generate-global-css.js */

app-component {
  .components-row {
    margin-bottom: 24px;
    @media (min-width: 768px) {
      margin-bottom: 48px;
    }
  }
  .-module-async {
    display: none;
  }
}

/* loader lock scroll */
body.nym-lock-scroll,
body.nym-ac-lock-scroll {
  overflow: hidden;
  position: relative;
}

.landing-debug {
  font-size: 13px;
  width: 100%;
  display: block;
  padding: 3px;
  text-align: center;
  box-sizing: border-box;
  word-break: break-all;
}
ads-banners-component {
  .rounded {
    border-radius: 8px;
    overflow: hidden;
  }

  .ads-banner-slot {
    width: 100%;
    height: 100%;
    min-height: 250px; /* mínimo para que Google Ads pueda renderizar */
  }
}

ads-regular-banners-component {
  .regular-ads {
    .col {
      text-align: center;
    }

    .mobile-spacing {
      @media(max-width: 767px) {
        margin-bottom: 12px;
      }
    }
  }
}

background-wrapper-component {
  display: block;
  width: 100%;

  .background-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    box-sizing: border-box;
  }

  .background-content {
    background-size: cover;
    background-repeat: no-repeat;
  }

  .grow-background {
    .background-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .background-content {
      margin-top: -90px;
    }
  }

  @media screen and (min-width: 768px) {
    .background-content {
      border-radius: 20px;
    }
  }
}

baggages-component {
  .bagagges-wrapper {
    width: 48px;
  }

  .baggage-container {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    margin: 10px 10px 0;
    padding: 16px 12px 16px;
    border: 1px solid var(--color-neutral-300);
    border-radius: 6px;

    .disclaimer-co {
        font-size: 12px;
    }
  }
}

bagagges-content-modal {
  .luggage-item + .luggage-item { 
    border-top: 1px solid var(--color-neutral-100);
  }
}

baggages-icons-component {
  .-INCLUDED {
    color: var(--color-success-500);
  }

  .NOT-INCLUDED {
    color: var(--color-neutral-300);
  }

  .baggages-wrapper {
    width: 50px;
  }

  .baggage-icon {
    margin: 0 -4px;
  }
}

baggages-information-component {
  .luggage-item-title {
    font-size: 12px;
  }

  .luggage-item-description {
    font-size: 12px;
  }

  baggages-content-modal p {
    font-size: 14px;
  }

  .luggage-tooltip-content {
    width: 290px;
  }
}


card-component {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;

  .card-component {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    /* Asegurar consistencia con tarjetas de ads */
    border-radius: 8px;

    &.LEFT_IMAGE {
      flex-direction: row;
      gap: 12px;
      align-items: center;
      padding: 16px;

      .card-component-image {
        display: flex;
        align-items: center;

        .image-component {
          width: auto;
          height: auto;
        }
      }

      .card-component-content {
        padding: 0;
      }

      .card-component-subtitle {
        .text-component {
          margin-top: 4px;
        }
      }
    }
  }

  /* TODO Stencil: image-component tiene un height de 200px deberia tener 100% o no tener nada y ajustarlo por componente, revisar que no afecte a otros componentes */
  .card-component-image {
    height: 100%;
  }

  .card-component-content {
    padding: 24px;
  }

  .card-component-subtitle .text-component {
    display: block;
    margin-top: 12px;
    word-wrap: break-word;
  }

  .clickeable {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;

    .image-component {
      border-radius: 8px;
    }
  }

  .card-component-ads-banner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    z-index: 2;
  }

  .fallback-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    z-index: 1;
    background: var(--color-neutral-50, #f8f9fa);
  }

  &.--horizontal {
    height: 100%;

    .card-component {
      display: flex;
    }

    .card-component-image {
      display: block;
      height: 100%;
      width: 300px;

      .image-component {
        width: auto;
        height: auto;
      }
    }

    &.--with-image {
      .card-component-image {
        flex: 0.4;
      }
      .card-component-content {
        flex: 0.6;
      }
    }
  }

  &.-banner {
    .image-component {
      max-height: 270px;
    }
  }
  &.-no-radius {
    .card-component {
      border-radius: inherit;
    }
  }
  &.-no-border {
    .card-component {
      border: none;
    }
  }
  image-component {
    position: relative;

    &.TINY_IMAGE {
      text-align: left;
      padding: 24px 0 0 24px;
      height: auto;

      .image-component {
        object-fit: none;
        width: initial;
        height: initial;
      }
    }
  }
}

carousel-component {
  .carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;

    &.full-width {
      @media (min-width: 768px) {
        .center-carousel {
          justify-content: center;
        }
      }

      .arrow-carousel {
        &.-left {
          left: 2px;
        }
        &.-right {
          right: 2px;
        }

        @media (min-width: 1281px) {
          &.-left  { left: calc((100vw - 1280px) / 2); }
          &.-right { right: calc((100vw - 1280px) / 2); }
        }
      }

      .carousel-dots {
        position: absolute;
        top: 66%;
        left: 50%;
        transform: translateX(-50%);

        @media (max-width: 767px) {
          top: 86%;
        }
      }

      card-component {
        justify-content: center;

        &.-banner {
            .image-component {
                object-fit: cover;
                object-position: center;
                max-height: unset;
                border-radius: unset;
                @media (min-width: 1940px) {
                  object-fit: contain;
                }
            }
        }

        .card-component {
          height: inherit;
          border: none;
          border-radius: unset;
          background-color: transparent;
        }

        .clickeable {
          display: flex;
          justify-content: center;
          width: 100%;
          border-radius: unset;
        }

        .fallback-banner {
          left: unset;
          border-radius: unset;
          background: transparent;
        }
      }
    }

    &.-above-the-fold-banner {
      .carousel-dots {
        position: absolute;
        top: 66%;
        left: 50%;
        transform: translateX(-50%);

        @media (max-width: 767px) {
          top: 86%;
        }
      }
    }
  }

  .carousel-wrapper {
    overflow: hidden;
    width: 100%;
    min-height: inherit;
    height: 100%;

    &.native-scroll {
      overflow-x: auto;
      scroll-snap-type: x mandatory;

      .carousel-track {
        transition: none;
      }

      .carousel-item {
        scroll-snap-align: start;
      }
    }
  }

  .carousel-track {
    display: flex;
    transition: transform 500ms ease;
    gap: 16px;
    min-height: inherit;
    height: 100%;
    will-change: transform;
  }

  .carousel-item {
    flex: 0 0 auto;
    box-sizing: border-box;
    will-change: transform;
  }

  button.prev-btn,
  button.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
  }

  button.prev-btn {
    left: 0;
  }

  button.next-btn {
    right: 0;
  }

  .arrow-carousel {
    z-index: 1;

    &:not(.-inner).-right {
      right: -16px;
    }

    &:not(.-inner).-left {
      left: -16px;
    }
  }

  .carousel-dots {
    margin-top: 12px;
    text-align: center;
  }

  .eva-3-nav-dots.-carousel {
    width: inherit;
  }
}
.debug-modal-content {
  .json-viewer {
    font-family: monospace;
    white-space: pre;
    background: #1e1e1e;
    color: #ce9178;
    padding: 1rem;
    border-radius: 8px;
    overflow: auto;
    line-height: 1.4;
  }
  .json-viewer .key {
    color: #9cdcfe;
  }
}

.eva-3-modal.debug-modal {
  .modal-header {
    max-width: 90%;
  }
  .modal-content {
    max-width: 90%;
  }
}
document-viewer-component {

  .pdf-container {
    overflow: hidden;
    min-height: 650px;
    max-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    @media (max-width: 767px) {
      margin: 0;
      max-height: 450px;
    }
  }

  .pdf-frame {
    width: 100%;
    height: 800px;
    border: none;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    
  }

  .top-bar {
    height: 45px;
  }

  .loader{
    padding-top: 250px;
  }

}

driver-component {
  .eva-3-driver {
    gap: 4px;
  }
  image-component {
    height: 26px;
  }
  .-white {
    background-color: var(--color-white);
    border: 1px solid var(--color-neutral-300);
    color: var(--color-neutral-800);
  }
}
dual-promo-component {
  .offer-card-pricebox-label {
    overflow: visible;
  }

  .eva-3-tooltip {
    span {
      display: flex;
      align-items: center;
    }
  }
}
eva-message-component {
    .message-text {
        white-space: pre-line;
    }
}
.modal-stencil {}
eva-subnav-component {
  z-index: 998;

  .eva-subnav-container {
    height: 55px;
    display: flex;
  }

  .eva-subnav-wrapper {
    background-color: white;
    display: flex;
    justify-content: center;
    width: 100%;

    &.-fixed {
      position: fixed;
      top: 0;
      z-index: 998;
    }

    &.-align-left {
      justify-content: flex-start;
    }
  }

  .sub-nav-container {
    overflow-y: hidden !important;
    overflow-x: auto !important;
    -ms-overflow-style: none;
    scrollbar-width: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .eva-3-sub-nav {
    &.expanded {
      width: 100%;
    }

    .sub-nav-item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;

      &.expanded {
        flex: 1;
      }

      .-active {
        color: var(--brand-primary-3);
      }
    }

    .text-container {
      display: flex;
      flex-direction: column;
    }

    .sub-nav-label {
      font-size: 14px;
      line-height: 20px;
    }
  }
}

@media screen and (max-width: 1023px) {
  eva-subnav-component {
    .eva-3-sub-nav {
      .sub-nav-item {
        flex-direction: column;

        &:hover:not(.-disabled) {
          background-color: inherit;
          color: inherit;

          &::after {
            background-color: inherit;
          }
        }
      }

      .icon-container {
        margin: 4px 0 -4px 0;
        font-size: 24px;
      }
    }
  }
}

@media screen and (min-width: 1024px) {
  eva-subnav-component {
    .eva-3-sub-nav {
      .sub-nav-item {
        flex-direction: row;

        &.expanded {
          width: 100%;
        }
      }

      .icon-container {
        font-size: 16px;
      }
    }
  }
}

grid-section {
  display: block;
  width: 100%;

  .grid-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 16px;
    @media (max-width: 767px) {
      grid-template-columns: repeat(1, 1fr);
    }
    @media (min-width: 768px) and (max-width: 1023px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  button-component.-show-more {
    display: block;
    text-align: center;
    margin-top: 16px;
  }

  @media (max-width: 767px) {
    .-area {
      &.-no-webview {
        card-component:first-child {
          .card-component {
            justify-content: center;
          }
          .card-component-image {
            height: auto;
            justify-content: flex-start;
            align-items: flex-end;
            padding-left: 16px;
            display: flex;
          }
          .image-component {
            height: unset;
            width: unset;
          }
          .card-component-content {
            padding: 8px 16px;
          }
        }
      }
      .eva-3-h6 {
        font-size: 12px;
        line-height: 16px;
      }
    }
  }
}

grouped-interlink-component {
  .grouped-interlink {
    padding: 24px;
  }
}

heading-app-component {
  .heading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    height: 100%;

    &.inverted {
      flex-direction: row-reverse;

      .image-app-side {
        float: left;
      }

      .titles-side {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
      }
    }
  }

  div.main-texts {
    padding: 0;
  }

  .image-app-side {
    float: right;

    .image-component {
      width: inherit;
    }
  }

  .side {
    width: 50%;
    height: 100%;
  }

  .titles-side {
    margin-left: 24px;
  }

  .download-container {
    width: 100%;
    max-width: 410px;
  }

  .title-side-container {
    max-width: 410px;
    width: 100%;
    margin: 90px 0 36px;
  }

  .download-methods {
    display: grid;
    grid-template-columns: 100px auto;
    gap: 24px;

    .qr {
      width: 100px;
      height: 100px;
    }

    .stores {
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .image-component {
        object-fit: inherit;
      }

      .ios {
        width: 120px;
      }

      .android {
        width: 136px;
      }

      .badge-store {
        max-width: 100%;
        height: 40px;
      }
    }
  }
}

@media screen and (max-width: 767px) {
  heading-app-component {
    .side {
      width: 100%;
    }

    .heading-content {
      height: inherit !important;
      flex-direction: column-reverse;
      gap: 12px;

      &.inverted {
        flex-direction: column-reverse;

        .image-app-side {
          float: right;
        }

        .titles-side {
          align-items: flex-start;
        }
      }
    }

    .image-side {
      .image-app-side {
        height: 100%;
        max-height: 300px !important;
      }
    }

    .titles-side {
      margin-left: 0;
    }

    .title-side-container {
      max-width: inherit;
      width: auto;
      padding: 40px 20px 0;
      margin: 0;
    }

    .download-container {
      width: auto;
      max-width: inherit;
      padding: 40px 20px 0;
    }
  }
}

heading-component {
  .heading-component-wrapper {
    display: block;
    position: relative;

    &.grow-background {
      .heading-component-background {
        position: unset;
      }

      .heading-component {
        margin-top: -90px;
      }
    }
    /* TODO Stencil: sumar esto para los casos que son hubDynamic */
    &.offers-hub-dynamic {
      min-height: inherit;
    }
  }

  .heading-component {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    box-sizing: border-box;

    &.medium-size {
      max-width: 1060px;
      width: 100%;
      height: 100%;
      margin: 0 auto;
    }

    &.searchbox-first {
      flex-direction: column-reverse;

      .heading-component-searchbox {
        max-width: 1060px;
        width: 100%;
        padding: 20px 0;
        margin: 0 auto;
      }
    }
  }

  .heading-components {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    padding: 0 24px;
    min-height: inherit;

    &.vertical-align-END {
      align-items: flex-end;
    }

    &.vertical-align-CENTER {
      align-items: center;
    }

    &.vertical-align-START {
      align-items: flex-start;
    }

    title-pill-component {
      margin-left: -24px;
    }
  }

  .heading-components-background {
    background-position: center;
    background-size: cover;
  }

  .heading-component-item {
    width: 100%;
  }

  .heading-components,
  .heading-component-searchbox {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 24px;
  }

  .heading-background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .heading-component-background {
    overflow: hidden;
    position: absolute;
    inset: 0;
    display: flex;

    &.only-image {
      position: unset;
    }

    .heading-img {
      .image-component {
        width: 100%;
        height: 100%;
        object-fit: cover;
        min-height: var(--background-min-height);
        max-height: var(--background-max-height);
      }
    }
  }

  .heading-component-background-components {
    position: absolute;
    margin-bottom: 90px;
    width: 100%;
  }

  .heading-component-background-content {
    width: 100%;
  }
}

@media (max-width: 767px) {
  heading-component {
    .heading-component-wrapper {
      min-height: var(--mobile-background-min-height);
    }

    .heading-component {
      &.searchbox-first {
        .heading-component-searchbox {
          padding: 0;
        }
      }
    }

    .heading-component-background-wrapper {
      height: 100%;
    }

    .heading-component-background-content {
      height: 100%;
      .heading-img {
        height: 100%;
        .image-component {
          /*min-height: 185px;*/
          height: 100%;
        }
      }
    }

    .heading-component-background-components {
      position: unset;
    }

    .heading-component-searchbox {
      padding: 0 16px;
    }

    .heading-component-wrapper {
      &.with-title-pill {
        background-color: #fff;

        .heading-component-background-content {
          flex: 0;
        }
      }
    }
  }
}

@media (min-width: 768px) {
  heading-component {
    .heading-component-wrapper {
      min-height: var(--background-min-height);
    }

    .heading-components {
      &.with-container {
        max-width: 1328px;
        padding: 0 24px;
      }
    }

    .heading-component-searchbox-full {
      max-width: 1328px;
      padding: 0 24px;
    }

    .heading-component-background {
      align-items: center;
    }
  }
}

image-component {
  display: block;
  box-sizing: border-box;
}

.image-component {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
}

.loader-component {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.loader-component.cover-all {
    position: fixed;
    z-index: 99;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.6);
}
loyalty-info-component {
  .-disable-explanation-notice {
    .eva-3-tooltip {
      cursor: unset;
    }
  }

  .eva-3-pricing-points {
    background-color: unset;
    letter-spacing: -0.2px;

    .program-name {
      color: var(--eva-loyalty-primary-300);
    }
  }

  .main-message-column {
    display: flex;
    flex-direction: column;

    .capitalized-message {
      margin-right: 2px;
      display: inline-block;
    }

    .capitalized-message::first-letter {
      text-transform: capitalize;
    }
  }

  .pricing-points-logo {
    width: 18px;
    height: 24px;
  }

  .offer-card-loyalty-info {
    display: block;
    padding: 8px 8px 8px 16px;
    border-top: 1px solid var(--color-neutral-300);

    &:empty {
      display: none;
    }
  }
}
:host {
  display: block;
}

loyalty-switch-component {
  .redemption-switch-outside {
      display: block;
      margin-bottom: 20px;
  }
}
main-title-component {
  .main-title-component {
    .shadow {
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
  }

  .main-texts {
    padding: 24px 0;
  }

  .title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .image-container {
    img {
      max-height: 50px;
      max-width: 100px;
      margin-left: 75px;
    }
  }

  .video-container {
    display: flex;
    align-items: center;

    .story-preview-background {
      margin: 0;
    }

    .miniature-preview-container {
      padding: 0;
    }
  }

  tooltip-component {
    position: inherit;
    transform: inherit;

    .eva-3-tooltip {
      .tooltip-container {
        transform: inherit !important;
        position: relative;
        margin: 0;
        left: 0;
      }
    }
  }

  .heading {
    tooltip-component {
      position: inherit;
      transform: inherit;
      .eva-3-tooltip {
        .tooltip-container {
          left: 0;
          margin-left: 15px;
          transform: inherit !important;
          position: relative;
          transform-origin: initial;
          width: 150px !important;
        }
      }
    }
  }

  .offer {
    .title-container {
      flex-direction: column;
    }
    .video-container {
      width: 100%;
                  flex-direction: column-reverse;
            align-items: flex-start;
            gap: 20px;
      .story-preview-container {
        align-items: flex-start;
      }
    }

    tooltip-component {
      position: inherit;
      transform: inherit;
      width: 100%;
      .eva-3-tooltip {
        .tooltip-container {
          left: 0;
          margin: 0;
          transform: inherit !important;
          position: relative;
          transform-origin: initial;
          width: 100% !important;
        }
      }
    }
  }

  &.title-pill {
    display: grid;
    grid-template-columns: auto 1fr;
    padding-left: calc(max(20px, 50% - 1036px / 2 - 40px));
    position: relative;

    .main-title-component {
      display: flex;
      align-items: center;
      min-height: 120px;
      background-color: white;
      border-radius: 0 60px 60px 0;
      padding-right: 75px;
    }

    .main-texts {
      max-width: 500px;
    }
  }
}

@media screen and (min-width: 768px) {
  main-title-component {
    &.title-pill {
      &::before {
        content: "";
        position: absolute;
        height: 100%;
        left: 0;
        top: 0;
        width: calc(max(20px, 50% - 1036px / 2 - 40px));
        background-color: white;
      }
    }
  }
}

@media screen and (max-width: 767px) {
  main-title-component {
    .image-container {
      img {
        margin-left: 40px;
      }
    }

    .title-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
    }

    &.title-pill {
      padding: 0 24px;
      .main-title-component {
        padding-right: 0;
        display: grid;
        gap: 20px;
        grid-template-columns: auto auto;
        .image-container {
          img {
            margin-left: 0;
          }
        }
      }
    }
  }
}

offer-card {
  display: block;
  height: 100%;

  card-component {
    height: 100%;
    .card-component {
      display: flex;
      flex-direction: column;
    }
  }
  .offer-content {
    position: relative;
    padding: 16px 20px 12px;
    flex: 1;
  }
  .offer-pricebox-wrapper {
    box-sizing: border-box;
    border-top: 1px solid var(--color-neutral-300);
  }
  .offer-pricebox {
    padding: 16px 0 8px 20px;
    display: flex;
    position: relative;
    align-items: flex-end;

    driver-component.-discount {
      position: absolute;
      top: -12px;
    }
    ribbon-component.-discount {
      position: absolute;
      right: 0;
      top: 30%;
    }
  }
  .offer-pricebox-content {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .offer-bottom {
    border-top: 1px solid var(--color-neutral-300);
    padding: 12px 20px;
  }
  .between-section {
    position: absolute;
    bottom: -10px;
    left: 12px;
    text-transform: uppercase;
  }
  .top-left {
    position: absolute;
    top: 12px;
    left: 12px;
  }
  .offer-pretitle {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 500;
    line-height: 16px;
    text-transform: uppercase;
    color: var(--color-neutral-700);
  }
  .offer-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    margin-top: 4px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .offer-title-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }
  .star-icon {
    color: var(--color-warning-500);
    margin: 0 -2px;
  }
  .offer-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
  }
  .offer-amenities {
    display: flex;
    gap: 2px;
  }
  .description-item {
    line-height: 20px;
    color: var(--color-neutral-700);
    margin-top: 8px;
  }

  .offer-stars {
    display: flex;
    gap: 2px;
  }

  .description-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
  }

  .description-auxiliary-icons .eva-3-icon-star-filled {
    color: var(--color-warning-500);
  }

  .offer-descriptions-top {
    margin-top: 4px;
  }

  .offer-drivers-bottom {
    margin-top: 8px;
    display: inline-flex;
    gap: 8px;
  }

  .offer-meal-plan {
    color: var(--color-success-500);
  }
  .offer-pricebox-message {
    font-size: 12px;
    margin-bottom: 4px;
    display: inline-block;
  }
  .offer-gross-amount {
    color: var(--color-neutral-600);
    text-decoration: line-through;
    font-size: 12px;
    margin-bottom: 2px;
  }
  .offer-amount {
    font-size: 24px;
    .currency {
      font-size: 14px;
      margin-right: 4px;
      line-height: 20px;
    }
  }
  .offer-pricebox-auxiliar {
    color: var(--color-neutral-600);
    font-size: 12px;
    margin-top: 4px;
    display: inline-block;
  }
  .offer-pricebox-reference-date {
    font-size: 12px;
    padding: 0 20px 12px;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    line-height: 16px;
    font-weight: 500;
    color: #565a60;
    width: -moz-fit-content;
    width: fit-content;
    gap: 4px;
  }

  .reference-date {
    font-weight: 400;
  }

  &:first-child {
    margin-right: 2px;
  }

  .offer-bottom {
    display: flex;
    font-size: 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  .offer-item-airline {
    height: 22px;
    margin-bottom: 2px;
  }
  .offer-item-icon {
    font-size: 16px;
  }

  /*TODO Stencil: image-component tiene un height de 200px, deberia tener 100% o no tener nada y ajustarlo por componente */
  card-component {
    .card-component-image {
      height: 200px;
    }
  }

  .offer-itineraries {
    display: flex;
    flex-direction: row;
    font-size: 12px;
    gap: 8px;
    justify-content: space-between;
  }

  .offer-itineraries .route {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .offer-itineraries .destination {
    display: flex;
    flex-direction: row;
    gap: 4px;
  }

  .offer-itineraries .flight-type {
    display: flex;
    gap: 4px;
  }

  .offer-itineraries .flight-type .icon {
    height: 16px;
  }

  .offer-itineraries .route-text {
    color: var(--color-neutral-800);
    font-weight: 500;
    white-space: nowrap;
  }

  .offer-itineraries .route-from-to {
    font-weight: 500;
    color: var(--color-neutral-600);
  }

  .offer-itineraries .date {
    font-weight: 400;
    color: inherit;
    white-space: nowrap;
  }
}
.offer-card.CONTENT_WITH_ITEMS_BASIC {
  .offer-info {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 8px;
  }
  .offer-items {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .offer-item {
    display: flex;
    gap: 8px;
    align-items: center;
  }
}
.offer-card.CONTENT_WITH_ITEMS_DETAILED {
  .offer-info {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 8px;
  }
  .offer-item-detailed {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
  }
  .offer-item-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px 6px;
    flex-wrap: wrap;
  }
  .offer-item-from-to {
    text-transform: uppercase;
    display: flex;
    gap: 4px;
    padding: 0 2px;
    align-items: flex-end;
  }
}
.offer-card.REDUCED:not(.CLUSTER) {
  max-width: 198px;
  .card-component-image {
    height: 132px;
  }

  .offer-content {
    padding: 20px 16px 24px;
  }

  .offer-title {
    font-size: 16px;
    line-height: 20px;
    margin-top: 0px;
  }

  .offer-descriptions-bottom {
    color: var(--color-neutral-700);
    margin-top: 4px;
  }

  .offer-descriptions-top {
    display: flex;
    gap: 8px;
  }

  .description-item {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    margin-top: 0px;
  }

  .offer-pricebox {
    padding: 16px 16px 8px;
  }

  .currency {
    font-size: 10px;
  }

  .offer-items {
    gap: 4px;
  }
  .offer-amount {
    font-size: 16px;
    font-weight: 500;
  }

  .offer-pricebox-auxiliar {
    margin-top: 0px;
  }

  .offer-pricebox-reference-date {
    margin-top: 0px;
    padding: 0 16px 12px;
  }

  ribbon-component.-discount {
    top: -23px;
    left: 0;
  }
}
.offer-card.BASIC {
  .offer-title, .offer-title-flight {
    display: flex;
    font-size: 16px;
    line-height: 24px;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
  }
  .offer-stars {
    border-left: 1px solid var(--color-neutral-600);
    padding-left: 6px;
  }
  .star-icon {
    color: var(--color-neutral-800);
  }
  .offer-content {
    padding: 16px;

    .airline-container {
      align-items: flex-start;
    }
  }
  .card-component-image {
    height: 150px;
  }
  .offer-pricebox {
    padding: 16px 16px 8px;
  }
  .offer-pricebox-content {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 4px;
  }
  .offer-pricebox-message {
    grid-column: 1 / -1;
    color: var(--color-neutral-600);
  }
  .offer-amount {
    grid-column: 1;
    grid-row: 2;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;

    .currency {
      font-size: 12px;
    }
  }
  .offer-info {
    margin-top: 0;
  }
  .offer-gross-amount {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    margin-bottom: 0;

    .offer-gross-amount-currency {
      margin-right: 2px;
    }
  }
  .airline-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }
  .airline-logo {
    height: 24px;
    width: 24px;
  }
  ribbon-component.-discount {
    top: 20%;
  }

  .offer-title-flight {
    padding: 16px 16px 8px;
    border-bottom: 1px solid var(--color-neutral-300);

    .airline-name {
      font-size: 14px;
      line-height: 20px;
      font-weight: 400;
      color: var(--color-neutral-800);
      -webkit-line-clamp: 1;
      text-overflow: ellipsis;
      white-space: normal;
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
    }
    .offer-drivers-bottom {
      margin-top: 0;
    }
  }
  &.packages {
    .offer-descriptions-bottom {
      display: flex;
      flex-direction: row;
      gap: 8px;
      font-size: 12px;

      .description-wrapper:first-child {
        font-weight: 500;
      }
      .description-wrapper:last-child {
        padding-left: 8px;
        position: relative;

        &::before {
          content: "";
          position: absolute;
          left: 0;
          top: 50%;
          width: 1px;
          height: 10px;
          background: var(--color-neutral-600);
          transform: translateY(-50%);
        }
      }
      .description-item {
        margin-top: 0;
      }
    }
    .offer-amount-price {
      font-size: 16px;
    }
  }

  &.flight {
    .offer-content {
      padding: 8px 16px;
    }
  }
}

@media (min-width: 768px) {
  .offer-card.CLUSTER {
    .card-component {
      flex-direction: row;
    }
    .offer-pricebox-wrapper {
      min-width: 260px;
      border-left: 1px solid var(--color-neutral-300);
      border-top: none;
      display: flex;
      flex-direction: column;
      max-width: 260px;
      min-width: inherit;
      width: 25%;
    }
    .offer-pricebox {
      flex-direction: column;
      align-items: flex-start;
      flex: 1;

      ribbon-component.-discount {
        position: inherit;
        margin: -12px 0 8px -12px;
      }
      driver-component.-discount {
        position: inherit;
        top: 0;
        margin-bottom: 8px;
      }
      .pricebox-button {
        margin-top: 12px;
      }
    }
    .offer-pricebox + .offer-pricebox-reference-date {
      margin-top: 12px;
    }
    .card-component-image {
      height: 100%;
      max-width: 300px;
      width: 25%;
    }
  }
}

offers-button-item {
  display: block;
  height: 100%;

  .card-button-container {
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .circle-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--brand-primary-3, #4300D2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;

    i {
      color: var(--brand-primary-3, #4300D2);
      font-size: 20px;
    }
  }

  .button-label {
    margin-top: 8px;
  }

  .variant-ACCESS_POINT {
    border-radius: 24px;
    border: 1px solid var(--color-neutral-300);

    &.eva-3-link:hover {
      color: var(--brand-primary-3, #4300D2);
    }
  }
}

optional-link-component {
  a:-webkit-any-link:not(.eva-3-link) {
    cursor: pointer;
    color: inherit;
    text-decoration: inherit;
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .link-container {
    display: block;
    width: 100%;
  }

  .optional-link-wrapper {
    width: 100%;
    min-height: 100%;
  }
}
.picture-container {
  position: relative;
  justify-content: center;
}

.picture-container .image-component {
  width: 100%;
}

rating-component {
  .eva-3-rating {
    display: inline-flex;
  }
}

review-total-comments {
  .rating-reviews {
    color: var(--color-neutral-800);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: .05px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
  }
}

:host {
  display: block;
}

.eva-3-label {
  span.label-container.-loyalty {
    /* -eva-3-bc-bubblegum-1; */
    background-color: var(--eva-loyalty-primary-300);
  }
}

i.-secret-deals {
  /* -eva-3-tc-red-3; */
  color: var(--color-error-500);
}

i.-purple i.-green {
  /* -eva-3-mr-xsm; */
  margin-right: 4px;
}
sbox-component {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  flex-flow: column;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 200px;

  .sbox-main.sbox-ui-horizontal {
    flex-grow: 1;
  }

  searchbox-bar {
    width: 100vw;
  }

  main-title {
    display: block;
  }

  tag-text {
    flex-basis: 100%;
    text-align: center;
  }

  .item-content {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 767px) {
  sbox-component {
    min-height: 40px;
  }
}

searchbox-bar-v2-component {
  .searchbox-bar-container {
    background-color: var(--sbox-background-color);
    border-color: var(--sbox-background-color);
    min-height: 68px;
  }

  .re-search-searchbox {
    display: flex;
    align-items: center;
  }

  @media (max-width: 767px) {
    .re-search-searchbox {
      flex-wrap: wrap;
    }
  }

  .re-search-content.-eva-3-shadow-bottom.-eva-3-bc-purple-4.-expanded {
    position: relative;
  }
}

searchbox-v2-component {
  .-full-screen {
    position: fixed;
    width: 100%;
    left: 0;
    display: block;
    height: 100%;
    overflow-y: auto;
    top: 0;

    .sbox5-box-wrapper {
      height: 100%;
    }

    .sbox5-tab-switch {
      scrollbar-width: none;
    }
  }

  .searchbox-overlay {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
  }

  .searchbox-horizontal-container {
    height: 100%;
  }

  .searchbox-highlighted {
    z-index: 11;
    position: relative;
  }

  .searchbox-tooltip {
    z-index: 11;
    position: relative;
  }

  .sbox-main {
    min-width: 0;
  }
}

simplified-offer-card {
  display: block;
  height: 100%;

  .main-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-weight: 500;
    line-height: 24px;
    font-size: 16px;
    letter-spacing: 0.012em;
  }

  .pricebox {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .pricebox-description {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-neutral-600);
  }

  .pricebox-price-current {
    align-items: center;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }

  .pricebox-currency {
    margin-right: 2px;
  }

  .pricebox-amount {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.3px;
  }
}

simplified-offer-card card-component.card-display-SIMPLIFIED_DESTINATION_EXPLORER {

  .card-component { 
    border-radius: 24px;
  }

  .offer-card-info {
    display: flex;
    flex-direction: column;
    margin: 0 16px 16px;
    gap: 18px;

    @media (max-width: 767px) {
      margin: 0 12px 16px;
      gap: 6px;
    }
  }

  .card-component-image {
    height: 160px;
    margin: 12px;

    img {
      object-position: center;
      border-radius: 16px;
    }

    @media (max-width: 767px) {
      height: 140px;
      margin: 8px;
    }
  }

  .pricebox-description {
    font-size: 14px;
  }
}
skeleton-component {
  display: block;
  height: 200px;
  
  .skeleton-component {
    height: 100%;
    width: 100%;
    border-radius: 8px;
  }
}


title-card {
  display: block;
  height: 100%;

  .title-card-container {
    background-color: #FFFFFF;
    height: 100%;
    border-bottom-right-radius: 70px;
    padding: 42px 30px;
  }

  .title-card-access-point {
    position: relative;
    border-radius: 24px;
    padding: 16px;
    background-color: #6832DB;
    height: 288px;
    display: block;

    @media (max-width: 767px) {
      padding: 12px;
      height: 248px;
    }

    .card-illustration {
      display: block;
      width: 100%;
      margin-top: 20px;

      img {
        object-fit: contain;
        width: 100%;
        height: 170px;

        @media (max-width: 767px) {
          height: 140px;
        }
      }
    }

    .card-content {
      margin-top: 8px;
      margin-bottom: 8px;
    }

    .card-pretitle {
      display: block;
      margin-bottom: 8px;

      b2 {
        font-size: 14px;
        font-weight: 400;
        line-height: 16px;
      }
    }

    .card-title h6 {
      font-size: 16px;
      font-weight: 500;
      line-height: 24px;

      @media (max-width: 767px) {
        font-size: 14px;
        line-height: 20px;
      }
    }

    .circle-button {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: center;

      i {
        color: #6832DB;
        font-size: 20px;
        transform: rotate(45deg);
      }
    }
  }
}

title-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;

    &.title-image-top {
        flex-direction: column;
    }

    &.title-image-bottom {
        flex-direction: column-reverse;
    }

    &.title-image-right {
        flex-direction: row-reverse;
    }

    &.title-image-left {
        flex-direction: row;
    }

    .image-component {
        width: auto;
    }
}
tooltip-component {
  position: absolute;
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none; /* Evita interferencias con eventos del DOM */
  transform: translate(-50%, -100%); /* Centra el tooltip arriba del cursor */
  
  /* TODO: revisar tamaño de tooltips, cuando el tooltip aparece cerca del borde del browser aparece el scroll horizontal */
  max-width: 320px; 
  width: 100%;

  .eva-3-tooltip.-sm .tooltip-container {
    width: auto;
  }

  .eva-3-tooltip.-purple {
    .tooltip-container {
      background-color: var(--brand-primary-4);
    }

    .tooltip-marker:after {
      background-color: var(--brand-primary-4);
    }
  }
}

.tooltip-wrapper {
  display: block;
  cursor: pointer;
}
tooltip-wrapper {
  display: block;
}
user-recent-activity-component {

  @media (max-width: 767px) {
    min-width: 324px;
  }

  .user-recent-activity-item {
    flex: 1;
    position: relative;
    display: flex;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    border-radius: 8px;
    min-height: 187px;
    height: 100%;

    &:first-child {
      margin-left: 0;
    }

    .user-recent-activity-image {
      display: block;
      min-height: 100%;
      max-width: 156px;
      flex-shrink: 0;
      border-radius: 8px 0 0 8px;
      overflow: hidden;
    }

    .user-recent-activity-image img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }

    .user-recent-activity-content-container {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 12px;
      box-sizing: border-box;
      width: 100%;
    }

    .user-recent-activity-product {
      color: #888888;
      margin-bottom: 8px;
      white-space: nowrap;
      display: flex;
    }

    .user-recent-activity-icon {
      margin-right: 8px;
    }

    .user-recent-activity-title {
      font-size: 24px;
      line-height: 28px;
      max-height: 28px;
      -webkit-line-clamp: 1;
      line-clamp: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      color: #444444;
      margin-bottom: 8px;

      &.two-lines {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        max-height: 58px;
      }
    }

    .user-recent-activity-details {
      color: #666666;
      margin-bottom: 12px;
      line-height: 16px;
    }

    @media (min-width: 768px) {

      .user-recent-activity-detail-1,
      .user-recent-activity-detail-2 {
        display: block;
      }

      .user-recent-activity-detail-1 {
        margin-bottom: 12px;
      }
    }

    @media (max-width: 767px) {
      .-with-pipe {
        .user-recent-activity-detail-1 {
          padding-right: 8px;
          border-right: 1px solid #DDD;
        }

        .user-recent-activity-detail-2.-left-padding {
          padding-left: 8px;
        }
      }
    }

    .user-recent-activity-detail-1 {
      font-weight: 500;
    }

    .buttons-container {
      border-top: 1px solid var(--color-neutral-300);
      padding-top: 8px;
      display: flex;
      justify-content: flex-start;
      column-gap: 12px;
    }
  }
}
user-recent-activity-component-v2 {

  .user-recent-activity-item {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    height: calc(100% - 20px);

    &:first-child {
      margin-left: 0px;
    }

    @media (min-width: 768px) {
      &:hover {
        box-shadow: 0 12px 10px rgba(84, 89, 98, .15);
      }
    }

    @media (max-width: 767px) {
      height: 100%;
    }

    &.-ssr {
      max-width: 324px;
      min-height: 155px;
      
      @media (min-width: 768px) {
        max-width: 416px;
      }
    }
  }

  .top-content {
    grid-template-columns: 138px auto;
    gap: 8px;
    display: grid;
    align-items: flex-start;
    min-height: 104px;
    cursor: pointer;
    height: 100%;

    &.-without-picture {
      grid-template-columns: auto;
      padding-left: 16px;
    }

    @media (max-width: 767px) {
      grid-template-columns: 86px auto;
      min-height: 95px;
    }
  }

  .content-image {
    width: 138px;
    height: 100%;
    
    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
    
    @media (max-width: 767px) {
      width: 86px;
    }
  }

  .content-container {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    gap: 4px;

    @media (max-width: 767px) {
      gap: 0;
    }
  }

  .product-icon {
    margin-bottom: 2px;
  }

  .product-title {
    display: grid;
    grid-template-columns: auto 24px;
    align-items: center;

    &.-with-extra-info {
      grid-template-columns: auto auto 24px;
    }

    @media (max-width: 767px) {
      margin-bottom: 4px;
    }
  }

  .user-recent-activity-product {
    color: var(--color-neutral-600);
    white-space: nowrap;
    display: flex;
    align-items: center;
  }

  .rating-info {
    border-right: 1px solid var(--color-neutral-300);
  }

  .user-recent-activity-title {
    color: var(--color-neutral-800);
  }

  .user-recent-activity-details {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .user-recent-activity-detail-1 {
    color: var(--color-neutral-700);
    border-right: 1px solid var(--color-neutral-300);
  }

  .user-recent-activity-detail-2 {
    color: var(--color-neutral-600);
    min-width: fit-content;
  }

  .eva-3-icon-user {
    margin-bottom: 2px;
  }

  .buttons-container {
    border-top: 1px solid var(--color-neutral-400);
    cursor: pointer;
  }

  .planner-button-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary-3);

    .planner-button-text {
      color: var(--brand-primary-3);
    }
  }
}


video-player-component{
  .video-wrapper {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.7);
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;

    @media(max-width: 768px) {
      background-color: black;
    }
  }
  
  .video-container {
    position: relative;

    &::before {
      content: "";
      position: absolute;
      width: 100%;
      top: 0;
      left: 0;
      height: 100px;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
      z-index: 2;
    }
  }
  
  .eva-3-nav-dots {
    position: absolute;
    width: 100%;
    display: flex;
    z-index: 3;
  
    .nav-dot {
      background-color: var(--color-white);
      cursor: pointer;
      width: 100%;
      height: 2px;
      
      &.-playing {
        --progress-width: calc(var(--progress) * 100%);
        background-image: linear-gradient(
          to right,
          var(--color-white) var(--progress-width),
          var(--color-neutral-300) var(--progress-width)
        );
      }
    }
  }

  .top-section {
    position: absolute;
    top: 0;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    z-index: 3;
    width: 100%;

    .controls {
      margin-right: 16px;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      .playPause {
        font-size: 26px;
      }

      .close {
        font-size: 18px;
      }
    }
  }

  .link-button {
    position: absolute;
    bottom: 0;
    right: 50%;
    translate: 50%;
    z-index: 3;
  }

  .video-overlay {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    z-index: 2;

    &.right-overlay {
      left: 50%;
    }

    &.left-overlay {
      left: 0%;
    }
  }

  .video-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--brand-primary-1);
    background-image: 
      linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 41%),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 41%);
    background-position: bottom, top;
    background-repeat: no-repeat;
    background-size: 100% 55%, 100% 55%;
  }
}
video-preview-component {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;

  /* Story preview */
  .story-preview-container {
    display: flex;
    flex-direction: column; 
    align-items: center;
    height: 100%;
    width: 100%;
  }

  .story-preview-title {
    max-width: 90px;
    overflow: hidden;
    text-align: center;
    color: var(--text-color);
  }

  .story-preview-image {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 50%;
    box-sizing: border-box;
    border: solid 2px white;
    object-fit: cover;
    align-content: center; /* Para el alt si no se muestra la img */
  }

  .story-preview-background {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-image: linear-gradient(to right, var(--brand-primary-2), var(--brand-primary-4));
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px;
  }

  /* Miniature preview*/
  .miniature-preview-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    width: 100%;
    gap: 8px;
    padding: 8px;
    box-sizing: border-box;
  }

  .miniature-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-sizing: border-box;
    object-fit: cover;
    align-content: center; /* Para el alt si no se muestra la img */
  }

  .miniature-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    color: var(--text-color);
    max-width: 200px;
  }

  /* Reel preview */
  .reel-preview-container {
    height: 176px;
    width: 128px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    scroll-snap-align: center;
    position: relative;
    text-decoration: none;
  }

  .reel-preview-title-background {
    background: linear-gradient(359.28deg, #000000 0.59%, #121212 39.68%, rgba(30, 30, 30, 0.68) 65.91%, rgba(68, 68, 68, 0) 99.34%);
    opacity: 0.4;
    border-radius: 0px 0px 8px 8px;
    position: absolute;
    height: 52px;
    width: 100%;
  }

  .reel-preview-title {
    margin: 4px 8px 8px 8px;
    z-index: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: var(--text-color);
  }

  .reel-preview-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-image: url('https://media.staticontent.com/media/pictures/362b12ed-8938-4713-b3d9-c18c195392ce');
  }

  &.view-more-card {
    .reel-preview-container {
      justify-content: center;
      background: var(--brand-primary-3);

      &::before {
        display: none;
      }
    }

    .reel-preview-title {
      text-align: center;
      margin: 8px;
    }

    .reel-preview-title-background {
      display: none;
    }

    .reel-icon-container {
      display: flex;
      justify-content: center;
      align-items: center;
      align-self: center;
      width: 56px;
      height: 56px;
      background: white;
      border-radius: 50%;
      margin-top: 20px;
    }

    .reel-item-icon {
      color: var(--brand-primary-3);
    }
  }

  &.video-viewed {
    .story-preview-background {
      background: var(--color-neutral-300);
    }

    .reel-preview-container {
      filter: brightness(50%);
    }
  }

  &.clickable {
    cursor: pointer;
  }
}
video-preview-wrapper {
  .video-preview-container {
    align-items: center;
    border-radius: 8px;
    box-sizing: border-box;

    @media(max-width: 768px) {
      margin: 0 -16px;
      border-radius: 0;
    }
  }

  /* Usado para darle un margen al contenido en mobile */
  .content-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    padding: 12px 0px;

    &.upper-title {
      flex-direction: column;
      align-items: baseline;
      gap: 12px;
    }

    @media(max-width: 768px) {
      flex-direction: column;
      align-items: baseline;
      margin-left: 16px;
      gap: 12px;
    }
  }

  title-section .image-component {
    width: 70px;
    object-fit: scale-down;
  }  

  .components-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin-bottom: 0px !important;
  }

  .carousel {
    box-sizing: border-box;
    width: 100%;
  }
}

youtube-embedded-video-component {
  width: 100vw;
  background-image: var(--background-url);
  left: calc(-50vw + 50%);
  display: block;
  position: relative;
  background-size: cover;

  .complete-background {
    padding: 10% 0;
    @media (min-width: 768px) {
      padding: 3% 25%;
    }
  }

  &.no-padding {
    @media (min-width: 768px) {
      .complete-background {
        padding: 0;
        width: 853px;
        justify-self: center;
        margin-top: 0;
      }
    }

    @media (max-width: 767px) {
      .complete-background {
        padding: 0;
      }
    }
  }

  .embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
  }

  .embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

single-component {
  .components-row {
    margin-bottom: 24px;
    @media (min-width: 768px) {
      margin-bottom: 48px;
    }
  }
}
