.fs-11{
    font-size: 1.1rem !important;
}
.fs-12{
    font-size: 1.2rem !important;
}
.fs-13{
    font-size: 1.3rem !important;
}
.fs-14{
    font-size: 1.4rem !important;
}
.fs-15{
    font-size: 1.5rem !important;
}
.fs-16{
    font-size: 1.6rem !important;
}
.fs-20{
    font-size: 2rem !important;
}
.fs-24{
    font-size: 2.4rem !important;
}
.fs-28{
    font-size: 2.8rem !important;
}

.bg-main{
    background: var(--color-main) !important;
}
.font-weight-500{
    font-weight: 500 !important;
}

.color-red {
    color: red !important;
}
.shadow-1, .banner-1 .banner-section a{    
    box-shadow: 0 14px 28px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 10%);
}
.hover-img{
    overflow: hidden;
}
.hover-img img {
    transition: filter .6s, opacity .6s, transform .6s, box-shadow .3s;
}

.hover-img:hover img{
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.fa{
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
}
.btn-submit-1:hover {
    background-color: var(--color-highlight) !important;
    color: var(--white) !important;
}

.view-all {
    background: #e4f2ff;
    padding: 7px 10px;
    border-radius: 5px;
    color: var(--color-highlight) !important;
    font-size: 15px;
}

.view-all:hover {
    background: var(--color-highlight);
    color: white !important;
}
.rounded-5{
    border-radius: 5px;
}
.rounded-8{
    border-radius: 8px;
}
.rounded-10{
    border-radius: 10px;
}
.shadow-2{
    -webkit-box-shadow: 0 1px 3px -2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-shadow: 0 1px 3px -2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.shadow-2-hover:hover{
    -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.22);
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.22);
}
.object-cover{
    object-fit: cover;
}



.header-top {
    height: 35px;
    line-height: 35px;
}
.hotline-top a:last-child span.line {
    display: none;
}
.hotline-top .phone{
    color: #b7d847
}

.social-section li a {
    display: block;
    height: 35px;
    color: white;
    border-radius: 50%;
    line-height: 35px;
    text-align: center;
    font-size: 1.6rem;
}
.social-section li a:hover{
  color: rgba(255,255,255,0.8);
}
.social-section li {
    padding-left: 1.5rem;
}
.social-section li a:hover {
    background: var(--color-highlight);
    border-color: var(--color-highlight);
}

.setting-menu .logo-section {
    flex: 1;
}
.search-section .form-dropdown {
    position: absolute;
    padding: 10px;
    background-color: #ffffff;
    width: 350px;
    top: 100%;
    left: auto;
    right: 0;
    z-index: 1000;
    margin-bottom: 0;
    -webkit-animation: nav_menu_anim_close 0.3s both;
    -o-animation: nav_menu_anim_close 0.3s both;
    animation: nav_menu_anim_close 0.3s both;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    filter: opacity(0);
    visibility: hidden;
    -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
}

.search-section:hover .form-dropdown {
    -webkit-animation: nav_menu_anim_open 0.3s both;
    -o-animation: nav_menu_anim_open 0.3s both;
    animation: nav_menu_anim_open 0.3s both;
    opacity: 1;
    filter: opacity(1);
    visibility: visible;
    pointer-events: unset;
}
.search-section .btn:hover {
    background: var(--color-highlight);
    color: white;
}

.setting-menu > .container > .row > div {
    display: flex;
    align-items: center;
    justify-content: end;
}
.setting-menu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    transition: all 0.3s ease 0s;
    z-index: 99;
    animation: slide-down 0.7s;
    background: white;
    box-shadow: 0px 10px 13px rgb(0 0 0 / 5%);
}
.btn-mini-cart {
    text-align: center;
    border-radius: 5px;
    border: 1px solid;
    padding: 8px 10px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--color-highlight);
}
.btn-mini-cart:hover {
    background: var(--color-highlight);
    color: white;
    border-color: var(--color-highlight);
}
.btn-mini-cart:hover .items-number {
    color: white;
}
.highlight-section .item-highlight img{
    height: 40px;
    width: 45px;
    object-fit: scale-down;
}
.highlight-section>.row>div:before {
    content: '';
    background: #dbdbdb;
    height: calc(100% + 1.5rem);
    width: 1px;
    left: 0;
    position: absolute;
    top: -1.5rem;
}

.highlight-section>.row>div:first-child:before {
    opacity:0   
}
.bg-title {
    width: 110px;
    height: 30px;
    display: block;
    margin: 0.65rem auto 1.65rem;
    background-repeat: no-repeat;
    position: relative;
    background-color: var(--white);
    padding: 0 10px;
    background-position: center;
}
.title-parent {
    font-size: 2.2rem;
}

.title-child a {
    font-size: 1.5rem;
    color: var(--color-text);
}

.title-child a:hover {
    color: var(--color-highlight);
}
.title-main .title-section {
    font-size: 2rem;
}

.border-width-2{
    border-width: 2px !important;
}
.swiper .article-item.swiper-slide{
    height: auto;  
}

#productLongDescription {
  display: block;
  overflow: hidden;
  position: relative;
  transition: max-height .5s ease;
}
#productLongDescription {
  max-height: 200px;
}
.copy__inner {
  overflow: hidden;
}

.copy__gradient {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 75%, white 100%);
  bottom: 0;
  height: 150px;
  left: 0;
  position: absolute;
  transition: bottom 1s ease;
  width: 100%;
  z-index: 10;
}
.reveal .copy__gradient {
  bottom: -150px;
  transition: bottom 2s ease;
}

.more-less {
  color: var(--color-main);
  cursor: pointer;
  bottom: 0;
  font-weight: bold;
  left: 0;
  margin-left: 0px;
  position: relative;
  z-index: 50;
  display:  inline-block;
  padding: 7px 15px;
  border-radius: 5px;
  border: 1px solid var(--color-main);
}
.more-less:hover {
  color: #fff;
  background: var(--color-main);
}

.reveal + .more-less:after {
  border-top: none;
  border-bottom: 6px solid black;
}

.products-cat .category-image img {
    max-height: 330px;
    width: 100%;
    object-fit: cover;
}

#lg-zoom-out, #lg-zoom-in {
    display: inline-block !important;
    font-family: 'Font Awesome 6 Pro' !important;
    font-weight: 300;
}

#lg-zoom-in:after {
    content: "\f00e";
}

#lg-zoom-out:after {
    content: "\f010";
}
footer {
    margin-top: 3rem;
}
.title-footer {
    font-size: 1.8rem;
}
.footer-menu-section ul {
    padding-left: 15px;
}
.footer-menu-section ul a:hover{
    color: var(--red) !important;
}
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--color-highlight);
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 4px;
}
.swiper-slider-main .swiper-pagination-bullet {
    background: white;
}

.footer-social-content a {
    margin-right: 5px;
}
.footer-social-content img {
    height: 30px;
}
.container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: 100%;
}
.toCall {
    bottom: 100px;
    position: fixed;
    right: 15px;
    z-index: 99;
}
.toCall a{
    display:block;
    padding-bottom: 10px;
}
.hvr-buzz-out {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
}
.hvr-buzz-out:hover, .hvr-buzz-out:focus, .hvr-buzz-out:active {
    -webkit-animation-name: hvr-buzz-out;
    animation-name: hvr-buzz-out;
    -webkit-animation-duration: 0.75s;
    animation-duration: 0.75s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

/* Buzz Out */
@-webkit-keyframes hvr-buzz-out {
    10% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); } 
    20% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg);}
    30% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg);}
    40% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg);}
    50% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg);}
    60% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg);}
    70% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg);}
    80% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg);}
    90% { -webkit-transform: translateX(1px) rotate(0); transform: translateX(1px) rotate(0);}
    100% { -webkit-transform: translateX(-1px) rotate(0); transform: translateX(-1px) rotate(0);}
}
@keyframes hvr-buzz-out {
  10% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); }
  20% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg);}
  30% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg);}
  40% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg);}
  50% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg);}
  60% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); }
  70% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); }
  80% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg);}
  90% { -webkit-transform: translateX(1px) rotate(0); transform: translateX(1px) rotate(0);}
  100% { -webkit-transform: translateX(-1px) rotate(0); transform: translateX(-1px) rotate(0);}
}
.form-control {
    border-color: #e7e7e7;
    border-radius: 6px;
}
.comment-section .list-comment:empty{
    margin: 0;
    padding: 0;
    border: 0;
}
.comment-section .list-comment:empty+.total-comment{
    display: none;
}
.swiper .swiper-slide {
    height: auto;
}
.description-product {
    color: var(--color-text);
    font-size: 1.6rem;
}

.description-product ol, .description-product ul, .bao-hanh ul, .bao-hanh ol {
    padding-left: 1.5rem;
}
.bao-hanh {
    background: #e8f3fe;
}
.bao-hanh ul, .bao-hanh ol{
    margin:0;
}
.btn {
    border-radius: 6px;
}

.is-mobile .logo-section {
    text-align: center;
    padding-top: 10px;
}
.is-mobile .box-header-top>.container>.row>div {
    flex: 0 0 100%;
    max-width: 100%;
}
.is-mobile .header-top-mb>.container>.row>div {
    display: flex;
    align-items: center;
    justify-content: end;
}

.is-mobile .header-top-mb .btn-mini-cart {
    color: white;
    padding: 5px 7px;
}

.is-mobile .header-top-mb .items-number {
    color: white;
}
.is-mobile .header-top-mb .btn-action-header {
    color: white !important;
}

.is-mobile .nh-admin-bar {
    display: none;
}

.is-mobile .box-header-search__cat span {
    display: none;
}

.is-mobile .box-header-search__input {
    border: 1px solid #e5e5e5;
}

@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1400px;
    }
}
@media (min-width:992px) {
    .fixed .menu-section > ul > li > a {
        height: 6rem;
        line-height: 6rem;
    }
    
    .fixed .logo-section img {
        height: 4rem;
    }
    .col-3-custom{
        max-width: 20%;
        flex: 0 0 20%;
    }
}
@media (max-width:992px) {
    .logo-section img {
        height: 80px;
    }
    .setting-menu-mb>.container>.row>div {
        justify-content: space-between;
    }
    .price-amount {
        display: block;
    }
    .price-amount.old-price {
        display: inline-block;
        margin-left: 0 !important;
    }
    .title-section {
        font-size: 2.2rem;
    }

    .footer-mb>.container>.row>div {
        flex:  0 0 50%;
        max-width: 50%;
    }
    .title-parent {
        font-size: 2rem;
    }
    .title-child a:not(.view-all) {
        background: #efefef;
        padding: 6px 10px;
        border-radius: 4px;
        display: inline-block;
        margin-bottom: 0.5rem;
        margin-right: 0.5rem;
        font-size: 1.4rem;
    }
    .view-all {
        margin-top: 0.5rem;
        display: inline-block;
        padding: 6px 10px;
        margin-left: 0 !important;
    }
    .setting-menu {
        padding: 2rem 0;
    }
    .header-top-mb>.container>.row>div {
        display: flex;
        align-items: center;
        justify-content: end;
    }
    .header-top-mb .btn-mini-cart {
        color: white;
        padding: 5px 7px;
    }
    
    .header-top-mb .items-number {
        color: white;
    }
    .header-top-mb .btn-action-header {
        color: white !important;
    }
}
@media (max-width:991px) {
    .btn-product-action.btn-submit {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        font-size: 1.2rem;
        width: 100%;
    }
    .swiper-slider-main, .swiper-slider-main .swiper-slide img {
        height: 40vw !important;
    }

}
@media (max-width:991px) and (min-width:768px) {
    .footer-mb>.container>.row>div:first-child {
        flex:  0 0 100%;
        max-width: 100%;
    }
     .highlight-section>.row>div:nth-child(4) .item-highlight,.highlight-section>.row>div:nth-child(5) .item-highlight, .highlight-section>.row>div:nth-child(6) .item-highlight {
        margin-bottom:0 !important
    }
}
@media (max-width:767px) {
    .footer-mb>.container>.row>div {
        flex:  0 0 100%;
        max-width: 100%;
    }
    
    .highlight-section>.row>div:after{
        content:'';
        background: #dbdbdb;
        height: 1px;
        width: calc(100% + 1.5rem);
        left: 0;
        position: absolute;
        top: -1.5rem;
    }
    
    .highlight-section>.row>div:nth-child(2n+1):before {
        opacity: 0;
    }
    .highlight-section>.row>div:nth-child(5) .item-highlight, .highlight-section>.row>div:nth-child(6) .item-highlight {
        margin-bottom:0 !important
    }
    .highlight-section>.row>div:nth-child(1):after, .highlight-section>.row>div:nth-child(2):after{
        opacity:0
    }
    .block-tab.nav .nav-item .nav-link {
        padding: 0 1rem;
    }
    .footer-social-content img {
        height: 26px;
    }
    
    .box-home-about .box-about {
        flex-direction: column;
    }
    .box-home-about .box-about__text ,
    .box-home-about .box-about__media {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 1.5rem !important;
    }
}

