:root {
    --main-color: #BC0808;
    --second-color: #BC0808;
    --third-color: #BC0808;
    --four-color: #BC0808;

    --default-fs: 17px;
    --lg-fs: 25px;
    --md-fs: 20px;
    --sm-fs: 19px;

    --range-xxl: 50px;
    --range-xl: 40px;
    --range-lg: 30px;
    --range-md: 20px;
    --range-sm: 15px;
}
p{margin-bottom:6px;}
.rank-math-breadcrumb{
    margin-top: 15px;
    font-size: 14px;
}
.rank-math-breadcrumb p{margin-bottom:0;}
.rank-math-breadcrumb *{color:#333;}

.box-head.--small-head {
    font-size: 16px;
    color: #999999;
    position: relative;
    padding: 0 0 15px 60px;
}

.img-mw100 {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.img-w100 {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.box-head {
    padding-bottom: 25px;
}

.box-head h2, .box-head h1, .box-head h3,
.box-head h2 a, .box-head h1 a, .box-head h3 a,
.box-head .head-title, .box-head .head-title a{
    margin-bottom: 0;
    font-size: 30px;
    color: #000;
    text-align: center;
    font-weight:600 !important;
    margin-top: 0;
}

.box-news-page {
    padding: 30px 0;
}

.box-news-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}
.news-item {
    border-radius: 10px;
    overflow: hidden;
}

.news-item .news__img img {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.news-item .news__content {
    padding: 15px;
    background: #eee;
}

.news-item .news__content h5,
.news-item .news__content_h5 {
    font-size: 16px;
    margin-bottom: 0;
    color: #333;
    line-height: 23px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
}

.news-item .news__content .desc {
    padding-top: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    font-size: 15px;
    line-height: 24px;
    text-align: justify;
}

.news-item .news__content .box-mb-readmore {text-align: right;margin-top: 10px;}
.news-item .news__content a:hover .news__content_h5{
    color: var(--main-color) !important;
}
.news-item .news__content .box-mb-readmore a{
    color: var(--main-color) !important;
}

.news-item  .news__img {
    overflow: hidden;
}

.news-item .news__img img {
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.news-item .news__img:hover img {
    transform: scale(1.2);
}

.page-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 25px;
    color: var(--main-color);
    line-height: 30px;
    margin: 0;
}

.page-content {
    text-align: justify;
    line-height: 28px;
    font-size: 16px;
    padding-top: 20px;
}

.page-content img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5 {
    font-weight: 700;
}

.page-content h2 {
    font-size: 22px;
}

.page-content h3 {
    font-size: 17px;
}

.page-content h4 {
    font-size: 17px;
}

.page-content h5 {
    font-size: 16px;
}

@media screen and (max-width:767px){
    .page-header h1{font-size:25px; line-height:35px;}
    .page-content h2{font-size:21px;}
}

.page-content iframe {
    display: block;
    margin: 0 auto;
}
.page-content iframe{max-width:100% !important;}
.page-content table {
    width: 100% !important;
    border-collapse: collapse;
}

.page-content table tbody tr:nth-child(even) {
    background-color: #eee;
}

.page-content table tbody tr td {
    border: solid 1px #aaa;
    line-height: 30px;
    padding: 5px 10px 5px 10px;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5 {
    margin-top: 20px;
    color: var(--main-color);
    margin-bottom: 15px;
}

.box-add-more{
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}
.box-infor-more{margin: 10px 0;}

.box-infor-more p strong{
    font-size: var(--sm-fs);
    margin-bottom: 0;
    text-transform: uppercase;
}
.box-infor-more strong{
    color: var(--main-color);
}
.box-infor-more ul {
    padding: 0;
    margin: 0;
}

.box-infor-more ul li {
    list-style: none;
    margin-bottom: 10px;
    color: #333;
}

.box-infor-more ul li:last-child {
    margin-bottom: 0;
}

.box-infor-more ul li i {
    padding-right: 10px;
    color: var(--main-color);
}


.box-navication {
    padding-bottom: var(--range-xxl);
}

.box-detail {
    padding: 30px 0 30px 0;
}

.box-related {
    padding-bottom: var(--range-xl);
}
.page-header-meta{
    font-size: 13px;
    margin-top: 3px;
}



.product-list {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 !important;
}

.product-item {
    background: #fff;
    border-radius: 5px;
    padding: 0;
    height: 100%;
    box-shadow: 0px 0px 6px 0px rgba(50,50,93,.15),1px 1px 5px rgba(0,0,0,.05);
    margin-bottom: 0;
    position: relative
}

.product-item .product-item-images a {
    display: flex;
    width: 100%;
    justify-content: center
}

.product-item .product-item-images {
    position: relative
}

.product-item:hover a {
    color: var(--main-color) !important
}

.product-item a img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}

.product-item .product-title {
    font-size: 17px;
    display: -webkit-box;
    overflow: hidden;
    visibility: visible;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-weight: 600;
    color: #333;
    line-height: 25px;
    text-align: center;
}

.product-item .product-title:hover {
    color: var(--main-color) !important
}

.product-item .product-body {
    padding: 20px 10px;
}



.product-detail-grids{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery .flex-direction-nav a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    width: 44px;
    height: 44px;
    line-height: 44px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    text-align: center;
    border-radius: 50%;
    opacity: 1 !important;
    visibility: visible !important;
}


.woocommerce-product-gallery a img {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 1/1;
  object-fit: cover;
  padding: 0;
}

.woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  list-style: none;
  margin: 10px 0;
  padding: 0;
  gap: 10px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  box-sizing: border-box;
  cursor: pointer;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 2px;
  overflow: hidden;
  padding: 2px;
}

.product-list-sliders .product-item {
  margin-bottom: 5px;
}

.product-detail-box .product_title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--main-color);
  line-height: 26px;
  margin-bottom: 10px;
  margin-top: 0;
}

