/*
Theme Name: WooTech Themes
Description: Thiết kế website. Hotline: 0934 19 1122
Author: WooTech
Template: flatsome
Version: 1.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.bg-white, .page-template-page-blank-title-center #content {
    background-color: #ffffff!important;
    padding: 15px;
    border-radius: 8px;
}   
.section-title-normal{
    border: none;
}
.section-title-normal span {
    border-bottom: none;
    margin-right: 0;
    position: relative;
    text-decoration: none;
    font-size: 1.6rem;
    letter-spacing: -1px;
}
.section-title-normal > span:nth-of-type(1)::before {
    content: "";
    background: linear-gradient(90deg, var(--primary-color), rgba(255, 255, 255, 0.001) 80%);
    height: 4px;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}

.section-title-normal .hdevvn-show-cats {
    display: flex;
    gap: 0px;
    align-items: center;
}
.section-title-normal .hdevvn-show-cats .hdevvn_cats {
    list-style: none;
    display: flex;
    align-items: center;
}
.section-title-normal .hdevvn-show-cats .hdevvn_cats a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}
.section-title-normal .hdevvn-show-cats .hdevvn_cats:not(:last-child)::after {
    content: "|";
    margin-left: 12px;
    color: #999;
    font-size: 14px;
    font-weight: normal;
}
@media (max-width: 767px) {
    .section-title span {margin-bottom: 20px;}
    .section-title-normal .hdevvn-show-cats {
        overflow-x: auto; 
        white-space: nowrap;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }
    .section-title-normal .hdevvn-show-cats .hdevvn_cats {
        flex: 0 0 auto;
    }
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    font-size: 20px;
    margin-top: 8px;
    font-weight: 600;
    line-height: 28px;
}
/**translate */
.gtranslate_wrapper a.glink {
    color: #fff;
    margin-right: 5px;
}
/*.gtranslate_wrapper a.glink.gt-current-lang {
    color: var(--fs-color-primary);
}*/
.gtranslate_wrapper a.glink {
    color: #fff;
}
/** Header css */
#masthead .header-search-form .search_categories, #masthead .header-search-form .ux-search-submit {
    height: 45px;
}
#masthead .header-search-form .ux-search-submit {
    width: 60px;
    background-color: var(--fs-color-primary);
}
#masthead .header-search-form .search-field  {
    height: 45px;
    font-size: 14px;
    color: #363636;
    outline: none;
    padding: 0 0 0 20px;
    border: 1px solid #ebebeb;
    border-left: 0;
    background: #fff;
}
#masthead .header-nav-main, #masthead .header-nav-main .searchform {
    margin-bottom: 0 !important;
}
#masthead .header-nav-main {
    justify-content: center!important;
}
a.button.menu_c2a {
    background-color: #10ac84;
    font-size: 15px;
    letter-spacing: 1px;
    border: 0;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: 270px;
    text-align: left;
    padding: 10px 0px 10px 20px !important;
    line-height: 20px;
}

.html_topbar_left .gift-text {
    font-size: 11px;
    font-weight: normal;
}