@media (max-width:375px) {
    .star-rating-box {
        display: block !important;
    }
}

/* ==========================================================================
   [HA-PHASE-1] Header theo giao diện mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-1]
   ========================================================================== */

/* Font chữ: MyriadPro như trang gốc (chữ đậm do trình duyệt tự tạo từ bản Regular) */
@font-face {
    font-family: 'MyriadPro-Regular';
    src: url('../fonts/myriadpro-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyriadPro-BoldCond';
    src: url('../fonts/myriadpro-cond-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-main: #333;
    --color-highlight: #2f41b1;
    --color-highlight-alt: #24338f;
    --ha-red: #dc1316;
    --ha-hover: #ed1c24;
    --ha-nav-height: 5rem;
}

body {
    font-family: 'MyriadPro-Regular', Arial, sans-serif;
}

/* Dải trên cùng: tên công ty, địa chỉ, hotline */
.header-top {
    background: var(--white) !important;
    border-bottom: 1px solid #eee;
    height: auto;
    padding: 1rem 0;
}

.header-top .col-12 > div:first-child {
    float: none !important;
    width: 100%;
}

.header-top .social-section {
    display: none;
}

.company-name {
    color: var(--ha-red);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
}

.company-address {
    margin-top: 0.4rem;
    color: var(--color-highlight);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 2rem;
    text-align: center;
}

.company-hotline li {
    color: var(--color-main);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.43;
}

.company-hotline i {
    margin-right: 0.4rem;
}

.company-hotline a {
    margin-left: 0.4rem;
    color: var(--color-highlight);
}

.company-hotline a:hover {
    color: var(--ha-hover);
}

/* Thanh menu xanh */
.setting-menu {
    background: var(--color-highlight);
}

/* Trang gốc không cố định thanh menu khi cuộn trang */
.setting-menu.fixed {
    position: static;
    background: var(--color-highlight);
    box-shadow: none;
    animation: none;
}

.setting-menu.fixed .menu-section > ul > li > a {
    height: var(--ha-nav-height);
    line-height: var(--ha-nav-height);
}

.setting-menu .logo-section {
    display: none;
}

.setting-menu > .container > .row > div > .float-left {
    margin-right: auto;
}

.menu-section {
    text-align: left;
}

.menu-section > ul > li {
    margin: 0;
}

.menu-section > ul > li > a {
    display: inline-block;
    vertical-align: top;
    height: var(--ha-nav-height);
    line-height: var(--ha-nav-height);
    padding: 0 1.5rem;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 400;
    transition: none;
}
.menu-section > ul > li.has-child > a span {
    display: none;
}

.menu-section > ul > li:hover > a {
    color: var(--white);
    background: rgba(0, 0, 0, 0.07);
}

.setting-menu .btn-action-header,
.setting-menu a.btn-action-header.color-main {
    height: var(--ha-nav-height);
    align-items: center !important;
    border: 0;
    color: var(--white) !important;
    font-size: 1.4rem;
}

.setting-menu .btn-action-header:hover,
.setting-menu a.btn-action-header.color-main:hover {
    color: #ffd7d8 !important;
}

.setting-menu .search-section,
.setting-menu .member-mini-section,
.setting-menu .entire-action-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.setting-menu .items-number {
    min-width: 1.8rem;
    margin-left: 0.4rem;
    color: var(--white);
    background: var(--ha-red);
    line-height: 1.8rem;
    font-size: 1.1rem;
}

/* Menu cấp 2: trượt từ dưới lên trong 0.3s như trang gốc */
.menu-section > ul > li > .entry-menu {
    min-width: 17.6rem;
    padding: 0;
    border: 1px solid #eee;
    border-top-width: 1px;
    box-shadow: none;
    transform: translateY(3.5rem);
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
}

.menu-section > ul > li:hover > .entry-menu {
    transform: translateY(0);
}

.menu-section .entry-menu.dropdown li {
    border-bottom: 1px solid #f5f5f5;
}

.menu-section .entry-menu.dropdown .menu-link {
    padding: 1rem;
    color: var(--color-main);
    font-size: 1.4rem;
    line-height: 2.2rem;
    text-transform: none;
}

.menu-section .entry-menu.dropdown li:hover > a,
.menu-section .entry-menu.dropdown li a:hover {
    color: var(--ha-hover);
}

/* [/HA-PHASE-1] */

/* ==========================================================================
   [HA-PHASE-2] Banner đầu trang theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-2]
   ========================================================================== */

/* Cao 340px, ảnh kéo vừa khung, không bo góc như trang gốc */
.ha-banner .swiper-slider-main,
.ha-banner .swiper-slide,
.ha-banner .swiper-slide .img {
    height: 34rem;
}

.ha-banner .swiper-slide img {
    width: 100%;
    height: 34rem;
    border-radius: 0 !important;
    object-fit: fill;
}

/* Banner chưa gắn liên kết: không hiện chú thích (tooltip) khi rê chuột */
.ha-banner a:not([href]) {
    pointer-events: none;
}

/* Chấm chuyển slide: thanh đỏ 18x10 */
.ha-banner .swiper-pagination-bullet {
    width: 1.8rem;
    height: 1rem;
    border-radius: 2rem;
    background: var(--ha-hover);
    opacity: 1;
}

/* [/HA-PHASE-2] */

/* ==========================================================================
   [HA-PHASE-3] Dải 5 tiện ích theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-3]
   ========================================================================== */

/* Khung viền xám, không nền, vuông góc */
.ha-utilities .highlight-section {
    padding: 1.5rem 0 !important;
    background: transparent !important;
    border: 1px solid #ddd;
    border-radius: 0 !important;
}

/* 5 mục đều nhau, ngăn cách bằng đường kẻ dọc */
@media (min-width: 992px) {
    .ha-utilities .highlight-section .row > div {
        flex: 0 0 20%;
        max-width: 20%;
        border-right: 1px solid #ddd;
    }

    .ha-utilities .highlight-section .row > div:last-child {
        border-right: 0;
    }
}

.ha-utilities .item-highlight {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.ha-utilities .item-highlight img {
    flex-shrink: 0;
    width: auto;
    height: auto;
    margin: 0 2rem;
}

.ha-utilities .item-highlight .info {
    padding-left: 0 !important;
}

/* Dòng đầu chữ thường, dòng sau chữ đậm */
.ha-utilities .item-highlight .name {
    margin: 0;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    line-height: 2rem;
    text-transform: none !important;
}

.ha-utilities .item-highlight .desc {
    color: var(--color-main);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 2rem;
}

/* [/HA-PHASE-3] */

/* ==========================================================================
   [HA-PHASE-4] Khối sản phẩm dạng tab theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-4]
   ========================================================================== */

/* Tab nằm bên trái, bỏ tiêu đề khối */
.ha-products .title-section {
    display: none !important;
}

.ha-products .title-tab {
    align-items: flex-end !important;
    justify-content: flex-start !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 1px solid #ddd !important;
}

.ha-products .block-tab .nav-item {
    margin-right: 4rem;
}

.ha-products .block-tab .nav-item .nav-link {
    padding: 0.8rem 0.5rem;
    color: #383838;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.14rem;
    text-transform: uppercase;
}

/* Thanh 3px ở đáy tab: xanh khi rê chuột, đỏ ở tab đang chọn */
.ha-products .block-tab .nav-item .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 3px;
    background: var(--color-highlight);
    opacity: 0;
}

.ha-products .block-tab .nav-item .nav-link:hover {
    color: var(--ha-hover);
}

.ha-products .block-tab .nav-item .nav-link:hover::before {
    opacity: 1;
    transition: opacity 0.4s;
}

/* Tab đang chọn: nền xanh, chữ trắng, đầu vát chéo bằng ảnh mũi tên */
.ha-products .block-tab .nav-item .nav-link.active {
    background: var(--color-highlight);
    color: var(--white);
}

.ha-products .block-tab .nav-item .nav-link.active::before {
    background: red;
    opacity: 1;
}

.ha-products .block-tab .nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 3.7rem;
    height: 3.7rem;
    background: url('../media/tab-arrow.png') no-repeat center;
}

/* Lưới 3 cột, ô liền nhau ngăn bằng đường kẻ, không bo góc */
.ha-products .tab-pane > .row {
    margin: 0;
}

.ha-products .tab-pane > .row > [class*='col-'] {
    margin-bottom: 0 !important;
    padding: 0;
}

.ha-products .product-item {
    padding: 1.5rem;
    background: transparent !important;
    border: 0 !important;
    border-right: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    border-radius: 0 !important;
}

/* Ảnh sản phẩm tỉ lệ 1.43:1 như trang gốc */
.ha-products .ratio-1-1 {
    padding-top: 70%;
}

.ha-products .product-item .inner-content {
    padding: 0 !important;
}

/* Trang gốc không phóng to ảnh sản phẩm khi rê chuột (giữ phần canh giữa ảnh) */
.ha-products .hover-img:hover img {
    transform: translateX(-50%);
}

/* Khối tab: đệm nằm ở ô sản phẩm, phần nội dung sát ảnh như trang gốc */
.box-home-hot.ha-products .product-item .inner-content {
    padding: 0 !important;
}

/* Khung viền ôm sát ảnh: ảnh vuông canh giữa ô 376x263 như trang gốc */
.ha-products .ratio-1-1 img {
    left: 50%;
    width: auto;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    transform: translateX(-50%);
}

/* Tên 2 dòng, giá đỏ đậm, không hiện đánh giá sao */
.ha-products .product-title {
    height: 4rem;
    margin: 1rem 0 !important;
    overflow: hidden;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 2rem;
}

.ha-products .product-title a {
    color: #383838;
}

.ha-products .star-rating-box {
    display: none !important;
}

.ha-products .price {
    margin: 0 !important;
}

.ha-products .price-amount {
    color: var(--ha-hover);
    font-size: 1.6rem;
    font-weight: 700;
}

/* Nhãn trạng thái: nền đỏ vuông, góc trên trái */
.ha-products .product-status {
    top: 0;
    left: 0;
}

.ha-products .product-status > * {
    padding: 0 1rem;
    border-radius: 0;
    background: var(--ha-hover);
    color: var(--white);
    font-size: 1.3rem;
    line-height: 3rem;
}

/* Khung hiện ra khi rê chuột vào thẻ sản phẩm: phóng dần, viền đỏ, hai nút xanh như trang gốc */
.product-hover {
    position: absolute;
    top: 3rem;
    left: 0;
    z-index: 12;
    width: 30rem;
    max-width: 100%;
    padding: 1rem;
    border: 1px solid var(--ha-hover);
    background: var(--white);
    text-align: center;
    opacity: 0;
    transform: scale(0);
    transition: 0.5s ease-out;
}

.product-item:hover .product-hover {
    opacity: 1;
    transform: scale(1);
}

/* Các khối sản phẩm khác cũng không phóng ảnh khi rê chuột (khối tab đã xử lý riêng ở trên) */
.box-mvpha-home:not(.ha-products) .hover-img:hover img {
    transform: none;
}

/* Khối 4 cột: vùng ảnh có đệm 15px nên khung phủ lùi vào theo, nằm gọn trong ô */
.box-home-ricoh .product-hover,
.box-home-toshiba .product-hover,
.box-home-sharp .product-hover,
.box-home-xerox .product-hover,
.box-home-office .product-hover {
    top: 4.5rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
}

.product-hover__title {
    height: 3.5rem;
    margin: 0 0 0.5rem;
    overflow: hidden;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 2rem;
    text-align: left;
}

.product-hover__title a {
    display: inline-block;
    color: #000;
    font-size: 1.6rem;
    font-weight: 700;
}

.product-hover__price {
    margin: 0 0 1.5rem;
    color: var(--ha-hover);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: left;
}

.product-hover__price .currency-symbol {
    font-size: 0;
}

.product-hover__price .currency-symbol::after {
    content: ' đồng';
    font-size: 1.6rem;
}

.product-hover__btn {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem 2rem;
    border: 1px solid var(--color-highlight);
    border-radius: 0.5rem;
    background: var(--color-highlight);
    color: var(--white);
    font-size: 1.6rem;
    line-height: normal;
}

.product-hover__btn:hover {
    color: var(--white);
}

/* [/HA-PHASE-4] */

/* BEGIN: BLOCK_MVPHA_LAYOUT */
/* CSS KHUNG — mkbocuc sinh từ class hàng của mẫu + bẫy theme đích. Viết phần riêng của job BÊN DƯỚI. */
/* theme: gỡ bẫy menu gốc (C14) — chỉnh line-height/đệm/chữ hoa theo SỐ của mẫu (phan-tu.md) */
@media (min-width: 992px) {
    .box-header-top .menu-section > ul > li {
        margin: 0;
        padding: 0;
    }
    .box-header-top .menu-section > ul > li > a {
        height: auto;
        white-space: nowrap;
        text-transform: none;
    }
    .box-header-nav .menu-section > ul > li {
        margin: 0;
        padding: 0;
    }
    .box-header-nav .menu-section > ul > li > a {
        height: auto;
        white-space: nowrap;
        text-transform: none;
    }
    .menu-section > ul > li > a.active {
        color: var(--white) !important;
    }
}

/* khổ 992-1199: menu dài của mẫu tràn ngang — thu đệm + cỡ chữ mục */
@media (min-width: 992px) and (max-width: 1199px) {
    .box-header-top .menu-section > ul > li > a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 14px;
    }
    .box-header-nav .menu-section > ul > li > a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 14px;
    }
}

