/*menu + slide*/
.menu-slide{
    background: #eff0f3;
}

.menu__nav{
	padding: 0;

}
.menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu__item{
   padding-left: .15rem;
}

.menu__item-icon{
	width: 3rem;
	height: 3rem;
	display: inline-block;
	margin-right: 1.5rem;
}
.menu__item:hover {
    background: var(--primary-color);

}

.menu__item:hover .menu__link{
    color: var(--white-color);
    background: var(--primary-color);
    text-decoration: none;
    fill: var(--white-color);
}

.menu__item--active .menu__link{
    color: var(--primary-color);
    fill: var(--primary-color);
}
.menu__link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    color: black;
    display: block;
    padding: 1rem 2.8rem;
    text-decoration: none;
    border-top: 1px solid #eff0f3;
    background: var(--white-color);
    background-clip: padding-box;
    display: flex;
    align-items: center;
}

.menu-slide{
    padding-bottom: 2rem;
}
/* Slider */
.slider {
    width: 100%;
    overflow: hidden;

    margin: 5px auto ;
  }

  /* Carousel */
  .carousel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    height: auto;
    border-radius: 10px;
  }

  .carousel-item .row {
    display: flex;
    justify-content: center;
  }

  .carousel-item img {
    width: 100%;
    border-radius: 5px;
    height: auto;
  }
.banner img{
    margin-top: 10px;
    border-radius: 5px;
}
  /* Slide Bottom */
  .slide-bottom {
    background-color: white; /* Nền của slide-bottom */
    width: 100%;
    padding: 20px 0;
    margin-top: 10px;
    border-radius: 10px;
  }

  .slide-botom-one {
    display: flex;
    justify-content: space-between; /* Các item sẽ được căn đều */
    align-items: center;
    flex-wrap: wrap; /* Các item sẽ tự động xuống hàng khi không đủ không gian */
  }
html{
    scroll-behavior: smooth;
}
  .slide-item {
    display: flex;
    flex-direction: column; /* Xếp hình ảnh và văn bản theo chiều dọc */
    align-items: center;
    text-align: center;
    margin: 10px;
    background-color: none;
    width: 16%; /* Đảm bảo mỗi phần tử chiếm 1 phần trong hàng */
  }

  .slide__left-bottom-one-img {
    width: 70%; /* Hình ảnh chiếm toàn bộ chiều rộng của .slide-item */
    height: auto;
    /* Giới hạn chiều rộng hình ảnh */
  }

  .slide-item span {
    display: block;
    font-size: 14px;
    color: #333;
    margin-top: 5px; /* Khoảng cách giữa hình ảnh và văn bản */
  }

.slide__left {
    margin-right: -0.75rem;
}

.slide__left-img {
    max-width: 100%;
    height: 100%;
}

.slide__left-top {
    max-width: 100%;
}

.slide__left-bottom {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.slide__left-bottom-one {
   margin-right: 0.75rem;

}
/* .slide__left-bottom-one-img {
    max-width: 5%;
} */

.slide__left-bottom-tow {
    margin-left: 0.75rem;
}

.slide__left-bottom-tow-img {
    max-width: 100%;
}

.slide__right {
    margin-left: -0.75rem;
}

.slide__right-img {
    max-width: 100%;
    height: 94%;
}

/**/

/*bestselling*/
.bestselling {
    padding: 4rem 0;
    background: var(--white-color);
}

.bestselling__heading-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;

}

.bestselling__heading-img {
    width: 4rem;
    height: 4rem;
    margin-right: 1rem;
}

