/*
Theme Name: Yiyaoxin Tea Factory
Theme URI: https://www.cnteafactory.com/
Author: Yiyaoxin Tea
Author URI: https://www.cnteafactory.com/
Description: Premium English WordPress theme for Yiyaoxin Tea wholesale, products, articles, and international inquiries.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yiyaoxin-tea
*/

:root {
  --yx-ink: #18241d;
  --yx-muted: #66736a;
  --yx-green: #315b3a;
  --yx-deep: #0e2418;
  --yx-sage: #dce6d7;
  --yx-cream: #f7f3e8;
  --yx-gold: #b58a3b;
  --yx-line: rgba(24, 36, 29, .14);
  --yx-white: #ffffff;
  --yx-shadow: 0 18px 55px rgba(14, 36, 24, .12);
  --yx-radius: 8px;
  --yx-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--yx-ink);
  background: var(--yx-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.yx-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 232, .93);
  border-bottom: 1px solid var(--yx-line);
  backdrop-filter: blur(18px);
}

.yx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.yx-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.yx-brand img {
  width: 74px;
  height: 62px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.yx-brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
  color: var(--yx-deep);
}

.yx-brand-sub {
  display: block;
  margin-top: 8px;
  color: var(--yx-muted);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yx-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #26382d;
  font-size: 14px;
}

.yx-nav a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: var(--yx-radius);
  white-space: nowrap;
}

.yx-nav a:hover,
.yx-nav .current-menu-item > a {
  color: var(--yx-deep);
  background: rgba(49, 91, 58, .09);
}

.yx-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--yx-radius);
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.yx-btn:hover {
  transform: translateY(-1px);
}

.yx-btn-primary {
  background: var(--yx-green);
  color: var(--yx-white);
  box-shadow: 0 10px 24px rgba(49, 91, 58, .22);
}

.yx-btn-primary:hover {
  background: var(--yx-deep);
}

.yx-btn-outline {
  border-color: rgba(255, 255, 255, .5);
  color: var(--yx-white);
  background: rgba(255, 255, 255, .08);
}

.yx-btn-light {
  border-color: var(--yx-line);
  background: var(--yx-white);
  color: var(--yx-deep);
}

.yx-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--yx-white);
  background: linear-gradient(135deg, #0e2418, #375b35 52%, #806b2d);
}

.yx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 48%, rgba(255, 255, 255, .08) 48% 49%, transparent 49%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 34px);
  opacity: .56;
}

.yx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(8, 26, 17, .9), rgba(14, 45, 28, .72) 48%, rgba(8, 26, 17, .18));
}

.yx-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.yx-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: yxHeroFade 24s infinite;
}

.yx-hero-slide-1 {
  background-image: url("assets/images/home-banner-1.jpg");
}

.yx-hero-slide-2 {
  background-image: url("assets/images/home-banner-2-v2.jpg");
  animation-delay: 6s;
}

.yx-hero-slide-3 {
  background-image: url("assets/images/home-banner-3.jpg");
  animation-delay: 12s;
}

.yx-hero-slide-4 {
  background-image: url("assets/images/home-banner-4.jpg");
  animation-delay: 18s;
}

@keyframes yxHeroFade {
  0%,
  20% {
    opacity: 1;
  }
  25%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.yx-video-frame {
  overflow: hidden;
  border-radius: var(--yx-radius);
  background: #06120c;
  box-shadow: var(--yx-shadow);
}

.yx-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #06120c;
}

.yx-video-copy {
  display: grid;
  align-content: center;
}

.yx-video-copy .yx-section-title {
  display: block;
  margin-bottom: 0;
}

.yx-video-copy .yx-section-title p {
  margin-top: 20px;
}

.yx-company-snapshot {
  background: #eef4ea;
}

.yx-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 22px;
  align-items: stretch;
}

.yx-proof-grid figure,
.yx-strength-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--yx-radius);
  background: var(--yx-deep);
}

