/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: wrap;
}
.slider-home .banner-layers{
	max-width:100% !important;
}
/*************** ADD CUSTOM CSS HERE.   ***************/
.header h1,
.header h2 {
  font-size: 30px;
  position: relative;
  padding-bottom: 15px;
  color: var(--primary-color);
}
.header h1::before,
.header h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 2px;
  width: 69px;
  background-color: var(--primary-color);
}
.banner-home {
  background-image: url(/wp-content/uploads/2025/05/Extrusion_edited.jpg);
  min-height: 100%;
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner-home::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 34px;
  height: 18px;
  transform: rotate(180deg);
  background-image: url(/wp-content/uploads/2025/05/arrow-down.svg);
  background-size: cover; /* hoặc contain tùy mục đích */
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1; /* Đảm bảo đúng thứ tự lớp */
}
.banner-home h6 {
  font-size: 18px;
  margin-bottom: 30px;
}
.banner-home h3 {
  font-size: 44px;
  margin-bottom: 50px;
  font-weight: bold;
}
.custom-btn {
  margin: 0;
  width: 190px;
  min-height: auto;
  height: 40px;
  font-size: 14px;
  line-height: 40px;
  padding: 0;
  font-weight: normal;
}
.gallery_slider_home,
.gallery_slider_home img {
  width: 328px;
  height: 213px;
  position: relative;
}
.gallery_slider_home h4 {
  opacity: 0;
  padding: 0 10px;
  background-color: #ffffffcc;
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 0;
  color: var(--primary-color);
  height: 38px;
  position: absolute;
  bottom: 0;
  text-align: left;
  line-height: 38px;
}
.gallery_slider_home .swiper-pagination {
  padding: 9px 10px 10px 0;
  position: absolute;
  opacity: 0;
  width: 60px;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  color: var(--primary-color);
  height: 33px;
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
}
.gallery_slider_home:hover h4,
.gallery_slider_home:hover .swiper-pagination {
  opacity: 1;
  transition: all 0.5s ease;
}
.ss-1 h3 {
  font-size: 30px;
}
.ss-1 p {
  font-size: 14px;
}
.ss-1 .custom-btn {
  border: 1px solid #fff;
  margin-top: 50px;
}
.ss-1 .custom-btn:hover {
  box-shadow: none;
  border-color: var(--primary-color);
  color: #fff;
}
.ss-2 h5 {
  font-size: 20px;
  margin-bottom: 30px;
}
.ss-2 p {
  font-size: 14px;
}
.banner-map {
  background-color: transparent;
}
.img-size img {
  width: auto;
}
.banner-map .map-1 img,
.banner-map .map-2 img,
.banner-map .map-3 img {
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0;
}
.banner-map:hover img {
  opacity: 1;
  transition: all 0.3s ease;
}
.banner-map .icon-map svg {
  width: 17px;
  height: 24px;
}
.banner-map .map-1 .icon-map {
  position: absolute;
  right: 22px;
  top: -55px;
}
.banner-map .map-2 .icon-map {
  position: absolute;
  left: -65px;
  bottom: -5px;
}
.banner-map .map-3 .icon-map {
  position: absolute;
  top: -55px;
  left: 45px;
}
.banner-map .icon-map span {
  display: block;
  width: 100%;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: bold;
}
.advantage .icon-box-text {
  font-size: 14px;
  padding-left: 40px !important;
}
.advantage h3 {
  font-weight: bold;
  margin-bottom: 0;
  font-size: 14px;
}
.blog-archive {
      position: relative;
    background-color: #dbdbdb;
    padding: 40px;
    z-index: 0;
}
.blog-archive .header {
  margin-bottom: 50px;
}
.custom-layout {
  background-color: #fff;
}
.custom-layout.cat-id-28 {
  background-color: transparent;
}
.header-cat {
  display: flex;
  align-items: center;
  justify-content: flex-end;
	margin:15px 0;
}
.category-list {
  display: flex;
  align-items: center;
  margin: 0;
}
.blog-single .category-list {
	overflow-x: scroll;
}
.category-list li {
  list-style: none;
  margin: 0;
  height: 80px;
  display: flex;
  align-items: center;
}
.blog-single .category-list li{
	  height: 50px;
}
.category-list li + li {
  margin-inline-start: 40px;
}
.category-list li a {
  font-size: 14px;
  font-family: Raleway, sans-serif;
  font-weight: 500;
text-wrap-mode: nowrap;
}
.category-list li a.active {
  color: var(--primary-color);
}
#search-form.active {
  display: flex;
  align-items: center;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