/* ===== MVPHA layout — phần riêng của job ===== */
/* Đầu trang: hàng 1 trắng cao 84 (tên công ty + hotline), hàng 2 nền xanh cao 50 (menu + tìm kiếm + giỏ) */
.box-header-top {
    background: #fff;
}

.box-mvpha > .container {
    max-width: 1253px;
}

.box-header-top .box-brand-ha {
    padding: 20px 0 10px;
}

.box-header-top .box-brand-ha__name {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
    color: #dc1316;
    text-transform: uppercase;
}

.box-header-top .box-brand-ha__addr {
    margin: 10px 0 0;
    padding-left: 50px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #2f41b1;
}

.box-header-top .box-hotline-ha {
    padding: 16px 0 0;
    width: max-content;
    margin-left: auto;
    white-space: nowrap;
}

.box-header-top .box-hotline-ha__row {
    text-align: left;
}

.box-header-top .box-hotline-ha__row span {
    font-weight: 700;
}

.box-header-top .box-hotline-ha__row {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: #333;
}

.box-header-top .box-hotline-ha__row .fa {
    margin-right: 6px;
}

.box-header-top .box-hotline-ha__row a {
    color: #2f41b1;
    font-weight: 700;
}

.box-header-search__cat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    background: #eee;
    color: #444;
    font-size: 14px;
    white-space: nowrap;
}

.box-header-nav {
    background: #2f41b1;
}

.box-header-nav .menu-container, .box-header-nav .menu-section {
    background: transparent;
}

.box-header-nav .menu-section > ul > li > a {
    padding: 0 15px;
    font-size: 14px;
    line-height: 50px;
    text-transform: uppercase;
    color: #fff;
}

.box-header-search__form {
    display: flex;
    margin-top: 5px;
    height: 38px;
    background: #fff;
}

@media (min-width: 768px) {
    .box-header-nav .row > .col-md-8 {
        flex: 0 0 62%;
        max-width: 62%;
    }
    .box-header-nav .row > .col-md-3 {
        flex: 0 0 34%;
        max-width: 34%;
    }
    .box-header-nav .row > .col-md-1 {
        flex: 0 0 4%;
        max-width: 4%;
        padding-left: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .box-header-nav .row > .col-md-8 {
        flex: 0 0 40%;
        max-width: 40%;
    }
    .box-header-nav .row > .col-md-3 {
        flex: 0 0 45%;
        max-width: 45%;
    }
    .box-header-nav .row > .col-md-1 {
        flex: 0 0 15%;
        max-width: 15%;
        padding-left: 15px;
    }
    .box-header-nav .box-header-cart__inner {
        padding-right: 0;
    }
}

.box-header-search__inner {
    margin-left: auto;
    max-width: 338px;
}

.is-mobile .box-header-search__inner {
    padding: 10px 0;
    max-width: 100%;
}

.box-header-search__input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 0;
    font-size: 13px;
    outline: 0;
}

.box-header-search__btn {
    width: 40px;
    height: 38px;
    border: 0;
    background: #f0f0f0;
    color: #333;
}

.box-header-cart__inner {
    padding-top: 10px;
    text-align: right;
}

.box-header-cart__btn {
    position: relative;
    display: inline-block;
    color: #fff;
    font-size: 20px;
    line-height: 30px;
}

.box-header-cart__count {
    position: absolute;
    top: -4px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #fff;
    color: #333;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
}

/* Chân trang: nền #2F41B1, 4 cột, hàng đăng ký + fanpage, hàng bản quyền nền #1529A8 */
.box-footer-main, .box-footer-sub {
    background: #2f41b1;
    color: #fff;
}

.box-footer-main {
    padding-top: 40px;
}

.box-footer-main .box-footer-info-ha__title, .box-footer-main .footer-menu-section .title-footer {
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 700;
    line-height: 21px;
    text-transform: uppercase;
    color: #fff !important;
}

.box-footer-main .box-footer-info-ha__line {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 20px;
    color: #fff;
}

.box-footer-main .footer-menu-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.box-footer-main .footer-menu-section li {
    margin: 0 0 10px;
}

.box-footer-main .footer-menu-section a {
    font-size: 13px;
    line-height: 20px;
    color: #fff !important;
}

.box-footer-sub {
    padding: 20px 0 50px;
}

.box-footer-sub .box-subscribe-ha {
    display: flex;
    align-items: center;
}

