/* Official-site visual language; only the Fanyouyue client opts in. No business state is styled away. */
@font-face{font-family:"FYY Client Display";src:url("/brand-assets/fanyouyue/client/fyy-display.ttf") format("truetype");font-weight:600;font-display:swap}
body[data-fyy-client]{--wo-ink:#183e33;--wo-muted:#52675c;--wo-paper:#f7f7f0;--wo-line:#cfdacf;--fyy-forest:#154e40;background:var(--wo-paper);color:var(--wo-ink);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;line-height:1.7;scrollbar-color:#8ba697 #f7f7f0;color-scheme:light}
body[data-fyy-client] ::selection{background:#c9dfc8;color:#103e33}
body[data-fyy-client] :is(input,textarea){caret-color:#154e40}
body[data-fyy-client] :is(input,textarea)::placeholder{color:#64766b;opacity:1}
body[data-fyy-client] :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #5b885e;outline-offset:4px}
body[data-fyy-client] [hidden]{display:none!important}
body[data-fyy-client] .wo-shell{max-width:1408px;padding-inline:clamp(20px,4vw,64px)}
body[data-fyy-client] .wo-header{min-height:94px;gap:24px;border-color:var(--wo-line);padding-block:16px}
body[data-fyy-client] .fyy-client-brand{flex-shrink:0;display:block;line-height:0}
body[data-fyy-client] .wo-header img{width:184px;height:48px;object-fit:contain;object-position:left center}
body[data-fyy-client] .wo-header nav{gap:8px}
body[data-fyy-client] .wo-header nav a{display:flex;align-items:center;min-height:44px;font-size:14px;padding:10px 15px;border-radius:8px;color:var(--wo-muted)}
body[data-fyy-client] .wo-header nav a:is(:hover,[aria-current="page"]){background:#e2eae1;color:#154e40}
body[data-fyy-client] .fyy-skip{position:absolute;top:-100px;left:20px;padding:12px 18px;background:#154e40;color:white;z-index:100}
body[data-fyy-client] .fyy-skip:focus{top:12px}
body[data-fyy-client] .wo-main{padding-block:32px 48px}
body[data-fyy-client] .wo-title{margin-bottom:26px;gap:40px}
body[data-fyy-client][data-order-mode="shop"] .wo-title{grid-template-columns:1.1fr 1fr}
body[data-fyy-client] .wo-title h1{font-family:"FYY Client Display","PingFang SC","Microsoft YaHei",sans-serif;font-size:clamp(30px,3.35vw,46px);line-height:1.32;letter-spacing:-.025em;font-weight:600;max-width:none;color:#154e40;margin:0 0 14px;text-wrap:balance}
body[data-fyy-client] .wo-title h1 span{display:inline-block}
body[data-fyy-client] .wo-title p{font-size:15px;line-height:1.85;max-width:65ch;color:var(--wo-muted)}
body[data-fyy-client] .fyy-hero-actions{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-top:22px;font-size:13px}
body[data-fyy-client] .fyy-hero-actions a{color:#154e40;text-underline-offset:5px}
body[data-fyy-client] .fyy-hero-actions .fyy-main-link{display:flex;align-items:center;gap:22px;min-height:46px;padding:10px 18px;background:#154e40;color:white;text-decoration:none;border-radius:8px}
body[data-fyy-client] .wo-featured-sample{border-radius:12px;background:#e2eae1}
body[data-fyy-client] .wo-featured-sample img{height:244px;object-position:center 55%}
body[data-fyy-client] .wo-featured-sample figcaption{font-size:11px;color:#183e33;background:#f7f7f0f2;padding:6px 9px;bottom:10px;left:10px}
body[data-fyy-client] :is(button,input,select,textarea){font:inherit;border-radius:8px;min-height:44px;border:1px solid #b7cabc;background:#fff;color:#183e33;box-shadow:none}
body[data-fyy-client] button{font-size:14px;transition:background-color .18s cubic-bezier(.16,1,.3,1),border-color .18s cubic-bezier(.16,1,.3,1);transform:none}
body[data-fyy-client] button:hover:not(:disabled){background:#e2eae1;border-color:#6f927d;box-shadow:none}
body[data-fyy-client] button:active:not(:disabled){background:#d5e3d4;transform:none}
body[data-fyy-client] button:disabled{opacity:.65;cursor:not-allowed}
body[data-fyy-client] .cold-primary{background:#154e40;color:#fff;border-color:#154e40;box-shadow:none}
body[data-fyy-client] .cold-primary:hover:not(:disabled){background:#103e33;border-color:#103e33}
body[data-fyy-client] .cold-notice{background:#eeeddc;border:0;color:#566046;padding:12px 16px;gap:10px;flex-wrap:wrap;border-radius:8px}
body[data-fyy-client] .cold-notice strong{color:#354b36}
body[data-fyy-client] :is(#wo-message,#wp-message){font-size:13px;min-height:22px;margin:10px 0 18px;color:#52675c}
body[data-fyy-client] #wo-message[data-error],body[data-fyy-client] :is(#wo-submit-error,#wo-cancel-error,#wp-error,.formError){color:#a52e26}
body[data-fyy-client] .wo-how{padding:8px 0;margin:0;border-color:var(--wo-line)}
body[data-fyy-client] .wo-how summary{font-size:14px;min-height:40px;display:list-item;padding:6px 0;color:#154e40}
body[data-fyy-client] .wo-how p{font-size:14px;color:#52675c;line-height:1.85}
body[data-fyy-client] .wo-shopping-steps{gap:0;margin:22px 0 28px;border-bottom:1px solid var(--wo-line);flex-wrap:nowrap;counter-reset:shopping-step}
body[data-fyy-client] .wo-shopping-steps button{counter-increment:shopping-step;position:relative;flex:1;background:none;border:0;border-radius:0;text-align:left;color:#52675c;padding:12px 10px 15px;min-height:56px;font-size:14px}
body[data-fyy-client] .wo-shopping-steps button::before{content:counter(shopping-step);display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;background:#e2eae1;border-radius:50%;margin-right:10px;font-size:12px;color:#154e40}
body[data-fyy-client] .wo-shopping-steps [aria-current="step"]{color:#154e40;background:none;border-bottom:2px solid #154e40}
body[data-fyy-client] .wo-shopping-steps [aria-current="step"]::before{color:white;background:#154e40}
body[data-fyy-client] .wo-layout{grid-template-columns:minmax(0,1fr) 316px;gap:38px}
body[data-fyy-client] .wo-selection{padding:0 0 22px;margin-bottom:24px;border-color:var(--wo-line)}
body[data-fyy-client] .wo-section-head{gap:12px;flex-wrap:wrap}
body[data-fyy-client] .wo-section-head h2{font-size:24px;color:#154e40;font-weight:600;margin:0 auto 0 0}
body[data-fyy-client] #wo-reload{font-size:12px;min-height:40px;padding:6px 10px}
body[data-fyy-client] .wo-section-head label{font-size:12px;color:#52675c;width:auto;display:flex;align-items:center;gap:8px}
body[data-fyy-client] #wo-menu-title{scroll-margin-top:20px}
body[data-fyy-client] #wo-cutoff{font-size:13px;line-height:1.8;color:#52675c;margin:18px 0}
body[data-fyy-client] .wo-categories{gap:8px;margin-top:12px}
body[data-fyy-client] .wo-categories button{font-size:13px!important;min-height:42px;padding:8px 13px;background:none}
body[data-fyy-client] .wo-categories [aria-pressed="true"]{background:#154e40!important;border-color:#154e40!important}
body[data-fyy-client] .wo-products{gap:28px 24px}
body[data-fyy-client] .wo-product{background:none;box-shadow:none;border:0;border-radius:0;overflow:visible}
body[data-fyy-client] .wo-product:hover{box-shadow:none}
body[data-fyy-client] .wo-media{border-radius:12px;background:#e2eae1}
body[data-fyy-client] .wo-media .wo-art{background:#e2eae1;color:#52675c;height:100%;gap:8px}
body[data-fyy-client] .wo-art span{font-size:13px;max-width:200px}
body[data-fyy-client] .wo-media:not(:has(.wo-product-image)){height:170px}
body[data-fyy-client] .wo-product-copy{padding:18px 0 8px}
body[data-fyy-client] .wo-product .cold-badge{background:none;border:0;padding:0;font-size:12px;color:#52675c;white-space:normal}
body[data-fyy-client] .wo-product h3{font-size:21px;line-height:1.5;margin:8px 0;color:#154e40}
body[data-fyy-client] .wo-product-copy>p{font-size:14px;color:#52675c;line-height:1.8;margin-bottom:12px}
body[data-fyy-client] .wo-product details{font-size:13px;margin-bottom:18px;color:#52675c}
body[data-fyy-client] .wo-product summary{min-height:44px;padding:8px 0;color:#154e40}
body[data-fyy-client] .wo-price-row strong{font-size:23px;color:#154e40;font-weight:600}
body[data-fyy-client] .wo-price-row span{font-size:12px;color:#52675c}
body[data-fyy-client] .wo-cart{background:#e2eae1;border:0;border-radius:14px;padding:24px;box-shadow:none;backdrop-filter:none;top:20px}
body[data-fyy-client] .wo-cart h2{font-size:22px}
body[data-fyy-client] #wo-count{color:#154e40;background:#cfddcd;border-radius:6px;font-size:12px;padding:4px 8px}
body[data-fyy-client] .wo-cart .wo-empty{padding:18px 0;background:none;border:0}
body[data-fyy-client] .wo-cart .wo-empty h3{font-size:16px;color:#154e40}
body[data-fyy-client] .wo-empty{background:#fff;border:1px dashed #aec3af;border-radius:12px;color:#52675c;box-shadow:none}
body[data-fyy-client] :is(.wo-help,.cold-muted,.wo-small,.wp-summary){color:#52675c;font-size:13px;line-height:1.8}
body[data-fyy-client] :is(.wo-cart-item,.wo-subtotal,.wo-money-row){border-color:#bdcebd}
body[data-fyy-client] .wo-quantity{gap:10px;font-variant-numeric:tabular-nums}
body[data-fyy-client] .wo-quantity button{min-width:44px;min-height:44px;border-radius:7px;background:#f7f7f0}
body[data-fyy-client] :is(#wo-delivery-panel,#wo-checkout-panel){max-width:72ch}
body[data-fyy-client] :is(#wo-delivery-panel,#wo-checkout-panel)>h2{font-size:28px;color:#154e40;margin:0 0 14px}
body[data-fyy-client] :is(#wo-delivery-panel,#wo-checkout-panel)>p{font-size:14px;color:#52675c;line-height:1.85}
body[data-fyy-client] .wo-delivery-choice{gap:10px;padding:22px 0;border-color:var(--wo-line)}
body[data-fyy-client] .wo-delivery-choice select{width:100%}
body[data-fyy-client] #wo-delivery-next{margin-top:24px}
body[data-fyy-client] :is(#wo-quote-dialog,#wo-cancel-dialog,#wp-dialog){color:#183e33;background:#f7f7f0;border:0;border-radius:14px;padding:28px;width:calc(100% - 32px);max-width:620px;max-height:88dvh;overflow:auto;box-shadow:0 20px 70px #103e3340}
body[data-fyy-client] :is(#wo-quote-dialog,#wo-cancel-dialog,#wp-dialog)::backdrop{background:#103e3366}
body[data-fyy-client] .wo-order-card{background:none;border:0;border-bottom:1px solid var(--wo-line);padding:26px 0;border-radius:0;box-shadow:none}
body[data-fyy-client] .wo-detail-summary{background:#e2eae1;border:0;border-radius:12px}
body[data-fyy-client] .wo-delivery{background:none;border:0;border-top:1px solid var(--wo-line);border-radius:0}
body[data-fyy-client] .wp-create{background:#e2eae1;border:0;border-radius:14px;box-shadow:none}
body[data-fyy-client] .wp-plan{background:#fff;border:1px solid var(--wo-line);border-radius:12px;box-shadow:none}
body[data-fyy-client] .wo-sample-gallery{border-color:var(--wo-line);margin-top:64px;padding-top:32px}
body[data-fyy-client] .wo-sample-gallery>h2{font-family:"FYY Client Display","PingFang SC",sans-serif;color:#154e40;font-weight:600;font-size:30px;margin:0 0 14px}
body[data-fyy-client] .wo-sample-gallery>p{font-size:13px;color:#52675c;max-width:72ch;line-height:1.85}
body[data-fyy-client] .wo-sample-grid{gap:24px;margin-top:24px}
body[data-fyy-client] .wo-sample-grid article{background:none;box-shadow:none;border-radius:0}
body[data-fyy-client] .wo-sample-grid img{border-radius:12px}
body[data-fyy-client] .wo-sample-grid article>div{padding:16px 0}
body[data-fyy-client] .wo-sample-grid h3{font-size:19px;color:#154e40}
body[data-fyy-client] .wo-sample-grid :is(span,p){color:#52675c;font-size:12px}
body[data-fyy-client] .fyy-client-links{display:flex;gap:24px;flex-wrap:wrap;margin-top:48px;padding-top:24px;border-top:1px solid var(--wo-line);font-size:13px}
body[data-fyy-client] .fyy-client-links a{color:#154e40;text-underline-offset:5px;min-height:36px;display:flex;align-items:center}
body[data-fyy-client] .wo-shell footer{font-size:12px;color:#52675c;border:0;padding:0;margin:12px 0 0}
@media(max-width:1100px){body[data-fyy-client] .wo-layout{grid-template-columns:minmax(0,1fr) 280px;gap:26px}body[data-fyy-client] .wo-title{gap:26px}body[data-fyy-client] .wo-price-row{flex-wrap:wrap}body[data-fyy-client] .wo-price-row button{flex:1}body[data-fyy-client] .wo-categories button{padding-inline:10px}}
@media(max-width:900px){body[data-fyy-client] .wo-layout{grid-template-columns:1fr}body[data-fyy-client] .wo-cart{position:static}body[data-fyy-client] .wo-header{flex-wrap:wrap;gap:12px}body[data-fyy-client] .wo-header nav{margin-left:auto}body[data-fyy-client] .wo-products{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-fyy-client] .wo-title h1{font-size:34px}body[data-fyy-client] .fyy-hero-actions{gap:16px}body[data-fyy-client] .wo-featured-sample img{height:230px}}
@media(max-width:600px){body[data-fyy-client] .wo-shell{padding-inline:20px}body[data-fyy-client] .wo-header{padding-block:14px 8px;gap:8px;flex-direction:column;align-items:stretch;min-height:0}body[data-fyy-client] .wo-header img{width:150px;height:39px}body[data-fyy-client] .wo-header nav{display:flex;width:100%;margin:0;gap:2px;justify-content:space-between}body[data-fyy-client] .wo-header nav a{font-size:12px;padding:9px 7px;min-height:44px}body[data-fyy-client] .wo-main{padding-top:24px;padding-bottom:100px}body[data-fyy-client][data-order-mode="shop"] .wo-title{grid-template-columns:1fr;gap:20px;margin-bottom:18px}body[data-fyy-client] .wo-title{align-items:flex-start;gap:12px}body[data-fyy-client] .wo-title h1{font-size:clamp(29px,8vw,38px);line-height:1.32;letter-spacing:-.02em;margin-bottom:10px}body[data-fyy-client] .wo-title p{font-size:14px;line-height:1.75}body[data-fyy-client] .fyy-hero-actions{margin-top:17px;gap:20px;font-size:12px}body[data-fyy-client] .fyy-hero-actions .fyy-main-link{min-height:44px;padding:9px 14px;gap:14px}body[data-fyy-client] .wo-featured-sample img{height:170px}body[data-fyy-client] .wo-featured-sample figcaption{font-size:10px}body[data-fyy-client] .wo-shopping-steps{margin:16px 0 24px}body[data-fyy-client] .wo-shopping-steps button{font-size:12px;padding:10px 3px 12px;min-height:52px;white-space:nowrap}body[data-fyy-client] .wo-shopping-steps button::before{width:20px;height:20px;margin-right:5px;font-size:11px}body[data-fyy-client] .wo-section-head h2{font-size:23px}body[data-fyy-client] .wo-section-head label{width:100%;justify-content:space-between}body[data-fyy-client] .wo-products{grid-template-columns:1fr;gap:28px}body[data-fyy-client] .wo-price-row{flex-wrap:nowrap}body[data-fyy-client] .wo-price-row button{flex:none}body[data-fyy-client] .wo-categories{gap:6px;flex-wrap:nowrap}body[data-fyy-client] .wo-categories button{font-size:12px!important;padding-inline:8px;flex:1;white-space:nowrap}body[data-fyy-client] .wo-mobile-cart{background:#154e40;color:white!important;border-radius:10px;padding:15px 17px;box-shadow:0 6px 20px #103e332b;font-size:13px;gap:8px}body[data-fyy-client] .wo-mobile-cart strong{font-size:12px}body[data-fyy-client] .wo-sample-gallery{margin-top:48px;padding-top:26px}body[data-fyy-client] .wo-sample-gallery>h2{font-size:25px}body[data-fyy-client] .wo-sample-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;padding-bottom:12px}body[data-fyy-client] .wo-sample-grid article{flex:0 0 82%;scroll-snap-align:start}body[data-fyy-client] .wo-sample-grid h3{font-size:21px}body[data-fyy-client] .wo-sample-grid p{font-size:14px}body[data-fyy-client] .wo-sample-grid span{font-size:12px}body[data-fyy-client] .wo-sample-grid article>div{padding:14px 0}body[data-fyy-client] .fyy-client-links{gap:10px 24px;margin-top:32px}body[data-fyy-client] :is(#wo-delivery-panel,#wo-checkout-panel)>h2{font-size:25px}body[data-fyy-client] :is(#wo-quote-dialog,#wo-cancel-dialog,#wp-dialog){padding:22px}body[data-fyy-client] .cold-notice{font-size:13px;gap:4px 8px}}
@media(prefers-reduced-motion:reduce){body[data-fyy-client] *,body[data-fyy-client] *::before,body[data-fyy-client] *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
body[data-fyy-client] .wo-section-head label{white-space:nowrap}
body[data-fyy-client] a{color:#154e40;text-underline-offset:5px}
body[data-fyy-client] .fyy-hero-actions button.fyy-main-link:hover:not(:disabled){background:#103e33;border-color:#103e33}
@media(max-width:600px){body[data-fyy-client] :is(input,select,textarea){font-size:16px}}
/* Order payment controls inherit the existing customer typography and tokens. */
body[data-fyy-client="true"] .fyy-stripe-order{margin-top:24px;padding-top:20px;border-top:1px solid var(--wo-line,#cfdacf);font-size:16px;overflow-wrap:anywhere}
body[data-fyy-client="true"] .fyy-stripe-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
body[data-fyy-client="true"] .fyy-stripe-actions button{min-height:44px;max-width:100%;white-space:normal;text-align:center}
body[data-fyy-client="true"] .fyy-stripe-actions [hidden]{display:none}
body[data-fyy-client="true"] .fyy-stripe-order[aria-busy="true"] button{cursor:progress}
body[data-fyy-client="true"] .fyy-parent-company{display:flex;align-items:center;gap:12px;margin:12px 0;padding:12px;border:1px solid var(--wo-line,#cfdacf);border-radius:10px;background:#F7F7F0}
body[data-fyy-client="true"] .fyy-parent-company[hidden]{display:none}
body[data-fyy-client="true"] .fyy-parent-company img{flex:none;width:120px;height:auto}
body[data-fyy-client="true"] .fyy-parent-company p{margin:0;font-size:14px;line-height:1.5;color:#1F2A26}

/* Independent desktop panes keep the payment state in view while reviewing. */
body[data-fyy-client="true"] .wo-badge{font-weight:700}
body[data-fyy-client="true"] #wo-detail>.wo-badge{position:sticky;top:12px;z-index:3}
body[data-fyy-client="true"] .wo-detail-layout{grid-template-columns:minmax(0,1fr) minmax(320px,380px);align-items:start}
body[data-fyy-client="true"] .wo-detail-layout> :is(.wo-detail-items,.wo-detail-summary){min-width:0;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#52675c #e2eae1}
body[data-fyy-client="true"] .wo-detail-summary{position:sticky;top:24px}
body[data-fyy-client="true"] .fyy-payment-heading{position:sticky;top:-24px;background:#e2eae1;padding:14px 0 8px;z-index:1}
body[data-fyy-client="true"] .wo-payment-status{display:block;font-size:17px;font-weight:750;line-height:1.5;margin:0 0 16px;color:#633f12}
body[data-fyy-client="true"] :is(.fyy-payment-options,.fyy-fulfillment){border:0;border-top:1px solid var(--wo-line);margin:24px 0 0;padding:18px 0 0;min-width:0}
body[data-fyy-client="true"] :is(.fyy-payment-options,.fyy-fulfillment) legend{font-size:18px;font-weight:700;padding:0 8px 0 0}
body[data-fyy-client="true"] :is(.fyy-payment-options,.fyy-fulfillment) label{display:flex;align-items:center;gap:10px;min-height:48px;font-size:16px;cursor:pointer}
body[data-fyy-client="true"] :is(.fyy-payment-options,.fyy-fulfillment) input[type=radio]{width:20px;height:20px;margin:0;accent-color:#154e40;flex:none}
body[data-fyy-client="true"] .fyy-fulfillment label:has(input:disabled){color:#52675c;cursor:default}
body[data-fyy-client="true"] [data-payment-panel][hidden]{display:none}
body[data-fyy-client="true"] .fyy-zelle-order dl{margin:20px 0;overflow-wrap:anywhere}
body[data-fyy-client="true"] .fyy-zelle-order dt{font-size:13px;color:#52675c;margin-top:18px}
body[data-fyy-client="true"] .fyy-zelle-order dd{font-size:17px;font-weight:650;margin:4px 0;user-select:all}
body[data-fyy-client="true"] .fyy-zelle-order img{max-width:100%;object-fit:contain}
body[data-fyy-client="true"] .fyy-zelle-order .fyy-zelle-qr-image{display:block;width:100%;max-width:320px;height:auto;background:#fff}
body[data-fyy-client="true"] .fyy-parent-company{flex-wrap:wrap}
@media(max-width:700px){
 body[data-fyy-client="true"] .wo-detail-layout{grid-template-columns:minmax(0,1fr)}
 body[data-fyy-client="true"] .wo-detail-layout> :is(.wo-detail-items,.wo-detail-summary){max-height:none;overflow:visible}
 body[data-fyy-client="true"] .wo-detail-summary{position:static;grid-row:1}
 body[data-fyy-client="true"] .fyy-payment-heading{position:static}
}
