/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

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

.blinds-stat-item {
  text-align: center;
  padding: 12px 20px;
}

/* Gan class nay cho div 1 va div 2 de tao border-right. */
.blinds-stat-item.has-right-border {
  border-right: 1px solid #e5e5e5;
}

.blinds-stat-number {
  font-family: Montserrat, sans-serif;
  font-style: normal;
  font-weight: 500;
  color: rgb(23, 23, 23);
  font-size: 30px;
  line-height: 30px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.blinds-stat-label {
  margin-top: 10px;
  font-family: Montserrat, sans-serif;
  font-style: normal;
  font-weight: 300;
  color: rgb(64, 64, 64);
  font-size: 17px;
  line-height: 29px;
}

.cong-trinh-archive .cong-trinh-breadcrumb {
  margin-bottom: 12px;
}

.cong-trinh-archive .cong-trinh-breadcrumb .breadcrumbs {
  justify-content: center;
}

.cong-trinh-archive .archive-title {
  margin-bottom: 12px;
}

.cong-trinh-archive .cong-trinh-archive-desc {
  margin: 0 auto 22px;
  max-width: 880px;
  font-family: Montserrat, sans-serif;
  font-style: normal;
  font-weight: 300;
  color: rgb(78, 78, 78);
  font-size: 14px;
  line-height: 24px;
}

.cong-trinh-archive .cong-trinh-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}

.cong-trinh-archive .cong-trinh-tabs > li {
  margin: 0 14px;
  padding: 0;
  margin-bottom: 0;
}

.cong-trinh-archive .cong-trinh-tabs > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: Montserrat, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgb(0, 0, 0);
  font-size: 16px;
  line-height: 27px;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}

/* Bo toan bo style mac dinh Flatsome nav-line/nav-uppercase cho tabs cong-trinh */
.cong-trinh-archive .cong-trinh-tabs.nav-line > li > a::before,
.cong-trinh-archive .cong-trinh-tabs.nav-line > li.active > a::before,
.cong-trinh-archive .cong-trinh-tabs.nav-line > li:hover > a::before {
  display: none !important;
  content: none !important;
}