.yx-proof-grid img,
.yx-strength-gallery img,
.yx-strength-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yx-proof-main {
  min-height: 470px;
}

.yx-proof-stack {
  display: grid;
  gap: 22px;
}

.yx-proof-stack figure {
  min-height: 224px;
}

.yx-proof-grid figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--yx-radius);
  color: var(--yx-white);
  background: rgba(9, 23, 16, .72);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.yx-supply-chain {
  background: #fffaf0;
}

.yx-supply-grid {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(218px, auto);
  gap: 20px;
  align-items: stretch;
}

.yx-supply-card {
  min-height: 0;
  padding: 24px;
  border: 1px solid rgba(14, 42, 27, .12);
  border-radius: var(--yx-radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(14, 36, 24, .06);
}

.yx-supply-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--yx-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 2.3vw, 42px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.yx-supply-card span {
  display: block;
  color: var(--yx-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.yx-supply-card p {
  margin: 14px 0 0;
  color: var(--yx-muted);
  font-size: 16px;
  line-height: 1.58;
}

.yx-supply-card:nth-of-type(6) {
  grid-column: span 2;
}

.yx-supply-card-image,
.yx-supply-card-wide {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: var(--yx-white);
  background: var(--yx-deep);
}

.yx-supply-card-image {
  grid-row: span 3;
}

.yx-supply-card-wide {
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  min-height: 300px;
}

.yx-supply-card-image img,
.yx-supply-card-wide img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.yx-supply-card-image div,
.yx-supply-card-wide div {
  padding: 24px;
  background: linear-gradient(180deg, rgba(8, 27, 17, .92), rgba(8, 27, 17, .78));
}

.yx-supply-card-image div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 430px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--yx-radius);
  backdrop-filter: blur(12px);
}

.yx-supply-card-image strong,
.yx-supply-card-wide strong,
.yx-supply-card-image span,
.yx-supply-card-wide span {
  color: var(--yx-white);
}

.yx-supply-card-image span,
.yx-supply-card-wide span {
  color: #ead8a6;
}

.yx-supply-card-image p,
.yx-supply-card-wide p {
  color: rgba(255, 255, 255, .78);
}

.yx-vi-preview {
  background:
    linear-gradient(180deg, #fff, #f4efe2);
}

.yx-vi-preview-grid,
.yx-vi-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 22px;
  align-items: start;
}

.yx-vi-feature,
.yx-vi-showcase-main,
.yx-vi-cards figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-radius);
  background: var(--yx-white);
  box-shadow: 0 14px 36px rgba(14, 36, 24, .07);
}

.yx-vi-feature {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.yx-vi-feature img,
.yx-vi-showcase-main img,
.yx-vi-cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.yx-vi-feature figcaption,
.yx-vi-showcase-main figcaption,
.yx-vi-cards figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  color: var(--yx-white);
  background: linear-gradient(0deg, rgba(9, 23, 16, .9), rgba(9, 23, 16, .08));
}

.yx-vi-feature figcaption {
  font-weight: 800;
}

.yx-vi-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.yx-vi-mini-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-radius);
  background: var(--yx-white);
}

.yx-vi-preview .yx-section-action {
  clear: both;
  position: relative;
  z-index: 1;
}

.yx-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(280px, .75fr);
  gap: 52px;
  align-items: center;
  padding: 56px 0;
}

.yx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #ead8a6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yx-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.yx-hero h1,
.yx-section-title h2,
.yx-page-title h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.yx-hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .98;
}

.yx-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 19px;
}

.yx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.yx-hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--yx-radius);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
}

.yx-hero-panel img {
  width: 208px;
  height: 172px;
  object-fit: contain;
  margin-bottom: 26px;
  padding: 18px 20px;
  border-radius: var(--yx-radius);
  background: rgba(247, 243, 232, .92);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .2);
}

