/*
Theme Name: Xưởng Nội Thất Số 1 Clean
Theme URI: https://xuongnoithatso1.vn/
Author: Xưởng Nội Thất Số 1
Description: Giao diện WooCommerce sạch, nhẹ và tối ưu cho Xưởng Nội Thất Số 1.
Version: 1.4.8
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.2
Text Domain: xnts1-clean
*/

@font-face {
  font-family: "XNTS1 Lato";
  src: url("assets/fonts/lato-regular-latin.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "XNTS1 Lato";
  src: url("assets/fonts/lato-regular-vietnamese.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "XNTS1 Lato";
  src: url("assets/fonts/lato-bold-latin.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "XNTS1 Lato";
  src: url("assets/fonts/lato-bold-vietnamese.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

:root {
  --xnts1-font-sans: "XNTS1 Lato", Lato, "Helvetica Neue", Arial, sans-serif;
  --xnts1-font-display: "XNTS1 Lato", Lato, "Helvetica Neue", Arial, sans-serif;
  --xnts1-ink: #111315;
  --xnts1-ink-soft: #25282b;
  --xnts1-gold: #f7a02f;
  --xnts1-gold-dark: #8b5400;
  --xnts1-nav: #fed100;
  --xnts1-cream: #f7f4ed;
  --xnts1-paper: #ffffff;
  --xnts1-muted: #687076;
  --xnts1-line: #e4ded1;
  --xnts1-success: #1f7a4d;
  --xnts1-danger: #b42318;
  --xnts1-shadow: 0 18px 50px rgba(17, 19, 21, 0.1);
  --xnts1-radius: 18px;
  --xnts1-container: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--xnts1-ink);
  background: var(--xnts1-paper);
  font-family: var(--xnts1-font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--xnts1-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--xnts1-gold-dark);
}

button,
input,
select,
textarea {
  font: inherit;
  font-family: var(--xnts1-font-sans);
}

button,
.button,
.wp-element-button,
input[type="submit"] {
  min-height: 46px;
  border: 1px solid var(--xnts1-ink);
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  color: #fff;
  background: var(--xnts1-ink);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

button:hover,
.button:hover,
.wp-element-button:hover,
input[type="submit"]:hover {
  color: var(--xnts1-ink);
  border-color: var(--xnts1-gold);
  background: var(--xnts1-gold);
  transform: translateY(-1px);
}

:focus-visible {
  outline: 3px solid var(--xnts1-gold);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.8rem 1rem;
  color: #fff;
  background: var(--xnts1-ink);
}

.xnts1-container {
  width: min(calc(100% - 32px), var(--xnts1-container));
  margin-inline: auto;
}

.xnts1-topbar {
  color: #d7d7d7;
  background: #000;
  border-bottom: 1px solid #242424;
  font-size: 0.82rem;
}

.xnts1-topbar__inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.xnts1-topbar__promise {
  display: flex;
  gap: 1.15rem;
}

.xnts1-topbar a {
  color: var(--xnts1-gold);
  text-decoration: none;
}

.xnts1-topbar a:hover {
  color: var(--xnts1-gold);
}

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 0;
  background: #000;
}

.xnts1-brand-row {
  min-height: 79px;
  display: grid;
  grid-template-columns: minmax(220px, 271px) minmax(300px, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.site-branding a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-branding img {
  display: block;
  width: auto;
  max-width: 271px;
  max-height: 72px;
}

.site-title {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.site-description {
  margin: 0.25rem 0 0;
  color: #c7c7c7;
  font-size: 0.85rem;
}

.xnts1-search .woocommerce-product-search,
.xnts1-search form[role="search"] {
  position: relative;
  display: flex;
}

.xnts1-search input[type="search"] {
  width: 100%;
  min-height: 43px;
  padding: 0.65rem 3.1rem 0.65rem 1rem;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background: #fff;
}

.xnts1-search button {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  min-height: 43px;
  border-color: var(--xnts1-gold);
  border-radius: 0 3px 3px 0;
  color: #111;
  background: var(--xnts1-gold);
  padding: 0;
  display: grid;
  place-items: center;
}

.xnts1-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.xnts1-action {
  min-width: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 0;
  padding: 0.4rem 0.55rem;
  color: #fff;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.xnts1-action:hover {
  color: var(--xnts1-gold);
  background: transparent;
}

.xnts1-action--zalo:hover {
  color: #6fb0ff;
}

.xnts1-action svg {
  width: 24px;
  height: 24px;
  color: var(--xnts1-gold);
}

.xnts1-action__copy {
  display: grid;
  line-height: 1.15;
}

.xnts1-action__copy small {
  color: #bfbfbf;
  font-size: 0.7rem;
  font-weight: 600;
}

.xnts1-action__copy strong {
  margin-top: 0.2rem;
  color: #fff;
  font-size: 1rem;
}

.xnts1-action__count {
  min-width: 1.45rem;
  height: 1.45rem;
  padding-inline: 0.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  color: var(--xnts1-ink);
  background: var(--xnts1-gold);
  font-size: 0.75rem;
}

.xnts1-nav-wrap {
  border-top: 0;
  background: var(--xnts1-nav);
}

.xnts1-nav-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.xnts1-menu-toggle {
  display: none;
}

.primary-navigation ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.primary-navigation li {
  position: relative;
}

.primary-navigation a {
  display: block;
  padding: 0.68rem 0.9rem;
  color: #111;
  border-right: 1px solid rgba(0, 0, 0, 0.16);
  font-size: 0.9rem;
  font-family: var(--xnts1-font-sans);
  font-weight: 400;
  white-space: nowrap;
  text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  color: #000;
  background: rgba(255, 255, 255, 0.28);
}

.primary-navigation .sub-menu {
  position: absolute;
  z-index: 60;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 0.45rem;
  display: none;
  border: 1px solid var(--xnts1-line);
  border-radius: 0;
  background: #fff;
  box-shadow: var(--xnts1-shadow);
}

.primary-navigation > ul > .menu-item-has-children > a::after {
  content: "⌄";
  margin-left: 0.35rem;
  color: var(--xnts1-gold-dark);
  font-size: 0.8em;
}

.primary-navigation .sub-menu a {
  padding: 0.68rem 0.8rem;
  white-space: nowrap;
  border-right: 0;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  display: block;
}

.xnts1-quote-link {
  padding: 0.5rem 0.9rem;
  color: #fff;
  border: 1px solid #111;
  border-radius: 3px;
  background: #111;
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
}

.xnts1-quote-link:hover {
  color: #111;
  background: #fff;
}

.xnts1-catalog-children {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.xnts1-catalog-children .xnts1-section-heading {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--xnts1-nav);
}

.xnts1-catalog-children .xnts1-section-heading h2 {
  font-family: inherit;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.xnts1-catalog-children__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.xnts1-catalog-child {
  overflow: hidden;
  border: 1px solid var(--xnts1-line);
  border-radius: 4px;
  color: var(--xnts1-ink);
  background: #fff;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.xnts1-catalog-child:hover,
.xnts1-catalog-child:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--xnts1-shadow);
}

.xnts1-catalog-child__media {
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--xnts1-cream);
}

.xnts1-catalog-child__media--empty {
  background: linear-gradient(145deg, #292b2d, #786c56);
}

.xnts1-catalog-child__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.xnts1-catalog-child:hover .xnts1-catalog-child__media img {
  transform: scale(1.035);
}

.xnts1-catalog-child__name,
.xnts1-catalog-child__action {
  display: block;
  padding-inline: 1rem;
}

.xnts1-catalog-child__name {
  padding-top: 0.9rem;
  font-weight: 800;
}

.xnts1-catalog-child__action {
  padding-top: 0.35rem;
  padding-bottom: 1rem;
  color: var(--xnts1-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.xnts1-quote-link {
  flex: 0 0 auto;
}

.xnts1-shop-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.xnts1-shop-main,
.xnts1-product-main {
  min-width: 0;
}

.xnts1-shop-sidebar {
  position: sticky;
  top: 1rem;
}

.xnts1-sidebar-panel,
.xnts1-product-assurances {
  border: 1px solid var(--xnts1-line);
  border-radius: 4px;
  background: #fff;
}

.xnts1-sidebar-panel > h2,
.xnts1-product-assurances > h2 {
  margin: 0;
  padding: 0.85rem 1rem;
  color: #111;
  background: var(--xnts1-nav);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 850;
  text-transform: uppercase;
}

.xnts1-catalog-tree,
.xnts1-catalog-tree ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.xnts1-catalog-tree > li + li {
  border-top: 1px solid var(--xnts1-line);
}

.xnts1-catalog-tree a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.72rem 0.85rem;
  color: #333;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.xnts1-catalog-tree a:hover,
.xnts1-catalog-tree .is-current > a {
  color: #111;
  background: #fff7d2;
}

.xnts1-catalog-tree ul {
  padding: 0.25rem 0 0.6rem;
  background: #fafafa;
}

.xnts1-catalog-tree ul a {
  position: relative;
  padding: 0.48rem 0.85rem 0.48rem 1.6rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.xnts1-catalog-tree ul a::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--xnts1-gold);
}

.xnts1-support-card {
  margin-top: 1.25rem;
  padding: 1.3rem;
  color: #fff;
  border-radius: 4px;
  background: #111;
}

.xnts1-support-card .xnts1-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--xnts1-gold);
}

.xnts1-support-card h2 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-family: inherit;
  font-size: 1.3rem;
  line-height: 1.25;
}

.xnts1-support-card > p:not(.xnts1-eyebrow) {
  margin: 0 0 1rem;
  color: #d0d0d0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.xnts1-support-card__phone,
.xnts1-support-card__zalo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem;
  color: #111;
  border-radius: 3px;
  background: var(--xnts1-nav);
  text-decoration: none;
}

.xnts1-support-card__phone:hover {
  color: #111;
  background: #ffe04f;
}

.xnts1-support-card__zalo {
  margin-top: 0.65rem;
  color: #fff;
  background: #0068ff;
}

.xnts1-support-card__zalo:hover {
  color: #fff;
  background: #0054cc;
}

.xnts1-support-card__phone svg,
.xnts1-support-card__zalo svg {
  width: 25px;
  height: 25px;
}

.xnts1-support-card__phone span,
.xnts1-support-card__zalo span {
  display: grid;
  line-height: 1.15;
}

.xnts1-support-card__phone small,
.xnts1-support-card__zalo small {
  font-size: 0.7rem;
}

.xnts1-support-card__phone strong,
.xnts1-support-card__zalo strong {
  margin-top: 0.2rem;
  font-size: 1rem;
}

.xnts1-support-card__mail {
  margin-top: 0.85rem;
  display: block;
  color: #fff;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.xnts1-support-card__mail:hover {
  color: var(--xnts1-gold);
}

.xnts1-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.xnts1-product-sidebar {
  position: sticky;
  top: 1rem;
}

.xnts1-product-sidebar .xnts1-support-card {
  margin-top: 0;
}

.xnts1-product-assurances {
  margin-top: 1.25rem;
}

.xnts1-product-assurances > div {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}

.xnts1-product-assurances > div + div {
  border-top: 1px solid var(--xnts1-line);
}

.xnts1-product-assurances svg {
  width: 25px;
  height: 25px;
  color: var(--xnts1-gold-dark);
}

.xnts1-product-assurances span {
  display: grid;
  line-height: 1.3;
}

.xnts1-product-assurances strong {
  font-size: 0.88rem;
}

.xnts1-product-assurances small {
  margin-top: 0.2rem;
  color: var(--xnts1-muted);
  font-size: 0.74rem;
}

.xnts1-hero {
  position: relative;
  min-height: clamp(500px, 62vw, 680px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #1b1a18;
}

.xnts1-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 11, 0.92) 0%, rgba(8, 10, 11, 0.7) 42%, rgba(8, 10, 11, 0.2) 76%);
}

.xnts1-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.xnts1-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-block: 6rem;
}

.xnts1-eyebrow {
  margin: 0 0 1rem;
  color: var(--xnts1-gold);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.xnts1-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: #fff;
  font-family: var(--xnts1-font-display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.xnts1-hero__lead {
  max-width: 620px;
  margin: 1.5rem 0 0;
  color: #eee7d9;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.xnts1-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.xnts1-button--gold {
  color: var(--xnts1-ink);
  border-color: var(--xnts1-gold);
  background: var(--xnts1-gold);
}

.xnts1-button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.15);
}

.xnts1-trust {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}

.xnts1-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--xnts1-line);
  border-radius: var(--xnts1-radius);
  background: #fff;
  box-shadow: var(--xnts1-shadow);
  overflow: hidden;
}

