html {
  scroll-behavior: smooth;
}
.mg-top-30{
  margin: 0;
}
.breadcrumb-shop {
  display: none;
}
* {
    font-family: "SF Pro Display", 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}
.page-ldp-promotions .section-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #ffe98a;
    z-index: 2
}
@media (min-width: 992px) {
    .page-ldp-promotions .section-hero .background {
        padding-bottom: calc(661 / 2668* 100%);
        position: relative;
        overflow: hidden;
    }
}
.item-promo img {
    max-width: 95%;
}
img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
}
@media (min-width: 992px) {
    .page-ldp-promotions .section-hero .background img {
        position: absolute;
        object-fit: cover;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }
}
.page-ldp-promotions section {
    position: relative;
}
.page-ldp-promotions .section-policy {
    padding: 20px 0;
    text-align: center;
    z-index: 2
}
@media (min-width: 992px) {
    .page-ldp-promotions .section-policy {
        padding: 10px 0;
    }
}
.page-ldp-promotions section .ldp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    mix-blend-mode: multiply;
    /* will-change: transform, opacity; */
}
.page-ldp-promotions .section-policy .ldp-overlay {
    background-color: #fff6d2;
}
.page-ldp-promotions section .ldp-wrapper {
    position: relative;
    z-index: 1;
    padding-bottom: 10px;
}
.container-fluid {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}
@media (min-width: 992px) {
    .page-ldp-promotions .section-policy .ldp-wrapper .banner-policy {
        width: 80%;
        margin: auto;
    }
}
.page-ldp-promotions .section-promotion.one {
    padding: 12px 0;
    background-color: #EAF4FF;
    background-size: initial;
    background-origin: initial;
    background-position: initial;
    background-repeat: initial;
    background-attachment: initial;
    -webkit-background-clip: initial;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    z-index: 10;
}
@media (min-width: 992px) {
    .page-ldp-promotions .section-promotion.one {
        position: sticky;
        top: 100px;
        z-index: 10;
    }
}
@media (max-width: 767px) {
    .section-ldp.section-promotion.one {
        display: none; /* Ẩn toàn bộ section trên màn hình nhỏ hơn 768px */
    }
}
.section-collection .ldp-wrapper .title-banner {
    width: 35%;
    margin: auto;
    padding-bottom: 10px;
}
@media (min-width: 992px) {
    .section-collection .ldp-wrapper .title-banner {
        width: 25%;
        margin: 0 auto;
    }
}
.section-collection.ldp-wrapper .title-banner {
    width: 100%;
}
@media (min-width: 992px) {
    .section-collection.ldp-wrapper .title-banner {
        width: 62%;
    }
}
.title-banner:hover {
  transform: scale(1.1); /* Phóng to khi di chuột */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Tạo hiệu ứng bóng */
}
.title-banner {
    transition: transform 0.3s ease; /* Hiệu ứng mượt mà khi phóng to */
}
.container-fluid {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}
.page-ldp-promotions .section-promotion.one .list-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}
@media (min-width: 768px) {
    .page-ldp-promotions .section-promotion.one .list-promo {
        flex-wrap: nowrap;
    }
}
@media (min-width: 768px) {
    .page-ldp-promotions .section-promotion.one .item-promo {
        -ms-flex: 1 1 auto !important;
        flex: 1 1 auto !important;
        max-width: initial !important;
        transition: all 150ms linear 0s;
    }
}
.page-ldp-promotions .section-promotion.one .item-promo.item-1 {
    animation-name: flash;
    animation-delay: 0s;
    animation-duration: 1.7s;
    animation-iteration-count: infinite;
}
.page-ldp-promotions .section-promotion.one a {
    display: block;
}
/* CSS cho hiệu ứng phóng to */
.item-promo {
    transition: transform 0.3s ease; /* Hiệu ứng mượt mà khi phóng to */
}

.item-promo:hover {
    transform: scale(1.1); /* Phóng to 10% khi di chuột vào */
}
.products-wrapper {
    display: grid
;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto;
    gap: 10px;
}
#section-scroll-1,
#section-scroll-3,
#section-scroll-5 {
    background: #2d5ed7;
}
.products-listing {
    margin-top: 10px;
}
.product-block .product-detail .pro-name a{
  text-align: left;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: auto;
    gap: 15px; /* Khoảng cách giữa các sản phẩm */
}
.products-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Hiển thị 5 cột */
    grid-template-rows: auto auto; /* Hiển thị 2 hàng */
    gap: 10px; /* Khoảng cách giữa các sản phẩm */
}
@media (max-width: 767px) {
    .products-wrapper {
        grid-template-columns: repeat(2, 1fr); /* Hiển thị 3 cột */
        gap: 8px; /* Giảm khoảng cách giữa các sản phẩm nếu cần */
    }
}

.product-item {
    width: 100%;
    box-sizing: border-box;
}
#section-scroll-1 .product-item:nth-child(n+16) {
    display: none; /* Ẩn các sản phẩm từ vị trí thứ 15 trở đi trong Laptop */
}
#section-scroll-2 .product-item:nth-child(n+11),
#section-scroll-3 .product-item:nth-child(n+11),
#section-scroll-4 .product-item:nth-child(n+11),
#section-scroll-5 .product-item:nth-child(n+11) {
    display: none;
}
#section-scroll-2,
#section-scroll-4
{
    background: #f6f9ff;
}
.view-more.text-center {
    text-align: center;
    padding: 10px;
}

.btn-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #184ba0;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.btn-more:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.tablink.active-tab {
  background-color: #f44336; /* Mã màu đỏ tương tự w3-red */
  color: white;
}
@media (max-width: 992px) {
    .tab-nav {
  display: flex;
  font-size: 10px;
  justify-content: space-around;
    }
}
.tab-nav {
  margin: 20px 0;
}
.tab-nav .tablink {
  padding: 8px 16px;
  margin: 0 5px;
  border: none;
  background: #ddd;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.tab-nav .tablink.active-tab,
.tab-nav .tablink:hover {
  background-color: #f44336;
  color: white;
}
.image-deal {
    max-width: 1220px;
    margin: 0 auto;
    padding: 10px 0;
}
.image-deal-laptop {
    width: 100%;
    position: relative;
}
.image-deal-laptop::before {
    background-color: transparent;
    position: absolute;
    right: -20px;
    width: 40%;
    height: 50px;
    content: "";
    border-bottom-left-radius: 60px;
    box-shadow: -20px 20px 0px 0px #0C4DA2;
}
.image-deal-laptop .image-deal-laptop1 {
    background-color: #0C4DA2;
    width: 63%;
    border-top-left-radius: 20px;
    border-top-right-radius: 55px;
    margin-right: auto;
    padding-left: 10px;
}
.image-deal .product-item:nth-child(n+16) {
    display: none; /* Ẩn các sản phẩm từ vị trí thứ 15 trở đi trong Laptop */
}
