/* Xưởng Gốm Bát Tràng — homepage visual system v1 */
:root {
  --xgbt-ink: #30251f;
  --xgbt-muted: #74675f;
  --xgbt-brand: #9a3f24;
  --xgbt-accent: #d76b36;
  --xgbt-accent-soft: #f7e2d4;
  --xgbt-line: #eadfd6;
  --xgbt-surface: #ffffff;
  --xgbt-canvas: #faf8f5;
  --xgbt-shadow-sm: 0 8px 24px rgba(63, 42, 30, 0.07);
  --xgbt-shadow-md: 0 18px 48px rgba(63, 42, 30, 0.11);
}

.home #main {
  color: var(--xgbt-ink);
  background: var(--xgbt-canvas);
}

.home #main h1,
.home #main h2,
.home #main h3 {
  color: var(--xgbt-ink);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.home #main p {
  color: var(--xgbt-muted);
  line-height: 1.72;
}

.home .header-main {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home .header-bottom {
  box-shadow: 0 8px 24px rgba(74, 44, 35, 0.1);
}

.home .header-search-form .search-field {
  border: 1px solid rgba(74, 44, 35, 0.1);
  border-radius: 999px 0 0 999px;
}

.home .header-search-form .ux-search-submit {
  border-radius: 0 999px 999px 0;
}

/* Hero */
.home .xg-hero-v13 {
  min-height: 600px;
  padding: clamp(42px, 5vw, 72px) clamp(24px, 4vw, 64px) !important;
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(215, 107, 54, 0.12),
      transparent 28%
    ),
    linear-gradient(135deg, #fffdfb 0%, #fbf1e8 58%, #f3dfcf 100%) !important;
  border: 0 !important;
  border-radius: 0 0 36px 36px !important;
  box-shadow: inset 0 -1px 0 rgba(128, 76, 48, 0.1);
  overflow: hidden;
}

.home .xg-hero-v13 .xg-wrap {
  width: min(100%, 1280px);
  max-width: 1280px;
  margin-inline: auto;
  gap: clamp(40px, 6vw, 84px) !important;
}

.home .xg-hero-v13 .hero-content {
  max-width: 590px;
}

.home .xg-hero-v13 .hero-title {
  max-width: 590px !important;
  margin-bottom: 14px !important;
  color: #71351f !important;
  font-size: clamp(40px, 4.4vw, 62px) !important;
  line-height: 1.04 !important;
}

.home .xg-hero-v13 .hero-keyline {
  max-width: 570px;
  margin-bottom: 16px !important;
  color: var(--xgbt-brand) !important;
  font-size: clamp(18px, 1.65vw, 23px) !important;
  line-height: 1.35 !important;
}

.home .xg-hero-v13 .hero-description {
  max-width: 570px !important;
  margin-bottom: 24px !important;
  font-size: 16px;
}

.home .xg-hero-v13 .hero-stats {
  max-width: 570px !important;
  gap: 12px !important;
  margin-bottom: 22px !important;
}

.home .xg-hero-v13 .stat-item {
  min-width: 0;
  padding: 16px 18px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(154, 63, 36, 0.13) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(86, 49, 31, 0.06);
  backdrop-filter: blur(8px);
}

.home .xg-hero-v13 .stat-number {
  color: var(--xgbt-brand) !important;
  font-size: 19px !important;
}

.home .xg-hero-v13 .stat-label {
  margin-top: 5px;
  color: var(--xgbt-muted) !important;
}

.home .xg-hero-v13 .hero-buttons {
  gap: 12px !important;
  margin-bottom: 20px !important;
}

.home .xg-hero-v13 .hero-btn {
  min-height: 50px;
  border-radius: 14px !important;
  box-shadow: none !important;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.home .xg-hero-v13 .hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--xgbt-shadow-sm) !important;
}

