.main-product .amount,
.amount,
.quantity {
    font-size: 18px;
}

.featured-products {
    padding-bottom: 68px;
}

.featured-products,
.product-box,
.product-box-inner ul li a {
    position: relative;
}

.product-box-main {
    margin-top: 0;
    display: block;
}

.product-box-inner,
.product-box-inner ul {
    position: absolute;
}

.main-product .category-box.product-box {
    padding: 0;
    width: 292px;
    height: 292px;
    overflow: hidden;
    position: relative;
    background-color: #f8f8f8;
    border: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-product {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 292px;
    height: 292px;
    position: relative;
    box-sizing: border-box;
    padding: 0;
}

.category-box.product-box img {
    width: 292px !important;
    height: 292px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

.product-box-inner {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
}

.product-box-inner>a {
    bottom: 20px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: auto;
    width: 130px;
    height: 40px;
}

.product-box-inner ul {
    top: 45%;
    text-align: center;
    width: 100%;
    padding-left: 0;
}

.product-box-inner ul li {
    margin: 0 5px;
}

.product-box-inner ul li,
.product-box-inner ul li a,
.look-book-img-box-hover ul li,
.look-book-img-box-hover ul li a {
    display: inline-block;
}

.product-box-inner ul li a,
.look-book-img-box-hover ul li a {
    bottom: 0;
    width: 32px;
    height: 32px;
    line-height: 29px;
    color: #b1a599;
    border: 1px solid #b1a599;
    border-radius: 100%;
}

.product-box .product-box-inner .btn:before {
    clear: both;
    content: "\f07a";
    font-family: "FontAwesome", sans-serif;
    padding-right: 8px;
}

.product-box .product-box-inner .btn {
    display: block;
    margin: 0 auto;
    line-height: 26px;
}

.product-box-main .main-product {
    text-align: center;
    background-color: #fff;
}

.product-box-main .product-box {
    background-color: transparent;
}

.main-product .product-box.category-box {
    background: transparent;
}

.main-product:hover img {
    opacity: 0.1;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
}

.main-product>a {
    display: block;
    color: #000;
    font-size: 16px;
}

.main-product .star {
    color: #beb2a6;
    margin: 5px 0 10px 0;
    padding: 0 65px;
}

.main-product .star li {
    background-image: url("../images/icon/stars-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    padding: 5px 0;
    display: inline-block;
    width: 100%;
}

.main-product .star i {
    font-size: 13px;
    margin: 0 1px;
}

.main-product .amount {
    color: #999;
    margin-bottom: 10px;
}

.main-product:hover .product-box-inner {
    display: block;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
}

.main-product:hover>a {
    color: #beb2a6;
    text-decoration: none;
}

.sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff3838;
    color: #fff;
    padding: 5px 10px;
    font-size: 11.97px;
    z-index: 10;
}

.product-title {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    color: #000;
}

.star {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 5px;
}

.star li {
    display: inline-block;
}

.star .amount {
    font-size: 14px;
    color: #999;
}

.star .amount del {
    color: #999;
    margin-right: 5px;
}

/* Ensure column divs fill height for flex children */
.category-box-main.product-box-main.row {
    /* Use flex to allow children to stretch */
    display: flex;
    flex-wrap: wrap;
}

/* Make Bootstrap columns stretch to full height */
.category-box-main.product-box-main.row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
}

/* Make main-product fill its parent column */
.main-product {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 767.98px) {
    .main-product {
        margin-bottom: 16px;
        width: 100%;
        height: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        box-sizing: border-box;
        padding-left: 4px;
        padding-right: 4px;
        background: #fff;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .product-box-main.row {
        margin-left: -4px;
        margin-right: -4px;
        display: flex;
        flex-wrap: wrap;
    }
    .category-box-main.product-box-main.row > [class*="col-"] {
        display: flex;
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
    }
    .category-box.product.box img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        max-height: 100vw;
        aspect-ratio: 1/1;
        object-fit: contain;
        display: block;
    }
    .category-box.product-box {
        width: 100% !important;
        height: 200px !important;
        min-height: unset;
        border: none;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .inner-product {
        width: 100% !important;
        height: 200px !important;
        min-height: unset;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .category-box.product.box img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        max-height: 100vw;
        aspect-ratio: 1/1;
        object-fit: contain;
        display: block;
    }
    .category-box.product-box img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        max-height: 200px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .product-box-main .main-product {
        text-align: center;
        margin-bottom: 0px;
        background-color: #fff;
    }
}
