/* Bổ sung cho desktop.css: thay icon sprite của trang gốc bằng Font Awesome và vài chỉnh nhỏ (chỉ nạp ở giao diện desktop). */
.sf-body{overflow-x:hidden}
.icon-star,.p-icon-right-2020,.icon-2year{display:none!important}
.global-fixed-contact-icon.phone-icon::before,.global-fixed-contact-icon.mess-icon::before{font-family:FontAwesome;color:#fff;font-size:24px;display:flex;align-items:center;justify-content:center;height:100%}
.global-fixed-contact-icon.phone-icon::before{content:"\f095"}
.global-fixed-contact-icon.mess-icon::before{content:"\f27a"}
.product_home .product-list-2020{width:100%}
#tab1{height:auto!important;overflow:visible}
#tab1::before{display:none}
.choose_version .item-group a.active,.ver-list a.active{outline:2px solid #e66b36}
.js-product-img-item.active .img-box{border-color:#e66b36}
.product-list li:hover .hover_content_pro{display:none!important}
.js-tooltip{display:none;position:absolute;z-index:99999;width:377px;background:#fff;border:solid 1px #333;box-shadow:0 0 7px #333;padding-bottom:10px;pointer-events:none}
.js-tooltip .hover_content_pro{display:block!important;position:static;border:0;box-shadow:none;width:auto}
.js-tooltip .hover_name{display:block;padding:8px 10px 0;font-weight:700}
.js-tooltip .hover_offer{padding:0 10px}

/* HTML gốc: section sản phẩm đầu tiên nằm bên trái khối tin tức. */
.home-first-collection{min-width:0}
.home-first-collection .box-pro-home{margin-top:0}
.home-first-collection-news .news_home{flex:none}

/* Banner của collection luôn rộng đúng ba ô sản phẩm và cao bằng đúng hàng thẻ bên cạnh (không còn số px cố định,
   vì cỡ thẻ sản phẩm có thể đổi — flex + align-items:stretch tự kéo banner khớp chiều cao hàng, không hở/không tràn). */
.box-pro-home .product-list-2020.has-banner-2020{align-items:stretch;display:flex;flex-wrap:wrap}
.box-pro-home .product-list .banner-home-product{height:auto;padding:0;overflow:hidden}
.box-pro-home .collection-banner{height:100%;width:100%}
.box-pro-home .collection-banner .sf-media--collection-banner{height:100%!important;aspect-ratio:auto}

@media(max-width:1659px){
    .home-first-collection{width:calc(100% - 303px);margin-right:12px}
    .box-pro-home .product-list-2020 .banner-home-product{width:60%}
}

@media(min-width:1660px){
    .home-first-collection{width:1241px}
    .box-pro-home .product-list-2020 .banner-home-product{width:50%}
}

/* Banner dọc hai bên chỉ hiện khi viewport còn đủ khoảng trống ngoài container 1660px. */
.storefront-fixed-banner{width:110px}
.storefront-fixed-banner .sf-media--fixed{width:110px;height:auto!important}
@media(max-width:1919px){
    .storefront-fixed-banner{display:none!important}
}
@media(min-width:1920px){
    /* 100vw tính cả độ rộng thanh cuộn dọc nhưng .container (1660px) thì không, nên trừ thêm hẳn 20px (không phải 5px)
       để chắc chắn banner luôn nằm ngoài container, không đè lên nội dung dù thanh cuộn rộng bao nhiêu. */
    .fixed_banner-left.storefront-fixed-banner{left:calc((100vw - 1660px)/2 - 130px)}
    .fixed_banner-right.storefront-fixed-banner{right:calc((100vw - 1660px)/2 - 130px)}
}

/* Giỏ hàng và checkout desktop. */
.sf-cart-layout{display:grid;gap:24px;grid-template-columns:minmax(0,1fr) 350px}
.sf-cart-line{grid-template-columns:100px minmax(220px,1fr) 122px 135px 38px}
.sf-checkout-layout{align-items:start;display:grid;gap:24px;grid-template-columns:minmax(0,1fr) 390px}

/* Icon "Tài khoản" dùng Font Awesome (không có ảnh riêng như giỏ hàng/Build PC): căn giữa trong cùng khung 34x42 của #acc-header i. */
#acc-header i.fa{align-items:center;justify-content:center;font-size:35px;margin-top: 5px;}

/* Tài khoản/Build PC chưa có trang: icon mờ, không phải liên kết, có nhãn nhỏ để không bị tưởng nhầm là nút hỏng. */
.sf-coming-soon{cursor:default;opacity:.55}
.sf-coming-soon:hover{opacity:.55}
.sf-coming-soon .sf-soon-badge{display:block;font-size:10px;font-weight:400;line-height:1.3;color:#fff}
