/* Page Template - Reduced Heading Sizes */
.page-wrapper h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 118%;
  margin-bottom: 30px;
}

.page-wrapper h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 125%;
  margin-bottom: 25px;
}

.page-wrapper h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 133%;
  margin-bottom: 20px;
}

.page-wrapper h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-wrapper h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-wrapper h6 {
  font-size: 14px;
  font-weight: 600;
  line-height: 145%;
  margin-bottom: 12px;
}

@media (max-width: 1199px) {
  .page-wrapper h2 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .page-wrapper h1 {
    font-size: 36px;
    line-height: 1.22;
  }

  .page-wrapper h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .page-wrapper h3 {
    font-size: 18px;
    line-height: 1.35;
  }

  .page-wrapper h4 {
    font-size: 16px;
    line-height: 1.35;
  }

  .page-wrapper h5 {
    font-size: 15px;
    line-height: 1.4;
  }

  .page-wrapper h6 {
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (max-width: 575px) {
  .page-wrapper h1 {
    font-size: 30px;
  }

  .page-wrapper h2 {
    font-size: 24px;
  }

  .page-wrapper h3 {
    font-size: 16px;
  }

  .page-wrapper h4 {
    font-size: 15px;
  }

  .page-wrapper h5 {
    font-size: 14px;
  }

  .page-wrapper h6 {
    font-size: 12px;
  }
}

.hero-3 h1 {
  font-size: 48px!important;
  margin-bottom: 0;
}

.text-justify {
  text-align: justify!important;
}

@media (max-width: 767px) {
  h1 {
    font-size: 40px;
    line-height: 1.22;
  }

  h2 {
    font-size: 32px;
    line-height: 1.25;
  }

  h3 {
    font-size: 20px;
    line-height: 1.35;
  }

  h4 {
    font-size: 18px;
    line-height: 1.35;
  }

  h5 {
    font-size: 16px;
    line-height: 1.4;
  }

  h6 {
    font-size: 14px;
    line-height: 1.45;
  }

  .section-title h2 {
    font-size: 30px;
    line-height: 1.25;
  }

  .section-title h3 {
    font-size: 22px;
    line-height: 1.3;
  }

  .section-title h6 {
    font-size: 14px;
  }

  .breadcrumb-wrapper .page-heading h1 {
    font-size: 32px;
    line-height: 1.25;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 17px;
  }

  h5 {
    font-size: 15px;
  }

  h6 {
    font-size: 13px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .section-title h3 {
    font-size: 20px;
  }

  .section-title h6 {
    font-size: 12px;
  }

  .breadcrumb-wrapper .page-heading h1 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .hero-3 h1 {
    font-size: 32px!important;
    margin-bottom: 20px;
  }
}

@media (max-width: 575px) {
  .breadcrumb-wrapper .page-heading h1 {
    font-size: 28px;
  }
}

/* Override: make h2 in single post content smaller */
.blog-wrapper .single-blog-post .post-content h2 {
  font-size: 28px !important;
  line-height: 1.35;
}

@media (max-width: 575px) {
  .blog-wrapper .single-blog-post .post-content h2 {
    font-size: 20px !important;
  }
}

@media (max-width: 414px) {
  .blog-wrapper .single-blog-post .post-content h2 {
    font-size: 18px !important;
  }
}

@media (max-width: 767px) {
  .shop-details-wrapper .single-tab .nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .shop-details-wrapper .single-tab .nav .nav-item,
  .shop-details-wrapper .single-tab .nav .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* Center post images and make them full-width of their container */
.blog-wrapper .single-blog-post .post-content img,
.blog-wrapper .single-blog-post .post-content figure img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Ensure figures are centered, stay within the container, and keep caption below the image */
.blog-wrapper .single-blog-post .post-content figure,
.blog-wrapper .single-blog-post .post-content figure.wp-caption {
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  max-width: 100% !important; /* override inline width if present */
  width: 100% !important;
}
.blog-wrapper .single-blog-post .post-content figure img,
.blog-wrapper .single-blog-post .post-content figure.wp-caption img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}
.blog-wrapper .single-blog-post .post-content figure figcaption,
.blog-wrapper .single-blog-post .post-content .wp-caption-text {
  display: block;
  position: static;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.08);
  color: #111;
  text-align: center;
  font-size: 14px;
  box-sizing: border-box;
}
.blog-wrapper .single-blog-post .post-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* CTA call button for post content */
.blog-wrapper .single-blog-post .post-content .austdoor-cta-box {
  margin: 28px 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.blog-wrapper .single-blog-post .post-content .austdoor-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5b5b 0%, #d91f26 45%, #b3131d 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(217, 31, 38, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  isolation: isolate;
  animation: austdoorCtaGlow 1.9s ease-in-out infinite;
}

.blog-wrapper .single-blog-post .post-content .austdoor-cta-button::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.34) 50%, transparent 65%);
  transform: translateX(-120%);
  opacity: 0.55;
  animation: austdoorCtaSheen 2.8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.blog-wrapper .single-blog-post .post-content .austdoor-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(217, 31, 38, 0.42);
  filter: saturate(1.06);
}