.xnts1-trust__item {
  padding: 1.35rem;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 0.9rem;
  border-right: 1px solid var(--xnts1-line);
}

.xnts1-trust__item:last-child {
  border-right: 0;
}

.xnts1-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--xnts1-ink);
  background: #f3cf67;
}

.xnts1-icon svg {
  width: 22px;
  height: 22px;
}

.xnts1-trust__item strong,
.xnts1-trust__item > div > span {
  display: block;
}

.xnts1-trust__item strong {
  font-size: 0.97rem;
}

.xnts1-trust__item > div > span {
  color: var(--xnts1-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.xnts1-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.xnts1-section--cream {
  background: var(--xnts1-cream);
}

.xnts1-section--dark {
  color: #fff;
  background: var(--xnts1-ink);
}

.xnts1-section-heading {
  margin-bottom: 2rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.xnts1-section-heading h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--xnts1-font-display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.xnts1-section-heading p {
  max-width: 610px;
  margin: 0;
  color: var(--xnts1-muted);
}

.xnts1-section--dark .xnts1-section-heading p {
  color: #bbb5aa;
}

.xnts1-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--xnts1-ink);
  font-weight: 800;
  text-decoration: none;
}

.xnts1-text-link::after {
  content: "→";
  color: var(--xnts1-gold-dark);
  transition: transform 160ms ease;
}

.xnts1-text-link:hover::after {
  transform: translateX(4px);
}

.xnts1-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.xnts1-category-card {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: var(--xnts1-radius);
  color: #fff;
  background: #25282b;
  text-decoration: none;
}

.xnts1-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 9, 10, 0.88) 100%);
}

