
.carousel-wrap {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top:5px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    width: 700px;
    height: 380px;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: all 0.5s ease-in-out;
    margin-right:10px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 10px;
}

.carousel-controls {
    min-width:800px;
    max-width:800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
}
.carousel-btn {
    padding: 20px;
    cursor: pointer;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

.recently-products {
    padding: 40px 20px;
}
.recently-products .products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top:20px;
}
.product-item {
    cursor: pointer;
}
.recently-products .products-list .product-name {
    font-size:14px;
    font-weight: 500;
    color:#0a0a0a;
    margin-top:10px;
}
.recently-products .products-list .product-price {
    font-size:14px;
    font-weight: 400;
    color:#787A7D;
    margin-top:5px;
}
.recently-products .products-list .product-item img {
    object-fit: cover;
}

.best-products {
    display:flex;
    flex-direction: column;
    width:100%;
    padding:40px 20px;
}
.best-products .section-header {
    text-align:center;
}
.best-products .section-header .title {
    font-size:22px;
    font-weight: 600;
    color:#0a0a0a;
}
.best-products .section-header .desc {
    font-size:14px;
    color:#6A7282;
    margin-top:10px;
}
.best-products .products-list {
    margin-top:48px;
    margin:48px 32px 64px 32px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.best-products .products-list .product-item {
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.best-products .products-list .product-item .product-name {
    font-size:16px;
    font-weight: 600;
    color:#0a0a0a;
    margin-top:10px;
}
.best-products .products-list .product-item .product-desc {
    font-size:12px;
    font-weight: 400;
    color:#6A7282;
}
.best-products .products-list .product-item .product-price {
    font-size:22px;
    font-weight: 700;
    color:#101828;

}
.best-products .products-list .product-item img {
    border-radius: 100%;
    object-fit: cover;
}

.best-products .products-list .product-item .product-thumbnail-wrap {
    position: relative;
    width: 200px;
    height: 200px;
}

.best-products .products-list .product-item .rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    border:1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: black;
    z-index: 1;
}

.all-products {
    padding: 40px 20px;
}
.all-products .products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
    margin-top:20px;
}
.all-products .products-list .product-name {
    font-size:18px;
    font-weight: 600;
    color:#252525;
    margin-top:10px;
}
.all-products .products-list .product-desc {
    font-size:14px;
    font-weight: 400;
    color:#252525;
    margin-bottom:14px;
    line-height: 1.64;
}
.all-products .products-list .product-price {
    font-size:14px;
    font-weight: 700;
    color:#252525;
    margin-top:5px;
}
.all-products .products-list .product-item img {
    object-fit: cover;
}