body {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.lato-thin {
    font-family: "Lato", serif;
    font-weight: 100;
    font-style: normal;
}

.lato-light {
    font-family: "Lato", serif;
    font-weight: 300;
    font-style: normal;
}

.lato-regular {
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
}

.lato-bold {
    font-family: "Lato", serif;
    font-weight: 700;
    font-style: normal;
}

.lato-black {
    font-family: "Lato", serif;
    font-weight: 900;
    font-style: normal;
}

.lato-thin-italic {
    font-family: "Lato", serif;
    font-weight: 100;
    font-style: italic;
}

.lato-light-italic {
    font-family: "Lato", serif;
    font-weight: 300;
    font-style: italic;
}

.lato-regular-italic {
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: italic;
}

.lato-bold-italic {
    font-family: "Lato", serif;
    font-weight: 700;
    font-style: italic;
}

.lato-black-italic {
    font-family: "Lato", serif;
    font-weight: 900;
    font-style: italic;
}

.navbar .navbar-nav .nav-link {
    /* margin-left: 25px; */
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
    text-align: left;
}

.footer,
.footer a:link,
footer a:hover,
footer a:visited,
.quicklink a:link,
.quicklink a:hover,
.quicklink a:visited {
    color: #fff;
    text-decoration: none;
}

.footer {
    background-color: #59822a;
}

.copyright {
    background: linear-gradient(90deg, #F8F2F7 0%, #FCFDFF 0.01%, #F7ECF4 66.67%, #FEF9F3 100%);
    color: #000;
}

.btn-juva-pink {
    background: #F7ECF4;
    border-color: #F7ECF4;
}

.back-to-top {
    position: fixed;
    /* display: none; */
    right: 50px;
    bottom: 30px;
    z-index: 99;
    background: linear-gradient(90deg, #F8F2F7 0%, #FCFDFF 0.01%, #F7ECF4 66.67%, #FEF9F3 100%);
    border: none;
    color: #000;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: initial;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    color: #000;
}

.card-product-home {
    border-radius: 25px;
    background: linear-gradient(90deg, #F8F2F7 0%, #FCFDFF 33.33%, #F7ECF4 66.67%, #FEF9F3 100%);
}

.card-product-home>.card-header {
    background: none;
    border-bottom: none;
    padding: 15px;
}

.card-product-home>.card-body>.product-container {
    min-width: 100% !important;
    border-radius: 25px;
    padding: 5px;
}

.bg-juva-pink {
    background: linear-gradient(90deg, #F8F2F7 0%, #FCFDFF 33.33%, #F7ECF4 66.67%, #FEF9F3 100%);
}

.bg-juva-pink-home-main-title {
    background: linear-gradient(90deg, #F8F2F7 0%, #FCFDFF 27.12%, #F8EFF6 49.62%, #F7ECF4 78.62%, #FEF9F3 100%);
    border-radius: 80px 80px 0px 0px;
}

.btn-buy {
    background: linear-gradient(90deg, #F8F2F7 0%, #FCFDFF 0.01%, #F7ECF4 66.67%, #FEF9F3 100%);
    font-size: 1.25rem;
    width: 10rem;
}

.btn-signofskin,
.btn-signofskin:hover {
    padding: 1rem;
    font-size: 1.5rem;
    color: #000000;
    border: none;
    background: linear-gradient(90deg, #F8F2F7 0%, #FCFDFF 0.01%, #F7ECF4 53.62%, #FEF9F3 100%);
    cursor: default;
}

.btn-skindetail,
.btn-skindetail:hover {
    color: #000000;
    border: none;
    background: #FDEBF3;
    cursor: default;
}

.slidertitle {
    color: #394b4f;
}

.productlink:link,
.productlink:visited,
.productlink:hover {
    text-decoration: none !important;
    color: #555;
}

.bg-menu {
    background: linear-gradient(90deg, #F8F2F7 0%, #FCFDFF 0.01%, #F7ECF4 53.62%, #FEF9F3 100%);
    text-align: center;
}

.txt-consult {
    font-size: .70rem
}

.chat-icon {
    max-width:80px;
}

.chat-link {
    text-decoration:none;
    color:#38383A;
}

.juva-dermatology-tested-img {
    max-height:175px;
}

.star-rating {
    color:#D8B0D2;
}
    
/* ============ desktop view ============ */
@media (min-width: 992px) {
    .juva-logo {
        max-height:100px !important;
    }

    .navbar .navbar-nav .nav-link {
        padding: 15px 20px;
        text-align: center;
        font-size: 1.2rem;
    }

    .back-to-top {
        right: 30px;
    }

    .slidertitle {
        font-size: 10rem;
    }

    .chat-now-btn {
        background: #D9CDE0; 
        border:none;
        color:#38383A;
        font-size:0.68rem;
    }

    .mainlogo {
        max-width: 50%;    
    }

    .txt-expert {
        font-size: .95rem
    }
}
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
    .juva-logo {
        max-height:50px !important;
    }

    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }

    .title-product-mobile {
        font-size: 0.7rem;
        line-height: 10px;
    }

    h5 {
    font-size: 0.8rem;
    }

    h3 {
    font-size: calc(0.9rem + .6vw);
    }

    .chat-now-btn {
        background: #D9CDE0;
        border: none;
        color: #38383A;
        font-size: 0.48rem;
    }

    .txt-expert {
        font-size: .75rem
    }
}
/* ============ small devices .end// ============ */

/* ============ Dropdown Menu =================== */
    .dropdown-menu {
        border-radius: 0.5rem; /* Rounded corners for dropdowns */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for better separation */
    }

    .dropdown-item {
        border-radius: 0.3rem; /* Slightly smaller rounded corners for dropdown items */
        padding: 0.5rem 1rem; /* Adjust padding for dropdown items */
    }

    /* Custom styles for multi-level dropdowns */
    .dropdown-menu .dropdown-submenu {
        position: relative;
    }

    /* Sub-menus for desktop */
    @media (min-width: 992px) { /* Bootstrap's 'lg' breakpoint */
        .dropdown-menu .dropdown-submenu .dropdown-menu {
            top: 0;
            left: 100%; /* Position to the right of the parent menu item */
            margin-top: -1px; /* Align top edges */
            border-radius: 0.5rem; /* Rounded corners for nested dropdowns */
            display: none; /* Hidden by default, shown by JS on hover */
            position: absolute; /* Ensure it floats relative to its parent li */
        }

        .dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
            display: block; /* Show on hover for desktop */
        }
    }

    /* Adjust position and display for mobile (xs, sm, md) */
    @media (max-width: 991.98px) { /* Bootstrap's 'lg' breakpoint for navbar collapse */
        .navbar-nav .dropdown-menu {
            position: static; /* Stack vertically in collapsed menu */
            float: none;
            width: auto;
            margin-top: 0;
            background-color: transparent; /* Blend with navbar background */
            border: none;
            border-radius: 0;
            box-shadow: none; /* No shadow on mobile submenus */
        }

        /* dropdown menus on mobile */
        .navbar-nav .dropdown-menu .dropdown-submenu .dropdown-menu {
            margin-left: 1rem;
            position: static;
            box-shadow: none;
            display: none;
            /* background-color: rgba(0, 0, 0, 0.2); */
            padding: 0.5rem;
        }

        /* Make dropdown items full width in mobile and add hover/focus */
        .navbar-nav .dropdown-item {
            padding-left: 1.5rem; 
            background-color: transparent;
        }

        .navbar-nav .dropdown-item:hover,
        .navbar-nav .dropdown-item:focus {
            background-color: #D9CDE0;
;
        }

        /* Style for dropdown toggles on mobile */
        .navbar-nav .dropdown-toggle::after {
            vertical-align: middle;
        }
    }