#calendar {
    background: transparent linear-gradient(180deg, #E60881 0%, #4A148B 100%) 0% 0% no-repeat padding-box;
    overflow-x:hidden;
}

#snowballs {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.snowballs-img-1,
.snowballs-img-2,
.snowballs-img-3 {
    position: absolute;
    height: 149%;
    width: 100%;
    
    overflow: hidden;
    background-image: url('/img/promociones/calendario_de_regalos/backgroundnieve-small.webp');
    background-repeat: repeat;
    animation: scroll-vertical-1 25s linear infinite;
    background-position-x: center;
    zoom: 3;
    
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.snowballs-img-2 {
    transform: rotate(180deg);
    animation: scroll-vertical-2 30s linear infinite;
    zoom: 2;
}

.snowballs-img-3 {
    transform: rotate(90deg);
    animation: scroll-vertical-3 75s linear infinite;
    zoom: 1.75;
}

@keyframes scroll-vertical-1 {
    from {
        background-position-y: 0px;
        /*background-position-x: 0px;*/
    }
    to {
        background-position-y: 233px;
        /*background-position-x: 350px;*/
    }
}

@keyframes scroll-vertical-2 {
    from {
        background-position-y: 0px;
    }
    to {
        background-position-y: -233px;
    }
}

@keyframes scroll-vertical-3 {
    from {
        background-position-x: 0px;
    }
    to {
        background-position-x: 350px;
    }
}

#calendar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

#calendar-content h1 {
    width: 315px;
    margin-top: 35px;
    margin-bottom: 25px;
    text-align: center;
    color: #ffffff;
    font-family: var(--roboto-regular);
    font-size: 35px;
    text-transform: none;
    font-weight: normal;
    /*line-height: 28px;*/
    line-height: 33px;
}

#calendar-content h3 {
    color: #ffffff;
    font-family: var(--roboto-bold);
    margin-top: 20px;
}

#calendar-content h4 {
    font-size: 18px;
}

.ball-disabled {
    position: relative;
    filter: opacity(30%);
}

.button-disabled {
    pointer-events: none;
    filter: opacity(30%);
}