.html_topbar_left img {
    position: absolute;
    right: -36px;
    bottom: 0;
}
.header-right-support {
    display: flex;
    justify-content: flex-start;
    padding-right: 34px;
    align-items: center;
}
.header-right-support-info-icon {
    background-color: var(--fs-color-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 10px;
    margin-right: 15px;
}
.header-right-support-info-icon svg {fill:#fff;}
.header-right-support-info-icon-secondary {
    color: #fff;
}
.header-right-support-info-icon-secondary .media-body {
    display: flex;
    -ms-flex-direction: column!important;
    flex-direction: column !important;
}
.header-right-support-info-icon-secondary span {
    color: #333;
    margin-bottom: 3px;
}
.header-right-support-info-icon-secondary a {
    font-size: 18px;
    color: var(--fs-color-primary);
    font-weight: 800;
}
.header-bottom-nav.nav > li > a {
    font-size: 14px;
}
/**header-vertical-menu**/
.header-vertical-menu a.nav-top-link {
    padding: 4px 15px !important;
    font-size: 15px;
    font-weight: 500;
    color: #000;
}
.header-vertical-menu a.nav-top-link img {
    width: 28px;
    height: 28px;
}
.header-vertical-menu a.nav-top-link:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}
.header-vertical-menu .nav-dropdown .nav-dropdown-col>a {
    font-size: 16px;
    font-weight: 600;
}
/** homepage **/
.woo-tintuc .post-item .box-blog-post .box-text .post-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
    line-height: 22px;
    font-size: 16px;
}
.woo-tintuc .post-item .box-blog-post .box-text .is-divider {display: none;}
.woo-tintuc .post-item .box-blog-post .box-text .from_the_blog_excerpt {
    color: #6c757d;
    line-height: 19px;
}
.woo-button {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 25px;
    min-width: 250px;
}
.woo-slide .flickity-prev-next-button {
    margin-top: 0% !important;
    width: 50px;
    height: 50px;
}
.woo-slide .flickity-prev-next-button svg {
    border: none;
    background: #fff;
    color: #000;
    border-radius: 100%;
    box-shadow: 0 0.125rem 0.625rem rgba(28, 28, 28, 0.15) !important;
}
.product-category {
    padding:0 5px!important;
}
.product-category .col-inner {
/*    background-color: #f0f0f0;
    padding: 5px;
    border-radius: 5px;*/

}
.product-category .col-inner .box-image {
    border-radius: 5px;
    width: 100px;
    height: 100px;
}
.product-category .header-title {
    text-transform: initial;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    color: #004b85;
}
/** section brand **/
/* Wrap */
.wootech-brands-grid { background:#f6f7f8; border-radius:10px; padding:14px; }

/* Grid desktop */
.wootech-brands-grid__inner{
  display:grid; gap:12px;
  grid-template-columns: repeat(var(--wb-cols, 8), minmax(0,1fr));
}
.wootech-brands-grid[data-columns="8"] .wootech-brands-grid__inner { --wb-cols:8; }
.wootech-brands-grid[data-columns="5"] .wootech-brands-grid__inner { --wb-cols:5; }
.wootech-brands-grid[data-columns="4"] .wootech-brands-grid__inner { --wb-cols:4; }

/* Card */
.wootech-brand-card{
  display:flex; flex-direction:column; align-items:center; text-decoration:none;
  background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:14px 10px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.wootech-brand-card__thumb{
  width:100%; aspect-ratio: 4 / 3; background:#f8fafc; border-radius:8px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.wootech-brand-card__thumb img{
  max-width:90%; max-height:90%; object-fit:contain; display:block;
}
.wootech-brand-card__name{
  margin-top:8px; color:#111827; font-weight:600; font-size:14px; text-align:center;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; width:100%;
}
.wootech-brand-card:hover{ transform:translateY(-2px); border-color:#d1d5db; box-shadow:0 6px 16px rgba(0,0,0,.06); }

/* Responsive */
@media (max-width:1024px){ .wootech-brands-grid__inner{ --wb-cols:4; } }
@media (max-width:768px){ .wootech-brands-grid__inner{ --wb-cols:3; } }

/* Mobile: trượt ngang như yêu cầu */
@media (max-width: 767px){
  .wootech-brands-grid__inner{
    display:flex; flex-wrap:nowrap; overflow-x:auto;
    -webkit-overflow-scrolling:touch; gap:12px; padding-bottom:6px;
    scrollbar-width:none; margin:0 -10px; padding-left:10px; padding-right:10px;
  }
  .wootech-brands-grid__inner::-webkit-scrollbar{ display:none; }
  .wootech-brand-card.cate-item{ flex:0 0 auto; width:160px; }
  .wootech-brand-card__name{ font-size:13px; }
}

/** Product detail */
.product-buy-box .product-buy-now-button {
    margin-right: 0.26rem;
    text-align: center;
    padding: 10px;
    background: var(--primary-color);
    -webkit-border-radius: 0.521rem;
    -moz-border-radius: 0.521rem;
    border-radius: 0.521rem;
    border: 1px solid var(--primary-color);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    width: 70%;
    margin: auto;
}
.product-buy-box .product-buy-now-button:hover {
    opacity: 0.9;
    }
.product-buy-box .product-buy-now-button strong {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    color: #FFF;
    display: block;
}
.product-buy-box .product-buy-now-button span {
    display: block;
    font-size: 14px;
    line-height: 18px;
    color: #FFF;
}
.product-buy-box .product-buy-now-button > * {
    -webkit-transition: all 0.4s  ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s  ease-in-out;
}
.product-buy-box .contact-to-buy {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 30px 0;
}
.product-buy-box .contact-to-buy .title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 0.9375rem;
    color: #333;
    margin-bottom: 0.3rem;
}
.product-buy-box .contact-to-buy .desc {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 0.9375rem;
    margin-bottom: 0.55rem;
}
.product-buy-box .contact-to-buy .item > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.417rem 1.042rem;
    gap: 0.3125rem;
    border: 1px solid var(--primary-color);
    -webkit-border-radius: 2.604rem;
    -moz-border-radius: 2.604rem;
    border-radius: 2.604rem;
    font-size: 1.042rem;
    font-weight: 800;
    line-height: 1.302rem;
    color: var(--primary-color);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.product-buy-box .contact-to-buy .item > a:hover {
        background: var(--primary-color);
        color: #FFF;
    }
.product-buy-box .contact-to-buy .item > a svg {
    width: 1.771rem;
    height: 1.771rem;
}
.product-buy-box .contact-to-buy .item > .flex-box {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    margin-top: 12px;
}
.product-buy-box .contact-to-buy .item > .flex-box > a {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.product-buy-box .product-meta  {
    font-size: 14px;
    padding: 10px 0;
}
.product-buy-box .product-meta a {
    color:var(--primary-color);
}
.product-buy-box span.stock {
    -webkit-border-radius: 5.208rem;
    -moz-border-radius: 5.208rem;
    border-radius: 5.208rem;
    font-size: 14px;
    font-weight: 600;
    line-height: 0.9375rem;
    padding: 0.417rem 1.25rem;
    background-color: #daffe2;
    color: #1e8c34;
}
.product-buy-box .product-title {
    font-size: 26px;
    margin-bottom: 0;
}
.product-buy-box .product-price-container {
    padding: 10px 0 0;
}
.product-buy-box .product-price-container ins bdi {
    font-size: 27px;
    line-height: 35px;
    color: var(--fs-color-secondary);
    margin-right: 5px;
}
.product-buy-box .product-price-container del bdi {
    letter-spacing: -1px;
    color: #4a4949;
    font-size: 20px;
}
.devvn_woocommerce_price_prefix {
    margin-right: 5px;
}
.product-buy-box .amount-lienhe {
    font-size: 26px;
    padding: 0 5px;
    color: var(--fs-color-secondary);
    font-weight: 700;
    letter-spacing: -0.5px;
}
.product-buy-box .product-short-description {
    padding: 10px;
    background-color: #f0f0f054;
    margin: 20px 0;
    border-radius: 8px;
}
.product-buy-box .product-short-description ul li {
    margin: 3px 20px;
}

.product-small .box-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-small .box-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* KHÔNG méo ảnh */
}

.wootech-product-attrs {
    font-size: 13px;
    line-height: 1.5;
    margin: 6px 0 8px;
    color: #555;
    background-color: #f0f0f0;
    text-align: left;
    padding: 5px;
    border-radius: 5px;
}
.wootech-product-attrs .attr-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wootech-product-attrs strong {
    color: #333;
}
.product_des ul li {
    margin-left: 20px;
    margin-bottom: 0;
}
.product_des .col-left .col-inner, .product_des .col-right .row .col-inner{
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
}
.product_des .col-right .row .col-inner{}
.product_des .col:first-child {padding: 0;}
.product_des .col:last-child {
    padding-right: 0;
    margin-bottom: 20px;
}
.product_des .tabs .description_tab a, .product_des .thongsokt h3 {
    font-size: 20px;
    padding: 0;
    font-weight: normal;
}
.product_des .tabs .description_tab a:before {display: none;}
.product_des .thongsokt .thongsoct {
    margin-top:15px ;
}
.divider-with-text {
    overflow: hidden;
    position: relative;
    text-align: center;
    margin: 1.25rem 0;
}
.divider-with-text:before {
    top: 50%;
    left: 0;
    position: absolute;
    content: '';
    transform: translateY(-50%);
    height: 1px;
    width: 100%;
    background: #C7C7C8;
    z-index: 1;
}
.divider-with-text span.text {
    position: relative;
    z-index: 5;
    background: #FFF;
    padding: 0 0.833rem;
    font-size: 0.8729rem;
    font-weight: 400;
    line-height: 0.9375rem;
    color: #666666;
    display: block;
    width: max-content;
    margin: auto;
}
.woocommerce-tabs .product-tabs li a {
    font-size: 16px;
    padding: 0 20px;
    font-weight: 500;
}
.woocommerce-tabs .product-tabs li {
    margin-left: 5px;
}
.related-products-wrapper {border:none;}

.wootech-specs {
    margin: 20px 0;
}
.wootech-specs__list {
  list-style:none; margin:0; padding:0;
  border:1px solid #e5e7eb; border-radius:10px; overflow:hidden;
}
.wootech-specs__item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    padding-top: 10px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}
.wootech-specs__item:first-child { border-top:0; }
.wootech-specs__label {
  color:#6b7280; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.wootech-specs__value {
  color:#111827;
}
.wootech-brand-link { color:#2563eb; text-decoration:none; }
.wootech-brand-link:hover { text-decoration:underline; }

@media (max-width: 768px){
  .wootech-specs__item { grid-template-columns: 120px 1fr; padding:10px; }
}


/** product box */
.product-small .col-inner {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    transition: all 0.2s ease-in-out;
}
.product-small .col-inner:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    cursor: pointer;
}
.product-small .box-text .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
}
.product-small .box-text .price-wrapper span.price {
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    text-align: left;
}
.product-small .box-text .price-wrapper span.price .amount-lienhe {
    color: #ff4e00;
}
.product-small .box-text .price-wrapper span.price ins bdi {
    color: #ea0000;
}
.product-small .box-text .price-wrapper span.price del {display: none;}

