*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;color:#20251f;background:#fafbf8;font:15px/1.7 Arial,"Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}header{position:sticky;top:0;z-index:5;background:#ffffffed;backdrop-filter:blur(16px);display:flex;justify-content:space-between;align-items:center;padding:18px 5%;border-bottom:1px solid #e5e8df}.brand{font-size:32px;font-weight:800;letter-spacing:-2px;display:flex;align-items:center;gap:20px}.brand span{font-size:10px;letter-spacing:2px;font-weight:500}nav{display:flex;gap:28px;align-items:center}button{border:1px solid #dce1d5;background:white;border-radius:30px;padding:8px 18px}.hero>img{display:block;width:100%;height:auto}.intro{padding:50px 6% 70px;max-width:1100px}.eyebrow{font-size:11px;letter-spacing:3px;color:#66705b}h1{font-size:clamp(30px,4vw,55px);line-height:1.3;letter-spacing:-1px;margin:16px 0}h2{font-size:34px;line-height:1.3;margin:12px 0 22px}p{color:#60675b}.primary{display:inline-block;background:#c3ee82;padding:13px 26px;border-radius:30px;margin-top:15px}#products{padding:60px 6% 90px;background:#f0f2ec}.section-title{display:flex;justify-content:space-between;align-items:center}.section-title>span{color:#7a8371;font-size:12px}.controls{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:10px 0 32px}#filters{display:flex;gap:8px;flex-wrap:wrap}button.active{background:#253122;color:white}input{border:1px solid #dce1d5;padding:10px 18px;border-radius:25px;max-width:100%;background:white}#grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}.card{padding:0;text-align:left;border:0;border-radius:0;background:transparent}.photo{background:white;overflow:hidden;border-radius:12px}.photo img{width:100%;aspect-ratio:1.2;object-fit:contain;display:block;transition:transform .35s}.card:hover img{transform:scale(1.04)}.card small{display:block;margin-top:16px;color:#69715f;font-size:11px;letter-spacing:1px}.card h3{font-size:18px;margin:5px 0;font-weight:500}.card .arrow{float:right}#contact{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:80px 9%}#contact img{width:230px;max-width:100%;border:1px solid #e5e8df;border-radius:12px}.muted{font-size:13px}footer{border-top:1px solid #dce1d5;padding:30px 6%;display:flex;gap:25px;align-items:center;font-size:11px;color:#70776a}footer strong{font-size:25px;color:#20251f}footer a{margin-left:auto}dialog{border:0;border-radius:16px;width:min(1050px,94vw);max-height:90vh;padding:36px;background:#fff}dialog::backdrop{background:#13200fb0}.close{position:absolute;right:12px;top:10px;font-size:25px;border:0;padding:0 12px}.detail-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:35px}.main-image{width:100%;height:420px;object-fit:contain}.thumbs{display:flex;gap:7px;flex-wrap:wrap}.thumbs button{padding:0;border-radius:5px;overflow:hidden}.thumbs img{width:62px;height:62px;object-fit:contain;display:block}dl{display:grid;grid-template-columns:100px 1fr;font-size:13px}dt,dd{padding:10px 0;border-bottom:1px solid #eee;margin:0}dd{color:#737a6c}:focus-visible{outline:3px solid #67a92e;outline-offset:4px}@media(max-width:850px){#grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand span{display:none}.detail-layout{grid-template-columns:1fr}.main-image{height:300px}}@media(max-width:520px){nav{gap:12px;font-size:12px}header{padding:12px 5%}nav button{padding:6px 10px}.intro{padding:30px 6% 45px}#products{padding-top:35px}#grid{gap:22px 12px}.card h3{font-size:14px}#contact{flex-direction:column;align-items:flex-start;padding:45px 6%}h2{font-size:28px}footer span{max-width:170px}dialog{padding:35px 18px}.photo img{aspect-ratio:1}}
@media(max-width:520px){#grid{grid-template-columns:1fr}.photo img{aspect-ratio:1.2}.card h3{font-size:18px}button{min-height:44px}.controls input{width:100%}#contact img{width:250px}nav{gap:10px}.hero>img{width:100%;height:auto}.intro h1{font-size:30px}}

.hero>img{height:25vh;height:25svh;min-height:100px;max-height:250px;object-fit:cover;object-position:center}.intro{padding:16px 6% 20px;max-width:none}.intro h1{font-size:clamp(24px,3vw,36px);margin:8px 0}.intro p{margin:6px 0}.intro .primary{margin-top:8px;padding:7px 18px}#products{padding-top:22px}.section-title h2{font-size:27px;margin:7px 0 12px}.controls{margin:5px 0 18px}@media(max-width:520px){.hero>img{height:25svh;min-height:100px}.intro{padding:12px 6%}.intro h1{font-size:23px}.intro p{font-size:13px}.intro .eyebrow{display:none}#products{padding-top:16px}}

.detail-language{margin:0 35px 15px 0;position:sticky;top:0;z-index:2;background:#fff}
.card small{font-size:21px;font-weight:700;letter-spacing:.3px;color:#253122;margin-top:13px}.product-description{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:520px){.card small{font-size:22px}}
.card small{color:#69715f;font-weight:400}.brand span{letter-spacing:0;font-size:12px;max-width:390px;white-space:normal;line-height:1.5}.brand{letter-spacing:-2px}@media(max-width:850px){.brand span{display:block;max-width:240px;font-size:10px}}@media(max-width:600px){header{flex-wrap:wrap;gap:8px}.brand{gap:12px}.brand span{max-width:260px}header nav{margin-left:auto}.param-row{margin-bottom:5px}}/* Mobile catalog: overrides apply only to screens up to 600px. */
@media (max-width:600px){
 html{scroll-padding-top:88px}
 body>header{padding:6px 12px;gap:3px;align-items:center}
 body>header .brand{font-size:25px;gap:10px;line-height:1.2}
 body>header .brand span{font-size:9px;line-height:1.35;max-width:255px}
 body>header nav{gap:14px;font-size:11px;line-height:1.2}
 body>header nav button{min-height:30px;padding:3px 10px;font-size:11px}
 .hero>img{height:12svh;min-height:64px;max-height:100px;object-fit:cover}
 .hero .intro{display:none}
 #products{padding:10px 10px 24px;display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px 10px;align-items:start}
 #products>.section-title{grid-column:1/-1;grid-row:1}
 #products .section-title .eyebrow{display:none}
 #products .section-title h2{font-size:20px;margin:0;line-height:1.4}
 #products .section-title>span{font-size:10px}
 #products>.controls{display:contents}
 #products #search{grid-column:2;grid-row:2;width:100%;padding:5px 9px;font-size:11px;min-height:30px;border-radius:8px}
 #products #filters{grid-column:1;grid-row:2/4;display:flex;flex-direction:column;gap:6px;position:sticky;top:85px;width:78px}
 #products #filters button{width:100%;padding:9px 5px;min-height:44px;font-size:11px;border-radius:8px;line-height:1.35;overflow-wrap:anywhere;white-space:normal;text-align:center}
 #products #grid{grid-column:2;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px;align-items:start}
 #products .card{min-width:0;min-height:0;align-self:start}
 #products .photo{border-radius:7px}
 #products .photo img{height:clamp(72px,11svh,110px);aspect-ratio:auto;object-fit:contain;width:100%}
 #products .card small{font-size:13px;line-height:1.25;margin-top:4px;overflow-wrap:anywhere;letter-spacing:0}
 #products .card h3{font-size:11px;line-height:1.35;margin:3px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
 #products #empty{grid-column:2;grid-row:3;font-size:12px}
 #products #empty[hidden]{display:none}
 #detail{width:95vw;max-height:92svh;padding:12px;border-radius:12px}
 #detail .detail-language{min-height:32px;font-size:12px;padding:5px 12px;margin:0 35px 7px 0}
 #detail .close{right:8px;top:8px;min-height:30px;font-size:24px;line-height:30px;z-index:3}
 #detail .detail-layout{grid-template-columns:1fr;gap:10px}
 #detail .main-image{height:clamp(100px,21svh,175px);display:block}
 #detail .thumbs{flex-wrap:nowrap;overflow-x:auto;gap:6px;padding:5px 0}
 #detail .thumbs button{flex:0 0 44px;min-height:44px}
 #detail .thumbs img{width:44px;height:44px}
 #detail h2{font-size:19px;margin:5px 0 8px;line-height:1.3}
 #detail .eyebrow{font-size:10px;letter-spacing:1px}
 #detail dl{font-size:12px;grid-template-columns:110px minmax(0,1fr);margin:6px 0}
 #detail dt,#detail dd{padding:6px 0;overflow-wrap:anywhere}
 #detail .product-description{font-size:13px;margin:8px 0}
 #detail .primary{font-size:13px;padding:9px 16px;margin-top:6px}
}

/* YF packaging-green accents and catalog detail refinements. */
:root{--yf-green:#9bdc24;--yf-green-dark:#46750e}
body>header .brand{color:var(--yf-green)}
body>header .brand span{color:#66705b}
#products .section-title h2{font-size:22px}
#filters button{background:var(--yf-green);border-color:var(--yf-green);color:#23370e;padding:6px 12px}
#filters button.active{background:var(--yf-green-dark);border-color:var(--yf-green-dark);color:#fff}
.primary{background:var(--yf-green);color:#23370e}
#detail .main-image{height:460px}
#detail .detail-layout .eyebrow{font-size:9px;letter-spacing:.6px}
#detail .detail-layout h2{font-size:25px}
@media(min-width:601px) and (max-width:850px){#detail .main-image{height:340px}}
@media(max-width:600px){
 #products{grid-template-columns:68px minmax(0,1fr);gap:8px}
 #products .section-title h2{font-size:16px}
 #products #filters{width:68px;gap:5px}
 #products #filters button{font-size:10px;padding:8px 4px;min-height:40px}
 #detail .main-image{height:clamp(145px,28svh,235px)}
 #detail .detail-layout .eyebrow{font-size:9px;letter-spacing:.3px}
 #detail .detail-layout h2{font-size:16px;margin:5px 0 8px}
}
/* Restore original palette; retain compact category controls. */
body>header .brand{color:#20251f}
#filters button{background:#fff;border-color:#dce1d5;color:#20251f;padding:5px 9px}
#filters button.active{background:#253122;border-color:#253122;color:#fff}
.primary{background:#c3ee82;color:#20251f}
@media(max-width:600px){
 #products{grid-template-columns:60px minmax(0,1fr)}
 #products #filters{width:60px}
 #products #filters button{padding:7px 3px;min-height:38px;font-size:10px}
}
/* Category controls: compact vertically, comfortable text width. */
#filters button{padding:3px 12px;min-height:34px;line-height:1.3}
@media(max-width:600px){
 #products{grid-template-columns:82px minmax(0,1fr);column-gap:8px}
 #products #filters{width:82px;gap:5px}
 #products #filters button{width:100%;min-height:30px;padding:5px 5px;font-size:10px;line-height:1.3;letter-spacing:0;text-align:center;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:auto}
 html[lang="en"] #products #filters button{text-transform:uppercase}
}
@media(min-width:601px){html[lang="en"] #filters button{text-transform:uppercase}}
/* Larger product detail image, preserving full image proportions. */
#detail .main-image{height:520px;object-fit:contain}
@media(min-width:601px) and (max-width:850px){#detail .main-image{height:400px}}
@media(max-width:600px){#detail .main-image{height:clamp(190px,36svh,310px);object-fit:contain}}
/* Compact parameters with an always-reachable enquiry action. */
#detail dl{font-size:12px;line-height:1.3;margin:6px 0;column-gap:10px}
#detail dt,#detail dd{padding:4px 0}
#detail .detail-action{position:sticky;bottom:-36px;z-index:4;background:#fff;padding:10px 0 5px;border-top:1px solid #e5e8df;margin-top:10px}
#detail .detail-action .primary{margin-top:0;display:block;text-align:center;padding:10px 16px}
@media(max-width:600px){
 #detail dl{font-size:11px;line-height:1.25;grid-template-columns:100px minmax(0,1fr);margin:4px 0;column-gap:8px}
 #detail dt,#detail dd{padding:3px 0}
 #detail .detail-action{bottom:-12px;padding:8px 0 max(5px,env(safe-area-inset-bottom));margin-top:8px}
 #detail .detail-action .primary{padding:9px 14px;font-size:13px}
}
/* Clean parameter typography and a lighter enquiry footer. */
#detail dl{column-gap:18px;row-gap:0;padding:8px 12px;background:#f6f7f3;border-radius:9px}
#detail dt,#detail dd{border-bottom:0;padding:5px 0}
#detail dt{color:#838979;font-weight:400}
#detail dd{color:#343d2e;font-weight:400}
#detail .detail-action{border-top:0;display:flex;justify-content:center;padding-top:8px;background:#fff}
#detail .detail-action .primary{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-height:40px;padding:7px 23px;font-size:13px;line-height:1.35;border-radius:22px}
@media(max-width:600px){
 #detail dl{column-gap:12px;padding:7px 10px;border-radius:8px}
 #detail dt,#detail dd{padding:4px 0;border:0}
 #detail .detail-action .primary{width:auto;min-height:40px;font-size:12px;padding:7px 20px}
}
