/* promotion-headerpage */

/* ========================================================= */
/* setion promotion list */
.promotion {
    background-color: #ffffff;
}

.card-pro {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-pro-link {
    text-decoration: none;
}

.card-pro:hover {
    box-shadow: 0 5px 30px 0 rgba(112, 142, 134, 0.6);
    transform: translateY(-5px);
}

.card-pro-img-container {
    position: relative;
}

.card-pro-img-container .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #708E86;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;

}

.card-pro:hover .card-pro-img-container .img-overlay {
    opacity: 0.8;
}

.card-pro-img-container img {
    position: relative;
    z-index: 0;
}


/* ========================================================= */
/* section promotion details  */

p.combo-list {
    white-space: pre-line;
}

.add-to-cart-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-select {
    width: 90px;
    height: 52px;
    border: 1px solid #AFBEBB;
    border-radius: 30px;
    padding: 13px 20px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../image/Frame.svg');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
    color: #7F7F7F;
}

.add-to-cart-btn {
    border-radius: 30px;
    padding: 16px 40px;
}

.custom-line-promotion {
    width: 305px;
    border: none;
    height: 1px;
    background-color: #000000;
    margin: 9px 0;
}

.countdown-wrapper {
    display: flex;
    align-items: center;
    font-family: 'Helvetica', sans-serif;
    font-size: 14px;
    color: #7a7a7a;
}

.countdown-text {
    font-weight: 400;
    margin-right: 23px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown-box {
    border-radius: 8px;
    padding: 8.5px 10px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    user-select: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
}

.countdown-sep {
    font-size: 18px;
    color: #000000;
    user-select: none;
}

.counter-time {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

/* section related services */
.btn-hover:hover {
    color: #708E86;
}

.related-services-carousel-wrapper {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

#related-services-carousel .owl-nav {
    position: absolute;
    top: 44.95%;
    left: 50%;
    right: 0;
    width: 114.3%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#related-services-carousel .owl-prev,
#related-services-carousel .owl-next {
    width: 50px;
    height: 50px;
    background-color: #EFF6F4;
    color: #0C4242;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

#related-services-carousel .owl-prev:hover,
#related-services-carousel .owl-next:hover {
    cursor: pointer;
}

#related-services-carousel .owl-nav.disabled {
    display: none !important;
}

@media (max-width: 1440px) {
    #related-services-carousel .owl-nav {
        position: absolute;
        top: 44.95%;
        left: 50%;
        right: 0;
        width: 110%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: space-between;
        pointer-events: none;
    }
}

/* ===================================================== */
/* Reponsive > tablet */

@media (max-width: 991px) {
    .d-md-block {
        display: none !important;
    }

    .d-md-none {
        display: block !important;
    }

    /* setion promotion list  */
    .bg-mb-promotion {
        background-color: #AFBEBB;
    }

    .container-promotion {
        padding-left: 67.5px;
        padding-right: 67.5px;
    }

    .card-pro-img-container img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* section promotion details  */
    .container-promotion-detail {
        padding-left: 67.5px;
        padding-right: 67.5px;
    }

    .promotion-details-bg {
        background-color: #EFF6F4;
    }

    .custom-line-promotion {
        margin: 5px 0px 12px 0px;
    }

    .countdown-text {
        margin-right: 0px;
    }

    .counter-time {
        width: 100%;
    }

    .countdown-wrapper {
        justify-content: space-between;
    }

    .countdown-timer {
        gap: 5px;
    }

    .limited-offer {
        margin-bottom: 40px;
    }

    .row-promotion-detail {
        --bs-gutter-x: 0rem;
    }

    .promotion-detail-content {
        margin-top: 40px;
    }

    .add-to-cart-wrapper {
        width: max-content;
    }

    .add-to-cart-btn {
        width: -webkit-fill-available;
    }

    /* section related services */
    .related-services-carousel-wrapper {
        width: 90%;
    }

    #related-services-carousel-mb .owl-nav {
        position: absolute;
        top: 46%;
        left: 50%;
        right: 0;
        width: 111.5%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: space-between;
        pointer-events: none;
    }

    #related-services-carousel-mb .owl-prev,
    #related-services-carousel-mb .owl-next {
        width: 50px;
        height: 50px;
        color: #0C4242;
        font-size: 14px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: all;
    }

    #related-services-carousel-mb .owl-prev:hover,
    #related-services-carousel-mb .owl-next:hover {
        background-color: inherit !important;
    }
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
        width: 100%;
    }

}