.btn-search-input-clear.active,
#search-form:not(.active) .btn-search {
  cursor: pointer;
}
#search-form #search-field,
#search-form .btn-search-input-clear {
  display: none;
}
#search-form .btn-search-input-clear.active {
  display: block;
}
#search-form #search-field.active {
  display: block;
  margin: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
  border: none;
  width: 200px;
  height: 20px;
  font-size: 14px;
}
#post-list .post-item {
  border: 1px solid rgba(0, 119, 192, 0.3);
  background-color: #fff;
}
#post-list.list .post-item {
  width: 100%; /* trừ nửa gap để item không tràn hàng */
  display: flex;
  justify-content: center;
  align-items: center;
}
#post-list.list .post-thumb,
#post-list.list .post-content {
  width: 50%;
}
#post-list.list .image-cover {
  padding-top: 340px !important;
}
#post-list.list .post-content {
  height: 340px;
}
#post-list.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px; /* khoảng cách giữa các item */
}

#post-list.two-columns .post-item {
  width: calc(50% - 20px); /* trừ nửa gap để item không tràn hàng */
}
.post-content {
  padding: 28px 30px 25px;
  background-color: #fff;
  position: relative;
}
.post-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
}
.icon-share {
  cursor: pointer;
}
.icon-share:hover svg {
  fill: var(--primary-color);
}
.btn-share {
  cursor: pointer;
  min-width: 200px;
  position: absolute;
  z-index: 900;
  right: -180px;
  top: 50px;
  background-color: #fff;
  align-items: center;
  display: none;
  padding: 16px 18px 15px;
  box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2);
}
.btn-share.active {
  display: flex;
}
.btn-share span {
  font-size: 14px;
  font-family: Arial, sans-serif;
  margin-left: 12px;
}
.post-content h2 {
  font-size: 26px;
}
.post-content a:hover h2 {
  color: var(--primary-color);
}
.category-share-buttons {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.category-share-buttons.active {
  display: flex;
}
.category-share-buttons .popup-overlay {
  background-color: rgba(0, 0, 0, 0.8);
}
.close-popup-share {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1;
  cursor: pointer;
}
.close-content-share {
  z-index: 1;
  padding: 60px;
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.close-content-share h2 {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 30px;
}
.list-share {
  height: 82px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.list-share a {
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  height: 45px;
  margin: 0;
  padding: 0;
  width: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.share-facebook {
  background-color: #4464a3;
}
.share-twitter {
  background-color: #55acee;
}
.share-linkedin {
  background-color: #0077b5;
}
.share-copylink {
  background-color: #333;
  margin-right: 0 !important;
}
.copy-message {
  display: none;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.1);
  font-size: 14px;
  position: absolute;
  transform: translateX(120px) translateY(-90px);
  border-radius: 2px;
}

.copy-message::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
  margin-top: 8px;
  position: absolute;
  bottom: -8px;

  left: 50px;
}
.list-share a {
  margin-right: 38px;
}
.custom-layout-blog .large-9 {
  background-color: rgb(219, 219, 219);
  padding: 0 20px;
}
#searchform {
  margin-bottom: 0;
}
.custom-layout-blog .search-form {
  margin-right: 20px;
}
.blog-single .custom-layout-blog .search-form{
	margin-left:20px
}
.custom-layout-blog .article-inner,
.custom-layout-blog .entry-content,
.custom-layout-blog .pRGtWE,
.custom-layout-blog .list-share-single {
  background-color: #fff;
  padding-left: 18px;
  padding-right: 18px;
}
.custom-layout-blog .post-date,
.NfKpG_ {
  font-size: 14px;
}
.NfKpG_ {
  margin-bottom: 0;
}
.custom-layout-blog h1 {
  font-size: 40px;
}
.custom-layout-blog .btn-share {
  right: 65px;
  top: 150px;
}
.entry-header-text-top {
  padding: 32px 0 0;
}
.pRGtWE {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 20px;
}
.pRGtWE > * {
  align-items: center;
  display: flex;
  overflow: hidden;
  padding: 4px;
  margin-bottom: 0;
}
.pRGtWE a {
  font-size: 14px;
  line-height: 1.5;
  text-decoration: underline;
}
.list-share-single {
  border-top: 1px solid rgba(8, 20, 35, 0.2);
  min-block-size: 66px;
  padding: 18px 0;
  display: flex;
  align-items: center;
}
.list-share-single a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
}
.list-share-single .copy-message {
  background-color: #0a0a0a;
  color: #fff;
  padding: 3px 14px;
  transform: translateX(75px) translateY(-30px);
  border-radius: 3px;
}
.list-share-single .copy-message::before {
  border-top: 8px solid #0a0a0a;
  left: 45px;
}
#comments .comment-respond {
  margin-top: 30px;
  background-color: #fff;
}
.shop-page-title {
  padding-top: 70px;
  z-index: 0;
}
.noi-bat {
  position: absolute;
  top: -170px;
  right: -10px;
}
.noi-bat svg {
  width: 68px;
  height: 68px;
}
.noi-bat svg [data-color="1"] {
  fill: #e8b638;
}
.noi-bat span {
  position: absolute;
  left: 10px;
  top: 25px;
  transform: rotate(21.305191026071554deg);
  font-size: 10px;
  font-weight: bold;
}
.product-title a {
  font-size: 14px;
  font-weight: bold;
}
.product-tabs {
  display: none;
}
.anh-banner {
  height: 276px;
}
.banner-sp {
  position: relative;
}
.banner-sp-svg svg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1611px;
  height: 139px;
  fill: #fff;
}
h1.product-title {
  font-size: 30px;
  font-weight: bold;
}
h3.title-short-description {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
}
.product-short-description,
.woocommerce-Tabs-panel--description.entry-content {
  font-size: 14px;
}
.category-page-row .large-10 {
  margin: 0 auto;
}
.ss-contact .header h2::before,
.ss-1 .header h2::before {
  background-color: #fff;
}