.xnts1-category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.xnts1-category-card:hover img {
  transform: scale(1.035);
}

.xnts1-category-card__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.5rem;
}

.xnts1-category-card h3 {
  margin: 0;
  color: #fff;
  font-family: var(--xnts1-font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.xnts1-category-card span {
  margin-top: 0.35rem;
  display: inline-block;
  color: #efe8dc;
  font-size: 0.88rem;
}

.xnts1-category-card--empty {
  background: linear-gradient(145deg, #242729, #4f4634);
}

.xnts1-product-grid,
.woocommerce ul.products {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.xnts1-product-card {
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 1.15rem;
  overflow: hidden;
  border: 1px solid var(--xnts1-line);
  border-radius: 14px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.woocommerce ul.products li.product:hover,
.xnts1-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(17, 19, 21, 0.1);
}

.woocommerce ul.products li.product a img,
.xnts1-product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 1rem;
  object-fit: cover;
  background: #f2f0eb;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .button {
  margin-right: 1rem;
  margin-left: 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 3.3em;
  padding: 0;
  color: var(--xnts1-ink);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.45;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--xnts1-danger);
  font-size: 1.05rem;
  font-weight: 850;
}

.woocommerce .xnts1-price-on-request {
  color: var(--xnts1-gold-dark);
  font-weight: 750;
}

.xnts1-single-quote {
  margin: 1.1rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--xnts1-line);
  border-left: 4px solid var(--xnts1-gold);
  border-radius: 12px;
  background: var(--xnts1-cream);
}

.xnts1-single-quote p {
  margin: 0 0 0.8rem;
}

.woocommerce ul.products li.product .button {
  margin-top: 0.8rem;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

.xnts1-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.xnts1-story__media {
  position: relative;
}

.xnts1-story__media img {
  width: 100%;
  min-height: 460px;
  max-height: 620px;
  border-radius: var(--xnts1-radius);
  object-fit: cover;
}

.xnts1-story__badge {
  position: absolute;
  right: -1.25rem;
  bottom: 2rem;
  width: 150px;
  min-height: 150px;
  padding: 1rem;
  display: grid;
  place-items: center;
  border: 8px solid #fff;
  border-radius: 50%;
  color: var(--xnts1-ink);
  background: var(--xnts1-gold);
  text-align: center;
  font-weight: 850;
  line-height: 1.25;
}

.xnts1-story h2 {
  margin: 0 0 1.2rem;
  font-family: var(--xnts1-font-display);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.xnts1-story__points {
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
}

.xnts1-story__points li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px solid var(--xnts1-line);
  font-weight: 700;
}

.xnts1-story__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--xnts1-success);
  font-weight: 900;
}

