.marB60{
    margin-bottom: 60px !important;
}
.marB0{
    margin-bottom: 0px !important;
}
.vhthumbborder::before {
    content: "";
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 50%;
    right: 50%;
    border-top: solid 1px #ffffff;
    border-bottom: solid 1px #ffffff;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    pointer-events: none;
    z-index: 1;
}
.vhthumbborder::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    bottom: 50%;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #ffffff;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    pointer-events: none;
    z-index: 1;
}
.vhthumbborder:hover::after {
    top: 20px;
    bottom: 20px;
}
.vhthumbborder:hover::before {
    left: 15px;
    right: 15px;
}

.bodycat-product {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 50px 50px 100px 50px;
}

@media (max-width: 992px) {
    .bodycat-product {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .bodycat-product {
        grid-template-columns: 1fr;
    }
}

.items-catpro {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.items-catpro:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.catpro-pic img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.catpro-title {
    padding: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.catpro-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.catpro-title a:hover {
    color: #006600;
}
.vnttitlell {
    margin-bottom: 20px;
    text-align: center;
}
.vnttitlell h1{
    font-size: 45px;
    line-height: 60px;
    text-transform: uppercase;
    font-weight: 300;
    font-family: 'Roboto Condensed', sans-serif;
    color: #006600;
    font-weight: bold;
}
.thecontpro {
    margin-bottom: 45px;
    text-align: center;
    font-size: 15px;
    line-height: 23px;
    color: #555555;
}
.thecontpro .inner {
    max-width: 875px;
    margin: 0 auto;
    text-align: justify;
    line-height: 30px;
}
.thecontpro .inner img {
    height: auto !important;
}

/******/
.vhproductall {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    margin-bottom: 40px;
}
.vhproductall .colt {
    width: calc(100% - 535px);
}
.vhproductall .thumb a {
    display: block;
    /*thêm mới*/
    width: 675px;
}
.vhthumbborder {
    position: relative;
}
.vhthumbborder::before {
    content: "";
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 50%;
    right: 50%;
    border-top: solid 1px #ffffff;
    border-bottom: solid 1px #ffffff;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    pointer-events: none;
    z-index: 1;
}
.vhproductall .thumb a img {
    width: 100%;
}
.vhthumbborder::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    bottom: 50%;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #ffffff;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    pointer-events: none;
    z-index: 1;
}
.vhproductall .cold {
    width: 535px;
}
.vhproductall .decs {
    padding: 20px 30px;
    text-align: center;
}
.vhproductall .dstitle, .vhproductall .dstitle h3, .vhproductall .dstitle a {
    font-size: 40px;
    line-height: 55px;
    font-weight: 300;
    color: #000;
    font-family: 'Roboto Condensed', sans-serif;
}
.vhproductall .dstitle {
    margin-bottom: 10px;
}
.vhproductall .dstitle, 
.vhproductall .dstitle h3, 
.vhproductall .dstitle a {
    font-size: 40px;
    line-height: 55px;
    font-weight: 300;
    color: #000;
    font-family: 'Roboto Condensed', sans-serif;
}
.vhproductall .dsprice {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 27px;
    color: #555555;
}
.viewall {
    text-align: center;
}
.viewall a, .viewall button {
    display: inline-block;
    text-align: center;
    font-size: 12px;
    line-height: 21px;
    padding: 7px 35px;
    background-color: #0f5dad;
    font-weight: 600;
    color: #fff;
    position: relative;
    border: none;
    overflow: hidden;
    border-radius: 25px;
}
.viewall a:hover, 
.viewall button:hover {
    background-color: #f58124;
}
.vhproductall:nth-child(even) .colt {
    order: 2;
    text-align: -webkit-right;
}
.vhpopform {
    max-width: 270px;
    margin-bottom: 30px;
}
.viewall {
    text-align: center;
    margin-bottom: 30px;
}
.vhpopform .viewall a {
    width: 100%;
    font-size: 18px;
    line-height: 28px;
    padding: 11px 15px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

/*****popup*****/
.vnt-bg-over {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000;
    opacity: 0;
    z-index: 5;
    pointer-events: none;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.vnt-bg-over.active {
    opacity: 0.3;
    z-index: 1110;
    pointer-events: auto;
}
.vhpopcartFix {
    position: fixed;
    pointer-events: auto;
    top: 0;
    bottom: 0;
    right: 0;
    max-width: 360px;
    width: 100%;
    background-color: #fff;
    z-index: 11111;
    transform: translateX(100%);
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    opacity: 0;
    visibility: hidden;
}
.vhpopcartFix.active {
    transform: inherit;
    opacity: 1;
    visibility: inherit;
}
.vhpopcartFix .btnClosePop {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
}
.vhpopcartFix .btnClosePop a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.vhpopcartFix .lstProductCart {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    height: calc(100vh - 136px);
    overflow: hidden;
    overflow-y: auto;
}
.lstProductCart .itemCart {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}
.itemCart .thumbPro {
    width: 90px;
    text-align: center;
}
.thumbPro img {
    border: 0px;
    max-width: 100%;
}
.itemCart .decsPro {
    width: calc(100% - 90px);
    padding-left: 10px;
}
.itemCart .pptitle {
    font-size: 13px;
    line-height: 21px;
    max-height: 42px;
    overflow: hidden;
    margin-bottom: 5px;
}
.itemCart .pptitle a {
    color: #000000;
    display: block;
}
.itemCart .pptool {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 5px;
}
.itemCart .pptool .p-price {
    display: flex;
    align-content: center;
    align-items: center;
}
.itemCart .deletePro {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 15px;
    bottom: 25px;
    pointer-events: auto;
}
.itemCart .deletePro a {
    display: block;
}
.vhpopcartFix .infoTotalCart {
    padding: 20px 15px;
}
.vhpopcartFix .btnTTCart {
    text-align: center;
}
.vhpopcartFix .btnTTCart a {
    display: block;
    border: 1px solid #006600;
    background-color: #006600;
    color: #fff;
    font-size: 13px;
    line-height: 21px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 25px;
}
.vhpopcartFix .btnTTCart a{
    background-color: #004ea0;
    border-color: 1px solid #004ea0;
}
.vhpopcartFix .btnTTCart a:hover {
    background-color: #ec7c23;
    border-color: #ec7c23;
}
.Martop30{
    margin-top: 30px;
}
.Marbottom70{
    margin-bottom: 70px;
}
.sldetailnav {
    border: 1px solid #ccc !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
}
.dtitemoroduct {
    line-height: 30px;
}

/***button-cart-right*********/
.vhcartfix {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    z-index: 12;
}
.vhcartfix a {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 100%;
    background-color: #09539c;
    color: #fff;
    font-size: 25px;
    position: relative;
}
.vhcartfix a::before {
    content: '';
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    position: absolute;
    background-color: transparent;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 10px solid #09539c;
    opacity: 0.5;
    -webkit-animation: quick-alo-circle-anim 1.2s infinite ease-in-out;
    -moz-animation: quick-alo-circle-anim 1.2s infinite ease-in-out;
    -ms-animation: quick-alo-circle-anim 1.2s infinite ease-in-out;
    -o-animation: quick-alo-circle-anim 1.2s infinite ease-in-out;
    animation: quick-alo-circle-anim 1.2s infinite ease-in-out;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    pointer-events: none;
}
.vhcartfix a .cicon {
    max-width: 45%;
    max-height: 45%;
    display: block;
    margin: 0 auto;
}
.vhcartfix a .cquan {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 15px;
    line-height: 23px;
    text-align: center;
    background-color: #f58124;
}

/***gio-hang***********/
.ghcb-title {
    text-align: center;
    margin: 0px 0 50px 0;
    padding-top: 30px;
}
.ghcb-title h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 50px;
    text-transform: uppercase;
}
.Tabmiddle td{
    vertical-align: middle !important;
}

/************** loading page ********************/
/* https://stephanwagner.me/only-css-loading-spinner */
.loadOverlay{
    position: relative;
    min-height: 360px;
}
.loadOverlay:before{
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 70px;
    left: 50%;
    width: 80px;
    height: 80px;
    margin-top: -30px;
    /* margin-left: -10px; */
    border-radius: 50%;
    border-top: 2px solid #0f5dad;
    border-right: 2px solid transparent;
    animation: spinner .6s linear infinite;
    z-index: 99;
}
.loadOverlay:after{
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 98;
    background: #f5f5f5;
    opacity: .8;
}
.loadOverlay.loadOverlay-35:before{
    left: 35%;
}
.loadOverlay.loadOverlay-40:before{
    left: 40%;
}
.loadOverlay.loadOverlay-45:before{
    left: 45%;
}
.loadOverlay.loadOverlay-46:before{
    left: 46%;
}
.loadOverlay.loadOverlay-48:before{
    left: 48%;
}
.loadOverlay.loadOverlayCenter:before{
    top: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
    margin-top: -30px;
}
@-webkit-keyframes spinner {
  to {transform: rotate(360deg);}
}
@keyframes spinner {
  to {transform: rotate(360deg);}
}
/********************* loading page ****************************/

/****gio-hang***/
.uppercase{
    text-transform: uppercase;
}
b.colred.giohang-money {
    font-size: 25px;
    color: #FE0000 !important;
}
a.del-giohang {
    border: 1px solid #ccc;
    display: block;
    max-width: fit-content;
    border-radius: 100%;
    padding: 3px 6px;
    height: 25px;
    width: 25px;
    color: #006600;
    align-content: center;
}
a.del-giohang:hover{
    color: #F58124;
}
.vhbtnsell {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.btncancel a, .btncancel button {
    padding: 10px 45px;
    display: inline-block;
    text-align: center;
    border: none;
    background-color: #e6e6e6;
    border: none;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 21px;
    font-weight: 600;
    border-radius: 25px;
    color: #212121;
}
.btncancel a:hover, 
.btncancel button:hover {
    background-color: #ec7c23;
    color: #fff;
}
.btnblack a, 
.btnblack button {
    padding: 12px 40px;
    display: inline-block;
    text-align: center;
    border: none;
    background-color: #0488DA;
    text-transform: uppercase;
    border-radius: 25px;
    color: #fff;
    font-weight: 600;
}
.btnblack a:hover, 
.btnblack button:hover {
    background-color: #ec7c23;
    color: #fff;
}
.cart-empty{
    font-size: 18px;
    padding: 30px 20px;
    text-align: center;
    color: #999;
}
.capnhat-soluong{
    width: 80px;
    line-height: 26px;
    text-indent: 5px;
    padding:0;
    margin:0
}
.colorgreen{
   color: #006600;
}
.colored{
   color: red;
}
.giohang-pic img {
    max-height: 82px;
}
/***Mobi***/
@media (max-width: 768px) {
    .hpproductab {
        padding: 10px;
    }

    .vhproductall {
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .colt {
        width: 100%;
    }

    .thumb img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: bottom; /* Lấy vị trí từ đáy */
        border-radius: 10px 10px 0 0;
        display: block;
    }

    .cold {
        padding: 15px 10px;
        text-align: center;
    }

    .decs .dstitle h3 {
        font-size: 18px;
        margin: 10px 0;
        color: #000;
    }

    .decs .dstitle h3 a {
        text-decoration: none;
        color: inherit;
    }

    .dsprice {
        font-size: 16px;
        margin-bottom: 10px;
        color: #666;
    }

    .dsview .viewall a {
        display: inline-block;
        background: #004A99;
        color: #fff;
        padding: 8px 16px;
        border-radius: 25px;
        font-size: 15px;
        text-decoration: none;
        transition: background 0.3s ease;
    }

    .dsview .viewall a:hover {
        background: #003366;
    }
    
}

.hpproductab .vhproductall .thumb img {
    max-height: 675px;   /* Chiều cao cố định bạn muốn */
    width: auto;         /* Chiều rộng tự động theo tỉ lệ */
    object-fit: contain; /* Không cắt hình, giữ nguyên tỉ lệ */
    display: block;
    /*margin: 0 auto;          /* Căn giữa nếu hình nhỏ */*/
}

/*****SEARCH*************/
.title-main2 {
    font-size: 40px;
    line-height: 55px;
    font-weight: 600;
    position: relative;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.show-chosenparent {
    margin-bottom: 25px;
}
.show-chosenparent:after {
    content: "";
    display: block;
    clear: both;
}
.show-chosenparent .col {
    width: 25%;
    float: left;
    border: solid 1px #dddddd;
    margin: -1px 0px 0px -1px;
    padding: 0;
}
.col .product {
    padding: 5px 15px 15px 15px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 1;
}
.col .product::before {
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 50%;
    right: 50%;
    border-top: solid 1px #086db5;
    border-bottom: solid 1px #086db5;
    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
    pointer-events: none;
    z-index: 1;
}
.col .product::after {
    content: "";
    position: absolute;
    left: 0px;
    right: 0px;
    top: 50%;
    bottom: 50%;
    border-left: solid 1px #086db5;
    border-right: solid 1px #086db5;
    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
    pointer-events: none;
    z-index: 1;
}
.product .img {
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 0px;
    -webkit-transition: all 1s linear;
    -o-transition: all 1s linear;
    transition: all 1s linear;
}
.product .img img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 100%;
    /* width: 100%; */
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.col .product:hover::before {
    left: 0px;
    right: 0px;
}
.col .product:hover::after {
    top: 0px;
    bottom: 0px;
}
.product:hover .img {
    transform: scale(1.05);
    -webkit-transition: all 1s linear;
    -o-transition: all 1s linear;
    transition: all 1s linear;
}
.tend a {
    font-family: 'Roboto Condensed', sans-serif;
    color: #212121;
}
.tend h3 {
    font-size: 20px;
    line-height: 1.4em;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-align: center;
}
.Search-keyword .font_keyword {
    background-color: yellow;
    color: red;
    font-weight: bold;
}
.Search-keyword {
    font-size: 18px;
    margin-bottom: 15px;
}
.theattrpro .attrprice .prinfo{
    line-height: 27px !important;
}
.itemnav img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.catcha-title {
    margin: 0 50px;
    border-left: 5px solid #013392;
    padding-left: 10px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    position: relative;
}
.catcha-title::after {
    content: "";
    display: block;
    height: 3px; /* độ dày line */
    width: 100%; /* full chiều ngang text */
    margin-top: 5px;
    /*background: linear-gradient(to right, red, orange, yellow); 
    animation: gradientChange 9s infinite;*/ 
    /* 3 màu => 3s mỗi màu */

    /*background: linear-gradient(90deg, transparent, red, orange, transparent);
    background-size: 200% 100%;
    animation: shineLine 3s linear infinite;*/

    background: linear-gradient(
        90deg, 
        transparent,
        red,
        orange,
        yellow,
        green,
        blue,
        purple,
        transparent
    );
    background-size: 300% 100%; /* rộng hơn để có hiệu ứng chạy mượt */
    animation: shineLine 60s linear infinite;

}
/* Animation đổi màu gradient */
@keyframes gradientChange {
    0% {
        background: linear-gradient(to right, red, orange);
    }
    33% {
        background: linear-gradient(to right, blue, cyan);
    }
    66% {
        background: linear-gradient(to right, green, lime);
    }
    100% {
        background: linear-gradient(to right, red, orange);
    }
}
/*@keyframes shineLine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}*/
@keyframes shineLine {
    0%   { background-position: 300% 0; }
    100% { background-position: -300% 0; }
}
.capcha-all {
    padding: 30px 0px 40px 0px;
    margin-bottom: 0px;
}
.vhttdetail h1{
    margin-top: 0;
    color: #0f5dad !important;
    font-size: 30px !important;
    line-height: normal !important;
}
.sldetailnav .itemnav {
    overflow: hidden !important;
}
.itemnav a:focus,
.itemnav a:active,
.itemnav img:focus,
.itemnav img:active {
    outline: none !important;
    border: none !important;
}
.slick-slide img {
    outline: none !important;
    border: none !important;
}
.itemnav a:focus {
    outline: none !important;
}
.shop-bodytext {
    line-height: 30px;
}
.ps.reducenew {
    color: red;
}
.proanh-global {
    margin-top: 30px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 3px 6px -4px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    max-width: fit-content;
}
.proanh-global > ul {
    list-style: none;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin: 0;
    max-width: -webkit-fill-available;
}
.proanh-global > ul > li {
    display: flow-root;
    padding: 0 25px;
}
.propic {
    margin-bottom: 7px;
}
.protext p {
    margin-bottom: 3px;
}
.pd-left-30{
    padding-left: 30px;
} 

.pd-right-30{
    padding-right: 30px;
}
.coll {
    width: 40%;
   height: 100%;
}
.itemnav {
    width: 100%;
    border-radius: 10px;
}
.itemnav img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
}
.colr {
    float: left;
    width: 50%;
}

/***More********/
.viewall span {
    color: #fff;
}

.flex{
    display: flex;
    width: 100%;
}
.flex30P,
.flex3{
    flex:3;
}
.flex40P,
.flex4{
    flex:4;
}
.flex20P,
.flex2{
    flex: 2;
}
.gap20{
    gap: 20px;
}
.gap30{
    gap: 30px;
}
.pro-trongluong {
    line-height: 30px;
}

.righticon.muahang{
    position: relative;
    display: inline-block;
}
.nCart{
    position: absolute;
    top: -10px;
    right: -12px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #ff2d55;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    animation: cartBadge 1.8s infinite;
    z-index: 10;
}
.mar-t0{
    margin-top: 0 !important;
}

@keyframes cartBadge{
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.15);
    }
    100%{
        transform: scale(1);
    }
}

/*.main-product-page {
    background: #fff;
    padding: 20px 10px;
    width: 1280px;
}*/

.main-product-page {
    width: 100%;
    margin: 0 auto;
    max-width: 1440px;
    min-width: 728px;
    padding: 0 20px;
}

/*******************/
.box-hotline-main-r {
    color: #555;
}
.box-hotline-main-r h2, 
.box-hotline-main-r .h2 {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 11px 10px;
    color: #000;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 2px solid #ececec;
    margin-top: 0;
}
.box-hotline-main-r ul {
    padding: 0 5px !important;
}
.box-hotline-main-r h3, 
.box-hotline-main-r .h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}
.box-hotline-main-r p {
    margin-bottom: 10px;
    font-size: 14px;
}
.box-hotline-main-r ul li span {
    color: #dc0021;
}
.product-tab .tabs-title {
    background: #f6f6f6;
    margin-bottom: 0px;
    padding-left: 1px;
}
ul.tabs li.current {
    color: #000;
    margin-bottom: -1px;
}
.product-tab .tab-link .tabchitiet {
    color: #9d9c9c;
    margin: 13px 0;
    font-size: 13px;
}
@media (min-width: 768px) {
    .product-tab .tab-link.current {
        color: #040722;
        border-top: solid 2px #1142ad;
        padding-bottom: 0px;
        background: #fff;
    }
}
.product-tab .tab-link {
    position: relative;
    display: inline-block;
    border-top: solid 2px #f6f6f6;
    padding: 0px 25px;
    border-bottom: 0px;
    margin-top: -2px;
    background: #f6f6f6;
}
.product-tab .tab-link span {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}
.product-tab.e-tabs {
    margin-top: 30px;
}

h1.title-product {
    color: #363636;
    font-size: 24px;
    line-height: 30px;
    margin: 0px;
    margin-bottom: 5px;
    font-weight: 400;
}   

.flex {
    display: flex;
    gap: 20px;
}
.flex75P{
    flex: 0 0 75%;
}

.flex42P{
    flex: 0 0 42%;
}

/* Container bên trái chứa Ảnh lớn + Thumbnails */
.gallery-left {
    /*width: 450px;*/
    /*position: relative;*/
    width: 390px;
}

/* Khung ảnh chính */
.main-image-container {
    width: 100%;
    height: 379px;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Khung Lens di chuyển trên ảnh chính */
.zoom-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px solid #999;
    background-color: rgba(255, 255, 255, 0.4);
    display: none;
    pointer-events: none; /* Cho phép click xuyên qua lens */
}

/* Khung hiển thị Zoom kết quả (Bên phải) */
.zoom-result {
    position: absolute;
    top: 0;
    /*left: 470px;  Nằm ngay cạnh gallery-left */
    left: 410px;
    width: 450px;
    height: 450px;
    border: 1px solid #ccc;
    background-repeat: no-repeat;
    background-color: #fff;
    display: none;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Slider ảnh thu nhỏ (Thumbnails) */
.thumb-slider-container {
  margin-top: 15px;
  position: relative;
  padding: 0 30px; /* Dành khoảng trống cho nút Prev/Next */
}

.swiper-slide {
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  height: 70px;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.swiper-slide-thumb-active,
.swiper-slide:hover {
  border-color: #d71921;
  opacity: 1;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Nút di chuyển Prev / Next */
.swiper-button-next,
.swiper-button-prev {
  width: 24px;
  height: 24px;
  color: #333;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px;
  font-weight: bold;
}

.swiper-button-prev { left: 0; }
.swiper-button-next { right: 0; }
.thumbSwiper{
    margin-top: 20px !important;
}

.fancybox__container {
    z-index: 999999 !important;
}
.details-pro .group-status {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 5px;
}
.details-pro .group-status .status_name {
    color: #1142ad;
}
.details-product .details-pro .price-box {
    margin: 10px 0 15px;
}
.details-product .details-pro .price-box {
    margin: 0px 0 10px;
    display: inline-block;
}
.details-product .details-pro .product-price {
    font-size: 24px;
    font-weight: bold;
    line-height: 28px;
    display: inline-block;
    color: #1142ad;
}
.details-product .details-pro .price-box del {
    color: #959595;
    font-size: 14px;
    margin-left: 10px;
}
.product-summary.product_description {
    border-top: 1px solid #ebebeb;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 5px;
}
.margin-bottom-0 {
    margin-bottom: 0px !important;
}
.details-pro .product-summary .rte {
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    color: #707070;
    line-height: 24px;
    margin-bottom: 5px;
}
.rte ul {
    padding-left: 25px;
}

.rte ul {
    list-style: disc inside !important;
}
.rte-summary ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0;
}
.rte-summary ul li:before {
    display: block;
    position: absolute;
    content: "\f06b";
    font-family: "FontAwesome";
    color: #1142ad;
    left: 0px;
    top: 0;
}
.product-promotion {
    background-color: #f9f9fb;
    padding: 10px;
    margin-bottom: 10px;
}
.product-promotion__heading {
    color: #fff;
    margin-bottom: 8px;
    background-color: #dd0115;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 10px;
    margin-top: 0;
}
.product-promotion > ul, 
.product-promotion > div {
    margin-bottom: 0;
    border-radius: 4px;
    padding: 8px 8px 8px 15px;
    list-style-position: inside;
    background: #fff;
}
.product-promotion ul li, 
.product-promotion > div>* {
    padding: 3px 0;
    margin: 0;
}
.form-product {
    padding: 0px;
}
.margin-bottom-0 {
    margin-bottom: 0px !important;
}
.details-product .details-pro .custom-btn-number {
    width: 150px;
    display: inline-block;
    float: left;
    position: relative;
    padding: 0;
    margin-bottom: 10px;
    border: none;
    box-shadow: none;
    height: 45px;
}
.form-group .input_number_product .btn_num {
    font-size: 25px;
    line-height: 0px;
    border: solid 1px #d7d7d7;
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #fff;
    float: left;
    color: #222;
    text-align: center;
    padding: 0px;
}
.form-group .input_number_product .btn_num.num_1 {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
.form-group .input_number_product .btn_num:hover {
    cursor: pointer;
    background: #fff;
    color: #222;
    text-decoration: none;
    border-color: #e1e1e1;
}
.form-group .input_number_product input {
    margin: 0px;
    display: block;
    float: left;
    height: 40px;
    border-right: none;
    border-left: none;
    width: 60px;
    text-align: center;
    box-shadow: none;
    border-radius: 0px;
    font-size: 15px;
}
.form-group .input_number_product .btn_num {
    font-size: 25px;
    line-height: 0px;
    border: solid 1px #d7d7d7;
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #fff;
    float: left;
    color: #222;
    text-align: center;
    padding: 0px;
}
.form-group .input_number_product .btn_num.num_2 {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    font-size: 18px;
}
.button_actions {
    width: 100%;
    display: inline-block;
    float: left;
}
@media (min-width: 768px) {
    .button_actions {
        width: 200px;
    }
}
.button_cart_buy_enable.btn_buy {
    background: #1142ad;
    position: relative;
    padding-left: 35px;
    padding-right: 10px;
    width: 100%;
    text-align: center;
    min-width: 210px;
}
.button_actions .btn_buy {
    padding: 0;
    width: 100%;
    text-align: center;
}
.button_cart_buy_enable.btn_buy:hover,
.button_cart_buy_enable.btn_buy:focus,
.button_cart_buy_enable.btn_buy:active {
    background: #1142ad;
    border-color: #1142ad;
    color: #fff;
    outline: none;
}
.button_actions .btn_buy .btn-content {
    float: none;
    height: 40px;
    display: inline-block;
    font-size: 14px;
    color: #fff;
    line-height: 40px;
}
.button_cart_buy_enable.btn_buy:before {
    content: "";
    height: 22px;
    position: absolute;
    background-repeat: no-repeat;
    top: 8px;
    left: 30px;
    width: 25px;
    background-image: url("../images/icon-product-addcart.png");
}
.xhtn {
    margin-bottom: 15px;
}
.xhtn li {
    font: 12px / 15px arial;
    float: left;
    width: 31.33%;
    margin: 1%;
    padding: 1%;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    height: 80px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #df1227;
}
.xhtn i {
    width: 34px;
    height: 33px;
    display: block;
    margin: 0 auto;
    margin-bottom: 0px;
    margin-bottom: 5px;
    font-size: 22px;
}
.module_best_sale_product {
    padding-top: 10px !important;
}
.border-aside {
    border: 1px solid #d7d7d7;
    padding: 0 10px;
}
.module_best_sale_product {
    margin-top: 20px;
}
.heading {
    display: block;
    text-align: left !important;
    position: relative;
    padding: 0 0px 20px 0;
}
.title-head {
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 9px;
    color: #0c3faf;
    text-decoration: none;
}
.module_best_sale_product .title_module_ .title-head {
    line-height: 22px;
    margin: 0px;
    padding: 0px;
    text-transform: uppercase;
}
.right_module .module_best_sale_product .title_module_ .title-head a {
    font-weight: bold;
    text-transform: none;
    color: #1142ad;
}
.product-mini-item {
    padding: 15px 10px 0px 0px;
    border-bottom: 1px solid #ebebeb;
}
.item_small:first-child .product-mini-item {
    padding-top: 0px;
}
.product-mini-item .product-img {
    width: 70px;
    margin-right: 10px;
    float: left;
}
.product-mini-item .product-info {
    width: calc(100% - 80px);
    float: right;
}
.product-mini-item .product-info a {
    color: #040722;
    font-weight: bold;
}
.text1line {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.reviews-product-grid {
    text-align: center;
}
.sale_off_today .reviews-product-grid {
    text-align: left;
}
.product-mini-item .product-info .price-box {
    border: none;
    margin-top: 0px;
}
.product-mini-item .price {
    display: inline-block;
}
.product-mini-item .product-price {
    font-size: 14px;
    font-weight: bold;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #1142ad;
}
.product-mini-item .product-img {
    width: 70px;
    margin-right: 10px;
    float: left;
    display: block;
}
a.product-img img {
    max-width: 70px;
}

.tab-content.current {
    padding: 20px 0;
    line-height: 25px;
}
.product-info {
    padding: 15px 0 0 0 !important;
}
.product-info .sale-price {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 14px;
    margin-left: 5px;
    color: #acacac;
}

@media (min-width: 1441px) {
    .main-product-page {
        padding: 0;
    }
    .gallery-left {
      width: 430px;
    }
    .zoom-result {
        left: 450px;
    }
}