.home .xg-hero-v13 .btn-primary {
  background: linear-gradient(135deg, #a44729, #d46833) !important;
}

.home .xg-hero-v13 .btn-secondary {
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(113, 53, 31, 0.3) !important;
}

.home .xg-hero-v13 .hero-badges {
  gap: 9px !important;
}

.home .xg-hero-v13 .badge-item {
  color: #665148 !important;
}

.home .xg-hero-v13 .xg-slider {
  max-width: 560px;
  filter: drop-shadow(0 24px 42px rgba(82, 46, 28, 0.16));
}

.home .xg-hero-v13 .xg-slide {
  border-radius: 28px !important;
}

.home .xg-hero-v13 .xg-slide img {
  border-radius: 28px !important;
}

.home .xg-hero-v13 .xg-nav {
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background: rgba(91, 45, 26, 0.78) !important;
  box-shadow: 0 10px 24px rgba(62, 36, 23, 0.2);
  backdrop-filter: blur(10px);
}

/* Category chooser */
.home section:has(.xgbt8-shell) {
  padding: clamp(44px, 5vw, 72px) clamp(20px, 4vw, 56px) !important;
  background: var(--xgbt-canvas) !important;
}

.home .xgbt8-shell {
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home .xgbt8-grid {
  gap: clamp(14px, 1.8vw, 24px) !important;
}

.home .xgbt8-card {
  background: var(--xgbt-surface) !important;
  border: 1px solid var(--xgbt-line);
  border-radius: 20px !important;
  box-shadow: var(--xgbt-shadow-sm) !important;
  transform: translateZ(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease !important;
}

.home .xgbt8-card:hover {
  border-color: rgba(164, 71, 41, 0.3);
  transform: translateY(-5px) !important;
  box-shadow: var(--xgbt-shadow-md) !important;
}

.home .xgbt8-inset {
  background: linear-gradient(145deg, #fffaf5, #f3e5d8) !important;
  overflow: hidden;
}

.home .xgbt8-inset img {
  padding: 8px;
  transition: transform 260ms ease;
}

.home .xgbt8-card:hover .xgbt8-inset img {
  transform: scale(1.025);
}

.home .xgbt8-title {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 14px 15px !important;
  color: var(--xgbt-ink) !important;
  font-size: clamp(14px, 1.25vw, 17px) !important;
  line-height: 1.28;
  letter-spacing: 0.02em !important;
}

/* Editorial sections */
.home .xgbt-home-guide,
.home .xgbt-home-model {
  padding: clamp(64px, 7vw, 96px) 24px !important;
}

.home .xgbt-home-guide {
  background: #fff !important;
}

.home .xgbt-home-model {
  background: linear-gradient(180deg, #f8eee5 0%, #f3e2d4 100%) !important;
}

.home .xgbt-home-guide > .section-content > .row,
.home .xgbt-home-model > .section-content > .row {
  max-width: 1180px !important;
}

.home .xgbt-home-guide .text h2,
.home .xgbt-home-model .text h2,
.home .san-pham-home .tille-home {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
}

.home .xgbt-choice-card,
.home .xgbt-home-model .col.medium-4 > .col-inner > div {
  min-height: 238px !important;
  padding: 30px !important;
  border: 1px solid var(--xgbt-line) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: var(--xgbt-shadow-sm) !important;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease !important;
}

.home .xgbt-choice-card:hover,
.home .xgbt-home-model .col.medium-4 > .col-inner > div:hover {
  transform: translateY(-4px);
  box-shadow: var(--xgbt-shadow-md) !important;
}

.home .xgbt-choice-card h3,
.home .xgbt-home-model .col.medium-4 h3 {
  margin-bottom: 12px !important;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.25;
}

.home .xgbt-choice-card a,
.home .xgbt-home-model a {
  color: var(--xgbt-brand);
  text-underline-offset: 4px;
}

.home .xgbt-home-model .col.medium-4:last-child > .col-inner > div {
  color: #fff !important;
  background: linear-gradient(145deg, #57301f, #7c3d24) !important;
  border-color: transparent !important;
}

.home .xgbt-home-model .col.medium-4:last-child h3,
.home .xgbt-home-model .col.medium-4:last-child p,
.home .xgbt-home-model .col.medium-4:last-child a {
  color: #fff !important;
}

/* Product catalogue */
.home .san-pham-home {
  padding: clamp(64px, 7vw, 96px) clamp(18px, 3vw, 42px) !important;
  background: var(--xgbt-canvas) !important;
}

.home .san-pham-home > .section-content > .row {
  max-width: 1320px;
}

.home .san-pham-home .img-inner {
  overflow: hidden;
  border: 1px solid var(--xgbt-line);
  border-radius: 28px;
  box-shadow: var(--xgbt-shadow-sm);
}

.home .san-pham-home .tille-home {
  margin-top: clamp(52px, 6vw, 76px);
  margin-bottom: 30px;
}

.home .san-pham-home .tille-home:first-of-type {
  margin-top: 46px;
}

.home .san-pham-home .tille-home a {
  color: var(--xgbt-ink);
}

.home .san-pham-home .tille-home::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--xgbt-brand), var(--xgbt-accent));
}

.home .san-pham-home .product-small > .col-inner {
  padding-bottom: 20px;
}

.home .san-pham-home .product-small.box {
  height: 100%;
  overflow: hidden;
  background: var(--xgbt-surface);
  border: 1px solid var(--xgbt-line);
  border-radius: 18px;
  box-shadow: 0 7px 20px rgba(57, 39, 29, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.home .san-pham-home .product-small.box:hover {
  border-color: rgba(164, 71, 41, 0.28);
  transform: translateY(-5px);
  box-shadow: var(--xgbt-shadow-md);
}

.home .san-pham-home .box-image,
.home .san-pham-home .box-image .image-fade_in_back {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #fff, #f7f0e9);
}

.home .san-pham-home .box-image img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.home .san-pham-home .box-text-products {
  min-height: 112px;
  padding: 16px 18px 18px !important;
  text-align: left;
}

.home .san-pham-home .product-title {
  min-height: 2.8em;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.home .san-pham-home .product-title a {
  color: var(--xgbt-ink);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home .san-pham-home .price {
  color: var(--xgbt-brand);
  font-size: 15px;
  font-weight: 750;
}

.home .san-pham-home .quick-view {
  background: rgba(113, 53, 31, 0.92);
}

.home #main a:focus-visible,
.home #main button:focus-visible {
  outline: 3px solid rgba(215, 107, 54, 0.44);
  outline-offset: 3px;
}

@media (max-width: 849px) {
  .home .xg-hero-v13 {
    min-height: 0;
    padding: 34px 17px 42px !important;
    border-radius: 0 0 26px 26px !important;
  }

  .home .xg-hero-v13 .xg-wrap {
    gap: 32px !important;
  }

  .home .xg-hero-v13 .hero-content {
    max-width: none;
  }

  .home .xg-hero-v13 .hero-title {
    font-size: clamp(34px, 10vw, 46px) !important;
  }

  .home .xg-hero-v13 .hero-description {
    font-size: 15px;
    line-height: 1.65 !important;
  }

  .home .xg-hero-v13 .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home .xg-hero-v13 .stat-item {
    padding: 13px 9px !important;
  }

  .home .xg-hero-v13 .stat-number {
    font-size: 15px !important;
  }

  .home .xg-hero-v13 .stat-label {
    font-size: 11px !important;
  }

  .home .xg-hero-v13 .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .home .xg-hero-v13 .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .home .xg-hero-v13 .xg-slider {
    width: min(100%, 390px) !important;
    margin-inline: auto;
  }

  .home section:has(.xgbt8-shell) {
    padding: 42px 14px !important;
  }

  .home .xgbt8-grid {
    gap: 12px !important;
  }

  .home .xgbt8-card {
    border-radius: 15px !important;
  }

  .home .xgbt8-title {
    min-height: 56px;
    padding: 11px 8px !important;
    font-size: 12px !important;
  }

  .home .xgbt-home-guide,
  .home .xgbt-home-model,
  .home .san-pham-home {
    padding: 52px 14px !important;
  }

  .home .xgbt-choice-card,
  .home .xgbt-home-model .col.medium-4 > .col-inner > div {
    min-height: 0 !important;
    padding: 24px !important;
  }

  .home .san-pham-home .img-inner {
    border-radius: 18px;
  }

  .home .san-pham-home .tille-home {
    margin-top: 46px;
    margin-bottom: 22px;
    font-size: clamp(25px, 8vw, 32px);
  }

  .home .san-pham-home .product-small > .col-inner {
    padding-bottom: 12px;
  }

  .home .san-pham-home .product-small.box {
    border-radius: 14px;
  }

  .home .san-pham-home .box-image img {
    padding: 6px;
  }

  .home .san-pham-home .box-text-products {
    min-height: 104px;
    padding: 12px 11px 14px !important;
  }

  .home .san-pham-home .product-title {
    font-size: 13px;
  }

  .home .san-pham-home .price {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .xg-hero-v13 .hero-btn,
  .home .xgbt8-card,
  .home .xgbt8-inset img,
  .home .xgbt-choice-card,
  .home .xgbt-home-model .col.medium-4 > .col-inner > div,
  .home .san-pham-home .product-small.box {
    transition: none !important;
  }
}

/* Xưởng Gốm Bát Tràng — premium minimal homepage v2 */
:root {
  --xgbt-ink: #241f1b;
  --xgbt-muted: #6d655f;
  --xgbt-brand: #a34f32;
  --xgbt-accent: #b86242;
  --xgbt-accent-soft: #eee1d8;
  --xgbt-line: #ded7d0;
  --xgbt-surface: #fff;
  --xgbt-canvas: #f6f3ef;
  --xgbt-shadow-sm: 0 10px 30px rgba(43, 35, 30, .055);
  --xgbt-shadow-md: 0 20px 48px rgba(43, 35, 30, .09);
}

/* Flat, editorial header */
.home .header-main {
  height: 86px !important;
  background: #27211d !important;
  box-shadow: none !important;
}

.home .header-bottom {
  min-height: 48px;
  background: rgba(251, 249, 246, .98) !important;
  border-bottom: 1px solid #e6e0da;
  box-shadow: none !important;
}

.home .header-bottom .nav > li > a,
.home .header-bottom .nav > li > a > i {
  color: #342c27 !important;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .025em;
}

.home .header-bottom .nav > li > a:hover,
.home .header-bottom .nav > li.active > a {
  color: var(--xgbt-brand) !important;
}

.home .header-search-form .search-field,
.home .header-search-form .ux-search-submit {
  border-radius: 8px !important;
}

/* Hero: one dominant image, no stacked-carousel styling */
.home .xg-hero-v13 {
  min-height: 640px;
  padding: clamp(62px, 6.5vw, 94px) clamp(24px, 5vw, 72px) !important;
  background: #f3eee8 !important;
  border-bottom: 1px solid #e2d8cf !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home .xg-hero-v13 .xg-wrap {
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr) !important;
  gap: clamp(64px, 8vw, 112px) !important;
  align-items: center !important;
}

.home .xg-hero-v13 .hero-content {
  max-width: 630px;
}

.home .xg-hero-v13 .hero-title {
  max-width: 630px !important;
  margin: 0 0 20px !important;
  color: var(--xgbt-ink) !important;
  font-size: clamp(46px, 4.7vw, 68px) !important;
  line-height: .99 !important;
  letter-spacing: -.045em !important;
}

.home .xg-hero-v13 .hero-keyline {
  max-width: 600px;
  margin-bottom: 18px !important;
  color: var(--xgbt-brand) !important;
  font-size: clamp(18px, 1.55vw, 22px) !important;
  font-weight: 650 !important;
  letter-spacing: -.01em;
}

.home .xg-hero-v13 .hero-description {
  max-width: 585px !important;
  margin-bottom: 28px !important;
  color: #625b55 !important;
  font-size: 16px;
  line-height: 1.72 !important;
}

.home .xg-hero-v13 .hero-stats {
  max-width: 600px !important;
  gap: 0 !important;
  margin-bottom: 28px !important;
  padding: 15px 0 !important;
  border-top: 1px solid #d8cec5;
  border-bottom: 1px solid #d8cec5;
}

.home .xg-hero-v13 .stat-item {
  padding: 2px 22px !important;
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid #d8cec5 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.home .xg-hero-v13 .stat-item:first-child { padding-left: 0 !important; }
.home .xg-hero-v13 .stat-item:last-child {
  padding-right: 0 !important;
  border-right: 0 !important;
}

.home .xg-hero-v13 .stat-number {
  color: var(--xgbt-ink) !important;
  font-size: 21px !important;
  letter-spacing: -.02em;
}

.home .xg-hero-v13 .stat-label {
  color: #766d66 !important;
  font-size: 12px !important;
}

.home .xg-hero-v13 .hero-buttons { gap: 14px !important; }

.home .xg-hero-v13 .hero-btn {
  min-height: 52px;
  padding-inline: 25px !important;
  border-radius: 9px !important;
  font-weight: 700 !important;
}

.home .xg-hero-v13 .btn-primary {
  background: var(--xgbt-brand) !important;
  border-color: var(--xgbt-brand) !important;
}

.home .xg-hero-v13 .btn-secondary {
  color: #3a302a !important;
  background: transparent !important;
  border-color: #aa9c92 !important;
}

.home .xg-hero-v13 .badge-item {
  color: #736961 !important;
  font-size: 12px !important;
}

.home .xg-hero-v13 .xg-slider {
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  padding: 0 !important;
  filter: none !important;
}

.home .xg-hero-v13 .xg-stage {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 730 / 800;
  overflow: hidden;
  background: #e8ded5;
  border-radius: 18px !important;
  box-shadow: 0 28px 64px rgba(48, 37, 30, .14);
}

.home .xg-hero-v13 .xg-slide,
.home .xg-hero-v13 .xg-slide.is-prev,
.home .xg-hero-v13 .xg-slide.is-next,
.home .xg-hero-v13 .xg-slide.is-hidden {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  transform: none !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  pointer-events: none;
}

.home .xg-hero-v13 .xg-slide.is-active {
  z-index: 2 !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto;
}

.home .xg-hero-v13 .xg-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 18px !important;
}

.home .xg-hero-v13 .xg-caption {
  right: 18px !important;
  bottom: 18px !important;
  left: 18px !important;
  width: auto !important;
  padding: 12px 14px !important;
  color: #fff !important;
  background: rgba(35, 29, 25, .76) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 9px !important;
  backdrop-filter: blur(10px);
}

.home .xg-hero-v13 .xg-nav {
  z-index: 4;
  width: 38px !important;
  height: 38px !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(55,45,38,.12) !important;
  color: #342b25 !important;
  box-shadow: 0 8px 22px rgba(45,35,28,.12) !important;
}

/* Airier section rhythm and flatter catalogue cards */
.home section:has(.xgbt8-shell) {
  padding: clamp(72px, 8vw, 112px) clamp(20px, 5vw, 72px) !important;
  background: #fbfaf8 !important;
}

.home .xgbt8-grid { gap: clamp(16px, 2vw, 28px) !important; }

.home .xgbt8-card {
  border-color: #e3ddd7 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.home .xgbt8-card:hover {
  border-color: #bba89b !important;
  transform: translateY(-3px) !important;
  box-shadow: var(--xgbt-shadow-sm) !important;
}

.home .xgbt8-inset { background: #f1ece7 !important; }
.home .xgbt8-title { min-height: 70px; padding: 17px !important; }

.home .xgbt-home-guide,
.home .xgbt-home-model {
  padding: clamp(82px, 9vw, 124px) 24px !important;
}

.home .xgbt-home-guide { background: #fff !important; }
.home .xgbt-home-model { background: #eee7df !important; }

.home .xgbt-guide-card,
.home .xgbt-model-card {
  border-color: #e2dbd4 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.home .xgbt-guide-card:hover,
.home .xgbt-model-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--xgbt-shadow-sm) !important;
}

.home .section-title-main,
.home .xgbt-guide-heading,
.home .xgbt-model-heading {
  color: var(--xgbt-ink) !important;
  letter-spacing: -.035em !important;
}

.home .product-small.box {
  border-color: #e2ddd7 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.home .product-small.box:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--xgbt-shadow-sm) !important;
}

.home .product-small .box-image,
.home .product-small .box-image img { border-radius: 11px 11px 0 0 !important; }

@media (max-width: 849px) {
  .home .header-main { height: 70px !important; }
  .home .xg-hero-v13 {
    min-height: 0;
    padding: 40px 17px 58px !important;
  }
  .home .xg-hero-v13 .xg-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 34px !important;
  }
  .home .xg-hero-v13 .hero-content {
    order: 1 !important;
    width: 100%;
    max-width: 580px;
  }
  .home .xg-hero-v13 .xg-slider {
    order: 2 !important;
    max-width: 520px !important;
  }
  .home .xg-hero-v13 .hero-title {
    margin-bottom: 14px !important;
    font-size: clamp(39px, 11.2vw, 54px) !important;
    line-height: 1.01 !important;
  }
  .home .xg-hero-v13 .hero-keyline { font-size: 17px !important; }
  .home .xg-hero-v13 .hero-description {
    margin-bottom: 22px !important;
    font-size: 14.5px;
  }
  .home .xg-hero-v13 .hero-stats { margin-bottom: 22px !important; }
  .home .xg-hero-v13 .stat-item { padding-inline: 12px !important; }
  .home .xg-hero-v13 .stat-item:first-child { padding-left: 0 !important; }
  .home .xg-hero-v13 .stat-number { font-size: 17px !important; }
  .home .xg-hero-v13 .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }
  .home .xg-hero-v13 .hero-btn {
    min-width: 0 !important;
    padding-inline: 12px !important;
  }
  .home .xg-hero-v13 .hero-badges { justify-content: flex-start !important; }
  .home .xg-hero-v13 .xg-stage { border-radius: 14px !important; }
  .home .xg-hero-v13 .xg-slide,
  .home .xg-hero-v13 .xg-slide img { border-radius: 14px !important; }
  .home section:has(.xgbt8-shell) { padding-block: 64px !important; }
  .home .xgbt-home-guide,
  .home .xgbt-home-model { padding-block: 72px !important; }
}

@media (max-width: 430px) {
  .home .xg-hero-v13 .hero-buttons { grid-template-columns: 1fr; }
  .home .xg-hero-v13 .xg-caption {
    right: 10px !important;
    bottom: 10px !important;
    left: 10px !important;
  }
  .home .xgbt8-card { border-radius: 10px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .home .xg-hero-v13 .xg-slide,
  .home .xgbt8-card,
  .home .product-small.box { transition: none !important; }
}

/* v2.1: mobile-first visual LCP — keep the premium single image first */
@media (max-width: 430px) {
  .home .xg-hero-v13 {
    padding-top: 24px !important;
  }

  .home .xg-hero-v13 .xg-wrap {
    gap: 34px !important;
  }

  .home .xg-hero-v13 .xg-slider {
    order: 1 !important;
  }

  .home .xg-hero-v13 .hero-content {
    order: 2 !important;
  }
}

/* Xưởng Gốm Bát Tràng — bright, compact and consistent homepage v3 */
:root {
  --xgbt-ink: #49342b;
  --xgbt-muted: #766b64;
  --xgbt-brand: #a95535;
  --xgbt-accent: #c66d49;
  --xgbt-accent-soft: #f3e6dd;
  --xgbt-line: #e8dfd8;
  --xgbt-surface: #ffffff;
  --xgbt-canvas: #fbf8f4;
  --xgbt-shadow-sm: 0 10px 28px rgba(91, 61, 46, .07);
  --xgbt-shadow-md: 0 18px 42px rgba(91, 61, 46, .1);
}

/* One bright header language */
.home .header-main {
  height: 82px !important;
  background: #fffaf5 !important;
  border-bottom: 1px solid #eee5de !important;
  box-shadow: none !important;
}

.home .header-main .header-logo,
.home .header-main .header_logo {
  filter: brightness(0) saturate(100%) invert(25%) sepia(17%) saturate(1068%) hue-rotate(337deg) brightness(91%) contrast(90%);
}

.home .header-main .nav > li > a,
.home .header-main .header-button a,
.home .header-main .icon-search,
.home .header-main .cart-icon strong {
  color: #5a3d31 !important;
}

.home .header-main .header-button a:not(.button),
.home .header-main .header-button .button.is-outline {
  color: #5a3d31 !important;
  background: #fff !important;
  border-color: #e4d8cf !important;
}

.home .header-main .header-cart-link,
.home .header-main .header-button .button:not(.is-outline) {
  color: #fff !important;
  background: var(--xgbt-brand) !important;
  border-color: var(--xgbt-brand) !important;
}

.home .header-search-form .search-field,
.home .header-search-form .ux-search-submit {
  background: #fff !important;
  border-color: #e4d9d1 !important;
}

.home .header-bottom {
  min-height: 46px;
  background: #fff !important;
  border-bottom: 1px solid #eee7e1 !important;
}

/* Reorder the homepage journey without changing content or URLs. */
.home #content {
  display: flex;
  flex-direction: column;
  background: var(--xgbt-canvas);
}

.home #content > section { order: 20; }
.home #content > section:first-child { order: 1; }
.home #content > section:has(.xgbt8-shell) { order: 2; }
.home #content > .san-pham-home { order: 3; }
.home #content > .xgbt-home-guide { order: 4; }
.home #content > .xgbt-home-model { order: 5; }
.home #content > .xgbt-home-trust { order: 6; }

/* Lighter hero */
.home .xg-hero-v13 {
  min-height: 596px;
  padding: clamp(54px, 5.5vw, 78px) clamp(24px, 5vw, 72px) !important;
  color: var(--xgbt-ink) !important;
  background: linear-gradient(110deg, #fffdfb 0%, #fbf6f1 56%, #f7eee7 100%) !important;
  border-bottom: 1px solid var(--xgbt-line) !important;
}

.home .xg-hero-v13 .hero-title { color: #4a3026 !important; }
.home .xg-hero-v13 .hero-keyline { color: #a95535 !important; }
.home .xg-hero-v13 .hero-description { color: #71665f !important; }
.home .xg-hero-v13 .stat-number { color: #5a3b2f !important; }

.home .xg-hero-v13 .xg-stage {
  background: #f1e9e2;
  box-shadow: 0 20px 46px rgba(98, 68, 52, .11);
}

/* Shared section system */
.home #content > section:not(:first-child) {
  border: 0 !important;
}

.home #content > section:nth-child(even) { background: #fff !important; }
.home #content > section:nth-child(odd) { background: #fbf8f4 !important; }
.home #content > .xgbt-home-model { background: #f7f0ea !important; }

.home #content h2,
.home #content .section-title-main,
.home .xgbt-guide-heading,
.home .xgbt-model-heading {
  color: #50372c !important;
  letter-spacing: -.03em !important;
}

.home .xgbt8-card,
.home .xgbt-guide-card,
.home .xgbt-model-card,
.home .product-small.box,
.home .product-small .col-inner {
  background: #fff !important;
  border: 1px solid var(--xgbt-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.home .xgbt8-card:hover,
.home .xgbt-guide-card:hover,
.home .xgbt-model-card:hover,
.home .product-small .col-inner:hover {
  border-color: #cfb7a8 !important;
  box-shadow: var(--xgbt-shadow-sm) !important;
  transform: translateY(-3px);
}

.home .san-pham-home {
  padding-block: clamp(72px, 8vw, 108px) !important;
  background: #fff !important;
}

.home .san-pham-home > .section-content,
.home .san-pham-home > .section-content > .row {
  max-width: 1280px !important;
  margin-inline: auto !important;
}

@media (max-width: 849px) {
  .home .header-main {
    height: 68px !important;
    background: #fffaf5 !important;
  }

  .home .header-main .header-inner { padding-inline: 14px !important; }
  .home .header-main .mobile-nav > li > a { color: #624639 !important; }

  /* Compact hero: visual first, scannable information second. */
  .home .xg-hero-v13 {
    padding: 18px 17px 38px !important;
    min-height: 0 !important;
  }

  .home .xg-hero-v13 .xg-wrap { gap: 24px !important; }

  .home .xg-hero-v13 .xg-slider {
    width: 100% !important;
    height: auto !important;
    max-width: 520px !important;
  }

  .home .xg-hero-v13 .xg-stage {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 12px !important;
  }

  .home .xg-hero-v13 .xg-slide,
  .home .xg-hero-v13 .xg-slide img {
    border-radius: 12px !important;
  }

  .home .xg-hero-v13 .xg-slide img {
    object-position: center 48% !important;
  }

  .home .xg-hero-v13 .xg-caption { display: none !important; }

  .home .xg-hero-v13 .hero-content {
    text-align: left !important;
  }

  .home .xg-hero-v13 .hero-title {
    margin-bottom: 10px !important;
    font-size: clamp(34px, 10vw, 44px) !important;
  }

  .home .xg-hero-v13 .hero-keyline {
    margin-bottom: 10px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .home .xg-hero-v13 .hero-description {
    display: -webkit-box;
    margin-bottom: 16px !important;
    overflow: hidden;
    font-size: 14px !important;
    line-height: 1.55 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .home .xg-hero-v13 .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 16px !important;
    padding: 10px 0 !important;
  }

  .home .xg-hero-v13 .stat-item {
    min-width: 0 !important;
    padding: 2px 8px !important;
    text-align: left !important;
  }

  .home .xg-hero-v13 .stat-item:first-child { padding-left: 0 !important; }
  .home .xg-hero-v13 .stat-number { font-size: 16px !important; }
  .home .xg-hero-v13 .stat-label { font-size: 10.5px !important; line-height: 1.3 !important; }

  .home .xg-hero-v13 .hero-buttons {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
    gap: 10px !important;
    margin-bottom: 0 !important;
  }

  .home .xg-hero-v13 .hero-btn {
    min-height: 48px !important;
    padding: 10px !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    text-align: center;
  }

  .home .xg-hero-v13 .hero-badges { display: none !important; }

  /* Categories become one compact swipe row. */
  .home section:has(.xgbt8-shell) {
    padding: 46px 0 42px 17px !important;
  }

  .home .xgbt8-shell { max-width: none !important; }

  .home .xgbt8-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 17px 12px 0 !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-left: 17px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .home .xgbt8-grid::-webkit-scrollbar { display: none; }

  .home .xgbt8-card {
    flex: 0 0 44% !important;
    max-width: 44% !important;
    scroll-snap-align: start;
  }

  .home .xgbt8-title {
    min-height: 58px !important;
    padding: 12px 10px !important;
    font-size: 13px !important;
  }

  /* Large product cards in horizontal catalogue bands. */
  .home .san-pham-home {
    padding: 56px 0 64px !important;
  }

  .home .san-pham-home .section-title-container,
  .home .san-pham-home .text-center,
  .home .san-pham-home h2,
  .home .san-pham-home h3 {
    padding-inline: 17px !important;
  }

  .home .san-pham-home .row-small {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 30px !important;
    padding: 2px 17px 18px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    overscroll-behavior-inline: contain;
    scroll-padding-left: 17px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home .san-pham-home .row-small::-webkit-scrollbar { display: none; }

  .home .san-pham-home .row-small > .product-small {
    position: relative !important;
    left: auto !important;
    flex: 0 0 78% !important;
    width: 78% !important;
    max-width: 78% !important;
    padding: 0 !important;
    scroll-snap-align: start;
  }

  .home .san-pham-home .product-small .box-image,
  .home .san-pham-home .product-small .box-image img {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .home .san-pham-home .product-small .box-text {
    min-height: 116px;
    padding: 15px 16px 18px !important;
  }

  .home .xgbt-home-guide,
  .home .xgbt-home-model,
  .home .xgbt-home-trust {
    padding: 64px 17px !important;
  }
}

@media (max-width: 430px) {
  .home .xg-hero-v13 .xg-wrap { gap: 22px !important; }
  .home .xgbt8-card { flex-basis: 46% !important; max-width: 46% !important; }
  .home .san-pham-home .row-small > .product-small {
    flex-basis: 80% !important;
    width: 80% !important;
    max-width: 80% !important;
  }
}

/* v3.1: neutralize Flatsome masonry geometry inside mobile swipe rows */
@media (max-width: 849px) {
  .home .san-pham-home .row-small,
  .home .san-pham-home .row-small.row-masonry {
    align-items: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .home .san-pham-home .row-small > .product-small {
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    align-self: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
  }

  .home .san-pham-home .row-small > .product-small > .col-inner {
    height: auto !important;
    min-height: 0 !important;
  }
}

@media (max-width: 430px) {
  .home .san-pham-home .row-small > .product-small {
    flex-basis: 86% !important;
    width: 86% !important;
    max-width: 86% !important;
  }
}

/* v3.2: one clean visual surface per product card */
.home .product-small > .col-inner {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home .product-small .box {
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--xgbt-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.home .product-small .box:hover {
  border-color: #cfb7a8 !important;
  box-shadow: var(--xgbt-shadow-sm) !important;
}

/* Xưởng Gốm Bát Tràng — homepage micro UI system v4 */
.home #content,
.home #content button,
.home #content input,
.home #content select,
.home #content textarea {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Explicit visual rhythm follows the reordered journey. */
.home #content > section:has(.xgbt8-shell) { background: #fff !important; }
.home #content > .san-pham-home { background: #fbf8f4 !important; }
.home #content > .xgbt-home-guide { background: #fff !important; }
.home #content > .xgbt-home-model { background: #f8f2ed !important; }
.home #content > .xgbt-home-trust { background: #fff !important; }

.home #content h2,
.home #content h3,
.home #content .tille-home,
.home #content .quy-trinh-title {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: #51392f !important;
  text-wrap: balance;
}

.home #content h2 {
  font-size: clamp(30px, 2.6vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -.035em !important;
}

.home #content h3 {
  line-height: 1.35 !important;
  letter-spacing: -.018em !important;
}

.home #content p,
.home #content li {
  color: #756b65;
  line-height: 1.7;
}

/* Product bands share one compact heading treatment. */
.home .san-pham-home .tille-home {
  width: min(100%, 1250px) !important;
  margin: 0 auto 26px !important;
  padding: 0 0 13px !important;
  font-size: clamp(27px, 2.2vw, 34px) !important;
  line-height: 1.18 !important;
  text-align: center;
}

.home .san-pham-home .tille-home::after {
  width: 46px !important;
  height: 3px !important;
  margin-top: 12px !important;
  background: var(--xgbt-accent) !important;
  border-radius: 999px;
}

.home .san-pham-home .product-small .box {
  padding: 0 !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home .san-pham-home .product-small .box-text {
  padding: 16px 17px 19px !important;
}

.home .san-pham-home .product-title,
.home .san-pham-home .product-title a {
  color: #4f3c33 !important;
  font-size: 14.5px !important;
  font-weight: 650 !important;
  line-height: 1.42 !important;
}

.home .san-pham-home .price,
.home .san-pham-home .price .amount {
  color: var(--xgbt-brand) !important;
  font-size: 17px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}

.home .san-pham-home .quick-view {
  color: #fff !important;
  background: rgba(91, 61, 47, .9) !important;
  font-size: 12px !important;
  letter-spacing: .02em;
}

/* Normalize every informational card still using its legacy class. */
.home .xgbt-choice-card,
.home .xgbt-trust-card,
.home .xgbt-step-card,
.home .xgbt-origin-card {
  color: var(--xgbt-ink) !important;
  background: #fff !important;
  border: 1px solid var(--xgbt-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home .xgbt-choice-card:hover,
.home .xgbt-trust-card:hover,
.home .xgbt-step-card:hover,
.home .xgbt-origin-card:hover {
  border-color: #ceb7aa !important;
  box-shadow: var(--xgbt-shadow-sm) !important;
  transform: translateY(-3px);
}

.home .xgbt-choice-card,
.home .xgbt-trust-card,
.home .xgbt-step-card { padding: 24px !important; }

.home .xgbt-origin-card { padding: 26px !important; }

/* Legacy yellow square buttons now belong to the same CTA system. */
.home #content .button.primary {
  min-height: 50px !important;
  height: auto !important;
  margin: 5px 8px !important;
  padding: 14px 22px !important;
  color: #fff !important;
  background: var(--xgbt-brand) !important;
  border: 1px solid var(--xgbt-brand) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.home #content .button.primary.is-outline {
  color: #69483a !important;
  background: #fff !important;
  border-color: #cdb9ad !important;
}

.home #content .button.primary:hover {
  background: #93472d !important;
  border-color: #93472d !important;
  transform: translateY(-2px);
}

.home #content .button.primary.is-outline:hover { color: #fff !important; }

/* Category copy and imagery align with product cards. */
.home .xgbt8-title {
  color: #513a30 !important;
  font-weight: 700 !important;
  letter-spacing: .005em !important;
}

.home .xgbt8-inset { background: #f7f1eb !important; }

/* Floating utilities use the same surface, border and accent. */
.home .custom-nav-wrapper {
  color: #594238 !important;
  background: rgba(255, 253, 250, .97) !important;
  border: 1px solid #e7ddd6 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(74, 50, 39, .12) !important;
  backdrop-filter: blur(12px);
}

.home .custom-nav-link { color: #5a4338 !important; }
.home .custom-nav-link i,
.home .custom-nav-link svg { color: var(--xgbt-brand) !important; }

.home #top-link {
  color: #6a4b3d !important;
  background: #fffaf6 !important;
  border-color: #ddcfc5 !important;
  box-shadow: 0 8px 20px rgba(74, 50, 39, .1) !important;
}

@media (max-width: 849px) {
  .home #content h2 {
    font-size: 25px !important;
    line-height: 1.28 !important;
  }

  .home #content h3 { font-size: 18px !important; }

  .home .san-pham-home .tille-home {
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 17px 11px !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  .home .san-pham-home .tille-home::after {
    width: 36px !important;
    margin: 10px 0 0 !important;
  }

  .home .san-pham-home .product-small .box-text {
    min-height: 122px !important;
    padding: 16px 17px 18px !important;
  }

  .home .san-pham-home .product-title,
  .home .san-pham-home .product-title a {
    font-size: 15px !important;
    line-height: 1.42 !important;
  }

  .home .san-pham-home .price,
  .home .san-pham-home .price .amount {
    font-size: 17px !important;
  }

  .home .xgbt-choice-card,
  .home .xgbt-trust-card,
  .home .xgbt-step-card,
  .home .xgbt-origin-card {
    padding: 19px !important;
    border-radius: 12px !important;
  }

  .home #content .button.primary {
    width: calc(100% - 34px) !important;
    min-height: 48px !important;
    margin: 5px 17px !important;
    padding: 13px 16px !important;
    font-size: 14px !important;
  }

  .home .custom-nav-wrapper {
    height: 68px !important;
    border-width: 1px 0 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 -8px 24px rgba(74, 50, 39, .08) !important;
  }

  .home .custom-nav-link {
    min-height: 60px !important;
    color: #59453b !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home #content *,
  .home .custom-nav-wrapper * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* v4.1: lock section colors to visual order, not original DOM position */
body.home #content > section:has(.xgbt8-shell) { background: #fff !important; }
body.home #content > section.san-pham-home { background: #fbf8f4 !important; }
body.home #content > section.xgbt-home-guide { background: #fff !important; }
body.home #content > section.xgbt-home-model { background: #f8f2ed !important; }
body.home #content > section.xgbt-home-trust { background: #fff !important; }

body.home #content > section.san-pham-home .tille-home {
  font-size: 32px !important;
}

@media (max-width: 849px) {
  body.home #content > section.san-pham-home .tille-home {
    font-size: 24px !important;
  }
}

/* Mobile catalogue tabs: one product family at a time, all content retained. */
@media (max-width: 849px) {
  html.xgbt-mobile-catalog-loading .home .san-pham-home .section-content > .row > .col > .col-inner {
    min-height: 620px;
    visibility: hidden;
  }

  .home .san-pham-home.xgbt-mobile-catalog-ready {
    min-height: 0 !important;
    padding: 46px 0 58px !important;
  }

  .home .xgbt-mobile-catalog-tabs {
    display: flex;
    gap: 9px;
    width: 100%;
    margin: 0 0 24px;
    padding: 0 17px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 17px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .home .xgbt-mobile-catalog-tabs::-webkit-scrollbar { display: none; }

  .home .xgbt-mobile-catalog-tab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 9px 14px;
    color: #654a3e;
    background: #fff;
    border: 1px solid #dfd3cb;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .home .xgbt-mobile-catalog-tab[aria-selected="true"] {
    color: #fff;
    background: var(--xgbt-brand);
    border-color: var(--xgbt-brand);
  }

  .home .xgbt-mobile-product-panel[hidden] { display: none !important; }

  .home .xgbt-mobile-product-panel {
    width: 100%;
    animation: xgbt-panel-in 180ms ease both;
  }

  .home .xgbt-mobile-product-panel > .tille-home {
    margin-bottom: 17px !important;
  }

  .home .xgbt-mobile-product-panel > .row-small:last-child {
    margin-bottom: 12px !important;
  }

  .home .xgbt-mobile-catalog-all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 34px);
    min-height: 48px;
    margin: 22px 17px 0;
    padding: 12px 18px;
    color: #68493c !important;
    background: #fff;
    border: 1px solid #cdb9ad;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
  }

  @keyframes xgbt-panel-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .xgbt-mobile-product-panel { animation: none !important; }
}

/* XGBT_HOME_PRODUCT_AIRY_V1
 * Airier homepage catalogue inspired by the reference layout.
 * Presentation only: product links, prices, Quick View and mobile tabs stay intact.
 */
.home #content > section.san-pham-home {
  padding: 76px 22px 88px !important;
  background:
    radial-gradient(circle at 8% 2%, rgba(177, 103, 68, .09), transparent 31%),
    radial-gradient(circle at 94% 7%, rgba(229, 167, 112, .09), transparent 28%),
    #fbf8f4 !important;
}

.home .san-pham-home > .section-content > .row {
  max-width: 1420px !important;
}

.home .san-pham-home .tille-home {
  margin: 66px auto 30px !important;
  padding: 0 !important;
  text-align: center !important;
}

.home .san-pham-home .tille-home:first-of-type {
  margin-top: 50px !important;
}

.home .san-pham-home .tille-home::after {
  display: none !important;
}

.home .san-pham-home .tille-home > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 62px;
  padding: 13px 18px 13px 23px;
  color: #51392f !important;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #eaded6;
  border-radius: 999px;
  box-shadow: 0 13px 34px rgba(80, 49, 34, .09);
  text-decoration: none !important;
}

.home .san-pham-home .tille-home > a::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: #df894d;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(223, 137, 77, .14);
}

.home .san-pham-home .tille-home > a::after {
  content: "Xem tất cả \2192";
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-left: 4px;
  padding: 8px 14px;
  color: #fff;
  background: #a65436;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.home .san-pham-home .row-small {
  margin-right: -12px !important;
  margin-left: -12px !important;
}

.home .san-pham-home .row-small > .product-small {
  margin-bottom: 24px !important;
  padding: 12px !important;
}

.home .san-pham-home .product-small > .col-inner {
  height: 100%;
  padding: 0 !important;
}

.home .san-pham-home .product-small .box {
  height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, .97) !important;
  border: 1px solid #eaded6 !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 30px rgba(73, 45, 32, .075) !important;
}

.home .san-pham-home .product-small .box:hover {
  border-color: #d7b7a6 !important;
  box-shadow: 0 18px 38px rgba(73, 45, 32, .12) !important;
  transform: translateY(-4px);
}

.home .san-pham-home .box-image {
  width: calc(100% - 20px) !important;
  margin: 10px 10px 0 !important;
  overflow: hidden;
  background: #f7f1ec !important;
  border: 1px solid rgba(145, 89, 61, .10);
  border-radius: 16px !important;
}

.home .san-pham-home .box-image img {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.home .san-pham-home .product-small .box-text {
  min-height: 126px !important;
  padding: 17px 18px 20px !important;
}

.home .san-pham-home .product-title,
.home .san-pham-home .product-title a {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.home .san-pham-home .price,
.home .san-pham-home .price .amount {
  margin-top: 8px;
  font-size: 17px !important;
}

/* Keep the homepage as a curated preview: four products per group on desktop.
 * All products remain available through each linked heading/category page.
 */
@media (min-width: 850px) {
  .home .san-pham-home .row-small > .product-small:nth-child(n + 5) {
    display: none !important;
  }

  .home .san-pham-home .tille-home:first-of-type + .row-small + .row-small {
    display: none !important;
  }
}

@media (max-width: 849px) {
  .home #content > section.san-pham-home,
  .home .san-pham-home.xgbt-mobile-catalog-ready {
    padding: 44px 0 58px !important;
  }

  .home .san-pham-home .tille-home,
  .home .xgbt-mobile-product-panel > .tille-home {
    margin: 0 17px 19px !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .home .san-pham-home .tille-home > a {
    width: 100%;
    min-height: 54px;
    justify-content: flex-start;
    gap: 11px;
    padding: 10px 12px 10px 18px;
    font-size: 21px !important;
  }

  .home .san-pham-home .tille-home > a::after {
    margin-left: auto;
    padding: 8px 11px;
    font-size: 12px;
  }

  .home .san-pham-home .row-small {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 7px 8px !important;
    scroll-padding-inline: 17px;
  }

  .home .san-pham-home .row-small > .product-small {
    margin-bottom: 8px !important;
    padding: 10px !important;
  }

  .home .san-pham-home .product-small .box {
    border-radius: 20px !important;
    box-shadow: 0 10px 26px rgba(73, 45, 32, .08) !important;
  }

  .home .san-pham-home .product-small .box-text {
    min-height: 126px !important;
    padding: 16px 17px 19px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .san-pham-home .product-small .box {
    transition: none !important;
  }
}

/* XGBT_HOME_AIRY_SYSTEM_V2
 * Extends the approved airy product language across the complete homepage.
 * Presentation only: preserves homepage content, links, forms, commerce and tracking.
 */

body.home {
  --xgbt-airy-ink: #51392f;
  --xgbt-airy-muted: #756860;
  --xgbt-airy-brand: #a65436;
  --xgbt-airy-accent: #df894d;
  --xgbt-airy-canvas: #fbf8f4;
  --xgbt-airy-soft: #f7eee8;
  --xgbt-airy-line: #eaded6;
  --xgbt-airy-shadow: 0 13px 34px rgba(80, 49, 34, .09);
  --xgbt-airy-shadow-hover: 0 19px 42px rgba(80, 49, 34, .13);
  background: var(--xgbt-airy-canvas);
}

.home,
.home #wrapper,
.home #main,
.home #header,
.home #footer,
.home button,
.home input,
.home select,
.home textarea {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home #main h1,
.home #main h2,
.home #main h3,
.home #main h4,
.home #footer {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.home #content > section:not(:first-child) {
  position: relative;
  overflow: hidden;
}

.home #content > section:not(:first-child)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 4% 0%, rgba(177, 103, 68, .055), transparent 24%),
    radial-gradient(circle at 96% 8%, rgba(229, 167, 112, .05), transparent 23%);
}

.home #content > section > .section-content {
  position: relative;
  z-index: 1;
}

/* Header */
.home #header .header-main {
  background: rgba(255, 252, 249, .97) !important;
  border-bottom: 1px solid var(--xgbt-airy-line);
  box-shadow: none !important;
}

.home #header .header-inner,
.home #header .header-bottom > .flex-row {
  max-width: 1360px;
}

.home #header .header-search-form .searchform {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--xgbt-airy-line);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(80, 49, 34, .06);
}

.home #header .header-search-form .search-field,
.home #header .header-search-form .ux-search-submit {
  min-height: 48px;
  border: 0 !important;
  box-shadow: none !important;
}

.home #header .header-search-form .search-field {
  padding-left: 20px;
  color: var(--xgbt-airy-ink);
  background: transparent !important;
}

.home #header .header-search-form .ux-search-submit {
  width: 54px;
  color: var(--xgbt-airy-ink) !important;
  background: #fff !important;
}

.home #header .header-bottom {
  background: rgba(255, 255, 255, .97) !important;
  border-bottom: 1px solid rgba(126, 85, 65, .1);
  box-shadow: 0 9px 28px rgba(80, 49, 34, .07) !important;
}

.home #header .header-bottom .nav > li > a {
  min-height: 38px;
  margin: 5px 2px;
  padding: 0 14px;
  color: var(--xgbt-airy-ink) !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.home #header .header-bottom .nav > li.active > a,
.home #header .header-bottom .nav > li > a:hover {
  color: var(--xgbt-airy-brand) !important;
  background: var(--xgbt-airy-soft);
}

.home #header .header-button .button,
.home #header .cart-item .header-cart-link {
  border-radius: 999px !important;
}

/* Hero */
.home .xg-hero-v13 {
  min-height: 610px;
  background:
    radial-gradient(circle at 8% 0%, rgba(177, 103, 68, .08), transparent 30%),
    radial-gradient(circle at 94% 4%, rgba(229, 167, 112, .12), transparent 27%),
    var(--xgbt-airy-canvas) !important;
  border-radius: 0 0 34px 34px !important;
}

.home .xg-hero-v13 .hero-title {
  color: var(--xgbt-airy-ink) !important;
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(42px, 4.1vw, 60px) !important;
  font-weight: 750 !important;
  letter-spacing: -.045em !important;
  line-height: 1.08 !important;
}

.home .xg-hero-v13 .hero-keyline {
  color: var(--xgbt-airy-brand) !important;
  font-family: inherit !important;
  font-weight: 700;
}

.home .xg-hero-v13 .stat-item {
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid var(--xgbt-airy-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--xgbt-airy-shadow) !important;
}

.home .xg-hero-v13 .hero-btn {
  min-height: 50px;
  padding-inline: 24px !important;
  border-radius: 999px !important;
}

.home .xg-hero-v13 .btn-primary {
  background: var(--xgbt-airy-brand) !important;
}

.home .xg-hero-v13 .btn-secondary {
  color: var(--xgbt-airy-ink) !important;
  background: rgba(255, 255, 255, .92) !important;
  border-color: #d7c4b9 !important;
}

.home .xg-hero-v13 .xg-slider,
.home .xg-hero-v13 .xg-slide,
.home .xg-hero-v13 .xg-slide img {
  border-radius: 24px !important;
}

.home .xg-hero-v13 .xg-slider {
  padding: 9px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--xgbt-airy-line);
  box-shadow: var(--xgbt-airy-shadow-hover);
}

.home .xg-hero-v13 .xg-nav {
  color: var(--xgbt-airy-brand) !important;
  background: rgba(255, 255, 255, .94) !important;
  border-color: var(--xgbt-airy-line) !important;
}

/* Category cards */
.home section:has(.xgbt8-shell) {
  padding: 70px 22px 78px !important;
  background: #fff !important;
}

.home .xgbt8-grid {
  gap: 22px !important;
}

.home .xgbt8-card {
  padding: 9px !important;
  background: #fff !important;
  border-color: var(--xgbt-airy-line) !important;
  border-radius: 22px !important;
  box-shadow: var(--xgbt-airy-shadow) !important;
}

.home .xgbt8-inset {
  border-radius: 15px !important;
}

.home .xgbt8-title {
  min-height: 66px;
  padding: 14px 10px 8px !important;
}

/* Shared section rhythm and intro surfaces */
.home .xgbt-home-guide,
.home .xgbt-home-model,
.home .xgbt-home-trust,
.home #content > section.yeu-cau {
  padding: 82px 24px 90px !important;
}

.home .xgbt-home-guide > .section-content > .row,
.home .xgbt-home-model > .section-content > .row,
.home .xgbt-home-trust > .section-content > .row,
.home #content > section.yeu-cau > .section-content > .row {
  max-width: 1280px !important;
}

.home .xgbt-home-guide > .section-content > .row > .col:first-child > .col-inner,
.home .xgbt-home-model > .section-content > .row > .col:first-child > .col-inner,
.home .xgbt-home-trust > .section-content > .row > .col:first-child > .col-inner {
  max-width: 1100px;
  margin: 0 auto 30px;
  padding: 34px 44px 36px !important;
  text-align: center;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--xgbt-airy-line);
  border-radius: 28px;
  box-shadow: var(--xgbt-airy-shadow);
}