/** product category */
.wootech-cat-header-in-title { margin-top: 25px; }
.wootech-cat-title {
  font-size: 32px;
  margin: 0 0 12px; line-height: 1.2;
}

/* grid desktop */
.wootech-cat-children--in-title {
  display: grid;
  grid-template-columns: repeat(8, minmax(0,1fr));
  gap: 8px;
}

/* style card */
.wootech-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wootech-cat-card__thumb {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
}
.wootech-cat-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wootech-cat-card__name {
  margin-top: 8px;
  color: #222;
  font-weight: 500;
  text-align: center;
}
.wootech-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* responsive */
@media (max-width:1024px){
  .wootech-cat-children--in-title{ grid-template-columns:repeat(4,1fr); }
}
@media (max-width:768px){
  .wootech-cat-children--in-title{ grid-template-columns:repeat(3,1fr); }
}

/* === SCROLL NGANG MOBILE === */
@media (max-width: 767px) {
  .wolf-scroll-mb {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
  }
  .wolf-scroll-mb::-webkit-scrollbar {
    display: none; /* ẩn thanh cuộn */
  }
  .wolf-scroll-mb .cate-item {
    flex: 0 0 auto;
    width: 110px;
    min-width: 110px;
  }
.wolf-scroll-mb .wootech-cat-card__name {
    font-size: 13px;
    white-space: nowrap;      
    overflow: hidden;          
    text-overflow: ellipsis;  
    width: 100%;
    text-align: center;  
    display: block;
}
}

