* {
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    overflow: visible !important;
}

.cnt-banner {
    background-image: url(../../repos/images/b1_1.png);
    background-size: cover;
    background-position: center center;
    height: 100vh;
    min-height: 750px;
    position: relative;
    display: flex;
    align-items: center;
}

.opacity {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.cnt-banner-text {
    text-align: left;
    padding-top: 100px;
    max-width: 1300px;
    z-index: 100;
    display: block;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    flex-direction: column;
    padding: 0 20px;
    position: relative;
    bottom: -180px;
}


.cnt-banner-text .btn {
    font-size: 1.1rem;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
}

.cnt-banner-text .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: white;
    transition: width 0.5s ease;
    z-index: -1;
}

.cnt-banner-text .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #1b1b1b;
}

.cnt-banner-text .btn:hover::before {
    width: 100%;
}

.cnt-banner-text h1 {
    color: #ffffff;
    font-size: 2.4rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    font-weight: 600;
    cursor: grab;
}

@media (max-width: 768px) {
    .cnt-banner-text {
        width: 350px;
    }

    .cnt-banner-text h1 {
        font-size: 2.2rem;
        font-weight: 600;
    }

    .cnt-banner-text .btn {
        font-size: .9rem;
        padding: 11px 13px;
    }
}

.cnt-img-banner {
    background-image: url('../../repos/images/b2_1.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
    overflow: hidden;
}

.cnt-img-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.cnt-img-banner>* {
    position: relative;
    z-index: 2;
}

.cnt-banner-text.t2 {
    text-align: left;
    padding-bottom: 35px;
    max-width: 635px;
    position: absolute;
    bottom: 7%;
    left: 32.9%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.cnt-banner-text.t2 h1 {
    color: #ffffff;
    font-size: 2.4rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    font-weight: 600;
    cursor: grab;
    margin-bottom: 0px;
}

.hotspot {
    position: absolute!important;
    width: 32px;
    height: 32px;
    background: rgb(255, 255, 255);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hotspot i {
    color: #39524F;
    font-size: 14px;
    transition: all 0.3s ease;
}

.hotspot:hover {
    transform: scale(1.1);
    background: white;
}

.hotspot.active {
    background: white;
    transform: scale(1.1);
}

.hotspot.active i {
    transform: rotate(45deg);
}

.hotspot-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #272727;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    top: -35px;
}

.product-popup {
    position: absolute;
    bottom: -115%;
    left: 30px;
    width: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 20;
    display: none;
    opacity: 0;
    transform: translateX(10px);
}

.popup-content {
    position: relative;
    padding: 10px;
    display: flex;
    gap: 15px;
}

.popup-image {
    flex: 0 0 80px;
}

.popup-image img {
    width: 100%;
    border-radius: 4px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.popup-info {
    flex: 1;
    color: #2c3e50;
    position: relative;
    padding-right: 20px;
}

.popup-info h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.popup-info p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 27px;
    color: #7f8c8d;
}

.view-product {
    position: absolute;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #80B8B1 0%, #39524F 50%);
    color: white;
    border: none;
    width: 75px;
    height: 28px;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-product i {
    color: #ffff;
    font-size: 14px;
    transition: transform 0.3s ease;
    transform: rotate(360deg) !important;
}

.view-product:hover {
    background: linear-gradient(135deg, #39524F 0%, #41615d 50%);
}

.view-product:hover i {
    transform: translateX(2px) !important;
}

.popup-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

@media (max-width: 768px) {

    .cnt-banner {
        background-image: url(../../repos/images/b1_1mobile.jpg);
    }

    .cnt-banner-text {
        text-align: left;
        padding-top: 100px;
        /* max-width: 675px; */
        /* position: absolute; */
        /* top: 75%; */
        /* left: 50%; */
        /* transform: translate(-50%, -50%); */
        z-index: 100;
        /* padding: 0px 8px; */
        margin: 0;
        width: 100%!important;
    }

    .cnt-banner-text h1 {
        font-size: 2rem!important;
        font-weight: 600;
    }

    .cnt-banner-text h1 {
        font-size: 1.8rem;
        font-weight: 600;
    }

    .cnt-img-banner {
        background-size: cover;
    }

    .h-mobile {
        display: none;
    }

    .cnt-banner-text.t2 {
        padding-bottom: 0px;
        bottom: 4% !important;
        left: 53%;
    }

    .cnt-banner-text.t2 h1 {
        color: #ffffff;
        font-size: 2rem;
        margin-bottom: 30px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        transition: all 0.5s ease;
        font-weight: 600;
        cursor: grab;
        margin-bottom: 0px;
    }

}

@media (max-width: 768px) {
    .cnt-img-banner {
        padding: 20px;
        align-items: flex-end;
    }

    .cnt-img-banner h1 {
        font-size: 1.5rem;
    }

    .btn-banner-text {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .product-popup {
        position: absolute;
        bottom: 131%;
        left: -168px;
        width: 300px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
        z-index: 20;
        display: none;
        opacity: 0;
        transform: translateX(10px);
    }

    .popup-content::before {
        content: '';
        position: absolute;
        left: 159px;
        top: 95%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid white;
        rotate: deg(180px);
        transform: rotate(271deg);
    }
}

.relative {
    position: relative;
}

.sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
}

.sticky>div {
    height: 100%;
    width: 100%;
}


/*Ajuste para card_comprar en esta seccion */

.card-comp {
    display: table-cell;
    vertical-align: middle;
    height: auto !important;
    margin: 110px auto !important;
}

@media (max-width: 768px) {

    .card-comp {
        margin: 80px auto !important;
    }

    #comprar-sticky {
        height: 45vh !important;
    }
}