.ss-contact p {
  font-size: 14px;
}
.ss-contact input:not([type="submit"]) {
  background-color: rgba(255, 255, 255, 0.7);
  height: 32px;
  font-size: 14px;
  outline: none;
  box-shadow: none;
  margin-bottom: 10px;
}
.ss-contact textarea {
  padding-left: 0;
  min-height: 54.69px;
  background-color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}
input[type="submit"].custom-btn {
  background-color: #fff;
  color: var(--primary-color);
  font-size: 14px;
  text-transform: unset;
  height: 32px;
  width: 148px;
}
.wpcf7-response-output {
  display: none;
}
.blog-single {
  padding: 0;
}
.post-sidebar {
  display: none;
}
.not-results .post-content {
  width: 100%;
  padding: 0;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.not-results .post-content h3 {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
}
.dmsp{
	overflow-y:scroll;
	 height: 640px;
}
.dmsp ul {
  margin-top: 15px;
  margin-bottom: 0;
  border: 1px solid #ddd;
  border-left: 0;
  border-right: 0;
}
.dmsp ul li {
  margin-bottom: 0;
  color: var(--primary-color);
}
.dmsp ol,
.dmsp ol li {
  margin-bottom: 0;
}
.footer-wrapper {
  font-size: 13px;
}
.absolute-footer {
  padding: 0;
  color: #fff !important;
}
.footer-secondary {
  padding-top: 0;
  padding-bottom: 15px;
  font-size: 10px;
}
.footer-wrapper a:hover {
  color: var(--primary-color);
}
.footer-secondary {
  float: right !important;
}

@media (min-width: 850px) and (max-width: 1200px){
	.dmsp{
		 height: 280px;
	}
}
@media (min-width: 550px) and (max-width: 850px) {
	.dmsp {
		height: 510px;
	}
  .banner-map .map-1 .icon-map {
    right: 65px;
    top: -81px;
  }
  .banner-map .map-2 .icon-map {
    left: -5px;
    bottom: -35px;
  }
  .banner-map .map-3 .icon-map {
    top: -85px;
    left: 77px;
  }
  .noi-bat {
    top: -160px;
  }
}
@media only screen and (min-width: 550px) {
  .ss-1 .header h2::before {
    margin: unset;
  }
  .ss-1 .text-center {
    text-align: unset !important;
  }
}
@media only screen and (max-width: 550px) {
  .header.has-transparent,
  .header.show-on-scroll,
  .header.transparent {
    position: relative;
  }
  .banner-home h6 {
    font-size: 13px;
  }
  .banner-home h3 {
    font-size: 24px;
  }
  .banner-home::after {
    bottom: 20px;
  }
  .gallery_slider_home,
  .gallery_slider_home img {
    width: 100%;
    height: 200px;
  }
  .pd-mb-0 {
    padding: 0 !important;
  }
  .ss-1 {
    padding-bottom: 0 !important;
  }
  .ss-1 .custom-btn {
    margin: 15px 0;
  }
  .ss-footer {
    padding-bottom: 0 !important;
  }
  .footer-secondary {
    float: none !important;
    text-align: left;
    padding: 10px 0 10px 15px !important;
  }
  .banner-map .img:not(.img-size) {
    display: none;
  }
  .banner-map .map-1 .icon-map {
    right: 55px;
    top: -130px;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 5px;
  }
  .banner-map .map-2 .icon-map {
    position: absolute;
    left: 27px;
    bottom: -130px;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 5px;
  }
  .banner-map .map-3 .icon-map {
    position: absolute;
    top: -180px;
    left: 60px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
  }
  .banner-map .icon-map span {
    width: auto;
  }
  .advantage .icon-box-text {
    padding-left: 20px !important;
  }
  .noi-bat {
    top: -180px;
  }
  .banner-sp {
    display: none;
  }
  .blog-archive {
    padding-left: 0;
    padding-right: 0;
  }
  .blog-archive .header {
    margin-bottom: 0;
  }
  .header-cat {
    display: block;
  }
  .archive .category-list {
    flex-direction: column;
  }
	.blog-single .category-list{
		    width: 80%;
	}
  .category-list li {
    height: unset;

    width: 100%;
  }
  .category-list li + li {
    margin: 0;
  }
  .custom-layout .col {
    padding: 0;
  }
  .category-list li a {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    background-color: #fff;
  }
  .category-list li a.active {
    background-color: var(--primary-color);
    color: #fff;
  }
  #search-form {
    position: absolute;
    right: 20px;
    top: 13px;
  }
  .blog-archive #search-field::placeholder {
    color: #0a0a0a;
  }
  #post-list.two-columns {
    display: block;
  }
  #post-list.two-columns .post-item,
  #post-list.list .post-item,
  #post-list.list .post-thumb,
  #post-list.list .post-content {
    width: 100%;
    display: block;
  }
  #post-list .post-item {
    border: none;
  }

  .post-content {
    padding: 30px 18px;
  }
  .post-excerpt {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 50px;
  }
  .blog-archive .btn-share {
    right: 30px;
  }
  .custom-layout-blog .large-9 {
    padding: 0;
  }
  .custom-layout-blog .btn-share {
    right: 40px;
    top: 200px;
  }
  .custom-layout-blog article {
    margin-bottom: 0;
  }
  .comment-form,
  .form-submit {
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}
.entry-content {
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: 700;
  margin-bottom: 15px;
}

