/* Body Block 1 ********************************************************/
#body-cn1 {
    margin-top: 24px;
    margin-bottom: 24px;
}

#body-cn1-cl1 {
    padding: 0;
    background-color: #ffffff;
}

#body-cn1-cl1 .level0 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 0 25px 13px;
    margin-bottom: 0;
    width: 100%;
    height: 100%;
    list-style-type: none;
}

#body-cn1-cl1 .level0 > li > a {
    position: relative;
    display: flex;
    align-items: center;
    color: #565f67;
    cursor: pointer;
}

#body-cn1-cl1 .level0 > li.has-child > a:after {
    content: "\f105";
    position: absolute;
    display: flex;
    align-items: center;
    top: 0;
    right: 14px;
    height: 100%;
    color: #6e798c;
    font-family: Awesome;
    font-size: 2.4rem;
}

#body-cn1-cl1 .level0 > li > a > img {
    width: 28px;
}

#body-cn1-cl1 .level0 > li .text {
    display: flex;
    align-items: center;
    flex: 1 0 auto;
    padding-left: 15px;
    margin: 0 0 0 2px;
    height: 31px;
    font-size: 1.6rem;
    font-weight: 500;
}

#body-cn1-cl1 .level0 > li .child-block {
    position: absolute;
    top: 0;
    left: 100%;
    padding: 25px;
    min-width: 570px;
    height: 450px;
    background-color: #ffffff;
    box-shadow: -7px 0px 6px rgba(129, 129, 129, 0.1);
    border-radius: 3px;
    opacity: 0;
    visibility: hidden;
    user-select: none;
    overflow: hidden;
    z-index: 1000;
}

#body-cn1-cl1 .level0 > li:hover > a > .text {
    background-color: rgb(231 68 65 / 10%);
    border-radius: 8px 0 0 8px;
}

#body-cn1-cl1 .level0 > li:hover .child-block {
    opacity: 1;
    visibility: visible;
    user-select: auto;
}

#body-cn1-cl1 .level0 > li .child-block ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#body-cn1-cl1 .level0 > li .child-block .children-category > li > a {
    font-size: 1.8rem;
    font-weight: 700;
}

#body-cn1-cl1 .level0 > li .child-block .child-category {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 25px;
}

#body-cn1-cl1 .level0 > li .child-block .child-category > li > a {
    margin-right: 25px;
    margin-bottom: 8px;
    cursor: pointer;
}

#body-cn1-cl1 .level0 > li .child-block .product-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#body-cn1-cl1 .level0 > li .child-block .product-block .product-style-1 {
    width: calc(50% - 5px);
}

#body-cn1-cl1 .level0 > li .child-block .product-block .product-style-1 img {
    margin: 0 auto;
    width: 80%;
    border: none;
}

#body-cn1-cl1 .level0 > li .child-block .product-block .product-style-1 .product-name {
    width: 100%;
    font-size: 1.4rem;
    text-align: center;
}

#body-cn1-cl2 .carousel-item img {
    width: 100%;
    height: 450px;
    border-radius: 4px;
    object-fit: cover;
}

#body-cn1-cl3 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

#body-cn1-cl3 .item {
    position: relative;
    display: flex;
    border-radius: 4px;
}

#body-cn1-cl3 .item img {
    width: 100%;
    height: 143px;
    border-radius: 4px;
    object-fit: cover;
}

/* Body Block 2 ********************************************************/
#body-cn2 {
    margin-bottom: 25px;
    font-size: 1.6rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 5px #ced4da;
}

#body-cn2-cl2 {
    padding: 28px 0;
}

#body-cn2-cl2 .lightslider-container {
    padding: 0 21px;
}

#body-cn2-cl2 .lightslider-item {
    width: 200px;
}

/* Body Block 3 ********************************************************/
#body-cn3-cl1 {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin-bottom: 30px;
}

#body-cn3-cl1 .item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: calc(33.333333% - 20px);
}

#body-cn3-cl1 .item img {
    align-items: flex-start;
    width: 100%;
    max-height: 150px;
    border-radius: 12px;
    object-fit: cover;
}

/* Body Block 4 ********************************************************/
#body-cn4 {
    margin-bottom: 25px;
    font-size: 1.6rem;
    background-color: #ffffff;
    border-radius: 12px;
}

#body-cn4-cl2 {
    display: flex;
    padding: 0;
    margin-bottom: 20px;
    width: 100%;
    overflow-x: scroll;
}

#body-cn4-cl2 .item-row {
    display: flex;
}

#body-cn4-cl2 .item-row a {
    display: flex;
    padding: 27px 17px;
    border-right: 1px solid #eaedf2;
}

#body-cn4-cl2 .item-row:last-of-type a:last-of-type {
    border: 0;
}

#body-cn4-cl2 .item-row img {
    width: 92px;
    height: 42px;
}

#body-cn4-cl3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 21px;
}

#body-cn4-cl3 .product-style-1 {
    margin-bottom: 30px;
    width: calc(20% - 15px);
}

#body-cn4-cl3 .product-style-2 {
    width: calc(20% - 15px);
}

/* Body Block 4 ********************************************************/
#body-cn5 {
    margin-bottom: 25px;
    font-size: 1.6rem;
    background-color: #ffffff;
    border-radius: 12px;
}

#body-cn5-cl2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 21px;
    margin-top: 20px;
}

#body-cn5-cl2 .product-style-1 {
    margin-bottom: 30px;
    width: calc(20% - 15px);
}

#body-cn5-cl2 .product-style-2 {
    width: calc(20% - 15px);
}