.box-footer-sub .box-subscribe-ha__title {
    margin: 0 22px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.box-footer-sub .box-subscribe-ha__form {
    display: flex;
}

.box-footer-sub .form-group {
    position: relative;
}
.box-footer-sub .form-group .invalid-feedback{
    position: absolute;
    top: 100%;
    left: 0;
}
.box-footer-sub .box-subscribe-ha__input {
    width: 352px;
    height: 34px;
    padding: 0 12px;
    border: 0;
    font-size: 13px;
    outline: none;
}

.box-footer-sub .box-subscribe-ha__btn {
    height: 34px;
    padding: 0 14px;
    border: 0;
    background: #111;
    color: #fff;
    font-size: 13px;
}

.box-footer-sub .box-fanpage-ha {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.box-footer-sub .box-fanpage-ha__title {
    margin: 0 20px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.box-footer-sub .box-fanpage-ha__list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.box-footer-sub .box-fanpage-ha__item {
    margin-left: 10px;
}

.box-footer-sub .box-fanpage-ha__item a {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    line-height: 38px;
    text-align: center;
    color: #fff;
}

.box-footer-sub .box-fanpage-ha__item a svg {
    vertical-align: middle;
}

.box-footer-sub .box-fanpage-ha__item--fb a {
    background: #3b5998;
}

.box-footer-sub .box-fanpage-ha__item--tw a {
    background: #1da1f2;
}

.box-footer-sub .box-fanpage-ha__item--gp a {
    background: #dd4b39;
}

.box-footer-sub .box-fanpage-ha__item--pt a {
    background: #cb2027;
}

.box-footer-copy {
    background: #1529a8;
    color: #fff;
}

.box-footer-copy .box-copyright-ha__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1253px;
    min-height: 55px;
    margin: 0 auto;
    padding: 0 15px;
}

.box-footer-copy .box-copyright-ha__text {
    margin: 0;
    font-size: 12px;
    color: #fff;
}

.box-footer-copy .box-copyright-ha__pay {
    display: flex;
}

.box-footer-copy .box-copyright-ha__card {
    width: 39px;
    height: 22px;
    margin-left: 11px;
    border-radius: 2px;
    background: #fff;
}

.box-header-top .box-hotline-ha__row span {
    margin-right: 6px;
}

@media (max-width: 991px) {
    .box-header-top .box-brand-ha {
        padding: 12px 0 0;
        text-align: center;
    }
    .box-header-top .box-hotline-ha {
        width: auto;
    }
    .box-header-top .box-hotline-ha__row {
        text-align: center;
        font-size: 14px;
    }
    .box-header-nav .box-header-cart__inner {
        padding-right: 14px;
    }
    .box-header-nav .btn-menu-mobile, .box-header-nav .btn-menu-mobile i {
        color: #fff;
    }
    .box-footer-sub .box-subscribe-ha, .box-footer-sub .box-fanpage-ha {
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-bottom: 16px;
    }
    .box-footer-sub .box-subscribe-ha__input {
        width: 220px;
    }
    .box-footer-copy .box-copyright-ha__inner {
        flex-wrap: wrap;
        padding: 12px 15px;
    }
}

@media (max-width: 767px) {
    .box-header-nav .row {
        flex-wrap: nowrap;
        align-items: center;
    }
    .box-header-nav .row > [class*="col-"] {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
    .box-header-nav .row > [class*="col-"]:nth-child(2) {
        flex: 1 1 auto;
        min-width: 0;
    }
    .box-header-search__inner {
        max-width: none;
    }
    
}
/* END: BLOCK_MVPHA_LAYOUT */

/* BEGIN: BLOCK_MVPHA_HOME */
/* ===== MVPHA trang chủ ===== */
.box-banner__img, .box-banner-right__img, .box-banner-ricoh__img, .box-banner-toshiba__img, .box-banner-mid__img, .box-banner-xerox__img, .box-about__img {
    display: block;
    width: 100%;
    height: auto;
}

/* Cam kết */
.box-promise__list {
    margin: 20px 0;
}

.box-promise__item {
    display: flex;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

.box-promise__item img {
    flex-shrink: 0;
    width: auto;
    height: auto;
    max-width: 32px;
    margin: 0 20px;
}

.box-promise__text {
    font-size: 14px;
    line-height: 20px;
    color: #333;
}

.box-promise__text span {
    display: block;
    font-weight: 700;
    color: #DC1316;
}

/* Banner đôi 8/4 */
.box-banner-ricoh, .box-banner-toshiba, .box-banner-mid, .box-banner-xerox {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.box-banner-ricoh__main, .box-banner-toshiba__main, .box-banner-mid__main, .box-banner-xerox__main {
    width: 66.666%;
    padding: 0 10px;
    box-sizing: border-box;
}

.box-banner-ricoh__side, .box-banner-toshiba__side, .box-banner-mid__side, .box-banner-xerox__side {
    width: 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Tiêu đề dải */
.box-home-hot h2, .box-home-ricoh h2, .box-home-toshiba h2, .box-home-sharp h2, .box-home-xerox h2, .box-home-office h2, .box-home-service h2, .box-home-news h2, .box-feedback__title {
    margin: 20px 0 15px;
    font-size: 30px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
}

.box-home-sharp {
    background: #DDDDDD;
}

.box-home-service {
    background: #F7F7F7;
}

/* Giới thiệu */
.box-about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 30px 0;
}

.box-about__text {
    width: 50%;
    padding-right: 20px;
    box-sizing: border-box;
}

.box-about__media {
    width: 50%;
}

.box-about__title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

.box-about__name {
    font-weight: 700;
    color: #DC1316;
}

/* Lệch so với mẫu (reviewer): nền, tag tiêu đề, card, cam kết */
body {
    background: #fff;
}

.box-home-sharp {
    background: #fff;
}

.box-home-toshiba {
    background: #DDDDDD;
}

.box-home-hot .title-section, .box-home-ricoh .title-section, .box-home-toshiba .title-section, .box-home-sharp .title-section, .box-home-xerox .title-section, .box-home-office .title-section {
    display: inline-block;
    margin: 20px 0 15px !important;
    padding: 8px 40px 8px 15px !important;
    border-bottom: 0 !important;
    background: #2F41B1;
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.box-home-hot .product-item, .box-home-ricoh .product-item, .box-home-toshiba .product-item, .box-home-sharp .product-item, .box-home-xerox .product-item, .box-home-office .product-item {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.box-home-hot .star-rating-box, .box-home-ricoh .star-rating-box, .box-home-toshiba .star-rating-box, .box-home-sharp .star-rating-box, .box-home-xerox .star-rating-box, .box-home-office .star-rating-box {
    display: none !important;
}

.box-home-hot .product-title a, .box-home-ricoh .product-title a, .box-home-toshiba .product-title a, .box-home-sharp .product-title a, .box-home-xerox .product-title a, .box-home-office .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    color: #383838;
}

.box-home-hot .price-amount, .box-home-ricoh .price-amount, .box-home-toshiba .price-amount, .box-home-sharp .price-amount, .box-home-xerox .price-amount, .box-home-office .price-amount {
    font-weight: 700;
    color: #ed1c24;
}

.box-home-service .title-section, .box-home-service h2 {
    font-size: 30px;
}

.box-mvpha-home > .container {
    max-width: 1253px;
}

.box-home-promise .container .container {
    max-width: none;
    padding: 0;
}

.box-home-promise {
    margin: 30px 0;
}

.box-home-banner .item-banner {
    margin: 0 !important;
}

.box-home-banner .swiper-button-next,
.box-home-banner .swiper-button-prev,
.box-home-banner .swiper-pagination {
    display: none;
}

.box-home-banner .item-banner img {
    height: 340px;
    object-fit: fill;
    border-radius: 0 !important;
}

.box-home-banner .swiper-slide img {
    width: 100%;
    height: 340px;
    object-fit: fill;
    border-radius: 0;
}

/* Banner chưa gắn liên kết (trang chủ): không hiện chú thích khi rê chuột */
.box-home-banner a:not([href]) {
    pointer-events: none;
}

.box-promise__list {
    margin: 0;
    padding: 15px 0 17px;
    border: 1px solid #ddd;
}

.box-promise__item {
    border-right: 1px solid #ddd;
}

.box-promise__text span {
    color: #333;
}

@media (max-width: 767px) {
    .box-banner-ricoh__main, .box-banner-toshiba__main, .box-banner-mid__main, .box-banner-xerox__main, .box-banner-ricoh__side, .box-banner-toshiba__side, .box-banner-mid__side, .box-banner-xerox__side, .box-about__text, .box-about__media {
        width: 100%;
        padding: 0 10px;
        margin-bottom: 10px;
    }
}
.box-home-banner .banner-section .row > [class*="col-"]{flex:0 0 100%;max-width:100%}

/* Dải sản phẩm giống mẫu: lưới liền nét, HOT, giá "đồng" */
.box-home-hot .title-section,.box-home-ricoh .title-section,.box-home-toshiba .title-section,.box-home-sharp .title-section,.box-home-xerox .title-section,.box-home-office .title-section{margin:20px 0 0 !important}
.box-home-hot .row{margin-left:0;margin-right:0}
.box-mvpha-home .row > [class*="col-"].mb-5{margin-bottom:0 !important}

/* Lưới sản phẩm: ô liền nhau, không chừa khe giữa các cột */
.box-mvpha-home .row:has(> [class*="col-"] > .product-item){margin:0}
.box-mvpha-home .row:has(> [class*="col-"] > .product-item) > [class*="col-"]{padding:0}

/* Đường kẻ phía trên lưới */
.box-mvpha-home .row:has(> [class*="col-"] > .product-item){border-top:1px solid #ddd}

/* Tên cao đủ 2 dòng để các ô bằng nhau; ẩn nhãn trạng thái mặc định của template (đã có nhãn HOT) */
.box-mvpha-home .product-title{height:40px;margin:0 0 10px !important}
.box-mvpha-home .product-status{display:none}
.box-home-hot .row > [class*="col-"]{padding:0}
@media (min-width:992px){.box-home-hot .row > .col-lg-3{flex:0 0 33.333%;max-width:33.333%}}
.box-mvpha-home .product-item{position:relative;border:0 !important;border-right:1px solid #ddd !important;border-bottom:1px solid #ddd !important;height:100%}
.box-mvpha-home .product-item::before{content:"HOT";position:absolute;top:0;left:0;z-index:2;padding:6px 10px;background:#dc1316;color:#fff;font-size:13px}
.box-home-hot .product-item .inner-image{padding:0}
.box-home-ricoh .product-item .inner-image,.box-home-toshiba .product-item .inner-image,.box-home-sharp .product-item .inner-image,.box-home-xerox .product-item .inner-image,.box-home-office .product-item .inner-image{padding:15px 15px 0}
.box-mvpha-home .product-item .inner-content{padding:12px 15px !important}
.box-mvpha-home .price-amount{font-size:16px}
/* END: BLOCK_MVPHA_HOME */

/* ==========================================================================
   [HA-PHASE-5] Ô tìm kiếm và giỏ hàng trên đầu trang theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-5]
   ========================================================================== */

/* Chọn loại tìm kiếm: menu thả xuống như trang gốc */
.box-header-search__type {
    display: flex;
}

.box-header-search__cat:hover {
    color: #444;
    text-decoration: none;
}

.box-header-search__menu {
    min-width: 16rem;
    margin: 0;
    padding: 0.5rem 0;
    border-radius: 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    font-size: 1.4rem;
}

.box-header-search__menu .dropdown-item {
    padding: 0.3rem 2rem;
    color: #333;
}

.box-header-search__menu .dropdown-item:hover {
    background: #f5f5f5;
}

/* Gợi ý tìm kiếm hiện ngay dưới ô nhập */
.box-header-search__form {
    position: relative;
}

.box-header-search__form .wrap-suggestion {
    top: 100%;
    left: 0;
    max-height: 40rem;
    overflow-y: auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
}

/* Giỏ hàng: khung thả xuống ngay dưới thanh menu, thay cho khung trượt bên phải */
.sidebar-mini-cart {
    position: absolute;
    top: 0;
    bottom: auto;
    display: none;
    width: 29.2rem;
    max-height: 40rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    transform: none;
}

.sidebar-mini-cart.open {
    display: flex;
}

.sidebar-mini-cart .title-top-cart {
    display: none !important;
}

.sidebar-mini-cart .content-mini-cart {
    padding: 0 1rem;
}

.sidebar-mini-cart .content-mini-cart .empty {
    margin: 0 !important;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 1.2rem;
    text-align: left !important;
}

.sidebar-mini-cart .content-mini-cart .empty i {
    display: none;
}

.sidebar-mini-cart .content-mini-cart .mini-cart-btn {
    padding-bottom: 1.5rem;
}

/* Không làm tối trang khi mở giỏ hàng; bấm ra ngoài vẫn đóng được */
body.dark-overlay:has(.sidebar-mini-cart.open)::after {
    background: transparent;
}

/* [/HA-PHASE-5] */

/* ==========================================================================
   [HA-PHASE-6] Các khối cuối trang chủ theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-6]
   ========================================================================== */

/* Tiêu đề thẻ xanh vát chéo + đường kẻ phía dưới */
.box-home-service [nh-block],
.box-home-news [nh-block],
.box-home-partners [nh-block] {
    background: linear-gradient(#ddd, #ddd) 0 3.9rem / 100% 1px no-repeat;
}

.box-home-service .title-section,
.box-home-news .title-section,
.box-home-partners .title-section,
.box-category-tabs .title-section {
    position: relative;
    display: inline-block;
    height: 3.9rem;
    margin: 0 0 3rem !important;
    padding: 1rem 0 0 1.5rem !important;
    border-bottom: 0 !important;
    background: var(--color-highlight);
    clip-path: none;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.76rem;
    text-transform: uppercase;
}

/* Đầu vát của thẻ tiêu đề (ảnh PNG 37x40 như trang mẫu) */
.box-home-service .title-section::after,
.box-home-news .title-section::after,
.box-home-partners .title-section::after,
.box-category-tabs .title-section::after {
    position: absolute;
    top: 0;
    left: 100%;
    width: 3.7rem;
    height: 3.9rem;
    margin-left: -0.2rem;
    background: url('../media/title-arrow.png') no-repeat;
    content: '';
}

/* Dịch vụ nổi bật: nền #f7f7f7, thẻ trắng vuông góc, ảnh 283x212 */
.box-home-service {
    padding: 3rem 0;
    background: #f7f7f7;
}

.box-home-service [nh-block] {
    padding-bottom: 1.2rem;
}

.box-home-service .article-item {
    border-radius: 0 !important;
    background: var(--white);
}

.box-home-service .inner-image,
.box-home-service .inner-image img {
    border-radius: 0 !important;
}

.box-home-service .ratio-3-2 {
    padding-top: 75%;
}

.box-home-service .inner-content {
    padding: 1.5rem 1.5rem 0.5rem !important;
}

.box-home-service .article-title {
    min-height: 4.5rem;
    margin-bottom: 0.5rem !important;
}

.box-home-service .article-title a {
    display: -webkit-box;
    overflow: hidden;
    color: #383838;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.08rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.box-home-service .article-description {
    display: -webkit-box;
    min-height: 5.8rem;
    margin-bottom: 1rem;
    overflow: hidden;
    color: #585858;
    font-size: 1.4rem;
    line-height: 2rem;
    text-align: justify;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Ý kiến khách hàng + Tin tức: mỗi khối nằm trong khung viền #f7f7f7 */
.box-home-news {
    padding: 3rem 0;
}

.box-home-news [nh-block] {
    border: 1px solid #f7f7f7;
}

.box-feedback__body {
    padding: 2rem;
    text-align: center;
}

.box-feedback__avatar {
    width: 8rem;
    height: 8rem;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.box-feedback__quote {
    margin: 0 0 1rem;
    color: var(--color-main);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 2rem;
}

.box-feedback__name {
    margin: 0 0 1rem;
    color: var(--color-main);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
}

.box-feedback__role {
    margin: 0 0 1rem;
    color: var(--color-main);
    font-size: 1.4rem;
    font-style: italic;
}

/* Tin tức & sự kiện: tin nổi bật + danh sách tin khác */
.box-home-news [nh-block]:has(.news-featured) {
    min-height: 42.6rem;
}

.box-home-news [nh-block]:has(.news-featured) .title-section {
    margin-bottom: 1.5rem !important;
}

.news-featured {
    min-height: 13.1rem;
    padding: 0 1.5rem;
    overflow: hidden;
}

.news-featured__image {
    float: left;
    width: 38.6%;
    margin-right: 2.5%;
}

.news-featured__image img {
    width: 100%;
    height: 11rem;
    border-radius: 0;
    object-fit: cover;
}

.news-featured__info {
    overflow: hidden;
}

.news-featured__title {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 2.34rem;
}

.news-featured__title a {
    color: #383838;
}

.news-featured__date i {
    display: none;
}

.news-featured__date {
    margin: 0 0 0.2rem;
    color: #989898;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.71rem;
}

.news-featured__desc {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--color-main);
    font-size: 1.4rem;
    line-height: 2rem;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-other__title {
    margin: 0 0 1rem;
    padding: 1.5rem 1.5rem 0;
    color: var(--color-main);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 2.43rem;
}

.news-other {
    margin: 0;
    padding: 0 1.5rem 0 3.5rem;
    list-style: disc;
}

.news-other li {
    margin-bottom: 0.5rem;
}

.news-other a {
    color: #383838;
    font-size: 1.4rem;
    line-height: 1.82rem;
}

.news-other a:hover {
    color: var(--ha-hover);
}

/* Giới thiệu công ty: chữ 7 cột, ảnh 5 cột */
.box-home-about .box-about {
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px dashed #000;
}

.box-home-about .box-about__text {
    flex: 0 0 58.33%;
    max-width: 58.33%;
    padding: 0 1.5rem;
}

.box-home-about .box-about__media {
    flex: 0 0 41.67%;
    max-width: 41.67%;
    padding: 0 1.5rem;
}

.box-home-about .box-about__img {
    width: 100%;
    height: auto;
}

.box-home-about .box-about__title {
    margin-bottom: 1.5rem;
    line-height: 2.86rem;
}

.box-home-about .box-about__name {
    margin: 0;
    color: #707273;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2.5rem;
}

.box-home-about .box-about__content {
    color: #707273;
    font-size: 1.5rem;
    line-height: 2.5rem;
}

/* Đối tác: tiêu đề chữ đậm không nền, đường kẻ phía dưới */
.box-home-partners .title-section {
    padding: 0.8rem 0 0 !important;
    background: none;
    color: #383838;
}

.box-home-partners .title-section::after {
    display: none;
}

/* Đối tác */
.box-partners__item {
    padding: 0 1.5rem;
    text-align: center;
}

.box-partners__item img {
    width: auto;
    max-width: 100%;
    height: 13.4rem;
    object-fit: contain;
}
/* [/HA-PHASE-6] */

/* ==========================================================================
   [HA-PHASE-7] Khối sản phẩm theo danh mục: tab bên phải + banner dọc
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-7]
   ========================================================================== */

.box-category-tabs__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

.box-category-tabs__head .title-section {
    flex-shrink: 0;
    margin: 0 !important;
    white-space: nowrap;
}

.box-category-tabs__head .block-tab {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
}

.box-home-office .box-category-tabs__head .block-tab {
    flex-basis: auto;
}

.box-category-tabs__head .nav-item {
    padding-right: 1.5rem;
}

.box-category-tabs__head .block-tab.nav .nav-item .nav-link {
    padding: 0.8rem 0.5rem;
    border: 0;
    background: transparent;
    color: var(--color-main);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.14rem;
    text-transform: uppercase;
}

.box-category-tabs__head .block-tab.nav .nav-item .nav-link:hover,
.box-category-tabs__head .block-tab.nav .nav-item .nav-link.active {
    color: var(--ha-hover);
}

.box-category-tabs__body {
    display: flex;
    align-items: flex-start;
}

.box-category-tabs__body--banner-right {
    flex-direction: row-reverse;
}

.box-category-tabs__banner {
    flex: 0 0 31.72%;
    max-width: 31.72%;
    margin-right: 2.45%;
}

.box-category-tabs__body--banner-right .box-category-tabs__banner {
    margin: 0 0 0 2.45%;
}

.box-category-tabs__banner img {
    width: 100%;
}

.box-category-tabs__content {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 767px) {
    .box-category-tabs__body {
        display: block;
    }

    .box-category-tabs__banner {
        max-width: 100%;
        margin: 0 0 1.5rem !important;
    }
}
/* [/HA-PHASE-7] */

/* ==========================================================================
   [HA-PHASE-8] Căn chỉnh khoảng cách, màu nền theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-8]
   ========================================================================== */

/* Khoảng đệm từng hàng (mẫu: pb_30 / pd_30 / pb_15) */
.box-home-ricoh,
.box-home-banner-mid,
.box-home-office {
    padding-bottom: 3rem;
}

.box-home-toshiba,
.box-home-sharp {
    padding: 3rem 0;
}

.box-home-xerox {
    padding-bottom: 1.5rem;
}

.box-home-ricoh .box-category-tabs__head .block-tab {
    flex-basis: auto;
}

/* Ô sản phẩm: nền trong suốt, nội dung sát ảnh, cao 379px */
.box-mvpha-home .product-item {
    border: 1px solid #ddd !important;
    background: transparent !important;
}

.box-home-toshiba .product-item {
    border-color: var(--white) !important;
}

.box-mvpha-home .product-item .inner-content {
    padding: 0 1.5rem 1.4rem !important;
}

.box-mvpha-home .product-item .product-title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.box-mvpha-home .product-item .price {
    height: 2.3rem;
    margin: 0 !important;
}

.box-mvpha-home .product-item .price-amount {
    line-height: 2.3rem;
}

/* Khối có banner dọc: ô sản phẩm chỉ đệm hai bên, ảnh sát mép trên */
.box-category-tabs__body[class*="--banner"] .product-item .inner-image {
    padding: 0 1.5rem !important;
}

.box-category-tabs__body[class*="--banner"] .product-item .inner-content {
    padding: 0 1.5rem !important;
}

.box-category-tabs__body[class*="--banner"] .product-item {
    border: 0 !important;
}

.box-category-tabs__body[class*="--banner"] .row > [class*="col-"] {
    border: 1px solid #ddd;
}

/* Banner đôi: 805 + 388, cách nhau 30px */
.box-mvpha-home .box-banner-mid {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

.box-mvpha-home .box-banner-mid__main {
    width: 65.82%;
    padding: 0;
}

.box-mvpha-home .box-banner-mid__side {
    width: 31.72%;
    padding: 0;
}

.box-mvpha-home .box-banner-mid__img {
    width: 100%;
    height: 17rem;
}
/* [/HA-PHASE-8] */

/* ==========================================================================
   [HA-PHASE-9] Footer theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-9]
   ========================================================================== */

/* Cột thông tin + 3 cột menu: tiêu đề 18px, chữ 14px, dòng cách nhau 10px */
footer {
    margin-top: 0;
}

.box-footer-main {
    padding-bottom: 6rem;
}

.box-footer-main .box-footer-info-ha__title,
.box-footer-main .title-footer {
    margin: 1rem 0 3rem !important;
    font-size: 1.8rem;
    line-height: 1.98rem;
}

.box-footer-main .box-footer-info-ha__line {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 2rem;
}

.box-footer-main .footer-menu-section li {
    margin-bottom: 1rem !important;
    line-height: 2rem;
}

.box-footer-main .footer-menu-section a {
    font-size: 1.4rem;
    line-height: 2rem;
}

/* Hàng đăng ký nhận tin + Fanpage */
.box-footer-sub {
    min-height: 13.8rem;
    padding: 3.2rem 0 0;
}

.box-footer-sub .box-subscribe-ha__input,
.box-footer-sub .box-subscribe-ha__btn {
    font-size: 1.4rem;
    line-height: 34px;
}

.box-footer-sub .box-fanpage-ha {
    margin-top: 1.8rem;
}

.box-footer-sub .box-fanpage-ha__title {
    margin-right: 1rem;
}

/* Thanh bản quyền: chữ 12px, ảnh thẻ thanh toán 201x34 */
.box-copyright-ha__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.box-copyright-ha__text {
    margin: 0;
    font-size: 1.2rem;
    line-height: 5.5rem;
}

.box-copyright-ha__pay {
    width: 20.1rem;
    height: 3.4rem;
    margin: 1.5rem -0.8rem 0 0;
}
/* [/HA-PHASE-9] */

/* ==========================================================================
   [HA-PHASE-10] Trang chi tiết bài viết (Giới thiệu) theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-10]
   ========================================================================== */

.title-main .container,
.detail_intro .container,
.detail_product .container {
    max-width: 1253px;
}

/* Thanh đường dẫn: nền xám, chữ 14px, ngăn cách bằng dấu / */
.title-main {
    margin-bottom: 2.5rem;
    padding: 1rem 0;
    border-top: 0;
    background: #f0f0f0;
}

.title-main .breadcrumbs-section {
    display: flex;
    align-items: center;
    margin: 0 !important;
    font-size: 1.4rem;
    line-height: 2rem;
}

.title-main .breadcrumbs-section a {
    padding: 0;
    color: #337ab7;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.7rem;
}

.title-main .breadcrumbs-section a:not(.active)::before {
    display: none;
}

.title-main .breadcrumbs-section a:not(.active)::after {
    padding: 0 0.5rem;
    color: #ccc;
    content: '/';
}

.title-main .breadcrumbs-section h1 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.7rem;
}

.title-main .breadcrumbs-section h1 a {
    color: var(--color-main);
    font-size: 1.4rem;
    font-weight: 400;
}

/* Cột trái: banner 283x170 */
.detail_intro .swiper-slider-main {
    height: 17rem;
    margin-bottom: 0.2rem;
    overflow: hidden;
}

.detail_intro .swiper-slider-main .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 0 !important;
}

/* Cột trái: 5 mục cam kết xếp dọc */
.box-promise-side {
    margin: 0 0 1.5rem;
    border: 1px solid #ddd;
}

.box-promise-side__item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #ddd;
}

.box-promise-side__item img {
    width: auto;
    max-width: 3.2rem;
    height: auto;
    margin: 0 2rem;
}

.box-promise-side__text {
    color: var(--color-main);
    font-size: 1.4rem;
    line-height: 2rem;
}

.box-promise-side__text span {
    display: block;
    font-weight: 700;
}

/* Bài viết: tiêu đề 30px, ngày 12px, đường nét đứt, bỏ hộp xám + chia sẻ */
.detail_intro .article-detail > .h3 {
    margin: 0 0 0.5rem !important;
    font-size: 3rem;
    font-weight: 700;
    line-height: 3.3rem;
}

.detail_intro .article-detail > div:has(> .post-date) {
    margin-bottom: 1rem !important;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #ddd;
}

.detail_intro .article-detail .post-date::before {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.4rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23989898' stroke-width='1.5'%3E%3Ccircle cx='8' cy='8' r='6.5'/%3E%3Cpath d='M8 4v4.5l3 1.5'/%3E%3C/svg%3E") center / contain no-repeat;
    content: '';
    vertical-align: -0.1rem;
}

.detail_intro .article-detail .post-date {
    color: #989898;
    font-size: 1.2rem;
    font-weight: 300;
}

.detail_intro .article-detail .bg-light {
    padding: 0 !important;
    background: none !important;
}

.detail_intro .article-detail .bg-light > .font-weight-bold p {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    line-height: 2.14rem;
}

.detail_intro .article-detail .article-content {
    font-size: 1.4rem;
    line-height: 2rem;
}

.detail_intro .article-detail .social-share {
    display: none !important;
}
/* Cột trái: tiêu đề "Sản phẩm được quan tâm" dạng thẻ xanh có đầu vát */
.detail_intro [nh-block]:has(.view-small) > .h5 {
    position: relative;
    display: inline-block;
    height: 3.9rem;
    margin: 0 0 1.5rem !important;
    padding: 1rem 0 0 1.5rem !important;
    border-bottom: 0 !important;
    background: var(--color-highlight);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.76rem;
}

.detail_intro [nh-block]:has(.view-small) > .h5::after {
    position: absolute;
    top: 0;
    left: 100%;
    width: 3.7rem;
    height: 3.9rem;
    margin-left: -0.2rem;
    background: url('../media/title-arrow.png') no-repeat;
    content: '';
}
/* [/HA-PHASE-10] */

/* ==========================================================================
   [HA-PHASE-11] Trang Liên hệ theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-11]
   ========================================================================== */

.box-contact-page .container,
.box-contact-map .container {
    max-width: 1253px;
}

/* Form bên trái (805px) + ảnh showroom bên phải (388px) */
.box-contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.box-contact__form {
    width: 65.82%;
}

.box-contact__media {
    width: 31.72%;
}

.box-contact__img {
    width: 100%;
    height: auto;
}

.box-contact__title {
    margin: 0 0 1.5rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid #ddd;
    color: #383838;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.76rem;
    text-transform: uppercase;
}

.box-contact .form-group {
    margin-bottom: 2.1rem;
}

.box-contact .form-group:has(textarea) {
    margin-bottom: 1.5rem;
}

.box-contact .form-control {
    height: 3.4rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none;
    color: #555;
    font-size: 1.4rem;
    line-height: 2rem;
}

.box-contact textarea.form-control {
    height: 7.4rem;
}

.box-contact .btn-submit {
    padding: 1rem 1.5rem;
    border: 0;
    border-radius: 0;
    background: #ed1c24;
    color: var(--white);
    font-size: 1.4rem;
    line-height: 2rem;
    text-transform: uppercase;
}

.box-contact .btn-submit:hover {
    background: var(--ha-red);
}

/* Bản đồ trong khung nội dung, cao 450px */
.box-contact-map {
    padding-bottom: 5rem;
}

.box-contact-map iframe {
    display: block;
    width: 100%;
    height: 45rem;
    border: 0;
}
/* [/HA-PHASE-11] */

/* ==========================================================================
   [HA-PHASE-12] Trang danh sách sản phẩm theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-12]
   ========================================================================== */

.detail_product {
    padding-bottom: 3rem;
}

/* Cột trái: tiêu đề thẻ xanh vát chéo giống các khối trang chủ */
.detail_product .categories > .h5 {
    position: relative;
    display: inline-block;
    height: 3.9rem;
    margin: 0 0 1.5rem !important;
    padding: 1rem 0 0 1.5rem !important;
    border-bottom: 0 !important;
    background: var(--color-highlight);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.76rem;
}

.detail_product .categories > .h5 {
    padding-right: 0.6rem !important;
    white-space: nowrap;
}

.detail_product .categories > .h5::after {
    position: absolute;
    top: 0;
    left: 100%;
    width: 3.7rem;
    height: 3.9rem;
    margin-left: -0.2rem;
    background: url('../media/title-arrow.png') no-repeat;
    content: '';
}

@media (min-width: 577px) and (max-width: 768px) {
    .detail_product .categories > .h5 {
        font-size: 11px;
    }
}

/* Cây danh mục: viền #ddd, mục cha cao 40px, mục con thụt 30px */
.detail_product .categories [nh-menu] > ul {
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    background: var(--white);
    list-style: none;
}

.detail_product .categories [nh-menu] > ul > li {
    border-bottom: 1px solid #ddd;
}

.detail_product .categories [nh-menu] > ul > li > a {
    display: block;
    padding: 1rem;
    font-size: 1.4rem;
    line-height: 2rem;
}

.detail_product .categories [nh-menu] > ul > li.active > a,
.detail_product .categories [nh-menu] a:hover {
    color: var(--color-highlight);
}

.detail_product .categories [nh-menu] ul ul a {
    display: block;
    padding: 0.8rem 1rem 0.8rem 3rem !important;
    font-size: 1.4rem;
    line-height: 2rem;
}



/* Ô sản phẩm 3 cột sát nhau, viền #ddd như trang chủ */
.detail_product .row:has(> [class*="col-"] > .product-item) {
    margin: 0;
}

.detail_product .row > [class*="col-"]:has(> .product-item) {
    margin-bottom: 0 !important;
    padding: 0;
}

.detail_product .product-item {
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.detail_product .product-item .inner-image {
    padding: 1.5rem 1.5rem 0;
}

.detail_product .product-item .inner-image img {
    border: 2px solid #dc1316;
}

.detail_product .product-item .inner-content {
    padding: 0 1.5rem 1.4rem !important;
}

.detail_product .product-item .product-title {
    height: 4rem;
    margin: 0 0 1rem !important;
}

.detail_product .product-item .product-title a {
    display: -webkit-box;
    overflow: hidden;
    color: #383838;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 2rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detail_product .product-item .star-rating-box {
    display: none !important;
}

.detail_product .product-item .price {
    height: 2.3rem;
    margin: 0 !important;
}

.detail_product .product-item .price-amount {
    color: var(--ha-hover);
    font-size: 1.6rem;
    font-weight: 700;
}

/* Phân trang: ô tròn 38px, trang hiện tại xanh */
.detail_product .pagination {
    justify-content: flex-start;
    margin: 2rem 0;
}

.detail_product .pagination .page-link {
    width: 3.8rem;
    height: 3.8rem;
    margin: 0 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: var(--white);
    color: #777;
    font-weight: 700;
    line-height: 2.6rem;
}

.detail_product .pagination .active .page-link {
    border-color: var(--color-highlight);
    background: var(--color-highlight);
    color: var(--white);
}
/* Cây danh mục: ẩn số lượng, mũi tên sổ xuống bên phải, mục con thụt 30px */
.detail_product .categories [nh-menu] .fs-13 {
    display: none;
}

.detail_product .categories [nh-menu] li {
    position: relative;
}

.detail_product .categories [nh-menu] li > a {
    color: var(--color-main);
}

.detail_product .categories [nh-menu] li > a.active {
    color: var(--color-highlight);
}

.detail_product .categories [nh-menu] .dropdown-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 4rem;
    height: 4rem;
    cursor: pointer;
}

.detail_product .categories [nh-menu] .dropdown-toggle::after {
    position: absolute;
    top: 1.8rem;
    right: 1.5rem;
    margin: 0;
}

.detail_product .categories [nh-menu] ul ul,
.detail_product .categories [nh-menu] .list-child {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.detail_product .categories [nh-menu] li::before,
.detail_product .categories [nh-menu] li > a::before {
    display: none !important;
}

.detail_product .categories [nh-menu] ul ul ul a {
    padding-left: 5rem !important;
}
/* Giá hiện chữ "đồng" như mẫu; phân trang căn trái */
.detail_product .product-item .price-amount .currency-symbol {
    font-size: 0;
}

.detail_product .product-item .price-amount .currency-symbol::after {
    content: ' đồng';
    font-size: 1.6rem;
}

.detail_product [nh-block]:has(.pagination) > nav,
.detail_product .pagination {
    justify-content: flex-start !important;
}
/* Bộ lọc: tiêu đề có đường kẻ, danh sách ô chọn vuông, nút "Chọn lại" */
.detail_product .content-filter-product {
    padding-top: 1.5rem;
}

.detail_product .box-filter__head {
    margin: 0 0 1.5rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid #ddd;
}

.detail_product .box-filter__title {
    color: #383838;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2rem;
    text-transform: uppercase;
}

.detail_product .box-filter__list {
    margin: 0 0 3rem;
    padding: 0;
    list-style: none;
}

.detail_product .box-filter__list li {
    margin-bottom: 0.8rem;
}

.detail_product .box-filter__list a {
    display: flex;
    align-items: flex-start;
    color: var(--color-main);
    font-size: 1.4rem;
    line-height: 1.7rem;
}

.detail_product .box-filter__list .inner-switch {
    display: inline-block;
    flex: 0 0 1.3rem;
    width: 1.3rem;
    height: 1.3rem;
    margin: 0.2rem 0.8rem 0 0;
    border: 1px solid #999;
    border-radius: 0;
    background: var(--white);
}

.detail_product .box-filter__list .inner-switch > span {
    display: none;
}

.detail_product .box-filter__list a.active .inner-switch {
    border-color: var(--color-highlight);
    background: var(--color-highlight);
}

.detail_product .btn_dat_lai .btn-submit {
    padding: 0.8rem 1.2rem;
    border: 0;
    border-radius: 0;
    background: var(--color-highlight);
    color: var(--white);
    font-size: 1.4rem;
    line-height: 2rem;
}
/* Thanh trên lưới: tiêu đề + số sản phẩm bên trái, nút dạng xem + sắp xếp bên phải (cao 46px) */
.box-list-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.6rem;
    margin-bottom: 3rem;
    border: 1px solid #ddd;
    background: #f0f0f0;
}

.box-list-top__title {
    margin: 0;
    padding-left: 1.6rem;
    color: #424242;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.8rem;
}

.box-list-top__number {
    margin-left: 0.5rem;
    color: #888;
    font-size: 1.4rem;
    font-weight: 400;
}

.box-list-top__tools {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    height: 100%;
}

.box-list-top__view {
    display: flex;
    height: 100%;
}

.box-list-top__btn {
    display: flex;
    align-items: center;
    padding: 0 1.6rem;
    color: #444;
    font-size: 1.4rem;
}

.box-list-top__btn.active {
    color: var(--color-highlight);
}

.box-list-top .orderby-section {
    padding-right: 1.3rem;
    font-size: 1.4rem;
}
/* Dạng xem lưới: ẩn mô tả và nút mua */
.detail_product .product-item .product-item__desc,
.detail_product .product-item .product-item__buy {
    display: none;
}

/* Dạng xem danh sách: ảnh 100px bên trái; tên, giá, mô tả, nút "Mua hàng" bên phải */
.detail_product .row.view-list .product-item {
    display: flex;
    align-items: flex-start;
}

.detail_product .row.view-list .product-item .inner-image {
    flex: 0 0 10rem;
    width: 10rem;
    padding: 1rem 0 0 !important;
}

.detail_product .row.view-list .product-item {
    position: relative;
}

.detail_product .row.view-list .product-item .inner-image {
    position: static;
}

.detail_product .row.view-list .product-item .product-hover {
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
}

.detail_product .row.view-list .product-item .product-hover__title {
    height: auto;
}

.detail_product .row.view-list .product-item .inner-content {
    flex: 1 1 0;
    min-width: 0;
    padding: 1rem 1.5rem 1.5rem !important;
}

.detail_product .row.view-list .product-item .product-title {
    height: auto;
}

.detail_product .row.view-list .product-item .price {
    height: auto;
    margin-bottom: 1rem !important;
}

.detail_product .row.view-list .product-item .product-item__desc {
    display: block;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.2rem;
    line-height: 2rem;
}

.detail_product .row.view-list .product-item .product-item__buy {
    display: block;
    height: 4.6rem;
    border-radius: 2.3rem;
    background: #444;
    color: var(--white);
    font-size: 1.4rem;
    line-height: 4.6rem;
    text-align: center;
    text-transform: uppercase;
}

.detail_product .row.view-list .product-item .product-item__buy:hover {
    background: var(--ha-hover);
}
/* [/HA-PHASE-12] */

/* ==========================================================================
   [HA-PHASE-14] Trang chi tiết sản phẩm theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-14]
   ========================================================================== */

/* Ảnh lớn có viền #dedede, 362px */


.detail_product .product-image-detail {
    margin-bottom: 1.5rem;
}

/* Tiêu đề 24px đậm */
.detail_product .product-title-detail {
    margin: 0 0 0.4rem !important;
    color: var(--color-main);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 2.64rem;
}

/* Mã sản phẩm + thương hiệu cùng một hàng, kẻ dưới #ccc */
.detail_product .product-meta {
    display: flex;
    margin: 0 0 1.5rem;
    padding: 0;
    border-bottom: 1px solid #ccc;
    list-style: none;
}

.detail_product .product-meta li {
    margin-right: 4rem;
    padding: 0.7rem 0;
}

.detail_product .product-meta label {
    margin: 0 0.5rem 0 0;
    color: #888;
    font-size: 1.4rem;
    font-weight: 400;
}

.detail_product .product-meta span {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Giá: nhãn + số đỏ 24px, đơn vị "đồng" xanh 19px */
.detail_product .product-content-detail .price {
    margin-bottom: 1.5rem !important;
    color: var(--ha-hover);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 2.7rem;
}

.detail_product .product-content-detail .price-label,
.detail_product .product-content-detail .price-amount {
    color: var(--ha-hover);
    font-size: 2.4rem;
    font-weight: 700;
}

.detail_product .product-content-detail .price-amount .currency-symbol {
    font-size: 0;
}

.detail_product .product-content-detail .price-amount .currency-symbol::after {
    content: ' đồng';
    color: var(--color-highlight);
    font-size: 1.9rem;
    font-weight: 400;
}

/* Mô tả ngắn 14px */
.detail_product .description-product {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 2rem;
}

.detail_product .description-product ul {
    padding-left: 2rem;
}

/* Ô số lượng + nút thêm giỏ hàng đỏ cao 46px */
.detail_product .product-content-detail .add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 4.6rem;
    margin-left: 1rem !important;
    padding: 0 2rem;
    border: 0;
    border-radius: 0;
    background: var(--ha-hover);
    color: var(--white);
    font-size: 1.8rem;
    text-transform: none;
}

.detail_product .product-content-detail .add-to-cart:hover {
    background: var(--ha-red);
}

/* Chia sẻ: ô vuông 38px theo màu mạng xã hội */
.detail_product .social-share .btn-social {
    margin-right: 0.8rem;
}

.detail_product .social-share .btn-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 3.8rem;
    color: var(--white);
}

.detail_product .social-share .btn-social:nth-child(1) a {
    background: #3b5998;
}

.detail_product .social-share .btn-social:nth-child(2) a {
    background: #00aced;
}

.detail_product .social-share .btn-social:nth-child(3) a {
    background: #dd4b39;
}

.detail_product .social-share .btn-social:nth-child(4) a {
    background: #cb2027;
}

.detail_product .social-share .btn-social:nth-child(5) a {
    background: #0077b5;
}

/* Tab nội dung bên dưới */
.detail_product .product-detail-footer .nav-link {
    border-radius: 0;
    color: var(--color-main);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.detail_product .product-detail-footer .nav-link.active {
    background: var(--color-highlight);
    color: var(--white);
}

.detail_product .product-detail-content {
    padding-top: 2rem;
    font-size: 1.4rem;
}
/* Phần dưới: lưới nội dung (705px) + "Sản phẩm cùng loại" (235px); phần trên chiếm cả hàng */
.detail_product--single > .container > .row > .col-md-9 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20.5rem;
    align-items: start;
}

.detail_product--single > .container > .row > .col-md-9 > :first-child {
    grid-column: 1 / -1;
}

.detail_product--single > .container > .row > .col-md-9 > :nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    padding-right: 3rem;
}

.detail_product--single > .container > .row > .col-md-9 > :nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

/* Tab nội dung: chữ hoa 16px đậm, kẻ dưới #ddd */
.box-product-tabs__nav {
    margin: 0 0 2rem;
    border-bottom: 1px solid #ddd;
}

.box-product-tabs__nav .nav-link {
    padding: 0.8rem 0;
    margin-right: 3rem;
    border: 0;
    border-radius: 0;
    background: none !important;
    color: #383838 !important;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2.29rem;
    text-transform: uppercase;
}

.box-product-tabs__body {
    font-size: 1.4rem;
    line-height: 2rem;
}

.box-product-tabs__body a {
    color: #337ab7;
}

.box-product-tabs__body ul,
.box-product-tabs__body ol {
    padding-left: 2rem;
}

.box-product-tabs__body iframe {
    max-width: 100%;
}

/* Sản phẩm cùng loại: tiêu đề kẻ dưới, mỗi sản phẩm một khung viền #ddd */
.detail_product--single .col-md-9 > :nth-child(3) .title-section,
.detail_product--single .col-md-9 > :nth-child(3) > .border-bottom {
    margin: 0 0 2rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid #ddd;
    color: #383838;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2.29rem;
    text-transform: uppercase;
}

.detail_product--single .col-md-9 > :nth-child(3) .view-small > [class*="col-"] {
    padding: 0;
}

.detail_product--single .col-md-9 > :nth-child(3) .product-item {
    display: block;
    margin-bottom: 1.5rem !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
}

.detail_product--single .col-md-9 > :nth-child(3) .product-item .inner-image {
    width: 100%;
    padding: 1.5rem 1.5rem 0;
}

.detail_product--single .col-md-9 > :nth-child(3) .product-item .inner-image img {
    border: 2px solid #dc1316;
}

.detail_product--single .col-md-9 > :nth-child(3) .product-item .inner-content {
    padding: 0 1.5rem 1.4rem !important;
}
/* [/HA-PHASE-14] */

/* [HA-PHASE-15] Product detail fine-tune */
.detail_product .product-meta li {
    padding: 5px 30px 5px 0;
    margin: 0;
    line-height: 20px;
}
.detail_product .description-product {
    color: #333;
}
.detail_product .description-product ul {
    padding-left: 0;
    margin-left: 0;
}
.detail_product .product-content-detail .add-to-cart {
    font-weight: 400;
    padding: 0 15px !important;
    transition: background-color 0.3s ease;
}
.detail_product .add-to-cart:hover {
    background: #c9151c;
}
.detail_product .social-share .share-title {
    display: none;
}
.detail_product .social-share a {
    transition: background-color 0.3s ease;
}
.detail_product .social-share .btn-social:nth-child(1) a:hover {
    background: #2d4373;
}
.detail_product .social-share .btn-social:nth-child(2) a:hover {
    background: #0087ba;
}
.detail_product .social-share .btn-social:nth-child(3) a:hover {
    background: #c23321;
}
.detail_product .social-share .btn-social:nth-child(4) a:hover {
    background: #9f191f;
}
.detail_product .social-share .btn-social:nth-child(5) a:hover {
    background: #005983;
}
.box-product-tabs__nav {
    margin-bottom: 30px;
}
.detail_product--single .product-item.product-item {
    margin-bottom: 20px !important;
}
.detail_product--single .product-item .inner-image img {
    border: 0 !important;
}
.detail_product--single .product-item .product-title a {
    font-size: 1.6rem;
    line-height: 2rem;
}
.detail_product--single .product-item [class*="price"] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ed1c24;
}
/* [/HA-PHASE-15] */

/* [HA-PHASE-16] Product detail: tags, share radius, related items */
.detail_product .social-share .btn-social a {
    border-radius: 3px;
}
.product-tags {
    margin: 20px 0;
    font-size: 1.4rem;
    color: #333;
}
.product-tags__label {
    margin-right: 1rem;
}
.product-tags__item {
    margin-right: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a5aa6;
}
.product-tags__item:hover {
    text-decoration: underline;
}
.detail_product--single .product-item {
    border-radius: 2px;
}
.detail_product--single .product-item .inner-image {
    border: 1px solid #e60012;
}
.detail_product--single .product-item .star-rating-box {
    display: none;
}
.detail_product--single .product-item .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.detail_product--single .product-item .currency-symbol {
    font-size: 0;
}
.detail_product--single .product-item .currency-symbol::after {
    content: ' đồng';
    font-size: 1.6rem;
}
/* [/HA-PHASE-16] */

/* [HA-PHASE-17] Product detail: buy row, share circles, thumbs */
.detail_product .product-buy {
    margin-top: 2.8rem;
}
.detail_product .product-quantity {
    display: inline-flex;
    width: 14.5rem;
    height: 4.6rem;
}
.detail_product .product-quantity .btn-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
    width: 4.6rem;
    height: 4.6rem;
    border: 1px solid #ccc;
    background: #eeeeec;
    color: #333;
    cursor: pointer;
}
.detail_product .product-quantity .quantity-subtract {
    order: 1;
}
.detail_product .product-quantity .number-input {
    order: 2;
    width: 5.5rem;
    height: 4.8rem;
    border: 1px solid #ccc;
    border-width: 1px 0;
    font-size: 1.8rem;
    text-align: center;
}
.detail_product .product-quantity .quantity-add {
    order: 3;
}
.detail_product .product-buy__actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.detail_product .product-buy__actions .add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 4.6rem;
    margin: 0 1rem 0 0 !important;
    padding: 0 1.5rem !important;
    background: #ed1c24;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.2;
}
.detail_product .product-buy__actions .add-to-cart i {
    margin-right: 0.8rem;
    font-size: 1.8rem;
}
.detail_product .product-buy__actions .add-to-cart--installment strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
}
.detail_product .product-buy__actions .add-to-cart--installment small {
    display: block;
    font-size: 1rem;
}
.detail_product .social-share {
    margin-top: 2rem;
}
.detail_product .social-share .list-social {
    display: flex;
}
.detail_product .social-share .btn-social {
    margin: 0 0.6rem 0 0;
}
.detail_product .social-share .btn-social a {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.detail_product .social-share .btn-social a[title="Facebook"] {
    background: #3b5998 !important;
}
.detail_product .social-share .btn-social a[title="Facebook"]:hover {
    background: #2d4373 !important;
}
.detail_product .social-share .btn-social a[title="Google+"] {
    background: #dd4b39 !important;
}
.detail_product .social-share .btn-social a[title="Google+"]:hover {
    background: #c23321 !important;
}
.detail_product .social-share .btn-social a[title="Twitter"] {
    background: #00aced !important;
}
.detail_product .social-share .btn-social a[title="Twitter"]:hover {
    background: #0087ba !important;
}
.detail_product .social-share .btn-social a[title="LinkedIn"] {
    background: #0077b5 !important;
}
.detail_product .social-share .btn-social a[title="LinkedIn"]:hover {
    background: #005983 !important;
}
.detail_product .social-share .btn-social a[title="Pinterest"] {
    background: #cb2027 !important;
}
.detail_product .social-share .btn-social a[title="Pinterest"]:hover {
    background: #9f191f !important;
}
.product-detail-head {
    margin-bottom: 3rem;
}
.detail_product .btn-expand {
    display: none;
}
.detail_product .product-image-detail [nh-slider-thumbs] {
    /*margin-top: 3rem;*/
    margin: 3rem 3rem 0 3rem;
}
.detail_product .product-image-detail [nh-slider-thumbs] .swiper-slide {
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}
.detail_product .product-image-detail [nh-slider-thumbs] .swiper-slide:hover,
.detail_product .product-image-detail [nh-slider-thumbs] .swiper-slide-thumb-active {
    border-color: #2f41b1;
}
.detail_product .description-product ul {
    list-style: none;
}
.detail_product .price-amount .currency-symbol::after {
    margin-left: 0.4rem;
}
/* [/HA-PHASE-17] */

/* [HA-PHASE-18] Product detail: quantity box fix */
.detail_product .product-buy .product-quantity {
    padding: 0;
    border: 0;
}
.detail_product .product-buy .product-quantity .btn-quantity {
    position: static !important;
    width: 4.6rem !important;
    height: 4.6rem !important;
    border: 1px solid #ccc !important;
}
.detail_product .product-buy .product-quantity .number-input {
    flex: 0 0 5.5rem;
    border: 1px solid #ccc;
    border-width: 1px 0;
}
.detail_product .price-amount .currency-symbol {
    margin-left: 0;
}
.detail_product .price-amount .currency-symbol::after {
    margin-left: 0;
}
/* [/HA-PHASE-18] */

/* [HA-PHASE-19] Product detail: fonts and colors aligned with sample */
.detail_product--single {
    line-height: 20px;
}
.detail_product .price,
.detail_product .price-label,
.detail_product .price-amount {
    line-height: 24px;
}
.detail_product .product-buy .product-quantity .btn-quantity {
    font-size: 14px;
    color: #383838;
}
.detail_product .product-buy .product-quantity .number-input {
    color: #555;
    background: #fff;
    line-height: 24px;
}
.detail_product .price-amount .currency-symbol::after {
    font-size: 19px;
    font-weight: 400;
    line-height: 27px;
    color: #2f41b1;
}
.detail_product .product-tags__item {
    color: #337ab7;
}
/* [/HA-PHASE-19] */

/* [HA-PHASE-20] Product detail: image zoom effect */
.detail_product .product-image-detail-top {
    overflow: hidden;
    cursor: crosshair;
}
.detail_product .product-image-detail-top .swiper-slide img {
    transition: transform 0.15s ease-out;
}
.detail_product .product-image-detail [nh-slider-thumbs] .swiper-slide {
    cursor: pointer;
}
/* [/HA-PHASE-20] */

/* [HA-PHASE-21] Product detail: related items show title and price, no badge */
.detail_product--single .product-item.product-item {
    height: auto !important;
}
.detail_product--single .product-item .product-status {
    display: none;
}
.detail_product--single .product-item .inner-content {
    padding: 0 10px 10px !important;
}
.detail_product--single .product-item .inner-image {
    float: none !important;
    width: auto !important;
}
.detail_product--single .product-item .inner-content {
    float: none !important;
    width: auto !important;
}
.detail_product--single .product-item .inner-image {
    margin: 0 !important;
}
.detail_product--single .product-item .inner-content {
    margin: 0 !important;
    text-align: left;
}
.detail_product--single .product-item .price-amount .currency-symbol::after {
    font-size: 16px;
    line-height: inherit;
    color: #ed1c24;
}
/* [/HA-PHASE-21] */

/* [HA-PHASE-22] Product detail: breadcrumb size and tags line like sample */
.ha-breadcrumb-detail a,
.ha-breadcrumb-detail h1,
.ha-breadcrumb-detail h1 a {
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
}
.ha-breadcrumb-detail h1 {
    display: inline;
    margin: 0;
}
.ha-breadcrumb-detail h1 a {
    color: #333;
}
.product-tags__label {
    margin-right: 10px;
    font-size: 14px;
    color: #333;
}
.product-tags__item {
    margin-right: 15px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 20px;
    color: #337ab7;
}
/* [/HA-PHASE-22] */

/* [HA-PHASE-23] Product content tab: images keep ratio, empty paragraphs keep height */
.box-product-tabs__body img {
    max-width: 100%;
    height: auto !important;
}
.box-product-tabs__body p:empty {
    min-height: 20px;
}
.box-product-tabs__body iframe {
    max-width: 100%;
}
/* [/HA-PHASE-23] */

/* [HA-PHASE-24] Product detail: comment tab like sample */
#pd-comment .comment-section {
    margin: 0 !important;
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #f2f2f2;
}
#pd-comment .comment-section > .h3 {
    display: none;
}
#pd-comment .edit-comment {
    position: relative;
}
#pd-comment textarea[nh-input-comment] {
    height: 34px;
    min-height: 34px;
    padding: 6px 40px 6px 10px;
    border: 1px solid #dddfe2;
    border-radius: 20px;
    background: #fff;
    font-size: 12px;
    line-height: 20px;
    resize: none;
}
#pd-comment .box-comment {
    position: absolute;
    top: 6px;
    right: 14px;
}
#pd-comment .btn-submit {
    height: auto;
    padding: 5px 20px;
    border-radius: 5px;
    background: #2f41b1;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