.home .xgbt-home-guide > .section-content > .row > .col:first-child .text > p:first-child,
.home .xgbt-home-model > .section-content > .row > .col:first-child .text > p:first-child,
.home .xgbt-home-trust > .section-content > .row > .col:first-child .text > p:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 auto 14px !important;
  padding: 7px 14px;
  color: var(--xgbt-airy-brand) !important;
  background: var(--xgbt-airy-soft);
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: .06em;
}

.home .xgbt-home-guide > .section-content > .row > .col:first-child h2,
.home .xgbt-home-model > .section-content > .row > .col:first-child h2,
.home .xgbt-home-trust > .section-content > .row > .col:first-child h2 {
  margin-bottom: 14px !important;
  color: var(--xgbt-airy-ink) !important;
  font-size: clamp(30px, 3vw, 42px) !important;
}

.home .xgbt-home-guide > .section-content > .row > .col:first-child p:last-child,
.home .xgbt-home-model > .section-content > .row > .col:first-child p:last-child,
.home .xgbt-home-trust > .section-content > .row > .col:first-child p:last-child {
  max-width: 880px;
  margin: 0 auto;
  font-size: 16px;
}

/* Information cards */
.home .xgbt-choice-card,
.home .xgbt-trust-card,
.home .xgbt-step-card,
.home .xgbt-origin-card,
.home .xgbt-home-model .col.medium-4 > .col-inner > div {
  padding: 30px !important;
  background: rgba(255, 255, 255, .97) !important;
  border: 1px solid var(--xgbt-airy-line) !important;
  border-radius: 22px !important;
  box-shadow: var(--xgbt-airy-shadow) !important;
}