/* Responsive **********************************************************/
@media screen and (max-width: 991px) {
    /* start of phone styles */
    #body-cn1 {
        position: relative;
        margin-top: 0;
        max-width: 991px;
        background: linear-gradient(180deg, #df8a98, #e43552);
    }

    #body-cn1-cl1 {
        position: absolute;
        left: 0;
        bottom: 0;
        padding-top: 0;
        background-color: transparent;
        order: 3;
        z-index: 500;
    }

    #body-cn1-cl1 .level0 {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 25px 15px;
    }

    #body-cn1-cl1 .level0 > li {
        align-items: flex-start;
        margin: 8px 0;
        width: 25%;
    }

    #body-cn1-cl1 .level0 > li.has-child > a:after {
        content: "";
    }

    #body-cn1-cl1 .level0 > li > a {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #body-cn1-cl1 .level0 > li > a img {
        padding: 12px;
        width: 52px;
        height: 52px;
        background-color: #ffffff;
        border-radius: 12px;
    }

    #body-cn1-cl1 .level0 > li .child-block {
        display: none !important;
    }

    #body-cn1-cl1 .level0 > li .text {
        padding: 0;
        margin: 4px 0 0 0;
        width: 70px;
        color: #ffffff;
        font-size: 1.3rem;
        font-weight: 600;
        text-align: center;
    }

    #body-cn1-cl2 {
        padding: 0;
        order: 1;
    }

    #body-cn1-cl2 #main-slider {
        padding-top: 60px;
    }

    #body-cn1-cl2 .carousel-item img {
        max-height: 800px;
        height: auto;
    }

    #body-cn1-cl2 .carousel-indicators,
    #body-cn1-cl2 .carousel-control-prev,
    #body-cn1-cl2 .carousel-control-next {
        display: none;
    }

    #body-cn1-cl3 {
        position: absolute;
        bottom: 250px;
        left: 17px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 6px;
        width: calc(100% - 34px);
        background-color: #ffffff;
        border-radius: 4px;
        order: 2;
    }

    #body-cn1-cl3 .item {
        width: calc(33% - 4px);
    }

    #body-cn1-cl3 .item img {
        align-self: flex-start;
        height: auto !important;
        border-radius: 4px;
    }

    #body-cn2 {
        margin-bottom: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #body-cn2-cl2 .lightslider-item {
        width: 300px;
    }

    #body-cn2-cl2 .lightslider-item img {
        width: 300px;
        height: 300px;
    }

    #body-cn2-cl2 .lightslider-container {
        padding: 0 10px;
    }

    #body-cn2-cl2 .lightslider-dom {
        display: flex;
        padding-bottom: 22px;
        width: 100%;
        overflow-x: scroll;
    }

    #body-cn2-cl2 .lightslider-dom .lightslider-item:not(:last-of-type) {
        margin-right: 8px;
    }

    #body-cn3-cl1 {
        padding: 16px 7px;
        margin-bottom: 0;
        background-color: #eaedf2;
    }

    #body-cn3-cl1 .item {
        width: calc(33% - 3px);
    }

    #body-cn3-cl1 .item img {
        border-radius: 4px;
    }

    #body-cn4-cl2 .item-row {
        flex-direction: column;
    }

    #body-cn4-cl2 .item-row a:first-of-type {
        border-bottom: 1px solid #eaedf2;
    }

    #body-cn4-cl3 .product-style-1,
    #body-cn4-cl3 .product-style-2 {
        width: calc(50% - 15px);
    }

    #body-cn5-cl2 .product-style-1,
    #body-cn5-cl2 .product-style-2 {
        width: calc(50% - 15px);
    }

    #mobile-home-menu {
        position: fixed;
        left: 0;
        bottom: 0;
        display: flex;
        justify-content: space-between;
        padding: 12px;
        background-color: #ffffff;
        box-shadow: 0 0 5px #ced4da;
        z-index: 1000;
    }

    #mobile-home-menu .item {
        width: 18%;
    }

    #mobile-home-menu .item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 46px;
    }

    #mobile-home-menu .item img {
        margin-bottom: 5px;
        width: 22px;
        height: 22px;
    }

    #mobile-home-menu .item .text {
        color: #a5adbb;
        font-size: 1.2rem;
        font-weight: 500;
    }

    #mobile-home-menu .item.main {
        width: 28%;
    }

    #mobile-home-menu .item.main a {
        justify-content: flex-end;
    }

    #mobile-home-menu .item.main p {
        position: absolute;
        top: -25px;
        margin: 0;
        background-color: #ffffff;
        border-radius: 100%;
    }

    #mobile-home-menu .item.main img {
        padding: 10px;
        width: 60px;
        height: 60px;
        border: 2px solid #a5adbb;
        border-radius: 100%;
    }

    #mobile-home-menu .item.main img,
    #mobile-home-menu .item.active img {
        filter: invert(13%) sepia(75%) saturate(5989%) hue-rotate(330deg) brightness(110%) contrast(121%);
    }

    #mobile-home-menu .item.main .text,
    #mobile-home-menu .item.active .text {
        color: #f75656;
        font-weight: 600;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    /* start of large tablet styles */
    #body-cn4-cl2 .item-row img {
        width: 150px;
        height: auto;
    }
}

@media screen and (max-width: 768px) {
    /* start of medium tablet styles */
    #body-cn2-cl2 .lightslider-item {
        width: 150px;
    }

    #body-cn2-cl2 .lightslider-item img {
        width: 150px;
        height: 150px;
    }
}

@media screen and (max-width: 375px) {
    /* start of large tablet styles */
    #body-cn2-cl2 .lightslider-item {
        width: 130px;
    }

    #body-cn2-cl2 .lightslider-item img {
        width: 130px;
        height: 130px;
    }
}

@media screen and (min-width: 576px) {
    /* start of large tablet styles */
    #mobile-menu {
        justify-content: space-evenly;
    }
}