#pd-comment .total-comment {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}
.box-product-tabs__body .tab-pane:empty {
    display: none;
}
/* [/HA-PHASE-24] */

/* [HA-PHASE-25] Product detail: breadcrumb 12px, brand link, comment input */
.breadcrumbs-section.ha-breadcrumb-detail a,
.breadcrumbs-section.ha-breadcrumb-detail h1,
.breadcrumbs-section.ha-breadcrumb-detail h1 a,
.breadcrumbs-section.ha-breadcrumb-detail h1 a span {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 17px !important;
}
.detail_product .product-meta a {
    color: #333;
    font-weight: 700;
}
#pd-comment textarea[nh-input-comment] {
    height: 34px !important;
    min-height: 34px !important;
}
#pd-comment .total-comment {
    display: none;
}
/* [/HA-PHASE-25] */

/* [HA-PHASE-26] Product detail on tablet and mobile */
@media (max-width: 991px) {
    .detail_product--single > .container > .row > .col-md-9 {
        display: block;
    }
    .detail_product--single > .container > .row > .col-md-9 > :nth-child(2) {
        padding-right: 0;
    }
    .detail_product--single > .container > .row > .col-md-9 > :nth-child(3) {
        margin-top: 3rem;
    }
    .box-product-tabs__nav {
        display: flex;
        flex-wrap: wrap;
    }
    .detail_product .product-buy__actions {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .detail_product .product-buy__actions .add-to-cart {
        margin-right: 0 !important;
    }
    .detail_product .product-title-detail {
        font-size: 2rem;
        line-height: 2.4rem;
    }
}
/* [/HA-PHASE-26] */

/* [HA-PHASE-27] Comment tab: same look as sample (no send button, Enter to send) */
#pd-comment .comment-section {
    padding: 10px 10px 25px;
}
#pd-comment .btn-submit {
    display: none;
}
#pd-comment .list-comment {
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}
#pd-comment .list-comment > li {
    padding: 10px 0;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    line-height: 20px;
    color: #333;
}
/* [/HA-PHASE-27] */