.bestselling__heading {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.bestselling__heading::before{
    content: "";
    position: absolute;
    top: 5.4rem;
    left: 50%;
    display: block;
    width: 10rem;
    height: 0.4rem;
    background: var(--primary-color);
    transform: translateX(-50%);
}
.product__panel-top-1 {
    background-size: 4rem 5rem;
    height: 5rem;
    left: 0;
    position: absolute;
    top: 0;
    width: 4rem;
    z-index: 1;
    background-image: url('https://deo.shopeemobile.com/shopee/shopee-pcmall-live-sg/rcmd/06720e49514cbd94b755.png');
  }

.bestselling__product {
    display: flex;
    padding: 2rem;


}

.bestselling__product-img-box {
    width: 15rem;
    height: 16rem;
    margin-right: 1.5rem;
}

.bestselling__product-img {
    max-width: 100%;
    transition: 0.3s;

}

.bestselling__product-text {
    flex: 1;
}
.wp7t0i {
    font-weight: 500;
    line-height: 3.1350rem;
    font-size: 16px;
}

.wp7t0i {
    background-color: rgba(0, 0, 0, .26);
    bottom: 50px;
    color: #fff;
    height: 3.1350rem;
    left: 0;
    text-align: center;
}
.wp7t0i {
    position: absolute;
    width:  15rem;
}
.bestselling__product-title {

}

.bestselling__product-link {
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 1.4rem;
    height: 3.6rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: 0.2s;
}

.bestselling__product-link:hover{
    color: var(--black-color);
    text-decoration: none;
}
.bestselling__product-rate-wrap {

}

.bestselling__product-rate {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.bestselling__product-price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

.bestselling__product-btn-wrap {

}

.bestselling__product-btn {
    width: 10rem;
    height: 3rem;
    border-radius: 0.2rem;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    border: none;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 1rem 0;
    cursor: pointer;
    transition: 0.2s;
}

.bestselling__product-btn:hover{
    background: #ff2014;
}

.bestselling__banner {
    display: flex;
    justify-content: space-between;
}

.bestselling__banner-left {
    flex: 1;
}

.bestselling__banner-left-img {
    width: 100%;
}

.bestselling__banner-right {
    flex: 1;
}

.bestselling__banner-right-img {
    width: 100%;
    margin-right: 0;
}


/**/

.product {
    background: #f5f5f5;
    padding: 3rem 0;
}

.product__sidebar {

}

.product__sidebar-heading {
    display: flex;
    align-items: center;
    width: 100%;
    height: 4.2rem;
    background: var(--primary-color);
    border-top-left-radius: 4px;

}

/*.product__sidebar-img {
    width: 3rem;
    height: 4rem;
}*/

.product__sidebar-title {
    font-size: 1.8rem;
    color: var(--white-color);
    margin-left: 4rem;
    fill: var(--white-color);
    display: flex;
    align-items: center;
}

.product__sidebar-list {
    background: var(--white-color);
    /*display: flex;
    align-items: center;
    justify-content: space-around;*/
    width: 100%;
    padding: 2rem 0.6rem;
    border-radius: 10px;
}

.product__sidebar-item {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 2.4rem;
}

.product__sidebar-item-img {
    max-width: 8rem;
    max-height: 8rem;
    transition: 0.3s;
}

.product__sidebar-item-name {
    display: block;
    font-size: 1.4rem;
    color: var(--text-color);
    text-decoration: none;
    text-align: center;
    margin-top: 0.8rem;
}

.product__sidebar-item-name:hover{
    color: var(--black-color);
    text-decoration: none;
}


.product__sidebar-img-wrap{
    margin-top: 2rem;
}

.product__sidebar-img{
    width: 100%;
}

.product__content {
background-color: white;
border-radius: 10px;
}

.product__list {
    height: 4.2rem;
    list-style: none;
    background: var(--white-color);
    border-top: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    /* justify-content: flex-end; */
    margin-bottom: 2rem;
    width: 100%;
}

.product__item {

}

.product__link {
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-color);
    margin-right: 2rem;
    position: relative;
}

.product__link:before{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 0.4rem;
    background: var(--primary-color);
    top: -70%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    animation: fadeIn ease-in 0.3s;
}

.product__item--active .product__link:before{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 0.4rem;
    background: var(--primary-color);
    top: -70%;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn ease-in 0.3s;

}

.product__item:hover .product__link{
    color: var(--primary-color);
    text-decoration: none;
}

.product__item:hover .product__link:before{
    display: block;
}

.row.product__panel-wrap{

}

.product__panel {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem; /* Đồng bộ với padding của product__panel-item */
    background-color: white;

  }

  .product__panel-item {
    margin-bottom: 2rem;
    padding: 0 0.75rem; /* Khoảng cách ngang giữa các item */
    box-sizing: border-box; /* Đảm bảo padding không làm thay đổi kích thước */
    cursor: pointer;
  }

  .product__panel-item-wrap {
    background: white; /* Nền trắng */
    padding: 1rem 1.5rem;
    position: relative;
    border: 1px solid #ededed; /* Viền mặc định */
    border-radius: 8px; /* Bo góc nhẹ */
    transition: all 0.3s ease; /* Hiệu ứng mượt khi hover */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Đổ bóng nhẹ mặc định */
  }

  .product__panel-item-wrap:hover {
    border: 2px solid #2a62f3; /* Đổi viền khi hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Tăng đổ bóng */
    transform: translateY(-5px); /* Nhấc sản phẩm lên một chút */
  }

  .product__panel-img-wrap {
    text-align: center; /* Căn giữa hình ảnh */
    margin-bottom: 1rem; /* Khoảng cách giữa ảnh và tiêu đề */

  }

  .product__panel-img {
    max-width: 100%; /* Hình ảnh không vượt quá khung */
    height: auto; /* Đảm bảo tỷ lệ ảnh */
  }

  .product__panel-heading {
    font-size: 1rem;
    font-weight: bold;
    margin: 0.5rem 0;
  }
  .menu__list-vertical .product__panel-rate-wrap .product__panel-rate {
    color: #f4b400;  /* Màu sao mặc định */
  }
  .product__panel-rate-wrap .product__panel-rate {
    font-size: 1rem;
    color: #ccc; /* Màu sao mặc định */
  }

  .product__panel-rate-wrap .product__panel-rate.filled {
    color: #f4b400; /* Màu sao đã đánh giá */
  }
  .product__rating{
    color: #f4b400;
  }
  .star-rating {
    display: flex;
    align-items: center;
    border-right: 1px solid black;
  }

  .product__panel-price {
    margin: 0.5rem 0;
  }

  .product__panel-price-old {
    text-decoration: line-through;
    color: #888;
    margin-right: 0.5rem;
  }

  .product__panel-price-current {
    color: #e53935;
    font-weight: bold;
  }

  .product__panel-price-sale-off {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background-color: #e53935;
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
    width: 30px; /* Đảm bảo kích thước đều để tạo hình tròn */
    height: 30px; /* Đảm bảo kích thước đều để tạo hình tròn */
    line-height: 30px; /* Căn giữa số theo chiều dọc */
    text-align: center; /* Căn giữa số theo chiều ngang */
    border-radius: 50%; /* Biến thành hình tròn */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hiệu ứng mượt */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Đổ bóng nhẹ */
  }
.product__panel-img-wrap{
    width: 100%;
    height: 16.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product__panel-img{
    max-width: 100%;
    transition: 0.3s;
}

.product__panel-img:hover,
.product__sidebar-item-img:hover,
.bestselling__product-img:hover
{
    transform: scale(1);
}

.product__panel-heading {

}

.product__panel-link {
    font-size: 1.5rem;
    color: var(--text-color); /* Màu chữ mặc định */
    text-decoration: none;
    font-weight: 400;
    display: block;
    margin-top: 3.5rem;
    transition: color 0.3s ease; /* Hiệu ứng mượt khi đổi màu */
    height: 3.8rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .product__panel-item-wrap:hover .product__panel-link {
    color: #2a62f3; /* Màu chữ khi hover */
    text-decoration: none; /* Tùy chọn: gạch chân khi hover */
  }

.product__panel-rate-wrap {
	text-align: left;

}

.product__panel-rate {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 1.2rem 0 1.2rem 0.5rem;
}

.product__panel-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product__panel-price-old {
    font-size: 1.4rem;
    color: var(--text-color);
    text-decoration: line-through;
}

.product__panel-price-current {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 500;

}


/*product love*/
section.product__love{
    background: #efefef;
    padding-bottom: 6rem;
}

.product__love-title {
    margin: 1.6rem 0;
}

.product__love-heading {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.product__panel-price-old-hide{
    display: none;
}


.product__love .product__panel-item{
    margin-bottom: 2rem;
    cursor: pointer;
    padding: 0 1.6rem;
}
/*.product__love .row{
    background: var(--white-color);
}*/

/*post*/

.section.posts {

}

.posts__title {

}

.posts__title-wrap {

}

.posts__heading {
    padding: 3.2rem;
    color: var(--primary-color);
    text-align: center;
    border-bottom: 1px solid #ccc;
    display: block;
    position: relative;
}

.posts__heading::before{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 10rem;
    height: 0.3rem;
    background: var(--primary-color);
    transform: translate(-50%,-90%);
}

.posts__list {
    margin-top: 0.8rem;
}

.posts__item {

}

.posts__item-img{
    height: 20rem;
}

.posts__item-img img {
    width: 100%;
    max-width: 100%;
    height: 19rem;
}

.posts__item-title {
    font-size: 1.5rem;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 4.4rem;
}

.posts__item-title:hover{
    color: var(--black-color);
    text-decoration: none;
}
.posts__item-date {
    font-size: 1.2rem;
    color: var(--text-color);
}

.posts__item-cate-wrap{
    display: flex;
    margin: 0.8rem 0;
}

.posts__item-cate {
    display: flex;
    margin-right: 1.6rem;
}

.posts__item-cate-icon, .posts__item-cate-ad-icon{
    font-size: 1.5rem;
    color: #888;
    margin-right: 0.5rem;
}

.posts__item-cate-name, .posts__item-cate-ad-name {
    font-size: 1.3rem;
    color: var(--text-color);
}

.posts__item-cate-ad {
    display: flex;
}


.posts__item-description {
    font-size: 1.4rem;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    overflow: hidden;
}

.posts__view {
    margin: 3.8rem auto;
    justify-content: center;
}

.posts__view-btn {
    padding: 0.6rem 1.8rem;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 1.3rem;
    border: none;
    outline: none;
    border-radius: 0.2rem;
}

.posts__view-btn:hover{
    color: var(--white-color);
    opacity: 0.8;
    text-decoration: none;
}

.fex{
    display: flex;
    justify-content: center;
    align-items: center;
}
/**/
.product__title-mobile{
    margin: 0 auto;
    display: none;
}

.product__title-mobile h2{
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.4rem;
}


@media (max-width:992px){

    .product__sidebar {
        display: none;
    }

    .menu-slide{
        display: none;
    }


    /*.header__search{
        display: none;
    }*/
}

@media (max-width:768px){
    .hide-on-mobile{
        display: none;
    }

    .bestselling__banner{
        display: none;
    }

    .product__title-mobile{
        display: block;
    }
}

@media (min-width:768px){

}

.main__modal{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn linear 0.3s;
    z-index: 2;
}

.modal__overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background: red;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
}

.modal__body{
    z-index: 10001;
}

.sale-off{
    width: 500px;
    border-radius: 5px;
    background: #efefef;
    /*background: url(../images/bg_sale_off.jpg);*/
    background: linear-gradient(#fff,#fafafa);
    background-size: cover;
    overflow: hidden;
    padding: 3rem;
    position: relative;
}
.sale-off__container{
    padding-bottom: 22px;
    text-align: center;
}

.sale-off__heading{
    color: var(--text-color);
    line-height: 3rem;
    word-spacing: 0.8rem;
    margin-top: 1.4rem;
    font-family: 'Paytone One', sans-serif;
}

.sale-off__sp{
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}
.sale-off__name{
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 700;
}


.sale-off__link{
    text-decoration: none;
}

.sale-off__btn{
    margin-top: 0.5rem;
    padding: 0.6rem 2rem;
    outline: none;
    border: none;
    box-shadow: inset 0 2rem 2.5rem 0.5rem var(--primary-color);
    color: var(--white-color);
    font-size: 1.6rem;
    border-radius: 0.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.sale-off__btn:hover{
    background: var(--primary-color);
}

.sale-off__close{
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    color: #666;
    cursor: pointer;
}

.sale-off__close-icon{
    fill: #ccc;
}
@keyframes coccoc-alo-circle-anim {
    0% {
        opacity: 0.3;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes coccoc-alo-circle-fill-anim {
    0% {
        opacity: 0.5;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.coccoc-alo-ph-circle {
    width: 80px;
    height: 80px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid rgba(10, 124, 255, 0.4);
    opacity: 0.1;
    animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
    transition: all 0.5s;
}

.coccoc-alo-ph-circle-fill {
    width: 62px;
    height: 62px;
    position: absolute;
    background-color: #0a7cff;
    border-radius: 100%;
    border: 2px solid transparent;
    opacity: 0.1;
    animation: coccoc-alo-circle-fill-anim 2.3s infinite ease-in-out;
    transition: all 0.5s;
}

.shake-animation {
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
}