.tax-product_cat .shop-container, .tax-product_brand .shop-container, #shop-sidebar, .search-results .shop-container, .post-type-archive-product .shop-container {
    background-color: #ffffff !important;
    padding: 15px;
    border-radius: 8px;
}

/*** sắp xếp danh mục css **/
.wootech-loop-toolbar { margin:10px 0 20px; }
.wootech-loop-toolbar__inner{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; background:#f0f0f0; border-radius:8px; padding:10px;
}
.wootech-loop-toolbar__count{ font-size:14px; color:#6b7280; }
.wootech-loop-toolbar__ordering{ display:flex; flex-wrap:wrap; align-items:center; gap:5px; }
.wootech-sep{ opacity:.5; }
.wootech-ordering-link{ font-size:14px; color:#6b7280; text-decoration:none; line-height:26px; }
.wootech-ordering-link.is-active, .wootech-ordering-link:hover{ color:#ff4e00; }

/* ===== Mobile: thanh sắp xếp trượt ngang ===== */
@media (max-width: 782px){
  .wootech-loop-toolbar__inner{
    flex-direction:column; align-items:stretch;
  }
  .wootech-loop-toolbar__ordering{
    display:flex;
    flex-wrap:nowrap;           /* 1 hàng */
    overflow-x:auto;            /* trượt ngang */
    -webkit-overflow-scrolling:touch;
    gap:8px;
    padding-bottom:6px;         /* tránh sát mép khi scroll */
    margin:0 -10px;             /* kéo full width cảm giác rộng hơn */
    padding-left:10px; padding-right:10px;
    scrollbar-width:none;       /* ẩn scrollbar Firefox */
  }
  .wootech-loop-toolbar__ordering::-webkit-scrollbar{ display:none; } /* ẩn scrollbar WebKit */

  /* chip link */
  .wootech-ordering-link{
    flex:0 0 auto;              /* không co lại */
    white-space:nowrap;         /* 1 dòng */
    padding:0 10px;
    border:1px solid #e5e7eb;
    border-radius:9999px;
    background:#fff;
    line-height:28px;
    font-size:13px;
  }
  .wootech-ordering-link.is-active{
    border-color:#ff4e00;
    color:#ff4e00;
  }
  .wootech-sep{ display:none; }
}
@media (max-width: 782px){
  .wootech-loop-toolbar__ordering{ scroll-snap-type:x proximity; }
  .wootech-ordering-link{ scroll-snap-align:start; }
}
/* end sắp xếp **/

.nav-pagination>li>.current, .nav-pagination>li>a {
    background-color: #e9ecef;
    border-color: #e9ecef;
    color: #333;
    font-size: 16px;
    border: 1px solid transparent;
    text-align: center;
    font-weight: 500;
    min-width: 50px;
}
.nav-pagination>li>.current {
    background-color: var(--primary-color) !important;
    color: #fff;
}
/** woocommerce-no-products-found */
.woocommerce-no-products-found .message-container {
    color: #58151c;
    background-color: #f8d7da;
    border: 1px solid #f1aeb5;
    padding: 15px;
    border-radius: 6px;
}
/* breadcrumbs */
.shop-page-title.category-page-title.page-title {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-width: 1px 0 1px 0;
}
.page-title-inner.flex-row.medium-flex-wrap.container {
    padding: 16px 0 16px 15px;
    min-height: initial;
}
nav.woocommerce-breadcrumb.breadcrumbs.uppercase {
    color: #212529bf;
    font-weight: normal;
}
nav.woocommerce-breadcrumb.breadcrumbs.uppercase a {
    color:var(--primary-color);
}
/*** Blog css ***/
/* Category Post*/
.blog-wrapper .featured-posts .box-text {background-image: linear-gradient(#3333330a 50%, #004b85a1 90%);}
.box.box-text-bottom.box-blog-post {
    box-shadow: 0 3px 40px rgba(131, 131, 131, .15);
    border-radius: 1rem;
    overflow: hidden;
    border-color: rgba(0, 0, 0, 0);
}
.box.box-text-bottom.box-blog-post  .box-text {
    padding: 0.5rem 1rem;
}
.box.box-text-bottom.box-blog-post:hover .box-image img {
    transform: scale(1.1);
    transition: all .2s ease-in-out;
}
.box.box-text-bottom.box-blog-post .post-title a.plain {
    font-weight: 600;
    font-size: 18px;
    line-height: 25px !important;
}
.box.box-text-bottom.box-blog-post p.from_the_blog_excerpt {
    font-size: 16px;
}
#breadcrumb-cat {
    padding: 15px 0;
    margin-bottom: 10px;
}
#breadcrumb-cat .col {
    padding-bottom: 0;
}
#breadcrumb-cat .col h1.page-title {
    margin: 0;
}
#breadcrumb-cat .col p#breadcrumbs {
    margin-bottom: 0px;
}
.share-icons .button.icon.circle {
    line-height: 29px;
}
#content .entry-header .entry-header-text {
    padding: 0;
}
#content .entry-header .is-divider {
    margin: 5px;
}
#content article.post {
    margin-bottom: 0;
}
.entry-meta-tag {
    font-size: 16px;
    border-top: 1px dashed #ececec;
    border-bottom: 1px dashed #ececec;
    margin-bottom: 10px;
}
.entry-content p {
    margin-bottom: 10px;
}
.entry-content a:hover {
    text-decoration: underline;
}
.entry-header-text .entry-meta span {margin-right: 10px;}
.entry-header-text .entry-meta span i {margin-right: 2px;}
/*Sidebar*/
.post-sidebar {
    padding: 0 !important;
}

