@font-face{
  font-family:"Fraunces";
  src:url("../fonts/Fraunces.ttf") format("truetype");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Sen";
  src:url("../fonts/Sen.ttf") format("truetype");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
:root{
  --bg:#f4efe8;
  --bg-2:#efe8de;
  --ink:#1b1714;
  --muted:#6a6259;
  --line:#e0d6ca;
  --card:#fffdf9;
  --accent:#8a4a30;
  --accent-2:#2f4a44;
  --shadow:0 10px 30px rgba(27,23,20,.08);
  --radius:18px;
  --max:1200px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;max-width:100%;overflow-x:clip}
html{scroll-behavior:smooth}
body{
  font-family:"Sen",system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.55;
  font-size:16px;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration-skip-ink:auto}
.wrap{width:min(var(--max),calc(100% - 32px));margin:0 auto}
header.site{
  position:sticky;top:0;z-index:20;
  background:rgba(244,239,232,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  min-height:64px;gap:12px;
}
.logo{
  font-family:"Fraunces",serif;font-weight:560;font-size:1.2rem;
  letter-spacing:.01em;text-decoration:none;
}
.nav-links{display:none;gap:18px;align-items:center}
.nav-links a{text-decoration:none;font-size:.92rem;color:var(--muted)}
.nav-links a:hover,.nav-links a.active{color:var(--ink)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--ink);color:#f7f1ea;text-decoration:none;
  padding:.7rem 1rem;border-radius:999px;font-size:.9rem;
  border:0;cursor:pointer;
}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--ink)}
.btn.wide{width:100%}
.menu-btn{
  width:42px;height:42px;border:1px solid var(--line);background:var(--card);
  border-radius:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;
}
.menu-btn span{display:block;width:18px;height:1.5px;background:var(--ink)}
.mobile-panel{
  display:none;border-top:1px solid var(--line);background:var(--bg);
  padding:8px 16px 16px;
}
.mobile-panel.open{display:block}
.mobile-panel a{display:block;padding:12px 0;text-decoration:none;border-bottom:1px solid var(--line)}
.hero{padding:2.2rem 0 1.5rem}
.hero h1{
  font-family:"Fraunces",serif;font-weight:500;
  font-size:clamp(2rem,3.2vw + .85rem,3.15rem);line-height:1.15;
  letter-spacing:-.03em;margin:0 0 1rem;
  max-width:100%;overflow-wrap:break-word;word-break:break-word;
}
.hero p{color:var(--muted);max-width:36rem;margin:0 0 1.4rem;font-size:1.05rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.hero-grid{display:grid;gap:10px;margin-top:1.6rem;min-width:0}
.hero-grid img{width:100%;height:220px;object-fit:cover;border-radius:var(--radius)}
section{padding:1.5rem 0}
h2{font-family:"Fraunces",serif;font-weight:520;font-size:clamp(1.6rem,4vw,2.4rem);margin:0 0 .6rem}
.lead{color:var(--muted);max-width:40rem;margin:0 0 1.2rem}
.cards{display:grid;grid-template-columns:1fr;gap:14px}
.card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;
  box-shadow:var(--shadow);
}
.card img{width:100%;height:220px;object-fit:cover;background:#ece5db}
.card.fit-contain img{object-fit:contain;background:#f4f0ea;height:280px}
.card .body{padding:14px 16px 16px;text-decoration:none}
.card h3{display:block;margin:0 0 4px;font-size:1.05rem;font-family:"Fraunces",serif;font-weight:550;text-decoration:none;color:var(--ink);overflow-wrap:break-word}
.card .kicker,
.card .sku-tag{
  display:block;width:fit-content;
  font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--accent);text-decoration:none;
  border:1px solid rgba(138,74,48,.22);border-radius:999px;
  background:rgba(138,74,48,.08);padding:2px 8px;margin:0 0 8px;
}
.meta{color:var(--muted);font-size:.86rem}
.kicker{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.7rem;color:var(--accent);margin:0 0 8px}
.filters{display:flex;flex-direction:column;gap:10px;margin:0 0 1.2rem}
.filters label{font-size:.8rem;color:var(--muted);display:block;margin-bottom:4px}
.filters select{
  width:100%;border:1px solid var(--line);background:var(--card);
  border-radius:12px;padding:10px 12px;font:inherit;color:var(--ink);
}
.count{color:var(--muted);font-size:.9rem;margin:0 0 1rem}
.product-hero{padding:1.2rem 0 2rem}
.product-layout{display:grid;gap:1.2rem}
.product-layout img{
  width:100%;border-radius:var(--radius);background:#ece5db;max-height:520px;object-fit:contain;
  background:
    linear-gradient(45deg,#eee8df 25%,transparent 25%),
    linear-gradient(-45deg,#eee8df 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,#eee8df 75%),
    linear-gradient(-45deg,transparent 75%,#eee8df 75%);
  background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;
  background-color:#f7f2eb;
}
.specs{list-style:none;padding:0;margin:1rem 0;border-top:1px solid var(--line)}
.specs li{display:flex;justify-content:space-between;gap:12px;padding:.7rem 0;border-bottom:1px solid var(--line)}
.specs span{color:var(--muted)}
form.inquire{display:grid;gap:10px;max-width:560px}
form.inquire input,form.inquire select,form.inquire textarea{
  width:100%;border:1px solid var(--line);background:var(--card);
  border-radius:12px;padding:12px;font:inherit;
}
form.inquire textarea{min-height:120px;resize:vertical}
.note{color:var(--muted);font-size:.88rem}
.success{display:none;background:#e8efe8;border:1px solid #c9d8c9;padding:12px 14px;border-radius:12px}
footer{
  border-top:1px solid var(--line);padding:2rem 0;margin-top:2rem;color:var(--muted);font-size:.88rem;
}
.foot-grid{display:grid;gap:16px}
.muted{color:var(--muted)}
.empty{padding:2rem 0;color:var(--muted)}
@media (min-width:720px){
  .nav-links{display:flex}
  .menu-btn{display:none}
  .hero-grid{grid-template-columns:2fr 1fr}
  .hero-grid img{height:100%;object-fit:cover}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .filters{flex-direction:row;align-items:end}
  .filters > div{flex:1}
  .product-layout{grid-template-columns:1.15fr .85fr;align-items:start;gap:2rem}
  .foot-grid{grid-template-columns:2fr 1fr 1fr}
}
@media (min-width:1024px){
  .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero{padding:2.4rem 0 2rem}
}
@media (min-width:1280px){
  .cards{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* --- polish 2026-11-16 --- */
.logo{display:flex;flex-direction:column;gap:2px;line-height:1.05}
.logo .brand-en{font-family:"Fraunces",serif;font-weight:560;font-size:1.15rem}
.logo .brand-zh{font-family:"Sen",system-ui,sans-serif;font-weight:500;font-size:.68rem;letter-spacing:.14em;color:var(--muted)}
.tagline{color:var(--muted);font-size:.88rem;margin:.2rem 0 .8rem}
.menu-btn{width:44px;height:44px;flex:0 0 44px}
.menu-btn span{width:18px;height:2px}
.mobile-panel a{display:flex;align-items:center;min-height:44px;padding:12px 0;font-size:1rem}
.nav-links a{display:inline-flex;align-items:center;min-height:44px}
.btn{min-height:44px;padding:.75rem 1.15rem;font-size:1rem}
.hero-actions .btn{min-width:9.5rem}
.filters{position:sticky;top:64px;z-index:15;background:var(--bg);padding:10px 0 4px;margin:0 0 1rem}
.filters select{min-height:44px;font-size:16px;padding:10px 12px}
.filters label{margin-bottom:6px}
form.inquire input,form.inquire select,form.inquire textarea{
  min-height:44px;font-size:16px;padding:12px 14px;
}
form.inquire textarea{min-height:132px}
form.inquire label{font-size:.9rem;color:var(--muted)}
.product-hero{padding:1rem 0 2.2rem}
.product-hero h2{font-size:clamp(1.45rem,5.4vw,2.25rem);line-height:1.15;margin:.2rem 0 .4rem}
.product-hero .meta{margin:0 0 .8rem}
.product-hero .btn{margin-top:.4rem}
.back-link{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);text-decoration:none;font-size:.92rem;margin:0 0 .4rem}
.back-link:hover{color:var(--ink)}
.placeholder-note{color:var(--muted);font-size:.86rem}
footer .brand-block strong{display:block;font-family:"Fraunces",serif;font-size:1.05rem}
footer .brand-zh{display:block;margin-top:2px;letter-spacing:.12em;font-size:.78rem}
.count{min-height:1.3em}
.cards a.card{min-height:44px}
@media (max-width:719px){
  .wrap{width:min(var(--max),calc(100% - 24px))}
  .product-layout .btn, form.inquire .btn{width:100%}
  .hero-grid img{height:200px}
  .card img{height:200px}
  .specs li{align-items:flex-start;gap:16px}
  .specs li strong{text-align:right;max-width:60%}
}
@media (min-width:720px) and (max-width:1023px){
  .nav-links{gap:12px}
  .nav-links a{font-size:.85rem}
  .cards{grid-template-columns:repeat(2,1fr)}
}

/* --- bilingual + launch 2026-11-16 --- */
.nav{align-items:center;gap:12px}
.nav-tools{display:flex;align-items:center;gap:8px;margin-left:auto}
.lang-switch{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:var(--card);flex:0 0 auto}
.lang-switch button{
  min-height:44px;min-width:44px;padding:0 12px;border:0;background:transparent;
  font:inherit;font-size:.85rem;letter-spacing:.04em;cursor:pointer;color:var(--muted);
}
.lang-switch button[aria-pressed="true"]{background:var(--ink);color:var(--card)}
.nav-links{flex-wrap:wrap;row-gap:0}
header.site{position:sticky;top:0;z-index:20;background:rgba(244,239,232,.94);backdrop-filter:saturate(1.1) blur(8px);border-bottom:1px solid var(--line)}
.nav-links a.btn,.nav-links a.btn:hover,.nav-links a.btn.active{margin-left:4px;color:#fff}
@media (max-width:719px){
  .lang-switch button{min-width:44px;padding:0 10px}
  .nav-tools{margin-left:auto}
}
@media (min-width:720px) and (max-width:1199px){
  .nav-links{gap:6px 10px}
  .nav-links a{font-size:.78rem;min-height:40px}
}
@media (min-width:1200px){
  .nav-links{gap:14px}
}
.not-found{padding:4rem 0 5rem;text-align:left}

.complementary{border-top:1px solid var(--line,#e6e0d6);margin-top:.5rem}

/* --- dedicated 390px mobile design pass 2026-11-16 --- */
html{text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{-webkit-tap-highlight-color:rgba(27,23,20,.08)}
.btn.ghost,.btn.btn-ghost,.btn-ghost{
  background:transparent;color:var(--ink);border:1px solid var(--ink);
}

/* Linked hero shots */
.hero-shot{
  position:relative;display:block;overflow:hidden;
  border-radius:var(--radius);background:#ece5db;
  text-decoration:none;color:#fff;min-height:0;
}
.hero-shot img{
  width:100%;height:100%;object-fit:cover;
  position:absolute;inset:0;
}
.hero-shot-label{
  position:absolute;left:0;right:0;bottom:0;z-index:1;
  padding:2.4rem 14px 12px;
  background:linear-gradient(180deg,transparent,rgba(27,23,20,.66));
  font-size:.84rem;line-height:1.3;
  pointer-events:none;
}
.hero-shot-label .kicker,
.hero-shot-label .sku-tag{
  display:block;width:fit-content;
  color:#f0c9b6;margin:0 0 6px;letter-spacing:.14em;
  font-size:.68rem;text-transform:uppercase;text-decoration:none;
  border:1px solid rgba(240,201,182,.45);border-radius:999px;
  padding:2px 8px;background:rgba(27,23,20,.28);
}
.hero-shot-label .hero-shot-title,
.hero-shot-label span+span{
  display:block;max-width:100%;text-decoration:none;color:#fff;
}

/* Category entry cards */
.categories{padding:1.2rem 0 1.4rem}
.cat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cat-card{
  display:flex;flex-direction:column;text-decoration:none;color:inherit;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);min-height:44px;
}
.cat-card .card-media{aspect-ratio:1/1}
.cat-card-feature{grid-column:1/-1}
.cat-card-feature .card-media{aspect-ratio:16/9}
.cat-card-label{
  padding:10px 12px 12px;font-family:"Fraunces",serif;font-weight:540;
  font-size:1rem;letter-spacing:-.01em;
}
.cat-card-feature .cat-card-label{font-size:1.18rem;padding:12px 14px 14px}

/* Consistent media boxes */
.card-media{
  position:relative;aspect-ratio:1/1;overflow:hidden;background:#ece5db;
}
.card-media img,
.cat-card .card-media img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.card.fit-contain .card-media{background:#f4f0ea}
.card.fit-contain .card-media img{object-fit:contain}

/* Filter toolbar + bottom sheet */
.filter-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0 0 12px;
}
.filter-toolbar .count{margin:0;flex:1}
.filter-open{
  flex:0 0 auto;border:1px solid var(--ink);background:var(--card);color:var(--ink);
  border-radius:999px;padding:8px 14px;min-height:40px;font:inherit;font-size:.9rem;
  cursor:pointer;letter-spacing:.02em;
}
.filter-sheet{display:none}
.filter-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.filter-panel-head h3{margin:0;font-family:"Fraunces",serif;font-weight:540;font-size:1.2rem}
.filter-x{
  border:0;background:transparent;color:var(--muted);font:inherit;font-size:.92rem;
  min-height:44px;min-width:44px;cursor:pointer;
}
.filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.count-sheet{margin:4px 0 12px}

/* Product gallery + inquire bar (desktop defaults; mobile overrides below) */
.product-page{padding:1.2rem 0 2rem}
.product-gallery{min-width:0}
.gallery-track{
  display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
  border-radius:var(--radius);
}
.gallery-track::-webkit-scrollbar{display:none}
.gallery-slide{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always}
.gallery-slide img{
  width:100%;max-height:640px;object-fit:contain;border-radius:var(--radius);
  background:
    linear-gradient(45deg,#eee8df 25%,transparent 25%),
    linear-gradient(-45deg,#eee8df 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,#eee8df 75%),
    linear-gradient(-45deg,transparent 75%,#eee8df 75%);
  background-size:20px 20px;
  background-position:0 0,0 10px,10px -10px,-10px 0;
  background-color:#f7f2eb;
}
.product-info h2{font-size:clamp(1.45rem,5.4vw,2.25rem);line-height:1.15;margin:.15rem 0 .35rem}
.product-info .meta{margin:0 0 .75rem;letter-spacing:.04em}
.product-blurb{margin:0 0 .2rem}
.product-info .specs{
  margin:1.15rem 0 1.2rem;background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:2px 16px;list-style:none;
}
.product-info .specs li{border-bottom:1px solid var(--line)}
.product-info .specs li:last-child{border-bottom:0}
.inquire-bar{display:none}

@media (max-width:719px){
  .wrap{width:min(var(--max),calc(100% - 20px))}
  header.site{padding-top:env(safe-area-inset-top,0px)}
  .nav{min-height:52px;gap:8px}
  .logo .brand-en{font-size:1.02rem}
  .logo .brand-zh{font-size:.62rem;letter-spacing:.12em}
  .lang-switch button{min-height:36px;min-width:38px;padding:0 9px;font-size:.78rem}
  .menu-btn{width:40px;height:40px;flex:0 0 40px;border-radius:10px}
  .mobile-panel{padding:4px 16px 12px}
  .mobile-panel a{padding:11px 0;font-size:1rem}

  .hero{padding:1.15rem 0 1rem}
  .hero h1{font-size:clamp(1.85rem,8.6vw,2.55rem);line-height:1.05;margin:0 0 .7rem}
  .hero p{font-size:1rem;line-height:1.5;margin:0 0 1.05rem;max-width:none}
  .hero-actions{gap:8px}
  .hero-actions .btn{min-width:0;flex:1 1 calc(50% - 8px);padding:.7rem .8rem;font-size:.95rem}

  .hero-grid{
    display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:1.25rem;
  }
  .hero-shot:first-child{grid-column:1/-1;aspect-ratio:4/5}
  .hero-shot:not(:first-child){aspect-ratio:1/1}
  .hero-grid img,
  .hero-grid .hero-shot img,
  .hero-grid img:first-child{height:100%;}

  section{padding:1.15rem 0}
  h2{font-size:clamp(1.45rem,6.2vw,1.9rem);letter-spacing:-.02em;margin:0 0 .45rem}
  .lead{font-size:.95rem;margin:0 0 1rem;line-height:1.5}

  .cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .card{border-radius:14px;box-shadow:0 6px 18px rgba(27,23,20,.06)}
  .card img,
  .card.fit-contain img{height:100%}
  .card .body{padding:9px 10px 11px}
  .card .kicker{font-size:.62rem;letter-spacing:.1em;margin:0 0 4px}
  .card h3{
    font-size:.9rem;line-height:1.28;margin:0 0 3px;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    overflow:hidden;
  }
  .card .meta{
    font-size:.72rem;line-height:1.35;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    overflow:hidden;
  }

  .filter-toolbar{
    position:sticky;top:calc(52px + env(safe-area-inset-top,0px));z-index:16;
    background:rgba(244,239,232,.96);backdrop-filter:saturate(1.1) blur(10px);
    padding:8px 0;margin:0 -10px 12px;padding-left:10px;padding-right:10px;
    border-bottom:1px solid var(--line);
  }
  .filters{position:static;background:transparent;padding:0;margin:0 0 1rem;flex-direction:column}
  .filter-sheet{display:none;position:fixed;inset:0;z-index:40}
  .filter-sheet.is-open{display:block}
  body.sheet-open{overflow:hidden}
  .filter-backdrop{
    position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;
    background:rgba(27,23,20,.46);cursor:pointer;
  }
  .filter-panel{
    position:absolute;left:0;right:0;bottom:0;
    background:var(--card);border-radius:22px 22px 0 0;
    padding:8px 20px calc(16px + env(safe-area-inset-bottom,0px));
    box-shadow:0 -18px 44px rgba(27,23,20,.2);
    max-height:min(86vh,640px);overflow:auto;
  }
  .filter-panel::before{
    content:"";display:block;width:40px;height:4px;border-radius:4px;
    background:#d8cfc3;margin:6px auto 12px;
  }
  .filter-panel-head{margin-bottom:10px}
  .product-layout .btn, form.inquire .btn{width:100%}

  .product-page{padding:0 0 5.75rem}
  .product-layout{display:block;gap:0}
  .product-gallery{
    width:100vw;margin:0 calc(50% - 50vw) 1.05rem;
  }
  .gallery-track{border-radius:0}
  .gallery-slide img{
    border-radius:0;aspect-ratio:4/5;max-height:none;
    height:auto;object-fit:contain;
  }
  .product-info .kicker{margin:0 0 6px}
  .product-info h2{font-size:clamp(1.4rem,6.2vw,1.9rem);margin:.1rem 0 .3rem}
  .inquire-inline{display:none}
  .inquire-bar{
    display:block;position:fixed;left:0;right:0;bottom:0;z-index:18;
    background:rgba(244,239,232,.96);backdrop-filter:saturate(1.1) blur(12px);
    border-top:1px solid var(--line);
    padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px));
  }
  .inquire-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .inquire-sku{font-size:.8rem;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
  .inquire-bar .btn{width:auto;min-width:8.6rem;flex:0 0 auto}

  .specs li{align-items:flex-start;gap:16px}
  .specs li strong{text-align:right;max-width:60%}
  footer{padding:1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom,0px));margin-top:1.5rem}
}

@media (min-width:720px){
  .hero-grid{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:12px}
  .hero-shot{min-height:0;aspect-ratio:1/1}
  .hero-shot:first-child{grid-row:span 2;aspect-ratio:auto;min-height:0;height:100%}
  .hero-grid img,
  .hero-grid .hero-shot img,
  .hero-grid img:first-child{height:100%;object-fit:cover}

  .cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .cat-card-feature{grid-column:span 1}
  .cat-card-feature .card-media{aspect-ratio:1/1}

  .card img,
  .card.fit-contain img{height:100%}

  .filter-open,.filter-backdrop,.filter-panel-head,.filter-actions,.count-sheet{display:none !important}
  .filter-sheet,.filter-sheet[hidden]{display:block !important;position:static}
  .filter-panel{display:block;background:transparent;box-shadow:none;padding:0;border-radius:0;max-height:none;overflow:visible}
  .filter-panel::before{display:none}
  .filter-toolbar{position:static;background:transparent;backdrop-filter:none;border:0;padding:0;margin:0 0 8px}
  .filters{
    position:sticky;top:64px;z-index:15;background:var(--bg);
    padding:10px 0 4px;margin:0 0 1rem;flex-direction:row;align-items:end;
  }
  .filters > div{flex:1}

  .inquire-bar{display:none}
  .inquire-inline{display:inline-flex}
  .product-page{padding:1.2rem 0 2rem}
  .product-layout{grid-template-columns:1.15fr .85fr;align-items:start;gap:2rem}
}

@media (min-width:1024px){
  .cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .cat-card-feature{grid-column:1/2;grid-row:span 2}
  .cat-card-feature .card-media{aspect-ratio:auto;flex:1}
  .cat-card-feature{min-height:100%}
}



/* Hero copy/grid split: imagery-first overlay on small screens */
.hero{position:relative}
.hero-copy{position:relative;z-index:2}
@media (max-width:719px){
  .hero{padding:0 0 1.1rem}
  .hero-grid{
    display:grid;grid-template-columns:1fr 1fr;gap:8px;
    margin:0;padding:0 10px;width:100%;
  }
  .hero-shot:first-child{
    grid-column:1/-1;
    width:calc(100% + 20px);margin:0 -10px;
    border-radius:0;aspect-ratio:auto;
    height:calc(100svh - 52px - env(safe-area-inset-top,0px));
    min-height:560px;max-height:760px;
  }
  .hero-shot:first-child .hero-shot-label{display:none}
  .hero-copy{
    position:absolute;left:0;right:0;top:0;z-index:3;
    height:calc(100svh - 52px - env(safe-area-inset-top,0px));
    min-height:560px;max-height:760px;
    display:flex;flex-direction:column;justify-content:flex-end;
    padding:0 20px 22px;
    background:linear-gradient(180deg,transparent 38%,rgba(27,23,20,.78) 100%);
    color:#fff;box-sizing:border-box;pointer-events:none;
  }
  .hero-copy .kicker{color:#f0c9b6;margin:0 0 8px}
  .hero-copy h1{
    color:#fff;font-size:clamp(1.7rem,7.6vw,2.2rem);line-height:1.08;
    margin:0 0 .55rem;text-shadow:0 1px 14px rgba(0,0,0,.28);
  }
  .hero-copy .tagline{color:rgba(255,255,255,.86);margin:0 0 .85rem}
  .hero-copy .hero-lead{display:none}
  .hero-copy .hero-actions{pointer-events:auto;padding-right:calc(56px + 16px + 10px - 20px);}
  .hero-copy .btn{background:#fff;color:var(--ink);border-color:#fff}
  .hero-copy .btn.ghost,.hero-copy .btn.btn-ghost{
    background:transparent;color:#fff;border-color:rgba(255,255,255,.85);
  }
}
@media (min-width:720px){
  .hero-grid{width:min(var(--max),calc(100% - 32px));margin:1.6rem auto 0}
  .hero-copy{width:min(var(--max),calc(100% - 32px));margin:0 auto}
}

/* Visual polish after 390px screenshot QA */
@media (max-width:719px){
  .hero-shot-primary,
  .hero-shot-primary img,
  .hero-shot:first-child,
  .hero-shot:first-child img{border-radius:0 !important}
  .hero-grid{padding-top:0}
  /* Product: solid well, 1:1 so specs sit above the inquire bar */
  .gallery-slide img{
    aspect-ratio:1/1;
    background:#ece5db !important;
    background-image:none !important;
    background-color:#ece5db !important;
  }
  .product-info{padding-bottom:.35rem}
  .product-info .specs{margin-bottom:1rem}
}
.gallery-slide img{
  background:#ece5db;
  background-image:none;
  background-color:#ece5db;
}
.product-layout img{
  background:#ece5db;
  background-image:none;
}

@media (max-width:719px){
  .gallery-slide img{aspect-ratio:5/4}
  .product-gallery{margin-bottom:.65rem}
  .product-info .back-link{margin:0 0 .15rem;min-height:36px}
  .product-info h2{font-size:clamp(1.32rem,5.8vw,1.75rem);margin:.05rem 0 .25rem}
  .product-info .meta{margin:0 0 .45rem}
  .product-blurb{font-size:.95rem;line-height:1.45}
  .product-info .specs{margin:.85rem 0 .8rem}
  .product-page{padding-bottom:6.25rem}
}
/* WhatsApp — 2026-11-16 (hero CTA clearance on mobile) */
.visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.wa-icon{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.15em;margin-right:.45em}
.btn.wa-btn{
  background:#1f7a4d;color:#fff;border:1px solid #1f7a4d;gap:.15rem;
}
.btn.wa-btn:hover{background:#19663f;border-color:#19663f;color:#fff}
.contact-wa{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin:0 0 1.2rem}
.wa-number{color:var(--ink);text-decoration:none;font-size:.95rem}
.wa-number:hover{text-decoration:underline}
.footer-wa{margin-top:.45rem}
.footer-wa a{color:inherit;text-decoration:none}
.footer-wa a:hover{color:var(--ink);text-decoration:underline}
.product-actions{display:flex;flex-wrap:wrap;gap:10px;margin:.4rem 0 .6rem;align-items:center}
.product-actions .btn{margin:0}
.wa-float{
  position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));
  z-index:19;width:56px;height:56px;border-radius:50%;
  background:#1f7a4d;color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(27,23,20,.2);text-decoration:none;
}
.wa-float .wa-icon{width:28px;height:28px;margin:0}
.wa-float:hover{background:#19663f;color:#fff}
@media (max-width:719px){
  body.has-inquire-bar .wa-float{
    bottom:calc(5.9rem + env(safe-area-inset-bottom,0px));
  }
  body.has-inquire-bar .product-info .specs{
    padding-right:calc(16px + 56px + 12px);
  }
  .product-actions{margin-top:.15rem}
  .product-actions .wa-btn{width:100%}
}
@media (min-width:720px){
  .wa-float{right:20px;bottom:20px}
  .product-actions .inquire-inline{display:inline-flex}
}


/* --- desktop layout fix 2026-11-16 --- */
/* Hero-grid is not inside a .wrap in the document flow; .hero-showcase
   is the structural max-width container at tablet/desktop so the 2+1
   showcase cannot go edge-to-edge if a later width rule is missed. */
.hero{display:flex;flex-direction:column;min-width:0}
.hero-showcase,
.hero-copy,
.hero-grid{min-width:0;max-width:100%}
.card,
.hero-shot,
.cat-card{text-decoration:none;color:inherit}
.card:hover,
.hero-shot:hover,
.cat-card:hover{text-decoration:none}

@media (min-width:720px){
  .hero{padding:2.1rem 0 1.6rem}
  .hero-copy{order:-1;width:min(var(--max),calc(100% - 32px));margin:0 auto;position:relative}
  .hero-showcase{
    width:min(var(--max),calc(100% - 32px));
    margin:1.35rem auto 0;
  }
  .hero-grid{
    width:100%;
    margin:0;
    display:grid;
    grid-template-columns:2fr 1fr;
    grid-template-rows:1fr 1fr;
    gap:12px;
  }
  .hero-shot{
    position:relative;overflow:hidden;
    border-radius:var(--radius);
    aspect-ratio:1/1;min-height:0;height:auto;
  }
  .hero-shot:first-child,
  .hero-shot-primary{
    grid-row:1 / span 2;
    aspect-ratio:auto;
    height:100%;
    min-height:0;
    border-radius:var(--radius);
  }
  .hero-shot img,
  .hero-grid img,
  .hero-grid .hero-shot img{
    position:absolute;inset:0;
    width:100%;height:100%;
    object-fit:cover;object-position:center;
    border-radius:inherit;
  }
  .hero h1,
  .hero-copy h1{
    font-size:clamp(2rem,2.6vw + .7rem,3.05rem);
    line-height:1.18;
    max-width:100%;
    overflow-wrap:break-word;
    word-break:break-word;
  }
  .nav{min-width:0;flex-wrap:nowrap;gap:10px}
  .nav-links{
    display:flex;flex:1 1 auto;min-width:0;
    flex-wrap:wrap;align-items:center;
    row-gap:0;column-gap:8px;
  }
  .nav-tools{flex:0 0 auto;margin-left:8px}
  .logo{flex:0 0 auto}
}

/* Nav must fit on 1024–1279 with longer 中文 labels */
@media (min-width:720px) and (max-width:1279px){
  .nav-links{gap:2px 7px}
  .nav-links a{font-size:.74rem;min-height:36px;padding:0 1px}
  .nav-links a.btn{margin-left:2px;padding:.4rem .8rem;font-size:.74rem;min-height:36px}
  .lang-switch button{min-height:36px;min-width:40px;padding:0 9px;font-size:.78rem}
}

@media (min-width:1024px){
  .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
}

@media (min-width:1280px){
  .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .nav-links{gap:12px}
  .nav-links a{font-size:.88rem;min-height:40px}
  .nav-links a.btn{padding:.55rem 1.05rem;font-size:.88rem;min-height:40px}
}

/* Product + listing cards: fixed aspect box, never stretch raw images */
.card-media,
.cat-card .card-media{
  position:relative;aspect-ratio:1/1;overflow:hidden;width:100%;
}
.card-media img,
.cat-card .card-media img,
.card img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.card.fit-contain .card-media img{object-fit:contain}

/* Mobile overlay hero + WhatsApp clearance must stay as written above.
   Neutralize the new showcase wrapper so the full-bleed first shot still works. */
@media (max-width:719px){
  .hero-showcase{
    width:100%;max-width:none;margin:0;padding:0;
  }
  .hero-grid{width:100%}
  .hero-copy{order:0}
}