.yx-hero-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.yx-hero-panel dt {
  color: #ead8a6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yx-hero-panel dd {
  margin: 4px 0 0;
  color: var(--yx-white);
  font-size: 24px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.yx-band {
  padding: 84px 0;
}

.yx-band-white {
  background: var(--yx-white);
}

.yx-band-green {
  color: var(--yx-white);
  background: var(--yx-deep);
}

.yx-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.yx-section-title h2 {
  max-width: 680px;
  color: var(--yx-deep);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.yx-band-green .yx-section-title h2 {
  color: var(--yx-white);
}

.yx-section-title p {
  max-width: 430px;
  margin: 0;
  color: var(--yx-muted);
}

.yx-band-green .yx-section-title p {
  color: rgba(255, 255, 255, .72);
}

.yx-band-white .yx-kicker,
.yx-company-snapshot .yx-kicker {
  color: var(--yx-gold);
}

.yx-grid {
  display: grid;
  gap: 22px;
}

.yx-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yx-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yx-card {
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-radius);
  background: var(--yx-white);
  overflow: hidden;
}

.yx-card-media {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(49, 91, 58, .14), rgba(181, 138, 59, .18)),
    var(--yx-sage);
  display: grid;
  place-items: center;
}

.yx-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yx-tea-mark {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(49, 91, 58, .22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--yx-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 800;
}

.yx-card-body {
  padding: 22px;
}

.yx-card h3 {
  margin: 0 0 10px;
  color: var(--yx-deep);
  font-size: 22px;
  line-height: 1.2;
}

.yx-card p {
  margin: 0;
  color: var(--yx-muted);
}

.yx-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.yx-news-card {
  min-height: 260px;
}

.yx-news-card-text {
  min-height: 0;
}

.yx-news-media {
  aspect-ratio: 4 / 3;
}

.yx-news-media img,
.yx-news-card .yx-card-media img {
  object-fit: cover;
}

.yx-news-date {
  margin-bottom: 14px;
  color: var(--yx-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yx-news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.yx-news-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(49, 91, 58, .22);
  border-radius: var(--yx-radius);
  color: var(--yx-deep);
  background: rgba(255, 255, 255, .58);
  font-weight: 800;
}

.yx-news-tabs a:hover,
.yx-news-tabs a.is-active {
  color: var(--yx-white);
  background: var(--yx-green);
}

.yx-industry-news-title {
  margin-top: 58px;
  padding-top: 42px;
  border-top: 1px solid var(--yx-line);
}

.yx-industry-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.yx-industry-news-item {
  padding: 22px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-radius);
  background: #fffaf0;
}

.yx-industry-news-item h3 {
  margin: 0 0 10px;
  color: var(--yx-deep);
  font-size: 22px;
  line-height: 1.2;
}

.yx-industry-news-item p {
  margin: 0;
  color: var(--yx-muted);
}

.yx-text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--yx-green);
  font-weight: 800;
}

.yx-text-link:hover {
  color: var(--yx-deep);
}