.xnts1-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: xnts1-step;
}

.xnts1-process__step {
  counter-increment: xnts1-step;
  padding: 1.5rem;
  border: 1px solid #393c3f;
  border-radius: 14px;
}

.xnts1-process__step::before {
  content: "0" counter(xnts1-step);
  color: var(--xnts1-gold);
  font-family: var(--xnts1-font-display);
  font-size: 1.7rem;
}

.xnts1-process__step h3 {
  margin: 1.2rem 0 0.5rem;
  color: #fff;
  font-size: 1.05rem;
}

.xnts1-process__step p {
  margin: 0;
  color: #bbb5aa;
  font-size: 0.9rem;
}

.xnts1-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.xnts1-post-card {
  overflow: hidden;
  border: 1px solid var(--xnts1-line);
  border-radius: 14px;
  background: #fff;
}

.xnts1-post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.xnts1-post-card__body {
  padding: 1.35rem;
}

.xnts1-post-card time {
  color: var(--xnts1-muted);
  font-size: 0.8rem;
}

.xnts1-post-card h3 {
  margin: 0.55rem 0 0.9rem;
  font-family: var(--xnts1-font-display);
  font-size: 1.3rem;
  line-height: 1.3;
}

.xnts1-post-card h3 a {
  text-decoration: none;
}

.site-main {
  min-height: 45vh;
}

.xnts1-content-shell {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.xnts1-page-header {
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: var(--xnts1-radius);
  background: var(--xnts1-cream);
}

.xnts1-page-header h1 {
  max-width: 26ch;
  margin: 0;
  font-family: var(--xnts1-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
}

.entry-content,
.woocommerce .woocommerce-notices-wrapper,
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce div.product,
.woocommerce .products,
.woocommerce nav.woocommerce-pagination {
  max-width: 100%;
}

.entry-content {
  color: #2d3033;
  font-family: var(--xnts1-font-sans);
  overflow-wrap: break-word;
}

.entry-content [style*="font-family"],
.woocommerce [style*="font-family"] {
  font-family: var(--xnts1-font-sans) !important;
}

.entry-content > * {
  max-width: 820px;
}

.entry-content > .alignwide {
  max-width: 1120px;
}

.entry-content > .alignfull {
  max-width: none;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.8em;
  font-family: var(--xnts1-font-display);
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.entry-content h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.entry-content h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

.entry-content table,
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 0.85rem;
  border: 1px solid var(--xnts1-line);
}

.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 1.5rem;
  color: var(--xnts1-muted);
  font-size: 0.85rem;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary {
  width: auto;
  float: none;
}

.woocommerce div.product .product_title {
  font-family: var(--xnts1-font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.14;
}

.woocommerce div.product form.cart:not(.variations_form) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.woocommerce div.product form.variations_form,
.woocommerce div.product form.variations_form table.variations,
.woocommerce div.product form.variations_form .single_variation_wrap {
  width: 100%;
}

.woocommerce div.product form.variations_form table.variations {
  margin-bottom: 1rem;
}

.woocommerce .quantity .qty {
  min-height: 46px;
  border: 1px solid var(--xnts1-line);
  border-radius: 10px;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
  grid-column: 1 / -1;
}

.xnts1-product-main .related ul.products {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.xnts1-product-main .related > h2,
.woocommerce .woocommerce-products-header__title,
.woocommerce .term-description h2,
.woocommerce .term-description h3 {
  font-family: inherit;
}

.woocommerce .woocommerce-products-header__title {
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--xnts1-nav);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.xnts1-category-cover {
  position: relative;
  margin: 0 0 1.5rem;
  overflow: hidden;
  border: 1px solid var(--xnts1-line);
  border-radius: 4px;
  background: var(--xnts1-cream);
}

.xnts1-category-cover__image {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 380px);
  object-fit: cover;
  object-position: center;
}

.xnts1-category-cover figcaption {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  max-width: calc(100% - 1.8rem);
  padding: 0.45rem 0.7rem;
  color: #fff;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
}

.woocommerce .term-description {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--xnts1-line);
  color: #333;
}

.woocommerce .term-description > * {
  max-width: 850px;
}

.woocommerce div.product .summary {
  padding-top: 0.2rem;
}

.woocommerce div.product .product_title {
  margin-top: 0;
  font-family: inherit;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: #444;
  font-size: 0.96rem;
}

.woocommerce div.product .product_meta {
  padding-top: 1rem;
  border-top: 1px solid var(--xnts1-line);
  color: var(--xnts1-muted);
  font-size: 0.84rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #111;
  border-bottom: 3px solid var(--xnts1-gold);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--xnts1-line);
  list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0.85rem 1rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  min-height: 48px;
  border: 1px solid #cfc8bb;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: #fff;
}

.woocommerce-checkout .col2-set,
.woocommerce-account .col2-set {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2,
.woocommerce-account .col-1,
.woocommerce-account .col-2 {
  width: auto;
  float: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 1rem 1.2rem;
  border: 1px solid var(--xnts1-line);
  border-left: 4px solid var(--xnts1-gold);
  border-radius: 10px;
  background: var(--xnts1-cream);
  list-style: none;
}

.woocommerce-error {
  border-left-color: var(--xnts1-danger);
}

.site-footer {
  color: #d8d3ca;
  background: #0c0e0f;
}

.xnts1-footer-grid {
  padding-block: 2.75rem 2.25rem;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1rem;
}

.site-footer p,
.site-footer address {
  margin: 0.4rem 0;
  color: #b9b4ab;
  font-style: normal;
  font-size: 0.9rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.55rem;
}

.site-footer a {
  color: #d8d3ca;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--xnts1-gold);
}

.xnts1-footer-brand img {
  width: auto;
  max-width: 270px;
  max-height: 82px;
  margin-bottom: 0.7rem;
}

.xnts1-footer-company {
  color: #fff !important;
  font-size: 1rem !important;
}

.xnts1-footer-details li + li {
  margin-top: 0.35rem;
}

.xnts1-footer-social {
  margin-top: 0.8rem;
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border: 1px solid #545454;
  border-radius: 3px;
  font-size: 0.82rem;
}

.xnts1-footer-right {
  display: grid;
  grid-template-columns: minmax(180px, 5fr) minmax(300px, 7fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.xnts1-footer-policies li {
  position: relative;
  padding-left: 0.9rem;
}

.xnts1-footer-policies li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--xnts1-gold);
}

.xnts1-footer-map iframe {
  width: 100%;
  min-height: 200px;
  display: block;
  border: 0;
}

.xnts1-footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #272a2d;
  color: #918d86;
  font-size: 0.8rem;
}

.xnts1-empty-state {
  padding: 3rem;
  border: 1px dashed #c9c1b2;
  border-radius: var(--xnts1-radius);
  color: var(--xnts1-muted);
  background: #fff;
  text-align: center;
}

.navigation.pagination {
  margin-top: 2rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--xnts1-line);
  border-radius: 10px;
  padding-inline: 0.7rem;
  text-decoration: none;
}

