/*
Theme Name: Ruiye Textile
Version: 0.3.0
Description: Ruiye Textile sourcing catalog. Products and inquiries belong to TTCH B2B Catalog Core.
Requires PHP: 7.4
Text Domain: ruiye-textile
*/
:root{--paper:#f5f1e7;--ink:#20362e;--muted:#65716a;--line:#d4d5c9;--accent:#853e31;--white:#fffdf8;--ttch-ink:var(--ink);--ttch-paper:var(--paper);--ttch-accent:var(--accent);--ttch-accent-dark:#60281e;--ttch-line:var(--line)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.65 'Segoe UI',sans-serif}a{color:inherit;text-underline-offset:5px}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2,h3,p{margin:0 0 20px}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.08;letter-spacing:-.035em}h1{font-size:clamp(42px,5.5vw,76px)}h2{font-size:clamp(32px,3.3vw,48px)}h3{font-size:21px;line-height:1.35;font-weight:500}p{max-width:67ch}.shell{width:min(1300px,calc(100% - 96px));margin:auto}.skip-link{position:absolute;left:12px;top:-80px;z-index:100;background:white;padding:12px}.skip-link:focus{top:12px}.top-note{background:var(--ink);color:#f3efdf;text-align:center;font-size:12px;letter-spacing:.13em;text-transform:uppercase;padding:8px 16px}.header{border-bottom:1px solid var(--line);background:var(--paper)}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:94px;gap:24px}.wordmark{text-decoration:none;line-height:1;display:flex;flex-direction:column;gap:8px}.wordmark strong{font:38px/.9 Georgia,serif;letter-spacing:.02em}.wordmark span{font-size:10px;letter-spacing:.34em}.desktop-nav{display:flex;align-items:center;gap:30px}.desktop-nav a{text-decoration:none;font-size:14px}.desktop-nav a:hover{color:var(--accent)}.nav-request{border-bottom:1px solid var(--accent);padding:8px 0}.mobile-nav{display:none}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:600;color:var(--muted);margin-bottom:22px}.hero{display:grid;grid-template-columns:1.03fr 1fr;min-height:560px;gap:48px;padding:54px 0 48px;align-items:center}.hero-copy{padding:20px 0}.hero h1{max-width:8.5em}.hero p{font-size:18px;max-width:31em;color:var(--muted)}.hero-media{height:455px;position:relative;background:#d9d1c0;overflow:hidden}.hero-media img{width:100%;height:100%;object-fit:cover}.hero-caption{position:absolute;bottom:0;left:0;right:0;background:rgba(32,54,46,.94);color:white;padding:15px 20px;display:flex;justify-content:space-between;font-size:12px;gap:16px}.button{display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;text-decoration:none;background:var(--ink);color:var(--white);border:1px solid var(--ink);gap:26px;min-height:50px}.button:hover{background:var(--accent);border-color:var(--accent)}.button.secondary{color:var(--ink);background:transparent}.text-link{font-size:14px}.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:30px}.facts-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;gap:30px}.facts-strip p{margin:0;color:var(--muted);font-size:13px}.facts-strip strong{display:block;font-size:15px;font-weight:500;margin-bottom:4px}.section{padding:80px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:36px}.section-head h2{margin:0}.section-head p{max-width:380px;margin:0;color:var(--muted)}.collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.collection{display:block;text-decoration:none}.collection-image{height:330px;background:#e4dfd2;overflow:hidden}.collection-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.collection:hover img{transform:scale(1.025)}.collection-title{display:flex;justify-content:space-between;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.collection-title h3{font:32px Georgia,serif;margin:0}.collection-title span{font-size:13px;color:var(--muted)}.selection{background:#e9e6db}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:48px}.step-number{font:42px Georgia,serif;color:#8d9a8b;display:block;margin-bottom:24px}.steps p{font-size:15px;color:var(--muted)}.site-footer{background:var(--ink);color:#ebeade;padding:48px 0 24px}.footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:48px}.footer-top p{font-size:14px;color:#ccd2c6}.footer-top .wordmark{margin-bottom:22px}.footer-links{display:flex;flex-direction:column;gap:9px;font-size:14px}.footer-bottom{margin-top:40px;padding-top:20px;border-top:1px solid #526052;font-size:12px;display:flex;justify-content:space-between;gap:24px}.page-intro{padding:56px 0 24px}.page-intro h1{font-size:clamp(38px,4.7vw,64px)}.page-intro p{color:var(--muted)}.catalog-controls{display:flex;align-items:end;gap:20px;flex-wrap:wrap;padding:0 0 30px;border-bottom:1px solid var(--line);margin-bottom:32px}.catalog-controls label{display:flex;flex-direction:column;font-size:12px;gap:7px;flex:1;min-width:180px}.catalog-controls input,.catalog-controls select{padding:12px;border:1px solid #a5afa1;background:var(--white);color:var(--ink);width:100%}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 26px}.product-card a{text-decoration:none;display:block}.product-card figure{margin:0 0 18px;background:#e6e2d8;height:280px;overflow:hidden}.product-card img{width:100%;height:100%;object-fit:contain}.product-card .eyebrow{font-size:10px;margin-bottom:8px}.product-card h2{font:23px/1.3 'Segoe UI',sans-serif;letter-spacing:0;margin-bottom:10px}.product-card p{font-size:13px;color:var(--muted);margin:0}.card-link{display:block;margin-top:14px;font-size:13px}.pagination{display:flex;justify-content:center;gap:10px;margin:48px 0;flex-wrap:wrap}.page-numbers{padding:7px 14px;border:1px solid var(--line);text-decoration:none}.page-numbers.current{background:var(--ink);color:white}.product-top{padding:38px 0 24px;display:flex;justify-content:space-between;gap:30px;align-items:center}.product-top p{margin:0;font-size:12px}.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding-bottom:64px;align-items:start}.product-layout .ttch-product-gallery{margin:0;background:#e7e2d8;position:sticky;top:20px}.product-layout .ttch-gallery-main{display:block}.product-layout .ttch-gallery-main img{width:100%;height:540px;object-fit:contain}.product-copy h1{font:clamp(32px,3vw,46px)/1.2 'Segoe UI',sans-serif;letter-spacing:-.025em}.product-copy .intro{color:var(--muted)}.spec-table{width:100%;border-collapse:collapse;margin:30px 0}.spec-table th,.spec-table td{text-align:left;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}.spec-table th{width:40%;font-weight:500;padding-right:18px}.buyer-note{font-size:13px;color:var(--muted)}.rfq-section{background:#e9e6db;padding:64px 0}.rfq-inner{display:grid;grid-template-columns:1fr 1.4fr;gap:70px}.rfq-inner>div>p{color:var(--muted)}.ttch-shell.ttch-rfq{margin:0;max-width:none;padding:0;border:0;box-shadow:none;background:transparent}.ttch-rfq h2{font:30px Georgia,serif;letter-spacing:-.02em}.ttch-rfq .ttch-field input,.ttch-rfq .ttch-field textarea{background:var(--white);border:1px solid #a5afa1;border-radius:0;color:var(--ink)}.ttch-rfq .ttch-button{background:var(--ink);border-radius:0;min-height:48px}.ttch-rfq .ttch-kicker{display:none}.page-body{max-width:850px;padding:12px 0 72px;min-height:35vh}.page-body h2{margin-top:36px;font-size:32px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}.empty-state{padding:56px 0}.muted{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.hero{gap:72px}.hero-media{height:480px}}@media(max-width:1000px){.shell{width:calc(100% - 48px)}.desktop-nav{gap:18px}.hero{gap:30px}.hero-media{height:390px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rfq-inner{gap:32px}.product-layout{gap:28px}.product-layout .ttch-gallery-main img{height:440px}}@media(max-width:680px){.shell{width:calc(100% - 40px)}.top-note{font-size:10px}.header-inner{min-height:76px}.wordmark strong{font-size:32px}.desktop-nav{display:none}.mobile-nav{display:block;position:relative}.mobile-nav summary{cursor:pointer;list-style:none;padding:12px 0 12px 18px;font-size:14px}.mobile-nav nav{position:absolute;right:-4px;top:52px;width:230px;padding:20px;background:var(--white);border:1px solid var(--line);z-index:20;display:flex;flex-direction:column;gap:18px}.hero{grid-template-columns:1fr;gap:24px;padding:32px 0;min-height:0}.hero-copy{padding:0}.hero .eyebrow{margin-bottom:14px}.hero h1{font-size:48px;max-width:8em;margin-bottom:16px}.hero p{font-size:15px;margin:0}.hero-actions{margin-top:22px;gap:18px}.button{padding:12px 18px;font-size:14px}.hero-media{height:250px}.hero-caption{padding:10px 14px;font-size:10px}.facts-strip{grid-template-columns:1fr;gap:15px;padding:24px 0}.facts-strip>div{display:grid;grid-template-columns:1fr 1.15fr;gap:14px}.facts-strip strong{font-size:13px}.facts-strip p{font-size:12px}.section{padding:48px 0}.section-head{display:block;margin-bottom:24px}.section-head p{margin-top:20px;font-size:15px}.section-head .eyebrow{margin-bottom:12px}.collection-grid{grid-template-columns:1fr;gap:32px}.collection-image{height:265px}.collection-title{padding:16px 0}.collection-title h3{font-size:28px}.steps{grid-template-columns:1fr;gap:20px}.step-number{font-size:30px;margin-bottom:10px}.steps h3{margin-bottom:8px}.steps p{margin-bottom:10px}.footer-top{grid-template-columns:1fr;gap:30px}.footer-bottom{flex-direction:column;gap:8px}.catalog-grid{gap:28px 16px}.product-card figure{height:175px;margin-bottom:12px}.product-card h2{font-size:17px;overflow-wrap:anywhere}.product-card p{font-size:12px}.catalog-controls{gap:12px}.catalog-controls label{min-width:140px}.catalog-controls .button{width:100%}.page-intro{padding:36px 0 16px}.page-intro h1{font-size:42px}.product-top{align-items:start}.product-layout{grid-template-columns:1fr;gap:28px;padding-bottom:40px}.product-layout .ttch-product-gallery{position:static}.product-layout .ttch-gallery-main img{height:330px}.product-copy h1{font-size:32px}.rfq-inner{grid-template-columns:1fr;gap:24px}.rfq-section{padding:40px 0}.ttch-two{grid-template-columns:1fr!important}.contact-grid{grid-template-columns:1fr;gap:24px}.page-body{padding-bottom:48px}.hero-actions .text-link{font-size:13px}}
.hero h1{max-width:10em}.hero-copy>p{max-width:30em}.featured-section{padding-top:0}.fabric-image-placeholder{width:100%;height:100%;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:30px;background:repeating-linear-gradient(90deg,#e2e2d6,#e2e2d6 3px,#d2d6c8 3px,#d2d6c8 5px);text-align:center}.fabric-image-placeholder span{font-size:11px;letter-spacing:.2em}.fabric-image-placeholder p{font-size:14px;margin:0}.hero-caption span:last-child{max-width:60%;text-align:right}.product-description p{margin-bottom:20px}.product-copy{min-width:0}.spec-table td{overflow-wrap:anywhere}.product-copy h1{overflow-wrap:anywhere}.ttch-product-gallery img{background:transparent}
@media(min-width:681px){.hero-copy{min-height:455px;display:flex;flex-direction:column;justify-content:center}.hero-actions{margin-top:10px}}@media(min-width:681px) and (max-width:1000px){.hero-copy{min-height:390px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