.product-detail-box {
/*  display: flex;*/
  flex-direction: column;
}

.product-detail-box .woocommerce-product-details__short-description {
  order: 3;
}

.product-detail-box .product_meta {
  order: 2;
  margin-bottom: 15px;
  display: none;
}
.product-detail-box .share_social{display:none !important;}

.woocommerce-product-rating,
.stock {
  display: none !important;
}

.product-detail-box .nd-qua-tang {
  display: none !important;
}

.product-detail-box .prod-hotline {
  order: 6;
}

.product-detail-box .pd_saler {
  order: 7;
}

.product-detail-box .product_search {
  order: 8;
}

.product-detail-box .out-of-stock {
  order: 3;
  color: var(--main-color);
  margin-bottom: 10px;
}

.product-detail-box .product_meta_row {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  margin-bottom: 0;
  margin-top: 0;
  flex-direction: column;
}

.product-detail-box .product_meta_row:last-child {
  margin-top: 5px;
}

.product-detail-box .product_meta_col {
  width: 100% !important;
  font-size: 15px;
}

.product-detail-box .yith-wcbr-brands {
  margin: 0 !important;
}

.product-detail-box .product_meta_col a {
  color: var(--second-color);
}

.product-detail .box-price .sales {
  display: none !important;
}

.product_meta_item strong {
  font-weight: 700;
}

.product_meta_item {
  font-size: 15px;
  margin-bottom: 5px;
}

.woocommerce-product-details__short-description {
  display: none;
}

.product-detail-box .sku {
  font-size: 14px;
  font-style: normal;
  display: inline-block;
  color: #333333;
  vertical-align: middle;
  margin-bottom: 10px;
}

.product-description {
  line-height: 1.8;
  font-size: 14px;
  color: #000000;
  margin-bottom: 10px !important;
}

.product-detail-box .price {
  order: 2;
}

.product-detail-box .sales_giare {
  margin-bottom: 20px;
  order: 2;
}

.product-detail-box .price .prev {
  font-size: 18px;
  color: #1500ff;
  font-weight: 400;
  display: block;
  vertical-align: middle;
  margin-left: 0px;
  margin-bottom: 0px;
  text-decoration: line-through;
  font-style: italic;
}

.product-detail-box .price .current {
  font-size: 25px;
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
}

.product-detail-box .right_box {
  padding: 0px 0 0 20px;
  border-left: 1px #dfdfdf solid;
}

.product_comments_template {
  margin-top: 30px;
}

.product_short_desc {
	font-size: 15px;
	line-height: 24px;
	color: #000000;
}
.product_short_desc h2{font-size:16px;font-weight: 600;line-height: 22px;}

.product-desc {
  margin-top: 30px;
}

.product-detail .information-entry {
  position: relative;
}

.product-detail-box .price {
  display: flex;
  margin-bottom: 10px;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  display: none;
}

