/* CSS */
.sliderthree-n{
    margin-top: 0px !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    position: relative;
    z-index: 4;
}

.slider_three{
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: start;
    width: 100%;
    max-width: 1366px;
    /*height: 625px;*/
    padding-top:3rem;
}

.slider_three h1{
    color: #BA0C2F;
    font-size: 26px;
    text-align: left;
    margin-bottom: 0px;
    /*margin-left: 115px;*/
    margin-top: 0px;
    /*font-family: 'Alright Sans Black' !important;*/
    text-wrap: wrap;
    text-transform: uppercase;
}

.slider-container-three {
    position: relative;
    /* Was width:100% alongside margin-left:115px!important — width:100% is
       relative to .slider_three, so the margin was added ON TOP of a full
       100% box instead of being carved out of it. Below .slider_three's own
       1366px cap (roughly the 768–1366px viewport range: laptop windows
       smaller than full desktop), that pushed the box's right edge 115px
       past .slider_three's own right edge/the viewport — clipping the 4th
       card with no way to reach it (the overflow is clipped by an ancestor,
       and the slider's own track has nothing left to internally scroll,
       since its content was narrower than this oversized box). Above the
       1366px cap this coincidentally self-corrected (100% got capped by
       max-width:1251 either way), which is why it only showed up at
       in-between widths. calc() subtracts the margin so the box's total
       footprint (margin + width) never exceeds .slider_three's own width. */
    width: calc(100% - 115px);
    height: 480px;
    max-width: 1251px;
    margin-top: 0px;
    /* The template also had a redundant Bootstrap "m-auto" class on this
       element (margin:auto !important), which — same specificity, later in
       the cascade — beat this margin-left and auto-centered the whole card
       row instead of anchoring it at 115px like the title above it. Removed
       "m-auto" from the template; !important kept here as a guard against
       the same class creeping back in. */
    margin-left: 115px !important;
    margin-bottom: 0px;
    overflow: hidden;
    display: flex;
    justify-content: start;
    align-items: center;
}

.slider_three_t {
    display: flex;
    align-items: center;
    transition: transform 0.5s ease-in-out;
    /* Was margin-left/right:auto, centering the card row inside
       .slider-container-three and shifting the first card further right
       than the container's own left edge. Left-align instead so the first
       card sits flush with the container (and the title above it). */
    margin-left: 0;
    margin-right: auto;
    z-index: 0;
}

.slider_three .slider-card-three {
    width: 272px;
    height: 390px;
    margin-right: 30px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    border-radius: 20px;
    transition: all 0.5s ease-in-out;
    background-position: center;
    background-size: 105%;
    z-index: 100;
    position: relative;
    transition: background-size 0.5s ease-in-out;
    overflow: hidden;
}

.slider_three .slider-card-three .sombreado{
    background: linear-gradient(45deg, black 0%, rgba(128, 33, 47, 0) 100%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    position: absolute;
    border-radius: 20px;
}
.slider_three .slider-card-three .content_three{
    z-index: 200;
}

/* .one-card previously hardcoded a different background-size/position/crop
   (tuned for a specific old image) and forced background-size:auto on hover
   via !important, so card 1 never zoomed like the other 3. That image is
   gone and the special-case no longer matches Figma (all 4 cards behave the
   same there), so it's removed — card 1 now uses the same base
   .slider-card-three sizing/hover-zoom as every other card. */

/* .slider_three .one-card .sombreado{
    border-radius: 20px;
}

.slider_three .slider-card-three:first-child{
    margin-left: 0px;
    border-radius: 20px;
} */

.slider_three .slider-card-three h2{
    display: flex;
    align-items: start;
    font-size: 22px;
    /*font-family: 'Alright Sans Black' !important;*/
    text-align: left;
    /* min-height (not height): 2-line titles look the same as before, but a
       3-line title (e.g. "Eleva tus bebidas y toques finales") can grow
       instead of overflowing into the copy text below it. */
    min-height: 48px;
    text-transform: uppercase;
    color: #fff;
    max-width: 224px;
    margin-bottom: 12px;
}

.slider_three .slider-card-three p{
    font-size: 14px;
    text-align: left;
    color: #fff;
    max-width: 224px;
    margin-bottom: 16px;
    /*font-family: 'Alright Sans Medium' !important;*/
    height: 85px;
    overflow: hidden;
}

.slider_three .slider-card-three a{
    width: 100%;
    max-width: 156px;
    max-height: 42px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #BA0C2F;
    font-size: 14px;
    opacity: 1;
    border-radius: 20px;
    padding: 11px;
    font-weight: 900;
    margin-bottom: -43px;
    transition: 0.5s ease-in-out;
}
.slider_three .slider-card-three:hover a{
    margin-bottom: 32px;
    opacity: 1;
}

.slider_three .slider-card-three:hover{
    background-size: 110%;
    transition: background-size 0.5s ease-in-out;
    z-index: 200;   
    box-shadow: 8px 12px 38px #980C312E;
}

.slider_three .slider-card-three a img{
    width: 18px;
    height: 11px;
    margin-left: 11px;
}


/* .slider-image {
    max-width: 190px;
    max-height: 86px;
} */


.slider-btn-three:last-child svg{
    fill: red;
}

.prev-btn-three, 
#arrow-right-btn-three,
#prev-btn-card-link {
    left: 10px;
    background-image: url("../images-reskin/red-arrow-icon.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.prev-btn-three:hover, 
#arrow-right-btn-three:hover,
#prev-btn-card-link:hover{
    background: #BA0C2F;
    background-image: url("../images-reskin/white-left-arrow.svg") !important;
    background-repeat: no-repeat;
    background-position: center;
}

/* .btn_a{
    opacity: 1;
} */

.prev-btn-three:focus, 
#arrow-right-btn-three:focus,
#prev-btn-card-link:focus{
    outline: none;
}