.home .xgbt-choice-card:hover,
.home .xgbt-trust-card:hover,
.home .xgbt-step-card:hover,
.home .xgbt-origin-card:hover,
.home .xgbt-home-model .col.medium-4 > .col-inner > div:hover {
  border-color: #d7b7a6 !important;
  box-shadow: var(--xgbt-airy-shadow-hover) !important;
  transform: translateY(-4px);
}

.home .xgbt-home-model .col.medium-4:last-child > .col-inner > div {
  background: linear-gradient(145deg, #6d3a29, #934b31) !important;
}

.home .xgbt-choice-card a,
.home .xgbt-trust-card a,
.home .xgbt-home-model .col.medium-4 a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 5px;
  padding: 8px 14px;
  color: var(--xgbt-airy-brand) !important;
  background: var(--xgbt-airy-soft);
  border-radius: 999px;
  text-decoration: none !important;
}

.home .xgbt-home-model .col.medium-4:last-child a {
  color: #fff !important;
  background: rgba(255, 255, 255, .13);
}

.home .xgbt-step-card .xgbt-step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff !important;
  background: var(--xgbt-airy-brand);
  border-radius: 50%;
}

/* Origin and knowledge */
.home #content > section.yeu-cau {
  background: var(--xgbt-airy-canvas) !important;
}