.yx-section-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.yx-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(49, 91, 58, .09);
  color: var(--yx-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.yx-product-card {
  box-shadow: 0 12px 35px rgba(14, 36, 24, .06);
}

.yx-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--yx-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.yx-capability {
  padding: 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.yx-capability strong {
  display: block;
  margin-bottom: 8px;
  color: #ead8a6;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yx-capability p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.yx-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .7fr);
  gap: 48px;
  align-items: start;
}

.yx-contact-box {
  padding: 28px;
  border-radius: var(--yx-radius);
  background: var(--yx-white);
  box-shadow: var(--yx-shadow);
}

.yx-contact-box img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  margin-bottom: 18px;
  border: 1px solid var(--yx-line);
}

.yx-contact-copy {
  margin-bottom: 22px;
}

.yx-contact-copy h3 {
  margin: 10px 0 8px;
  color: var(--yx-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.15;
}

.yx-contact-copy p {
  margin: 0;
  color: var(--yx-muted);
}

.yx-contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yx-contact-list span {
  display: block;
  color: var(--yx-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.yx-contact-list strong {
  display: block;
  color: var(--yx-deep);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.yx-inquiry-form {
  display: grid;
  gap: 14px;
  width: min(100%, 620px);
  padding: 24px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-radius);
  background: var(--yx-white);
  box-shadow: var(--yx-shadow);
}

.yx-inquiry-form label {
  display: grid;
  gap: 6px;
  color: var(--yx-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.yx-inquiry-form input,
.yx-inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-radius);
  padding: 12px 13px;
  color: var(--yx-deep);
  background: #fbfaf5;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.yx-inquiry-form textarea {
  resize: vertical;
}

.yx-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.yx-form-notice {
  padding: 12px 14px;
  border-radius: var(--yx-radius);
  font-weight: 800;
}

.yx-form-success {
  color: #174326;
  background: #e5f2e6;
}

.yx-form-error {
  color: #7a221d;
  background: #f8e4df;
}

.yx-honeypot {
  position: absolute;
  left: -9999px;
}

.yx-page-form {
  margin-top: 28px;
}

.yx-inquiry-panel {
  display: grid;
  align-items: start;
  justify-content: stretch;
}

.yx-inquiry-panel .yx-inquiry-form {
  margin-top: 6px;
}

.yx-home-inquiry {
  background:
    linear-gradient(90deg, rgba(247, 243, 232, .98), rgba(241, 235, 220, .92));
}

.yx-home-inquiry-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(560px, 1.18fr);
  gap: 28px;
  align-items: start;
}

.yx-home-inquiry-notice {
  grid-column: 1 / -1;
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
}

.yx-home-inquiry-heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .7fr);
  gap: 42px;
  align-items: start;
}

.yx-home-inquiry-heading h2 {
  margin: 0;
  color: var(--yx-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.1vw, 64px);
  line-height: 1.08;
}

.yx-home-inquiry-heading p {
  margin: 180px 0 0;
  color: var(--yx-muted);
  font-size: 18px;
  line-height: 1.55;
}

.yx-home-inquiry .yx-form-notice {
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.yx-home-inquiry .yx-inquiry-form {
  width: 100%;
  max-width: none;
  padding: 30px;
}

.yx-home-inquiry .yx-inquiry-form input {
  min-height: 54px;
}

.yx-home-inquiry .yx-inquiry-form textarea {
  min-height: 150px;
}

.yx-home-inquiry .yx-home-contact-box {
  display: grid;
  align-content: start;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
}

.yx-home-contact-box img {
  width: 132px;
  height: 132px;
  margin-bottom: 0;
}

.yx-home-contact-box .yx-contact-list {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--yx-line);
}

.yx-page-hero {
  padding: 82px 0 54px;
  background:
    linear-gradient(135deg, rgba(14, 36, 24, .96), rgba(49, 91, 58, .85)),
    var(--yx-deep);
  color: var(--yx-white);
}

.yx-page-title h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
}

.yx-page-title p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 18px;
}

.yx-content {
  padding: 64px 0;
}

.yx-entry {
  max-width: 820px;
  margin-inline: auto;
  color: #24372d;
  font-size: 18px;
}

.yx-page-centered .yx-entry {
  max-width: 980px;
  text-align: center;
}

.yx-entry h2,
.yx-entry h3 {
  color: var(--yx-deep);
  line-height: 1.2;
}

.yx-about-strength {
  padding-top: 22px;
}

.yx-strength-hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--yx-radius);
  background: var(--yx-deep);
  box-shadow: var(--yx-shadow);
}

.yx-strength-panel {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(520px, calc(100% - 56px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--yx-radius);
  color: var(--yx-white);
  background: rgba(9, 23, 16, .76);
  backdrop-filter: blur(14px);
}

.yx-strength-panel span {
  display: block;
  margin-bottom: 8px;
  color: #ead8a6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yx-strength-panel strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.15;
}

.yx-strength-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .78);
}

.yx-strength-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.yx-about-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.yx-about-stat-grid div {
  padding: 18px;
  border: 1px solid rgba(14, 42, 27, .12);
  border-radius: var(--yx-radius);
  background: #fffaf0;
}