/* [HA-PHASE-28] Article list pages (Tra cứu sản phẩm, Hỗ trợ kỹ thuật, Tài liệu): same layout as sample */
[nh-block="v8a9fg4"] .swiper,
[nh-block="v8a9fg4"] .swiper-wrapper,
[nh-block="v8a9fg4"] .swiper-slide {
    height: auto !important;
}
[nh-block="v8a9fg4"] img {
    height: auto !important;
    object-fit: contain;
}
[nh-block="zud9kgv"] > .row {
    margin: 0;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}
[nh-block="zud9kgv"] > .row > div {
    margin: 0 !important;
    padding: 15px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
[nh-block="zud9kgv"] .article-item {
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
}
[nh-block="zud9kgv"] .article-item .inner-image,
[nh-block="zud9kgv"] .article-item .inner-image img {
    border-radius: 0 !important;
}
[nh-block="zud9kgv"] .article-item .inner-content {
    padding: 15px 15px 20px !important;
}
[nh-block="zud9kgv"] .article-title a {
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    color: #333;
}
[nh-block="zud9kgv"] .article-title a:hover {
    color: #ed1c24;
}
[nh-block="zud9kgv"] .article-description {
    display: none;
}
/* [/HA-PHASE-28] */

/* [HA-PHASE-29] Article detail: title, date and dashed separators like sample */
.detail_intro .article-detail > .h3 {
    margin-bottom: 0.5rem !important;
    font-size: 3rem;
    font-weight: 500 !important;
    line-height: 3.3rem;
    color: #333;
}
.detail_intro .article-detail .post-date {
    font-size: 1.2rem;
    color: #989898;
}
.detail_intro .article-detail .post-date::before {
    content: '\f017';
    margin-right: 0.4rem;
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
}
.detail_intro .article-detail > .mb-3:nth-child(2) {
    margin-bottom: 1rem !important;
}
.detail_intro .article-detail > .bg-light {
    margin-bottom: 1rem !important;
    padding: 0 0 1rem !important;
    border-bottom: 1px dashed #ddd;
    background: none !important;
    font-size: 1.4rem;
    line-height: 2rem;
}
.detail_intro .article-detail .article-content {
    padding-bottom: 1rem;
    border-bottom: 1px dashed #ddd;
    font-size: 1.4rem;
    line-height: 2rem;
}
/* [/HA-PHASE-29] */

/* [HA-PHASE-30] Order info page (checkout step 1) like sample */
body:has(#order-info),
body:has(#order-info) main,
body:has(#order-info) section,
body:has(#order-info) .bg-light {
    background: #fff !important;
}
.checkout-section {
    max-width: 1253px;
    margin-right: auto;
    margin-left: auto;
}
.checkout-section::before {
    content: '';
    display: block;
    height: 80px;
    margin-bottom: 1.5rem;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1253 80'><g font-family='Arial,sans-serif' font-size='16' font-weight='700' fill='%23e30c13'><circle cx='49' cy='40' r='19' fill='%23e30c13'/><text x='49' y='46' text-anchor='middle' font-size='18' fill='%23fff' font-weight='400'>1</text><text x='82' y='46'>THÔNG TIN ĐƠN HÀNG</text><circle cx='447' cy='40' r='18' fill='none' stroke='%23e30c13' stroke-width='2'/><text x='447' y='46' text-anchor='middle' font-size='18' font-weight='400'>2</text><text x='480' y='46'>HÌNH THỨC THANH TOÁN</text><circle cx='845' cy='40' r='18' fill='none' stroke='%23e30c13' stroke-width='2'/><text x='845' y='46' text-anchor='middle' font-size='18' font-weight='400'>3</text><text x='878' y='46'>HOÀN THÀNH</text></g></svg>") no-repeat left center / contain;
}
#order-info > .row {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    column-gap: 3rem;
    align-items: start;
    margin: 0;
}
#order-info-left,
#order-info-right {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
}
.order-box,
#order-info .order-review {
    padding: 1.5rem;
    border: 1px solid #ddd;
    background: #fff;
}
.order-tabs {
    display: flex;
    margin: 0 0 2rem;
    padding: 0;
    border-bottom: 1px solid #ddd;
    list-style: none;
}
.order-tabs__item {
    flex: 1;
    height: 5rem;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 5rem;
    text-align: center;
    text-transform: uppercase;
    background: #c8c8c8;
    color: #333;
}
.order-tabs__item a {
    display: block;
    color: #333;
}
.order-tabs__item--active {
    background: #fff;
    color: #e30c13;
}
.order-form {
    padding: 0 2rem 1rem;
}
.order-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
}
.order-form__full {
    grid-column: 1 / -1;
}
.order-form .form-control,
.order-form .bootstrap-select > .dropdown-toggle {
    height: 5rem;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #fff;
    font-size: 1.6rem;
    color: #555;
}
.order-form textarea.form-control {
    height: 5rem;
    min-height: 5rem;
    padding-top: 1.2rem;
}
.order-continue {
    min-width: 17.7rem;
    height: 4.2rem;
    padding: 0 1.8rem;
    border: 0;
    border-radius: 3px;
    background: linear-gradient(#ee2a30, #c4121a);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 4.2rem;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
}
.order-continue:hover {
    background: #b30f15;
}
.order-side__title {
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #ddd;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #383838;
}
.order-product {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.order-product__image {
    flex: 0 0 7.5rem;
    width: 7.5rem;
    height: 8rem;
    border: 1px solid #f4a6a8;
}
.order-product__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.order-product__name {
    display: block;
    font-size: 1.4rem;
    line-height: 2rem;
    color: #333;
}
.order-product__price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e30c13;
}
.order-product__quantity {
    margin-top: 0.5rem;
    font-size: 1.4rem;
    color: #333;
}
.order-product__quantity strong {
    margin-left: 0.5rem;
    font-size: 1.8rem;
    color: #e30c13;
}
#order-info .order-review .entry-order-review > .p-4,
#order-info .order-review .entry-order-review > .bg-white {
    padding: 0 !important;
    border: 0;
}
#order-info .order-review .d-flex.justify-content-between {
    font-size: 1.4rem;
    color: #333;
}
#order-info .order-review .d-flex.justify-content-between > span:first-child {
    font-weight: 700;
}
#order-info .order-review .price-amount {
    font-weight: 700;
}
#order-info .order-review .color-hover .price-amount {
    font-size: 1.6rem;
    color: #e30c13;
}
#order-info .order-review .separation-dash {
    display: none;
}
@media (max-width: 991px) {
    #order-info > .row {
        display: block;
    }
    .order-box {
        margin-bottom: 2rem;
    }
    .order-form {
        padding: 0;
    }
    .order-form__grid {
        display: block;
    }
    .checkout-section::before {
        background-size: 100% auto;
    }
}
.order-product__image {
    overflow: hidden;
    font-size: 0;
}
.order-product__info {
    flex: 1;
    min-width: 0;
}
#order-info .order-review .entry-order-review > .bg-white,
#order-info .order-review .entry-order-review > .p-4 {
    margin-top: 1.5rem;
}
.order-form .form-group {
    position: relative;
    margin-bottom: 2.2rem;
}
.order-form .form-group .error,
.order-form .form-group .invalid-feedback,
.order-form .form-group label.error {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0.3rem 0 0;
    font-size: 1.2rem;
    line-height: 1.6rem;
    color: #b94a48;
}
.order-tabs__item {
    cursor: pointer;
}
[data-order-pane][hidden] {
    display: none !important;
}
.order-login {
    padding: 1rem 0 3rem;
}
.order-login__form {
    max-width: 34rem;
    margin: 0 auto;
}
.order-login__form .form-control {
    height: 4.1rem;
    margin-bottom: 2rem;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 1.4rem;
    color: #555;
}
.order-login__submit {
    height: 3.8rem;
    padding: 0 1.8rem;
    border: 0;
    border-radius: 3px;
    background: linear-gradient(#ee2a30, #c4121a);
    font-size: 1.4rem;
    line-height: 3.8rem;
    color: #fff;
    cursor: pointer;
}
.order-login__or {
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
    text-align: center;
    color: #333;
}
.order-login__social {
    display: block;
    height: 3.8rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 3.8rem;
    text-align: center;
    color: #fff;
    cursor: pointer;
}
.order-login__social--facebook {
    background: #3b5998;
}
.order-login__social--google {
    background: #c0392b;
}
.order-product {
    position: relative;
}
.order-product__remove {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.8rem;
    line-height: 1;
    color: #000;
}
.order-product__remove:hover {
    color: #e30c13;
}
.order-product__name {
    padding-right: 2.5rem;
}
/* [/HA-PHASE-30] */

/* [HA-PHASE-35] Floating contact buttons: Zalo and phone (chat is provided by the chat widget) */
.ha-float__zalo {
    position: fixed;
    bottom: 90px;
    left: 15px;
    z-index: 2000;
    width: 60px;
    height: 60px;
    cursor: pointer;
}
.ha-float__zalo-icon {
    display: block;
    width: 100%;
    height: 100%;
}
.ha-float__zalo-list {
    position: absolute;
    top: 0;
    left: -1px;
    z-index: 7;
    width: 277px;
    padding-left: 55px;
    opacity: 0;
    transform: scale(0);
}
.ha-float__zalo:hover .ha-float__zalo-list {
    top: -50px;
    left: 30px;
    opacity: 1;
    transform: scale(1);
    transition: ease-out 0.5s;
}
.ha-float__zalo-list p {
    margin: 0 0 1rem;
    padding: 6px 15px;
    border: 1px solid #000;
    border-radius: 37px;
    background: #fff;
}
.ha-float__zalo-list p:last-child {
    margin-bottom: 0;
}
.ha-float__zalo-list a {
    color: #000;
}
.ha-float__zalo-list p:hover {
    background: #000;
}
.ha-float__zalo-list p:hover a {
    color: #fff;
}
.ha-float__call {
    position: fixed;
    bottom: 8px;
    left: -22px;
    z-index: 2000;
    width: 99px;
    height: 103px;
    cursor: pointer;
}
.ha-float__call-ring,
.ha-float__call-pulse,
.ha-float__call-icon {
    position: absolute;
    border-radius: 50%;
}
.ha-float__call-ring {
    top: 32px;
    left: 32px;
    width: 72px;
    height: 72px;
    border: 2px solid #f00;
    opacity: 0.5;
    animation: ha-float-zoom 1.5s infinite;
}
.ha-float__call-pulse {
    top: 38px;
    left: 38px;
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.39);
    animation: ha-float-pulse 1.5s infinite;
}
.ha-float__call-icon {
    top: 48px;
    left: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f00;
    font-size: 22px;
    color: #fff;
    animation: ha-float-tada 1.5s infinite;
}
.ha-float__call:hover .ha-float__call-icon {
    background: #75eb50;
}
.ha-float__call:hover .ha-float__call-pulse {
    background: #ccc;
}
@keyframes ha-float-zoom {
    0% {
        transform: scale(0.6);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}
@keyframes ha-float-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
@keyframes ha-float-tada {
    0%,
    100% {
        transform: scale(1) rotate(0);
    }
    10%,
    20% {
        transform: scale(0.9) rotate(-3deg);
    }
    30%,
    50%,
    70% {
        transform: scale(1.1) rotate(3deg);
    }
    40%,
    60% {
        transform: scale(1.1) rotate(-3deg);
    }
}
/* [/HA-PHASE-35] */

/* =====================================================
   [HA-PHASE-36] Thẻ sản phẩm trang chủ: bỏ mô tả và nút "Xem chi tiết" theo mayvanphonghaanh.com
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-36]
   ===================================================== */
.box-mvpha-home .product-item .product-item__desc,
.box-mvpha-home .product-item .product-item__buy,
.box-category-tabs .product-item .product-item__desc,
.box-category-tabs .product-item .product-item__buy,
.box-home-hot .product-item .product-item__desc,
.box-home-hot .product-item .product-item__buy {
    display: none !important;
}
/* [/HA-PHASE-36] */

/* =====================================================
   [HA-PHASE-37] Giỏ hàng dịch vào trong 12px; hai khối Linh kiện Sharp và Máy văn phòng (chưa có banner dọc): 4 sản phẩm một hàng, thẻ giống các khối linh kiện khác
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-37]
   ===================================================== */
.box-header-cart__btn {
    margin-right: 12px;
}

.box-header-cart__count {
    right: -12px;
}

:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .ratio-1-1 {
    padding-top: 100%;
}

@media (min-width: 992px) {
    :is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .tab-pane > .row > [class*="col-lg-"] {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .tab-pane > .row {
    margin: 0;
}

:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .tab-pane > .row > [class*="col-"] {
    margin-bottom: 0 !important;
    padding: 0;
    border: 0;
}

:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .product-item {
    padding: 1.5rem;
    background: transparent !important;
    border: 0 !important;
    border-right: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    border-radius: 0 !important;
}

:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .product-item .inner-image,
:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .product-item .inner-content {
    padding: 0 !important;
}

:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .hover-img:hover img {
    transform: none;
}

:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .product-title {
    height: 4rem;
    margin: 0 0 1rem !important;
    overflow: hidden;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 2rem;
}

:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .product-title a {
    color: #383838;
}

:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .star-rating-box {
    display: none !important;
}

:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .box-category-tabs__body .price {
    margin: 0 !important;
}

/* Thẻ tiêu đề các khối sản phẩm theo danh mục: chừa khoảng trống bên phải để chữ không chạm đầu vát */
.box-category-tabs .title-section {
    padding-right: 0.8rem !important;
}

/* Khối "Sản phẩm mới" đầu trang: 4 sản phẩm một hàng, ảnh vuông */
[nh-block="yt51ew9"] .ratio-1-1 {
    padding-top: 100%;
}

@media (min-width: 992px) {
    [nh-block="yt51ew9"] .tab-pane > .row > [class*="col-lg-"] {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
/* [/HA-PHASE-37] */

/* =====================================================
   [HA-PHASE-38] Khung thông tin khi rê chuột vào sản phẩm: hiện đủ tên sản phẩm, không cắt dòng
   Gỡ bỏ: xóa toàn bộ khối từ dòng này đến [/HA-PHASE-38]
   ===================================================== */
.product-hover__title {
    height: auto;
    overflow: visible;
}

/* Hai khối Sharp và Máy văn phòng: khung thông tin cùng vị trí và cỡ như khối "Sản phẩm mới" */
:is([nh-block="6ymqawo"], [nh-block="poim7tl"]) .product-hover {
    top: 3rem;
    left: 0;
    width: 30rem;
}
/* [/HA-PHASE-38] */