.blog-wrapper .single-blog-post .post-content .austdoor-cta-button:hover::before {
  animation-duration: 1.8s;
}

.blog-wrapper .single-blog-post .post-content .austdoor-cta-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex: 0 0 52px;
  font-size: 20px;
  position: relative;
  z-index: 1;
}

.blog-wrapper .single-blog-post .post-content .austdoor-cta-button__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.blog-wrapper .single-blog-post .post-content .austdoor-cta-button__text {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.blog-wrapper .single-blog-post .post-content .austdoor-cta-button__phone {
  font-size: 15px;
  line-height: 1.2;
  opacity: 0.92;
}

.blog-wrapper .single-blog-post .post-content .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes austdoorCtaGlow {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(217, 31, 38, 0.26), 0 0 0 0 rgba(255, 91, 91, 0.18);
  }

  50% {
    box-shadow: 0 20px 44px rgba(217, 31, 38, 0.38), 0 0 0 8px rgba(255, 91, 91, 0);
  }
}

@keyframes austdoorCtaSheen {
  0% {
    transform: translateX(-120%);
  }

  60% {
    transform: translateX(120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 575px) {
  .blog-wrapper .single-blog-post .post-content .austdoor-cta-button {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .blog-wrapper .single-blog-post .post-content .austdoor-cta-button__icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    font-size: 18px;
  }

  .blog-wrapper .single-blog-post .post-content .austdoor-cta-button__text {
    font-size: 16px;
  }

  .blog-wrapper .single-blog-post .post-content .austdoor-cta-button__phone {
    font-size: 14px;
  }
}

/* Contact form select: always show border and use white dropdown background */
.contact-wrapper-3 .contact-content .contact-form-items .form-clt .nice-select {
  width: 100%;
  background-color: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.contact-wrapper-3 .contact-content .contact-form-items .form-clt .nice-select:hover,
.contact-wrapper-3 .contact-content .contact-form-items .form-clt .nice-select:focus,
.contact-wrapper-3 .contact-content .contact-form-items .form-clt .nice-select.open {
  border-color: var(--border);
}

.contact-wrapper-3 .contact-content .contact-form-items .form-clt .nice-select .current {
  color: var(--text);
}

.contact-wrapper-3 .contact-content .contact-form-items .form-clt .nice-select .list {
  width: 100%;
  background-color: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

/* Product select in contact form: show full labels and allow horizontal scroll */
.contact-wrapper-3 .contact-content .contact-form-items #product-select-wrap .nice-select .current {
  display: block;
  padding-right: 26px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

.contact-wrapper-3 .contact-content .contact-form-items #product-select-wrap .nice-select .list {
  max-height: 260px;
  overflow-y: auto;
  overflow-x: auto;
}

.contact-wrapper-3 .contact-content .contact-form-items #product-select-wrap .nice-select .option {
  display: block;
  width: max-content;
  min-width: 100%;
  overflow: visible;
  white-space: nowrap;
  text-overflow: clip;
}

.contact-wrapper-3 .contact-content .contact-form-items .form-clt .nice-select .option {
  color: var(--text);
  background-color: #fff;
}

.contact-wrapper-3 .contact-content .contact-form-items .form-clt .nice-select .option:hover,
.contact-wrapper-3 .contact-content .contact-form-items .form-clt .nice-select .option.focus,
.contact-wrapper-3 .contact-content .contact-form-items .form-clt .nice-select .option.selected.focus {
  background-color: #f5f5f5;
}

.footer-newsletter-message {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-newsletter-message.success {
  color: #b9f6ca;
}

.footer-newsletter-message.error {
  color: #ffb3b3;
}

button.is-loading,
input.is-loading[type='submit'] {
  position: relative;
  pointer-events: none;
}

button.is-loading > *,
input.is-loading[type='submit'] > * {
  opacity: 0;
}

button.is-loading::after,
input.is-loading[type='submit']::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: austdoor-loading-spin 0.7s linear infinite;
}

@keyframes austdoor-loading-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Install roller doors page: responsive typography (mobile first) */
.install-roller-page .section-title h6 {
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.install-roller-page .section-title h2 {
  font-size: clamp(26px, 3.1vw, 48px);
  line-height: 1.2;
}

.install-roller-page .about-content p,
.install-roller-page .service-items.style-2 .content p,
.install-roller-page .work-process-content p,
.install-roller-page .achievement-content p {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
}

.install-roller-page .about-list ul li {
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.7;
}

.install-roller-page .service-items.style-2 .content h3 {
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.35;
}

.install-roller-page .work-process-content h3 {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.35;
}

.install-roller-page .work-process-content .number {
  font-size: clamp(38px, 3vw, 58px);
  line-height: 1;
}

.install-roller-page .counter-item .content h2 {
  font-size: clamp(30px, 2.2vw, 42px);
  line-height: 1.15;
}

.install-roller-page .counter-item .content p {
  font-size: clamp(14px, 0.95vw, 16px);
}

@media (max-width: 767px) {
  .install-roller-page .section-title h2 {
    font-size: 24px;
    line-height: 1.28;
  }

  .install-roller-page .section-title h6 {
    font-size: 12px;
    line-height: 1.75;
  }

  .install-roller-page .about-content p,
  .install-roller-page .service-items.style-2 .content p,
  .install-roller-page .work-process-content p,
  .install-roller-page .achievement-content p,
  .install-roller-page .about-list ul li {
    font-size: 15px;
    line-height: 1.72;
  }

  .install-roller-page .service-items.style-2 .content h3,
  .install-roller-page .work-process-content h3 {
    font-size: 19px;
    line-height: 1.35;
  }

  .install-roller-page .work-process-content .number {
    font-size: 34px;
  }
}

@media (max-width: 575px) {
  .install-roller-page .section-title h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .install-roller-page .service-items.style-2 .content h3,
  .install-roller-page .work-process-content h3 {
    font-size: 18px;
  }

  .install-roller-page .counter-item .content h2 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .install-roller-page h2 {
    text-align: center !important;
  }
}

.contact-hero-section {
  padding-top: 24px;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.contact-hero-copy,
.contact-map-panel,
.contact-info-badge,
.contact-section-4 .contact-wrapper-3 {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
}

.product-filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #fbfbf8 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: visible;
  z-index: 20;
}

.product-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr) auto;
  gap: 16px;
  align-items: end;
}

.product-filter-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 14px;
  font-weight: 700;
}