#secondary span.widget-title {
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0;
    padding-bottom: 5px;
    margin-top: 20px;
    margin-bottom: 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 2px solid #f1f1f1;
    display: block;
}

#secondary span.widget-title:before {
    content: '';
    background-color: #fecd08;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 70px;
    height: 2px;
}

#secondary .is-divider {
    display: none;
}

#secondary .widget_categories ul {
    border-radius: 2px;
    border: 1px solid #f1f1f1;
    padding: 0 10px;
}

#secondary .widget_categories ul li {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

#secondary .widget_categories ul li::before {
    content: "\f105";
    font-family: "fl-icons";
}

#secondary .widget_categories ul li a {
    padding: 10px 0;
}
#secondary .recent-blog-posts .mr-half {
    margin-right: 10px;
}
#secondary li.recent-blog-posts-li {
    border-top: 1px dashed #ececec !important;
}
#secondary li.recent-blog-posts-li a {
    line-height: 22px;
}
#secondary li.recent-blog-posts-li:first-child {
    border-top: none !important;
}
#secondary li.recent-blog-posts-li .post_comments {display: none;}
#secondary .flatsome_recent_posts .badge {
    width: 100px;
    height: 70px;
}

#secondary .flatsome_recent_posts .badge .badge-inner {
    border-radius: 5px;
}
/*
* back-to-top
*/
.back-to-top {
    background: white;
    border: none !important;
    width: 50px;
    height: 50px;
    box-shadow: 2px 2px 20px #00000026;
}
.back-to-top .icon-angle-up {
    font-size: 32px !important;
    line-height: 46px;
}
/*** page css ***/
.page-template-page-blank-title-center .entry-header .is-divider {
    margin: 0 auto !important;
    background-color: #004b85;
}
/** Page liên hệ **/
/* --- Wootech CF7 Float Label --- */
.wootech-cf7 .wootech-field{
  position: relative;
  display: block;
  margin-bottom: 10px;
}
.wootech-cf7 .wootech-input, .wootech-cf7 .wootech-textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    padding: 14px 12px;
    font-size: 15px;
    outline: none;
    height: 60px;
    min-height: 60px;
    line-height: 1.25;
}
.wootech-cf7 .wootech-textarea{ min-height: 140px; resize: vertical; }