.next-btn-three, #arrow-left-btn-three, #next-btn-card-link {
    background-image: url("../images-reskin/red-right-arrow.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.next-btn-three:hover, 
#arrow-left-btn-three:hover,
#next-btn-card-link:hover{
    background: #BA0C2F;
    background-image: url("../images-reskin/white-arrow-icon.png") !important;
    background-repeat: no-repeat;
    background-position: center;
}

.next-btn-three:focus, 
#arrow-left-btn-three:focus,
#next-btn-card-link:focus{
    outline: none;
}

div#container-cards-bt-n{
    overflow-x: auto;
    -ms-overflow-style: none;  /*! HIDE BAR TO  overflow-x: auto; */
    scrollbar-width: none; /*! HIDE BAR TO  overflow-x: auto; */
}

/*! HIDE BAR overflow-x: auto; */
div#container-cards-bt-n::-webkit-scrollbar{
    display:none
}

.slider-btn-three {
    width: 36px;
    height: 36px;
    font-size: 24px;
    background: #BA0C2F1A;
    cursor: pointer;
    position: relative;
    border-radius: 50px;
    z-index:10;
}


.slider_three .controls_btn{
    display: flex;
    width: 100%;
    max-width: 1146px;
    justify-content: space-between;
    align-items: center;
    /*margin-right: 155px;*/
    margin-right: auto;
    /* Was margin-left:auto — centered this 1146px box instead of anchoring
       it to the same 115px left inset as the cards below it. */
    margin-left: 115px;
    margin-top: 0px;
    margin-bottom: -10px;
}

.slider_three .controls_btn .control_btn{
    width: 100px;
    display: flex;
    justify-content: space-around;
    /*margin-right: 70px;*/
    margin-right: 10px;
}

/*  */

.circle_controls .slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.circle_controls .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #bbb; /* Color del círculo inactivo */
    margin: 0 5px;
    cursor: pointer;
}

.circle_controls .slider-dot.active {
    background-color: #333; /* Color del círculo activo */
}


/*  */
@media screen and (max-width: 1024px){
    .slider_three .slider-card-three{
        width: 250px;
        height: 368px;
        background-size: 115% !important;
    }
    .slider_three .slider-card-three:hover{
        transition: background-size 0.5s ease-in-out;
        background-size: 120% !important;
    }
    .slider-container-three{
        /* height: 378px; */
        margin-left: 40px;
    }
    .slider_three h1{
        margin-left: 60px;
    }
    .slider_three .controls_btn {
        margin-left: -19px;
        margin-bottom: -30px;
    }
    .slider-container-three{
        padding-left: 60px;
    }

}

@media screen and (max-width: 880px){
    .slider_three .slider-card-three{
        width: 230px;
        height: 348px;
    }
    /* .slider-container-three{
        height: 358px;
    } */
    /* .slider_three .slider-card-three:hover{
        width: 240px !important;
        height: 358px !important;
    } */
    .slider_three .slider-card-three h2{
        font-size: 17px;
        max-width: 180px;
    }
    .slider_three .slider-card-three p{
        font-size: 13px;
        max-width: 180px;
        height: 100px !important;
    }
    .slider_three .controls_btn{
        margin-top: 40px;
    }
    
}