.page-numbers.current {
  color: var(--xnts1-ink);
  border-color: var(--xnts1-gold);
  background: var(--xnts1-gold);
}

@media (max-width: 1024px) {
  .xnts1-brand-row {
    grid-template-columns: minmax(200px, 260px) 1fr auto;
    gap: 1rem;
  }

  .xnts1-action__copy,
  .xnts1-quote-link {
    display: none;
  }

  .xnts1-product-layout {
    grid-template-columns: 1fr;
  }

  .xnts1-product-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .xnts1-product-assurances,
  .xnts1-product-sidebar .xnts1-support-card {
    margin-top: 0;
  }

  .primary-navigation a {
    padding-inline: 0.55rem;
    font-size: 0.86rem;
  }

  .xnts1-nav-inner {
    min-height: 50px;
  }

  .xnts1-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 40px;
    padding: 0.45rem 0.8rem;
  }

  .primary-navigation {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: min(88vw, 360px);
    height: 100dvh;
    padding: 5rem 1rem 1rem;
    overflow-y: auto;
    background: #fff;
    box-shadow: var(--xnts1-shadow);
    visibility: hidden;
    transform: translateX(-105%);
    transition: transform 220ms ease, visibility 0s linear 220ms;
  }

  .menu-open .primary-navigation {
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .primary-navigation ul {
    display: block;
  }

  .primary-navigation a {
    padding: 0.85rem;
    border-bottom: 1px solid var(--xnts1-line);
    font-size: 1rem;
  }

  .primary-navigation .sub-menu {
    position: static;
    min-width: 0;
    display: block;
    border: 0;
    box-shadow: none;
  }

  .primary-navigation .sub-menu a {
    padding-left: 1.7rem;
    white-space: normal;
  }

  .xnts1-trust__grid,
  .xnts1-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .xnts1-trust__item:nth-child(2) {
    border-right: 0;
  }

  .xnts1-trust__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--xnts1-line);
  }

  .xnts1-category-grid,
  .xnts1-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xnts1-product-grid,
  .xnts1-catalog-children__grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .xnts1-product-main .related ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) and (max-width: 1500px) {
  .primary-navigation a {
    padding-inline: 0.42rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 780px) {
  .xnts1-topbar__promise span:nth-child(n + 2) {
    display: none;
  }

  .xnts1-brand-row {
    min-height: 82px;
    grid-template-columns: 1fr auto;
  }

  .site-branding img {
    max-width: 220px;
    max-height: 62px;
  }

  .xnts1-search {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: 0.9rem;
  }

  .xnts1-nav-inner {
    min-height: 50px;
  }

  .xnts1-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 40px;
    padding: 0.45rem 0.8rem;
  }

  .primary-navigation {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: min(88vw, 360px);
    height: 100dvh;
    padding: 5rem 1rem 1rem;
    overflow-y: auto;
    background: #fff;
    box-shadow: var(--xnts1-shadow);
    visibility: hidden;
    transform: translateX(-105%);
    transition: transform 220ms ease, visibility 0s linear 220ms;
  }

  .menu-open .primary-navigation {
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .primary-navigation ul {
    display: block;
  }

  .primary-navigation a {
    padding: 0.85rem;
    border-bottom: 1px solid var(--xnts1-line);
    font-size: 1rem;
  }

  .primary-navigation .sub-menu {
    position: static;
    min-width: 0;
    display: block;
    border: 0;
    box-shadow: none;
  }

  .primary-navigation .sub-menu a {
    padding-left: 1.7rem;
    white-space: normal;
  }

  .xnts1-hero {
    min-height: 580px;
  }

  .xnts1-hero::before {
    background: linear-gradient(90deg, rgba(8, 10, 11, 0.9), rgba(8, 10, 11, 0.56));
  }

  .xnts1-trust {
    margin-top: -28px;
  }

  .xnts1-section-heading {
    display: block;
  }

  .xnts1-section-heading p,
  .xnts1-section-heading .xnts1-text-link {
    margin-top: 1rem;
  }

  .xnts1-story,
  .woocommerce div.product,
  .woocommerce-checkout .col2-set,
  .woocommerce-account .col2-set {
    grid-template-columns: 1fr;
  }

  .xnts1-shop-layout {
    grid-template-columns: 1fr;
  }

  .xnts1-shop-sidebar {
    position: static;
  }

  .xnts1-catalog-tree {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xnts1-catalog-tree > li + li {
    border-top: 0;
  }

  .xnts1-catalog-tree > li {
    border-bottom: 1px solid var(--xnts1-line);
  }

  .xnts1-product-main .related ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .xnts1-story__media img {
    min-height: 360px;
  }

  .xnts1-story__badge {
    right: 1rem;
  }

  .xnts1-footer-grid {
    grid-template-columns: 1fr;
  }

  .xnts1-footer-right {
    grid-template-columns: minmax(180px, 5fr) minmax(280px, 7fr);
  }
}

@media (max-width: 560px) {
  .xnts1-container {
    width: min(calc(100% - 24px), var(--xnts1-container));
  }

  .xnts1-topbar__inner {
    justify-content: center;
  }

  .xnts1-topbar__contact {
    display: none;
  }

  .xnts1-brand-row {
    gap: 0.5rem;
  }

  .site-branding img {
    max-width: 185px;
  }

  .xnts1-header-actions .xnts1-action:first-child {
    display: none;
  }

  .xnts1-hero__content {
    padding-block: 4.5rem 6rem;
  }

  .xnts1-hero__actions {
    display: grid;
  }

  .xnts1-hero__actions .button {
    justify-content: center;
    text-align: center;
  }

  .xnts1-trust__grid,
  .xnts1-category-grid,
  .xnts1-product-grid,
  .xnts1-catalog-children__grid,
  .woocommerce ul.products,
  .xnts1-process,
  .xnts1-post-grid,
  .xnts1-footer-grid {
    grid-template-columns: 1fr;
  }

  .xnts1-catalog-tree,
  .xnts1-product-sidebar,
  .xnts1-product-main .related ul.products {
    grid-template-columns: 1fr;
  }

  .xnts1-trust__item {
    border-right: 0;
    border-bottom: 1px solid var(--xnts1-line);
  }

  .xnts1-trust__item:last-child {
    border-bottom: 0;
  }

  .xnts1-category-card {
    min-height: 320px;
  }

  .xnts1-footer-bottom {
    padding-block: 1rem;
    display: block;
    text-align: center;
  }

  .xnts1-footer-right {
    grid-template-columns: 1fr;
  }
}

/* Trang chủ dựng lại theo bố cục Flatsome sạch từ bản sao lưu 2023. */
.xnts1-home-legacy {
  padding-bottom: 3rem;
  background: #fff;
}

.xnts1-home-banner {
  padding: 0;
  background: #fff;
}

.xnts1-home-banner__inner {
  width: min(calc(100% - 32px), 1200px);
  margin-inline: auto;
}

.xnts1-home-banner__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.xnts1-home-products {
  padding-top: 1.35rem;
  background: #fff;
}

.xnts1-home-products__heading {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.xnts1-home-products__heading h2 {
  min-width: 0;
  margin: 0;
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.75rem;
  color: #282828;
  font-family: var(--xnts1-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.xnts1-home-products__heading h2::after {
  content: "";
  min-width: 2rem;
  height: 2px;
  flex: 1;
  background: #e5e5e5;
}

.xnts1-home-products__heading a {
  flex: 0 0 auto;
  color: #777;
  font-size: 0.82rem;
  font-weight: 400;
  text-decoration: none;
}

.xnts1-home-products__heading a:hover {
  color: var(--xnts1-gold-dark);
}

.xnts1-home-directory,
.xnts1-home-articles {
  padding-top: 1.35rem;
  background: #fff;
}

.xnts1-home-directory__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.xnts1-home-directory-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  border: 1px solid #e7e2d8;
  background: #fbfaf7;
}

.xnts1-home-directory-card__media {
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--xnts1-gold-dark);
  font-family: var(--xnts1-font-display);
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
}

.xnts1-home-directory-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.xnts1-home-directory-card:hover .xnts1-home-directory-card__media img {
  transform: scale(1.025);
}

.xnts1-home-directory-card__body {
  min-width: 0;
  padding: 0.8rem 0.85rem;
}

.xnts1-home-directory-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--xnts1-font-display);
  font-size: 0.98rem;
  line-height: 1.3;
}

.xnts1-home-directory-card h3 a {
  color: #222;
  text-decoration: none;
}

.xnts1-home-directory-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.22rem;
  list-style: none;
}