/* label nổi */
.wootech-cf7 .wootech-field > label{
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 14px;
  color: #6b7280;
  background: transparent;
  padding: 0 4px;
  pointer-events: none;
  transition: all .15s ease;
}

/* focus state */
.wootech-cf7 .wootech-input:focus,
.wootech-cf7 .wootech-textarea:focus{
  border-color: #ff4e00;
  box-shadow: 0 0 0 3px rgb(255 78 0 / 10%);
}

/* khi có focus hoặc đã nhập -> label thu nhỏ lên góc */
.wootech-cf7 .wootech-field:focus-within > label,
.wootech-cf7 .wootech-input:not(:placeholder-shown) + label,
.wootech-cf7 .wootech-textarea:not(:placeholder-shown) + label,
.wootech-cf7 .has-value + label{
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: #ff4e00;
  background: #fff;
}

/* Flatsome form-flat spacing */
.wootech-cf7 .flex-row.form-flat .flex-col { margin-bottom: 10px; }

/* Mobile stack */
@media (max-width: 767px){
  .wootech-cf7 .ml-half{ margin-left: 0 !important; }
}

/** Footer**/
.woo-footer .col-inner {
    padding: 5px 15px !important;
}
.footer_top .section-title-normal span {    font-size: 18px;}
.footer_top a.ux-menu-link__link:hover {color:var(--primary-color)}
.footer_top .woo_menu_footer .ux-menu-link__link {min-height: 30px!important;}
.info_support .icon-box-img {
    max-width: 80px;
    height: auto;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.info_support .icon-box-text{ padding-left:0px!important;}
.info_support .icon-box-text .zalo-header {
    font-size: 18px;
    position: relative;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
    margin-bottom: 5px;
    display: block;
}
.info_support .icon-box-text .zalo-content {
    font-size:14px;
}
.absolute-footer {display: none;}

.slider-custom{
  padding: 0;
  bottom: 0px; 
}
.slider-custom .flickity-slider .img{
  max-width: 20%!important;
  margin: 5px;
  border: 2px solid #fff;
}
.slider-custom .flickity-slider .img .img-inner {
  position: relative;
  padding-bottom: 65.5%;
}
.slider-custom .flickity-slider .img .img-inner img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.slider-custom .is-selected.img{
  border-color: var(--orange);
}
.slider-custom .flickity-page-dots {
  display: none;
}
.cho-meta .meta-item {
    font-size: 14px;
    display: inline-flex;
    margin-right: 10px;
}
.cho-meta .meta-item.meta-item-price {width: 100%;font-size: 18px;}
.cho-meta .meta-item .icon {
    width: 14px;
}
.cho-meta .meta-item p.label {
    margin-right: 0;
    min-width: 0;
}
a.cho-goi {
    display: block;
    margin: 10px 0;
}
.meta-item {
    display: flex;
    align-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 3px;
    padding-bottom: 3px;
    border-bottom: 1px dashed #eee;
}
.meta-item > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 28px;
}
.meta-item .icon {
    width: 22px;
    margin-right: 5px;
}
.meta-item img {width: 22px;margin-right: 5px;}
.meta-item p.label {
    margin-right: 5px;
    min-width: 110px;
}
.box-search-cho {
    box-shadow: 0 3px 40px rgba(131, 131, 131, .15);
    border-radius: 1rem;
    overflow: hidden;
    border-color: rgba(0, 0, 0, 0);
    padding: 15px 20px;
    margin-bottom: 30px;
}
form.search-form-listing .row-small>.col {
    padding-bottom: 0;
}
form.search-form-listing label {
    margin: 2px;
}
.page-add-post textarea,
.page-edit-post textarea {
    resize: vertical;
    min-height: 350px;
}