.yx-about-stat-grid strong,
.yx-about-stat-grid span {
  display: block;
}

.yx-about-stat-grid strong {
  color: var(--yx-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.1;
}

.yx-about-stat-grid span {
  margin-top: 8px;
  color: var(--yx-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.yx-strength-gallery figure {
  min-height: 360px;
}

.yx-strength-gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  color: var(--yx-white);
  background: linear-gradient(0deg, rgba(9, 23, 16, .92), rgba(9, 23, 16, .18));
}

.yx-strength-gallery strong,
.yx-strength-gallery span {
  display: block;
}

.yx-strength-gallery strong {
  margin-bottom: 6px;
  color: #ead8a6;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.yx-strength-gallery span {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.45;
}

.yx-brand-vi-page {
  padding-top: 22px;
}

.yx-vi-showcase {
  grid-template-columns: minmax(0, 1fr);
}

.yx-vi-showcase-main {
  min-height: 540px;
}

.yx-vi-showcase-main strong,
.yx-vi-showcase-main span,
.yx-vi-cards strong,
.yx-vi-cards span {
  display: block;
}

.yx-vi-showcase-main strong {
  margin-bottom: 6px;
  color: #ead8a6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.15;
}

.yx-vi-showcase-main span,
.yx-vi-cards span {
  color: rgba(255, 255, 255, .82);
}

.yx-vi-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.yx-vi-cards figure {
  min-height: 360px;
}

.yx-vi-cards strong {
  margin-bottom: 6px;
  color: #ead8a6;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.yx-vi-cards span {
  font-size: 14px;
  line-height: 1.45;
}

.yx-vi-showcase img:focus-visible {
  outline: 3px solid var(--yx-gold);
  outline-offset: 4px;
}

.yx-lightbox[hidden] {
  display: none;
}

.yx-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(5, 17, 11, .88);
}

.yx-lightbox-dialog {
  width: min(1160px, 100%);
  max-height: calc(100vh - 68px);
  margin: 0;
  display: grid;
  gap: 14px;
}

.yx-lightbox-dialog img {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: var(--yx-radius);
  background: var(--yx-white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

.yx-lightbox-dialog figcaption {
  color: rgba(255, 255, 255, .86);
  text-align: center;
  font-size: 15px;
}

.yx-lightbox-close {
  position: fixed;
  top: 20px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: var(--yx-white);
  background: rgba(255, 255, 255, .12);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.yx-lightbox-close:hover,
.yx-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, .22);
  outline: none;
}

body.yx-lightbox-open {
  overflow: hidden;
}

.yx-product-detail {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr);
  gap: 44px;
}

.yx-product-image {
  border-radius: var(--yx-radius);
  overflow: hidden;
  background: var(--yx-sage);
}

.yx-product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--yx-sage);
}

.yx-product-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: var(--yx-white);
  border: 1px solid var(--yx-line);
  border-top: 0;
}

.yx-product-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--yx-line);
}

.yx-spec-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: var(--yx-white);
  border: 1px solid var(--yx-line);
}

.yx-spec-table th,
.yx-spec-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--yx-line);
  text-align: left;
  vertical-align: top;
}

.yx-spec-table th {
  width: 34%;
  color: var(--yx-muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.yx-product-reference-price {
  margin: 0 0 20px;
  padding: 14px 16px;
  color: var(--yx-deep);
  background: rgba(181, 138, 59, .12);
  border: 1px solid rgba(181, 138, 59, .26);
  border-radius: var(--yx-radius);
}

.yx-product-reference-price strong {
  color: var(--yx-muted);
}

.yx-site-footer {
  padding: 54px 0 28px;
  color: rgba(255, 255, 255, .74);
  background: #091710;
}

.yx-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(140px, .45fr));
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.yx-site-footer h2,
.yx-site-footer h3 {
  margin: 0 0 14px;
  color: var(--yx-white);
}

.yx-site-footer h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.yx-site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yx-site-footer a:hover {
  color: var(--yx-white);
}

.yx-copyright {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  font-size: 14px;
}

.yx-ai-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  font-family: inherit;
}