.xnts1-home-directory-card li {
  min-width: 0;
  line-height: 1.25;
}

.xnts1-home-directory-card li a {
  color: #666;
  font-size: 0.76rem;
  text-decoration: none;
}

.xnts1-home-directory-card h3 a:hover,
.xnts1-home-directory-card li a:hover {
  color: var(--xnts1-gold-dark);
}

.xnts1-home-subcategories {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.xnts1-home-subcategory-group {
  min-width: 0;
  padding: 0.8rem 0.9rem 0.9rem;
  border-top: 3px solid var(--xnts1-gold);
  background: #f6f6f6;
}

.xnts1-home-subcategory-group h3 {
  margin: 0 0 0.55rem;
  font-family: var(--xnts1-font-display);
  font-size: 0.92rem;
  line-height: 1.3;
}

.xnts1-home-subcategory-group h3 a {
  color: #222;
  text-decoration: none;
}

.xnts1-home-subcategory-links,
.xnts1-home-ads__landings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.xnts1-home-subcategory-links a,
.xnts1-home-ads__landings a {
  padding: 0.25rem 0.48rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  color: #595959;
  background: #fff;
  font-size: 0.72rem;
  line-height: 1.25;
  text-decoration: none;
}

.xnts1-home-subcategory-links a:hover,
.xnts1-home-ads__landings a:hover {
  border-color: var(--xnts1-gold);
  color: #222;
}

.xnts1-home-ads {
  margin-top: 1.35rem;
  padding-block: 1.1rem 1.25rem;
  background: #fbf8f0;
}

.xnts1-home-ads__landings {
  margin: -0.1rem 0 0.8rem;
}

.xnts1-home-ads__landings a {
  border-color: #dfd2b0;
  background: #fffdf8;
}

.xnts1-home-articles {
  padding-bottom: 0.35rem;
}

.xnts1-home-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.xnts1-home-article-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  border: 1px solid #e7e7e7;
  background: #fff;
}