.product-detail-box .price span.label_title {
  font-size: 14px;
  line-height: 18px;
}

.product-detail-box .price .span_bigsale {
  color: #e02e2e;
  font-size: 14px;
}

.product-detail-box .nd-qua-tang {
  width: auto !important;
  display: block;
  font-size: 13px;
  padding: 5px 10px;
}

.product-detail-box .price del {
  color: #333 !important;
}

.product-detail-box .price del span {
  font-size: 16px;
  color: #333 !important;
}

.product-detail-box .price ins {
  color: transparent;
  font-size: 15px;
  order: 2;
}

.product-detail-box .price ins span,
.product-detail-box .price>span.woocommerce-Price-amount {
  font-size: 22px;
  font-weight: 700;
  color: red;
}

.product-detail-box .reset_variations {
  display: none !important;
}

.product-detail-box table.variations {
  width: 100% !important;
}

.product-detail-box .woocommerce-variation-price {
  margin: 20px 0;
}

.product-detail-box.variable > .price{
  display:none !important;
}

.product-detail-box .reset_variations{display: none !important;}
.product-detail-box table.variations{width: 100% !important;}
.product-detail-box .woocommerce-variation-price{
    margin-bottom: 20px;
    margin-top: 10px !important;
}

.product-desc-box {
  padding-top: 20px;
  -webkit-box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
  border-radius: 5px;
  padding: 10px;
  margin-top: 20px;
}

.product_tabs {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}

.product-subtitle {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 7px 7px;
  border: 2px solid var(--main-color);
  border-radius: 10px;
}

.product_tabs .product-subtitle.active {
  color: #fff;
  background: var(--main-color);
}

.prodetail_info__list {}

.prodetail_info__list tbody {}

.prodetail_info__list tbody tr {}

.prodetail_info__list tbody tr:nth-child(2n+1) {
  background: #f8f9fa;
}

.prodetail_info__list tbody tr td {
  font-size: 14px;
  padding: 10px 10px;
}

.prodetail_info__list tbody tr td:nth-child(1) {
  white-space: nowrap;
}

/*thong so ki thuat*/

/* popup fix detail */
.main_gallery_images {}

.main_gallery_images .owl-item img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.box_pro-images-small-parent {
  padding: 0
}

.box_pro-images-small {
  margin: 12px 5px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.box_pro-images-small .item {
  border: 1px solid #dfdfdf;
  border-radius: 5px;
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 55px;
  height: 55px;
  padding: 4px;
  overflow: hidden
}

.box_pro-images-small .item img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
  width: 55px !important;
  cursor: pointer;
}

.box_pro-images-small .block_item {
  cursor: pointer
}

.box_pro-images-small .block_item p {
  font-size: 13px;
  line-height: 17px;
  text-align: center;
  margin-top: 10px
}

.box_pro-images-small .item span {
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  background-color: #efce4a;
  width: 26px;
  height: 26px;
  display: block;
  text-align: center;
  line-height: 26px;
  position: absolute;
  top: 2px;
  left: 2px;
}

.box_pro-images-small-parent .item.item_youtube i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 25px;
  z-index: 20;
}

.box_pro-images-small .block_item.active .item {
  border: 1px solid var(--main-color);
}

.box-products-related{margin: 30px 0;}


.navigation {
  clear: both;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.navigation .pages {
  margin-right: 15px;
  display: none;
}

.navigation a,
.navigation span.current,
.extend {
  min-width: 30px;
  height: 30px;
  border-radius: 0;
  text-align: center;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: #333;
  background-color: #fff;
  border: 1px solid #190d054d !important;
}

.navigation a:hover,
.navigation span.current {
  color: #fff !important;
  border: 1px solid var(--main-color);
  background: var(--main-color);
}

.navigation a.first,
.navigation a.last {
  display: none;
}

.loading-icon {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: #FFA500;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@media screen and (max-width: 767px){
    h1{font-size: 25px; margin-top: 10px; margin-bottom: 15px;}
    h2{font-size: 24px; margin-top: 10px; margin-bottom: 15px;}
    h3{font-size: 22px; margin-top: 10px; margin-bottom: 15px;}


    .product-list {
        gap: 10px;
/*         grid-template-columns: 1fr 1fr; */
		grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .box-news-list{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-detail-grids{
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .news-item .news__content .desc{display: none;}
}