.type-cho-mua-ban h1.entry-title, .product-buy-box .product-title {
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 2.625rem;
    letter-spacing: -1px;
}
.type-cho-mua-ban h1.entry-title {
    font-size: 1.6rem;
}
.search-form-listing input, .search-form-listing select {
    box-shadow: 0 0 0 1px #ccc inset;
    border: none;
    min-height: 48px;
    border-radius: 8px;
}
.search-form-listing select, .search-form-listing .khoang-gia input { 
    min-height: 38px;
    font-size: 14px;
}
.search-form-listing .button.primary {
    width: 100%;
    border-radius: 10px;
    letter-spacing: -.2px;
}

.page-user-info h3.widget-title, .page-template-page-dang-bai-cho-mua-ban h3.widget-title {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--fs-color-primary);
}

.page-user-info .is-divider, .page-template-page-dang-bai-cho-mua-ban .is-divider {
    margin: 0 0 10px 0;
    background-color: var(--fs-color-primary);
}
.page-template-page-dang-bai-cho-mua-ban {}

.yith-wcan-filters .yith-wcan-filter .filter-title {    font-size: 15px;}
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item input { margin-bottom:0 }
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item a { font-weight:initial; }

/* ===== CTA MUA NGAY ===== */
.woo_buy_now {
    display: block;
    margin: 0 auto;
    padding: 10px 15px;
    border-radius: 8px;
    background: linear-gradient(180deg, #0066ff73 0%, #0066ff 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 0 #265baa;
    transition: all .2s ease;
}
.woo_buy_now span, .woo_buy_now strong {
    line-height: 20px;
}
.woo_buy_now strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.woo_buy_now span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: .95;
}