.home #content > section.yeu-cau + section.yeu-cau {
  background: #fff !important;
}

.home #content > section.yeu-cau .row-collapse > .col > .col-inner {
  padding: 38px 44px !important;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--xgbt-airy-line);
  border-radius: 28px;
  box-shadow: var(--xgbt-airy-shadow);
}

.home #content > section.yeu-cau .row-collapse h2,
.home #content > section.yeu-cau .row:not(.row-collapse) > .col > .col-inner > h2 {
  margin: 0 auto 24px !important;
  color: var(--xgbt-airy-ink) !important;
  font-size: clamp(28px, 2.6vw, 38px) !important;
  text-align: center;
}

.home #content > section.yeu-cau .row:not(.row-collapse) > .col > .col-inner > h2 {
  display: flex;
  width: fit-content;
  min-height: 58px;
  align-items: center;
  gap: 13px;
  padding: 12px 22px;
  background: #fff;
  border: 1px solid var(--xgbt-airy-line);
  border-radius: 999px;
  box-shadow: var(--xgbt-airy-shadow);
}

.home #content > section.yeu-cau .row:not(.row-collapse) > .col > .col-inner > h2::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--xgbt-airy-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(223, 137, 77, .14);
}

.home #content > section.yeu-cau .post-item {
  padding: 12px !important;
}