.xnts1-home-article-card__media {
  min-height: 148px;
  display: block;
  overflow: hidden;
  background: #eee;
}

.xnts1-home-article-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.xnts1-home-article-card:hover .xnts1-home-article-card__media img {
  transform: scale(1.025);
}

.xnts1-home-article-card__body {
  min-width: 0;
  padding: 0.75rem;
}

.xnts1-home-article-card time {
  color: #999;
  font-size: 0.68rem;
}

.xnts1-home-article-card h3 {
  margin: 0.28rem 0 0.4rem;
  font-family: var(--xnts1-font-display);
  font-size: 0.9rem;
  line-height: 1.35;
}

.xnts1-home-article-card h3 a {
  color: #222;
  text-decoration: none;
}

.xnts1-home-article-card h3 a:hover {
  color: var(--xnts1-gold-dark);
}

.xnts1-home-article-card p {
  margin: 0;
  color: #666;
  font-size: 0.75rem;
  line-height: 1.45;
}

.xnts1-quote-landing {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--xnts1-line);
}

.xnts1-quote-landing__heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.xnts1-quote-landing__heading .xnts1-eyebrow {
  margin-bottom: 0.45rem;
}

.xnts1-quote-landing__heading h2 {
  margin: 0;
  font-family: var(--xnts1-font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.18;
  text-wrap: pretty;
}

.xnts1-quote-landing__heading p:last-child {
  margin: 0.75rem 0 0;
  color: var(--xnts1-muted);
}

.xnts1-quote-products {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}

.xnts1-quote-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--xnts1-line);
  border-radius: 6px;
  background: #fff;
}

.xnts1-quote-product-card__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f3ed;
}

.xnts1-quote-product-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.xnts1-quote-product-card:hover .xnts1-quote-product-card__media img {
  transform: scale(1.025);
}

.xnts1-quote-product-card__body {
  padding: 0.9rem;
}

.xnts1-quote-product-card h3 {
  margin: 0;
  font-family: var(--xnts1-font-display);
  font-size: 0.98rem;
  line-height: 1.4;
}

.xnts1-quote-product-card h3 a,
.xnts1-quote-product-card__link {
  text-decoration: none;
}

.xnts1-quote-product-card__price {
  margin-top: 0.55rem;
  color: var(--xnts1-danger);
  font-weight: 700;
}

.xnts1-quote-product-card__price del {
  color: var(--xnts1-muted);
  font-weight: 400;
}

.xnts1-quote-product-card__link {
  margin-top: 0.7rem;
  display: inline-flex;
  color: var(--xnts1-gold-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.xnts1-home-rail {
  position: relative;
}

.xnts1-home-rail__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.xnts1-home-rail__viewport::-webkit-scrollbar {
  display: none;
}

.xnts1-home-product-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 1.5rem) / 4);
  gap: 0.5rem;
  list-style: none;
}

.xnts1-home-product {
  min-width: 0;
  margin: 0;
  padding: 0 0 0.75rem;
  scroll-snap-align: start;
  background: #fff;
}

.xnts1-home-product__link {
  display: block;
  color: #333;
  text-decoration: none;
}

.xnts1-home-product__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 247 / 296;
  background: #f4f4f4;
}

.xnts1-home-product__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.xnts1-home-product__link:hover .xnts1-home-product__media img {
  transform: scale(1.02);
}

.xnts1-home-product__sale {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  left: 0.65rem;
  width: 54px;
  height: 54px;
  padding: 0.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--xnts1-gold);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.xnts1-home-product h3 {
  min-height: 2.8em;
  margin: 0.55rem 0 0.15rem;
  color: #333;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.4;
}

.xnts1-home-product__price {
  display: block;
  color: #dd3333;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.xnts1-home-product__price del {
  margin-right: 0.25rem;
  color: #888;
  font-weight: 400;
  opacity: 1;
}

.xnts1-home-product__price ins {
  color: #dd3333;
  text-decoration: none;
}

/* WooCommerce khởi tạo gallery với opacity:0; vẫn phải thấy ảnh nếu JS tải chậm/lỗi. */
.single-product .woocommerce-product-gallery {
  opacity: 1 !important;
}

.xnts1-home-rail__button {
  position: absolute;
  z-index: 4;
  top: 42%;
  width: 40px;
  min-height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 2px solid var(--xnts1-gold);
  border-radius: 50%;
  color: #555;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.xnts1-home-rail__button:hover {
  color: #111;
  background: var(--xnts1-gold);
  transform: translateY(-50%);
}

.xnts1-home-rail__button:disabled {
  opacity: 0.22;
  pointer-events: none;
}

.xnts1-home-rail__button--previous {
  left: -18px;
}

.xnts1-home-rail__button--next {
  right: -18px;
}

.xnts1-home-legacy + .site-footer,
.xnts1-home-legacy ~ .site-footer {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .xnts1-home-directory__grid,
  .xnts1-home-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xnts1-home-product-list {
    grid-auto-columns: calc((100% - 1rem) / 3);
  }
}