@media screen and (max-width: 800px){
    .slider_three .slider-card-three{
        width: 210px;
        height: 328px;
    }
}

/* @media screen and (max-width: 690px){
    .slider_three .controls_btn .control_btn{
        margin-right: 13px;
    }
    .slider_three h1{
        max-width: 300px;
    }
} */

/* @media screen and (max-width: 530px){
    .slider-container-three{
        margin-left: 15px;
    }
    .slider_three h1{
        margin-left: 35px;
    }
    .slider_three .controls_btn{
        margin-top: 20px;
    }
} */

/* @media screen and (max-width: 430px){
    .next-btn-three,
    #arrow-left-btn-three,
    #next-btn-card-link{
        right: 2px !important;
    }
    .prev-btn-three, 
    #arrow-right-btn-three,
    #prev-btn-card-link{
        left: -13px !important;
    }
    .slider_three .controls_btn {
        margin-bottom: -50px;
        align-items: end;
    }
    .slider_three .controls_btn .control_btn {
        margin-right: -8px;
    }
    .slider_three .controls_btn .control_btn{
        width: 70px;
    }
} */


/*  */
@media screen and (max-width: 768px){
    /* .circle_controls{
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: -70px;
    } */
    .slider_three .slider-card-three a{
        margin-bottom: 8px !important;
        font-size: 0;
        height: 100%;
        max-width: 24px;
        max-height: 24px;
        padding: 0px 0px;
        transform: translateX(8px);
    }   
    .slider_three .slider-card-three a img{
        margin-left: 0;
        width: 14px;
        height: 10px;
    } 
    .slider_three .slider-card-three:hover{
        background-size: cover !important;
    }
    /* Scoped to .slider_three — unscoped ".control_btn" previously hid
       every other block's carousel controls sitewide at this breakpoint
       (e.g. simple-banner2-p's testimonial arrows), since sliderthree-n.css
       is enqueued on every page regardless of whether this block is used. */
    .slider_three .control_btn {
        display: none !important;
    }
    .slider_three .slider-card-three{
        width: 256px;
        height: 352px;
        margin-right: 17px !important;
    }
    .slider_three .slider-card-three h2 {
        font-size: 22px;
        width: 100%;
        max-width: 224px !important;
    }
    .slider_three .slider-card-three p{
        font-size: 14px;
        max-width: 224px !important;
        margin-bottom: 0px !important;
    }
    .content_three{
        display: flex;
        flex-direction: column;
        align-items: end;
    }
    .slider_three h1 {
        margin-left: 32px;
    }
    /* Both of these inherit the desktop rule's margin-left:115px !important
       (its own media-query overrides never used !important, so they lost
       to it at every width, not just here). Added to the padding-left:16px
       already set here, the container's box ran from x:115 to x:615 on a
       500px-wide screen — 115px past the viewport, clipped by the page's
       overflow-x:hidden. That's what cut off the last card and left a
       115px blank strip at the left the whole track scrolled under. */
    .slider-container-three {
        margin-left: 0 !important;
        padding-left: 16px;
        /* The base rule's width:calc(100% - 115px) assumes the base
           115px margin-left this breakpoint zeroes out above — without
           restoring full width here the track would be needlessly
           115px narrower than the viewport on mobile. */
        width: 100%;
    }
    .slider_three .controls_btn {
        margin-top: 64px;
        margin-left: 0 !important;
    }

}

/* Removed: this used to blow .slider_three's 1366px cap open to
   max-width:100% past 1367px, so on any screen wider than the Figma
   reference width (node 8997:2838 is a 1366px frame with 115px side
   padding, not a flat 115px-from-viewport margin) the card row stayed
   pinned 115px from the real left edge of the viewport instead of
   re-centering as one 1366px-wide module — a gap that only grows with
   screen width (visible well past 1920px) and that drifted out of sync
   with .galeria_n's category collage below it, which already centers
   correctly via its own 1366px cap. Dropping the override lets
   .sliderthree-n's justify-content:center take over once .slider_three
   hits 1366px, matching the collage and the design. */

@media screen and (min-width: 2000px){
    .slider-btn-three{
        /*right: -540px !important;*/
        right: 0px;
    }
}

.prev-btn-three:disabled,
.next-btn-three:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