.entry-content figure {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 5px 3px 10px;
  text-align: center;
}

.entry-content h6 {
  font-size: 15px;
}

.entry-content h5 {
  font-size: 17px;
}

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

.entry-content h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.entry-content h2 {
  font-size: 20px;
  line-height: 1.5;
}

.entry-content h1 {
  font-size: 25px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.entry-content p {
  color: #333;
  margin-bottom: 15px;
  line-height: 1.6;
}

.entry-content ul {
  list-style: disc;
  padding-bottom: 5px;
}

.entry-content ul li {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
}

.entry-content ul li a {
  color: #007bff;
}

.entry-content ol {
  list-style: decimal;
  padding-left: 18px;
  padding-bottom: 5px;
  font-size: 16.5px;
}

.entry-content ol li {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
}

.entry-content ol li a {
  color: #ff5912;
}

.entry-content a {
  font-weight: 700;
}

.entry-content blockquote {
  background: #f3f3f3;
  color: #868686;
  display: block;
  font-size: 16px;
  line-height: 23px;
  margin: 0 0 20px;
  padding: 15px 20px 15px 45px;
  position: relative;
  text-align: justify;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

.entry-content blockquote:before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: var(--primary-color);
  content: "";
}

.entry-content code {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  font-size: 0.85rem;
  color: #e83e8c;
  font-size: 15px;
}
.entry-content table {
  width: 100%;
  height: auto;
  overflow: auto;
}

.entry-content table > tbody > tr > td,
.entry-content table > tbody > tr > th,
.entry-content table > tfoot > tr > td,
.entry-content table > tfoot > tr > th,
.entry-content table > thead > tr > td,
.entry-content table > thead > tr > th,
.term-description table > tbody > tr > td,
.term-description table > tbody > tr > th,
.term-description table > tfoot > tr > td,
.term-description table > tfoot > tr > th,
.term-description table > thead > tr > td,
.term-description table > thead > tr > th {
  border: 1px solid #ddd;
  padding: 7px 10px !important;
  font-size: 16.5px !important;
  width: auto !important;
}

.entry-content iframe {
  margin: auto;
}

.entry-content .syntaxhighlighter {
  padding: 10px 0;
}