.ball-disabled-locked {
    content: "";
    position: absolute;
    z-index: 5;
    top: 28%;
    left: 40%;
    opacity: 0.7;
    
    width: 41px;
    height: 54px;
    background-image: url('/img/promociones/calendario_de_regalos/candado.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

.big-ball-c {
    padding-top: 23px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*gap: 30px;*/
}

.big-ball-img {
    filter: drop-shadow(0px 10px 10px #00000080);
    width: 240px;
    max-width: 240px;
}

.clickable-img {
    cursor: pointer;
}

/*.big-ball-date {*/
/*    margin-bottom: 30px;*/
/*}*/

.fade-out {
  animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  filter: drop-shadow(0px 0px 15px #ffffff80);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*.main-swiper {*/
/*  width: 70vw;*/
/*}*/


.pagination-buttons-c {
    position: absolute;
    /*top: 566px;*/
    top: 514px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px; /* Ancho entre los dos botones */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    pointer-events: none; /* El contenedor no bloquea clicks */
}

.pagination-buttons-c .swiper-button-prev,
.pagination-buttons-c .swiper-button-next {
    pointer-events: all; /* Los botones sí reciben clicks */
    top: -196px;
    transform: none;
}

.pagination-buttons-c .swiper-button-prev {
    background-image: url("/img/layout/icons/flecha_izq.webp");
    background-repeat: no-repeat;
    background-size: cover;
    left: 4px;
}

.pagination-buttons-c .swiper-button-next {
    background-image: url("/img/layout/icons/flecha_der.webp");
    background-repeat: no-repeat;
    background-size: cover;
    right: 4px;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    background-color: var(--secondary-color);
    border-radius: 50px;
    margin-top: 0; /* reset del margin-top negativo de Swiper */
    z-index: 20;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none; /* Elimina los iconos por defecto de Swiper */
}


.discover-prize-button {
        width: 178px;
    padding: 9px;
    background: transparent linear-gradient(96deg, #ECC441 0%, #FDF584 51%, #DBA820 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #000000;
    border-radius: 3px;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    color: var(--dark-main-color);
    font-family: var(--roboto-bold);
}

.discover-prize-button:hover {
    cursor: pointer;
}

#premio {
    font-size: 24px;
}

.how-to-c {
    margin: 30px 0px;
    text-align: center;
}

.steps-c {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 22px;
    margin-top: 45px;
}

.how-to-step {
    width: 310px;
    height: 118px;
    padding: 10px;
    position: relative;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
    color: #ffffff;
    background-color: var(--dark-main-color);
    border-radius: 5px;
    text-align: center;
}

.how-to-step p {
    width: 160px;
    margin: 0;
    margin-top: 5px;
    
    font-size: 14px;
    line-height: normal;
}

.how-to-step h4 {
    width: 140px;
    margin-top: 5px;
}

#oh-im-so-special h4 {
    width: 190px;
}

.how-to-step::before {
    content: "";
    position: absolute;
    top: -23px;
    
    background-image: url('/img/promociones/calendario_de_regalos/lazo-sin-hilo.webp');
    background-size: contain;
    background-repeat: no-repeat;
    width: 46px;
    height: 44px;
}

.step1::before {
    left: 0;
    transform: rotate(346deg);
}

.step3::before {
    right: 0;
    transform: rotate(10deg);
}

.terms-and-conditions-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 910px;
    padding: 0 10px;
    box-sizing: border-box;
}

.term-and-condition-item {
    display: flex;
    flex-direction: column;
    transition: 0.5s all;
    gap: 15px;
}

.term-and-condition-item > .title {
    position: relative;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: #08405E;
    color: #ffffff;
    box-shadow: 0px 3px 6px #00000080;
    font-family: var(--berlin-demibold);
    font-size: 16px;
    cursor: pointer;
}

.term-and-condition-item > .title::before {
    content: ' ';
    position: absolute;
    right: 30px;
    top: calc(50% - 9px);
    width: 10px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(/img/layout/icons/SIGUIENTE.svg);
    transform: rotate(90deg);
    transition: 0.5s all;
}

.text-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 15px;
    transition: 0.5s all;
}

.text-container .container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 100%;
    color: #ffffff;
}

.container .title {
    font-size: 14px;
    font-family: var(--berlin-demibold);
    margin: 0;
    padding: 0;
}

.container .text {
    font-size: 14px;
    font-family: var(--roboto-regular);
}



.general-conditions-link {
    margin: 25px 0px;
    color: var(--dark-main-color);
    font-family: var(--berlin-regular);
    font-size: 16px;
    text-align: center;
}

/* */
.big-ball-c{
    padding-inline: 12px;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform .35s ease;
    transform: scale(0.75);
    /*opacity: 0.6;*/
}

.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    z-index: 5;
}
/* */

/*terminos y condiciones */
.texto-promo{
    width: 100%;
    margin-top: 80px;
}
.texto-promo .terminosYcondiciones{
    background: transparent;
}
.texto-promo .terminosYcondiciones > div{
    color: white;
    background:#2B025E;
}
.texto-promo .terminosYcondiciones > div.gray{
    background:transparent;
}

.texto-promo .terminosYcondiciones .info{
    border-color:transparent;
}
.texto-promo .terminosYcondiciones .info label{
    color: white;
}
.texto-promo .mas-menos{
    border-color:white;
}
.texto-promo .mas,.texto-promo .menos{
    background: white;
}
/* */
#calendar-content .imagen-fondo-fija{
    display: block;
    position: absolute;
    z-index: -1;
    /*margin-top: 114px;*/
    margin-top:92px ;
}
#calendar-content .imagen-fondo-fija img{
    width: 327px;
}
.text-inside-card{
    display:none;
}
.big-ball-img-c{
    position: relative;
}
.text-inside-card.show-text-desactivado{
    display: block;
    position: absolute;
    right: 38%;
    bottom: 68px;
    color: #E3087F;
    font-family:var(--roboto-bold);
}
.candado{
    display: none;
    position: relative;
    width: 41px;
    top: 27px;
}


.content-swiper-calendar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /*overflow: hidden;*/
    overflow: visible;
    /*padding: 40px 0 40px 0;*/
    padding: 0px 0 0px 0;
    box-sizing: border-box;
    min-width: 968px;
}

