/* Tianz Nut PC homepage only. Mobile styling is owned by sidebar-mobile.php. */
@media (min-width:701px) {
  .tnx-home, #kf.cs-section { --tnx-cream:#f5ecdd; --tnx-paper:#fbf7f0; --tnx-dark:#392414; --tnx-brown:#70451f; --tnx-gold:#c69843; --tnx-green:#566338; --tnx-muted:#796954; --tnx-line:rgba(112,69,31,.2); }
  .tnx-home {background:var(--tnx-cream);color:var(--tnx-dark);font-family:'Manrope',Arial,sans-serif;line-height:1.6;overflow:hidden;}
  .tnx-home *, .tnx-home *::before, .tnx-home *::after {box-sizing:border-box;}
  .tnx-home a {text-decoration:none;color:inherit;}
  .tnx-home a:focus-visible {outline:3px solid var(--tnx-gold);outline-offset:5px;}
  .tnx-home img {display:block;width:100%;height:100%;object-fit:cover;}
  .tnx-home h1,.tnx-home h2,.tnx-home h3,.tnx-home p,.tnx-home figure {margin:0;}
  .tnx-shell {width:min(1440px,calc(100% - 96px));margin-inline:auto;}
  .tnx-section {padding:58px 0;}
  .tnx-section-head {display:flex;justify-content:space-between;align-items:flex-end;gap:44px;margin-bottom:30px;}
  .tnx-kicker {display:flex;align-items:center;gap:10px;font-size:11px;font-weight:800;letter-spacing:1.4px;color:var(--tnx-brown);margin-bottom:14px!important;}
  .tnx-kicker i {font-size:22px;font-weight:400;color:var(--tnx-green);}
  .tnx-home h2 {font-family:'DM Serif Display',Georgia,serif;font-size:48px;font-weight:400;line-height:1.08;letter-spacing:-.6px;}
  .tnx-home h2 em {font-style:normal;color:var(--tnx-brown);}
  .tnx-head-aside {max-width:415px;flex:0 1 38%;font-size:14px;line-height:1.8;color:var(--tnx-muted);}
  .tnx-head-aside .tnx-link {margin-top:16px;}
  .tnx-home .tnx-link {display:inline-flex;align-items:center;gap:18px;color:var(--tnx-brown);font-size:12px;font-weight:800;border-bottom:1px solid var(--tnx-brown);padding-bottom:5px;}
  .tnx-link i {font-size:19px;transition:transform .2s;}
  .tnx-link:hover i {transform:translateX(4px);}
  .tnx-hero {position:relative;height:100vh;height:100svh;min-height:660px;max-height:none;isolation:isolate;color:#fff8ec;background:#392414;display:flex;align-items:center;}
  .tnx-hero-picture {position:absolute;inset:0;z-index:-3;}
  .tnx-hero-picture img {object-position:67% center;}
  .tnx-hero::after {content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(32,18,8,.78) 0%,rgba(32,18,8,.52) 29%,rgba(32,18,8,.18) 49%,transparent 71%),linear-gradient(0deg,rgba(32,18,8,.6),transparent 23%);}
  .tnx-hero-content {padding-top:68px;padding-bottom:60px;}
  .tnx-eyebrow {display:flex;align-items:center;gap:10px;color:#ead5ad;font-size:10px;font-weight:800;letter-spacing:1.5px;margin-bottom:23px!important;}
  .tnx-eyebrow span {width:26px;height:1px;background:#cfad6d;}
  .tnx-home h1 {max-width:610px;width:48%;font-family:'DM Serif Display',Georgia,serif;font-size:68px;font-weight:400;line-height:1.04;letter-spacing:-1.3px;text-wrap:balance;}
  .tnx-home h1>span {display:block;font-family:'Manrope',Arial,sans-serif;font-size:17px;letter-spacing:0;color:#e9c67d;font-weight:600;margin-bottom:15px;}
  .tnx-home h1 em {font-style:normal;color:#eed3a1;display:block;}
  .tnx-hero-copy {max-width:440px;width:44%;font-size:15px;line-height:1.8;color:#eee0cc;margin-top:24px!important;}
  .tnx-actions {display:flex;gap:12px;flex-wrap:wrap;margin-top:29px;}
  .tnx-home .tnx-button {display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:49px;padding:13px 21px;border:1px solid #c69843;background:#c69843;color:#291a0f;font-size:11px;font-weight:800;transition:background .2s,color .2s;}
  .tnx-button i {font-size:19px;font-weight:400;}
  .tnx-home .tnx-button:hover {background:#e0b96e;border-color:#e0b96e;}
  .tnx-home .tnx-button-outline {background:rgba(40,24,11,.25);border-color:rgba(248,229,195,.48);color:#fff8ec;}
  .tnx-home .tnx-button-outline:hover {background:#fff4dc;color:#392414;}
  .tnx-hero-capabilities {display:flex;gap:21px;margin-top:29px;font-size:11px;color:#e9d8ba;}
  .tnx-hero-capabilities span {display:flex;align-items:center;gap:7px;}
  .tnx-hero-capabilities i {font-size:17px;color:#d7b477;}
  .tnx-hero-bottom {position:absolute;bottom:24px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(250,226,180,.24);padding-top:17px;color:#e5d1b5;font-size:10px;letter-spacing:1px;font-weight:600;}
  .tnx-hero-bottom a {display:flex;align-items:center;gap:16px;letter-spacing:0;}
  .tnx-hero-bottom i {font-size:20px;}
  .tnx-categories {background:var(--tnx-cream);scroll-margin-top:100px;}
  .tnx-services {display:flex;gap:13px;flex-wrap:wrap;margin-top:16px;font-size:10px;font-weight:700;color:var(--tnx-brown);}
  .tnx-services span {display:flex;align-items:center;gap:5px;}
  .tnx-services i {font-size:17px;color:var(--tnx-green);}
  .tnx-category-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;}
  .tnx-category {display:block;min-width:0;background:#fbf7ef;border:1px solid rgba(112,69,31,.12);}
  .tnx-category-image {aspect-ratio:4/3;overflow:hidden;background:#eee5d7;}
  .tnx-category-image img {transition:transform .45s;}
  .tnx-category:hover img {transform:scale(1.035);}
  .tnx-category-caption {display:flex;justify-content:space-between;align-items:center;gap:8px;padding:14px 16px;}
  .tnx-category-caption h3 {font-size:16px;line-height:1.25;font-weight:800;}
  .tnx-category-caption span {display:block;font-size:10px;color:var(--tnx-muted);margin-top:3px;}
  .tnx-category-caption>i {font-size:22px;color:var(--tnx-brown);}
  .tnx-section-tail {display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:24px;margin-top:25px;border-top:1px solid var(--tnx-line);}
  .tnx-section-tail p {font-size:12px;color:var(--tnx-muted);}
  .tnx-factory {background:#e9ddc9;border-top:1px solid var(--tnx-line);}
  .tnx-factory-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;}
  .tnx-factory-card {min-width:0;position:relative;}
  .tnx-factory-card>img {aspect-ratio:4/3;height:auto;}
  .tnx-factory-card figcaption {padding:12px 0 0;}
  .tnx-factory-card strong {font-size:12px;font-weight:800;line-height:1.4;display:block;}
  .tnx-factory-main {grid-column:1/-1;overflow:hidden;}
  .tnx-factory-main>img {aspect-ratio:2.45;object-position:center 48%;}
  .tnx-factory-main::after {content:'';position:absolute;inset:40% 0 0;background:linear-gradient(0deg,rgba(37,24,13,.88),transparent);pointer-events:none;}
  .tnx-factory-main figcaption {position:absolute;bottom:28px;left:32px;right:32px;z-index:1;color:#fff3df;}
  .tnx-factory-main figcaption>span {font-size:10px;letter-spacing:1.5px;color:#eed6a7;}
  .tnx-factory-main strong {font-family:'DM Serif Display',Georgia,serif;font-size:35px;font-weight:400;margin-top:4px;}
  .tnx-factory-main p {font-size:12px;color:#e7d9c6;margin-top:7px;}
  .tnx-products {background:var(--tnx-paper);}
  .tnx-product-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;}
  .tnx-product {min-width:0;background:#fff;border:1px solid #e9decc;}
  .tnx-product-image {display:block;position:relative;aspect-ratio:1;overflow:hidden;background:#fff;}
  .tnx-product-image img {object-fit:contain;padding:14px;transition:transform .3s;}
  .tnx-product-image>span {position:absolute;bottom:0;left:0;right:0;padding:10px 14px;background:rgba(57,36,20,.94);color:#fff7ea;font-size:11px;display:flex;justify-content:space-between;transform:translateY(100%);transition:transform .2s;}
  .tnx-product:hover .tnx-product-image>span,.tnx-product:focus-within .tnx-product-image>span {transform:translateY(0);}
  .tnx-product:hover img {transform:scale(1.03);}
  .tnx-product-copy {padding:15px 17px 18px;border-top:1px solid #eee7da;}
  .tnx-product-label {font-size:9px;letter-spacing:1px;color:var(--tnx-brown);font-weight:700;}
  .tnx-product h3 {font-size:13px;font-weight:700;line-height:1.6;min-height:63px;margin-top:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
  .tnx-product dl {border-top:1px solid #eee5d8;padding-top:11px;margin-top:14px;display:grid;gap:5px;}
  .tnx-product dl>div {display:flex;gap:10px;justify-content:space-between;font-size:10px;}
  .tnx-product dt {color:#938574;font-weight:600;}
  .tnx-product dd {margin:0;text-align:right;font-weight:700;color:#70451f;}
  .tnx-applications {background:#392414;color:#fff3df;}
  .tnx-applications .tnx-kicker,.tnx-applications .tnx-kicker i {color:#d6ad69;}
  .tnx-applications h2 em {color:#dfbb7c;}
  .tnx-applications .tnx-head-aside {color:#cfbea7;}
  .tnx-application-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;}
  .tnx-application {min-width:0;}
  .tnx-application-image {position:relative;aspect-ratio:4/3;}
  .tnx-application-image>span {position:absolute;left:14px;bottom:14px;padding:6px 10px;background:#fff3df;color:#392414;font-size:10px;font-weight:800;}
  .tnx-application h3 {font-family:'DM Serif Display',Georgia,serif;font-size:24px;line-height:1.2;font-weight:400;margin-top:20px;max-width:350px;}
  .tnx-application>p {font-size:12px;line-height:1.8;color:#cfbea7;margin-top:10px;max-width:390px;}
  .tnx-custom-brief {margin-top:32px;padding-top:27px;border-top:1px solid rgba(228,199,153,.28);display:flex;justify-content:space-between;align-items:center;gap:22px;}
  .tnx-custom-brief>div {display:flex;align-items:center;gap:17px;}
  .tnx-custom-brief>div>i {font-size:32px;color:#c69843;}
  .tnx-custom-brief strong {font-size:18px;font-weight:600;display:block;}
  .tnx-custom-brief p>span {display:block;font-size:11px;color:#cfbea7;margin-top:5px;}
  .tnx-process {background:#efe3ce;border-bottom:1px solid var(--tnx-line);}
  .tnx-head-centered {display:block;text-align:center;}
  .tnx-head-centered .tnx-kicker {justify-content:center;}
  .tnx-head-centered>p:last-child {font-size:13px;color:var(--tnx-muted);margin-top:15px;}
  .tnx-process h2 {font-size:44px;}
  .tnx-process-list {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px;list-style:none;padding:12px 0 0;margin:0;}
  .tnx-process-list li {position:relative;text-align:center;min-width:0;}
  .tnx-process-icon {width:60px;height:60px;border:1px solid #cab087;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f9f0e1;font-size:25px;color:var(--tnx-brown);position:relative;z-index:1;margin:0 auto 18px;}
  .tnx-process-list li:not(:last-child)::after {content:'→';position:absolute;top:16px;left:calc(50% + 42px);width:calc(100% - 62px);font-size:20px;border-top:1px solid #cbb99b;line-height:0;color:#a8824b;text-align:right;transform:translateY(14px);}
  .tnx-process-list h3 {font-size:13px;font-weight:800;margin-bottom:8px;}
  .tnx-process-list p {font-size:11px;color:var(--tnx-muted);max-width:175px;margin:auto;line-height:1.7;}
  /* The existing customer-service sidebar keeps all of its markup and interactions. */
  #kf.cs-section {padding:54px 48px 58px!important;background:#fbf7f0;color:var(--tnx-dark);font-family:'Manrope',Arial,sans-serif;}
  #kf .cs-container {max-width:1440px;width:100%;}
  #kf .cs-header {margin-bottom:28px;}
  #kf .cs-title {font-family:'DM Serif Display',Georgia,serif;font-size:44px;font-weight:400;color:#392414;letter-spacing:0;}
  #kf .cs-eyebrow {color:#70451f;font-size:10px;}
  #kf .cs-eyebrow::before,#kf .cs-eyebrow::after {background:#c69843;}
  #kf .cs-subtitle {color:#796954;font-size:13px;}
  #kf .cs-grid {gap:20px;}
  #kf .cs-card {border-radius:3px;border-color:#e2d3ba;background:#fffaf1;}
  #kf .cs-card::before {background:#c69843;}
  #kf .cs-name {color:#392414;font-size:17px;}
  #kf .cs-info {padding:14px;}
  #kf .cs-status {color:#70451f;}
  .pc_ + #kf {margin-top:0!important;}
  .garment-header:not(.is-scrolled) {background:linear-gradient(180deg,rgba(34,20,10,.85),rgba(34,20,10,.38))!important;border-color:rgba(245,222,179,.2)!important;}
  .garment-header:not(.is-scrolled) .garment-nav>a,.garment-header:not(.is-scrolled) .dropdown-trigger {color:#fff5e2!important;}
  .garment-header:not(.is-scrolled) .garment-nav>a.current {color:#e4be79!important;}
  .garment-header:not(.is-scrolled) .garment-nav>a.current::after {background:#c69843!important;}
}
@media (min-width:1600px) { .tnx-home h1 {font-size:78px;} .tnx-hero-copy {font-size:16px;} }
@media (min-width:701px) and (max-width:1100px) {
  .tnx-hero-picture img {object-position:45% center;}
  .tnx-shell {width:calc(100% - 56px);}
  .tnx-home h1 {font-size:54px;width:49%;}
  .tnx-home h2 {font-size:39px;}
  .tnx-hero-copy {font-size:13px;width:46%;}
  .tnx-home .tnx-button {font-size:10px;padding-inline:15px;gap:10px;}
  .tnx-category-grid,.tnx-product-grid {gap:16px;}
  .tnx-category-caption {padding:11px;}
  .tnx-category-caption h3 {font-size:13px;}
  .tnx-section-head {gap:25px;}
  .tnx-factory-grid {gap:12px;}
  .tnx-factory-card strong {font-size:11px;}
  .tnx-process-list {grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;}
  .tnx-process-list li:nth-child(3)::after {display:none;}
  .tnx-custom-brief {align-items:flex-start;}
  .tnx-custom-brief>div>i {display:none;}
  .tnx-custom-brief strong {font-size:16px;}
  #kf.cs-section {padding-inline:28px!important;}
  #kf .cs-grid {gap:12px;}
}
@media (min-width:701px) and (max-width:850px) {
  .tnx-hero-picture img {object-position:32% center;}
  .tnx-shell {width:calc(100% - 40px);}
  .tnx-section {padding:44px 0;}
  .tnx-home h1 {font-size:43px;width:51%;}
  .tnx-hero {min-height:620px;}
  .tnx-hero-copy {width:50%;font-size:12px;}
  .tnx-eyebrow {font-size:8px;letter-spacing:1px;}
  .tnx-actions {max-width:51%;gap:9px;}
  .tnx-hero-capabilities {font-size:9px;gap:10px;}
  .tnx-hero-capabilities i {font-size:14px;}
  .tnx-home h2 {font-size:34px;}
  .tnx-head-aside {font-size:12px;}
  .tnx-category-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
  .tnx-category-caption {padding:10px 8px;}
  .tnx-category-caption h3 {font-size:11px;}
  .tnx-category-caption>i {font-size:16px;}
  .tnx-product-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .tnx-factory-card strong {font-size:10px;}
  .tnx-factory-main strong {font-size:27px;}
  .tnx-factory-main figcaption {left:22px;bottom:20px;}
  .tnx-application-grid {gap:16px;}
  .tnx-application h3 {font-size:20px;}
  .tnx-application>p {font-size:11px;}
  .tnx-custom-brief {flex-direction:column;}
  .tnx-section-tail p {max-width:55%;}
  #kf.cs-section {padding-inline:20px!important;}
  #kf .cs-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (min-width:701px) and (max-height:700px) { .tnx-home h1 {font-size:52px;} .tnx-hero-content {padding-top:104px;} .tnx-eyebrow {margin-bottom:14px!important;} .tnx-hero-copy {margin-top:16px!important;} .tnx-actions {margin-top:20px;} .tnx-hero-capabilities {margin-top:18px;} }
@media (min-width:701px) and (prefers-reduced-motion:reduce) { .tnx-home *, .tnx-home *::before, .tnx-home *::after {animation:none!important;transition:none!important;} }