/* Hover */
.woo_buy_now:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #265baa;
    color: #fff;
}

/* Active (click) */
.woo_buy_now:active {
    transform: translateY(5px);
    box-shadow: 0 1px 0 #265baa;
}

/* Mobile tối ưu */
@media (max-width: 549px) {
    .woo_buy_now {
        max-width: 100%;
        padding: 16px 14px;
    }
}
//*** STYLE FORM ĐẶT HÀNG ***//
/* Container riêng */
.custom-order-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input fields */
.custom-order-form input[type="text"],
.custom-order-form input[type="tel"],
.custom-order-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-order-form input[type="text"]:focus,
.custom-order-form input[type="tel"]:focus,
.custom-order-form input[type="email"]:focus {
    border-color: #ffa500;
    box-shadow: 0 0 5px rgba(255,165,0,0.5);
    outline: none;
}

/* Submit button */
.custom-order-form input[type="submit"] {
    padding: 0 15PX;
    background-color: var(--fs-color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: table;
    margin: auto;
}
.custom-order-form input[type="submit"]:hover {
    background-color: #ffb733;
}

/* Placeholder styling */
.custom-order-form input::placeholder {
    color: #333;
}

/* Responsive */
@media (max-width: 600px) {
    .custom-order-form {
        padding: 20px;
    }
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== HOVER NỔI CẢ CỤM MENU DỌC ===== */

.header-vertical-menu {
    position: relative;
    z-index: 50;
}

/* Khối menu xổ ra */
.header-vertical-menu_fly-out {
    transition: all .25s ease;
    border-radius: 8px;
}

/* Hover vào toàn bộ menu dọc */
.header-vertical-menu:hover 
.header-vertical-menu_fly-out {
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    transform: translateY(-2px);
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
/** Product detail */
.product-buy-box .product-buy-now-button {width: 90%;}
.product-buy-box .contact-to-buy {grid-template-columns: repeat(1, 1fr); gap: 20px;}
.product-buy-box .product-meta .col:nth-child(3) .col-inner {text-align: left;margin: 10px 0;}
.type-product .bg-white {padding: 0px!Important;}
.product-buy-box .contact-to-buy {margin-bottom: 20px;}
.product-section-title {padding-left: 20px;}
.product_des .thongsokt {padding: initial;}
} 