.main-swiper {
    width: 100%;
    overflow: visible; /* Permite que el slide activo escalado sea visible */
    position: relative;
}

.big-ball-img{
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.imagen-ocultada{
    display:none;
}
/*.image-c-rotate{*/
/*    transform-style: preserve-3d;*/
/*    transition:transform 0.5s linear;*/
/*}*/
/*.swiper-slide-active img.big-ball-img {*/
/*    width: 240px;*/
/*    max-width: 240px;*/
/*    -webkit-backface-visibility: hidden;*/
/*    backface-visibility: hidden;*/
/*}*/

/*.content-reverse-image{*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    right: 0;*/
/*    transform: rotateY(180deg);*/
/*    -webkit-backface-visibility: hidden;*/
/*    backface-visibility: hidden;*/
/*}*/

@media (min-width: 480px) {
    .swiper-button-prev {
      left: -175px;
    }
    
    .swiper-button-next {
      right: -175px;
    }
    
    .snowballs-img-1, .snowballs-img-2 {
        height: 130%;
    }

    .how-to-step {
        width: 196px;
    }
    
    .how-to-step p {
        margin-top: 8px;
    }
    
    .ball-disabled-locked {
        left: 45%;
    }
}

@media (min-width: 632px) { 
    .snowballs-img-1, .snowballs-img-2 {
        height: 111%;
    }
}

@media (min-width: 768px) {
    
    .ball-disabled-locked {
        left: 39%;
    }
    
    .main-swiper {
        width: 100%;
    }
    
    .snowballs-img-1, .snowballs-img-2 {
        height: 106%;
    }
    /*.swiper-slide-active{*/
    /*    top: 28px;*/
    /*}*/
    /*.pagination-buttons-c{*/
    /*    top: 543px;*/
    /*}*/
    /*#calendar-content .imagen-fondo-fija{*/
    /*    margin-top: 120px;*/
    /*}*/
    
}

@media (min-width:785px){
    /*.swiper-slide-active{*/
    /*    top: 28px;*/
    /*}*/
    /*.pagination-buttons-c{*/
    /*    top: 543px;*/
    /*}*/
    /*#calendar-content .imagen-fondo-fija{*/
    /*    margin-top: 120px;*/
    /*}*/
}

@media (min-width: 1024px) {
    
    main#calendar{
        overflow-x: hidden;
    }
    
    .content-swiper-calendar {
        width: 949px;
        max-width: 949px;
        overflow: visible;
        /*padding: 40px 0 60px 0;*/
        padding: 0;
    }
    
    .main-swiper {
        width: 100%;
    }
    
    .swiper-button-prev {
        left: -210px;
    }
    
    .swiper-button-next {
        right: -175px;
    }
    
    .snowballs-img-1, .snowballs-img-2 {
        height: 122%;
    }
}
@media(min-width:1280px){
    #calendar{
        overflow-x: hidden;
    }
    #calendar-content{
        max-width: calc(100% - 90px);
        margin: 0 auto;
    }
    #calendar-content .imagen-fondo-fija{
        margin-top: 150px;
    }
    .swiper-wrapper{
        left:-89px;
    }
    .pagination-buttons-c .swiper-button-prev, .pagination-buttons-c .swiper-button-next{
        top: 0px;
    }
    .pagination-buttons-c .swiper-button-prev{
        left: 17px;
    }
    .pagination-buttons-c .swiper-button-next{
        right: 17px;
    }
    .big-ball-c{
        padding-inline: 0px;
    }
    .swiper-slide {
        transform: scale(0.883);
    }
    .swiper-slide-active {
        transform: scale(1);
        opacity: 1;
        width: 435px !important;
        /*bottom: 11px;*/
        top: -11px;
    }
    .swiper-slide-active img.big-ball-img {
        width: 277px;
        max-width: 277px;
    }

    .big-ball-img {
        height: auto;
    }


    .main-swiper {
        width: 100%;
        overflow: visible;
    }

    .content-swiper-calendar {
        width: 1785px;
        max-width: 1785px;
        padding: 40px 0 0px 0;
    }

    .pagination-buttons-c {
        width: 460px;
        top: 366px;
    }
}
@media (min-width: 1860px) {
    
    .snowballs-img-1, .snowballs-img-2 {
        height: 98%;
    }
}