@media (max-width: 560px) {
  .xnts1-home-banner__inner {
    width: 100%;
  }

  .xnts1-home-products {
    padding-top: 1rem;
  }

  .xnts1-home-directory,
  .xnts1-home-articles {
    padding-top: 1rem;
  }

  .xnts1-home-directory__grid,
  .xnts1-home-subcategories,
  .xnts1-home-articles__grid {
    grid-template-columns: 1fr;
  }

  .xnts1-home-directory-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .xnts1-home-directory-card__media {
    min-height: 132px;
  }

  .xnts1-home-ads {
    margin-top: 1rem;
    padding-block: 0.9rem 1rem;
  }

  .xnts1-home-article-card {
    grid-template-columns: 38% minmax(0, 1fr);
  }

  .xnts1-home-products__heading {
    align-items: flex-end;
    gap: 0.55rem;
  }

  .xnts1-home-products__heading h2 {
    font-size: 0.98rem;
  }

  .xnts1-home-products__heading h2::after {
    display: none;
  }

  .xnts1-home-products__heading a {
    font-size: 0.75rem;
  }

  .xnts1-home-product-list {
    grid-auto-columns: calc((100% - 0.5rem) / 2);
  }

  .xnts1-home-product h3 {
    font-size: 0.86rem;
  }

  .xnts1-home-rail__button {
    width: 34px;
    min-height: 34px;
    font-size: 1.65rem;
  }

  .xnts1-home-rail__button--previous {
    left: -7px;
  }

  .xnts1-home-rail__button--next {
    right: -7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Product detail: keep the gallery useful without squeezing purchase details. */
.single-product .xnts1-content-shell {
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem);
}

.single-product .xnts1-product-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.5rem, 2.5vw, 2rem);
}

.single-product .xnts1-product-main > .woocommerce {
  min-width: 0;
}

.single-product .woocommerce div.product {
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.single-product .woocommerce div.product .woocommerce-product-gallery {
  position: relative;
  margin: 0;
  padding: clamp(0.65rem, 1.3vw, 1rem);
  border: 1px solid var(--xnts1-line);
  border-radius: 6px;
  background: #faf9f6;
}

.single-product .woocommerce-product-gallery__image > a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  margin-inline: auto;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  padding: 0;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: auto;
  margin: 0;
  float: none;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--xnts1-line);
  border-radius: 3px;
  object-fit: cover;
  background: #fff;
  opacity: 0.72;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover,
.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  border-color: var(--xnts1-gold-dark);
  opacity: 1;
}

.single-product .woocommerce div.product .onsale {
  z-index: 4;
  top: 0.75rem;
  right: auto;
  left: 0.75rem;
}

.single-product .woocommerce div.product .summary {
  margin: 0;
  padding: 0;
}

.single-product .woocommerce div.product .product_title {
  max-width: 22ch;
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 2.5vw, 2.25rem);
  line-height: 1.18;
}

.single-product .woocommerce div.product .summary > .price {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.single-product .woocommerce div.product .woocommerce-product-details__short-description {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--xnts1-nav);
  border-radius: 0 4px 4px 0;
  color: #303438;
  background: #faf9f6;
  font-size: 0.96rem;
  line-height: 1.55;
}

.single-product .woocommerce-product-details__short-description > h4:first-child {
  display: none;
}

.single-product .woocommerce-product-details__short-description > :first-child {
  margin-top: 0;
}

.single-product .woocommerce-product-details__short-description > :last-child {
  margin-bottom: 0;
}

.single-product .woocommerce-product-details__short-description ul {
  margin: 0;
  padding-left: 1.2rem;
}

.single-product .woocommerce-product-details__short-description li + li {
  margin-top: 0.25rem;
}

.single-product .woocommerce div.product form.cart {
  margin: 1.15rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--xnts1-line);
}

.single-product .woocommerce div.product form.cart .button {
  min-height: 48px;
  color: #111;
  border-color: var(--xnts1-nav);
  border-radius: 4px;
  background: var(--xnts1-nav);
  font-weight: 800;
}

.single-product .woocommerce div.product form.cart .button:hover {
  border-color: #e5bd00;
  background: #ffe04f;
}

.single-product .woocommerce div.product .product_meta {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--xnts1-line);
  border-radius: 4px;
  background: #fff;
  line-height: 1.6;
}

.single-product .woocommerce div.product .product_meta > span {
  display: block;
}

.single-product .woocommerce div.product .product_meta .tagged_as {
  display: none;
}

.single-product .woocommerce div.product .woocommerce-tabs {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--xnts1-line);
}

.single-product .woocommerce div.product .woocommerce-tabs .panel {
  max-width: 900px;
  color: #303438;
}

.single-product .xnts1-product-sidebar {
  top: 1rem;
}

@media (max-width: 1180px) {
  .xnts1-quote-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .single-product .xnts1-product-layout {
    grid-template-columns: 1fr;
  }

  .single-product .xnts1-product-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .single-product .xnts1-product-sidebar .xnts1-support-card,
  .single-product .xnts1-product-sidebar .xnts1-product-assurances {
    margin-top: 0;
  }
}

@media (max-width: 780px) {
  .xnts1-quote-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-product .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .single-product .woocommerce div.product .product_title {
    max-width: none;
    font-size: clamp(1.65rem, 7vw, 2rem);
  }

  .single-product .woocommerce-product-gallery .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .xnts1-quote-products {
    gap: 0.65rem;
  }

  .xnts1-quote-product-card__body {
    padding: 0.7rem;
  }

  .xnts1-quote-product-card h3 {
    font-size: 0.86rem;
  }

  .single-product .xnts1-content-shell {
    padding-top: 1rem;
  }

  .single-product .xnts1-product-sidebar {
    grid-template-columns: 1fr;
  }

  .single-product .woocommerce div.product .woocommerce-product-details__short-description {
    padding: 0.9rem;
  }
}