.cong-trinh-archive .cong-trinh-tabs.nav-uppercase > li > a {
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

.cong-trinh-archive .cong-trinh-tabs > li > a:hover {
  color: rgb(0, 0, 0) !important;
  background: var(--e-global-color-98c62de, #ffffff);
  border-bottom-color: #eeeeee;
}

.cong-trinh-archive .cong-trinh-tabs > li.active > a {
  font-weight: 600;
  color: rgb(0, 0, 0) !important;
  background: var(--e-global-color-98c62de, #ffffff);
  border-bottom-color: #eeeeee;
}

.cong-trinh-archive .cong-trinh-tabs > li:first-child > a {
  padding-left: 9px;
}

/* Archive "Xem thêm" button (cong-trinh + tin tuc) */
.cong-trinh-archive .xc-load-more-nav {
  text-align: center;
  margin-top: 16px;
}

.cong-trinh-archive .xc-load-more-nav .elementor-button-link.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  min-height: 42px;
  margin: 0 auto;
  padding: 12.5px 20px;
  border: 1px solid #000000;
  border-radius: 0;
  background-color: #ffffff;
  color: #000000;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cong-trinh-archive .xc-load-more-nav .elementor-button-link.elementor-button:hover,
.cong-trinh-archive .xc-load-more-nav .elementor-button-link.elementor-button:focus {
  background-color: #000000;
  color: #ffffff;
}

.cong-trinh-imagebox {
  border: 1px solid #e3e3e3;
  border-radius: 0;
  overflow: hidden;
}

.cong-trinh-imagebox .box-text {
  padding: 18px 18px 14px;
}

.cong-trinh-imagebox .cong-trinh-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: Montserrat, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgb(0, 0, 0);
  font-size: 13px;
  line-height: 16px;
}

.cong-trinh-imagebox .post-title,
.cong-trinh-imagebox .post-title a {
  font-family: Montserrat, sans-serif;
  font-style: normal;
  font-weight: 500;
  color: rgb(0, 0, 0);
  font-size: 18px;
  line-height: 27px;
}

.cong-trinh-imagebox .post-title {
  min-height: 54px; /* 2 lines x 27px */
}

.cong-trinh-imagebox .post-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cong-trinh-imagebox .from_the_blog_excerpt {
  margin-top: 10px;
  margin-bottom: 0;
  font-family: Montserrat, sans-serif;
  font-style: normal;
  font-weight: 300;
  color: rgb(78, 78, 78);
  font-size: 14px;
  line-height: 17px;
  min-height: 34px; /* 2 lines x 17px */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cong-trinh-imagebox .box-image {
  margin-top: 16px;
  margin-bottom: 0;
  padding: 12px;
}

/* Shared breadcrumb style for cong-trinh-like archives */
.cong-trinh-archive .cong-trinh-breadcrumb .rank-math-breadcrumb p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.featured-projects-grid .featured-project-item {
  min-width: 0;
}

.featured-projects-grid .featured-project-item .box {
  border-radius: 0;
  overflow: hidden;
}

.featured-projects-grid .featured-project-item .box-image .image-cover {
  padding-top: 62%;
}

.featured-projects-grid .featured-project-item:nth-child(1) {
  grid-column: 1 / -1;
}

.featured-projects-grid .featured-project-item:nth-child(2),
.featured-projects-grid .featured-project-item:nth-child(3),
.featured-projects-grid .featured-project-item:nth-child(4),
.featured-projects-grid .featured-project-item:nth-child(5) {
  grid-column: auto;
}

.featured-project-title,
.featured-project-title a {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-style: normal;
  font-weight: 600;
  color: #fff;
  font-size: 17px;
  line-height: 21px;
  text-transform: uppercase;
}

/* XC footer */
.xc-footer {
  background-color: #000;
}

.xc-footer__headline {
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

.xc-branch {
  margin-bottom: 18px;
}

.xc-branch:last-child {
  margin-bottom: 0;
}

.xc-branch__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

.xc-branch__name::before {
  content: "";
  width: 9px;
  height: 14px;
  flex: 0 0 9px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='14' viewBox='0 0 9 14' fill='none'%3E%3Cpath d='M6.75 4.5C6.75 3.87891 6.53027 3.34863 6.09082 2.90918C5.65137 2.46973 5.12109 2.25 4.5 2.25C3.87891 2.25 3.34863 2.46973 2.90918 2.90918C2.46973 3.34863 2.25 3.87891 2.25 4.5C2.25 5.12109 2.46973 5.65137 2.90918 6.09082C3.34863 6.53027 3.87891 6.75 4.5 6.75C5.12109 6.75 5.65137 6.53027 6.09082 6.09082C6.53027 5.65137 6.75 5.12109 6.75 4.5ZM9 4.5C9 5.13867 8.90332 5.66309 8.70996 6.07324L5.51074 12.876C5.41699 13.0693 5.27783 13.2217 5.09326 13.333C4.90869 13.4443 4.71094 13.5 4.5 13.5C4.28906 13.5 4.09131 13.4443 3.90674 13.333C3.72217 13.2217 3.58594 13.0693 3.49805 12.876L0.290039 6.07324C0.0966797 5.66309 0 5.13867 0 4.5C0 3.25781 0.439453 2.19727 1.31836 1.31836C2.19727 0.439453 3.25781 0 4.5 0C5.74219 0 6.80273 0.439453 7.68164 1.31836C8.56055 2.19727 9 3.25781 9 4.5Z' fill='white'/%3E%3C/svg%3E");
}

.xc-branch__name:hover,
.xc-branch__name:focus {
  color: #f4eee7 !important;
}

.xc-branch__address {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
}

.xc-footer__text {
  margin-bottom: 10px;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  color: #f4eee7;
}

.xc-footer__text:last-child {
  margin-bottom: 0;
}

.xc-footer__text--divider {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.xc-footer .widget-title {
  margin-bottom: 12px;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.xc-footer .ux-menu .ux-menu-link__link {
  color: #fff !important;
    border-bottom: 0 !important;
}

.xc-footer .ux-menu .ux-menu-link:last-child .ux-menu-link__link {
  border-bottom: 0 !important;
}

.xc-footer .ux-menu .ux-menu-link__text {
  color: inherit;
  transition: color 0.25s ease;
}

.xc-footer .ux-menu .ux-menu-link__link:hover,
.xc-footer .ux-menu .ux-menu-link__link:hover .ux-menu-link__text {
  color: #f4eee7 !important;
}

.absolute-footer.dark {
  background-color: #000;
}

/* Flatsome auto-inserted empty tags inside builder content */
.xc-footer p:empty {
  display: none !important;
  margin: 0 !important;
}

.xc-footer br {
  display: none;
}

/* Divider between two bank blocks when content still uses <p> */
.xc-footer .col-inner > p:nth-of-type(3) {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #fff;
}

/* Remove default Flatsome content spacing */
.entry-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* XC shared section title (independent reusable title) */
.xc-section-title,
.xc-custom-section {
  margin-bottom: 0;
}

.xc-section-title .section-title,
.xc-custom-section .section-title {
  justify-content: center;
}

.xc-section-title .section-title b,
.xc-custom-section .section-title b {
  display: none;
}

.xc-section-title .section-title-main,
.xc-custom-section .section-title-main {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 46px;
  text-transform: uppercase;
}

/* XC why section */
.xc-home-why {
  margin-bottom: 150px;
}

.xc-home-why .box-why .icon-box-img,
.xc-home-why .box-why .icon-box-icon,
.xc-home-why .box-why .icon-box-image {
  display: none !important;
}

.xc-home-why .box-why .icon-box-text {
  text-align: left !important;
  padding-top: 0 !important;
}

.xc-home-why .box-why h3,
.xc-home-why .box-why h4 {
  margin-bottom: 12px;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: #171717 !important;
}

.xc-home-why .box-why p {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #4e4e4e !important;
}

.xc-home-why .box-why .highlight {
  font-weight: 500;
}

/* XC testimonial section */
.xc-home-testimonial {
  background-color: #222;
  margin-bottom: 150px;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.xc-home-testimonial .xc-testimonial-slider .slider {
  padding-bottom: 80px;
}

.xc-home-testimonial .xc-testimonial-item .col-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 0;
}

.xc-home-testimonial .xc-testimonial-item .img {
  margin-bottom: 90px !important;
}

.xc-home-testimonial .xc-testimonial-item p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: #f4eee7;
  text-align: center;
}

.xc-home-testimonial .xc-testimonial-item p:nth-last-child(2) {
  margin-top: 44px;
  font-family: Playfair, serif;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 400;
  position: relative;
}

.xc-home-testimonial .xc-testimonial-item p:nth-last-child(2)::before {
  content: "\f10d";
  display: block;
  height: 22px;
  margin-bottom: 22px;
  font-family: "Font Awesome 6 Free";
  font-size: 57px;
  font-weight: 900;
  line-height: 22px;
  color: #f4eee7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.xc-home-testimonial .xc-testimonial-item p:last-child {
  margin-top: 60px;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
}

.xc-home-testimonial .flickity-prev-next-button {
  color: #f4eee7;
}

.xc-home-testimonial .flickity-prev-next-button.previous {
  left: 0;
  top: calc(100% - 194px);
}

.xc-home-testimonial .flickity-prev-next-button.next {
  right: 0;
  top: calc(100% - 194px);
}

.xc-home-testimonial .flickity-page-dots {
  bottom: 0;
}

.xc-home-testimonial .flickity-page-dots .dot {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  border-color: #f4eee7;
}

.xc-home-testimonial .flickity-page-dots .dot.is-selected {
  background-color: #f4eee7;
}

/* Custom "Xem them" button - remove Flatsome defaults */
a.button.btn-gioi-thieu,
.btn-gioi-thieu.button,
.btn-gioi-thieu {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: underline !important;
  text-decoration-thickness: 4%;
  text-underline-offset: 25%;
  color: inherit !important;
}

.btn-gioi-thieu::before,
.btn-gioi-thieu::after {
  content: none !important;
  display: none !important;
}

.btn-gioi-thieu:hover,
.btn-gioi-thieu:focus,
.btn-gioi-thieu:active,
.btn-gioi-thieu.is-underline:hover {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  opacity: 1 !important;
}

.btn-gioi-thieu span {
  display: inline !important;
  line-height: inherit !important;
}

/* XC home category */
.xc-home-category {
  margin-bottom: 98px;
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.xc-home-category .box-cat .box-image {
  overflow: hidden;
}

.xc-home-category .box-cat .box-image img {
  width: 100%;
  aspect-ratio: 265 / 347;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.xc-home-category .box-cat:hover .box-image img {
  transform: scale(1.06);
}

.xc-home-category .box-cat .overlay {
  background: rgba(0, 0, 0, 0.18) !important;
}

.xc-home-category .box-cat .box-text {
  text-align: left !important;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
}

.xc-home-category .box-cat .box-text h4 {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 21px;
  text-transform: uppercase;
  color: #f4eee7 !important;
  text-align: left;
}

.xc-home-category #xem-them-danh-muc {
  display: none;
}

/* Contact quick section */
.xc-page-contact .box-lien-he {
  margin: 0;
}

.xc-page-contact .box-lien-he .icon-box-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.xc-page-contact .box-lien-he .icon-box-text h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: #171717;
}

.xc-page-contact .box-lien-he .icon-box-text h3::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  color: #171717;
  display: inline-block;
}

.xc-page-contact .box-lien-he.hotline .icon-box-text h3::before {
  content: "\f3cd";
}

.xc-page-contact .box-lien-he.zalo .icon-box-text h3::before {
  content: "\f3cd";
}

.xc-page-contact .box-lien-he.messager .icon-box-text h3::before {
  content: "\f39f";
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

.xc-page-contact .box-lien-he.email .icon-box-text h3::before {
  content: "\f0e0";
}

@media (max-width: 767px) {
  .xc-page-contact .box-lien-he .icon-box-text h3 {
    font-size: 18px;
  }
}

/* Contact form section */
.mfp-wrap:has(#xc-float-contact-booking.lightbox-by-id) .mfp-container {
  padding: 0 !important;
}

:is(.mfp-content, .mfp-wrap) #xc-float-contact-booking.lightbox-by-id {
  width: min(1200px, calc(100vw - 32px)) !important;
  max-width: 1200px !important;
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 767px) {
  .mfp-content #xc-float-contact-booking.lightbox-by-id {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .wpcf7 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .wpcf7 form {
  margin: 0;
  max-width: 100%;
  min-width: 0;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Hai cột: tên + SĐT (desktop), mobile xếp dọc */
:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
  margin-bottom: 32px;
  min-width: 0;
  align-items: end;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form__row .wpcf7-form-control-wrap,
:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form__row > p {
  min-width: 0;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .row.align-middle {
  align-items: center !important;
}

/* Tránh cột bị nở / tràn ở flex row (Flatsome) */
:is(.xc-page-contact-form, .xc-page-about-cooperate) .row.align-middle .col {
  min-width: 0;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .img .img-inner {
  overflow: hidden;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .img .img-inner img {
  width: 100%;
  height: auto;
  display: block;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .col.large-6:last-child > .col-inner > p {
  margin: 0;
  font-family: Montserrat, sans-serif;
}

/* title */
:is(.xc-page-contact-form, .xc-page-about-cooperate) .col.large-6:last-child > .col-inner > p:nth-of-type(1) {
  margin-bottom: 24px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #171717;
}

/* description */
:is(.xc-page-contact-form, .xc-page-about-cooperate) .col.large-6:last-child > .col-inner > p:nth-of-type(2) {
  margin-bottom: 32px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #4e4e4e;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form p {
  margin-bottom: 32px;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form__row > p {
  margin-top: 0;
  margin-bottom: 0;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form label {
  display: none;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input[type="text"],
:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input[type="email"],
:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input[type="tel"],
:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form textarea {
  border: 0;
  border-bottom: 1px solid #d6d6d6;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 10px;
  height: auto;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #4e4e4e;
  background: transparent;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form textarea {
  display: block;
  width: 100%;
  min-height: 100px;
  max-height: 240px;
  height: 120px !important;
  resize: vertical;
  box-sizing: border-box;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input::placeholder,
:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form textarea::placeholder {
  color: #4e4e4e;
  opacity: 1;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input:focus,
:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form textarea:focus {
  box-shadow: none;
  border-bottom-color: #333;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input[type="submit"] {
  width: 100%;
  min-height: 40px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #333;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: 0;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input[type="submit"]:hover {
  background: #222;
  box-shadow: none;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .wpcf7-spinner {
  margin-left: 12px;
}

/* hotline label */
:is(.xc-page-contact-form, .xc-page-about-cooperate) .col.large-6:last-child > .col-inner > p:nth-last-of-type(2) {
  margin-top: 32px;
  margin-bottom: 13px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #4e4e4e;
}

:is(.xc-page-contact-form, .xc-page-about-cooperate) .col.large-6:last-child > .col-inner > p:last-of-type {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: #171717;
}

@media (max-width: 1024px) {
  :is(.xc-page-contact-form, .xc-page-about-cooperate) .col.large-6:last-child > .col-inner > p:nth-of-type(1) {
    margin-bottom: 18px;
    font-size: 25px;
    letter-spacing: 0;
  }

  :is(.xc-page-contact-form, .xc-page-about-cooperate) .col.large-6:last-child > .col-inner > p:nth-of-type(2) {
    font-size: 14px;
    line-height: 1.5;
  }

  :is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input[type="text"],
  :is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input[type="email"],
  :is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input[type="tel"],
  :is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form textarea,
  :is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form input[type="submit"] {
    font-size: 14px;
  }

  :is(.xc-page-contact-form, .xc-page-about-cooperate) .col.large-6:last-child > .col-inner > p:nth-last-of-type(2) {
    font-size: 14px;
  }

  :is(.xc-page-contact-form, .xc-page-about-cooperate) .col.large-6:last-child > .col-inner > p:last-of-type {
    font-size: 22px;
  }
}

/* ===== AJAX product filters ===== */
.xc-product-filter-widget {
  display: grid;
  gap: 14px;
}

.xc-product-filter-widget .xc-filter-title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #171717;
}

.xc-product-filter-widget .xc-filter-list {
  display: grid;
  gap: 10px;
}

.xc-product-filter-widget .xc-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  color: #333333;
}

.xc-product-filter-widget .xc-filter-item input[type="checkbox"] {
  margin: 0;
}

.xc-product-filter-widget .xc-filter-swatch {
  width: 16px;
  height: 16px;
  border: 1px solid #d3d3d3;
  background: var(--xc-filter-color, #cccccc);
  display: inline-block;
}

#xc-product-loop-container {
  transition: opacity 0.2s ease;
}

#xc-product-loop-container.xc-products-loading {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 767px) {
  :is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form__row {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  :is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form__row > p {
    margin-bottom: 32px;
  }

  :is(.xc-page-contact-form, .xc-page-about-cooperate) .xc-contact-form__row > p:last-child {
    margin-bottom: 32px;
  }
}

/* UX Projects element (CPT cong-trinh) */
.xc-ux-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.xc-ux-projects__item {
  position: relative;
  overflow: hidden;
}

.xc-ux-projects__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff !important;
  text-decoration: none;
}

.xc-ux-projects__media {
  width: 100%;
  height: 100%;
}

.xc-ux-projects__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.xc-ux-projects__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
}

.xc-ux-projects__content {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.xc-ux-projects__title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 21px;
  text-transform: uppercase;
  color: #f4eee7;
}

.xc-ux-projects__item:hover .xc-ux-projects__image {
  transform: scale(1.04);
}

@media (min-width: 881px) {
  .xc-ux-projects {
    display: block;
    position: relative;
    height: 1784px;
  }

  .xc-ux-projects__item {
    position: absolute;
    width: calc(50% - 7.5px);
  }

  .xc-ux-projects__item:nth-child(5) {
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 30px - 698px - 349px);
  }

  .xc-ux-projects__item:nth-child(1) {
    top: 0;
    left: 0;
    height: 698px;
  }

  .xc-ux-projects__item:nth-child(2) {
    top: 0;
    right: 0;
    height: 349px;
  }

  .xc-ux-projects__item:nth-child(3) {
    top: calc(698px + 15px);
    left: 0;
    height: 349px;
  }

  .xc-ux-projects__item:nth-child(4) {
    top: calc(349px + 15px);
    right: 0;
    height: 698px;
  }
}

@media only screen and (max-width: 48em) {
  .featured-projects-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

  .row.xc-row-reverse {
    flex-direction: column-reverse;
  }

  .blinds-stat-item.has-right-border {
    border-right: 0;
  }

  .cong-trinh-archive .cong-trinh-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .cong-trinh-archive .cong-trinh-tabs::-webkit-scrollbar {
    display: none;
  }

  .cong-trinh-archive .cong-trinh-tabs > li {
    flex: 0 0 auto;
  }

  .xc-footer__headline {
    font-size: 25px;
  }

  .xc-branch__name,
  .xc-branch__address {
    font-size: 14px;
  }

  .xc-footer__text {
    font-size: 14px;
  }

  .xc-footer .widget-title {
    font-size: 16px;
  }

  .xc-section-title .section-title-main,
  .xc-custom-section .section-title-main {
    font-size: 25px;
    line-height: 1;
  }

  .xc-home-why {
    margin-bottom: 50px;
  }

  .xc-home-why .box-why h3,
  .xc-home-why .box-why h4 {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 20px;
  }

  .xc-home-why .box-why p {
    font-size: 14px;
    line-height: 24px;
  }

  .xc-home-testimonial {
    margin-bottom: 50px;
    padding-top: 24px !important;
    padding-bottom: 50px !important;
  }

  .xc-home-category {
    margin-bottom: 48px;
  }

  .xc-home-category .box-cat .box-text {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
  }

  .xc-home-category .box-cat .box-text h4 {
    font-size: 14px;
    line-height: 17px;
  }

  .xc-ux-projects {
    grid-template-columns: 1fr;
    gap: 24px;
    height: auto;
  }

  .xc-ux-projects__item {
    position: relative;
    aspect-ratio: 369 / 233;
    width: 100%;
  }

  .xc-ux-projects__item:nth-child(even) {
    aspect-ratio: 369 / 466;
  }

  .xc-ux-projects__title {
    font-size: 14px;
    line-height: 17px;
  }

  .xc-home-testimonial .xc-testimonial-slider .slider {
    padding-bottom: 60px;
  }

  .xc-home-testimonial .xc-testimonial-item .img {
    margin-bottom: 72px !important;
  }

  .xc-home-testimonial .xc-testimonial-item .col-inner {
    grid-template-columns: 1fr;
  }

  .xc-home-testimonial .xc-testimonial-item .col-inner > .img {
    margin-bottom: 0 !important;
  }

  .xc-home-testimonial .xc-testimonial-item .col-inner > .img:first-of-type {
    margin-bottom: 5px !important;
  }

  .xc-home-testimonial .xc-testimonial-item .col-inner > .img:last-of-type {
    margin-bottom: 72px !important;
  }

  .xc-home-testimonial .xc-testimonial-item p:nth-last-child(2) {
    margin-top: 28px;
    font-size: 14px;
  }

  .xc-home-testimonial .xc-testimonial-item p:nth-last-child(2)::before {
    font-size: 47px;
  }

  .xc-home-testimonial .xc-testimonial-item p:last-child {
    margin-top: 40px;
    font-size: 12px;
  }

  .xc-home-testimonial .flickity-prev-next-button.previous {
    top: calc(100% - 120px);
  }

  .xc-home-testimonial .flickity-prev-next-button.next {
    top: calc(100% - 120px);
  }

  .xc-home-testimonial .flickity-page-dots .dot {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }

}

/* —— Header meta: dán HTML trong Tùy biến → Header → HTML; bọc tùy chọn bằng .xc-header-meta-col —— */
.header-wrapper .xc-header-meta-col,
.header-wrapper .header-main .xc-header-meta-col {
  flex: 0 0 auto;
  align-self: center;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Ẩn từ tablet trở xuống (tùy chọn) */
@media (max-width: 1024px) {
  .header-wrapper .xc-header-meta-col,
  .header-wrapper .header-main .xc-header-meta-col {
    display: none !important;
  }

  /* Mobile menu: keep header-meta in one row, left aligned */
  #main-menu .xc-header-meta,
  .off-canvas .xc-header-meta,
  .mobile-sidebar .xc-header-meta {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 0;
    row-gap: 8px;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  #main-menu .xc-header-meta__track,
  .off-canvas .xc-header-meta__track,
  .mobile-sidebar .xc-header-meta__track {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  #main-menu .xc-header-meta__track::after,
  .off-canvas .xc-header-meta__track::after,
  .mobile-sidebar .xc-header-meta__track::after {
    display: none !important;
    content: none !important;
  }

  #main-menu .xc-lang-switcher,
  .off-canvas .xc-lang-switcher,
  .mobile-sidebar .xc-lang-switcher {
    margin: 0;
    padding: 0;
  }

  #main-menu .xc-lang-switcher__list,
  .off-canvas .xc-lang-switcher__list,
  .mobile-sidebar .xc-lang-switcher__list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    width: auto;
    margin: 0;
    padding: 0;
  }

  #main-menu .xc-lang-switcher__item,
  .off-canvas .xc-lang-switcher__item,
  .mobile-sidebar .xc-lang-switcher__item {
    flex: 0 0 auto;
  }
}

.header-wrapper .xc-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  min-width: 0;
  justify-content: flex-end;
}

/* “Theo dõi đơn hàng” + gạch dọc */
.header-wrapper .xc-header-meta__track {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8px 0 0;
  margin: 0;
}

.header-wrapper
  .xc-header-meta:has(.xc-lang-switcher)
  .xc-header-meta__track::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 11px;
  background-color: #808080;
  transform: translateY(-50%);
}

.header-wrapper .xc-header-meta__track-link,
.header-wrapper .xc-header-meta__track-link:hover,
.header-wrapper .xc-header-meta__track-link:focus {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  color: #999999;
  text-decoration: none;
  border: 0;
  box-shadow: none;
  transition: color 0.2s ease;
}

.header-wrapper .xc-header-meta__track-link:hover,
.header-wrapper .xc-header-meta__track-link:focus {
  color: #c8c8c8;
}

/* Cờ + mã EN/VI (Connect Polylang / Elementor style) */
.header-wrapper .xc-lang-switcher {
  padding-left: 0;
  margin: 0;
}

.header-wrapper .xc-lang-switcher__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  line-height: normal;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.header-wrapper .xc-lang-switcher__item {
  margin: 0;
}

.header-wrapper .xc-lang-switcher__link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: #999999;
  border: 0;
  box-shadow: none;
  white-space: nowrap;
  padding: 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.header-wrapper .xc-lang-switcher__item {
  opacity: 0.6;
}

.header-wrapper .xc-lang-switcher__item.is-active,
.header-wrapper .xc-lang-switcher__item:hover {
  opacity: 1;
}

.header-wrapper .xc-lang-switcher__item.is-active .xc-lang-switcher__link,
.header-wrapper .xc-lang-switcher__link:hover,
.header-wrapper .xc-lang-switcher__link:focus {
  color: #999999;
}

.header-wrapper .xc-lang-switcher__flag,
.header-wrapper .xc-lang-switcher__flag .xc-lang-switcher__img,
.header-wrapper .xc-lang-switcher__img {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  width: 18px;
  max-width: 100%;
  height: auto;
}

.header-wrapper .xc-lang-switcher__flag {
  overflow: visible;
}

.header-wrapper .xc-lang-switcher__img {
  width: 18px;
  height: 12px;
  min-width: 18px;
  max-width: none;
  object-fit: contain;
}

/* Fallback nếu dùng class cũ của Polylang Elementor (cpel-*) */
.header-wrapper .cpel-switcher__flag {
  display: inline-block;
  width: 18px;
  height: auto !important;
  line-height: 0;
  overflow: visible;
  vertical-align: middle;
}

.header-wrapper .cpel-switcher__flag img {
  display: block;
  width: 18px !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center;
}

.header-wrapper .xc-lang-switcher__code {
  padding-left: 0;
  text-decoration: inherit;
  letter-spacing: 0.02em;
}

/* Lang flag: dam bao hien thi day du, khong bi cat */
.header-wrapper .xc-lang-switcher__link {
  overflow: visible;
}

.header-wrapper .xc-lang-switcher__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  min-width: 18px !important;
  height: 12px !important;
  min-height: 12px !important;
  line-height: 0 !important;
  overflow: visible !important;
  flex-shrink: 0;
  border: 0 !important;
  background: transparent !important;
}

.header-wrapper .xc-lang-switcher__flag img.xc-lang-switcher__img,
.header-wrapper .xc-lang-switcher__img {
  display: block !important;
  width: 18px !important;
  height: 12px !important;
  min-width: 18px !important;
  min-height: 12px !important;
  max-width: 18px !important;
  max-height: 12px !important;
  object-fit: contain !important;
  object-position: center center;
  transform: none !important;
}

/* Gạch giữa header main / bottom: dùng border-bottom của header main */
.header-wrapper .header-main {
  border-bottom: 0;
}

.header-wrapper .header-main .header-inner.container {
  border-bottom: 1px solid #808080;
}

.header-wrapper .header-main .top-divider {
  display: none;
}

/* Header background: chỉ trang chủ transparent, trang khác có nền */
body.home .header-wrapper .header-bg-color {
  background-color: transparent !important;
}

body:not(.home) .header-wrapper .header-bg-color {
  background-color: rgba(10, 10, 10, 0.9) !important;
}

body.home .header-wrapper .header-bottom {
  background-color: transparent !important;
}

body:not(.home) .header-wrapper .header-bottom {
  background-color: #000000 !important;
}

body.home .header-wrapper .header-main,
body.home .header-wrapper #top-bar {
  background-color: transparent !important;
}

body:not(.home) .header-wrapper .header-main,
body:not(.home) .header-wrapper #top-bar {
  background-color: #000000 !important;
}

/* Menu chính giống bản Elementor (Montserrat 17/500/uppercase) */
.header-wrapper .header-bottom .header-bottom-nav > li > a.nav-top-link {
  font-family: Montserrat, sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #ffffff;
}

.header-wrapper .header-bottom .header-bottom-nav > li {
  margin-left: 24px;
  margin-right: 24px;
}

.header-wrapper .header-bottom .header-bottom-nav > li > a.nav-top-link:hover,
.header-wrapper .header-bottom .header-bottom-nav > li.active > a.nav-top-link,
.header-wrapper .header-bottom .header-bottom-nav > li.current-menu-item > a.nav-top-link,
.header-wrapper .header-bottom .header-bottom-nav > li.current_page_item > a.nav-top-link {
  color: #f1f1f1;
}

.header-wrapper .header-bottom .header-bottom-nav > li > a.nav-top-link .icon-angle-down,
.header-wrapper .header-bottom .header-bottom-nav > li > a.nav-top-link i[class*="icon-angle"] {
  display: none !important;
}

.header-wrapper .header-bottom .header-bottom-nav > li.menu-item-has-children > a.nav-top-link::after,
.header-wrapper .header-bottom .header-bottom-nav > li.menu-item-has-children > a.nav-top-link::before,
.header-wrapper .header-bottom .header-bottom-nav > li.has-dropdown > a.nav-top-link::after,
.header-wrapper .header-bottom .header-bottom-nav > li.has-dropdown > a.nav-top-link::before,
.header-wrapper .header-bottom .header-bottom-nav > li.menu-item-has-children::after,
.header-wrapper .header-bottom .header-bottom-nav > li.menu-item-has-children::before,
.header-wrapper .header-bottom .header-bottom-nav > li.has-dropdown::after,
.header-wrapper .header-bottom .header-bottom-nav > li.has-dropdown::before {
  display: none !important;
  content: none !important;
}

/* Dropdown menu (chi ap dung menu dropdown) */
.header-wrapper .header-bottom .header-bottom-nav .sub-menu.nav-dropdown {
  min-width: 280px;
  padding: 14px 15px;
  border: 0;
  background-color: #000000 !important;
}

.header-wrapper .header-bottom .header-bottom-nav .sub-menu.nav-dropdown > li {
  margin: 0;
}

.header-wrapper .header-bottom .header-bottom-nav .sub-menu.nav-dropdown > li > a {
  margin: 0;
  padding: 12px 15px;
  border: 0 !important;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #999999;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-wrapper .header-bottom .header-bottom-nav .sub-menu.nav-dropdown > li > a:hover,
.header-wrapper .header-bottom .header-bottom-nav .sub-menu.nav-dropdown > li.current-menu-item > a,
.header-wrapper .header-bottom .header-bottom-nav .sub-menu.nav-dropdown > li.current_page_item > a {
  color: #f1f1f1;
  background-color: rgba(255, 255, 255, 0.14);
}

/* ===== Single post / single cong-trinh (Flatsome custom) ===== */
.xc-single-layout {
  background: #222222;
  color: #ffffff;
}

.xc-single-layout .xc-single-topbar {
  border-bottom: 1px solid #ffffff;
}

.xc-single-layout .xc-single-breadcrumb {
  padding: 4px 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.xc-single-layout .xc-single-breadcrumb p,
.xc-single-layout .xc-single-breadcrumb a,
.xc-single-layout .xc-single-breadcrumb .separator,
.xc-single-layout .xc-single-breadcrumb .last {
  color: #ffffff;
}

.xc-single-layout .xc-single-hero {
  padding: 56px 0 24px;
}

.xc-single-layout .xc-single-title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  color: #ffffff;
}

.xc-single-layout .xc-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.xc-single-layout .xc-single-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.xc-single-layout .xc-single-content-wrap {
  padding: 24px 0 70px;
  background: #ffffff;
}

.xc-single-layout .xc-single-content,
.xc-single-layout .xc-single-content p,
.xc-single-layout .xc-single-content li,
.xc-single-layout .xc-single-content h2,
.xc-single-layout .xc-single-content h3,
.xc-single-layout .xc-single-content h4 {
  color: #404040;
  font-family: Montserrat, sans-serif;
}

.xc-single-layout .xc-single-content a {
  color: #404040;
  text-decoration: underline;
}

.xc-single-layout .xc-single-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.xc-single-layout .xc-single-related-wrap {
  padding: 70px 0;
  background: #222222;
}

.xc-single-layout .xc-single-related-title {
  margin: 0 0 24px;
  font-family: Montserrat, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
  text-transform: uppercase;
  color: #ffffff;
}

.xc-single-layout .xc-related-slider .post-item {
  width: 33.333333%;
}

.xc-single-layout .xc-single-related-wrap .cong-trinh-imagebox {
  background: #ffffff;
}

.xc-single-layout .xc-single-related-wrap .cong-trinh-imagebox .post-title,
.xc-single-layout .xc-single-related-wrap .cong-trinh-imagebox .post-title a,
.xc-single-layout .xc-single-related-wrap .cong-trinh-imagebox .from_the_blog_excerpt,
.xc-single-layout .xc-single-related-wrap .cong-trinh-imagebox .cong-trinh-date {
  color: #000000;
}

@media (max-width: 1024px) {
  .xc-single-layout .xc-single-hero {
    padding: 40px 0 16px;
  }

  .xc-single-layout .xc-single-title {
    font-size: 25px;
    line-height: 35px;
  }

  .xc-single-layout .xc-single-content-wrap,
  .xc-single-layout .xc-single-related-wrap {
    padding: 40px 0;
  }
}

@media (max-width: 767px) {
  .xc-single-layout .xc-single-title {
    font-size: 20px;
    line-height: 30px;
  }

  .xc-single-layout .xc-single-related-title {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
  }

  .xc-single-layout .xc-related-slider .post-item {
    width: 100%;
  }
}

/* Single product: related products section */
.single-product .xc-single-related-section {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  padding: 100px 24px;
  background-color: #6f6f6f;
  box-sizing: border-box;
  overflow: hidden;
}

.single-product .related.related-products-wrapper.product-section {
  margin-top: 0;
  padding: 0;
  background-color: #6f6f6f;
  border-top: 0 !important;
}

.single-product .related.related-products-wrapper .product-section-title-related {
  margin: 0 auto 32px;
  text-align: center;
  color: #ffffff !important;
  font-family: Montserrat, sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.single-product .related.related-products-wrapper .product-small .product-cat,
.single-product .related.related-products-wrapper .product-small .category {
  display: none !important;
}

.single-product .related.related-products-wrapper .product-small .name,
.single-product .related.related-products-wrapper .product-small .name a {
  color: #ffffff !important;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.single-product .related.related-products-wrapper .product-small .name a {
  color: #ffffff !important;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-product .related.related-products-wrapper .product-small .box-text,
.single-product .related.related-products-wrapper .product-small .title-wrapper,
.single-product .related.related-products-wrapper .product-small .price-wrapper {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

.single-product .related.related-products-wrapper .product-small .box-text {
  padding: 0 !important;
  text-align: left !important;
}

.single-product .related.related-products-wrapper .product-small .price,
.single-product .related.related-products-wrapper .product-small .price * {
  color: #ffffff !important;
}

.single-product .related.related-products-wrapper .product-small .price {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 12px;
  line-height: 1;
}

.single-product .related.related-products-wrapper .product-small .price ins .amount {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.single-product .related.related-products-wrapper .product-small .price del,
.single-product .related.related-products-wrapper .product-small .price del .amount {
  opacity: 1 !important;
}

.single-product .related.related-products-wrapper .product-small .price del .amount {
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 300;
}

.single-product .related.related-products-wrapper .product-small .image-tools,
.single-product .related.related-products-wrapper .product-small .grid-tools,
.single-product .related.related-products-wrapper .product-small .quick-view {
  display: none !important;
}

.single-product .related.related-products-wrapper .product-small .box-image img {
  width: 100%;
  aspect-ratio: 360 / 430;
  object-fit: cover;
}

.single-product .related.related-products-wrapper .row,
.single-product .related.related-products-wrapper .row.row-small {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.single-product .related.related-products-wrapper .product-small .name a:hover,
.single-product .related.related-products-wrapper .product-small .name a:focus {
  color: #ffffff !important;
}

@media (max-width: 1024px) {
  .single-product .xc-single-related-section {
    padding: 50px 24px;
  }

  .single-product .related.related-products-wrapper .product-section-title-related {
    font-size: 25px;
  }

  .single-product .related.related-products-wrapper .product-small .name,
  .single-product .related.related-products-wrapper .product-small .name a {
    font-size: 14px;
  }

  .single-product .related.related-products-wrapper .product-small .price ins .amount {
    font-size: 14px;
  }

  .single-product .related.related-products-wrapper .product-small .price del .amount {
    font-size: 10px;
  }
}

@media (max-width: 767px) {
  .single-product .xc-single-related-section {
    padding: 50px 12px;
  }
}

/* Single product: replace add-to-cart with contact button */
.single-product form.cart {
  display: none !important;
}

.single-product .summary .xc-single-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin: 0 0 14px;
  padding: 14px 0 15px;
  border: 0;
  border-radius: 0;
  background-color: #333333;
  color: #ffffff;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 21px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none !important;
  letter-spacing: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.single-product .summary .xc-single-contact-button:hover,
.single-product .summary .xc-single-contact-button:focus {
  background-color: #222222;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .single-product .summary .xc-single-contact-button {
    font-size: 14px;
    line-height: 17px;
    padding: 17px 0 16px;
  }
}

/* ===== Product archive (match Elementor sample) ===== */
.tax-product_cat .xc-product-archive-page,
.post-type-archive-product .xc-product-archive-page {
  padding-top: 20px;
}

.tax-product_cat .xc-product-archive-row,
.post-type-archive-product .xc-product-archive-row {
  width: 100%;
}

.tax-product_cat .xc-product-archive-row--breadcrumb,
.post-type-archive-product .xc-product-archive-row--breadcrumb {
  margin-bottom: 34px;
}

.tax-product_cat .xc-product-archive-row--title,
.post-type-archive-product .xc-product-archive-row--title {
  margin-bottom: 28px;
}

.tax-product_cat .xc-product-archive-row--title h1,
.post-type-archive-product .xc-product-archive-row--title h1 {
  margin: 0;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  color: #111111;
}

.tax-product_cat .xc-product-archive-row--filter,
.post-type-archive-product .xc-product-archive-row--filter {
  margin-bottom: 34px;
}

.tax-product_cat .xc-product-archive-filter-inner,
.post-type-archive-product .xc-product-archive-filter-inner {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tax-product_cat .xc-product-archive-filter-widget,
.post-type-archive-product .xc-product-archive-filter-widget {
  max-width: 1120px;
  margin: 0 auto;
}

.tax-product_cat .shop-page-title .woocommerce-breadcrumb,
.post-type-archive-product .shop-page-title .woocommerce-breadcrumb {
  display: block;
  width: 100%;
  margin: 0 auto 36px;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: none;
}

.tax-product_cat .xc-archive-title-row,
.post-type-archive-product .xc-archive-title-row {
  margin: 0 0 32px;
}

.tax-product_cat .xc-archive-filter-row,
.post-type-archive-product .xc-archive-filter-row {
  margin: 0 0 34px;
}

.tax-product_cat .xc-archive-filter-row__inner,
.post-type-archive-product .xc-archive-filter-row__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tax-product_cat .xc-archive-filter-row__left,
.post-type-archive-product .xc-archive-filter-row__left {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-width: 0;
}

.tax-product_cat .xc-archive-filter-row__right,
.post-type-archive-product .xc-archive-filter-row__right {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.tax-product_cat .xc-archive-filter-row .category-filtering,
.post-type-archive-product .xc-archive-filter-row .category-filtering {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tax-product_cat .xc-archive-filter-row .category-filtering .inline-block,
.post-type-archive-product .xc-archive-filter-row .category-filtering .inline-block {
  margin: 0;
}

.tax-product_cat .xc-archive-filter-row .woocommerce-ordering,
.post-type-archive-product .xc-archive-filter-row .woocommerce-ordering {
  margin: 0;
  float: none;
}

.tax-product_cat .xc-archive-filter-row .woocommerce-ordering .orderby,
.post-type-archive-product .xc-archive-filter-row .woocommerce-ordering .orderby {
  min-width: 240px;
}

.tax-product_cat .xc-archive-title-row .xc-archive-top-title,
.post-type-archive-product .xc-archive-title-row .xc-archive-top-title {
  margin: 0;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  color: #111111;
}

.tax-product_cat .shop-page-title .woocommerce-breadcrumb .divider,
.post-type-archive-product .shop-page-title .woocommerce-breadcrumb .divider {
  opacity: 1;
}

.tax-product_cat .shop-page-title .woocommerce-ordering,
.post-type-archive-product .shop-page-title .woocommerce-ordering {
  margin: 0;
}

.tax-product_cat .shop-page-title .woocommerce-ordering .orderby,
.post-type-archive-product .shop-page-title .woocommerce-ordering .orderby {
  min-width: 210px;
  height: 40px;
  border: 1px solid #cccccc;
  border-radius: 0;
  box-shadow: none;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #404040;
}

.tax-product_cat .shop-page-title .woocommerce-result-count,
.post-type-archive-product .shop-page-title .woocommerce-result-count {
  display: none;
}

.tax-product_cat .term-description,
.post-type-archive-product .term-description {
  max-width: 1120px;
  margin: 0 auto 56px;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #4e4e4e;
}

.tax-product_cat .term-description.is-collapsed,
.post-type-archive-product .term-description.is-collapsed {
  max-height: 76px;
  overflow: hidden;
}

.tax-product_cat .xc-term-desc-toggle-wrap,
.post-type-archive-product .xc-term-desc-toggle-wrap {
  margin-top: 16px;
  margin-bottom: 48px;
  text-align: center;
}

.tax-product_cat .xc-term-desc-toggle,
.post-type-archive-product .xc-term-desc-toggle {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #171717;
  text-decoration: underline;
}

.tax-product_cat .products.row,
.post-type-archive-product .products.row {
  row-gap: 40px;
}

.tax-product_cat .products .product-small .badge-container,
.tax-product_cat .products .product-small .grid-tools,
.post-type-archive-product .products .product-small .badge-container,
.post-type-archive-product .products .product-small .grid-tools {
  display: none !important;
}

.tax-product_cat .products .product-small .box-image,
.post-type-archive-product .products .product-small .box-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 430px !important;
  min-height: 430px !important;
  padding-top: 0 !important;
  margin-bottom: 12px;
}

.tax-product_cat .products .product-small .box-image > a,
.tax-product_cat .products .product-small .box-image .image-fade_in_back,
.post-type-archive-product .products .product-small .box-image > a,
.post-type-archive-product .products .product-small .box-image .image-fade_in_back {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.tax-product_cat .products .product-small .box-image .image-fade_in_back > a,
.post-type-archive-product .products .product-small .box-image .image-fade_in_back > a {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.tax-product_cat .products .product-small .box-image img,
.post-type-archive-product .products .product-small .box-image img {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
}

.tax-product_cat .products .product-small .box-image .image-cover,
.post-type-archive-product .products .product-small .box-image .image-cover {
  padding-top: 119.444% !important;
}

.tax-product_cat .products .product-small .box-image .image-cover img,
.post-type-archive-product .products .product-small .box-image .image-cover img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.tax-product_cat .products .product-small .box-image .show-on-hover.back-image,
.post-type-archive-product .products .product-small .box-image .show-on-hover.back-image {
  width: 100% !important;
  height: 100% !important;
}

.tax-product_cat .products .product-small .box-text,
.post-type-archive-product .products .product-small .box-text {
  height: auto !important;
  padding: 0 !important;
  text-align: left !important;
}

.tax-product_cat .products .product-small .name,
.post-type-archive-product .products .product-small .name {
  height: auto !important;
  margin: 0 0 12px !important;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.tax-product_cat .products .product-small .name a,
.post-type-archive-product .products .product-small .name a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #171717;
  font-weight: 700;
}

.tax-product_cat .products .product-small .price-wrapper,
.post-type-archive-product .products .product-small .price-wrapper {
  height: auto !important;
}

.tax-product_cat .products .product-small .price,
.post-type-archive-product .products .product-small .price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
  line-height: 1.2;
}

.tax-product_cat .products .product-small .price ins .amount,
.post-type-archive-product .products .product-small .price ins .amount {
  color: #191919;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.tax-product_cat .products .product-small .price del .amount,
.post-type-archive-product .products .product-small .price del .amount {
  color: #7a7a7a;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 600;
  opacity: 1;
}

.tax-product_cat .products .product-small .price del,
.post-type-archive-product .products .product-small .price del {
  opacity: 1;
  text-decoration-thickness: 1px;
}

.tax-product_cat .products .product-small .price .woocommerce-Price-currencySymbol,
.post-type-archive-product .products .product-small .price .woocommerce-Price-currencySymbol {
  font-size: 0.95em;
}

.tax-product_cat .xc-product-archive-extra-block,
.post-type-archive-product .xc-product-archive-extra-block {
  margin-top: 100px;
}

.xc-product-archive-extra-block .xc-loi-ich-list {
  display: grid;
  gap: 12px;
  text-align: left;
  justify-items: start;
}

.xc-product-archive-extra-block .xc-loi-ich-item {
  position: relative;
  padding-left: 20px;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: #ffffff;
}

.xc-product-archive-extra-block .xc-cat-block-loi-ich .box-text,
.xc-product-archive-extra-block .xc-cat-block-loi-ich .box-text.text-center,
.xc-product-archive-extra-block .xc-cat-block-loi-ich .box-text.text-center > .box-text-inner {
  text-align: left !important;
}

.xc-product-archive-extra-block .xc-cat-block-loi-ich .box-text.text-center > .box-text-inner {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.xc-product-archive-extra-block .xc-loi-ich-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 8px;
  height: 8px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  transform: translateY(-50%);
}

.xc-product-archive-extra-block .xc-loi-ich-heading {
  margin: 0 0 32px;
  font-family: Montserrat, sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
}

.xc-product-archive-extra-block .xc-loi-ich-desc {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
}

.xc-product-archive-extra-block .xc-loi-ich-heading::first-letter {
  color: #ffffff;
}

.xc-product-archive-extra-block .xc-loi-ich-heading .white-text,
.xc-product-archive-extra-block .xc-loi-ich-heading .xc-loi-ich-highlight {
  color: #ffffff;
  font-weight: 700;
}

.xc-product-archive-extra-block .xc-cat-block-loi-ich .box.box-image-bottom {
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;
}

.xc-product-archive-extra-block .xc-cat-block-loi-ich .box.box-image-bottom .box-text {
  padding-top: 0;
  padding-bottom: 0;
}

.xc-product-archive-extra-block .xc-cat-block-loi-ich .box.box-image-bottom .box-image {
  margin-top: 0;
}

.xc-product-archive-extra-block .xc-contact-heading {
  margin: 0 0 24px;
  font-family: Montserrat, sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: #171717;
}

.xc-product-archive-extra-block .xc-contact-subtitle {
  margin: 0 0 32px;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #4e4e4e;
}

.xc-product-archive-extra-block .xc-contact-label {
  margin: 32px 0 13px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #4e4e4e;
}

.xc-product-archive-extra-block .xc-contact-hotline {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: #171717;
}

.xc-product-archive-extra-block .xc-cat-block-fabric {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  background: #ffffff !important;
  color: #171717 !important;
}

.xc-product-archive-extra-block .xc-cat-block-fabric.dark,
.xc-product-archive-extra-block .xc-cat-block-fabric.dark p,
.xc-product-archive-extra-block .xc-cat-block-fabric.dark h2,
.xc-product-archive-extra-block .xc-cat-block-fabric.dark h4 {
  color: #171717 !important;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .section-content > .row:first-child {
  margin-bottom: 36px;
}

.xc-product-archive-extra-block .xc-cat-block-fabric #text-1857220947 h2 {
  margin: 0 0 18px;
  font-family: Montserrat, sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #171717 !important;
}

.xc-product-archive-extra-block .xc-cat-block-fabric #text-1857220947 p {
  max-width: 760px;
  margin: 0 auto;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #4e4e4e !important;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider {
  display: block;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider:not(.flickity-enabled) {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider:not(.flickity-enabled)::-webkit-scrollbar {
  display: none;
}


.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider .col {
  width: calc((100% - 116px) / 3);
  max-width: calc((100% - 116px) / 3);
  padding: 0;
  margin-right: 58px;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider:not(.flickity-enabled) .col {
  flex: 0 0 calc((100% - 116px) / 3);
  scroll-snap-align: start;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider .col:last-child {
  margin-right: 0;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider .box {
  margin: 0;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider .box-image img {
  width: 100%;
  aspect-ratio: 335 / 293;
  object-fit: cover;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider .box-text,
.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider .box-text.text-center,
.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider .box-text.text-center > .box-text-inner {
  text-align: left !important;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider .box-text {
  padding: 12px 0 0;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider h4 {
  margin: 0 0 5px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #171717 !important;
}

.xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider p {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #4e4e4e !important;
}

.xc-product-archive-extra-block .xc-cat-block-area {
  background-color: #222222;
  padding: 100px 24px !important;
}

.xc-product-archive-extra-block .xc-cat-block-area .section-content > .row:first-child {
  margin-bottom: 64px;
}

.xc-product-archive-extra-block .xc-cat-block-area .section-content > .row:first-child > .col > .col-inner > p {
  margin: 0;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.2;
  color: #d7d7d7;
}

.xc-product-archive-extra-block .xc-cat-block-area #col-319938252 > .col-inner > p .white-text {
  color: #ffffff;
}

.xc-product-archive-extra-block .xc-cat-block-area .xc-area-title {
  margin: 0;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.2;
  color: #d7d7d7;
}

.xc-product-archive-extra-block .xc-cat-block-area .xc-area-title .xc-area-title-highlight {
  color: #ffffff;
}

.xc-product-archive-extra-block .xc-cat-block-area .section-content > .row:last-child {
  display: flex;
  flex-wrap: wrap;
  row-gap: 40px;
}

.xc-product-archive-extra-block .xc-cat-block-area .section-content > .row:last-child > .col {
  padding: 0 18px 0;
}

.xc-product-archive-extra-block .xc-cat-block-area .box {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.xc-product-archive-extra-block .xc-cat-block-area .box-image img {
  width: 100%;
  aspect-ratio: 300 / 350;
  object-fit: cover;
}

.xc-product-archive-extra-block .xc-cat-block-area .box-image,
.xc-product-archive-extra-block .xc-cat-block-area .box-text {
  width: 100%;
  max-width: 100%;
}

.xc-product-archive-extra-block .xc-cat-block-area .box.image-bottom {
  flex-direction: column-reverse;
}

.xc-product-archive-extra-block .xc-cat-block-area .box-text,
.xc-product-archive-extra-block .xc-cat-block-area .box-text.text-center,
.xc-product-archive-extra-block .xc-cat-block-area .box-text.text-center > .box-text-inner {
  text-align: left !important;
}

.xc-product-archive-extra-block .xc-cat-block-area .box-text {
  width: 100%;
  max-width: 100%;
  padding: 24px 0 0 !important;
  box-sizing: border-box;
}

.xc-product-archive-extra-block .xc-cat-block-area .box-text.text-center {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner {
  width: 100%;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > p:first-child,
.xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > h4,
.xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > .xc-area-card-title {
  margin: 0 0 10px;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
  color: #ffffff;
}

.xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > p:last-child,
.xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > .xc-area-card-desc {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #c9c9c9;
}

.xc-product-archive-extra-block .xc-cat-block-why {
  background-color: #ffffff !important;
  padding: 100px 24px !important;
}

.xc-product-archive-extra-block .xc-cat-block-why .section-content > .row {
  align-items: flex-start;
}

.xc-product-archive-extra-block .xc-cat-block-why .box {
  margin: 0;
}

.xc-product-archive-extra-block .xc-cat-block-why .box-image,
.xc-product-archive-extra-block .xc-cat-block-why .box-text {
  width: 100%;
  max-width: 100%;
}

.xc-product-archive-extra-block .xc-cat-block-why .box-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.xc-product-archive-extra-block .xc-cat-block-why > .section-content > .row > .col:first-child > .col-inner > .box {
  display: flex;
  flex-direction: column;
  gap: 62px;
}

.xc-product-archive-extra-block .xc-cat-block-why .xc-why-list-grid {
  margin: 0 -15px;
  display: flex;
  flex-wrap: wrap;
}

.xc-product-archive-extra-block .xc-cat-block-why .xc-why-list-col {
  width: 50%;
  padding: 0 15px;
}

.xc-product-archive-extra-block .xc-cat-block-why .xc-why-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.xc-product-archive-extra-block .xc-cat-block-why .xc-why-item {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  color: #4e4e4e;
}

.xc-product-archive-extra-block .xc-cat-block-why .xc-why-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid #4e4e4e;
  border-radius: 50%;
  transform: translateY(-50%);
}

.xc-product-archive-extra-block .xc-cat-block-why > .section-content > .row > .col .box.image-bottom {
  display: flex;
  flex-direction: column-reverse;
  gap: 36px;
  height: 100%;
}

.xc-product-archive-extra-block .xc-cat-block-why .box-text,
.xc-product-archive-extra-block .xc-cat-block-why .box-text.text-center,
.xc-product-archive-extra-block .xc-cat-block-why .box-text.text-center > .box-text-inner {
  text-align: left !important;
}

.xc-product-archive-extra-block .xc-cat-block-why .box-text {
  padding: 8px 0 0 !important;
}

.xc-product-archive-extra-block .xc-cat-block-why .box-text.text-center {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.xc-product-archive-extra-block .xc-cat-block-why .box-text .box-text-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
}

.xc-product-archive-extra-block .xc-cat-block-why .xc-why-title {
  margin: 0 0 32px;
  font-family: Montserrat, sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.2;
  color: #171717;
}

.xc-product-archive-extra-block .xc-cat-block-why .xc-why-title .xc-why-title-highlight {
  color: #4e4e4e;
}

.xc-product-archive-extra-block .xc-cat-block-why .xc-why-desc {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #4e4e4e;
}

.xc-product-archive-extra-block .xc-cat-block-process {
  background: #222222;
  padding: 100px 0 !important;
  overflow: hidden;
}

.xc-product-archive-extra-block .xc-cat-block-process .section-content > .row:first-child {
  margin-bottom: 40px;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-process-title,
.xc-product-archive-extra-block .xc-cat-block-process .section-content > .row:first-child > .col > .col-inner > p {
  margin: 0;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-process-title .xc-process-title-sub,
.xc-product-archive-extra-block .xc-cat-block-process .section-content > .row:first-child > .col > .col-inner > p .gray-text {
  color: #808080;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider {
  width: 100%;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .col {
  width: min(100%, 980px);
  max-width: 980px;
  flex-basis: auto;
  padding: 0 73px;
  opacity: 0.1;
  transform: scale(0.82);
  transition: transform 600ms ease, opacity 600ms ease;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider.flickity-enabled .col.is-selected {
  opacity: 1;
  transform: scale(1);
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider.flickity-enabled .flickity-viewport {
  overflow: visible;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box {
  margin: 0 auto;
  max-width: min(100%, 1565px);
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-text,
.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-text.text-center,
.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-text.text-center > .box-text-inner {
  text-align: center !important;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-text {
  padding: 0 !important;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-text.text-center {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-text .box-text-inner {
  width: 100%;
  max-width: 740px;
  margin: 0 auto !important;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .xc-process-card-title,
.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-text .box-text-inner > p:first-child {
  margin: 0 0 10px;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
  color: #ffffff;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .xc-process-card-desc,
.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-text .box-text-inner > p:last-child {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-image img {
  width: 100%;
  aspect-ratio: 928 / 511;
  object-fit: cover;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-process-progress {
  width: 200px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-process-progress__label {
  min-width: 56px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-process-progress__bar {
  position: relative;
  flex: 1;
  height: 2px;
  background: #b2b2b2;
}

.xc-product-archive-extra-block .xc-cat-block-process .xc-process-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 33.3333%;
  background: #ffffff;
  transition: width 300ms ease;
}

@media (max-width: 1024px) {
  .tax-product_cat .products .product-small .box-image,
  .post-type-archive-product .products .product-small .box-image {
    height: 300px !important;
    min-height: 300px !important;
  }

  .tax-product_cat .xc-product-archive-page,
  .post-type-archive-product .xc-product-archive-page {
    padding-top: 8px;
  }

  .tax-product_cat .xc-product-archive-row--breadcrumb,
  .post-type-archive-product .xc-product-archive-row--breadcrumb {
    margin-bottom: 20px;
  }

  .tax-product_cat .xc-product-archive-row--title,
  .post-type-archive-product .xc-product-archive-row--title {
    margin-bottom: 18px;
  }

  .tax-product_cat .xc-product-archive-row--title h1,
  .post-type-archive-product .xc-product-archive-row--title h1 {
    font-size: 28px;
  }

  .tax-product_cat .xc-archive-title-row,
  .post-type-archive-product .xc-archive-title-row {
    margin-bottom: 20px;
  }

  .tax-product_cat .xc-archive-filter-row,
  .post-type-archive-product .xc-archive-filter-row {
    margin-bottom: 22px;
  }

  .tax-product_cat .xc-archive-filter-row__inner,
  .post-type-archive-product .xc-archive-filter-row__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .tax-product_cat .xc-archive-filter-row__left,
  .tax-product_cat .xc-archive-filter-row__right,
  .post-type-archive-product .xc-archive-filter-row__left,
  .post-type-archive-product .xc-archive-filter-row__right {
    width: 100%;
    justify-content: center;
  }

  .tax-product_cat .xc-archive-filter-row .woocommerce-ordering .orderby,
  .post-type-archive-product .xc-archive-filter-row .woocommerce-ordering .orderby {
    min-width: min(100%, 320px);
  }

  .tax-product_cat .xc-archive-title-row .xc-archive-top-title,
  .post-type-archive-product .xc-archive-title-row .xc-archive-top-title {
    font-size: 28px;
  }

  .tax-product_cat .xc-product-archive-row--filter,
  .post-type-archive-product .xc-product-archive-row--filter {
    margin-bottom: 22px;
  }

  .tax-product_cat .products.row,
  .post-type-archive-product .products.row {
    row-gap: 24px;
  }

  .tax-product_cat .products .product-small .name,
  .post-type-archive-product .products .product-small .name {
    font-size: 14px;
  }

  .tax-product_cat .products .product-small .price ins .amount,
  .post-type-archive-product .products .product-small .price ins .amount {
    font-size: 16px;
  }

  .tax-product_cat .products .product-small .price del .amount,
  .post-type-archive-product .products .product-small .price del .amount {
    font-size: 11px;
  }

  .xc-product-archive-extra-block .xc-loi-ich-item {
    font-size: 14px;
  }

  .xc-product-archive-extra-block .xc-loi-ich-heading {
    margin-bottom: 24px;
    font-size: 22px;
  }

  .xc-product-archive-extra-block .xc-loi-ich-desc {
    font-size: 14px;
  }

  .xc-product-archive-extra-block .xc-contact-heading {
    margin-bottom: 18px;
    font-size: 25px;
    letter-spacing: 0;
  }

  .xc-product-archive-extra-block .xc-contact-subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .xc-product-archive-extra-block .xc-contact-label {
    font-size: 14px;
  }

  .xc-product-archive-extra-block .xc-contact-hotline {
    font-size: 22px;
  }

  .xc-product-archive-extra-block .xc-cat-block-fabric {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-fabric #text-1857220947 h2 {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .xc-product-archive-extra-block .xc-cat-block-fabric #text-1857220947 p {
    font-size: 14px;
    line-height: 1.5;
  }

  .xc-product-archive-extra-block .xc-cat-block-area {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .section-content > .row:first-child {
    margin-bottom: 32px;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .section-content > .row:first-child > .col > .col-inner > p {
    font-size: 22px;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .xc-area-title {
    font-size: 22px;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .section-content > .row:last-child {
    row-gap: 32px;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > p:first-child,
  .xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > h4,
  .xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > .xc-area-card-title {
    font-size: 16px;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > p:last-child,
  .xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > .xc-area-card-desc {
    font-size: 14px;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .box {
    gap: 24px;
  }

  .xc-product-archive-extra-block .xc-cat-block-why {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-why > .section-content > .row > .col:first-child > .col-inner > .box {
    gap: 24px;
  }

  .xc-product-archive-extra-block .xc-cat-block-why .xc-why-item {
    font-size: 14px;
  }

  .xc-product-archive-extra-block .xc-cat-block-why .xc-why-title {
    margin-bottom: 24px;
    font-size: 22px;
  }

  .xc-product-archive-extra-block .xc-cat-block-why .xc-why-desc {
    font-size: 14px;
  }

  .xc-product-archive-extra-block .xc-cat-block-why > .section-content > .row > .col .box.image-bottom {
    gap: 24px;
  }

  .xc-product-archive-extra-block .xc-cat-block-process {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .section-content > .row:first-child {
    margin-bottom: 0;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-process-title,
  .xc-product-archive-extra-block .xc-cat-block-process .section-content > .row:first-child > .col > .col-inner > p {
    font-size: 22px;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box {
    gap: 30px;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .col {
    width: min(100%, 860px);
    max-width: 860px;
    padding: 0 30px;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .xc-process-card-title,
  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-text .box-text-inner > p:first-child {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .xc-process-card-desc,
  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box-text .box-text-inner > p:last-child {
    font-size: 14px;
  }

  .xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider .col {
    width: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    margin-right: 20px;
  }

  .xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider:not(.flickity-enabled) .col {
    flex-basis: calc((100% - 40px) / 3);
  }

  .tax-product_cat .xc-product-archive-extra-block,
  .post-type-archive-product .xc-product-archive-extra-block {
    margin-top: 50px;
  }
}

@media (max-width: 549px) {
  .tax-product_cat .products .product-small .box-image,
  .post-type-archive-product .products .product-small .box-image {
    height: 230px !important;
    min-height: 230px !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-fabric .section-content > .row:first-child {
    margin-bottom: 24px;
  }

  .xc-product-archive-extra-block .xc-cat-block-area {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .section-content > .row:first-child > .col > .col-inner > p {
    font-size: 20px;
    line-height: 1.5;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .xc-area-title {
    font-size: 20px;
    line-height: 1.5;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .section-content > .row:last-child > .col {
    padding: 0 0 18px;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > p:first-child,
  .xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > h4,
  .xc-product-archive-extra-block .xc-cat-block-area .box-text .box-text-inner > .xc-area-card-title {
    margin-bottom: 12px;
    text-align: center;
  }

  .xc-product-archive-extra-block .xc-cat-block-area .box,
  .xc-product-archive-extra-block .xc-cat-block-area .box.image-bottom {
    flex-direction: column !important;
    gap: 16px;
  }

  .xc-product-archive-extra-block .xc-cat-block-why {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-why > .section-content > .row > .col:first-child > .col-inner > .box {
    gap: 20px;
  }

  .xc-product-archive-extra-block .xc-cat-block-why .xc-why-list-col {
    width: 100%;
  }

  .xc-product-archive-extra-block .xc-cat-block-why .xc-why-list-col:first-child .xc-why-list {
    margin-bottom: 12px;
  }

  .xc-product-archive-extra-block .xc-cat-block-why .xc-why-title {
    margin-bottom: 18px;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
  }

  .xc-product-archive-extra-block .xc-cat-block-why > .section-content > .row > .col .box.image-bottom {
    gap: 18px;
  }

  .xc-product-archive-extra-block .xc-cat-block-process {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-process-title,
  .xc-product-archive-extra-block .xc-cat-block-process .section-content > .row:first-child > .col > .col-inner > p {
    font-size: 20px;
    line-height: 1.5;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .box {
    gap: 20px;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .col {
    width: 100%;
    max-width: 100%;
    padding: 0;
    opacity: 1;
    transform: none;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-process-progress {
    width: 180px;
    margin-top: 16px;
    gap: 10px;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-process-progress__label {
    min-width: 52px;
    font-size: 13px;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider.row-full-width {
    max-width: 1270px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .flickity-viewport {
    overflow: hidden !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-process .xc-cat-block-process-slider .col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider .col {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider:not(.flickity-enabled) .col {
    flex-basis: 100%;
  }

  .xc-product-archive-extra-block .xc-cat-block-fabric .row-fabric-slider h4 {
    margin-bottom: 8px;
    text-align: center;
  }

}