.product-filter-input-wrap {
  position: relative;
}

.product-filter-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--theme);
  font-size: 16px;
  pointer-events: none;
}

.product-filter-field input,
.product-filter-field select {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-filter-field input {
  padding-left: 48px;
}

.product-filter-field .nice-select {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  padding-left: 18px;
  padding-right: 42px;
  position: relative;
  z-index: 25;
}

.product-filter-field .nice-select .current {
  color: var(--text);
  font-weight: 500;
  line-height: 1.2;
}

.product-filter-field .nice-select .list {
  width: 100%;
  margin-top: 8px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  z-index: 60;
}

.product-filter-field .nice-select .option {
  color: var(--text);
}

.product-filter-field .nice-select .option:hover,
.product-filter-field .nice-select .option.focus,
.product-filter-field .nice-select .option.selected.focus {
  background: rgba(166, 161, 130, 0.1);
  color: var(--heading);
}

.product-filter-field .nice-select:after {
  right: 18px;
  border-color: var(--theme);
  width: 8px;
  height: 8px;
  margin-top: -5px;
}

.product-filter-field .nice-select.open {
  border-color: rgba(166, 161, 130, 0.65);
  box-shadow: 0 0 0 4px rgba(166, 161, 130, 0.14);
}

.product-filter-field input:focus,
.product-filter-field select:focus {
  border-color: rgba(166, 161, 130, 0.65);
  box-shadow: 0 0 0 4px rgba(166, 161, 130, 0.14);
  outline: none;
}

.product-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-filter-submit {
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.product-filter-reset {
  color: var(--theme);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-filter-reset:hover {
  color: var(--heading);
}

.shop-section.js-product-ajax-wrapper.is-loading .product-filter-submit,
.shop-section.js-product-ajax-wrapper.is-loading .product-filter-reset {
  pointer-events: none;
  opacity: 0.7;
}

.shop-section.js-product-ajax-wrapper.is-loading .product-grid-card-col {
  opacity: 0.72;
}

.single-san-pham .shop-details-wrapper .single-tab .description-items .description-content ul,
.single-san-pham .shop-details-wrapper .single-tab .description-items .description-content ol {
  padding-left: 18px !important;
  margin: 0 0 14px !important;
  list-style: disc !important;
}

@media (min-width: 992px) {
  .product-filter-panel::before {
    content: '';
    position: absolute;
    inset: auto -40px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(166, 161, 130, 0.18) 0%, rgba(166, 161, 130, 0) 70%);
    pointer-events: none;
  }
}

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

  .product-filter-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .product-filter-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .product-filter-field input,
  .product-filter-field select,
  .product-filter-submit {
    min-height: 52px;
  }
}

@media (max-width: 767px) {
  .single-san-pham .shop-section .section-title h2 {
    padding-bottom: 18px;
  }

  .single-san-pham .breadcrumb-wrapper .page-heading h1 {
    font-size: 32px;
    line-height: 1.25;
  }

  .single-san-pham .shop-details-wrapper .product-details-content > h2 {
    font-size: 24px;
    line-height: 1.35;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h1 {
    font-size: 26px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h2 {
    font-size: 23px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h3 {
    font-size: 20px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h4 {
    font-size: 18px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h5 {
    font-size: 17px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h6 {
    font-size: 16px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content ul {
    list-style: disc !important;
    padding-left: 22px !important;
    margin: 0 0 16px !important;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content ol {
    list-style: decimal !important;
    padding-left: 22px !important;
    margin: 0 0 16px !important;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content li {
    display: list-item !important;
    margin-bottom: 8px;
    list-style-position: outside;
  }

  .single-san-pham .breadcrumb-wrapper .page-heading {
    text-align: left;
  }

  .single-san-pham .breadcrumb-wrapper .page-heading .breadcrumb-items {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
  }

  .single-san-pham .breadcrumb-wrapper .page-heading .breadcrumb-items li {
    flex: 0 0 auto;
    min-width: 0;
  }

  .single-san-pham .breadcrumb-wrapper .page-heading .breadcrumb-items li:last-child {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .single-du-an .breadcrumb-wrapper .page-heading {
    text-align: left;
  }

  .single-du-an .breadcrumb-wrapper .page-heading h1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .single-du-an .breadcrumb-wrapper .page-heading .breadcrumb-items {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    margin-top: 10px;
  }

  .single-du-an .breadcrumb-wrapper .page-heading .breadcrumb-items li {
    flex: 0 0 auto;
    min-width: 0;
  }

  .single-du-an .breadcrumb-wrapper .page-heading .breadcrumb-items li:last-child {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .single-post .breadcrumb-wrapper .page-heading,
  .page-template-templatesnews-page-php .breadcrumb-wrapper .page-heading {
    text-align: left;
  }

  .single-post .breadcrumb-wrapper .page-heading h1,
  .page-template-templatesnews-page-php .breadcrumb-wrapper .page-heading h1 {
    font-size: 28px;
    line-height: 1.25;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    word-break: break-word;
  }

  .single-post .breadcrumb-wrapper .page-heading .breadcrumb-items,
  .page-template-templatesnews-page-php .breadcrumb-wrapper .page-heading .breadcrumb-items {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    margin-top: 10px;
  }

  .single-post .breadcrumb-wrapper .page-heading .breadcrumb-items li,
  .page-template-templatesnews-page-php .breadcrumb-wrapper .page-heading .breadcrumb-items li {
    flex: 0 0 auto;
    min-width: 0;
  }

  .single-post .breadcrumb-wrapper .page-heading .breadcrumb-items li:last-child,
  .page-template-templatesnews-page-php .breadcrumb-wrapper .page-heading .breadcrumb-items li:last-child {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 575px) {
  .single-san-pham .breadcrumb-wrapper .page-heading h1 {
    font-size: 26px;
  }

  .single-san-pham .shop-details-wrapper .product-details-content > h2 {
    font-size: 22px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h1 {
    font-size: 24px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h2 {
    font-size: 21px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h3 {
    font-size: 19px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h4 {
    font-size: 17px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h5 {
    font-size: 16px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content h6 {
    font-size: 15px;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content ul,
  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content ol {
    padding-left: 18px !important;
    margin: 0 0 14px !important;
    list-style: disc !important;
  }

  .single-san-pham .shop-details-wrapper .single-tab .description-items .description-content li {
    margin-bottom: 6px;
  }

  .single-post .breadcrumb-wrapper .page-heading h1,
  .page-template-templatesnews-page-php .breadcrumb-wrapper .page-heading h1 {
    font-size: 22px;
  }
}

.contact-hero-copy {
  padding: 34px;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(166, 161, 130, 0.12);
  color: var(--theme);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-main-title {
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.06;
  margin-bottom: 14px;
}

.contact-summary {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

.contact-quick-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-quick-action {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 16px;
  border-radius: 16px;
  transition: all 0.25s ease;
}

.contact-quick-action .action-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  flex: 0 0 auto;
}

.contact-quick-action .action-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.contact-quick-action .action-text strong {
  font-size: 15px;
}

.contact-quick-action .action-text em {
  font-style: normal;
  font-size: 13px;
  opacity: 0.82;
  margin-top: 3px;
}

.contact-quick-action--primary {
  background: var(--theme);
  color: var(--white);
}

.contact-quick-action--secondary {
  background: var(--header);
  color: var(--white);
}

.contact-quick-action--ghost {
  background: rgba(166, 161, 130, 0.08);
  color: var(--header);
}

.contact-quick-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  color: var(--white);
}

.contact-quick-action--ghost:hover {
  background: var(--theme);
  color: var(--white);
}

.contact-quick-action--ghost:hover .action-icon {
  background: rgba(255, 255, 255, 0.16);
}

.contact-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.contact-mini-stat {
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--bg);
  text-align: center;
}

.contact-mini-stat span {
  display: block;
  margin-bottom: 4px;
  color: var(--theme);
  font-size: 15px;
  font-weight: 700;
}

.contact-mini-stat p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}

.contact-map-panel {
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-map-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 16px;
}

.contact-map-panel__head h3 {
  margin-bottom: 6px;
  font-size: 24px;
}

.contact-map-panel__head p {
  margin: 0;
  max-width: 420px;
  line-height: 1.6;
}

.map-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(166, 161, 130, 0.12);
  color: var(--header);
  font-size: 13px;
  font-weight: 700;
}

.map-chip:hover {
  background: var(--theme);
  color: var(--white);
}

.contact-map-panel .google-map {
  flex: 1;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
}

.contact-map-panel .google-map iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
}

.contact-info-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.contact-info-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.contact-info-badge .icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(166, 161, 130, 0.12);
  color: var(--theme);
  font-size: 18px;
  flex: 0 0 auto;
}

.contact-info-badge .content {
  min-width: 0;
}

.contact-info-badge .content span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--theme);
}

.contact-info-badge .content a,
.contact-info-badge .content strong {
  color: var(--header);
  line-height: 1.5;
  word-break: break-word;
}

.contact-section-4 {
  padding-top: 20px;
}

.contact-section-4 .contact-wrapper-3 {
  padding: 34px;
}

.contact-section-4 .contact-content .section-title h6 {
  margin-bottom: 10px;
}

.contact-section-4 .contact-content .section-title h2 {
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.15;
}

.contact-section-4 .contact-content .contact-form-items .form-clt input,
.contact-section-4 .contact-content .contact-form-items .form-clt textarea,
.contact-section-4 .contact-content .contact-form-items .form-clt .nice-select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--header);
  border-radius: 14px;
  height: 58px;
}

.contact-section-4 .contact-content .contact-form-items .form-clt textarea {
  min-height: 150px;
  padding-top: 16px;
  height: auto;
}

.contact-section-4 .contact-content .contact-form-items .form-clt input::placeholder,
.contact-section-4 .contact-content .contact-form-items .form-clt textarea::placeholder {
  color: #90949a;
}

.contact-section-4 .contact-content .contact-form-items .theme-btn {
  width: 100%;
  min-height: 58px;
  border-radius: 14px;
}

.contact-section-4 .contact-content .form-message {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 12px;
}

.contact-content.contact-form-panel {
  padding-left: 40px!important;
  border-radius: 18px;
}

@media (max-width: 991px) {
  .contact-hero-grid,
  .contact-info-strip {
    grid-template-columns: 1fr;
  }

  .contact-hero-copy,
  .contact-map-panel,
  .contact-section-4 .contact-wrapper-3 {
    padding: 24px;
  }

  .contact-mini-stats {
    grid-template-columns: 1fr;
  }

  .contact-map-panel .google-map,
  .contact-map-panel .google-map iframe {
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  .contact-map-panel__head {
    flex-direction: column;
  }

  .contact-quick-action {
    min-height: 64px;
  }

  .contact-section-4 .contact-content .contact-form-items .form-clt input,
  .contact-section-4 .contact-content .contact-form-items .form-clt textarea,
  .contact-section-4 .contact-content .contact-form-items .form-clt .nice-select,
  .contact-section-4 .contact-content .contact-form-items .theme-btn {
    min-height: 54px;
    height: 54px;
  }

  .contact-section-4 .contact-content .contact-form-items .form-clt textarea {
    height: auto;
  }

  .contact-map-panel .google-map,
  .contact-map-panel .google-map iframe {
    min-height: 280px;
  }
}

@media (max-width: 575px) {
  .contact-main-title {
    font-size: 28px;
  }

  .contact-summary {
    font-size: 15px;
  }

  .contact-quick-action .action-text em {
    font-size: 12px;
  }

  .contact-info-badge {
    padding: 16px;
  }

  .contact-content.contact-form-panel {
    padding: 24px 12px!important;
  }

  .contact-wrapper-3.contact-form-layout {
    padding: 0;
    box-shadow: none;
    border: none;
  }
}

.contact-form-layout {
  padding: 18px;
}

.contact-form-aside,
.contact-form-panel {
  height: 100%;
  border-radius: 18px;
}

.contact-form-aside {
  padding: 28px;
  background: linear-gradient(155deg, rgba(166, 161, 130, 0.16), rgba(248, 248, 248, 0.95));
  border: 1px solid var(--border);
}

.contact-form-aside__top h6 {
  margin-bottom: 10px;
  color: var(--theme);
  letter-spacing: 0.08em;
}

.contact-form-aside__top h3 {
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.14;
  margin-bottom: 12px;
}

.contact-form-aside__top p {
  margin-bottom: 0;
}

.contact-form-aside__items {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.contact-form-aside__direction {
  margin-top: 12px;
  width: 100%;
}

.contact-form-aside__direction:hover {
  background: var(--theme);
  color: var(--white);
}

.contact-form-aside__direction:hover .action-icon {
  background: rgba(255, 255, 255, 0.22);
}

.contact-form-aside__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
}

.contact-form-aside__item .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(166, 161, 130, 0.12);
  color: var(--theme);
  flex: 0 0 auto;
}

.contact-form-aside__item .content small {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--theme);
}

.contact-form-aside__item .content strong {
  line-height: 1.45;
  color: var(--header);
  word-break: break-word;
}

.contact-form-aside__item .content .link {
  display: inline-block;
  line-height: 1.45;
  color: var(--header);
  word-break: break-word;
}

.contact-form-aside__item .content .link:hover {
  color: var(--theme);
}

.contact-form-aside__note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--header);
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
}

.contact-form-panel .section-title h2 {
  max-width: 720px;
}

.contact-form-panel .contact-form-items .theme-btn {
  width: 100%;
}

@media (max-width: 991px) {
  .contact-form-layout {
    padding: 14px;
  }

  .contact-form-aside,
  .contact-form-panel {
    padding: 22px;
  }
}

@media (max-width: 767px) {
  .contact-form-aside,
  .contact-form-panel {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  .project-filter-tabs {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .project-filter-tabs a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .header-main {
    padding: 10px 0;
  }

  .header-main .logo img {
    height: 58px !important;
    width: auto;
  }

  .offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li .offcanvas__contact-text {
    min-width: 0;
    flex: 1 1 auto;
  }

  .offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li .offcanvas-email-link {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .header-main .header-right .search-icon i,
  .header-main .header-right .sidebar__toggle i {
    font-size: 22px;
    line-height: 1;
  }

  .header-main .header-right .sidebar__toggle,
  .header-main .header-right .search-icon {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .header-main {
    padding: 8px 0;
  }

  .header-main .logo img {
    height: 52px !important;
    width: auto;
  }
}

.about-gallery-section .section-title-area {
  margin: 40px 0;
}

.about-gallery-section {
  padding-bottom: 10px;
}

.about-gallery-slider {
  overflow: hidden;
  padding-bottom: 10px;
}

.about-gallery-slider .swiper-slide {
  height: auto;
}

.about-gallery-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 5px;
  overflow: hidden;
  isolation: isolate;
}

.about-gallery-card.about-gallery-card--slide {
  width: 100%;
}

.about-gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
  transition: opacity 0.35s ease;
}

.about-gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.about-gallery-card__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(166, 161, 130, 0.92);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.about-gallery-card__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}

.about-gallery-card:hover img {
  transform: scale(1.06);
}

.about-gallery-card:hover::before {
  opacity: 0.85;
}

@media (max-width: 991px) {
  .about-gallery-card {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 767px) {
  .about-gallery-section .section-title-area {
    margin-bottom: 24px;
  }

  .about-gallery-card {
    aspect-ratio: 16 / 12;
  }

  .about-gallery-card__badge {
    left: 14px;
    bottom: 14px;
    font-size: 12px;
    padding: 9px 12px;
  }

  .achievement-section.pt-0 {
    margin-top: 12px;
    padding-top: 36px !important;
  }
}

@media (max-width: 575px) {
  .achievement-section.pt-0 {
    margin-top: 10px;
    padding-top: 30px !important;
  }
}

.project-overview-content {
  font-size: 16px;
  line-height: 1.8;
}

.project-overview-content p {
  margin-bottom: 14px;
}

.project-overview-content h2,
.project-overview-content h3,
.project-overview-content h4 {
  margin-top: 22px;
  margin-bottom: 12px;
}

.project-overview-content ul,
.project-overview-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.project-overview-content ul li,
.project-overview-content ol li {
  margin-bottom: 8px;
}

.project-gallery-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.project-gallery-thumb {
  display: block;
  border-radius: 5px;
  overflow: hidden;
}

.project-gallery-thumb img {
  width: 100%;
  height: 105px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-gallery-thumb:hover img {
  transform: scale(1.08);
}

.project-related-card {
  border: 1px solid var(--border);
  background-color: var(--white);
  border-radius: 5px;
  overflow: hidden;
  height: 100%;
}

.project-related-card__image {
  display: block;
  overflow: hidden;
}

.project-related-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-related-card__content {
  padding: 22px;
}

.project-related-card__content h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
}

.project-related-card__content h3 a:hover {
  color: var(--theme);
}

.project-related-card__content p {
  margin-bottom: 10px;
}

.project-related-card:hover .project-related-card__image img {
  transform: scale(1.06);
}

.project-slider {
  overflow: hidden;
}

.project-slider .swiper-slide {
  height: auto;
}

@media (max-width: 575px) {
  .project-related-card__content {
    padding: 18px;
  }

  .project-related-card__content h3 {
    font-size: 20px;
  }
}