.yx-ai-chat-toggle {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  color: var(--yx-white);
  background: var(--yx-green);
  box-shadow: 0 16px 36px rgba(14, 36, 24, .26);
  cursor: pointer;
}

.yx-ai-chat-toggle span[aria-hidden="true"] {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
}

.yx-ai-chat-toggle:hover,
.yx-ai-chat-toggle:focus-visible {
  background: var(--yx-deep);
  outline: 3px solid rgba(181, 138, 59, .34);
  outline-offset: 3px;
}

.yx-ai-chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(24, 36, 29, .16);
  border-radius: var(--yx-radius);
  background: var(--yx-white);
  box-shadow: 0 22px 70px rgba(14, 36, 24, .22);
}

.yx-ai-chat-panel[hidden] {
  display: none;
}

.yx-ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--yx-white);
  background: var(--yx-deep);
}

.yx-ai-chat-header strong,
.yx-ai-chat-header span {
  display: block;
}

.yx-ai-chat-header strong {
  line-height: 1.2;
}

.yx-ai-chat-header span {
  margin-top: 3px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.yx-ai-chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: var(--yx-white);
  background: rgba(255, 255, 255, .1);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.yx-ai-chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  max-height: min(420px, calc(100vh - 260px));
  padding: 16px;
  overflow-y: auto;
  background: #fbfaf5;
}

.yx-ai-chat-message {
  justify-self: start;
  width: auto;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
  font-size: 14px;
  line-height: 1.5;
}

.yx-ai-chat-message-bot {
  color: var(--yx-ink);
  background: var(--yx-cream);
  border: 1px solid var(--yx-line);
}

.yx-ai-chat-message-user {
  justify-self: end;
  color: var(--yx-white);
  background: var(--yx-green);
}

.yx-ai-chat-message.is-error {
  color: #8a1f13;
  background: #fff0ed;
  border-color: rgba(138, 31, 19, .22);
}

.yx-ai-chat-message.is-streaming::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1em;
  margin-left: 4px;
  vertical-align: -2px;
  background: rgba(49, 91, 58, .55);
  animation: yx-ai-caret 1s steps(2, start) infinite;
}

@keyframes yx-ai-caret {
  50% {
    opacity: 0;
  }
}

.yx-ai-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--yx-line);
  background: var(--yx-white);
}

.yx-ai-chat-form textarea {
  width: 100%;
  min-height: 48px;
  max-height: 130px;
  resize: vertical;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-radius);
  padding: 10px 11px;
  color: var(--yx-ink);
  font: inherit;
  line-height: 1.35;
}

.yx-ai-chat-form .yx-btn {
  min-height: 48px;
  align-self: end;
  cursor: pointer;
}

.yx-ai-chat-form.is-loading .yx-btn {
  opacity: .7;
  pointer-events: none;
}

.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;
}

