@font-face {
    font-family: 'Quarto';
    src: url('/on/demandware.static/-/Library-Sites-AbacusShared/default/scroll-infinito/abacus-nadal/assets/fonts/Quarto-Black.woff2') format('woff2'),
         url('/on/demandware.static/-/Library-Sites-AbacusShared/default/scroll-infinito/abacus-nadal/assets/fonts/Quarto-Black.woff') format('woff');
    font-weight: 900; /* Black */
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Quarto';
    src: url('/on/demandware.static/-/Library-Sites-AbacusShared/default/scroll-infinito/abacus-nadal/assets/fonts/Quarto-Light.woff2') format('woff2'),
         url('/on/demandware.static/-/Library-Sites-AbacusShared/default/scroll-infinito/abacus-nadal/assets/fonts/Quarto-Light.woff') format('woff');
    font-weight: 300; /* Light */
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Quarto';
    src: url('/on/demandware.static/-/Library-Sites-AbacusShared/default/scroll-infinito/abacus-nadal/assets/fonts/Quarto-Semibold.woff2') format('woff2'),
         url('/on/demandware.static/-/Library-Sites-AbacusShared/default/scroll-infinito/abacus-nadal/assets/fonts/Quarto-Semibold.woff') format('woff');
    font-weight: 600; /* Semibold */
    font-style: normal;
  }
  
  
  /* Body and Text Styles */
  .anadal_body {
    font-family: 'Quarto', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .anadal_bold-text {
    font-weight: 900; /* Utiliza Quarto Black */
  }
  
  .anadal_light-text {
    font-weight: 300; /* Utiliza Quarto Light */
  }
  
  .anadal_semibold-text {
    font-weight: 600; /* Utiliza Quarto Semibold */
  }
  
  h1.anadal_h1 {
    margin: 0;
    padding: 0;
    font-size: 64px !important;
    font-weight: 900 !important;
    line-height: 54px !important; /* 84.375% */
    font-family: 'Quarto', sans-serif !important;
  }
  
  
  /* Structure */
  
  .anadal_content-page {
    width: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(180deg,hsla(354, 78%, 83%, 1) 429px, hsla(0, 0%, 93%, 1) 180px );
  }
  
  .anadal_content-wrapper {
    background: rgb(255,255,255);
    max-width: 440px;
    margin: 0 auto;
  }
  
  .anadal_hero {
    background: hsla(354, 78%, 78%, 1);
    padding: 48px 100px 190px 24px;
    max-height: 429px;
    height: 429px;
    position: relative;
  }
  
  .anadal_hero p {
    font-family: 'Jost';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 17px; /* 113.333% */
    margin: 10px 0 !important;
  }
  
  .anadal_content-wrapper .anadal_section-carousel.anadal_first {
    margin-top: -200px;
  }
  
  /* Carousel Styles */
  .carousel {
    padding: 0 0 0 24px;
    max-height: 370px;
    overflow-x: hidden;
  }
  
  .anadal_carousel-cell {
    width: 270px;
    height: 370px;
    margin-right: 10px;
    background: rgb(67, 67, 67);
    opacity: .3;
    display: flex;
  }
  
  
  .anadal_carousel-cell.is-selected {
    opacity: 1;
  }
  
  .anadal_carousel-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
  }
  
  /* Slide Content and Text */
  .anadal_slide-text {
    z-index: 0;
    padding: 60px 24px;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    box-sizing: border-box;
  }
  
  .anadal_slide-title {
    color: #FFFDFD;
  
  text-align: center;
  font-family: Jost;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 118.75% */
  margin-bottom: 16px !important;
  }
  .anadal_slide-description {
    color: #FFF;
  
    text-align: center;
    font-family: 'Jost';
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 130%; /* 113.333% */
  }
  .anadal_slide-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    background: black;
  }
  
  /* Button Styles */
  .anadal_toggle-button  {
    margin: 10px;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    position: absolute;
    bottom: -25%;
    z-index: 990;
    border-radius: 32px;
    font-family: 'Jost' !important;

  }
  
  .is-selected button {
    animation: slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  }
  
  
  /* Section Styles */
  .anadal_section-carousel {
    position: relative;
    padding: 24px 0;
  }
  
  /* Product card */
  
  .anadal_carousel-product-card {
    padding: 16px 24px;
  }
  
  h3.anadal_book-author {
    color: #000;
  
    font-family: 'Jost' !important;
    font-size: 20px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: normal !important;
    margin: 0 !important;
  }
  h3.anadal_book-title {
    color: #000;
  font-family: 'Quarto' !important;
  font-size: 30px !important;
  font-style: normal;
  font-weight: 600 !important;
  line-height: normal;
  margin: 0 0 10px !important;
  }
  .anadal_book-description {
    font-family: 'Jost';
    margin: 0 !important;
  
  }
  .anadal_toggle-more {
    border: 0;
    background: none;
    text-decoration: underline;
    text-align: right;
    width: 100%;
    line-height: 5px !important;
    margin: 10px 0;
    color: black;
    font-family: 'Jost' !important;

  }
  
  .anadal_price {
    color: #000;
    font-family: 'Jost';
    font-size: 12px;
    font-weight: 500;
    line-height: 10px; /* 83.333% */
    padding: 4px 8px;
    margin: 5px;
    display: flex;
    text-decoration: line-through;
  }
  
  .anadal_price p {
    margin: 0;
  }
  
  .anadal_price.promo {
    background: #E0DFDD;
    text-decoration: none;
  }
  
  .anadal_action-bar {
    display: flex;
      align-items: center;
      flex-direction: row;
      column-gap: 8px;
      margin-top: 9px;
  }
  .anadal_book-shopping {
    background: hsla(43, 98%, 53%, 1);
    border-radius: 100%;
    padding: 8px;
    border: 0;
  }
  .anadal_book-shopping:hover {
    background: rgb(223, 161, 4);
    border-radius: 100%;
    padding: 8px;
    border: 0;
  }
  
  .anadal_book-shopping i {
    background-image: url(/on/demandware.static/-/Library-Sites-AbacusShared/default/scroll-infinito/abacus-nadal/assets/img/shop-cart.svg);
    width: 28px;
    height: 28px;
    display: block;
  }
  .anadal_book-extracto {
    background: rgb(255, 255, 255);
    border-radius: 100%;
    padding: 8px;
    border: 1px solid #000;
  }
  .anadal_book-extracto i {
    background-image: url(/on/demandware.static/-/Library-Sites-AbacusShared/default/scroll-infinito/abacus-nadal/assets/img/extracto.svg);
    width: 28px;
    height: 28px;
    display: block;
  }
  .anadal_book-share {
    background: rgb(255, 255, 255);
    border-radius: 100%;
    padding: 8px;
    border: 0;
    position: fixed;
    bottom: 22px;
    right:22px;
    z-index: 999;
  }
  .anadal_book-share i {
    background-image: url(/on/demandware.static/-/Library-Sites-AbacusShared/default/scroll-infinito/abacus-nadal/assets/img/share.svg);
    background-size: contain;
    width: 28px;
    height: 28px;
    display: block;
  }
  
  .anadal_book-dropdown {
    display: none;
    position: fixed;
    bottom: 75px; /* Ajusta según el tamaño del botón */
    right: 22px;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 998;
  }
  
  .anadal_book-dropdown a {
    display: block;
    padding: 6px 0;
  }
  
  .anadal_book-sharelinks {
    display: flex;
    flex-direction: column;
    column-gap: 16px;
  }
  .anadal_book-sharelinks a img {
    width: 32px;
    height: 32px;
  }
  
  .anadal_topo {
    position: absolute;
    top: 12px;
    right: 12px;
  }
  
  /* Animaciones */
  .fadein {
    animation: fadein 0.5s;
  }
  
  .fadeout {
    animation: fadeout 0.5s;
  }
  
  @keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  
  
  
  /* Carousel Bubble */
  .anadal_carousel-bubble {
    position: absolute;
    top: 240px;
    right: 24px;
    max-width: 60%;
    width: auto;
    opacity: 0;
    transform: translateY(15px);
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    color: #000;
  
  
  }
  
  .anadal_carousel-bubble.topright {
    top: 40px;
    right: 24px;
  }
  .anadal_carousel-bubble.topleft {
    top: 40px;
    left: 10px;
  }
  .anadal_carousel-bubble.bottomright {
    top: 240px;
    right: 24px;
  }
  .anadal_carousel-bubble.bottomleft {
    top: 240px;
    left: 10px;
  }
  .anadal_carousel-bubble.visible {
    opacity: 1;
  }
  
  .anadal_inner-carousel-bubble {
    border-radius: 45px;
    padding: 9px 20px;
    border: 1px solid #000;
    background: rgba(253, 255, 224, 0.99);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-align: center;
  }
  .anadal_inner-carousel-bubble.alternate {
    border-radius: 100%;
    padding: 12px 24px;
  }
  
  
  .anadal_carousel-bubble p {
    transition: opacity 0.5s ease;
    font-family: 'Quarto';
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 22px; /* 122.222% */
    margin: 0;
  }
  
  
  /* Lazy Load Background */
  .anadal_lazy-background {
    background-color: #f0f0f0;
    background-position: center;
    background-size: cover;
  }
  
  /* Keyframes and Animations */
  @keyframes slide-top {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-100px);
    }
  }
  
  
  /* Modal */
  
  
  .anadal_modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    transition: all 1s linear;
  }
  
  .anadal_modal {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    background: white;
    z-index: 9999;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    transition: transform 0.3s ease-out;
  }
  .anadal_modal.open {
    transform: translateY(0); /* Asegúrate de que el modal esté completamente visible */
  }
  
  .anadal_modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: scroll;
  }
  .anadal_titlemodal {
    padding: 24px 24px;
    font-family: 'Jost';
  }
  
  .anadal_modal-content img {
    width: 100%;
    height: auto;
  }
  .anadal_modal-content .anadal_extracto p {
    font-size: 18px;
    line-height: 130%;
  }
  
  .anadal_modal-close-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .anadal_modal-close-btn svg {
    fill: black;
  }
  
  /* Animation */
  .anadal_modal.open {
    transform: translateY(0);
    opacity: 1;
    max-width: 500px;
  }
  
  .anadal_modal.closed {
    transform: translateY(100%);
    opacity: 0;
  }
  
  .anadal_extracto {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      align-content: stretch;
      padding: 0 24px 50px 24px;
  }
  
  
  /* iframes */
  .tiktok-embed {
    transform: scale(0.7);
    transform-origin: top;
    top: 0;
    left: 0 !important;
    margin: 0 !important;
    padding: 0;
  }
  
  .loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .anadal_video {
    max-height: 350px;
  }