.home #content > section.yeu-cau .box-blog-post {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--xgbt-airy-line);
  border-radius: 22px;
  box-shadow: var(--xgbt-airy-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home #content > section.yeu-cau .box-blog-post:hover {
  border-color: #d7b7a6;
  box-shadow: var(--xgbt-airy-shadow-hover);
  transform: translateY(-4px);
}

.home #content > section.yeu-cau .box-blog-post .box-image {
  width: calc(100% - 20px);
  margin: 10px 10px 0;
  overflow: hidden;
  border-radius: 16px;
}

.home #content > section.yeu-cau .box-blog-post .box-text {
  padding: 18px 20px 22px;
}

/* Shared buttons */
.home #content .button.primary {
  border-radius: 999px !important;
}

/* Footer */
.home #footer {
  color: rgba(255, 255, 255, .84);
  background: #3d281f;
}

.home #footer > .section {
  padding: 72px 24px 68px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(223, 137, 77, .15), transparent 31%),
    radial-gradient(circle at 92% 6%, rgba(255, 255, 255, .07), transparent 27%),
    linear-gradient(145deg, #68402e, #75442e) !important;
  border-radius: 36px 36px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.home #footer > .section > .section-content > .row {
  max-width: 1280px !important;
}

.home #footer .row-small > .col > .col-inner {
  height: 100%;
  padding: 18px 20px !important;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
}