@media (max-width: 980px) {
  .yx-header-inner,
  .yx-section-title,
  .yx-copyright {
    align-items: flex-start;
    flex-direction: column;
  }

  .yx-nav {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .yx-header-actions {
    width: 100%;
  }

  .yx-header-actions .yx-btn {
    width: 100%;
  }

  .yx-hero-inner,
  .yx-split,
  .yx-home-inquiry-grid,
  .yx-home-inquiry-heading,
  .yx-product-detail,
  .yx-footer-grid,
  .yx-proof-grid,
  .yx-supply-grid,
  .yx-vi-preview-grid {
    grid-template-columns: 1fr;
  }

  .yx-grid-3,
  .yx-grid-4,
  .yx-strength-gallery,
  .yx-about-stat-grid,
  .yx-industry-news-list,
  .yx-vi-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yx-supply-card-image,
  .yx-supply-card-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .yx-supply-card:nth-of-type(6) {
    grid-column: auto;
  }

  .yx-supply-card-wide {
    grid-template-columns: 1fr;
  }

  .yx-supply-card-wide img {
    min-height: 260px;
  }

  .yx-proof-main,
  .yx-proof-stack figure {
    min-height: 320px;
  }

  .yx-home-inquiry-heading h2 {
    font-size: 52px;
  }

  .yx-home-inquiry-heading p {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .yx-wrap {
    width: min(calc(100% - 22px), var(--yx-max));
  }

  .yx-site-header {
    position: static;
  }

  .yx-header-inner {
    min-height: auto;
    padding: 14px 0;
    gap: 14px;
  }

  .yx-brand {
    min-width: 0;
  }

  .yx-brand-name {
    font-size: 20px;
  }

  .yx-brand img {
    width: 64px;
    height: 54px;
  }

  .yx-brand-sub {
    font-size: 12px;
  }

  .yx-hero {
    min-height: auto;
  }

  .yx-hero-inner {
    padding: 48px 0;
    gap: 28px;
  }

  .yx-hero h1 {
    font-size: 42px;
  }

  .yx-hero p {
    font-size: 17px;
  }

  .yx-band {
    padding: 58px 0;
  }

  .yx-grid-3,
  .yx-grid-4,
  .yx-strength-gallery,
  .yx-about-stat-grid,
  .yx-industry-news-list {
    grid-template-columns: 1fr;
  }

  .yx-vi-mini-grid,
  .yx-vi-cards {
    grid-template-columns: 1fr;
  }

  .yx-proof-main,
  .yx-proof-stack figure,
  .yx-strength-hero,
  .yx-strength-gallery figure,
  .yx-vi-showcase-main,
  .yx-vi-cards figure {
    min-height: 300px;
  }

  .yx-supply-grid {
    grid-auto-rows: auto;
    gap: 10px;
  }

  .yx-supply-card {
    display: grid;
    grid-template-columns: minmax(108px, .48fr) minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    min-height: 0;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(14, 36, 24, .05);
  }

  .yx-supply-card strong {
    grid-row: span 2;
    margin-bottom: 0;
    font-size: 28px;
  }

  .yx-supply-card span {
    align-self: end;
    font-size: 11px;
    letter-spacing: .08em;
  }

  .yx-supply-card p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.45;
  }

  .yx-home-inquiry-heading h2 {
    font-size: 42px;
  }

  .yx-home-inquiry .yx-form-grid {
    grid-template-columns: 1fr;
  }

  .yx-home-inquiry .yx-inquiry-form,
  .yx-home-inquiry .yx-home-contact-box {
    padding: 22px;
  }

  .yx-home-inquiry .yx-home-contact-box {
    grid-template-columns: 1fr;
  }

  .yx-home-contact-box img {
    width: 180px;
    height: 180px;
  }

  .yx-home-contact-box .yx-contact-list {
    grid-template-columns: 1fr;
  }

  .yx-supply-card-image div {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    border-radius: 0;
  }

  .yx-supply-card-image img {
    min-height: 190px;
  }

  .yx-supply-card-image,
  .yx-supply-card-wide {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .yx-supply-card-image strong,
  .yx-supply-card-wide strong {
    grid-row: auto;
    font-size: 28px;
  }

  .yx-supply-card-wide {
    min-height: 0;
  }

  .yx-supply-card-wide img {
    min-height: 190px;
  }

  .yx-vi-feature {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .yx-proof-grid figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .yx-strength-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    border-radius: 0;
  }

  .yx-strength-panel strong {
    font-size: 24px;
  }

  .yx-ai-chat {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .yx-ai-chat-toggle {
    margin-left: auto;
  }

  .yx-ai-chat-panel {
    right: 0;
    width: 100%;
  }

  .yx-ai-chat-messages {
    min-height: 220px;
    max-height: calc(100vh - 250px);
  }

  .yx-ai-chat-form {
    grid-template-columns: 1fr;
  }

  .yx-btn {
    width: 100%;
  }
}
