/* =========================================================================
   Embroidery China — multilingual landing pages + language switcher
   Standalone: these pages do NOT load the Next.js theme CSS.
   Palette mirrors ancient.css so both halves of the site feel like one shop.
   ========================================================================= */
:root{
  --paper:#f4efe4; --paper-light:#fbf7ee; --ink:#2f2a22;
  --red:#7a2e26; --red-soft:#a4443a; --line:#d8c9ac; --gold:#b08d4f;
  --serif:"Cormorant Garamond","EB Garamond",Garamond,"Baskerville","Palatino Linotype","Book Antiqua",Georgia,"Times New Roman","Noto Serif SC","Noto Serif JP","Yu Mincho","Noto Naskh Arabic",serif;
  --width:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--serif);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
[dir="rtl"] body{font-size:18px}
a{color:var(--red);text-decoration:none}
a:hover{color:var(--red-soft);text-decoration:underline}
img{max-width:100%;display:block}
.wrap{max-width:var(--width);margin:0 auto;padding:0 clamp(16px,4vw,40px)}

/* ---------- header ---------- */
.su-head{background:var(--paper-light);border-bottom:1px solid var(--line)}
.su-head .wrap{display:flex;align-items:center;gap:18px;min-height:104px;flex-wrap:wrap}
.su-brand{display:flex;align-items:center;gap:14px;color:var(--ink);flex:0 0 auto}
.su-brand:hover{text-decoration:none;color:var(--ink)}
.su-brand img{width:76px;height:76px;object-fit:contain}
.su-brand span{display:block;font-size:27px;letter-spacing:.055em;line-height:1.05}
.su-brand small{display:block;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#7d715e;margin-top:5px}
.su-nav{margin-inline-start:auto;display:flex;gap:clamp(14px,2.2vw,32px);flex-wrap:wrap;align-items:center}
.su-nav a{font-size:15px;letter-spacing:.05em;color:var(--ink);white-space:nowrap}
.su-nav a:hover{color:var(--red)}
.su-nav .su-nav-cta{border:1px solid var(--red);padding:8px 16px}
[dir="rtl"] .su-nav{margin-inline-start:0;margin-inline-end:auto}

/* ---------- hero ---------- */
.su-hero{margin:0 auto;max-width:1280px;padding:26px clamp(12px,3vw,32px) 6px}
.su-banner{position:relative;border:1px solid var(--line);overflow:hidden}
.su-banner img{width:100%;height:auto;max-height:340px;object-fit:cover;border:0}
/* Localised copy is real HTML, not pixels: the browser handles CJK, Arabic
   shaping and RTL. The shared banner image carries NO words at all. */
.su-banner-txt{position:absolute;left:4.8%;top:22%;width:25%;display:flex;flex-direction:column;gap:12px;pointer-events:none}
.su-banner-txt span{font-size:clamp(9px,1vw,14px);letter-spacing:.18em;color:var(--gold);text-transform:uppercase}
.su-banner-txt strong{font-weight:500;font-size:clamp(15px,2.05vw,30px);line-height:1.25;color:var(--ink)}
[dir="rtl"] .su-banner-txt{direction:rtl;text-align:right}
.su-hero-copy{max-width:var(--width);margin:0 auto;padding:34px clamp(16px,4vw,40px) 12px;text-align:center}
.su-hero-copy h1{font-size:clamp(30px,4.2vw,50px);font-weight:500;margin:0 0 14px;letter-spacing:.01em}
.su-hero-copy p{max-width:760px;margin:0 auto;color:#5c5344;font-size:18px}
.su-btn{display:inline-block;margin-top:26px;background:var(--red);color:#f7f1e4 !important;border:1px solid var(--red);padding:12px 30px;letter-spacing:.1em;font-size:15px}
.su-btn:hover{background:#61231d;text-decoration:none}

/* ---------- sections ---------- */
.su-sec{max-width:var(--width);margin:0 auto;padding:52px clamp(16px,4vw,40px)}
.su-sec-head{text-align:center;margin-bottom:34px}
.su-sec-head h2{font-size:clamp(26px,3vw,36px);font-weight:500;margin:0}
.su-sec-head:after{content:"";display:block;width:54px;height:1px;background:var(--gold);margin:16px auto 0}
.su-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.su-card{background:var(--paper-light);border:1px solid var(--line);display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}
.su-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(47,42,34,.11);text-decoration:none}
.su-card img{width:100%;height:180px;object-fit:cover;border-bottom:1px solid var(--line)}
.su-card b{display:block;padding:14px 14px 4px;font-weight:600;font-size:18px;color:var(--ink);text-align:center}
.su-card em{display:block;padding:0 14px 16px;font-style:normal;font-size:13px;color:#8a7c65;text-align:center;letter-spacing:.06em}
.su-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.su-lp{padding:30px 26px 28px}
.su-lp h3{font-size:23px;font-weight:500;margin:0 0 12px;line-height:1.3}
.su-lp p{color:#5c5344;font-size:16px;margin:0 0 18px}

/* ---------- article / landing ---------- */
.su-article{max-width:820px;margin:0 auto;padding:52px clamp(16px,4vw,40px) 20px}
.su-article h1{font-size:clamp(30px,4vw,44px);font-weight:500;line-height:1.2;margin:0 0 20px}
.su-article .su-lead{font-size:20px;color:#4e463a;line-height:1.75}
.su-article ul{margin:26px 0;padding:0;list-style:none}
.su-article li{position:relative;padding:10px 0 10px 30px;border-bottom:1px solid var(--line)}
.su-article li:before{content:"✦";position:absolute;left:2px;color:var(--gold)}
[dir="rtl"] .su-article li{padding:10px 30px 10px 0}
[dir="rtl"] .su-article li:before{left:auto;right:2px}
.su-crumb{font-size:14px;color:#8a7c65;margin-bottom:20px}
.su-crumb a{color:#8a7c65}

/* ---------- enquiry strip ---------- */
.su-cta{background:var(--paper-light);border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;padding:46px clamp(16px,4vw,40px)}
.su-cta h2{font-size:29px;font-weight:500;margin:0 0 10px}
.su-cta p{color:#5c5344;margin:0 auto;max-width:640px}
.su-cta .su-btn{margin-top:20px}

/* ---------- footer: crawlable language links ---------- */
.su-foot{max-width:var(--width);margin:0 auto;padding:40px clamp(16px,4vw,40px) 96px}
.su-foot p{color:#6f6452;font-size:15px;margin:0 0 8px}
.su-langs{display:flex;flex-wrap:wrap;gap:10px 22px;margin:22px 0 12px;padding-top:20px;border-top:1px solid var(--line)}
.su-langs a{font-size:14px;letter-spacing:.04em}
.su-langs a[aria-current="true"]{color:var(--ink);font-weight:700;border-bottom:2px solid var(--red)}

/* ---------- persistent row of eight round flag buttons ---------- */
.su-flags-bar{max-width:var(--width);margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;gap:14px 22px;padding:20px clamp(16px,4vw,40px);border-bottom:1px solid var(--line)}
.su-flags-bar .su-flag{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:64px;text-decoration:none;color:var(--ink)}
.su-flags-bar .su-flag img{width:48px;height:48px;border-radius:50%;box-shadow:0 0 0 2px rgba(201,164,92,.45);transition:transform .18s ease,box-shadow .18s ease}
.su-flags-bar .su-flag:hover img{transform:scale(1.1);box-shadow:0 0 0 2px var(--red)}
.su-flags-bar .su-flag[aria-current="true"] img{box-shadow:0 0 0 2px var(--red),0 4px 12px rgba(156,43,37,.22)}
.su-flags-bar .su-flag span{font-size:11px;letter-spacing:.03em;white-space:nowrap}
.su-flags-bar .su-flag[aria-current="true"] span{color:var(--red);font-weight:700}

/* ---------- unique hand-written category copy ---------- */
.su-category .su-subhead{margin:26px 0 10px;font-size:20px;font-weight:600}
.su-category .su-copy{max-width:760px;font-size:16px;line-height:1.85;color:#4a4234;margin:0 0 22px}
.su-category .su-subhead-sm{margin:24px 0 10px;font-size:15px;letter-spacing:.04em;color:var(--red)}

/* The floating switcher lives in switcher.css (shared with the Next.js
   storefront). It is linked separately from page_template.html. */

/* ---------- geo SUGGESTION bar: client-side only, never in indexed body ---------- */
.su-suggest{display:none;position:fixed;top:0;left:0;right:0;z-index:9998;background:var(--paper-light);border-bottom:1px solid var(--line);box-shadow:0 2px 10px rgba(47,42,34,.09);padding:10px clamp(14px,4vw,36px);font-size:14px;text-align:center}
.su-suggest.show{display:block}
.su-suggest a{font-weight:700;margin-inline-start:12px}
.su-suggest button{background:none;border:0;color:#8a7c65;font-family:var(--serif);font-size:14px;cursor:pointer;margin-inline-start:14px;text-decoration:underline}

@media(max-width:960px){.su-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.su-grid-3{grid-template-columns:1fr 1fr}}
@media(max-width:640px){
  .su-head .wrap{min-height:auto;padding-top:14px;padding-bottom:14px}
  .su-brand img{width:58px;height:58px}.su-brand span{font-size:21px}
  .su-nav{width:100%;margin:6px 0 0;gap:12px}
  .su-grid,.su-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .su-card img{height:130px}
  .su-hero img{max-height:230px}
  .su-banner-txt{display:none}
}
