/*
Theme Name: YOUFU Food
Theme URI: https://youfufood.com
Author: YOUFU Food Team
Description: Inquiry-first OEM confectionery website for Hunan Youfu Food Co., Ltd.
Version: 3.0.0
Text Domain: youfu-food
*/

:root {
  --ink: #151515;
  --ink-2: #292724;
  --paper: #f5f2ec;
  --white: #fff;
  --line: #d9d3c9;
  --muted: #68635d;
  --red: #ed4d3d;
  --red-dark: #bb2f24;
  --yellow: #f1d45c;
  --green: #184f3c;
  --mint: #d8e7d5;
  --sky: #d9e8ed;
  --wa: #137a45;
  --display: "Arial Black", "Arial Narrow", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --radius: 6px;
  --ease: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.container { width: min(calc(100% - 48px), 1220px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: var(--white); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.eyebrow { margin-bottom: 14px; color: var(--red-dark); font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.section-index { display: block; margin-bottom: 22px; color: var(--red); font-size: .78rem; font-weight: 800; }
h1, h2, h3, .brand-mark, .button { font-family: var(--display); }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: 6rem; line-height: .92; }
h2 { font-size: 4.4rem; line-height: .98; }
h3 { font-size: 1.25rem; line-height: 1.15; }
.large-copy { font-size: 1.2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: var(--radius); padding: 12px 20px; font-size: .9rem; font-weight: 900; line-height: 1.2; transition: transform var(--ease), background var(--ease), border-color var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { background: var(--red-dark); }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.button-small { min-height: 42px; padding: 10px 15px; background: var(--red); color: var(--white); }
.button-full { width: 100%; }
.button-whatsapp { background: var(--wa); color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid currentColor; padding-block: 3px; font-weight: 800; }
.text-link:hover { color: var(--red-dark); }
.light-link { color: var(--white); }
.light-link:hover { color: var(--yellow); }

/* Header */
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; border-bottom: 1px solid transparent; color: var(--ink); transition: background var(--ease), border-color var(--ease), color var(--ease); }
.home .site-header:not(.is-scrolled), .has-dark-page-hero .site-header:not(.is-scrolled), .is-thank-you-page .site-header:not(.is-scrolled), .error404 .site-header:not(.is-scrolled) { color: var(--white); }
.site-header.is-scrolled { border-color: var(--line); background: rgba(245, 242, 236, .97); color: var(--ink); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 30px; }
.brand-mark { display: inline-flex; align-items: baseline; font-size: 1.5rem; line-height: 1; }
.brand-mark b { color: var(--red); }
.brand-mark small { margin-left: 7px; font-family: var(--body); font-size: .55rem; font-weight: 800; }
.nav-list { display: flex; list-style: none; align-items: center; gap: 25px; }
.nav-list > li > a:not(.button) { font-size: .84rem; font-weight: 800; }
.nav-list > li > a:not(.button):hover { color: var(--yellow); }
.site-header.is-scrolled .nav-list > li > a:not(.button):hover { color: var(--red-dark); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: currentColor; transition: transform var(--ease), opacity var(--ease); }

/* Homepage hero */
.home-hero { position: relative; min-height: calc(100svh - 54px); padding: 112px 0 0; overflow: hidden; background: var(--green); color: var(--white); }
.home-hero-grid { display: flex; min-height: calc(100svh - 246px); align-items: center; }
.home-hero-copy { position: relative; z-index: 2; width: min(100%, 760px); }
.home-hero .eyebrow { color: var(--yellow); }
.home-hero h1 { max-width: 760px; }
.hero-lede { max-width: 650px; margin-top: 28px; color: #dce7df; font-size: 1.18rem; line-height: 1.55; }
.hero-actions { display: flex; margin-top: 34px; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-facts { display: grid; margin-top: 42px; list-style: none; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hero-facts li { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.3); }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { font-family: var(--display); font-size: 1.05rem; }
.hero-facts span { color: #b9cdc1; font-size: .76rem; }
.home-hero-media { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: var(--green); }
.home-hero-media::after { position: absolute; inset: 0; content: ""; background: rgba(24,79,60,.56); }
.home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero-media figcaption { position: absolute; z-index: 1; right: max(24px, calc((100vw - 1220px) / 2)); bottom: 100px; display: flex; padding: 18px 20px; background: rgba(21,21,21,.9); align-items: center; gap: 14px; flex-wrap: wrap; }
.home-hero-media figcaption span { border: 1px solid #777; border-radius: 20px; padding: 5px 10px; font-size: .74rem; }
.home-hero-media figcaption strong { margin-left: auto; font-size: .8rem; }
.hero-proofline { position: relative; z-index: 2; display: flex; min-height: 80px; border-top: 1px solid rgba(255,255,255,.22); align-items: center; justify-content: space-between; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.hero-proofline span { flex: 0 0 auto; font-size: .77rem; font-weight: 800; }
.hero-proofline span:first-child { color: #b9cdc1; font-weight: 500; }

/* Narrative sections */
.decision-band, .consumer-band, .build-band, .range-band, .approval-band, .factory-evidence, .inquiry-band { padding: 110px 0; }
.decision-band { padding-top: 36px; background: var(--paper); }
.decision-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 110px); }
.decision-intro { position: sticky; top: 110px; align-self: start; }
.decision-intro p:last-child { margin-top: 22px; color: var(--muted); }
.decision-paths { border-top: 1px solid var(--line); }
.decision-paths a { display: grid; min-height: 190px; padding: 28px 0; border-bottom: 1px solid var(--line); grid-template-columns: 90px 1fr; column-gap: 26px; align-content: start; transition: padding-left var(--ease), background var(--ease); }
.decision-paths a:hover { padding-left: 16px; background: var(--white); }
.decision-paths a > span { grid-row: 1 / 4; color: var(--red-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.decision-paths h3 { font-size: 1.55rem; }
.decision-paths p { max-width: 56ch; margin-top: 9px; color: var(--muted); }
.decision-paths b { margin-top: 14px; font-size: .8rem; }
.consumer-band { background: var(--yellow); }
.consumer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 100px); align-items: center; }
.consumer-media { position: relative; }
.consumer-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.consumer-media figcaption { position: absolute; right: -24px; bottom: 30px; width: 210px; padding: 17px; background: var(--red); color: var(--white); font-weight: 800; }
.consumer-copy .eyebrow { color: #703b00; }
.consumer-copy .large-copy { max-width: 560px; margin-top: 25px; }
.outcome-list { margin-top: 36px; border-top: 1px solid rgba(21,21,21,.35); }
.outcome-list div { display: grid; padding: 17px 0; border-bottom: 1px solid rgba(21,21,21,.25); grid-template-columns: 95px 1fr; gap: 22px; }
.outcome-list dt { font-weight: 900; }
.outcome-list dd { color: #484019; }
.build-band { background: var(--sky); }
.wide-heading { display: grid; margin-bottom: 54px; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.wide-heading > p { max-width: 570px; color: var(--muted); }
.build-rail { display: grid; margin-bottom: 38px; border-block: 1px solid #aebfc4; grid-template-columns: repeat(4, 1fr); }
.build-rail article { min-height: 310px; padding: 24px 24px 24px 0; }
.build-rail article + article { padding-left: 24px; border-left: 1px solid #aebfc4; }
.build-rail article > span { color: var(--red-dark); font-size: .76rem; font-weight: 800; }
.build-rail h3 { margin-top: 75px; }
.build-rail p { margin-top: 12px; color: #4e6065; }
.build-rail small { display: block; margin-top: 20px; font-weight: 800; }
.range-band { background: var(--white); }
.range-grid { display: grid; grid-template-columns: 1.08fr .92fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.range-grid a { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.range-grid img { width: 100%; height: 100%; object-fit: cover; opacity: .68; transition: transform 500ms ease, opacity var(--ease); }
.range-grid a:hover img { transform: scale(1.025); opacity: .55; }
.range-grid a > span { position: absolute; inset: auto 0 0; padding: 28px; }
.range-grid small { font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.range-grid h3 { margin-top: 7px; font-size: 1.65rem; }
.range-grid p { max-width: 42ch; margin-top: 8px; color: #e4e1dc; }
.range-grid b { display: inline-block; margin-top: 18px; font-size: .8rem; }
.range-feature { min-height: 660px; grid-row: 1 / 3; }
.range-item { min-height: 320px; }
.range-link { margin-top: 28px; text-align: right; }
.approval-band { background: var(--paper); }
.approval-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(55px, 8vw, 110px); }
.approval-copy { position: sticky; top: 110px; align-self: start; }
.approval-copy > p:not(.eyebrow) { margin: 22px 0 28px; color: var(--muted); }
.approval-list { list-style: none; counter-reset: approvals; border-top: 1px solid var(--line); }
.approval-list li { position: relative; display: grid; min-height: 112px; padding: 25px 20px 24px 76px; border-bottom: 1px solid var(--line); gap: 7px; }
.approval-list li::before { position: absolute; top: 26px; left: 0; counter-increment: approvals; content: "0" counter(approvals); color: var(--red); font-size: .78rem; font-weight: 800; }
.approval-list b { font-family: var(--display); font-size: 1.22rem; }
.approval-list span { color: var(--muted); }
.factory-evidence { background: var(--green); color: var(--white); }
.factory-evidence-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.factory-evidence .eyebrow { color: var(--yellow); }
.factory-evidence-copy > p:not(.eyebrow) { margin-top: 24px; color: #c7d7cd; }
.plain-checks { display: grid; margin: 28px 0; list-style: none; gap: 11px; }
.plain-checks li { position: relative; padding-left: 25px; }
.plain-checks li::before { position: absolute; left: 0; content: "\2713"; color: var(--red); font-weight: 900; }
.factory-evidence .plain-checks li::before { color: var(--yellow); }
.factory-evidence figure { background: var(--white); color: var(--ink); }
.factory-evidence figure img { width: 100%; min-height: 520px; object-fit: cover; }
.factory-evidence figcaption { display: flex; padding: 14px 17px; justify-content: space-between; gap: 20px; font-size: .74rem; }

/* Forms */
.inquiry-band { background: var(--ink); color: var(--white); }
.inquiry-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.inquiry-copy { position: sticky; top: 110px; }
.inquiry-copy .eyebrow { color: var(--yellow); }
.inquiry-copy > p:not(.eyebrow) { max-width: 54ch; margin-top: 24px; color: #bbb7b1; }
.brief-receive { margin-top: 34px; padding-top: 25px; border-top: 1px solid #484642; }
.brief-receive ol { display: grid; margin-top: 12px; padding-left: 20px; gap: 7px; color: #bbb7b1; }
.contact-quick { display: grid; margin-top: 34px; gap: 9px; }
.contact-quick a { font-weight: 800; overflow-wrap: anywhere; }
.contact-quick span { display: block; color: #7f7a73; font-size: .72rem; font-weight: 500; }
.inquiry-panel { padding: 34px; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.inquiry-form { display: grid; gap: 17px; }
.form-context { padding: 13px 14px; border-left: 4px solid var(--red); background: #f2eee8; }
.form-context span, .form-context strong { display: block; }
.form-context span { color: var(--muted); font-size: .74rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.inquiry-form label > span { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 800; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; border: 1px solid #aaa49b; border-radius: 4px; background: var(--white); padding: 11px 12px; }
.inquiry-form input, .inquiry-form select { min-height: 48px; }
.inquiry-form textarea { min-height: 125px; resize: vertical; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--red-dark); outline: 2px solid rgba(237,77,61,.18); }
.form-note { color: var(--muted); font-size: .74rem; text-align: center; }
.form-note a { text-decoration: underline; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-alert { margin-bottom: 18px; padding: 12px 13px; border-left: 4px solid var(--red); background: #ffe2de; font-weight: 700; }

/* Inner page heroes */
.page-hero, .catalog-hero { padding: 150px 0 90px; background: var(--green); color: var(--white); }
.page-hero .eyebrow, .catalog-hero .eyebrow { color: var(--yellow); }
.page-hero p:not(.eyebrow), .catalog-hero p:not(.eyebrow) { max-width: 720px; margin-top: 25px; color: #cbd9d1; font-size: 1.12rem; }
.page-hero .button, .catalog-hero .button { margin-top: 30px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; }
.page-hero-grid h1 { font-size: 5.5rem; }
.page-hero-grid figure { max-height: 560px; overflow: hidden; }
.page-hero-grid figure img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.page-hero-grid .hero-actions { margin-top: 0; }
.page-hero-grid .hero-actions .button { margin-top: 30px; }
.page-hero-grid .hero-actions .text-link { margin-top: 30px; }
.compact-hero { max-width: 1050px; }
.compact-hero h1 { max-width: 950px; }

/* OEM */
.fit-band, .choice-band, .stage-band, .cost-band, .ip-translation, .responsibility-band, .ip-gates, .ip-inputs { padding: 105px 0; }
.fit-band { background: var(--paper); }
.fit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.fit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.fit-columns > div { border-top: 3px solid var(--ink); padding-top: 22px; }
.fit-columns h3 { font-size: 1.35rem; }
.choice-band { background: var(--white); }
.choice-table { border-top: 2px solid var(--ink); }
.choice-table > div { display: grid; padding: 20px 12px; border-bottom: 1px solid var(--line); grid-template-columns: .65fr 1.2fr 1fr; gap: 28px; }
.choice-table .choice-head { padding-block: 10px; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.choice-table strong { font-family: var(--display); }
.choice-table span:last-child { color: var(--muted); }
.stage-band { background: var(--sky); }
.stage-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; }
.stage-layout > div { position: sticky; top: 110px; align-self: start; }
.stage-layout > div > p:last-child { margin-top: 22px; color: #4e6065; }
.stage-list { list-style: none; border-top: 1px solid #aebfc4; }
.stage-list li { display: grid; min-height: 135px; padding: 24px 0; border-bottom: 1px solid #aebfc4; grid-template-columns: 62px 1fr; }
.stage-list > li > span { color: var(--red-dark); font-weight: 800; }
.stage-list p { margin-top: 7px; color: #4e6065; }
.stage-list b { display: block; margin-top: 12px; font-size: .77rem; }
.cost-band { background: var(--paper); }
.cost-grid { display: grid; border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
.cost-grid article { min-height: 210px; padding: 26px 30px 26px 0; border-bottom: 1px solid var(--line); }
.cost-grid article:nth-child(3n+2), .cost-grid article:nth-child(3n+3) { padding-left: 30px; border-left: 1px solid var(--line); }
.cost-grid p { margin-top: 13px; color: var(--muted); }

/* IP */
.ip-translation { background: var(--yellow); }
.ip-translation .eyebrow { color: #703b00; }
.ip-modes { display: grid; border-block: 1px solid rgba(21,21,21,.4); grid-template-columns: repeat(4, 1fr); }
.ip-modes article { min-height: 270px; padding: 24px 24px 24px 0; }
.ip-modes article + article { padding-left: 24px; border-left: 1px solid rgba(21,21,21,.3); }
.ip-modes article > span { font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.ip-modes h3 { margin-top: 70px; }
.ip-modes p { margin-top: 11px; color: #504719; }
.responsibility-band { background: var(--white); }
.responsibility-table { border-top: 2px solid var(--ink); }
.responsibility-table > div { display: grid; padding: 20px 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); gap: 45px; }
.responsibility-table span { line-height: 2; }
.ip-gates { background: var(--green); color: var(--white); }
.ip-gates .eyebrow { color: var(--yellow); }
.ip-gates-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.ip-gates-grid > div > p:last-child { margin-top: 22px; color: #c4d3ca; }
.ip-gates ol { list-style: none; counter-reset: ipgate; border-top: 1px solid #52715f; }
.ip-gates li { display: grid; padding: 23px 0; border-bottom: 1px solid #52715f; grid-template-columns: 190px 1fr; gap: 25px; }
.ip-gates li b::before { counter-increment: ipgate; content: "0" counter(ipgate) "  "; color: var(--yellow); }
.ip-gates li span { color: #c4d3ca; }
.ip-inputs { background: var(--paper); }
.ip-inputs header { max-width: 680px; }
.input-strip { display: flex; margin-top: 42px; gap: 9px; flex-wrap: wrap; }
.input-strip span { border: 1px solid var(--ink); border-radius: 30px; padding: 10px 15px; font-weight: 800; }
.caveat { max-width: 750px; margin-top: 30px; border-left: 4px solid var(--red); padding-left: 16px; color: var(--muted); }

/* Buyer guide */
.guide-nav { position: sticky; z-index: 20; top: 76px; border-bottom: 1px solid var(--line); background: rgba(245,242,236,.97); }
.guide-nav .container { display: flex; min-height: 58px; align-items: center; gap: 27px; overflow-x: auto; scrollbar-width: none; }
.guide-nav a { flex: 0 0 auto; font-size: .78rem; font-weight: 800; }
.guide-nav a:hover { color: var(--red-dark); }
.guide-section { padding: 105px 0; scroll-margin-top: 130px; }
.guide-contrast { background: var(--white); }
.guide-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: 85px; }
.guide-grid header > p:last-child { margin-top: 20px; color: var(--muted); }
.guide-number { display: block; margin-bottom: 28px; color: var(--red); font-size: .8rem; font-weight: 800; }
.brief-checklist { list-style: none; counter-reset: brief; border-top: 1px solid var(--line); }
.brief-checklist li { display: grid; padding: 20px 0 20px 54px; border-bottom: 1px solid var(--line); grid-template-columns: 180px 1fr; gap: 22px; position: relative; }
.brief-checklist li::before { position: absolute; left: 0; counter-increment: brief; content: "0" counter(brief); color: var(--red-dark); font-weight: 800; }
.brief-checklist span { color: var(--muted); }
.quote-logic { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.quote-logic > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.quote-logic p { margin-top: 10px; color: var(--muted); }
.quote-logic aside { grid-column: 1 / -1; margin-top: 10px; padding: 24px; background: var(--yellow); }
.quote-logic aside p { max-width: 750px; color: #4e4519; }
.sample-stages { border-top: 1px solid var(--line); }
.sample-stages article { display: grid; padding: 21px 0; border-bottom: 1px solid var(--line); grid-template-columns: 60px 190px 1fr; gap: 20px; }
.sample-stages article > strong { color: var(--red); font-family: var(--display); font-size: 1.2rem; }
.sample-stages p { color: var(--muted); }
.confirm-list { border-top: 1px solid var(--line); }
.confirm-list p { display: grid; padding: 22px 0; border-bottom: 1px solid var(--line); grid-template-columns: 190px 1fr; gap: 25px; }
.confirm-list span { color: var(--muted); }
.shipping-flow { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.shipping-flow div { flex: 1; min-height: 155px; padding: 22px; background: var(--sky); }
.shipping-flow b, .shipping-flow span { display: block; }
.shipping-flow span { margin-top: 30px; color: #4e6065; font-size: .84rem; }
.shipping-flow i { font-style: normal; font-weight: 900; }
.section-note { margin-top: 25px; color: var(--muted); }
.compliance-questions { padding: 30px; background: var(--paper); }
.compliance-questions .button { margin-top: 8px; }
.guide-cta, .factory-cta, .catalog-foot { padding: 75px 0; background: var(--red); color: var(--white); }
.guide-cta .container, .factory-cta .container, .catalog-foot .container { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.guide-cta .eyebrow, .factory-cta .eyebrow, .catalog-foot .eyebrow { color: var(--yellow); }
.guide-cta h2, .factory-cta h2, .catalog-foot h2 { max-width: 800px; font-size: 3.6rem; }
.guide-cta .button-primary, .factory-cta .button-primary, .catalog-foot .button-primary { flex: 0 0 auto; background: var(--ink); }

/* Factory */
.factory-profile, .factory-process, .quality-system, .evidence-band { padding: 105px 0; }
.factory-profile { background: var(--paper); }
.factory-profile .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.profile-copy > p:last-child { margin-top: 22px; color: var(--muted); }
.profile-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.profile-facts div { padding: 24px 10px 30px 0; border-bottom: 1px solid var(--line); }
.profile-facts div:nth-child(even) { padding-left: 25px; border-left: 1px solid var(--line); }
.profile-facts dt { font-family: var(--display); font-size: 2rem; }
.profile-facts dd { color: var(--muted); }
.factory-process { background: var(--yellow); }
.factory-process-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 75px; align-items: center; }
.factory-process figure img { width: 100%; min-height: 520px; object-fit: cover; }
.factory-process figcaption { padding-top: 10px; color: #625819; font-size: .76rem; }
.factory-process .eyebrow { color: #703b00; }
.quality-system { background: var(--white); }
.quality-flow { display: grid; border-block: 1px solid var(--line); grid-template-columns: repeat(4, 1fr); }
.quality-flow div { min-height: 180px; padding: 25px 22px 25px 0; }
.quality-flow div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.quality-flow b, .quality-flow span { display: block; }
.quality-flow b { font-family: var(--display); }
.quality-flow span { margin-top: 35px; color: var(--muted); }
.evidence-band { background: var(--paper); }
.evidence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.evidence-grid figure { overflow: hidden; background: var(--white); }
.evidence-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.evidence-grid figcaption { padding: 14px; }
.evidence-grid figcaption strong, .evidence-grid figcaption span { display: block; }
.evidence-grid figcaption span { color: var(--muted); font-size: .78rem; }
.evidence-note { margin-top: 24px; color: var(--muted); }

/* FAQ */
.faq-band { padding: 105px 0; background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .66fr 1.34fr; gap: 85px; }
.faq-layout aside { position: sticky; top: 110px; align-self: start; }
.faq-layout aside h2 { font-size: 3.2rem; }
.faq-layout aside > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
.faq-layout aside .button { margin-top: 25px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; padding: 22px 42px 22px 0; list-style: none; grid-template-columns: 48px 1fr; cursor: pointer; font-family: var(--display); font-size: 1.16rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 5px; content: "+"; font-family: var(--body); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list summary span { color: var(--red); font-family: var(--body); font-size: .76rem; font-weight: 800; }
.faq-list details p { max-width: 700px; padding: 0 42px 24px 48px; color: var(--muted); }

/* Catalog */
.catalog-hero .container { max-width: 1050px; }
.catalog-hero h1 { max-width: 1000px; }
.catalog-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.catalog-actions .text-link { margin-top: 30px; }
.catalog-band { padding: 85px 0 110px; background: var(--paper); }
.catalog-toolbar { display: flex; margin-bottom: 38px; padding-bottom: 22px; border-bottom: 1px solid var(--line); align-items: end; justify-content: space-between; gap: 35px; }
.catalog-toolbar strong, .catalog-toolbar span { display: block; }
.catalog-toolbar span { color: var(--muted); font-size: .8rem; }
.product-filters { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.filter-btn { min-height: 39px; border: 1px solid #aaa49b; border-radius: 20px; padding: 8px 13px; background: transparent; font-size: .78rem; font-weight: 800; }
.filter-btn small { color: inherit; opacity: .7; }
.filter-btn.active, .filter-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 18px; }
.product-card[hidden] { display: none; }
.product-card-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #e6e0d8; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.product-card-img > span { position: absolute; right: 10px; bottom: 10px; padding: 8px 10px; background: var(--ink); color: var(--white); opacity: 0; font-size: .73rem; font-weight: 800; transform: translateY(5px); transition: opacity var(--ease), transform var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.025); }
.product-card:hover .product-card-img > span { opacity: 1; transform: translateY(0); }
.product-card-body { display: grid; padding-top: 15px; gap: 8px; }
.product-card-body > small { color: var(--red-dark); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.product-card-body h2 { font-size: 1.2rem; }
.product-card-body h2 a:hover { color: var(--red-dark); }
.product-card-body p { color: var(--muted); font-size: .88rem; }
.product-card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.product-card-meta span { border: 1px solid var(--line); border-radius: 18px; padding: 4px 9px; font-size: .7rem; font-weight: 700; }
.product-empty { grid-column: 1 / -1; padding: 55px; border: 1px solid var(--line); text-align: center; }
.product-empty .button { margin-top: 20px; }
.category-context { padding: 45px 0; background: var(--yellow); }
.context-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.context-grid > div { padding: 12px 28px 12px 0; }
.context-grid > div + div { padding-left: 28px; border-left: 1px solid rgba(21,21,21,.28); }
.context-grid span { display: block; margin-bottom: 10px; color: #703b00; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.context-grid p { color: #4f471c; }
.breadcrumb { display: flex; margin-bottom: 28px; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .76rem; }
.breadcrumb a:hover { color: var(--red-dark); }
.breadcrumb-light { color: #cbd9d1; }

/* Product detail */
.product-detail-page { padding-top: 120px; }
.product-detail-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(45px, 7vw, 90px); align-items: start; }
.gallery-main { aspect-ratio: 1; overflow: hidden; background: #e6e0d8; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; margin-top: 10px; gap: 9px; overflow-x: auto; }
.thumb { flex: 0 0 76px; height: 76px; border: 2px solid transparent; padding: 0; overflow: hidden; background: #e6e0d8; }
.thumb.active { border-color: var(--red); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: 110px; }
.product-categories { display: flex; margin-bottom: 14px; gap: 7px; flex-wrap: wrap; }
.product-categories a { border-radius: 18px; padding: 5px 10px; background: var(--yellow); font-size: .7rem; font-weight: 800; }
.product-info h1 { font-size: 4.1rem; }
.product-lede { margin-top: 22px; color: var(--muted); font-size: 1.04rem; }
.product-meta-grid { display: grid; margin-top: 25px; padding-block: 16px; border-block: 1px solid var(--line); grid-template-columns: 1fr 1fr; gap: 18px; }
.product-meta-grid dt { color: var(--muted); font-size: .7rem; }
.product-meta-grid dd { font-weight: 800; }
.product-block { margin-top: 25px; }
.product-block h2, .product-evidence h2 { font-size: 1.1rem; }
.customizable-grid { display: flex; margin-top: 11px; gap: 7px; flex-wrap: wrap; }
.customizable-grid span { border: 1px solid var(--line); border-radius: 18px; padding: 6px 10px; font-size: .75rem; font-weight: 700; }
.product-cta { display: flex; margin-top: 28px; gap: 9px; flex-wrap: wrap; }
.product-caveat { margin-top: 15px; color: var(--muted); font-size: .72rem; }
.procurement-context { margin-top: 90px; padding: 55px 0; border-block: 1px solid var(--line); }
.procurement-context header { display: flex; margin-bottom: 35px; align-items: end; justify-content: space-between; gap: 30px; }
.procurement-context h2 { max-width: 800px; font-size: 3.5rem; }
.product-evidence { display: grid; padding: 85px 0 105px; grid-template-columns: 1.15fr .85fr; gap: 80px; }
.entry-content { color: var(--muted); }
.entry-content h2, .entry-content h3 { margin: 28px 0 10px; color: var(--ink); }
.entry-content h2 { font-size: 1.7rem; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content a { color: var(--red-dark); text-decoration: underline; }
.feature-copy { margin-top: 32px; }
.feature-copy ul { display: grid; margin-top: 15px; padding-left: 20px; gap: 7px; }
.product-evidence aside { align-self: start; padding: 26px; background: var(--white); }
.spec-list { margin-top: 15px; }
.spec-list > div { display: flex; padding: 10px 0; border-bottom: 1px solid var(--line); justify-content: space-between; gap: 20px; }
.spec-list span { color: var(--muted); }
.product-evidence aside > p { margin-top: 16px; color: var(--muted); font-size: .72rem; }
.related-band { padding: 80px 0; background: var(--white); }
.related-band header { margin-bottom: 30px; }
.related-band h2 { font-size: 3.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-grid a img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.related-grid a > span { display: flex; padding-top: 12px; justify-content: space-between; gap: 15px; font-family: var(--display); }

/* Legal, thank you, 404 */
.legal-page { padding: 145px 0 105px; background: var(--paper); }
.legal-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: 85px; }
.legal-layout header { position: sticky; top: 110px; align-self: start; }
.legal-layout h1 { font-size: 4.5rem; }
.legal-layout header > p:last-child { margin-top: 18px; color: var(--muted); }
.legal-content { max-width: 760px; }
.legal-content h2 { margin: 35px 0 10px; font-size: 1.4rem; }
.legal-content p, .legal-content ul { margin-bottom: 15px; color: var(--muted); }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--red-dark); text-decoration: underline; }
.thank-page, .not-found-page { min-height: 80svh; padding: 150px 0 100px; background: var(--green); color: var(--white); }
.thank-layout, .not-found-layout { max-width: 950px; text-align: center; }
.thank-mark { display: grid; width: 62px; height: 62px; margin: 0 auto 24px; border-radius: 50%; background: var(--yellow); color: var(--ink); place-items: center; font-size: 1.5rem; font-weight: 900; }
.thank-page .eyebrow { color: var(--yellow); }
.thank-page h1, .not-found-page h1 { font-size: 5.5rem; }
.thank-layout > p:not(.eyebrow):not(.lead-reference), .not-found-layout > p { max-width: 700px; margin: 24px auto 0; color: #cbd9d1; font-size: 1.08rem; }
.lead-reference { display: inline-block; margin-top: 20px; border: 1px solid #557465; padding: 7px 12px; font-size: .8rem; }
.next-steps { display: grid; margin-top: 50px; border-block: 1px solid #557465; grid-template-columns: repeat(3, 1fr); text-align: left; }
.next-steps > div { min-height: 185px; padding: 23px; }
.next-steps > div + div { border-left: 1px solid #557465; }
.next-steps span { color: var(--yellow); font-size: .75rem; font-weight: 800; }
.next-steps b { display: block; margin-top: 35px; font-family: var(--display); }
.next-steps p { margin-top: 7px; color: #cbd9d1; font-size: .82rem; }
.thank-actions { display: flex; margin-top: 35px; justify-content: center; gap: 10px; flex-wrap: wrap; }
.not-found-layout > span { color: var(--yellow); font-family: var(--display); font-size: 1.2rem; }
.not-found-layout > div { display: flex; margin-top: 35px; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }

/* Footer */
.site-footer { padding: 75px 0 28px; background: var(--ink); color: var(--white); }
.footer-main { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.brand-mark-footer { font-size: 2rem; }
.footer-brand p { max-width: 420px; margin-top: 18px; color: #aaa59f; }
.footer-links { display: grid; grid-template-columns: .8fr .9fr 1.3fr; gap: 34px; }
.footer-links > div { display: flex; flex-direction: column; gap: 7px; }
.footer-links strong { margin-bottom: 9px; color: var(--yellow); font-size: .78rem; }
.footer-links a, .footer-links span { color: #c8c4be; font-size: .82rem; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; margin-top: 60px; padding-top: 20px; border-top: 1px solid #403e3b; justify-content: space-between; gap: 20px; color: #77736e; font-size: .72rem; }
.whatsapp-float { position: fixed; z-index: 45; right: 18px; bottom: 18px; display: inline-flex; min-height: 46px; align-items: center; gap: 8px; border-radius: 24px; padding: 8px 14px 8px 8px; background: var(--wa); color: var(--white); box-shadow: 0 7px 22px rgba(0,0,0,.2); }
.whatsapp-float span { display: grid; width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: var(--wa); place-items: center; font-size: .65rem; font-weight: 900; }
.whatsapp-float b { font-size: .78rem; }

@media (max-width: 1100px) {
  .nav-list { gap: 17px; }
  .nav-list > li > a:not(.button) { font-size: .78rem; }
  .decision-layout, .approval-layout, .stage-layout, .guide-grid { gap: 55px; }
  .wide-heading { gap: 45px; }
}

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .container { width: min(calc(100% - 32px), 1220px); }
  h1 { font-size: 4.5rem; }
  h2 { font-size: 3.5rem; }
  .page-hero-grid h1 { font-size: 4.5rem; }
  .product-info h1 { font-size: 3.6rem; }
  .guide-cta h2, .factory-cta h2, .catalog-foot h2, .procurement-context h2, .related-band h2 { font-size: 3rem; }
  .site-header { color: var(--ink); background: rgba(245,242,236,.97); border-color: var(--line); }
  .home .site-header:not(.is-scrolled), .has-dark-page-hero .site-header:not(.is-scrolled), .is-thank-you-page .site-header:not(.is-scrolled), .error404 .site-header:not(.is-scrolled) { color: var(--ink); }
  .nav-toggle { display: flex; }
  .primary-nav { position: absolute; display: none; inset: 76px 0 auto; padding: 14px 16px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .primary-nav.is-open { display: block; }
  .nav-list { align-items: stretch; flex-direction: column; gap: 3px; }
  .nav-list a { display: flex; min-height: 44px; align-items: center; }
  .nav-list .button { justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .page-hero-grid, .consumer-grid, .factory-evidence-grid, .factory-process-grid, .product-detail-layout { grid-template-columns: 1fr; }
  .home-hero-media figcaption strong { margin-left: 0; }
  .hero-proofline { justify-content: flex-start; }
  .decision-layout, .approval-layout, .fit-grid, .stage-layout, .ip-gates-grid, .guide-grid, .factory-profile .container, .faq-layout, .legal-layout, .inquiry-grid { grid-template-columns: 1fr; }
  .decision-intro, .approval-copy, .stage-layout > div, .faq-layout aside, .legal-layout header, .inquiry-copy, .product-info { position: static; }
  .range-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .range-feature { min-height: 500px; grid-column: 1 / -1; grid-row: auto; }
  .range-item { min-height: 300px; }
  .build-rail, .quality-flow, .ip-modes { grid-template-columns: 1fr 1fr; }
  .build-rail article:nth-child(3), .quality-flow div:nth-child(3), .ip-modes article:nth-child(3) { border-left: 0; }
  .build-rail article, .build-rail article + article, .quality-flow div, .quality-flow div + div, .ip-modes article, .ip-modes article + article { border-bottom: 1px solid rgba(21,21,21,.25); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .product-filters { justify-content: flex-start; }
  .product-evidence { gap: 40px; }
  .evidence-grid { grid-template-columns: 1fr 1fr; }
  .guide-nav { top: 76px; }
  .shipping-flow { display: grid; grid-template-columns: 1fr 1fr; }
  .shipping-flow i { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  h1 { font-size: 3.25rem; overflow-wrap: anywhere; }
  h2 { font-size: 2.65rem; }
  .page-hero-grid h1, .product-info h1, .legal-layout h1, .thank-page h1, .not-found-page h1 { font-size: 3.25rem; }
  .guide-cta h2, .factory-cta h2, .catalog-foot h2, .procurement-context h2, .related-band h2, .faq-layout aside h2 { font-size: 2.45rem; }
  .home-hero { min-height: calc(100svh - 54px); padding: 100px 0 34px; }
  .home-hero-grid { min-height: 0; }
  .hero-lede { margin-top: 20px; font-size: 1rem; }
  .hero-actions { margin-top: 25px; gap: 13px; }
  .hero-facts, .hero-proofline, .home-hero-media figcaption { display: none; }
  .home-hero-media img { object-position: 62% center; }
  .home-hero-media::after { background: rgba(24,79,60,.72); }
  .decision-band, .consumer-band, .build-band, .range-band, .approval-band, .factory-evidence, .inquiry-band, .fit-band, .choice-band, .stage-band, .cost-band, .ip-translation, .responsibility-band, .ip-gates, .ip-inputs, .guide-section, .factory-profile, .factory-process, .quality-system, .evidence-band, .faq-band { padding: 75px 0; }
  .decision-band { padding-top: 24px; }
  .decision-paths a { grid-template-columns: 1fr; }
  .decision-paths a > span { grid-row: auto; margin-bottom: 9px; }
  .consumer-media figcaption { right: 10px; width: 180px; }
  .outcome-list div { grid-template-columns: 75px 1fr; }
  .wide-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .build-rail, .quality-flow, .ip-modes { grid-template-columns: 1fr; }
  .build-rail article, .build-rail article + article, .quality-flow div, .quality-flow div + div, .ip-modes article, .ip-modes article + article { min-height: auto; padding: 22px 0; border-left: 0; }
  .build-rail h3, .ip-modes h3 { margin-top: 30px; }
  .range-grid { grid-template-columns: 1fr; }
  .range-feature, .range-item { min-height: 410px; grid-column: auto; }
  .range-link { text-align: left; }
  .factory-evidence figure img, .factory-process figure img { min-height: 360px; }
  .factory-evidence figcaption { align-items: flex-start; flex-direction: column; }
  .form-row, .fit-columns, .profile-facts, .quote-logic, .product-evidence, .related-grid { grid-template-columns: 1fr; }
  .inquiry-panel { padding: 23px 17px; }
  .page-hero, .catalog-hero { padding: 120px 0 70px; }
  .page-hero-grid figure img { min-height: 360px; }
  .choice-table .choice-head { display: none; }
  .choice-table > div { grid-template-columns: 1fr; gap: 8px; }
  .cost-grid { grid-template-columns: 1fr; }
  .cost-grid article, .cost-grid article:nth-child(3n+2), .cost-grid article:nth-child(3n+3) { min-height: 0; padding: 22px 0; border-left: 0; }
  .responsibility-table > div { grid-template-columns: 1fr; gap: 18px; }
  .responsibility-table > div:first-child { display: none; }
  .responsibility-table span::before { display: block; margin-bottom: 4px; color: var(--red-dark); font-size: .72rem; font-weight: 800; }
  .responsibility-table span:nth-child(1)::before { content: "BUYER / RIGHTS HOLDER"; }
  .responsibility-table span:nth-child(2)::before { content: "YOUFU FOOD"; }
  .responsibility-table span:nth-child(3)::before { content: "APPROVED TOGETHER"; }
  .ip-gates li { grid-template-columns: 1fr; gap: 7px; }
  .brief-checklist li, .sample-stages article, .confirm-list p { grid-template-columns: 1fr; }
  .brief-checklist li { padding-left: 42px; }
  .shipping-flow { grid-template-columns: 1fr; }
  .guide-cta .container, .factory-cta .container, .catalog-foot .container { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .context-grid { grid-template-columns: 1fr; }
  .context-grid > div, .context-grid > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(21,21,21,.28); }
  .product-detail-page { padding-top: 100px; }
  .product-cta .button { width: 100%; }
  .product-evidence { padding-top: 60px; }
  .evidence-grid { gap: 10px; }
  .faq-list summary { grid-template-columns: 36px 1fr; font-size: 1rem; }
  .faq-list details p { padding-left: 36px; }
  .next-steps { grid-template-columns: 1fr; }
  .next-steps > div { min-height: 0; }
  .next-steps > div + div { border-top: 1px solid #557465; border-left: 0; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-links > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .whatsapp-float b { display: none; }
  .whatsapp-float { padding-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