.home #footer a {
  color: rgba(255, 255, 255, .9) !important;
  text-underline-offset: 4px;
}

.home #footer .bullet-arrow {
  border-color: rgba(255, 255, 255, .13) !important;
}

.home #footer .absolute-footer {
  color: rgba(255, 255, 255, .65);
  background: #3d281f !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 849px) {
  .home #header .header-main {
    min-height: 70px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 8px 24px rgba(80, 49, 34, .08) !important;
  }

  .home .xg-hero-v13 {
    min-height: 0;
    padding: 34px 18px 48px !important;
    border-radius: 0 0 26px 26px !important;
  }

  .home .xg-hero-v13 .hero-title {
    font-size: 38px !important;
    line-height: 1.12 !important;
  }

  .home .xg-hero-v13 .hero-keyline {
    font-size: 18px !important;
  }

  .home .xg-hero-v13 .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .home .xg-hero-v13 .hero-btn {
    width: 100%;
    margin: 0 !important;
  }

  .home .xg-hero-v13 .xg-slider {
    padding: 7px;
    border-radius: 20px !important;
  }

  .home section:has(.xgbt8-shell),
  .home .xgbt-home-guide,
  .home .xgbt-home-model,
  .home .xgbt-home-trust,
  .home #content > section.yeu-cau {
    padding: 48px 0 56px !important;
  }

  .home .xgbt-home-guide > .section-content > .row > .col:first-child > .col-inner,
  .home .xgbt-home-model > .section-content > .row > .col:first-child > .col-inner,
  .home .xgbt-home-trust > .section-content > .row > .col:first-child > .col-inner {
    width: calc(100% - 20px);
    margin: 0 10px 22px;
    padding: 25px 20px 27px !important;
    border-radius: 22px;
  }

  .home .xgbt-home-guide > .section-content > .row > .col:first-child h2,
  .home .xgbt-home-model > .section-content > .row > .col:first-child h2,
  .home .xgbt-home-trust > .section-content > .row > .col:first-child h2 {
    font-size: 26px !important;
  }

  .home .xgbt-choice-card,
  .home .xgbt-trust-card,
  .home .xgbt-step-card,
  .home .xgbt-origin-card,
  .home .xgbt-home-model .col.medium-4 > .col-inner > div {
    padding: 23px !important;
    border-radius: 20px !important;
  }

  .home #content > section.yeu-cau .row-collapse > .col > .col-inner {
    width: calc(100% - 20px);
    margin: 0 10px;
    padding: 27px 22px !important;
    border-radius: 22px;
  }

  .home #content > section.yeu-cau .row:not(.row-collapse) > .col > .col-inner > h2 {
    width: calc(100% - 20px);
    min-height: 54px;
    margin-inline: 10px !important;
    padding: 12px 18px;
    font-size: 25px !important;
    line-height: 1.26 !important;
    text-align: left;
  }

  .home #content > section.yeu-cau .post-item {
    padding: 10px 17px !important;
  }

  .home #footer > .section {
    padding: 52px 17px 44px !important;
    border-radius: 26px 26px 0 0;
  }

  .home #footer .row-small > .col > .col-inner {
    padding: 15px 16px !important;
    border-radius: 16px;
  }

  .home #footer .row-small > .col {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .xgbt8-card,
  .home .xgbt-choice-card,
  .home .xgbt-trust-card,
  .home .xgbt-step-card,
  .home .xgbt-origin-card,
  .home .box-blog-post {
    transition: none !important;
  }
}

/* XGBT_HOME_HEADER_HERO_V3
 * Scoped refinement for the homepage header, search experience and hero only.
 * Keeps existing destinations, search intent routing, copy and commerce behavior.
 */

/* Let live-search content escape the visual search pill. */
.home #header .header-main {
  position: relative;
  z-index: 30;
}

.home #header .header-bottom {
  position: relative;
  z-index: 20;
}

.home #header .header-search-form,
.home #header .header-search-form-wrapper,
.home #header .header-search-form .searchform {
  position: relative;
  overflow: visible !important;
}

.home #header .header-search-form .searchform {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home #header .header-search-form .searchform > .flex-row.relative {
  min-height: 52px;
  overflow: hidden;
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--xgbt-airy-line);
  border-radius: 999px;
  box-shadow: 0 9px 26px rgba(80, 49, 34, .07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home #header .header-search-form .searchform:focus-within > .flex-row.relative {
  border-color: rgba(166, 84, 54, .55);
  box-shadow: 0 0 0 4px rgba(166, 84, 54, .10), 0 13px 30px rgba(80, 49, 34, .10);
}

.home #header .header-search-form .search-field,
.home #header .header-search-form .ux-search-submit {
  min-height: 50px;
}

.home #header .header-search-form .search-field {
  padding-left: 20px;
  font-size: 15px;
}

.home #header .header-search-form .ux-search-submit {
  width: 56px;
  min-width: 56px;
}

.home #header .header-search-form .live-search-results {
  position: absolute !important;
  z-index: 10020 !important;
  top: 100%;
  right: 0;
  left: 0;
  overflow: visible !important;
}

.home #header .header-search-form .autocomplete-suggestions,
.home #header .xgbt-search-discovery {
  margin-top: 10px;
  border-color: var(--xgbt-airy-line);
  border-radius: 20px;
  background: rgba(255, 253, 251, .985);
  box-shadow: 0 24px 58px rgba(62, 39, 28, .20);
}

.home #header .header-search-form .autocomplete-suggestion {
  transition: background-color 140ms ease;
}

.home #header .header-inner {
  min-height: 82px;
}

.home #header .header-bottom .nav > li > a {
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.home #header .header-bottom .nav > li > a:hover {
  transform: translateY(-1px);
}

/* A quieter, better balanced first viewport. */
.home .xg-hero-v13 {
  min-height: 590px;
  padding-block: clamp(22px, 3vw, 42px) !important;
}

.home .xg-hero-v13 .xg-wrap {
  max-width: 1280px;
  gap: clamp(42px, 5vw, 72px) !important;
}

.home .xg-hero-v13 .hero-content {
  max-width: 600px;
}

.home .xg-hero-v13 .hero-title {
  max-width: 600px !important;
  margin-bottom: 16px !important;
  font-size: clamp(43px, 3.9vw, 58px) !important;
}

.home .xg-hero-v13 .hero-keyline {
  max-width: 580px;
  margin-bottom: 16px !important;
  font-size: clamp(18px, 1.5vw, 22px) !important;
  line-height: 1.4 !important;
}

.home .xg-hero-v13 .hero-description {
  max-width: 580px !important;
  line-height: 1.75 !important;
}

.home .xg-hero-v13 .stat-item,
.home .xg-hero-v13 .hero-btn,
.home .xg-hero-v13 .xg-nav {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.home .xg-hero-v13 .stat-item:hover {
  transform: translateY(-2px);
  border-color: rgba(166, 84, 54, .28) !important;
  box-shadow: var(--xgbt-airy-shadow-hover) !important;
}

.home .xg-hero-v13 .hero-btn:hover,
.home .xg-hero-v13 .xg-nav:hover {
  transform: translateY(-2px);
}

.home .xg-hero-v13 .hero-btn:focus-visible,
.home .xg-hero-v13 .xg-nav:focus-visible,
.home #header a:focus-visible,
.home #header button:focus-visible,
.home #header input:focus-visible {
  outline: 3px solid rgba(166, 84, 54, .26) !important;
  outline-offset: 3px;
}

@media (max-width: 849px) {
  .home #header .header-inner {
    min-height: 68px;
  }

  .home .xg-hero-v13 {
    padding: 18px 17px 38px !important;
  }

  .home .xg-hero-v13 .xg-wrap {
    gap: 24px !important;
  }

  .home .xg-hero-v13 .xg-stage {
    height: auto !important;
    aspect-ratio: 420 / 460 !important;
  }

  .home .xg-hero-v13 .xg-slide img {
    object-fit: cover !important;
    object-position: center !important;
  }

  .home .xg-hero-v13 .hero-title {
    margin-bottom: 10px !important;
    font-size: clamp(34px, 9.6vw, 40px) !important;
  }

  .home .xg-hero-v13 .hero-keyline {
    margin-bottom: 10px !important;
    font-size: 16px !important;
  }

  .home .xg-hero-v13 .hero-description {
    margin-bottom: 16px !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
  }

  .home .xg-hero-v13 .hero-buttons {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
    gap: 10px !important;
  }

  .home .xg-hero-v13 .hero-btn {
    width: 100%;
    min-height: 48px !important;
    padding: 10px !important;
    font-size: 12.5px !important;
  }
}

@media (max-width: 430px) {
  .home .xg-hero-v13 {
    padding-top: 16px !important;
  }

  .home .xg-hero-v13 .xg-wrap {
    gap: 22px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home #header *,
  .home .xg-hero-v13 * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* XGBT_HOME_HEADER_HERO_V4
 * Finishes the homepage hero hierarchy: action first, one cohesive proof strip.
 */

.home .xg-hero-v13 .hero-content {
  display: flex !important;
  flex-direction: column;
}

.home .xg-hero-v13 .hero-title { order: 1; }
.home .xg-hero-v13 .hero-keyline { order: 2; }
.home .xg-hero-v13 .hero-description { order: 3; }
.home .xg-hero-v13 .hero-buttons {
  order: 4;
  margin-bottom: 18px !important;
}
.home .xg-hero-v13 .hero-stats {
  order: 5;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 !important;
  width: 100%;
  max-width: 580px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: rgba(255, 255, 255, .86) !important;
  border: 1px solid var(--xgbt-airy-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(80, 49, 34, .07) !important;
  backdrop-filter: blur(9px);
}

.home .xg-hero-v13 .stat-item {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  transform: none !important;
}

.home .xg-hero-v13 .stat-item + .stat-item {
  border-left: 1px solid var(--xgbt-airy-line) !important;
}

.home .xg-hero-v13 .stat-number {
  display: block;
  margin: 0 0 4px !important;
  color: var(--xgbt-airy-ink) !important;
  font-size: 17px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  white-space: normal;
}

.home .xg-hero-v13 .stat-label {
  display: block;
  margin: 0 !important;
  color: var(--xgbt-airy-muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

/* The old badge row repeats the same assurances and dilutes the primary action. */
.home .xg-hero-v13 .hero-badges {
  display: none !important;
}

@media (max-width: 849px) {
  .home .xg-hero-v13 .hero-buttons {
    margin-bottom: 14px !important;
  }

  .home .xg-hero-v13 .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 16px !important;
  }

  .home .xg-hero-v13 .stat-item {
    padding: 12px 13px !important;
  }

  .home .xg-hero-v13 .stat-number {
    font-size: 15px !important;
  }

  .home .xg-hero-v13 .stat-label {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 430px) {
  .home .xg-hero-v13 .hero-buttons {
    margin-bottom: 12px !important;
  }

  .home .xg-hero-v13 .stat-item {
    padding: 11px 9px !important;
  }

  .home .xg-hero-v13 .stat-number {
    font-size: 14px !important;
  }

  .home .xg-hero-v13 .stat-label {
    font-size: 10px !important;
  }
}

/* XGBT_HOME_HEADER_HERO_V4_1
 * Responsive completion for tablet and small-phone hero actions.
 */

@media (min-width: 700px) and (max-width: 849px) {
  .home .xg-hero-v13 {
    padding: 28px 24px 34px !important;
  }

  .home .xg-hero-v13 .xg-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(290px, .92fr) !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 800px !important;
    gap: 24px !important;
  }

  .home .xg-hero-v13 .hero-content {
    order: 1 !important;
    min-width: 0;
  }

  .home .xg-hero-v13 .xg-slider {
    order: 2 !important;
    width: 100% !important;
    max-width: none !important;
  }

  .home .xg-hero-v13 .xg-stage {
    aspect-ratio: 420 / 460 !important;
  }

  .home .xg-hero-v13 .hero-title {
    font-size: clamp(34px, 5.2vw, 40px) !important;
  }

  .home .xg-hero-v13 .hero-keyline {
    font-size: 15px !important;
  }

  .home .xg-hero-v13 .hero-description {
    font-size: 13px !important;
  }

  .home .xg-hero-v13 .hero-buttons {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .home .xg-hero-v13 .hero-btn {
    min-height: 44px !important;
  }

  .home .xg-hero-v13 .stat-item {
    padding: 10px 8px !important;
  }

  .home .xg-hero-v13 .stat-number {
    font-size: 13px !important;
  }

  .home .xg-hero-v13 .stat-label {
    font-size: 9.5px !important;
  }
}

@media (max-width: 430px) {
  .home .xg-hero-v13 .hero-buttons {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .home .xg-hero-v13 .hero-btn {
    min-height: 46px !important;
    font-size: 12.5px !important;
    white-space: nowrap;
  }
}

/* XGBT_HOME_HERO_CATEGORIES_V5
 * Removes redundant hero proof cards and gives the primary category chooser room.
 */

/* This repeats the keyline and description, so it is removed instead of restyled again. */
.home .xg-hero-v13 .hero-stats {
  display: none !important;
}

.home .xg-hero-v13 .hero-buttons {
  margin-bottom: 0 !important;
}

.home section:has(.xgbt8-shell) {
  padding: 78px 40px 88px !important;
}

.home .xgbt8-shell {
  width: 100%;
  max-width: 1240px !important;
}

.home .xgbt8-grid {
  gap: 26px !important;
}

.home .xgbt8-card {
  padding: 12px !important;
  border-radius: 24px !important;
}

.home .xgbt8-inset {
  border-radius: 17px !important;
}

.home .xgbt8-title {
  min-height: 70px !important;
  padding: 18px 14px 12px !important;
  line-height: 1.35 !important;
}

@media (max-width: 849px) {
  .home section:has(.xgbt8-shell) {
    padding: 56px 0 54px 20px !important;
  }

  .home .xgbt8-grid {
    gap: 16px !important;
    padding: 0 20px 14px 0 !important;
    scroll-padding-left: 20px;
  }

  .home .xgbt8-card {
    padding: 10px !important;
    border-radius: 21px !important;
  }

  .home .xgbt8-title {
    min-height: 64px !important;
    padding: 15px 11px 11px !important;
  }
}

@media (max-width: 430px) {
  .home section:has(.xgbt8-shell) {
    padding-top: 48px !important;
    padding-left: 18px !important;
  }

  .home .xgbt8-grid {
    gap: 14px !important;
    padding-right: 18px !important;
    scroll-padding-left: 18px;
  }

  .home .xgbt8-card {
    flex-basis: 72% !important;
    max-width: 72% !important;
  }
}

/* XGBT_HOME_HERO_EQUAL_HEIGHT_V6 */
@media (min-width: 850px) {
  .home .xg-hero-v13 {
    height: auto !important;
    min-height: 650px !important;
  }

  .home .xg-hero-v13 .xg-wrap {
    align-items: stretch !important;
  }

  .home .xg-hero-v13 .hero-content {
    align-self: stretch !important;
    justify-content: center !important;
    min-height: 560px;
  }
}

@media (min-width: 700px) and (max-width: 849px) {
  .home .xg-hero-v13 .xg-wrap {
    align-items: stretch !important;
  }

  .home .xg-hero-v13 .hero-content {
    align-self: stretch !important;
    justify-content: center !important;
  }
}

/* XGBT_HOME_HERO_EQUAL_HEIGHT_V6_1
 * Use the full text-column height: editorial copy above, actions anchored below.
 */
@media (min-width: 850px) {
  .home .xg-hero-v13 .hero-content {
    justify-content: flex-start !important;
    padding: 48px 10px 44px 0 !important;
  }

  .home .xg-hero-v13 .hero-buttons {
    margin-top: auto !important;
  }
}
